/* ============================================================
   HOMEPAGE (Oct 2026 rebuild) — loaded by index.html only.
   Everything here is prefixed hm- (or scoped to .scr / .dd inside
   the hero mock) so it can't touch the shared styles.css pages.
   Layout values come from Figma file sGNiZlCI1A5mJOl24e1rxO.
   ============================================================ */

.hm-wrap { max-width: 1264px; margin: 0 auto; padding: 0 32px; position: relative; }

/* A/B hero copy: the head script sets html[data-hv] before first paint */
html:not([data-hv="b"]) .v-b, html[data-hv="b"] .v-a { display: none; }

/* ============ HERO ============ */
.hm-hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--cream); padding: calc(var(--hm-nav-h) + 66px) 0 calc(72px + var(--hm-curtain)); isolation: isolate; }
/* the hero runs up behind the sticky, translucent nav (73px incl. border), so its glow and dots show through
   the nav at the very top instead of only after scrolling */
.hm-hero { --hm-nav-h: 73px; margin-top: calc(var(--hm-nav-h) * -1); }
/* curtain: the cream page overlaps the hero's bottom edge by --hm-curtain with rounded corners; home.js adds
   the scroll parallax (hero layers lag and fade as the page slides over them) */
:root { --hm-curtain: 28px; }
@media (max-width: 1023px) { :root { --hm-curtain: 24px; } }
@media (max-width: 560px) { :root { --hm-curtain: 20px; } }
@media (max-width: 520px) { .hm-hero { --hm-nav-h: 65px; } }
/* the hero fills the window (plus the curtain overlap), so the cream page only appears once you scroll;
   in a tall window the content centres in the extra space. Taller content just grows the hero. */
.hm-hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh + var(--hm-curtain)); min-height: calc(100svh + var(--hm-curtain)); }
.hm-hero > .hm-wrap { width: 100%; }   /* styles.css drops the nav to 64px + border here */
/* inset covers the idle drift (8px) plus the cursor follow (up to 12px, set on `translate` by home.js) */
/* curtain depth: the navy darkens toward the cream edge (a shadow on the cream section itself spilled a
   faint band below it) */
.hm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--hm-curtain) + 56px); background: linear-gradient(to bottom, rgba(11,22,45,0), rgba(11,22,45,.5)); pointer-events: none; z-index: 3; }
.hm-dots { position: absolute; inset: -32px; z-index: -1; translate: var(--hm-cx, 0px) calc(var(--hm-cy, 0px) + var(--hm-py, 0px)); background: url(assets/home/hero/dots-tile.svg) 0 0 / 24px 24px repeat; pointer-events: none; }
.hm-hero-grid { position: relative; min-height: 534px; }
.hm-copy-col { position: relative; z-index: 2; max-width: 556px; }

/* audience toggle */
.hm-aud-row { display: flex; align-items: center; gap: 12px; }
.hm-aud { position: relative; display: inline-flex; flex: none; height: 44px; padding: 3px; border-radius: 999px; background: rgba(197,214,242,.08); border: 1px solid rgba(197,214,242,.2); }
.hm-aud-pill { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--cream); box-shadow: 0 3px 8px rgba(15,30,61,.22); transition: transform .4s cubic-bezier(.65,0,.35,1); }
.hm-hero[data-aud="advisors"] .hm-aud-pill { transform: translateX(100%); }
.hm-aud-btn { position: relative; z-index: 1; width: 184px; height: 36px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--ice); transition: color .3s ease; }
.hm-aud-btn svg { width: 17px; height: 17px; flex: none; color: var(--ice); transition: color .3s ease; }
.hm-aud-btn[aria-pressed="true"] { color: var(--midnight); }
.hm-aud-btn[aria-pressed="true"] svg { color: var(--coral); }
.hm-aud-btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* rotating headline + lead: both audiences share one grid cell, so the block keeps the taller one's height.
   Switch: outgoing copy lifts and softens out (0.4s); incoming headline then lead rise out of a soft blur
   with a gentle overshoot (0.55s, lead 90ms behind). */
.hm-rot { display: grid; }
.hm-rot-item { grid-area: 1 / 1; }
.hm-rot-item[aria-hidden="true"] { visibility: hidden; }
.hm-rot-item.is-pending .hm-h1, .hm-rot-item.is-pending .hm-lead { opacity: 0; }
.hm-rot-item.is-out { visibility: visible; animation: hmOut .4s ease-in-out both; }
.hm-rot-item.is-in .hm-h1 { animation: hmIn .55s cubic-bezier(.34,1.4,.64,1) both; }
.hm-rot-item.is-in .hm-lead { animation: hmIn .55s cubic-bezier(.34,1.4,.64,1) .09s both; }
@keyframes hmOut { to { opacity: 0; transform: translateY(-12px); filter: blur(6px); } }
@keyframes hmIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hm-h1 { margin: 28px 0 0; font-family: var(--serif); font-weight: 600; font-size: 66px; line-height: .98; letter-spacing: -.032em; color: var(--cream); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hm-h1 em { font-style: italic; color: var(--coral); }
/* Figma's headline box is 556px wide at 66px type (8.42em). Keeping that ratio at every size makes each
   rotating headline wrap to 3 lines, as in Figma. The rotation stacks the founder and advisor copy in one
   space, so a 2-line headline beside a 3-line one would leave a gap above the lead. */
.hm-h1 { max-width: 8.5em; }
.hm-lead { margin: 31px 0 0; max-width: 520px; font-size: 21px; line-height: 1.55; letter-spacing: -.008em; color: var(--ice); }

/* CTAs */
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; min-height: 48px; margin-top: 38px; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: -.01em; cursor: pointer; transition: all .18s ease; }
.hm-btn svg { width: 16px; height: 16px; flex: none; }
/* same hover as the site's .btn-accent: darken, lift 1px, coral glow, arrow nudges right */
.hm-btn .arr, .hm-btn-coral svg { transition: transform .18s ease; }
.hm-btn:hover .arr, .hm-btn-coral:hover svg { transform: translateX(3px); }
.hm-btn[hidden] { display: none !important; }
.hm-btn-coral { width: 160px; height: 46px; padding: 0 20px; background: var(--coral); color: #fff; border: 0; }
.hm-btn-coral:hover { background: var(--coral-press); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,107,92,.34); }
.hm-btn-outline { height: 48px; padding: 0 28px; background: transparent; color: var(--cream); border: 1px solid rgba(255,255,255,.28); }
.hm-btn-outline:hover { background: rgba(197,214,242,.10); border-color: rgba(197,214,242,.5); }   /* same as the final band's Contact us */
.hm-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.hm-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; font-size: 13px; color: rgba(197,214,242,.92); }
.hm-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hm-trust svg { width: 15px; height: 15px; flex: none; }
.hm-trust i { width: 1px; height: 14px; background: rgba(197,214,242,.28); }

/* ============ HERO PRODUCT MOCK ============
   .hm-mock is the app window's footprint; .hm-stage is the 812x510.4 Figma
   hero mock (window at 78.58,58.94), scaled by --k (set by home.js). */
.hm-mock { position: absolute; left: 624.6px; top: 65.94px; width: min(654.84px, calc(100% - 609.6px)); aspect-ratio: 654.84 / 392.9; z-index: 1; }
.hm-stage { position: absolute; left: 0; top: 0; width: 812px; height: 510.4px; transform-origin: 0 0; transform: scale(var(--k, 1)) translate(-78.58px, -58.94px); pointer-events: none; }
.hm-deco { position: absolute; display: block; max-width: none; }
.hm-pop { position: absolute; inset: 0; transform-origin: 406px 255.4px; }
.hm-window { position: absolute; left: 78.58px; top: 58.94px; width: 654.84px; height: 392.9px; border-radius: 7.226px; overflow: hidden; background: #fcfcfb; box-shadow: 0 19.645px 45.839px rgba(0,0,0,.28); isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.hm-cam { position: absolute; left: 0; top: 0; width: 1200px; height: 760px; transform-origin: 0 0; transform: scale(.5457); opacity: 0; transition: opacity .35s ease; }
.hm-cam.is-ready { opacity: 1; }
.hm-cam.no-fade .scr { transition: none; }
.hm-cursor { position: absolute; left: 0; top: 0; width: 66.555px; height: 74.53px; opacity: 0; }
.hm-cursor.is-ready { opacity: 1; }
.hm-cursor img { display: block; width: 100%; height: 100%; transform-origin: 24.215px 21.315px; transition: transform .12s ease; }
.hm-cursor.is-press img { transform: scale(.82); }

/* product screens (generated into assets/home/screens.html) */
.hm-cam .ic-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.scr { position: absolute; inset: 0; background: #fcfcfb; opacity: 0; transition: opacity .45s ease; font-family: "Geist", system-ui, sans-serif; }
.scr.on { opacity: 1; }
.scr i, .scr p, .scr svg { position: absolute; margin: 0; }
.scr i { display: block; box-sizing: border-box; }
.scr .t { display: flex; flex-direction: column; justify-content: center; white-space: nowrap; }
.scr .t.wr { white-space: normal; }
.scr .t:has(> .caret) { flex-direction: row; align-items: center; justify-content: flex-start; }   /* typed text + caret sit side by side, centred in the field */
.scr .m { font-family: "Geist Mono", ui-monospace, monospace; }
.scr .w4 { font-weight: 400; } .scr .w5 { font-weight: 500; } .scr .w6 { font-weight: 600; }
.scr .ar { text-align: right; } .scr .ac { text-align: center; }
.scr .ic { overflow: visible; }
.scr .caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 1px; vertical-align: -3px; background: #171719; animation: hmBlink 1s steps(1) infinite; }
@keyframes hmBlink { 50% { opacity: 0; } }
.dd { position: absolute; top: 102px; width: 190px; padding: 6px; background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.08); font-family: "Geist", system-ui, sans-serif; opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: 0 0; transition: opacity .16s ease, transform .16s ease; }
.dd.on { opacity: 1; transform: none; }
.dd-i { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; color: #71717a; white-space: nowrap; }
.dd-i.on { background: #f4f4f5; color: #18181b; }
.dd-ic { width: 16px; height: 16px; flex: none; overflow: visible; }

/* slow drift on the hero's glows, rings and dots (amplitudes from Figma) */
.hm-drift { animation: hmDrift var(--t, 16s) ease-in-out var(--d, 0s) infinite; }
@keyframes hmDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  25% { transform: translate3d(var(--dx), calc(var(--dy) * -.6), 0) scale(var(--s, 1.1)); opacity: .88; }
  50% { transform: translate3d(calc(var(--dx) * .2), calc(var(--dy) * -1), 0) scale(1); opacity: .78; }
  75% { transform: translate3d(calc(var(--dx) * -1), calc(var(--dy) * -.4), 0) scale(calc(2 - var(--s, 1.1))); opacity: .9; }
}
.hm-hero.is-paused .hm-drift, .hm-hero.is-paused .caret { animation-play-state: paused; }

/* ============ HERO RESPONSIVE ============ */
@media (max-width: 1180px) {
  .hm-h1 { font-size: 58px; }
  .hm-lead { font-size: 19px; }
  .hm-mock { left: 572px; width: min(654.84px, calc(100% - 564px)); }
}
@media (max-width: 1023px) {
  .hm-hero { padding: calc(var(--hm-nav-h) + 40px) 0 calc(56px + var(--hm-curtain)); }
  .hm-hero-grid { min-height: 0; }
  .hm-copy-col { max-width: 640px; }
  .hm-h1 { font-size: clamp(40px, 7vw, 60px); }
  .hm-mock { position: relative; left: auto; top: auto; width: 100%; max-width: 654.84px; margin: 64px auto 0; }
}
@media (max-width: 560px) {
  .hm-hero { padding: calc(var(--hm-nav-h) + 28px) 0 calc(44px + var(--hm-curtain)); }
  .hm-wrap { padding: 0 20px; }
  .hm-aud-row { gap: 8px; }
  .hm-aud { flex: 1; max-width: 376px; height: 52px; }
  .hm-aud-btn { flex: 1; width: auto; height: 44px; font-size: 11.5px; gap: 6px; }
  .hm-aud-btn svg { width: 15px; height: 15px; }
  .hm-trust { flex-direction: column; align-items: flex-start; }
  .hm-trust i { display: none; }
  .hm-h1 { margin-top: 22px; font-size: min(48px, calc((100vw - 40px) / 8.75)); max-width: 8.75em; }   /* fills the column; text renders a touch wider at small sizes */
  .hm-lead { margin-top: 22px; font-size: 18px; }
  .hm-cta { margin-top: 26px; }
  .hm-mock { margin-top: 48px; }
}

/* ============ "WHY WE BUILT THIS" LIGHTBOX ============ */
.hm-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .25s ease; }
.hm-lb[hidden] { display: none; }
.hm-lb.is-open { opacity: 1; }
.hm-lb-backdrop { position: absolute; inset: 0; background: rgba(11,22,45,.72); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); cursor: pointer; }
.hm-lb-card { position: relative; width: min(340px, 100%, calc((100dvh - 150px) * 9 / 16)); border-radius: 16px; overflow: hidden; background: #0b162d; box-shadow: 0 19.4px 48.6px rgba(0,0,0,.45); transform: translateY(12px) scale(.97); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.hm-lb.is-open .hm-lb-card { transform: none; }
.hm-lb-media { position: relative; aspect-ratio: 9 / 16; background: #0b162d; }
.hm-lb-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-lb-close { position: absolute; top: 13px; right: 13px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; opacity: .92; cursor: pointer; }
.hm-lb-close svg { width: 13px; height: 13px; }
.hm-lb-close:hover { opacity: 1; }
.hm-lb-close:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.hm-lb-caption { padding: 14px 22.7px 16px; }
.hm-lb-caption h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 17.8px; line-height: 22.7px; color: #fff; font-variation-settings: "SOFT" 0, "WONK" 1; }
.hm-lb-caption p { margin: 6px 0 0; font-size: 10.5px; line-height: 1.4; color: #c7ceda; }
.hm-lb-caption strong { font-size: 11.3px; font-weight: 600; color: #fff; }
.hm-lb-dur { font-family: var(--mono); font-weight: 500; }
html.hm-lb-lock { overflow: hidden; }

/* ============ FLOATING VIDEO CHIP ============ */
.hm-chip { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 150px; height: 267px; border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.35); transform: translateY(calc(100% + 48px)); opacity: 0; transition: transform .6s cubic-bezier(.34,1.45,.64,1), opacity .3s ease; }
.hm-chip[hidden] { display: none; }
.hm-chip.is-up { transform: none; opacity: 1; }
.hm-chip-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #0b162d; cursor: pointer; text-align: left; }
.hm-chip-open video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-chip-open:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.hm-chip-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, rgba(11,22,45,0), rgba(11,22,45,.85)); pointer-events: none; }
.hm-chip-cap { position: absolute; left: 12px; bottom: 14px; display: flex; flex-direction: column; gap: 1px; color: #fff; pointer-events: none; }
.hm-chip-cap .k { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.hm-chip-cap .t { font-size: 12px; font-weight: 600; }
.hm-chip-sound, .hm-chip-close { position: absolute; top: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); background: rgba(11,22,45,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; cursor: pointer; }
.hm-chip-sound { left: 12px; gap: 6px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 600; }
.hm-chip-sound svg { width: 14px; height: 14px; }
.hm-chip-sound .i-sound, .hm-chip-sound[aria-pressed="true"] .i-muted { display: none; }
.hm-chip-sound[aria-pressed="true"] .i-sound { display: block; }
.hm-chip-close { right: 12px; top: 13px; width: 26px; height: 26px; padding: 0; border-radius: 50%; }
.hm-chip-close svg { width: 12px; height: 12px; }
.hm-chip-sound:focus-visible, .hm-chip-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) { .hm-chip { bottom: 92px; } }   /* clear the mobile sticky Start free bar */
@media (max-width: 639px) { .hm-chip { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .hm-chip, .hm-lb, .hm-lb-card { transition: none; }
}

/* ============ LOGO HOVER: nav + footer (homepage only) ============
   home.js swaps the masked mark for nine real squares (same 16/8 grid on a 64 unit box). On hover: a
   diagonal ripple through the squares (each pinches, flashes coral, springs back) and the coral corner hops.
   The wordmark stays still. */
.brand.hm-logo .mono-circle::before, .brand.hm-logo .mono-circle::after { display: none; }
.hm-logo-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 25%); grid-template-rows: repeat(3, 25%); gap: 12.5%; }
.hm-logo-grid i { display: block; background: var(--hm-cell, var(--cream)); }
footer .brand.hm-logo { --hm-cell: var(--ink); }   /* footer logo is ink on cream */
.hm-logo-grid i.is-coral { background: var(--coral); }
.brand.hm-logo:hover .hm-logo-grid i,
.brand.hm-logo:focus-visible .hm-logo-grid i { animation: hmSq .62s cubic-bezier(.34,1.56,.64,1) var(--d) both; }
.brand.hm-logo:hover .hm-logo-grid i.is-coral,
.brand.hm-logo:focus-visible .hm-logo-grid i.is-coral { animation: hmSqHop .7s cubic-bezier(.34,1.56,.64,1) var(--d) both; }
@keyframes hmSq {
  0% { transform: none; }
  35% { transform: scale(.45) rotate(45deg); background: var(--coral); }
  70% { transform: scale(1.12) rotate(90deg); }
  100% { transform: rotate(90deg); }
}
@keyframes hmSqHop {
  0% { transform: none; }
  35% { transform: translateY(-5px) scale(1.15); }
  60% { transform: translateY(0) scale(1.25, .75); }
  80% { transform: scale(.92, 1.08); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand.hm-logo .hm-logo-grid i { animation: none !important; }
}

/* ============ BACKGROUND "UNIVERSE" (every content section) ============
   Soft dot patches, occasional faint ring groups, blurred coral/blue blobs and specks behind the cream sections. home.js generates a
   new random layout per section on every load (Figma's styling, not its positions) and pauses
   sections that are off-screen. Movement only: the opacities are Figma's. */
.hm-uni-host { position: relative; }
.hm-uni-host > .wrap, .hm-uni-host > .wrap-narrow, .hm-uni-host > .hm-wrap { position: relative; z-index: 1; }
/* the layer comes last in <main> at z-index 0, so it paints over the section backgrounds but under
   their content (z-index 1); its top is set to the curtain edge by home.js */
.home-page main { position: relative; }
.hm-uni { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: var(--hm-curtain) var(--hm-curtain) 0 0; }
.hm-uni i { position: absolute; display: block; border-radius: 50%; animation: hmFloat var(--t, 24s) ease-in-out var(--d, 0s) infinite; }
.hm-uni .hm-uni-grp { border-radius: 0; }
/* dot patch: same grid as the advisor card (3px dots, 20px pitch) with a radial fade so it has no edges */
.hm-uni .hm-uni-dots { border-radius: 0; background: radial-gradient(circle at 1.5px 1.5px, #0F1E3D 1.5px, transparent 1.6px) 0 0 / 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }   /* zero-size anchor at the group centre; it carries the drift */
.hm-uni-grp > b:not(.hm-uni-orbit) { position: absolute; display: block; box-sizing: border-box; border: 1.6px solid #0F1E3D; border-radius: 50%; }
/* specks live only on ring groups now (never over a dot patch), each set circling the centre slowly */
.hm-uni-orbit { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: hmOrbit 110s linear infinite; }
.hm-uni-orbit .hm-uni-speck { position: absolute; display: block; width: 3px; height: 3px; border-radius: 50%; background: #0F1E3D; }
.hm-uni i.is-idle .hm-uni-orbit { animation-play-state: paused; }
@keyframes hmOrbit { to { transform: rotate(360deg); } }
.hm-uni i.is-idle { animation-play-state: paused; }
@keyframes hmFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(var(--dx), calc(var(--dy) * -.6), 0) scale(var(--s, 1)); }
  50% { transform: translate3d(calc(var(--dx) * .2), calc(var(--dy) * -1), 0) scale(1); }
  75% { transform: translate3d(calc(var(--dx) * -1), calc(var(--dy) * -.4), 0) scale(calc(2 - var(--s, 1))); }
}
@media (prefers-reduced-motion: reduce) { .hm-uni i, .hm-uni-orbit { animation: none; } }

/* ============ HOMEPAGE VERTICAL RHYTHM ============
   Tighter than the shared styles.css spacing to shorten the page; scoped to the homepage so the other
   pages using .sec-pad / .showcase-row / .faq-item are unchanged. Sections that start with inline
   padding-top:0 keep it (they follow a section that already provides the gap). */
.home-page .sec-pad { padding-top: clamp(48px, 6.1vw, 88px); padding-bottom: clamp(48px, 6.1vw, 88px); }
.home-page .showcase-row + .showcase-row { margin-top: clamp(56px, 6.7vw, 96px); }
.home-page .faq-item { padding: 22px 0; }
/* one continuous cream surface: these two old sections bring their own off-white band and 1px border
   lines (inline styles), which read as hard edges against the decoration */
.home-page #security, .home-page #contact { background: transparent !important; border-top: 0 !important; border-bottom: 0 !important; }

/* ============ STANDALONE MODULE CARD ("Why we built it") ============
   White panel with big rounded corners and a soft shadow; a faded corner of the advisor-card dot grid
   (top right) and a warm coral glow (bottom left) inside it. */
.hm-module-wrap { max-width: 1064px; }
/* the card already reads as its own block, so the FAQ needs less of a run-up after it */
.home-page #why-us { padding-bottom: clamp(16px, 1.7vw, 24px); }
/* same for the guides -> advisors and advisors -> security breaks (two full paddings stacked to ~175px) */
.home-page [data-screen-label="Guides"], .home-page #advisors { padding-bottom: clamp(16px, 1.7vw, 24px); }
.hm-module { position: relative; overflow: hidden; padding: 64px 72px 68px; background: #fff; border: 1px solid #e6e3dc; border-radius: 28px; box-shadow: 0 1px 2px rgba(15,30,61,.04), 0 24px 60px -28px rgba(11,22,45,.18); }
.hm-module > * { position: relative; z-index: 1; }
.hm-module::before { content: ""; position: absolute; top: -20px; right: -20px; width: 360px; height: 260px; background: radial-gradient(circle at 1.5px 1.5px, #0F1E3D 1.5px, transparent 1.6px) 0 0 / 20px 20px; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); opacity: .14; pointer-events: none; }
.hm-module::after { content: ""; position: absolute; left: -140px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: #FF6B5C; opacity: .09; filter: blur(60px); pointer-events: none; }
@media (max-width: 760px) { .hm-module { padding: 44px 28px 48px; border-radius: 22px; } }
@media (max-width: 560px) { .hm-module { padding: 36px 22px 40px; border-radius: 20px; } .hm-module::before { width: 240px; height: 180px; } }

/* ============ FINAL CTA: full-width navy band ============
   The old .final-card was a rounded navy card with a coral stripe; here the whole section is the navy
   surface, with the hero's dot grid (slow drift, and it eases toward the cursor like the hero's). */
.home-page #demo { background: var(--midnight); overflow: hidden; isolation: isolate; padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(72px, 8vw, 120px); }
.home-page #demo::before { content: ""; position: absolute; inset: -32px; z-index: -1; translate: var(--hm-cx, 0px) var(--hm-cy, 0px); background: url(assets/home/hero/dots-tile.svg) 0 0 / 24px 24px repeat; pointer-events: none;
  --dx: 8px; --dy: 8px; --s: 1; animation: hmDrift 22s ease-in-out infinite; }
.home-page #demo .final-card { background: transparent; border-radius: 0; padding: 0; overflow: visible; }
.home-page #demo .final-card::before, .home-page #demo .final-card::after { display: none; }
@media (prefers-reduced-motion: reduce) { .home-page #demo::before { animation: none; } }

/* ============ SECURITY CARD ICONS ============
   lucide line icons (same family as the header's toggle and trust icons): coral 1.5px stroke on a soft
   coral tile, replacing the old unicode glyphs */
.home-page #security .trust-card .ti { background: var(--coral-soft); color: var(--coral); }
.home-page #security .trust-card .ti svg { width: 20px; height: 20px; }

/* ============ DEMO BUTTONS IN THE SHOWCASE MOCKS ============
   "Approve & commit", "Edit" and "Upload SAFE" are pictures of buttons (spans, not links), so they get no
   hover lift, glow, arrow nudge or pointer cursor. */
.home-page span.btn { pointer-events: none; cursor: default; transition: none; }

/* ============ CHECKLISTS (.feat-list) ============
   The shared rule makes each <li> a flex row, which splits a line with inline formatting (e.g. the mono
   "Financials / [Period]") into separate columns. Here the text flows normally with the tick pinned left,
   and the ✓ glyph becomes a lucide check to match the other line icons. */
.home-page .feat-list li { display: block; position: relative; padding-left: 35px; line-height: 1.5; }
.home-page .feat-list .ck { position: absolute; left: 0; top: 0; font-size: 0; }
.home-page .feat-list .ck::before { content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ============ SHARED SECTION TYPE ============ */
.hm-eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: 11.5px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink-s); }
.hm-eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.hm-h2 { margin: 14px 0 0; font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 68px; color: var(--ink); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hm-h2 em { font-style: italic; color: var(--coral); }
.hm-sub { margin: 8px 0 0; max-width: 700px; font-size: 17px; line-height: 26px; color: var(--muted); }
.hm-btn-navy { width: 160px; height: 46px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--midnight); color: #fff; font-size: 14px; font-weight: 600; }
.hm-btn-navy:hover { background: var(--midnight-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,30,61,.22); }
.hm-btn-navy:focus-visible { outline-color: var(--midnight); }

/* ============ WHO IT'S FOR ============ */
.hm-who { position: relative; overflow: hidden; padding: 88px 0 40px; margin-top: calc(var(--hm-curtain) * -1); border-radius: var(--hm-curtain) var(--hm-curtain) 0 0; background: var(--bg); }
.hm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; }
.hm-card { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 36px 36px 26px; border-radius: 22px; overflow: hidden; color: #fff; transition: background-color .4s ease-out, box-shadow .4s ease-out; }
.hm-card-founder { background: #0f1e3d; }
.hm-card-advisor { background: #f37456; border: 1px solid #e6e3dc; padding: 35px 35px 25px; }
.hm-card:hover, .hm-card:focus-within { box-shadow: 0 22px 48px -6px rgba(11,22,45,.28); }
.hm-card-founder:hover, .hm-card-founder:focus-within { background: #15284d; }
.hm-card-advisor:hover, .hm-card-advisor:focus-within { background: #f5826a; }

/* decoration sits top-right at its Figma size, so it holds position as the card narrows */
.hm-card-art { position: absolute; top: 0; right: 0; width: 580px; height: 400px; pointer-events: none; }
.hm-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke-opacity: .09; transform-origin: 510px 20px; transition: transform .4s ease-out, stroke-opacity .4s ease-out; }
.hm-card:hover .hm-rings, .hm-card:focus-within .hm-rings { transform: scale(1.06); stroke-opacity: .17; }
.hm-speck { position: absolute; border-radius: 50%; background: #D44A3B; opacity: .9; transition: transform .4s ease-out, opacity .4s ease-out; }
.hm-card:hover .hm-speck, .hm-card:focus-within .hm-speck { transform: translate(var(--sx), var(--sy)); opacity: .55; }
.hm-dotgrid { position: absolute; left: 289px; top: 27px; width: 263px; height: 163px; background: radial-gradient(circle at 1.5px 1.5px, #fff 1.5px, transparent 1.6px) 0 0 / 20px 20px; opacity: .29; transition: transform .4s ease-out, opacity .4s ease-out; }
.hm-card:hover .hm-dotgrid, .hm-card:focus-within .hm-dotgrid { transform: translate(-10px, 10px); opacity: .5; }

/* the icon stays put on hover; only the text block lifts */
.hm-card-icon { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.hm-card-icon svg { width: 20px; height: 20px; }
.hm-card-founder .hm-card-icon { background: rgba(212,74,59,.18); }
.hm-card-advisor .hm-card-icon { background: rgba(23,23,25,.19); }
.hm-card-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; transition: transform .4s ease-out; }
.hm-card:hover .hm-card-body, .hm-card:focus-within .hm-card-body { transform: translateY(-10px); }
.hm-card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 34px; color: #fff; font-variation-settings: "SOFT" 0, "WONK" 1; }
.hm-card p { margin: 16px 0 0; max-width: 508px; font-size: 15px; line-height: 24px; }
.hm-card-founder p { color: #c7ceda; }
.hm-card-advisor p { color: #ffe6de; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hm-chips li { display: flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(23,23,25,.19); font-size: 12.5px; line-height: 16px; font-weight: 500; }
.hm-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 24px; font-size: 14px; line-height: 18px; font-weight: 500; }
.hm-card-founder .hm-card-link { color: #f37456; }
.hm-card-advisor .hm-card-link { color: #fff; }
.hm-card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.hm-card-link:hover svg { transform: translateX(3px); }
.hm-card-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* "Not sure which you are?" banner card. Hover: lifts, border warms to coral, a patch of the
   advisor-card dot grid fades in on the right, and the button's arrow nudges. */
.hm-who-foot { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 20px 20px 20px 28px; background: #fff; border: 1px solid #e6e3dc; border-radius: 18px; box-shadow: 0 1px 2px rgba(15,30,61,.04); transition: transform .4s ease-out, box-shadow .4s ease-out, border-color .4s ease-out; }
.hm-who-foot > * { position: relative; z-index: 1; }
.hm-who-foot > .hm-btn { flex: none; }   /* keep the standard 160x46 Start free size */
.hm-who-foot::after { content: ""; position: absolute; top: -10px; bottom: -10px; right: 150px; width: 360px; background: radial-gradient(circle at 1.5px 1.5px, #0F1E3D 1.5px, transparent 1.6px) 0 0 / 20px 20px; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); opacity: 0; transform: translate(10px, 6px); transition: opacity .5s ease-out, transform .9s ease-out; pointer-events: none; }
.hm-who-foot:hover, .hm-who-foot:focus-within { transform: translateY(-3px); border-color: rgba(255,107,92,.4); box-shadow: 0 18px 40px -14px rgba(11,22,45,.22); }
.hm-who-foot:hover::after, .hm-who-foot:focus-within::after { opacity: .12; transform: none; }
.hm-who-foot:hover .hm-btn-coral svg, .hm-who-foot:focus-within .hm-btn-coral svg { transform: translateX(3px); }
.hm-who-foot p { margin: 0; font-size: 15px; line-height: 18px; color: var(--muted); }
.hm-who-foot strong { font-weight: 600; color: var(--ink); }

@media (max-width: 1023px) {
  .hm-who { padding-top: 88px; }
  .hm-cards { grid-template-columns: 1fr; gap: 24px; }
  .hm-card { min-height: 360px; }
}
@media (max-width: 560px) {
  .hm-who { padding-top: 64px; }
  .hm-h2 { font-size: 40px; line-height: 1.15; }
  .hm-card { min-height: 0; padding: 28px 24px 24px; }
  .hm-card-advisor { padding: 27px 23px 23px; }
  .hm-card h3 { font-size: 24px; line-height: 30px; }
  .hm-who-foot { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 16px; }
  .hm-who-foot::after { right: -60px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-card-body, .hm-rings, .hm-speck, .hm-dotgrid { transition: none; }
  .hm-who-foot, .hm-who-foot::after { transition: none; }
  .hm-who-foot:hover, .hm-who-foot:focus-within { transform: none; }
  .hm-card:hover .hm-card-body, .hm-card:hover .hm-rings, .hm-card:hover .hm-speck, .hm-card:hover .hm-dotgrid,
  .hm-card:focus-within .hm-card-body, .hm-card:focus-within .hm-rings, .hm-card:focus-within .hm-speck, .hm-card:focus-within .hm-dotgrid { transform: none; }
  .hm-drift, .scr .caret { animation: none; }
  .hm-rot-item.is-out { animation: hmFadeOut .3s ease both; }
  .hm-rot-item.is-in .hm-h1, .hm-rot-item.is-in .hm-lead { animation: hmFadeIn .3s ease both; }
  .hm-aud-pill { transition: none; }
}
@keyframes hmFadeOut { to { opacity: 0; } }
@keyframes hmFadeIn { from { opacity: 0; } }

/* Work item 62: selected underlined audience treatment. */
.hm-aud { height:auto; padding:0; gap:28px; border:0; border-bottom:1px solid rgba(197,214,242,.28); border-radius:0; background:none; }
.hm-aud-btn { min-width:0; min-height:44px; padding:10px 0 12px; border:0; border-bottom:3px solid transparent; border-radius:0; margin-bottom:-1px; background:none; color:var(--ice); }
.hm-aud-btn[aria-pressed="true"] { color:var(--cream); border-bottom-color:var(--coral); background:none; }
.hm-aud-btn:focus-visible { outline:2px solid var(--coral); outline-offset:4px; }
@media(max-width:560px) { .hm-aud { gap:22px; } .hm-aud-btn { padding-inline:0; font-size:14px; } }
.hm-aud-btn { width:auto; height:auto; flex:initial; font-family:var(--sans); font-size:14px; }
.hm-aud { max-width:100%; }
