:root {
  --paper: #fffaf7;
  --porcelain: #ffffff;
  --ink: #211716;
  --muted: #746761;
  --line: #e5d8ce;
  --sage: #817b58;
  --terracotta: #9f4f45;
  --teal: #3a5553;
  --gold: #d0a453;
  --blush: #f8e2df;
  --wine: #5d2229;
  --shadow: 0 20px 60px rgba(55, 27, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  border-left: 3px solid var(--terracotta);
  padding-left: 16px;
}

blockquote p {
  margin: 0 0 8px 0;
  color: var(--ink);
}

blockquote footer {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  margin-top: 8px;
}

blockquote cite {
  font-weight: 600;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.brand span {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--wine);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.16);
}

.button.secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.button.terracotta {
  background: linear-gradient(135deg, #a65349, #6c2830);
}

.button.full {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: white;
  background-image:
    linear-gradient(90deg, rgba(32, 16, 13, 0.82), rgba(72, 25, 20, 0.48), rgba(255, 132, 48, 0.1)),
    url("assets/neurelle-light-trails.png");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin: 0 0 20px;
  font-size: clamp(3.4rem, 8vw, 7rem);
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

h3 {
  margin: 0;
  font-size: 1.8rem;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 1.16rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.22);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.26);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stat {
  padding: 20px;
  background: rgba(38, 18, 16, 0.62);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: linear-gradient(180deg, #fff6f3, #f4ede4);
}

.section.dark {
  background: #241615;
  color: white;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--porcelain);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.03);
}

.card,
.plan {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 247, 0.96));
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.dark .card p {
  color: rgba(255, 255, 255, 0.74);
}

.number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--wine);
  color: white;
  font-weight: 900;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
  align-items: end;
}

.portrait {
  min-height: 520px;
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(93, 34, 41, 0.08), rgba(93, 34, 41, 0.08)),
    url("ff17d7185cc163a70a7ed842090b8776.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.portrait.small {
  min-height: 360px;
  background-image:
    linear-gradient(rgba(93, 34, 41, 0.1), rgba(93, 34, 41, 0.1)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=82");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quote-card {
  min-height: 230px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(36, 22, 21, 0.16), rgba(36, 22, 21, 0.78)),
    url("ff17d7185cc163a70a7ed842090b8776.jpg");
  background-position: center;
  background-size: cover;
  color: white;
  padding: 22px;
}

.quote-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(36, 22, 21, 0.18), rgba(36, 22, 21, 0.82)),
    url("assets/neurelle-light-trails.png");
}

.quote-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(36, 22, 21, 0.18), rgba(36, 22, 21, 0.82)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=82");
}

.quote-card:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(36, 22, 21, 0.18), rgba(36, 22, 21, 0.82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=82");
}

.quote-card blockquote {
  border-left-color: var(--gold);
}

.quote-card blockquote p {
  color: white;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.08;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 28px;
}

.plan.featured {
  border-color: rgba(208, 164, 83, 0.7);
  box-shadow: var(--shadow);
}

.price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.check-list li::before {
  content: "✓";
  color: var(--sage);
  font-weight: 900;
}

.quiz-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: start;
}

.quiz-panel {
  position: sticky;
  top: 94px;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e0d8;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transition: width 180ms ease;
}

.question {
  display: none;
}

.question.active {
  display: block;
}

.choices {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--teal);
}

.choice input {
  margin-top: 5px;
  accent-color: var(--wine);
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.result-card {
  display: none;
}

.result-card.visible {
  display: block;
}

.routine {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.routine-item {
  border-left: 4px solid var(--gold);
  background: #fff6f1;
  padding: 14px 16px;
}

.notice {
  border: 1px solid #e8cfb6;
  border-radius: 8px;
  background: #fff6e9;
  padding: 16px;
  color: #604120;
}

.companion {
  margin-top: 18px;
  border: 1px solid rgba(208, 164, 83, 0.48);
  border-radius: 8px;
  background: #fffaf4;
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(208, 164, 83, 0.42);
  border-color: var(--gold);
}

.plan-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.plan-option {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
  cursor: pointer;
}

.plan-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(208, 164, 83, 0.16);
}

.plan-option input {
  accent-color: var(--wine);
}

.checkout-shell {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.waitlist-hero {
  background:
    linear-gradient(90deg, rgba(255, 250, 247, 0.95), rgba(255, 250, 247, 0.82)),
    url("assets/neurelle-light-trails.png");
  background-position: center;
  background-size: cover;
}

.waitlist-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 42px;
  align-items: center;
}

.waitlist-shell h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.waitlist-copy {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.waitlist-form {
  box-shadow: var(--shadow);
}

.checkout-shell > .portrait {
  min-height: 100%;
  display: none;
}

@media (min-width: 1200px) {
  .checkout-shell > .portrait {
    display: block;
    border-radius: 8px;
  }
}

.summary-card {
  position: sticky;
  top: 94px;
}

.secure-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  padding: 46px 0;
  background: #111918;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact {
  margin-top: 10px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-strip,
  .grid,
  .grid.two,
  .feature-split,
  .image-pair,
  .quote-grid,
  .plans,
  .quiz-shell,
  .checkout-shell,
  .waitlist-shell,
  .form-grid,
  .plan-toggle,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .quiz-panel {
    position: static;
  }

  .summary-card {
    position: static;
  }
}
