:root {
    --cream: #FBF4E2;
    --cream-deep: #F4E9CE;
    --sand: #E2D6BE;
    --ink: #3B342A;
    --brown: #7A5C3E;
    --clay: #C77F54;
    --clay-dark: #A5613A;
    --sky: #1E88D6;
    --teal: #4FB3B0;
    --sun: #F9CF4A;
    --card: #FFFDF6;
    --radius: 20px;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-gutter: stable; }
  body:has(dialog[open]) { overflow: hidden; }
  body {
    margin: 0; background: var(--cream); color: var(--ink);
    font-family: var(--sans); font-size: 17px; line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
  h1 { font-size: clamp(38px, 6vw, 62px); }
  h2 { font-size: clamp(28px, 4vw, 40px); }
  h3 { font-size: 22px; }
  p { margin: 0 0 1em; }
  em { font-style: normal; color: var(--clay-dark); }
  .eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 14px; }
  .lede { font-size: clamp(18px, 2.2vw, 21px); color: #5a4d3d; max-width: 34em; }

  /* buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
    transition: transform .15s, background .15s, box-shadow .15s;
  }
  .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
  .btn-primary { background: var(--clay-dark); color: #fff; box-shadow: 0 6px 18px -8px rgba(165,97,58,.7); }
  .btn-primary:hover { background: #8F5230; transform: translateY(-1px); }
  .btn-ghost { border-color: var(--sand); color: var(--ink); background: rgba(255,253,246,.6); }
  .btn-ghost:hover { border-color: var(--brown); background: var(--card); }
  .btn-sm { padding: 10px 20px; font-size: 15px; }

  /* nav */
  header.nav { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 1px solid var(--sand); box-shadow: 0 1px 0 rgba(255,255,255,.6), 0 8px 20px -18px rgba(122,92,62,.5); }
  header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Figtree', var(--sans); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: #14213D; }
  .brand img { height: 30px; width: auto; }
  nav.links { display: flex; align-items: center; gap: 26px; }
  nav.links a.text { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--brown); }
  nav.links a.text:hover { color: var(--ink); }
  .nav-cta { display: flex; align-items: center; gap: 10px; }
  @media (max-width: 760px) { nav.links a.text.hide-sm { display: none; } .brand span { display: none; } }

  /* hero */
  .hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
  .hero .glow { position: absolute; right: -120px; top: -80px; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249,207,74,.42), rgba(249,207,74,0) 65%); pointer-events: none; }
  .hero h1 { margin-bottom: 22px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .hero-note { font-size: 14px; color: var(--brown); margin-top: 18px; }
  @media (max-width: 860px) { .hero { padding: 40px 0 64px; } }

  section { padding: 88px 0; }
  .alt { background: var(--cream-deep); }
  .center { text-align: center; }
  .center .lede { margin-inline: auto; }
  section h2 { margin-bottom: 18px; }

  /* empathy */
  .hearing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
  .hearing div { background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); padding: 24px; font-family: var(--serif); font-size: 19px; line-height: 1.45; text-align: left; }
  .reassure { margin-top: 34px; font-size: 19px; color: var(--brown); font-family: var(--serif); font-style: italic; }
  @media (max-width: 800px) { .hearing { grid-template-columns: 1fr; } }

  /* two-col */
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  @media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 32px; } }
  .compare { display: grid; gap: 14px; }
  .compare .row { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--sand); background: var(--card); }
  .compare .row.cold { opacity: .8; }
  .compare .row.warm { border-color: var(--clay); background: #fff; box-shadow: 0 18px 40px -28px rgba(199,127,84,.8); }
  .compare .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--brown); margin-bottom: 6px; }
  .compare .row.warm .tag { color: var(--clay-dark); }
  .compare p { margin: 0; font-size: 16px; }





  /* three questions */
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
  .trio article { background: var(--card); border: 1px solid var(--sand); border-radius: 24px; padding: 30px 28px; }
  .trio .num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--clay-dark); margin-bottom: 8px; letter-spacing: .04em; }
  .trio h3 { margin-bottom: 12px; }
  .trio p { color: #5a4d3d; font-size: 16px; }
  .trio ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; border-top: 1px solid var(--sand); padding-top: 14px; }
  .trio li { padding-left: 24px; position: relative; margin-bottom: 6px; color: var(--ink); }
  .trio li::before { content: '✓'; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
  @media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
  .outcome { margin-top: 28px; background: var(--ink); color: var(--cream); border-radius: 28px; padding: 44px 32px; text-align: center; }
  .outcome .eyebrow { color: var(--sun); }
  .outcome h3 { font-size: clamp(24px, 3.4vw, 32px); color: var(--cream); max-width: 22em; margin: 0 auto 26px; }
  .outcome p { color: #dccfb4; max-width: 36em; margin: 26px auto 0; }
  .path { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .path li { background: rgba(255,253,246,.1); border: 1px solid rgba(255,253,246,.25); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
  .path li:not(:last-child)::after { content: '→'; margin-left: 14px; color: var(--sun); }
  .path li:last-child { background: var(--sun); color: var(--ink); border-color: var(--sun); }

  /* quote band */
  .band { background: var(--ink); color: var(--cream); text-align: center; }
  .band h2 { max-width: 20em; margin-inline: auto; color: var(--cream); }
  .band em { color: var(--sun); }
  .band p { color: #dccfb4; max-width: 34em; margin: 18px auto 0; }

  /* faq */
  .faq { max-width: 760px; margin: 40px auto 0; text-align: left; }
  details { background: var(--card); border: 1px solid var(--sand); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; }
  summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; font-size: 24px; color: var(--clay); line-height: 1; transition: transform .2s; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { color: #5a4d3d; padding-bottom: 6px; }

  /* final cta */
  .final { text-align: center; position: relative; overflow: hidden; }
  .final .hero-actions { justify-content: center; }

  footer { border-top: 1px solid var(--sand); padding: 34px 0 44px; font-size: 14px; color: var(--brown); }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
  footer nav { display: flex; gap: 20px; }
  footer a { text-decoration: none; }
  footer a:hover { text-decoration: underline; }

  /* gentle entrance */
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise .8s ease both; }
    .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .24s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* author strip */
  .author-strip { padding: 0 0 8px; margin-top: -24px; }
  .author-strip .wrap { background: var(--card); border: 1px solid var(--sand); border-radius: 28px; padding: 22px 30px; display: flex; align-items: center; gap: 24px; box-shadow: 0 24px 48px -34px rgba(122,92,62,.5); position: relative; z-index: 2; }
  .author-strip .bill { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--cream-deep); }
  .author-strip .who { flex: 1; }
  .author-strip .eyebrow { margin-bottom: 4px; }
  .author-strip .titles { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.3; margin: 0 0 6px; }
  .author-strip .titles a { text-decoration: none; }
  .author-strip .titles a:hover em { text-decoration: underline; }
  .author-strip .sub { margin: 0; font-size: 15px; color: #5a4d3d; }
  .author-strip .sub a { color: var(--clay-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .author-strip .covers { display: flex; gap: 10px; flex: none; }
  .author-strip .covers img { height: 96px; width: auto; border-radius: 4px; box-shadow: 0 8px 18px -8px rgba(59,52,42,.55); }
  @media (max-width: 760px) { .author-strip .wrap { flex-wrap: wrap; padding: 20px; } .author-strip .covers { display: none; } .author-strip .bill { width: 64px; height: 64px; } .author-strip .who { flex-basis: 60%; } }

  /* hero without side card: centered */
  .hero-grid { position: relative; max-width: 820px; text-align: center; }
  .hero .lede { margin-inline: auto; max-width: 38em; }
  .hero-actions { justify-content: center; }
  .author-strip .titles em { font-style: italic; color: inherit; }

  .lockup { margin: 0 auto 26px; }
  .final .lockup img { height: 84px; width: auto; margin: 0 auto 10px; }
  .lockup .name { font-family: 'Figtree', var(--sans); font-weight: 600; font-size: 34px; color: #14213D; letter-spacing: -0.01em; line-height: 1.1; }
  .lockup .tag { color: #4A5A78; font-size: 16px; margin-top: 4px; }

  /* waiting-list dialog */
  dialog#waitlist { border: 0; padding: 0; border-radius: 28px; width: min(440px, calc(100% - 32px));
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto;
    background: var(--card); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(59,52,42,.6); }
  dialog#waitlist::backdrop { background: rgba(59,52,42,.45); backdrop-filter: blur(3px); }
  @media (prefers-reduced-motion: no-preference) { dialog#waitlist[open] { animation: rise .35s ease both; } }
  .wl-body { padding: 28px 30px 22px; text-align: center; position: relative; }
  .wl-body::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 110px; border-radius: 28px 28px 0 0; background: radial-gradient(ellipse at 50% 0%, rgba(249,207,74,.35), rgba(249,207,74,0) 70%); pointer-events: none; }
  .wl-body > * { position: relative; }
  .wl-mark { height: 30px; width: auto; margin: 0 auto 8px; }
  .wl-body h2 { font-size: clamp(22px, 3.4vw, 26px); margin-bottom: 8px; }
  .wl-lede { color: #5a4d3d; font-size: 15.5px; line-height: 1.55; margin-bottom: 16px; }
  #wl-form { text-align: left; }
  #wl-form input[type=text], #wl-form input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; margin-bottom: 10px; border: 1.5px solid var(--sand); border-radius: 14px; background: #fff; color: var(--ink); }
  #wl-form input:focus { outline: 3px solid rgba(30,136,214,.35); border-color: var(--sky); }
  .wl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .wl-submit { width: 100%; padding: 14px 24px; margin-top: 2px; }
  .wl-submit:disabled { opacity: .7; cursor: wait; }
  .wl-fine { text-align: center; font-size: 13px; color: var(--brown); margin: 10px 0 0; }
  .wl-fine a { color: var(--clay-dark); font-weight: 600; text-decoration: underline; }
  .wl-error { background: #fdece6; color: #8a3a1d; border-radius: 12px; padding: 8px 12px; font-size: 14px; margin: 0 0 10px; }
  .wl-close { position: absolute; top: 8px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--brown); cursor: pointer; }
  .wl-close:hover { background: var(--cream-deep); }
  .wl-close-form { margin: 0; }
  #wl-thanks .btn { margin-top: 4px; }
  @media (max-width: 480px) { .wl-body { padding: 26px 20px 20px; } }

  .skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
  .skip:focus { top: 10px; }
