/* ClientBooks — Calm Expert direction */

:root {
  --bg: #F6F1E9;
  --bg-hero: #F2E7D9;
  --paper: #FFFDF9;
  --paper-2: #FAF7F1;
  --ink: #1B2A22;
  --ink-2: #3E4D44;
  --muted: #65736A;
  --line: #E6DED1;
  --line-2: #EFE9DF;
  --forest: #1F3B2E;
  --forest-2: #2B5040;
  --sage: #7E9A74;
  --sage-ink: #4E6B47;
  --sage-soft: #E5ECDF;
  --sage-tint: #EEF2E8;
  --gold: #B8925A;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(31, 59, 46, .06), 0 2px 8px rgba(31, 59, 46, .04);
  --shadow: 0 1px 2px rgba(31, 59, 46, .05), 0 12px 32px -8px rgba(31, 59, 46, .12);
  --shadow-lg: 0 2px 4px rgba(31, 59, 46, .04), 0 30px 70px -20px rgba(31, 59, 46, .22);

  --ease: cubic-bezier(.22, .8, .28, 1);
  --gutter: 20px;
  --header-h: 68px;

  interpolate-size: allow-keywords;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; border-radius: 6px; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-lg { width: 30px; height: 30px; stroke-width: 1.4; }

/* Type */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-ink); margin-bottom: 18px;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 48;
  color: var(--ink);
  text-wrap: balance;
}
.muted { color: var(--muted); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--forest); color: #F6F1E9; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px -10px rgba(31,59,46,.6); }
.btn-primary:hover { background: var(--forest-2); }
.btn-ghost { background: rgba(255,253,249,.55); border-color: rgba(31,59,46,.28); color: var(--forest); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--paper); border-color: var(--forest); }
.btn-soft { background: var(--sage-tint); color: var(--forest); border-color: var(--sage-soft); --h: 44px; font-size: 15px; }
.btn-soft:hover { background: var(--sage-soft); }
.btn-soft .i { width: 18px; height: 18px; }
.btn-soft:hover .i { transform: rotate(-40deg); }
.btn-light { background: #FBF8F2; color: var(--forest); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.pill .i { width: 17px; height: 17px; }
.pill-sage { background: var(--sage-tint); color: var(--forest); border: 1px solid var(--sage-soft); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 233, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 241, 233, .9); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-size: 25px; font-weight: 500; letter-spacing: -.02em; color: var(--forest); font-variation-settings: "opsz" 36; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav ul { display: flex; gap: 6px; }
.primary-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.primary-nav a:hover { background: rgba(126, 154, 116, .14); color: var(--forest); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.link-quiet { display: none; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; color: var(--ink-2); border-radius: 8px; }
.link-quiet:hover { color: var(--forest); }
.header-actions .btn-sm { display: none; }

.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 1.6px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px var(--gutter) 24px;
  box-shadow: 0 30px 40px -30px rgba(31, 59, 46, .35);
}
.mobile-menu:not([hidden]) { animation: menuIn .32s var(--ease); }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a { padding: 14px 4px; text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 640px) {
  .header-actions .btn-sm { display: inline-flex; }
}
@media (min-width: 980px) {
  .primary-nav { display: block; }
  .header-actions { margin-left: 24px; }
  .link-quiet { display: inline-block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--bg-hero);
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(48px, 6vw, 80px);
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 260px; z-index: -1;
  background: linear-gradient(to bottom, rgba(246,241,233,0), var(--bg));
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/hero.webp") right top / auto 100% no-repeat;
  max-height: 980px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform-origin: top right;
}
@keyframes heroDrift { to { transform: scale(1.025) translate(-4px, 3px); } }

.hero-inner { position: relative; max-width: 1200px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 60;
  max-width: 16ch;
  color: var(--ink);
  text-wrap: balance;
}
@media (min-width: 900px) { .hero-title { max-width: none; } }
.hero-title em {
  display: inline;
  font-style: italic; font-weight: 300;
  color: var(--sage-ink);
  background-image: linear-gradient(rgba(126,154,116,.55), rgba(126,154,116,.55));
  background-position: 0 92%;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 1.2s .9s var(--ease) forwards;
}
@keyframes underline { to { background-size: 100% 2px; } }

.hero-lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: var(--ink-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .i { width: 17px; height: 17px; color: var(--sage-ink); stroke-width: 2; }

@media (max-width: 767px) {
  .hero-bg {
    background-size: auto 520px; background-position: 72% top; opacity: .55;
  }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ============ Review card (demo dashboard) ============ */
.review-card {
  margin-top: clamp(48px, 7vw, 80px);
  background: var(--paper);
  border: 1px solid rgba(230, 222, 209, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  overflow: hidden;
}
@media (min-width: 1024px) { .review-card { grid-template-columns: 210px 1fr; } }

.rc-side { display: none; border-right: 1px solid var(--line-2); padding: 26px 16px; background: linear-gradient(to bottom, var(--paper), var(--paper-2)); }
@media (min-width: 1024px) { .rc-side { display: block; } }
.rc-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 22px; font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--forest); }
.rc-brand img { width: 22px; height: 22px; object-fit: contain; }
.rc-side li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 2px; }
.rc-side li .i { width: 18px; height: 18px; color: var(--muted); }
.rc-side li.is-active { background: var(--sage-tint); color: var(--forest); font-weight: 600; }
.rc-side li.is-active .i { color: var(--forest); }

.rc-main { padding: clamp(20px, 3vw, 32px); min-width: 0; }
.rc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; }
.rc-title { font-family: var(--font-display); font-weight: 450; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.rc-sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.rc-grid { margin-top: 22px; display: grid; gap: 18px; }
@media (min-width: 860px) { .rc-grid { grid-template-columns: 1.45fr 1fr; gap: 22px; } }

.total-tile {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius);
  background: radial-gradient(120% 140% at 0% 0%, #EDF2E8 0%, #E1EADA 60%, #D7E3CF 100%);
  border: 1px solid #DCE6D4;
}
.total-label { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.total-amount {
  font-family: var(--font-display); font-weight: 450; font-variation-settings: "opsz" 48;
  font-size: clamp(44px, 6vw, 60px); line-height: 1.05; letter-spacing: -.03em; color: var(--forest);
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.total-note { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--sage-ink); font-weight: 500; }
.total-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.review-card[data-state="running"] .total-note .dot { animation: pulse 1s ease-in-out infinite; }
.review-card[data-state="done"] .total-note .dot { background: #3E7A4F; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.coins { display: grid; gap: 0; flex: none; padding-right: 4px; }
.coins span {
  width: 64px; height: 16px; border-radius: 50%;
  background: linear-gradient(to bottom, #D2DEC8, #AFC3A3);
  box-shadow: 0 1px 0 #9AB08D, inset 0 1px 0 rgba(255,255,255,.6);
  margin-top: -6px;
  transform-origin: center;
}
.coins span:first-child { margin-top: 0; }
.review-card[data-state="done"] .coins span { animation: coin .6s var(--ease) both; }
.review-card[data-state="done"] .coins span:nth-child(1) { animation-delay: .24s; }
.review-card[data-state="done"] .coins span:nth-child(2) { animation-delay: .16s; }
.review-card[data-state="done"] .coins span:nth-child(3) { animation-delay: .08s; }
@keyframes coin { from { transform: translateY(-14px); opacity: 0; } }
@media (max-width: 420px) { .coins { display: none; } }

.findings { margin-top: 20px; }
.findings-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.findings-head h3 { font-size: 15px; font-weight: 700; }
.tag { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }

.finding {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px;
  padding: 13px 2px; border-bottom: 1px solid var(--line-2);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .6s var(--ease);
}
.finding:last-child { border-bottom: 0; }
.f-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; color: var(--forest); }
.f-ico .i { width: 18px; height: 18px; }
.f-text { display: grid; line-height: 1.3; min-width: 0; }
.f-text strong { font-size: 14.5px; font-weight: 600; }
.f-text small { font-size: 13px; color: var(--muted); }
.f-amt { font-weight: 700; color: var(--sage-ink); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 400px) {
  .finding { grid-template-columns: 34px 1fr; }
  .f-amt { grid-column: 2; font-size: 14px; }
  .f-ico { width: 34px; height: 34px; }
}

/* JS-driven demo states */
.js .review-card[data-state="idle"] .finding,
.js .review-card[data-state="running"] .finding:not(.is-in) { opacity: .28; filter: saturate(0); }
.js .review-card[data-state="running"] .finding:not(.is-in) .f-amt { visibility: hidden; }
.finding.is-in { animation: findIn .6s var(--ease); }
@keyframes findIn { from { opacity: 0; transform: translateY(8px); } }
.finding.is-flash { background: linear-gradient(90deg, rgba(126,154,116,.14), transparent 80%); }

.rc-right {
  padding: 22px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
}
.rc-right h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.checks { display: grid; gap: 0; margin-bottom: 18px; flex: 1; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 0 0 16px; }
.check:last-child { padding-bottom: 0; }
.check::before {
  content: ""; position: absolute; left: 10.5px; top: 22px; bottom: 0; width: 1px; background: var(--line);
}
.check:last-child::before { display: none; }
.check strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.check small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.c-dot {
  position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #CFD8C9; background: var(--paper);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.c-dot::after {
  content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease) .1s;
}
.check.is-done .c-dot { background: var(--forest); border-color: var(--forest); }
.check.is-done .c-dot::after { transform: rotate(45deg) scale(1); }
.check.is-active .c-dot { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(126,154,116,.18); animation: ring 1.2s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 7px rgba(126,154,116,.06); } }
.js-replay[disabled] { opacity: .6; cursor: progress; }

.rc-steps {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: grid; gap: 14px;
}
@media (min-width: 720px) { .rc-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.rs { display: flex; align-items: center; gap: 12px; position: relative; }
.rs > span:last-child { display: grid; line-height: 1.3; }
.rs strong { font-size: 14.5px; font-weight: 600; }
.rs small { font-size: 12.5px; color: var(--muted); }
.rs-num {
  width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 13.5px; font-weight: 700; background: var(--paper-2); border: 1px solid var(--line); color: var(--muted);
  transition: all .4s var(--ease);
}
.rs.is-active .rs-num { background: var(--sage-soft); border-color: var(--sage); color: var(--forest); }
.rs.is-done .rs-num { background: var(--forest); border-color: var(--forest); color: transparent; position: relative; }
.rs.is-done .rs-num::after {
  content: ""; position: absolute; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px);
}

/* ============ Trust ============ */
.trust { padding: 8px 0 clamp(40px, 6vw, 64px); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 28px; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .i-lg { color: var(--forest); }
.trust-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.trust-item span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 1024px) {
  .trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 26px; }
}

/* ============ Sections ============ */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .muted { margin-top: 18px; }

/* How */
.how { border-top: 1px solid var(--line); }
.how-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .how-grid { grid-template-columns: 380px 1fr; gap: 64px; } .how-intro .h2 { font-size: clamp(32px, 3.2vw, 40px); } }
.how-intro .muted { margin-top: 18px; }
@media (min-width: 980px) { .how-intro { border-right: 1px solid var(--line); padding-right: 48px; align-self: start; } }

.how-steps { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 720px) { .how-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.how-step { position: relative; }
.how-step h3 { margin-top: 18px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.how-step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.step-n { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--sage); font-size: 15px; margin-bottom: 2px; }
.step-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sage-tint); border: 1px solid var(--sage-soft); color: var(--forest);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.step-ico .i { width: 24px; height: 24px; }
.how-step:hover .step-ico { transform: translateY(-3px); background: var(--sage-soft); }
@media (min-width: 720px) {
  .how-step:not(:last-child)::after {
    content: ""; position: absolute; top: 28px; left: 74px; right: -14px; height: 1px;
    background: repeating-linear-gradient(90deg, #CCD6C5 0 4px, transparent 4px 9px);
  }
}

/* Stats */
.stats { background: var(--forest); color: #EEF2E8; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,154,116,.28), transparent 65%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--font-display); font-weight: 380; font-variation-settings: "opsz" 48;
  font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.03em; color: #F6F1E9; font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 10px; font-size: 14.5px; color: #B9C8B4; max-width: 18ch; }
@media (min-width: 900px) { .stat + .stat { border-left: 1px solid rgba(238,242,232,.14); padding-left: 32px; } }

/* Find */
.find-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .find-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .find-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.find-card {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.find-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-soft); }
.find-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-tint); color: var(--forest); }
.find-card h3 { margin-top: 18px; font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.find-card p { margin-top: 6px; color: var(--muted); font-size: 15px; flex: 1; }
.find-amt {
  margin-top: 18px; align-self: flex-start; font-weight: 700; font-size: 14.5px; color: var(--forest);
  background: var(--sage-tint); padding: 5px 12px; border-radius: 999px; font-variant-numeric: tabular-nums;
}

/* Estimator */
.estimate { padding-top: 0; padding-bottom: clamp(48px, 6vw, 88px); }
.est-card {
  display: grid; gap: 0; border-radius: 28px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
@media (min-width: 960px) { .est-card { grid-template-columns: 1.35fr 1fr; } }
.est-copy { padding: clamp(28px, 4.5vw, 56px); }
.est-copy .muted { margin-top: 16px; max-width: 34em; }

.seg-group { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.seg-group legend { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper-2); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all .25s var(--ease); white-space: nowrap; cursor: pointer;
}
.seg label:hover span { border-color: var(--sage); }
.seg input:checked + span { background: var(--forest); border-color: var(--forest); color: #F6F1E9; }
.seg input:focus-visible + span { outline: 2px solid var(--sage-ink); outline-offset: 2px; }
@media (max-width: 520px) {
  .seg-income { display: grid; grid-template-columns: 1fr 1fr; }
  .seg-income span, .seg-years span { width: 100%; justify-content: center; padding: 0 10px; }
  .seg-years { display: grid; grid-template-columns: repeat(3, 1fr); }
}

.est-result {
  position: relative; padding: clamp(28px, 4.5vw, 56px);
  background: linear-gradient(160deg, #234434 0%, #1A3328 100%); color: #EEF2E8;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.est-result::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,154,116,.35), transparent 65%);
}
.est-result > * { position: relative; }
.est-label { font-size: 15px; color: #B9C8B4; font-weight: 500; }
.est-amount {
  font-family: var(--font-display); font-weight: 380; font-variation-settings: "opsz" 48;
  font-size: clamp(56px, 8vw, 84px); line-height: 1; letter-spacing: -.035em; margin-top: 8px; font-variant-numeric: tabular-nums;
}
.est-break { margin-top: 12px; color: #CBD7C6; font-size: 15px; }
.est-bar { margin: 26px 0 28px; height: 6px; border-radius: 99px; background: rgba(238,242,232,.12); overflow: hidden; }
.est-bar span { display: block; height: 100%; width: 39%; border-radius: inherit; background: linear-gradient(90deg, #9DB892, #D9E6CF); transition: width .7s var(--ease); }
.est-fine { margin-top: 14px; font-size: 12.5px; color: #93A68E; text-align: center; }

/* Why / comparison */
.why { background: linear-gradient(to bottom, var(--bg), #EFE8DC); }
.compare { border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; align-items: center; }
.cmp-row > span { padding: 18px 22px; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line-2); }
.cmp-row [role="rowheader"] { font-weight: 600; color: var(--ink); }
.cmp-head > span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 22px; padding-bottom: 16px; }
.cmp-us { background: var(--sage-tint); color: var(--forest) !important; font-weight: 600; align-self: stretch; }
.cmp-head .cmp-us { color: var(--forest) !important; border-radius: 0; }
.cmp-row i { flex: none; width: 18px; height: 18px; border-radius: 50%; position: relative; }
.cmp-row i.yes { background: var(--forest); }
.cmp-row i.yes::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.cmp-row i.mid { border: 1.5px solid var(--gold); background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); }
.cmp-row i.no { border: 1.5px solid #CFC6B7; }
.cmp-row i.no::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 1.5px; background: #B6AC9C; }

@media (max-width: 860px) {
  .compare { background: transparent; border: 0; box-shadow: none; display: grid; gap: 14px; }
  .cmp-head { display: none !important; }
  .cmp-row { grid-template-columns: 1fr; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
  .cmp-row + .cmp-row { border-top: 1px solid var(--line-2); }
  .cmp-row > span { padding: 10px 18px; font-size: 14.5px; }
  .cmp-row [role="rowheader"] { padding-top: 16px; font-size: 16px; }
  .cmp-row [role="cell"]::before { content: attr(data-col); min-width: 116px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  .cmp-row [role="cell"]:last-child { padding-bottom: 14px; padding-top: 12px; }
  .cmp-row .cmp-us::before { color: var(--sage-ink); }
}

/* Experts */
.experts-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 980px) { .experts-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.experts-copy .muted { margin-top: 18px; }
.who { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.who li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

.services { display: grid; gap: 14px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
.service {
  display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line-2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #EEF2E8; }
.svc-ico .i { width: 19px; height: 19px; }
.service h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.service p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 340px 1fr; gap: 72px; } }
.faq-intro .muted { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-size: clamp(17px, 1.8vw, 19px); font-weight: 600; line-height: 1.4; color: var(--ink);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--forest); }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.6px; background: var(--forest); border-radius: 2px;
  transition: transform .35s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }
.faq-a p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; max-width: 62ch; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; color: #F2F5EF; text-align: center; padding: clamp(88px, 12vw, 150px) 0; overflow: hidden; background: #3A5246; }
.cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(28,44,36,.30), rgba(28,44,36,.10) 40%, rgba(22,36,29,.55)),
    url("assets/forest.webp") center 62% / cover no-repeat;
}
.cta-inner { max-width: 760px; }
.cta-title {
  font-family: var(--font-display); font-weight: 380; font-variation-settings: "opsz" 60;
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(20,34,27,.35);
}
.cta-inner > p { margin-top: 16px; font-size: 18px; color: rgba(242,245,239,.86); }
.cta-inner .btn { margin-top: 34px; }
.cta-fine { font-size: 13.5px !important; color: rgba(242,245,239,.7) !important; margin-top: 18px !important; }

/* Footer */
.site-footer { background: #17271F; color: #C3CEBF; padding: 64px 0 36px; }
.site-footer .brand-word { color: #F2F5EF; }
.site-footer .brand-mark { filter: brightness(1.35) saturate(.9); }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(195,206,191,.14); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1fr 1.4fr; } }
.footer-brand p { margin-top: 14px; max-width: 30ch; font-size: 15px; color: #9FB09A; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 560px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #7F927A; font-weight: 600; margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; color: #D7E0D3; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: grid; gap: 14px; }
.disclaimer { font-size: 12.5px; line-height: 1.6; color: #8A9C86; max-width: 92ch; }
.copy { font-size: 13px; color: #7F927A; }

/* Concepts link */
.concepts-link {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 12.5px; font-weight: 600; color: var(--forest);
  background: rgba(255,253,249,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px 7px 10px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.concepts-link .i { width: 15px; height: 15px; }
.concepts-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Responsive helpers */
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }

/* ============ Motion ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-load { opacity: 0; transform: translateY(14px); animation: loadIn 1s var(--ease) forwards; }
.js .hero-inner > .reveal-load:nth-child(1) { animation-delay: .05s; }
.js .hero-inner > .reveal-load:nth-child(2) { animation-delay: .15s; }
.js .hero-inner > .reveal-load:nth-child(3) { animation-delay: .28s; }
.js .hero-inner > .reveal-load:nth-child(4) { animation-delay: .4s; }
.js .hero-inner > .reveal-load:nth-child(5) { animation-delay: .5s; }
.js .review-card.reveal-load { opacity: 1; transform: translateY(28px); animation: cardIn 1.3s .45s var(--ease) forwards; }
@keyframes cardIn { to { transform: none; } }
@keyframes loadIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-bg { animation: none; }
  .hero-title em { background-size: 100% 2px; }
  .js .reveal, .js .reveal-load { opacity: 1; transform: none; }
}

/* Compact cards on small screens */
@media (max-width: 639px) {
  .find-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; border-radius: var(--radius); }
  .find-card > * { grid-column: 2; }
  .find-ico { grid-column: 1; grid-row: 1 / span 3; }
  .find-card h3 { margin-top: 0; font-size: 16.5px; }
  .find-amt { margin-top: 12px; }
  .service { grid-template-columns: 42px 1fr; padding: 20px; border-radius: var(--radius); }
  .how-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .how-step .step-ico { grid-row: 1 / span 2; }
  .how-step h3 { margin-top: 0; }
  .how-steps { gap: 24px; }
}
