:root {
  --canvas: #fbf9f8;
  --paper: #fffdfa;
  --low: #f4f0ed;
  --band: #ece7e2;
  --hairline: #ddd3cc;
  --ink: #1b1c1c;
  --brown: #594138;
  --ash: #6b6460;
  --orange: #f26522;
  --deep-orange: #a63b00;
  --orange-tint: #ffdbce;
  --shadow-card: 0 20px 50px rgba(89, 65, 56, 0.08);
  --shadow-nav: 0 10px 26px rgba(89, 65, 56, 0.05);
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --page-pad: clamp(20px, 5vw, 72px);
  --section-gap: clamp(72px, 11vw, 156px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(221, 211, 204, 0.32) 1px, transparent 1px) 0 0 / clamp(54px, 9vw, 112px) 100%,
    var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--deep-orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 14px;
  box-shadow: var(--shadow-nav);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100vw - 24px));
  min-height: 58px;
  margin: 12px auto 0;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(221, 211, 204, 0.38);
  border-radius: 999px;
  background: rgba(251, 249, 248, 0.48);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(22px) saturate(120%);
}

.wordmark {
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1;
}

.brand-name {
  font-style: italic;
}

.brand-c {
  position: relative;
  top: -0.38em;
  margin-inline: 0.03em -0.05em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--brown);
  font-size: 0.92rem;
}

.nav-links a,
.text-link,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.cta-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(166, 59, 0, 0.18);
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--deep-orange);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 15px;
  text-align: center;
  white-space: nowrap;
}

.cta-state-large {
  min-height: 52px;
  padding-inline: 18px;
}

.section {
  width: min(1180px, calc(100vw - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding-block: var(--section-gap);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.72fr);
  align-items: end;
  gap: clamp(40px, 6vw, 90px);
  min-height: min(760px, calc(100vh - 82px));
  padding-top: clamp(54px, 8vh, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10.8ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8.2vw, 6.95rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 620;
  line-height: 1.18;
}

.hero-subhead,
.section-intro > p:not(.section-kicker) {
  max-width: 58ch;
  color: var(--brown);
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.name-note {
  max-width: 46ch;
  margin: 14px 0 0;
  color: var(--ash);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.text-link {
  color: var(--brown);
  font-weight: 600;
}

.notification-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 211, 204, 0.82);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 30px);
}

.notification-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: var(--hairline);
}

.notification-topline,
.notification-label,
.choice,
.row-number,
.price-grid span {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.notification-topline {
  display: block;
  margin-bottom: 44px;
  color: var(--ash);
  font-size: 0.72rem;
}

.notification-label {
  margin-bottom: 10px;
  color: var(--ash);
  font-size: 0.78rem;
}

.notification-question {
  max-width: 16ch;
  margin-bottom: 26px;
  font-size: clamp(1.85rem, 4vw, 3.45rem);
  font-weight: 650;
  line-height: 0.98;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.choice {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--low);
  color: var(--brown);
  font-size: 0.76rem;
  padding: 10px 14px;
}

.choice-yes {
  border-color: transparent;
  background: var(--orange);
  color: var(--paper);
  font-weight: 600;
}

.cadence {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cadence span {
  height: 7px;
  border-radius: 999px;
  background: var(--band);
}

.cadence .active {
  background: var(--orange);
}

.register-trace {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  color: rgba(89, 65, 56, 0.34);
}

.register-trace circle {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 2;
}

.problem {
  border-block: 1px solid var(--hairline);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.problem-lead {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
}

.question-roll {
  position: relative;
  height: clamp(76px, 8vw, 118px);
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 5.2rem);
  font-weight: 650;
  line-height: 1;
}

.question-roll span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(72%);
  color: rgba(166, 59, 0, 0.24);
  white-space: nowrap;
}

.question-roll span:nth-child(1) {
  animation: roll-question 12s infinite;
}

.question-roll span:nth-child(2) {
  animation: roll-question 12s 3s infinite;
}

.question-roll span:nth-child(3) {
  animation: roll-question 12s 6s infinite;
}

.question-roll span:nth-child(4) {
  animation: roll-question 12s 9s infinite;
}

.prose {
  max-width: 65ch;
  color: var(--brown);
}

.prose p {
  margin-bottom: 22px;
}

.prose em {
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.82fr);
  column-gap: clamp(24px, 6vw, 80px);
  row-gap: clamp(8px, 1.4vw, 18px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.loop .section-intro {
  grid-template-columns: minmax(300px, 540px) minmax(320px, 500px);
  column-gap: clamp(24px, 4vw, 56px);
  justify-content: start;
}

.loop .section-intro h2 {
  max-width: 18ch;
}

.loop .section-intro h2 span,
.pricing .section-intro h2 span {
  display: block;
}

.section-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-intro.narrow {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  gap: clamp(18px, 4vw, 54px);
  max-width: none;
  align-items: end;
}

.section-intro.narrow h2 {
  max-width: 16ch;
  grid-column: 1 / -1;
}

.proof .section-intro.narrow h2,
.faq .section-intro.narrow h2 {
  grid-column: 1 / -1;
  max-width: 31ch;
}

.proof {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(52px, 7vw, 96px);
}

.proof h2 span {
  display: block;
}

.talk-preview {
  padding-block: clamp(42px, 8vw, 110px);
}

.talk-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: clamp(12px, 4vw, 36px) 0;
}

.talk-preview-copy h2 {
  max-width: 15ch;
  margin-bottom: 34px;
}

.talk-preview-copy p:not(.section-kicker) {
  max-width: 58ch;
  color: var(--brown);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.55;
}

.soft-note {
  margin-top: 30px;
  color: var(--ash) !important;
  font-style: italic;
}

.talk-history-card {
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(89, 65, 56, 0.08);
  padding: clamp(26px, 4vw, 44px);
}

.talk-question {
  margin-bottom: 28px;
  color: var(--ash);
  font-size: clamp(1.08rem, 1.35vw, 1.38rem);
  font-style: italic;
  line-height: 1.35;
}

.talk-results {
  display: grid;
  gap: 18px;
  border-left: 6px solid var(--hairline);
  padding-left: clamp(20px, 3vw, 34px);
}

.talk-entry {
  display: grid;
  gap: 6px;
}

.talk-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.talk-results span {
  display: block;
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.talk-results p {
  margin: 0;
  color: var(--ash);
  font-size: 0.92rem;
  line-height: 1.4;
}

.answer-pill {
  display: inline-flex;
  min-width: 58px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221, 211, 204, 0.9);
  border-radius: 999px;
  background: var(--low);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  padding: 7px 12px;
}

.answer-yes {
  border-color: transparent;
  background: var(--orange-tint);
  color: var(--deep-orange);
}

.answer-snooze {
  color: var(--ash);
}

.register,
.truth-list,
.price-grid,
.faq-list {
  display: grid;
  gap: 14px;
}

.register-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  border-top: 1px solid var(--hairline);
  padding: clamp(22px, 4vw, 38px) 0;
}

.register-row:last-child {
  border-bottom: 1px solid var(--hairline);
}

.row-number,
.price-grid span {
  color: var(--ash);
  font-size: 0.78rem;
}

.row-active .row-number {
  color: var(--orange);
  font-weight: 700;
}

.register-row p,
.truth-list p,
.price-grid p,
.faq-list p,
.final-action p {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--brown);
}

.truth-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  background: transparent;
  border: 0;
}

.truth-list article,
.price-grid article {
  background: var(--low);
  padding: clamp(22px, 3vw, 32px);
}

.truth-list article {
  border: 1px solid rgba(221, 211, 204, 0.82);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.58);
  box-shadow: 0 10px 28px rgba(89, 65, 56, 0.045);
}

.pricing {
  width: 100%;
  max-width: none;
  background: var(--band);
  padding-inline: var(--page-pad);
}

.pricing .section-intro h2 {
  max-width: 13ch;
}

.pricing > * {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  background: transparent;
  border: 0;
}

.price-grid article {
  border: 1px solid rgba(221, 211, 204, 0.82);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.58);
  box-shadow: 0 10px 28px rgba(89, 65, 56, 0.045);
}

.price-grid span {
  display: block;
  margin-bottom: 42px;
}

.faq-list {
  max-width: 880px;
}

details {
  border-top: 1px solid var(--hairline);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--hairline);
}

summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  font-weight: 620;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--ash);
  font-family: var(--font-mono);
  font-weight: 500;
}

details[open] summary::after {
  content: "close";
  font-size: 0.72rem;
}

details p {
  padding-right: clamp(0px, 8vw, 120px);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: end;
  border-top: 1px solid var(--hairline);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.final-cta h2 {
  position: relative;
  max-width: 12ch;
}

.final-cta h2::after {
  content: "";
  display: block;
  width: min(220px, 60%);
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--orange);
}

.final-action {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100vw - (var(--page-pad) * 2)));
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
  padding: 28px 0 42px;
  color: var(--ash);
  font-size: 0.9rem;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(760px, calc(100vw - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding-block: var(--section-gap);
}

.not-found h1 {
  max-width: 9ch;
  margin-bottom: 24px;
}

.not-found p:not(.section-kicker) {
  max-width: 44ch;
  color: var(--brown);
}

@media (hover: hover) {
  .nav-links a:hover,
  .text-link:hover,
  .site-footer a:hover {
    color: var(--deep-orange);
  }

  details:hover {
    background: rgba(255, 253, 250, 0.45);
  }
}

@media (max-width: 880px) {
  .site-nav {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .site-nav .cta-state {
    justify-self: end;
  }

  .hero,
  .problem-grid,
  .section-intro,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .loop .section-intro {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 9.6ch;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .truth-list,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .talk-preview-grid {
    grid-template-columns: 1fr;
  }

  .section-intro.narrow {
    display: block;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 18px;
  }

  .site-nav {
    width: min(100vw - 16px, 520px);
    padding-left: 14px;
    gap: 10px;
  }

  .site-nav .cta-state {
    max-width: 164px;
    white-space: normal;
  }

  .hero-actions {
    align-items: stretch;
  }

  .cta-state-large,
  .text-link {
    width: 100%;
  }

  .text-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
  }

  .notification-topline {
    display: grid;
    gap: 6px;
  }

  .register-row {
    grid-template-columns: 1fr;
  }

  .row-number {
    margin-bottom: -8px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav,
  .hero-copy,
  .notification-card,
  .register-row,
  .truth-list article,
  .price-grid article,
  details {
    animation: rise-in 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .notification-card {
    animation-delay: 90ms;
  }

  .register-row:nth-child(2),
  .truth-list article:nth-child(2),
  .price-grid article:nth-child(2) {
    animation-delay: 70ms;
  }

  .register-row:nth-child(3),
  .truth-list article:nth-child(3),
  .price-grid article:nth-child(3) {
    animation-delay: 140ms;
  }

  .price-grid article:nth-child(4) {
    animation-delay: 210ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .question-roll span {
    animation: none !important;
  }

  .question-roll span:first-child {
    opacity: 1;
    transform: translateY(0);
    color: var(--deep-orange);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes roll-question {
  0% {
    opacity: 0;
    transform: translateY(72%);
    color: rgba(166, 59, 0, 0.18);
  }
  8%,
  24% {
    opacity: 1;
    transform: translateY(0);
    color: var(--deep-orange);
  }
  34%,
  100% {
    opacity: 0;
    transform: translateY(-66%);
    color: rgba(166, 59, 0, 0.18);
  }
}
