/* ============================================================================
   EasyPath marketing - v5, rebuilt from scratch
   Escapes the AI defaults: NO cream (cool green-tinted white), committed BOLD
   green (not a timid accent), rare gold. Hanken Grotesk (self-hosted, variable) +
   Instrument Serif accent + JetBrains Mono for commands. Every class namespaced under .mkt
   so it never collides with the app's styles.css. Content is visible by default;
   motion enhances and can never ship blank. No eyebrows-everywhere, no side-stripe
   borders, no glass-by-default, no identical card grids, no grain, no tilt/magnet.
   ========================================================================== */

/* Self-hosted fonts (woff2, latin) - dropped Google Fonts for speed + privacy +
   the "expensive" tell. Hanken Grotesk + JetBrains Mono are variable (one file,
   weight range); Instrument Serif is static with a separate italic. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/hanken.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/jetbrains.woff2) format("woff2"); }

:root {
  /* base - a COOL, faintly green-tinted near-white. Not warm paper, not cream. */
  --bg: #F4F7F5;
  --bg-2: #EAF0EC;          /* slightly deeper light band */
  --surface: #FFFFFF;
  --ink: #0C1A14;           /* deep near-black green, primary text */
  --ink-2: #3C4A43;         /* secondary text (AA on --bg) */
  --ink-3: #64726B;         /* muted, large text only */
  --hair: #DCE4DE;          /* hairline */
  --hair-2: #CBD5CE;

  /* committed brand green */
  --green: #0E7A54;         /* primary brand / buttons */
  --green-deep: #0A5C3F;
  --green-800: #0B3626;     /* deep band surface */
  --green-900: #082A1E;     /* deepest (footer / hero card) */
  --green-bright: #34C88A;  /* accent on dark */
  --on-green: #F1FBF5;      /* text on green */
  --on-green-2: #9DC6B2;    /* secondary text on green */
  --hair-dark: rgba(241,251,245,0.12);
  --hair-dark-2: rgba(241,251,245,0.20);

  /* gold - rare, precise */
  --gold: #C89B3C;
  --gold-bright: #E8C56B;
  --gold-ink: #7E5F14;      /* gold text on light (AA) */
  --gold-cta: #F1B32C;      /* bright CTA gold - 11:1 on black */
  --gold-cta-hover: #FFC53D;

  --r: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(12,26,20,0.05), 0 4px 12px rgba(12,26,20,0.05);
  --sh-2: 0 2px 6px rgba(12,26,20,0.07), 0 18px 40px -16px rgba(12,26,20,0.20);
  --sh-3: 0 10px 24px rgba(8,42,30,0.18), 0 40px 80px -30px rgba(8,42,30,0.45);

  /* easing: ease-out-quint (no bounce) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --mw: 1160px;
  --pad: clamp(1.3rem, 4vw, 2.5rem);

  /* z-scale (semantic) */
  --z-nav: 50; --z-menu: 60; --z-veil: 90;
}

/* ---- base ---------------------------------------------------------------- */
html.mkt-page { -webkit-text-size-adjust: 100%; background: var(--green-900); overscroll-behavior-y: none; }
html.mkt-page body { margin: 0; background: var(--green-900); }

/* ---- demo loader --------------------------------------------------------- *
   A full-screen "loading page" raised while the demo workspace is provisioned
   (mirrors the Madhu Media loader: brand mark, filling bar, live percent) - but
   driven by the real /api/dev/enter-demo request, so the bar never fake-finishes
   before the server actually does. Shown/hidden by marketing.js on a demo click. */
.ep-demoload {
  position: fixed; inset: 0; z-index: 200;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(52,200,138,0.10), transparent 60%),
    var(--green-900);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.ep-demoload.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.ep-demoload-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 2rem; text-align: center;
  transform: translateY(10px); opacity: 0.001;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.ep-demoload.is-on .ep-demoload-inner { transform: none; opacity: 1; }
.ep-demoload-logo { display: inline-flex; }
.ep-demoload-logo svg {
  width: 46px; height: 46px;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.35));
  animation: epLoadPulse 1.8s var(--ease) infinite;
}
.ep-demoload-mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.05rem); letter-spacing: -0.01em;
  color: var(--on-green); line-height: 1;
}
.ep-demoload-mark b { color: var(--green-bright); font-weight: 800; }
.ep-demoload-sub {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-green-2); min-height: 1em;
  transition: opacity 0.2s var(--ease);
}
.ep-demoload-bar {
  width: min(240px, 62vw); height: 3px; border-radius: 3px;
  background: var(--hair-dark); overflow: hidden;
}
.ep-demoload-bar span {
  display: block; height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transition: width 0.18s linear;
}
.ep-demoload-pct {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--on-green-2); font-variant-numeric: tabular-nums;
}
.ep-demoload-err {
  max-width: 32ch; margin-top: 2px;
  font-family: var(--font-body); font-size: 0.86rem; line-height: 1.5;
  color: #FCA5A5;
}
.ep-demoload-back {
  margin-top: 4px; background: none; border: 1px solid var(--hair-dark-2);
  color: var(--on-green); font-family: var(--font-body); font-size: 0.82rem;
  padding: 0.55rem 1.1rem; border-radius: var(--pill); cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ep-demoload-back:hover { background: rgba(241,251,245,0.08); }
@keyframes epLoadPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); opacity: 0.82; }
}

.mkt {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--green-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.mkt *, .mkt *::before, .mkt *::after { box-sizing: border-box; }
/* Shell (html / body / .mkt) is the deep footer green; the CONTENT carries the light
   page bg on <main>. This way the sub-pixel Lenis seam below the dark footer - and any
   overscroll past the bottom - shows dark green, never a light/white line. */
.mkt > main { background: var(--bg); }
.mkt ::selection { background: rgba(14,122,84,0.16); }
.mkt h1, .mkt h2, .mkt h3, .mkt h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.032em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
/* editorial italic-serif accent for emphasis words inside headings */
.mkt .g { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0.005em; font-size: 1.08em; color: var(--green); }
.dark .g { color: var(--gold-bright); }
.mkt p { margin: 0; text-wrap: pretty; }
.mkt a { text-decoration: none; }
.mkt a:not(.btn) { color: var(--green-deep); }   /* buttons keep their own text color (was overriding .btn) */
.mkt ul { margin: 0; padding: 0; list-style: none; }
.mkt img, .mkt svg { display: block; max-width: 100%; }
.mkt strong { font-weight: 700; color: var(--ink); }
.mkt .ic { display: inline-flex; line-height: 0; }
.mkt .ic svg { display: block; }

.mw { width: 100%; max-width: var(--mw); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.sec-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* deep-green band */
.dark { background: var(--green-900); color: var(--on-green); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-green); }
.dark p { color: var(--on-green-2); }
.dark a:not(.btn) { color: var(--green-bright); }
.soft { background: var(--bg-2); }

/* ---- buttons (calm - color/shadow, no drift, no card-tilt) --------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.92em 1.5em; border-radius: var(--pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; width: auto;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.28s var(--ease); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 2px 8px -2px rgba(6,20,14,0.22); }
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 6px 16px -4px rgba(6,20,14,0.3); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold-cta); color: #000; font-weight: 700; box-shadow: 0 2px 8px -2px rgba(6,20,14,0.25); }
.btn-gold:hover { background: var(--gold-cta-hover); box-shadow: 0 8px 20px -6px rgba(241,179,44,0.45); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(12,26,20,0.03); }
.dark .btn-ghost { color: var(--on-green); border-color: var(--hair-dark-2); }
.dark .btn-ghost:hover { background: rgba(241,251,245,0.06); border-color: var(--hair-dark-2); }
.btn-lg { font-size: 1.06rem; padding: 1.05em 1.8em; }

.tlink { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--green-deep); }
.tlink svg { width: 1em; height: 1em; transition: transform 0.28s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.dark .tlink { color: var(--green-bright); }

/* ---- reveal: VISIBLE by default; .js prepares; reveal beats hide --------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--rd, 0ms); }
html.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---- topbar -------------------------------------------------------------- */
.mkt-nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s; border-bottom: 1px solid transparent; }
/* nav fades down into place on load, with the rest of the entrance (resting
   state stays visible, so no-JS / old browsers just see it - never hidden) */
@starting-style { .mkt-nav { opacity: 0; transform: translateY(-14px); } }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 70px; width: 100%; padding-inline: clamp(1.3rem, 3vw, 2.6rem); }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--ink); }
.nav-links { display: flex; gap: 0.15rem; margin-left: 0.4rem; }
.nav-links a { position: relative; padding: 0.5rem 0.4rem; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); transition: color 0.25s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0.4rem; right: 0.4rem; bottom: 0.22rem; height: 1.5px; background: currentColor; opacity: 0.85; transform: scaleX(0); transform-origin: left; transition: transform 0.38s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-deep); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.nav-signin { font-size: 0.95rem; font-weight: 600; color: var(--ink); padding: 0.5rem 0.6rem; border-radius: 8px; transition: color 0.25s var(--ease), background 0.25s var(--ease); }
.nav-signin:hover { background: rgba(12,26,20,0.05); }
.nav-demo { font-size: 0.95rem; font-weight: 600; color: var(--ink); padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid rgba(12,26,20,0.18); white-space: nowrap; transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.nav-demo:hover { background: rgba(12,26,20,0.05); border-color: rgba(12,26,20,0.34); }
.mkt-nav.scrolled { background: rgba(244,247,245,0.85); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom-color: var(--hair); }
/* over the dark hero (home): light nav until scrolled into light content */
.mkt-nav.over-dark:not(.scrolled) .logo-word, .mkt-nav.over-dark:not(.scrolled) .nav-signin, .mkt-nav.over-dark:not(.scrolled) .nav-demo { color: #fff; }
.mkt-nav.over-dark:not(.scrolled) .nav-demo { border-color: rgba(255,255,255,0.34); }
.mkt-nav.over-dark:not(.scrolled) .nav-demo:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.mkt-nav.over-dark:not(.scrolled) .nav-links a { color: rgba(241,251,245,0.74); }
.mkt-nav.over-dark:not(.scrolled) .nav-links a:hover, .mkt-nav.over-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; }
.mkt-nav.over-dark:not(.scrolled) .nav-signin:hover { background: rgba(255,255,255,0.09); }
.mkt-nav.over-dark:not(.scrolled) .burger { color: #fff; border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); }
/* Nav is namespaced .mkt-nav (renamed from a bare .nav) so the app's sidebar
   ".nav" rule in styles.css can no longer collide with the marketing top bar.
   These forced button colors are now belt-and-suspenders, kept in case
   styles.css ever grows a generic button rule. */
.mkt .mkt-nav .btn-gold { background: var(--gold-cta) !important; color: #000 !important; font-weight: 700 !important; }
.mkt .mkt-nav .btn-gold:hover { background: var(--gold-cta-hover) !important; color: #000 !important; }
.mkt .mkt-nav .btn-primary { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--hair-2); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ---- hero (cinematic dark - the product, alive; path-of-light motif) ------ */
.hero { position: relative; overflow: hidden; padding-top: 128px; padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(168deg, #0A1613, #050F0B); color: var(--on-green);
  min-height: 100svh; display: flex; align-items: center; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 40% at 76% 6%, rgba(52,200,138,0.06), transparent 74%); }
.hero-vig { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(135% 125% at 50% 26%, transparent 52%, rgba(2,8,6,0.62)); }
.hero-path { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero-path path { fill: none; stroke: url(#eppath); stroke-width: 1.5; stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(52,200,138,0.55)); stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: epdraw 2.6s var(--ease) 0.35s forwards; }
@keyframes epdraw { to { stroke-dashoffset: 0; } }
html.reveal-all .hero-path path { stroke-dashoffset: 0; animation: none; }
.hero-in { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { max-width: 34rem; }
.h1 { font-size: clamp(3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.96; color: var(--ink); }
.h1 .g { color: var(--green); }
.hero .h1 { color: #fff; }
.hero .h1 .g { color: var(--gold-bright); }
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.16em; }
.js .h1 .ln > span { display: block; transform: translateY(106%); }
.js .h1.kin .ln > span { transform: translateY(0); transition: transform 0.9s var(--ease); transition-delay: var(--ld, 0ms); }
html.reveal-all .h1 .ln > span { transform: none !important; }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--on-green-2); max-width: 42ch; line-height: 1.55; }
.hero-cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.24); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.42); }
.hero-note { margin-top: 1.75rem; font-size: 0.92rem; color: var(--on-green-2); }
.hero-note b { color: var(--gold-bright); font-weight: 700; }
.hero .epa { box-shadow: var(--sh-3); }

/* ---- the assistant demo (namespaced epa-*; deep-green product card) ------- */
.epa { position: relative; border-radius: var(--r-xl); background: linear-gradient(168deg, var(--green-800), var(--green-900)); color: var(--on-green); box-shadow: var(--sh-3); overflow: hidden; border: 1px solid rgba(241,251,245,0.08); }
.epa-top { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--hair-dark); }
.epa-dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--green-bright); color: #052015; flex: none; }
.epa-name { font-weight: 600; font-size: 0.9rem; color: var(--on-green); }
.epa-tag { margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); border: 1px solid rgba(232,197,107,0.32); padding: 0.22rem 0.5rem; border-radius: var(--pill); }
/* fixed height (not min/max) so autoplay filling the thread never grows the
   card = zero layout shift on mobile; messages scroll inside a stable box */
/* overflow:hidden (NOT auto) - the thread is a self-playing demo; JS sets scrollTop to
   reveal the latest message, but the user can never wheel-scroll it, so it never captures
   the wheel or fights Lenis. This is what killed the scroll-trap AND the rubber-banding. */
.epa-thread { padding: 1.15rem 1.1rem 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; height: 300px; overflow: hidden; }
.epa-thread::-webkit-scrollbar { width: 6px; }
.epa-thread::-webkit-scrollbar-thumb { background: rgba(241,251,245,0.16); border-radius: 3px; }
.epa-msg { max-width: 86%; font-size: 0.9rem; line-height: 1.5; padding: 0.6rem 0.82rem; border-radius: 13px; }
.epa-msg.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; font-family: var(--font-mono); font-size: 0.8rem; }
.epa-msg.bot { align-self: flex-start; background: rgba(241,251,245,0.07); color: var(--on-green); border-bottom-left-radius: 4px; }
.epa-msg.bot strong { color: #fff; }
.epa-msg b.g { color: var(--gold-bright); font-weight: 700; }
.epa-in { animation: epaIn 0.45s var(--ease) both; }
@keyframes epaIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.epa-type { display: inline-flex; gap: 4px; padding: 0.7rem 0.85rem; }
.epa-type i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-green-2); animation: epaBlink 1.2s var(--ease) infinite; }
.epa-type i:nth-child(2) { animation-delay: 0.16s; } .epa-type i:nth-child(3) { animation-delay: 0.32s; }
@keyframes epaBlink { 0%,60%,100% { opacity: 0.3; } 30% { opacity: 1; } }
.epa-card { margin-top: 0.5rem; border: 1px solid var(--hair-dark-2); border-radius: 12px; background: rgba(8,42,30,0.55); padding: 0.65rem 0.75rem; }
.epa-card .r { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; padding: 0.18rem 0; }
.epa-card .r span { color: var(--on-green-2); } .epa-card .r b { color: #fff; }
.epa-card .r b.amt { color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.epa-acts { display: flex; gap: 0.45rem; margin-top: 0.55rem; }
.epa-btn { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; padding: 0.5em 0.9em; border-radius: var(--pill); border: 1px solid transparent; cursor: pointer; transition: background 0.25s var(--ease); }
.epa-btn.ok { background: var(--green-bright); color: #052015; }
.epa-btn.ok:hover { background: #4fe0a0; }
.epa-btn.no { background: transparent; color: var(--on-green-2); border-color: var(--hair-dark-2); }
.epa-list { margin-top: 0.45rem; display: flex; flex-direction: column; gap: 0.3rem; }
.epa-list .li { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; font-size: 0.82rem; padding: 0.4rem 0.55rem; border-radius: 8px; background: rgba(241,251,245,0.05); }
.epa-list .li b { color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.epa-input { display: flex; align-items: center; gap: 0.45rem; padding: 0.75rem; border-top: 1px solid var(--hair-dark); }
.epa-input input { flex: 1; min-width: 0; background: rgba(8,42,30,0.5); border: 1px solid var(--hair-dark-2); border-radius: var(--pill); padding: 0.68rem 0.95rem; color: var(--on-green); font-family: var(--font-mono); font-size: 0.8rem; outline: none; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.epa-input input::placeholder { color: var(--on-green-2); }
.epa-input input:focus { border-color: rgba(52,200,138,0.6); box-shadow: 0 0 0 3px rgba(52,200,138,0.14); }
.epa-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center; background: var(--gold); color: #241a04; transition: background 0.25s var(--ease), transform 0.13s var(--ease); }
.epa-send:hover { background: var(--gold-bright); }
.epa-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 0.75rem 0.85rem; }
.epa-chip { font-size: 0.76rem; font-weight: 500; color: var(--on-green); background: rgba(241,251,245,0.06); border: 1px solid var(--hair-dark); border-radius: var(--pill); padding: 0.4em 0.8em; cursor: pointer; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); }
.epa-chip:hover { background: rgba(52,200,138,0.14); border-color: rgba(52,200,138,0.4); }

/* ---- hero "send" animation (auto-play showcase; a click opens the try-it popover) */
.epa-input input[readonly] { cursor: pointer; }
.epa-send.epa-press { transform: scale(0.84); background: var(--gold-bright); }
/* the electrical trace: shoots up from send, turns hard left, brackets the message */
.epa-trace { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 1; transition: opacity 0.3s var(--ease); }
.epa-trace.epa-trace-out { opacity: 0; }
.epa-trace-p { fill: none; stroke: var(--gold-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(232,197,107,0.7)); }
/* the message: hidden while we measure it, then unfurls in behind the trace */
.epa-msg.epa-pre { opacity: 0; }
.epa-msg.epa-unfurl { transform-origin: top right; animation: epaUnfurl 0.36s var(--ease) both; }
@keyframes epaUnfurl { 0% { opacity: 0; transform: scale(0.9) translateY(-4px); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* the "try it yourself" popover - click the box = progressive disclosure, not an instant jump */
.epa-pop { position: absolute; left: 1rem; right: 1rem; bottom: 6.2rem; z-index: 6; background: #0C241A; border: 1px solid rgba(241,251,245,0.15); border-radius: 15px; padding: 0.95rem 1rem 1rem; box-shadow: 0 20px 46px -18px rgba(0,0,0,0.7); opacity: 0; transform: translateY(12px) scale(0.97); transform-origin: bottom right; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); pointer-events: none; }
.epa-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.epa-pop-t { margin: 0 0 0.25rem; font-weight: 700; font-size: 0.94rem; color: #fff; }
.epa-pop-d { margin: 0 0 0.8rem; font-size: 0.82rem; line-height: 1.45; color: var(--on-green-2); }
.epa-pop-go { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-weight: 700; font-size: 0.86rem; color: #000; background: var(--gold-cta); border: none; border-radius: var(--pill); padding: 0.58rem 1rem; cursor: pointer; transition: background 0.2s var(--ease), transform 0.1s var(--ease); }
.epa-pop-go:hover { background: var(--gold-cta-hover); }
.epa-pop-go:active { transform: scale(0.97); }
.epa-pop-go span { transition: transform 0.2s var(--ease); }
.epa-pop-go:hover span { transform: translateX(3px); }

/* ---- trust strip (calm, static) ------------------------------------------ */
.trust { border-block: 1px solid var(--hair); background: var(--surface); }
.trust-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 2.2rem; padding-block: 1.15rem; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.trust-item svg { width: 1.05em; height: 1.05em; color: var(--green); flex: none; }

/* ---- hero kicker (plain category label above the H1 = instant "what is this") */
.hero-kicker { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 1.05rem; }

/* ---- assistant demo privacy note (footer strip inside the card) ----------- */
.epa-note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.6rem 1rem 0.75rem; font-size: 0.72rem; color: var(--on-green-2); border-top: 1px solid var(--hair-dark); }
.epa-note svg { width: 1em; height: 1em; color: var(--green-bright); flex: none; }

/* ---- proof strip + operator testimonial (under the hero) ------------------ */
.proof { background: var(--bg-2); }
.proof-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.15rem; }
.proof-lead { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; font-weight: 600; color: var(--green-deep); }
.proof-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); flex: none; animation: proofpulse 2.6s var(--ease) infinite; }
@keyframes proofpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,200,138,0.4); } 50% { box-shadow: 0 0 0 6px rgba(52,200,138,0); } }
.proof-quote { max-width: 42rem; margin: 0; text-align: left; }
.proof-quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--ink); }
.proof-quote figcaption { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-2); display: flex; flex-direction: column; gap: 0.12rem; }
.proof-quote figcaption b { color: var(--ink); font-weight: 700; font-size: 1rem; }

/* ---- section heading (no eyebrow; confident heading + line) --------------- */
.head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
.head p { margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.5; color: var(--ink-2); max-width: 48ch; }
.head.center p { margin-inline: auto; }
.dark .head p { color: var(--on-green-2); }

/* ---- bento (varied tile sizes, one accented - NOT identical cards) -------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.tile { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; box-shadow: var(--sh-1); transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.tile:hover { box-shadow: var(--sh-2); border-color: var(--hair-2); transform: translateY(-3px); }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w6 { grid-column: span 6; }
.tile-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); color: var(--green-deep); margin-bottom: 1rem; }
.tile h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.tile p { color: var(--ink-2); font-size: 0.97rem; }
.tile.accent { background: linear-gradient(165deg, var(--green-800), var(--green-900)); border-color: transparent; color: var(--on-green); }
.tile.accent h3 { color: #fff; } .tile.accent p { color: var(--on-green-2); }
.tile.accent .tile-ic { background: rgba(52,200,138,0.16); color: var(--green-bright); }
/* tiles cascade in as a row reveals (a real, visible stagger) */
.bento .tile:nth-child(2), .bento .tile:nth-child(4), .bento .tile:nth-child(7) { --rd: 90ms; }
.bento .tile:nth-child(5) { --rd: 180ms; }
.rows .row:nth-child(2) { --rd: 110ms; }
.rows .row:nth-child(3) { --rd: 220ms; }

/* ---- assistant deep section (dark band, real command examples) ----------- */
.say-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.say-points { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1.3rem; }
.say-point h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--on-green); margin-bottom: 0.2rem; }
.say-point p { font-size: 0.96rem; color: var(--on-green-2); }
.say-demo { background: rgba(8,42,30,0.5); border: 1px solid var(--hair-dark); border-radius: var(--r-lg); padding: 1.4rem; }
.say-lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-green-2); margin-bottom: 0.9rem; }
.say-line { font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-green); padding: 0.65rem 0; border-top: 1px solid var(--hair-dark); display: flex; gap: 0.6rem; }
.say-line:first-of-type { border-top: none; }
.say-line .p { color: var(--green-bright); }
/* the branded product name under the assistant-section heading (centered) */
/* the product name is a quiet mono KICKER above the H2 (was a bold near-H2 that fought the headline) */
.head .say-brand { display: inline-flex; align-items: center; justify-content: center; gap: 0.44rem; max-width: none; margin: 0 auto 0.85rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; color: var(--green-bright); }
.head .say-brand svg { width: 1.15em; height: 1.15em; color: var(--gold-bright); flex: none; }
.dark .head .say-brand { color: var(--green-bright); }

/* ---- honest rows (money) ------------------------------------------------- */
.rows { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 46px 1fr; gap: 1.2rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--hair); }
.row-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--green-deep); }
.row h3 { font-size: 1.24rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.row p { color: var(--ink-2); }

/* ---- trust / origin ------------------------------------------------------ */
.prose { max-width: 60ch; }
.prose p { font-size: 1.14rem; color: var(--ink-2); margin-bottom: 1.1rem; line-height: 1.6; }
.dark .prose p { color: var(--on-green-2); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; margin-top: 2.4rem; }
.pillars li { border-top: 2px solid var(--green); padding-top: 0.9rem; }
.dark .pillars li { border-top-color: var(--green-bright); }
.pillars b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; color: var(--ink); }
.dark .pillars b { color: var(--on-green); }
.pillars span { color: var(--ink-2); font-size: 0.95rem; }
.dark .pillars span { color: var(--on-green-2); }

/* ---- pricing ------------------------------------------------------------- */
.price { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.price-card { text-align: center; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-xl); padding: 2.6rem 1.6rem; box-shadow: var(--sh-2); }
.price-num { font-family: var(--font-serif); font-weight: 400; font-size: clamp(4.4rem, 9.5vw, 6.4rem); line-height: 1; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-num [data-count] { display: inline-block; min-width: 1.7em; text-align: center; }
.price-num sup { font-size: 0.24em; font-weight: 700; color: var(--ink-3); top: -1.6em; margin-left: 0.1em; }
.price-alt { margin-top: 0.7rem; color: var(--ink-2); }
.price-anchor { margin-top: 1.2rem; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.price-anchor s { color: var(--ink-3); } .price-anchor b { color: var(--ink); font-weight: 700; }
.price-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; padding: 0.78rem 0; border-bottom: 1px solid var(--hair); align-items: start; }
.price-list li:last-child { border-bottom: none; }
.price-list .ck { width: 22px; height: 22px; border-radius: 50%; background: rgba(14,122,84,0.12); color: var(--green); display: grid; place-items: center; margin-top: 1px; }
.price-list b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 0.15rem; } .price-list span { color: var(--ink-2); font-size: 0.94rem; }

/* ---- install / anywhere -------------------------------------------------- */
.dev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* editorial row list (was boxed AI-default cards): hairline dividers, refined outlined icon */
.ways { display: flex; flex-direction: column; margin-top: 1.9rem; border-top: 1px solid var(--hair); }
.way { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; padding: 1.2rem 0.15rem; border-bottom: 1px solid var(--hair); }
.way-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--hair-2); color: var(--green); transition: border-color 0.3s var(--ease); }
.way:hover .way-ic { border-color: var(--green); }
.way b { display: block; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 0.18rem; }
.way span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.phone { justify-self: center; width: min(250px, 74%); aspect-ratio: 9/18.5; border-radius: 32px; background: linear-gradient(170deg, var(--green-800), var(--green-900)); border: 8px solid #071b13; box-shadow: var(--sh-3); padding: 1.15rem 0.95rem; overflow: hidden; }
.phone .notch { width: 32%; height: 5px; border-radius: 3px; background: rgba(241,251,245,0.18); margin: 0 auto 1.1rem; }
.phone .pbrand { display: flex; align-items: center; gap: 0.4rem; color: var(--on-green); font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; }
.phone .pbrand i { width: 16px; height: 16px; border-radius: 5px; background: var(--green-bright); display: inline-block; }
.phone .pcard { background: rgba(241,251,245,0.06); border: 1px solid var(--hair-dark); border-radius: 11px; padding: 0.7rem; margin-bottom: 0.55rem; }
.phone .pcard .l1 { height: 8px; width: 55%; border-radius: 4px; background: rgba(241,251,245,0.28); margin-bottom: 0.4rem; }
.phone .pcard .l2 { height: 7px; width: 82%; border-radius: 4px; background: rgba(241,251,245,0.13); }
.phone .pcard.hi { border-color: rgba(232,197,107,0.4); } .phone .pcard.hi .l1 { background: var(--gold-bright); width: 42%; }

/* ---- final cta (Peak-End; the path-of-light motif resolves here) --------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.final p { margin: 1.1rem auto 2rem; max-width: 42ch; color: var(--on-green-2); font-size: 1.1rem; }
.final .mw { position: relative; z-index: 1; }
.final-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 74% at 50% 118%, rgba(52,200,138,0.16), transparent 70%); }
.final-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.final-path path { fill: none; stroke: url(#eppath2); stroke-width: 1.5; stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(52,200,138,0.5)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .final-path[data-reveal] { opacity: 0; transform: none; }
.js .final-path[data-reveal].is-in { opacity: 0.9; transform: none; transition: opacity 0.9s var(--ease); }
.final-path[data-reveal].is-in path { animation: epdraw 2.4s var(--ease) 0.15s forwards; }
html.reveal-all .final-path { opacity: 0.9 !important; }
html.reveal-all .final-path path { stroke-dashoffset: 0; animation: none; }
.final-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--on-green-2); }
.final-note b { color: var(--gold-bright); font-weight: 700; }
/* the final CTA is the arrival point - grander than the nav/hero pill, with a soft gold halo */
.final .btn-gold { font-size: 1.14rem; padding: 1.15em 2.1em; box-shadow: 0 0 0 1px rgba(232,197,107,0.34), 0 18px 44px -14px rgba(241,179,44,0.5); }
.final .btn-gold:hover { box-shadow: 0 0 0 1px rgba(232,197,107,0.5), 0 22px 52px -14px rgba(241,179,44,0.62); }
@media (max-width: 560px) { .final-path { display: none; } }

/* ---- footer -------------------------------------------------------------- */
.foot { background: var(--green-900); color: var(--on-green); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; }
.foot-word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--on-green); }
.foot-tag { margin-top: 0.7rem; color: var(--on-green-2); font-size: 0.93rem; max-width: 32ch; }
.foot-contact { margin-top: 0.7rem; font-size: 0.92rem; color: var(--on-green-2); }
.foot-contact a { color: var(--on-green); }
.foot h4, .foot .foot-col-h { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-green-2); margin-bottom: 0.85rem; }
.foot li { margin-bottom: 0.5rem; }
.foot a { color: var(--on-green); font-size: 0.94rem; opacity: 0.85; transition: opacity 0.25s, color 0.25s; }
.foot a:hover { opacity: 1; color: var(--gold-bright); }
.foot-base { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hair-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.86rem; color: var(--on-green-2); }
.foot-base a { color: var(--on-green-2); } .foot-base a:hover { color: var(--gold-bright); }
/* Bare legal page (opened from the signup consent link): a clean document, no nav CTA */
.bare-nav { position: static; }
.bare-foot { margin-top: 2.5rem; }
.bare-foot .foot-base { justify-content: center; gap: 1.2rem; margin-top: 0; }

/* ---- interior pages ------------------------------------------------------ */
.phead { padding-top: 128px; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.phead h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.phead p { margin-top: 1rem; font-size: 1.14rem; color: var(--ink-2); max-width: 54ch; }
.dark.phead p { color: var(--on-green-2); }

.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.12rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding: 1.3rem 2.2rem 1.3rem 0; position: relative; }
.faq-q .x { position: absolute; right: 0; top: 1.45rem; width: 20px; height: 20px; }
.faq-q .x::before, .faq-q .x::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-q .x::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-q .x::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item.open .x::after { transform: scaleY(0); }
.faq-a { height: 0; overflow: hidden; transition: height 0.4s var(--ease); }
.faq-a p { padding: 0 0 1.3rem; color: var(--ink-2); font-size: 1.02rem; max-width: 66ch; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.split h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.split p { color: var(--ink-2); margin-bottom: 1rem; }
.mail { font-family: var(--font-mono); font-size: 1rem; color: var(--green-deep); font-weight: 600; }

.legal { max-width: 720px; }
.legal .upd { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 0.85rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; } .legal li { margin-bottom: 0.5rem; }

.nf { text-align: center; padding: 150px 0 8rem; }
.nf h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
.nf p { margin-top: 1rem; color: var(--ink-2); font-size: 1.1rem; }

/* ---- page transition (quick content crossfade - never a blank blocker) ---- */
.mkt { opacity: 1; transition: opacity 0.32s var(--ease); }
html.leaving .mkt { opacity: 0; }
html:not(.js) .mkt { opacity: 1 !important; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 940px) {
  .say-grid, .price, .dev { grid-template-columns: 1fr; }
  /* single-column hero: headline -> assistant demo -> subhead -> buttons */
  .hero-in { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .hero-kicker { order: 0; margin-bottom: 0.6rem; }
  .hero-copy .h1 { order: 1; }
  .hero-in > .epa { order: 2; margin-top: 1.6rem; }
  .hero-copy .hero-sub { order: 3; margin-top: 2.2rem; }
  .hero-copy .hero-cta { order: 4; }
  .hero-copy .hero-note { order: 5; }
  .say-demo, .phone { order: -1; }
  .tile.w3, .tile.w2 { grid-column: span 3; }
  .tile.w6 { grid-column: span 6; }
  .hero .hero-path { display: none; }   /* beats .mkt svg; the 1440-box curve distorts when squished narrow, so wide-only */
  .hero .h1 { font-size: clamp(1.9rem, 5.6vw, 3rem); line-height: 1.06; }   /* shrink the headline the moment the hero goes single-column, not just <780 */
}
@media (max-width: 780px) {
  /* Declutter the mobile nav: hide the links, sign-in, AND the gold CTA - on a phone the
     logo + CTA + burger don't fit and overlap. The CTA still lives in the hero and the
     hamburger menu, so nothing's lost. Leaves a clean logo + burger. */
  .nav-links, .nav-signin, .nav-demo, .mkt-nav .nav-in .btn-gold { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 70px 0 auto; z-index: var(--z-menu); background: var(--green-900); padding: 1rem var(--pad) 1.5rem; transform: translateY(-115%); transition: transform 0.4s var(--ease); border-bottom: 1px solid var(--hair-dark); }
  .mkt-nav.open .mobile-menu { transform: none; }
  .mobile-menu a { display: block; padding: 0.85rem 0; color: var(--on-green); font-size: 1.1rem; border-bottom: 1px solid var(--hair-dark); }
  .mobile-menu a.btn { margin-top: 1rem; justify-content: center; border-bottom: none; }
  .pillars, .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile.w3, .tile.w2, .tile.w6 { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-path { display: none; }
}

/* Big-screen composition scaling (bigscreen-composition-rule): the root font grows on
   large monitors so rem-based type + spacing scale up; reading widths stay ch-capped and
   the container grows a touch. Breakpoints 1600 / 1880 (not 1920). */
@media (min-width: 1600px) { html.mkt-page { font-size: 17px; } :root { --mw: 1280px; } }
@media (min-width: 1880px) { html.mkt-page { font-size: 18px; } :root { --mw: 1360px; } }

/* Hide the app's PWA install prompts on marketing. The install pitch lives in the page
   content ("Add to Home Screen" section) - we don't auto-nag a first-time visitor to
   install the app before they've even signed up. Install belongs in the app itself. */
html.mkt-page #pwaInstall, html.mkt-page #iosInstall { display: none !important; }

/* ============================================================================
   INTERACTIONS - varied, tasteful, non-pinned (curated from the wow library)
   ========================================================================== */
/* feature tiles: a clean lift on hover (no glow) - the box-shadow hover lives
   in the bento rules; here we just add the icon nudge */
.tile { position: relative; }
.tile-ic { transition: transform 0.45s var(--ease), color 0.35s var(--ease); }
.tile:hover .tile-ic { transform: translateY(-3px) rotate(-4deg); }

/* B56 - assistant example commands typewrite in, with a caret while typing */
.say-cmd.typing::after { content: "\258D"; color: var(--green-bright); margin-left: 1px; animation: epcaret 0.9s steps(1) infinite; }
@keyframes epcaret { 50% { opacity: 0; } }
.price-num [data-count] { font-variant-numeric: tabular-nums; }

/* footer links: underline draws in (matches the nav) */
.foot a { position: relative; }
.foot a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; opacity: 0.85; transition: transform 0.35s var(--ease); }
.foot a:hover::after { transform: scaleX(1); }

/* the install phone's highlighted row breathes so the mock feels alive */
.phone .pcard.hi { animation: eppulse 3.4s var(--ease) infinite; }
@keyframes eppulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,197,107,0); } 50% { box-shadow: 0 0 0 3px rgba(232,197,107,0.16); } }

/* reveals: one clean, consistent fade-up for everything (no blur, no randomness) */

/* ============================================================================
   BUILD 29 - ux-pattern-pack upgrades: animation timing, focus a11y,
   scroll-driven progress, Von Restorff highlight, testimonial stars.
   ========================================================================== */

/* 1 - fast tap feedback: press registers <100ms; exits faster than entrances */
.mkt .btn:active { transform: translateY(1px) scale(0.985); transition-duration: 0.06s; }
.epa-chip:active, .faq-q:active { transform: translateY(1px); transition-duration: 0.06s; }
.mobile-menu { transition-duration: 0.24s; }              /* close: ~40% faster */
.mkt-nav.open .mobile-menu { transition-duration: 0.4s; } /* open: full */

/* 2 - visible keyboard focus (WCAG). Ring flips to gold on dark surfaces. */
.mkt a:focus-visible, .mkt button:focus-visible, .mkt input:focus-visible, .mkt [tabindex]:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 7px;
}
.hero :focus-visible, .dark :focus-visible, .foot :focus-visible,
.mkt-nav.over-dark:not(.scrolled) :focus-visible { outline-color: var(--gold-bright); }

/* 3 - scroll-driven progress bar (pure-CSS scroll-timeline; invisible where unsupported) */
.scroll-prog { position: fixed; inset: 0 0 auto; height: 3px; width: 100%; z-index: 100;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  background: linear-gradient(90deg, var(--green-bright), var(--gold-bright)); }
@supports (animation-timeline: scroll()) {
  .scroll-prog { animation: scrollprog linear both; animation-timeline: scroll(root); }
}
@keyframes scrollprog { to { transform: scaleX(1); } }

/* 4 - Von Restorff: a highlighter swipe isolates the one thing (the price). */
.hl { background-image: linear-gradient(180deg, transparent 10%, rgba(52,200,138,0.30) 10%, rgba(52,200,138,0.30) 90%, transparent 90%);
  padding: 0 0.14em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .hl, .dark .hl { background-image: linear-gradient(180deg, transparent 10%, rgba(232,197,107,0.34) 10%, rgba(232,197,107,0.34) 90%, transparent 90%); color: #fff; }

/* 6 - testimonial star rating (gold, on the light proof band) */
.proof-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.14em; margin-bottom: 0.35rem; line-height: 1; }

/* ============================================================================
   BUILD 30 - impeccable audit fixes (footer contrast P1, chip tap targets P2).
   ========================================================================== */
/* P1 - footer links computed dark-green on the dark footer (1.92:1) because
   .mkt a:not(.btn) (0,2,1) out-specified .foot a (0,1,1). Restore light colors. */
.mkt .foot a { color: var(--on-green); }
.mkt .foot a:hover { color: var(--gold-bright); }
.mkt .foot-base a { color: var(--on-green-2); }
.mkt .foot-base a:hover { color: var(--gold-bright); }

/* P2 - demo chips were 26px tall on mobile; give them a comfortable ~40px target */
.epa-chip { min-height: 40px; display: inline-flex; align-items: center; }

/* "Try it live" - a clean, confident little button (with a pulsing live dot) into the seeded app */
.epa-try { margin-left: auto; display: inline-flex; align-items: center; gap: 0.44rem; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; line-height: 1; color: #F1FBF5; background: rgba(241,251,245,0.09); border: 1px solid rgba(241,251,245,0.17); border-radius: var(--pill); padding: 0.5rem 0.82rem; min-height: 40px; cursor: pointer; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.1s var(--ease); }
.epa-try::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(52,200,138,0.55); animation: epaLive 2.4s var(--ease) infinite; }
@keyframes epaLive { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,200,138,0.55); } 55% { box-shadow: 0 0 0 5px rgba(52,200,138,0); } }
.epa-try:hover { background: rgba(241,251,245,0.16); border-color: rgba(241,251,245,0.32); }
.epa-try:active { transform: scale(0.96); }
.epa-try[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---- Lenis smooth scroll (the premium glide; same engine as the WAP site) -- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================================
   BUILD 31 - "shown, not told" product frames (blueprint 3.3 + 3.4; wow A01/A77).
   A faithful LIGHT render of the real EasyPath app - warm paper, forest rail, the
   real KPI cards + severity action-queue - inside a browser frame, floated on the
   dark band (the premium "light product on a dark page"). Everything scoped under
   .epx so it can't collide. Queue + ledger rows stagger in via [data-reveal].
   ========================================================================== */
.epx {
  --a-paper: #F4F1EA;  --a-surface: #FCFBF7; --a-forest: #153F31; --a-brand: #1F6B54;
  --a-honey: #B07A1E;  --a-clay: #A6462F;    --a-ink: #1C2621;    --a-mut: #5C6B62;
  --a-line: #E7E4DA;
  font-family: var(--font-body);
}

/* --- two-column "tell" shell: editorial list beside a sticky product frame --- */
.tell { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(1.8rem, 4.5vw, 3.8rem); align-items: center; }
.tell-rev { grid-template-columns: 1.14fr 0.86fr; }
.tell-copy { display: flex; flex-direction: column; }   /* heading + numbered list share the left column */
.tell-frame { position: static; }

.tell-list { display: flex; flex-direction: column; gap: clamp(1.2rem, 2.2vw, 1.7rem); margin: 0; padding: 0; counter-reset: none; }
.tell-item { display: grid; grid-template-columns: 1.6em 1fr; gap: 0.9rem; align-items: start; }
.tell-num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.7rem; line-height: 0.9; color: var(--green); font-variant-numeric: lining-nums; }
.dark .tell-num { color: var(--gold-bright); }
.tell-item h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.tell-item p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; }
.dark .tell-item h3 { color: var(--on-green); }
.dark .tell-item p { color: var(--on-green-2); }

/* the money side: honest notes + the privacy guarantee chip */
.tell-notes { display: flex; flex-direction: column; gap: clamp(1.2rem, 2.4vw, 1.6rem); }
.tell-note h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.tell-note p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.tell-guard { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--green-deep); background: rgba(14,122,84,0.08); border: 1px solid rgba(14,122,84,0.14); border-radius: 12px; padding: 0.72rem 0.95rem; }
.tell-guard svg { width: 1em; height: 1em; color: var(--green); flex: none; }

/* --- the browser frame + faithful light app render --- */
.epx-frame { position: relative; border-radius: 15px; overflow: hidden; background: var(--a-paper);
  border: 1px solid rgba(6,20,14,0.10);
  box-shadow: 0 36px 78px -34px rgba(4,15,11,0.62), 0 10px 26px -14px rgba(4,15,11,0.40); }
.epx-bar { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.8rem; background: #EAE7DD; border-bottom: 1px solid rgba(6,20,14,0.07); }
.epx-dots { display: inline-flex; gap: 0.34rem; flex: none; }
.epx-dots i { width: 9px; height: 9px; border-radius: 50%; background: #C8C4B4; }
.epx-dots i:nth-child(1) { background: #E4A79B; } .epx-dots i:nth-child(2) { background: #E8CE9A; } .epx-dots i:nth-child(3) { background: #A9CBB0; }
.epx-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; max-width: 280px; margin-inline: auto; font-size: 0.71rem; color: #7A8078; background: #F4F2EA; border-radius: 7px; padding: 0.32rem 0.7rem; }
.epx-url svg { width: 12px; height: 12px; opacity: 0.55; }

.epx-app { display: grid; grid-template-columns: 52px 1fr; min-height: 336px; }
.epx-rail { background: var(--a-forest); display: flex; flex-direction: column; align-items: center; gap: 0.55rem; padding: 0.75rem 0; }
.epx-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--a-brand); color: #EAF5EE; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; }
.epx-rn { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.epx-rn.on { background: rgba(255,255,255,0.18); }
.epx-main { padding: 1.05rem 1.15rem 1.25rem; min-width: 0; }
.epx-greet { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.epx .epx-eyebrow { font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--a-mut); margin-bottom: 0.22rem; }
.epx .epx-h { font-family: var(--font-serif); font-style: normal; font-weight: 400; font-size: 1.4rem; line-height: 1; letter-spacing: -0.01em; color: var(--a-forest); }
.epx-verdict { flex: none; display: inline-flex; align-items: center; gap: 0.42rem; font-size: 0.7rem; font-weight: 600; color: #7C4A12; background: rgba(176,122,30,0.13); border: 1px solid rgba(176,122,30,0.28); border-radius: 999px; padding: 0.3rem 0.62rem; white-space: nowrap; }
.epx-verdict i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-honey); box-shadow: 0 0 0 0 rgba(176,122,30,0.5); animation: epxPulse 2.6s var(--ease) infinite; }
@keyframes epxPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(176,122,30,0.5); } 55% { box-shadow: 0 0 0 5px rgba(176,122,30,0); } }
.epx-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.9rem; }
.epx-kpi { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 12px; padding: 0.7rem 0.8rem; }
.epx-kpi .kl { font-size: 0.61rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--a-mut); }
.epx-kpi .kv { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; margin-top: 0.12rem; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.epx-kpi .kv small { font-size: 0.58em; color: var(--a-mut); }
.epx-fill { height: 4px; border-radius: 3px; background: var(--a-line); margin-top: 0.5rem; overflow: hidden; }
.epx-fill i { display: block; height: 100%; border-radius: 3px; background: var(--a-brand); }
.epx .epx-sec { font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a-mut); font-weight: 600; margin: 1.05rem 0 0.5rem; }
.epx-queue { display: flex; flex-direction: column; gap: 0.42rem; }
.epx-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 0.6rem; background: var(--a-surface); border: 1px solid var(--a-line); border-left: 3px solid var(--a-line); border-radius: 10px; padding: 0.55rem 0.68rem; }
.epx-row.sev-amber { border-left-color: var(--a-honey); }
.epx-row.sev-clay { border-left-color: var(--a-clay); }
.epx-row.sev-brand { border-left-color: var(--a-brand); }
.epx-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(21,63,49,0.07); color: var(--a-forest); flex: none; }
.epx-ic svg { width: 14px; height: 14px; }
.epx-b { min-width: 0; }
.epx-b b { display: block; font-size: 0.82rem; font-weight: 600; line-height: 1.25; color: var(--a-ink); }
.epx-b span { font-size: 0.71rem; color: var(--a-mut); }
.epx-act { flex: none; font-size: 0.71rem; font-weight: 600; color: var(--a-brand); background: rgba(31,107,84,0.09); border-radius: 999px; padding: 0.32rem 0.66rem; }

/* --- money: a real billing screen (the "This month" ledger) --- */
.epx-ledger { background: var(--a-paper); border: 1px solid rgba(6,20,14,0.10); border-radius: 15px; overflow: hidden;
  box-shadow: 0 32px 70px -34px rgba(4,15,11,0.42), 0 8px 22px -14px rgba(4,15,11,0.28); }
.epx-ledger-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.05rem; background: var(--a-forest); color: #EAF5EE; }
.epx-ledger-top b { font-family: var(--font-serif); font-weight: 400; font-size: 1.18rem; }
.epx-ledger-top span { font-size: 0.72rem; color: rgba(234,245,238,0.72); }
.epx-lrow { display: grid; grid-template-columns: 1fr auto 5.4rem; align-items: center; gap: 0.8rem; padding: 0.72rem 1.05rem; border-bottom: 1px solid var(--a-line); }
.epx-lname { display: flex; flex-direction: column; min-width: 0; }
.epx-lname b { font-size: 0.86rem; font-weight: 600; color: var(--a-ink); }
.epx-payer { font-size: 0.66rem; letter-spacing: 0.02em; color: var(--a-mut); }
.epx-lamt { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.9rem; color: var(--a-ink); text-align: right; }
.epx-lstat { justify-self: end; font-size: 0.67rem; font-weight: 600; border-radius: 999px; padding: 0.26rem 0.55rem; white-space: nowrap; }
.epx-lstat.paid { color: var(--a-brand); background: rgba(31,107,84,0.11); }
.epx-lstat.late { color: #8A3418; background: rgba(166,70,47,0.14); }
.epx-lstat.cov { color: var(--a-mut); background: rgba(21,63,49,0.06); }
.epx-ltot { display: flex; align-items: center; justify-content: space-between; padding: 0.82rem 1.05rem; background: var(--a-surface); }
.epx-ltot .t { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-mut); }
.epx-ltot .v { font-family: var(--font-serif); font-size: 1.25rem; color: var(--a-ink); font-variant-numeric: tabular-nums; }

/* --- responsive: collapse to one column; product frame leads on mobile --- */
@media (max-width: 940px) {
  .tell, .tell-rev { grid-template-columns: 1fr; gap: 2rem; }
  /* shorter-day: heading -> product frame -> numbered list */
  .tell:not(.tell-rev) .tell-copy { display: contents; }
  .tell:not(.tell-rev) .head { order: 0; margin-bottom: 0; }
  .tell:not(.tell-rev) .tell-frame { order: 1; }
  .tell:not(.tell-rev) .tell-list { order: 2; }
  .epx-app { min-height: 0; }
}
@media (max-width: 420px) {
  .epx-app { grid-template-columns: 44px 1fr; }
  .epx-main { padding: 0.9rem 0.9rem 1rem; }
  .epx .epx-h { font-size: 1.2rem; }
  .epx-verdict { font-size: 0.64rem; padding: 0.26rem 0.5rem; }
  .epx-lrow { grid-template-columns: 1fr auto; row-gap: 0.3rem; }
  .epx-lstat { grid-column: 2; }
}

/* Motion is ALWAYS ON for everyone - we do NOT honor prefers-reduced-motion, no toggle
   (Josh's standing house rule). An earlier reduced-motion fallback here was killing the
   fades + glide on machines that have the OS "reduce motion" setting on, so it's removed. */

/* ============================================================================
   BUILD 32 - premium audit wave: real phone screen (kills the fake grey bars),
   product-frame KPI reveal, authority-first testimonial, cinematic interior headers.
   ========================================================================== */

/* --- a real EasyPath screen inside the install-section phone --- */
.epx-phone { justify-self: center; width: min(272px, 80%); aspect-ratio: 9 / 18.6; border-radius: 42px;
  background: #08130d; border: 9px solid #050d08; box-shadow: var(--sh-3); padding: 9px; overflow: hidden; }
.epx-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--a-paper); display: flex; flex-direction: column; }
.epx-phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38%; height: 19px; background: #050d08; border-radius: 0 0 13px 13px; z-index: 2; }
.epx-phone-body { flex: 1; padding: 30px 12px 10px; display: flex; flex-direction: column; gap: 0.4rem; min-height: 0; }
.epx-phone-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.35rem; }
.epx-phone .epx-h { font-size: 1.14rem; }
.epx-phone .epx-eyebrow { margin-bottom: 0.12rem; }
.epx-phone .epx-verdict { font-size: 0.58rem; padding: 0.22rem 0.48rem; }
.epx-phone .epx-row { padding: 0.5rem 0.58rem; grid-template-columns: 24px 1fr; }
.epx-phone .epx-ic { width: 24px; height: 24px; }
.epx-phone .epx-ic svg { width: 12px; height: 12px; }
.epx-phone .epx-b b { font-size: 0.75rem; }
.epx-phone .epx-b span { font-size: 0.64rem; }
.epx-phone-tabs { display: flex; align-items: flex-start; padding: 0.5rem 0.15rem 0.55rem; border-top: 1px solid var(--a-line); background: var(--a-surface); }
.epx-phone-tabs span { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9aa79f; }
.epx-phone-tabs span em { font-style: normal; font-size: 0.5rem; letter-spacing: 0.005em; white-space: nowrap; }
.epx-phone-tabs span.on { color: var(--a-brand); }
/* faithful dashboard content: as-of line + the money-at-risk / occupancy KPI pair */
.epx-asof { display: block; font-size: 0.56rem; color: var(--a-mut); margin-top: 3px; }
.epx-pkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.42rem; margin: 0.15rem 0; }
.epx-pkpi { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 9px; padding: 0.5rem 0.55rem; }
.epx-pkpi .pl { display: flex; align-items: center; gap: 0.26rem; font-size: 0.52rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--a-mut); }
.epx-pkpi .pl .ic svg { width: 11px; height: 11px; }
.epx-pkpi .pv { font-family: var(--font-serif); font-size: 1.14rem; line-height: 1.05; margin-top: 3px; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.epx-pkpi .pv small { font-size: 0.6em; color: var(--a-mut); }
.epx-phone .epx-sec { margin: 0.55rem 0 0.15rem; }
.epx-phone .epx-row { grid-template-columns: 24px 1fr auto; }
.epx-phone .epx-act { font-size: 0.6rem; padding: 0.22rem 0.46rem; }

/* --- product-frame KPI bars fill from 0 when the frame scrolls in (authored reveal) --- */
.epx-fill i { width: var(--fillw, 0); }
.js .tell-frame .epx-fill i { width: 0; transition: width 1.15s var(--ease) 0.25s; }
.js .tell-frame.is-in .epx-fill i { width: var(--fillw, 0); }
html.reveal-all .epx-fill i { width: var(--fillw, 0) !important; transition: none !important; }

/* --- testimonial: authority-first, with an initial medallion --- */
.proof-quote { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1.2rem; align-items: center; }
.proof-med { grid-column: 1; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(165deg, var(--green), var(--green-900)); color: var(--on-green); font-family: var(--font-serif); font-size: 1.7rem; line-height: 1;
  box-shadow: var(--sh-1); border: 1px solid rgba(241,251,245,0.16); }
.proof-attrib { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
.proof-attrib b { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.proof-attrib span { font-size: 0.9rem; color: var(--ink-2); }
.proof-quote .proof-stars { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
.proof-quote blockquote { grid-column: 1 / -1; grid-row: 3; margin-top: 0.9rem; }
@media (max-width: 560px) { .proof-quote { grid-template-columns: 1fr; } .proof-med { grid-row: auto; } .proof-attrib, .proof-quote .proof-stars { grid-column: 1; grid-row: auto; } }

/* --- cinematic interior-page headers (Features/Pricing/FAQ/About/Contact) --- */
.phead.phead-dark { background: linear-gradient(168deg, #0A1613, #050F0B); position: relative; overflow: hidden;
  padding-bottom: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 0; }
.phead-dark h1, .phead-dark .h1 { color: #fff; }
.phead-dark .h1 .g { color: var(--gold-bright); }
.phead-dark p { color: var(--on-green-2); }
.phead-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(48% 62% at 80% 6%, rgba(52,200,138,0.11), transparent 72%); }
.phead-dark > * { position: relative; z-index: 1; }
/* the section right after a dark header shouldn't fight it with its own top pad */
.phead-dark + .sec { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* --- pricing "one price, every house" frame: 3 houses, one $49 bill --- */
.epx-houses { background: var(--a-paper); border: 1px solid rgba(6,20,14,0.10); border-radius: 15px; overflow: hidden;
  box-shadow: 0 32px 70px -34px rgba(4,15,11,0.42), 0 8px 22px -14px rgba(4,15,11,0.28); }
.epx-houses-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.05rem; background: var(--a-forest); color: #EAF5EE; }
.epx-houses-top b { font-family: var(--font-serif); font-weight: 400; font-size: 1.18rem; }
.epx-houses-top span { font-size: 0.72rem; color: rgba(234,245,238,0.72); }
.epx-hrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem; padding: 0.72rem 1.05rem; border-bottom: 1px solid var(--a-line); }
.epx-hrow .hi { width: 30px; height: 30px; border-radius: 8px; background: rgba(21,63,49,0.08); color: var(--a-forest); display: grid; place-items: center; }
.epx-hrow .hi svg { width: 15px; height: 15px; }
.epx-hname b { display: block; font-size: 0.88rem; color: var(--a-ink); font-weight: 600; }
.epx-hname span { font-size: 0.72rem; color: var(--a-mut); }
.epx-hincl { justify-self: end; font-size: 0.68rem; font-weight: 600; color: var(--a-brand); background: rgba(31,107,84,0.1); border-radius: 999px; padding: 0.26rem 0.6rem; white-space: nowrap; }
.epx-hincl.full { color: #8A5A12; background: rgba(176,122,30,0.15); }
/* a live "today" activity strip under the houses, so the frame shows the whole day
   flowing through the board (check-ins, tests, chores, passes) - not just beds. */
.epx-feed { border-top: 1px solid var(--a-line); padding: 0.62rem 1.05rem 0.4rem; }
.epx-feed-lbl { font-size: 0.57rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a-mut); margin-bottom: 0.38rem; }
.epx-fitem { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--a-ink); padding: 0.19rem 0; }
.epx-fitem .fd { width: 6px; height: 6px; border-radius: 50%; background: var(--a-mut); flex: none; }
.epx-fitem .fd.sev-brand { background: var(--a-brand); }
.epx-fitem .fd.sev-amber { background: var(--a-honey); }
.epx-htot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.05rem; background: var(--a-surface); }
.epx-htot .t { font-size: 0.78rem; color: var(--a-mut); } .epx-htot .t b { color: var(--a-ink); font-weight: 700; }
.epx-htot .v { font-family: var(--font-serif); font-size: 1.5rem; color: var(--a-brand); font-variant-numeric: tabular-nums; }

/* --- FAQ grouped into labeled clusters + a lit open-state --- */
.faq-group { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--green-deep); letter-spacing: 0.01em; margin: 2.6rem 0 0.5rem; }
.faq-group:first-child { margin-top: 0; }
.faq-item.open .faq-q { color: var(--green-deep); }

/* --- Contact: a real mail affordance + a warm response promise --- */
.mail-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; padding: 0.72rem 1.05rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--hair-2); box-shadow: var(--sh-1); font-family: var(--font-mono); font-size: 0.95rem; color: var(--green-deep); font-weight: 500; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.1s var(--ease); }
.mail-pill svg { width: 1em; height: 1em; color: var(--green); flex: none; }
.mail-pill:hover { border-color: var(--green); box-shadow: var(--sh-2); }
.mail-pill:active { transform: translateY(1px); }

/* ============================================================================
   BUILD 33 - council fixes: (1) a quiet free-month line at the price (risk-removal,
   not a discount); (2) the assistant shown DOING the work - a static say->confirm->done
   exchange reusing the hero's .epa card, replacing the monospace command LIST.
   ========================================================================== */
.price-free { margin-top: 0.75rem; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; color: var(--green-deep); }

/* the exchange reuses the hero .epa card classes wholesale, so it's the SAME assistant,
   frozen - a spoken command (mono) -> confirm card -> plain-language result. */
.epx-exchange { align-self: start; }
.epx-exchange .epa-thread.epx-static { height: auto; overflow: visible; padding-bottom: 0.85rem; }
.epx-exchange-more { margin: 0; padding: 0.85rem 1.1rem 1rem; border-top: 1px solid var(--hair-dark); font-size: 0.8rem; line-height: 1.5; color: var(--on-green-2); }

/* --- contact: call/text pill + the ask-a-question form --- */
.contact-methods { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.cform { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.8rem; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.cform input, .cform textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--hair-2); border-radius: 12px; padding: 0.8rem 1rem; outline: none; transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.cform input::placeholder, .cform textarea::placeholder { color: var(--ink-3); }
.cform input:focus, .cform textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,122,84,0.13); }
.cform textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.cform .btn { align-self: flex-start; margin-top: 0.1rem; }
.cform-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cform-status { min-height: 1.2em; font-size: 0.92rem; }
.cform-status.ok { color: var(--green-deep); font-weight: 600; }
.cform-status.err { color: #A6462F; }
@media (max-width: 560px) { .cform-row { grid-template-columns: 1fr; } }
