/*
 * home.css: the homepage only (#/ and #/how-it-works).
 * Uses base.css tokens; defines none. Principal is ink, yield is white/grey.
 *
 * Page rhythm: a full-bleed WHITE hero stage with the drone flight film
 * behind it (hero-film.js; no frame around it), then the white/grey homepage: white
 * bands alternating with light grey ones. Every band carries its own animated visual ([data-visual]).
 */

.home .is-yield { color: var(--yield); }
.home-k { color: var(--muted); }
.home-v { color: var(--ink-2); font-weight: 500; }
.home-unavail { font: 500 var(--t-small)/1.3 var(--f-mono); color: var(--muted); letter-spacing: -.01em; }

.home-band { padding-block: clamp(88px, 9vw, 150px); overflow-x: clip; }
.home-kicker { margin-bottom: var(--s-4); color: var(--brand-2); }
.band--lavender .home-kicker { color: var(--brand); }

.home-head { display: flex; flex-direction: column; gap: var(--s-4); max-width: 60ch; }
.home-head .t-h2 { max-width: 16ch; }
.home-head .label { margin-bottom: calc(var(--s-1) * -1); }

.home-link {
  display: inline-flex; gap: .35em; align-items: baseline;
  font-size: var(--t-small); font-weight: 500; color: var(--ink);
}
.addr-link { font: 500 1rem/1.25 var(--f-code); letter-spacing: -.01em; color: var(--ink); }

/* a slot for a section's animated visual: reserves its space so nothing jumps */
.home-visual { position: relative; min-width: 0; }
.home-visual.is-mounting { min-height: var(--visual-min, 280px); }

/* ------------------------------------------------------------------ hero */
.home-hero { padding: 0; margin-top: calc(-1 * var(--header-h, 68px)); }
.home-hero__frame { position: relative; padding-bottom: clamp(40px, 6vw, 88px); }

.home-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  /* a full screen of film at the top of the page (user, 2026-09-17) */
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h, 68px) + clamp(16px, 2.5vw, 40px)) var(--gutter) clamp(64px, 8vw, 128px);
  border-radius: 0;
  text-align: left;
  /* shown until (or instead of) the film */
  background: #ffffff;
}
/* full bleed: no frame, corners or outline, whatever the film module's stage defaults are */
.home .home-stage.hero-film-stage { border-radius: 0; border: 0; outline: 0; box-shadow: none; margin: 0; }
.home .home-stage .hf-grade::after { box-shadow: none; }
/* Text on the left, the product card on the right, both over the film (user, 2026-09-17: "make the
   layout like this it makes more sense"). Stacks below 1080px. */
.home-stage__grid {
  position: relative; z-index: 2; width: 100%; max-width: var(--wrap, 1200px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 96px); align-items: center;
}
.home-stage__content { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.home-eyebrow { color: var(--brand-2); margin-bottom: var(--s-5); }
.home-hero__title {
  font-size: clamp(2.75rem, 1rem + 4.2vw, 5.25rem);
  line-height: .98;
  color: var(--ink);
  text-wrap: balance;
}
.home-hero__line { display: block; }
.home-hero__title .is-yield { text-shadow: var(--yield-glow); }
.home-hero__lead { margin-top: var(--s-6); max-width: 46ch; color: var(--ink-2); text-align: left; }
.home-hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s-3); margin-top: var(--s-7); }
.home .home-hero__facts {
  display: inline-flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; row-gap: var(--s-2);
  margin-top: var(--s-7); padding: 10px 20px;
  border: 1px solid var(--glass-bd); border-radius: var(--r-pill);
  /* white glass: the film's dark rocks can pass behind the facts and the buttons, so the
     grounds are near-opaque and the key labels are ink-2, not muted (AA over the film) */
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  font-size: var(--t-small); line-height: 1.4;
}
.home .home-hero__facts .home-k { color: var(--ink-2); }
/* real frosted glass over the film: translucent enough to see the blur through, with a
   brighter highlight and a soft edge (user, 2026-09-17: "fix glass buttons"). The labels still
   clear AA because the fills sit at .62 ink / .5 white over a film held at 70%. */
.home .home-hero__actions .btn {
  --btn-bg: rgba(17, 17, 19, .62); --btn-bd: rgba(255, 255, 255, .34); --btn-blur: 18px;
  --glass-hi: rgba(255, 255, 255, .34); --glass-shadow: 0 10px 30px rgba(17, 17, 19, .28);
}
.home .home-hero__actions .btn--secondary {
  --btn-bg: rgba(255, 255, 255, .8); --btn-bd: rgba(255, 255, 255, .9); --btn-fg: var(--ink);
  --glass-hi: rgba(255, 255, 255, .85); --glass-shadow: 0 8px 24px rgba(17, 17, 19, .14);
}
/* no glow or halo behind the hero type (user, 2026-09-14: "remove the background glow") */
.home .home-hero__title,
.home .home-hero__title .is-yield,
.home .home-hero__lead,
.home .home-stage .home-eyebrow { text-shadow: none; }
/* The film is held back from full strength so the black type on top stays readable (no glow,
   user 2026-09-14). At .7 the drone footage still reads as footage and the headline clears AA.
   hero-film.js multiplies this by the scroll fade. */
/* White hero type (user, 2026-09-18: "make this text white"): the film runs at full strength with a
   dark scrim over the text side (.hf-lift, drawn under the white bottom fade), so white type clears AA. */
.home .home-stage { --hero-film-strength: 1; }
.home .home-stage .hf-lift {
  display: block;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, .62) 0%, rgba(8, 10, 8, .5) 38%, rgba(8, 10, 8, .24) 62%, rgba(8, 10, 8, .12) 100%);
}
@media (max-width: 1080px) {
  .home .home-stage .hf-lift { background: rgba(8, 10, 8, .5); }
}
/* The first screen is all film; the fade lives BELOW the fold (user, 2026-09-18: "fade isnt strong
   enough and still visible at top of homepage"). The stage is one screen plus --fade-len tall, the
   content stays centred in the first screen (the extra length is bottom padding), and a long eased
   fade runs over exactly that extra length, reaching pure white just before the edge. */
.home .home-stage {
  --fade-len: clamp(240px, 36vh, 400px);
  min-height: calc(100vh + var(--fade-len)); min-height: calc(100svh + var(--fade-len));
  /* the extra bottom padding lifts the centred content a little above the middle of the screen */
  padding-bottom: calc(var(--fade-len) + clamp(72px, 10vh, 140px));
}
.home .home-stage .hf-veil {
  /* smootherstep (6t^5 - 15t^4 + 10t^3): the fade starts and FINISHES with zero slope, so it melts
     into the page white instead of stopping on a visible edge (user, 2026-09-18: "it still seems
     like its not the same white"; a ramp that is still climbing when it hits white reads as a band) */
  background: linear-gradient(to bottom,
    transparent calc(100% - var(--fade-len)),
    rgba(255, 255, 255, 0.000) calc(100% - var(--fade-len) * 1.0000),
    rgba(255, 255, 255, 0.003) calc(100% - var(--fade-len) * 0.9286),
    rgba(255, 255, 255, 0.023) calc(100% - var(--fade-len) * 0.8571),
    rgba(255, 255, 255, 0.069) calc(100% - var(--fade-len) * 0.7857),
    rgba(255, 255, 255, 0.145) calc(100% - var(--fade-len) * 0.7143),
    rgba(255, 255, 255, 0.246) calc(100% - var(--fade-len) * 0.6429),
    rgba(255, 255, 255, 0.368) calc(100% - var(--fade-len) * 0.5714),
    rgba(255, 255, 255, 0.500) calc(100% - var(--fade-len) * 0.5000),
    rgba(255, 255, 255, 0.632) calc(100% - var(--fade-len) * 0.4286),
    rgba(255, 255, 255, 0.754) calc(100% - var(--fade-len) * 0.3571),
    rgba(255, 255, 255, 0.855) calc(100% - var(--fade-len) * 0.2857),
    rgba(255, 255, 255, 0.931) calc(100% - var(--fade-len) * 0.2143),
    rgba(255, 255, 255, 0.977) calc(100% - var(--fade-len) * 0.1429),
    rgba(255, 255, 255, 0.997) calc(100% - var(--fade-len) * 0.0714),
    rgba(255, 255, 255, 1.000) 100%);
}
.home .home-hero__title { color: #ffffff; }
.home .home-hero__title .is-yield { color: rgba(255, 255, 255, .66); }
.home .home-stage .home-eyebrow { color: rgba(255, 255, 255, .86); }
.home .home-hero__lead { color: rgba(255, 255, 255, .92); }
.home-hero__facts li { display: inline-flex; align-items: baseline; gap: .45em; white-space: nowrap; }
.home-hero__facts li + li::before {
  content: ""; align-self: center; width: 1px; height: 14px; margin-inline: var(--s-4);
  background: var(--line-strong);
}
.home-hero__apy { font-size: .9375rem; font-weight: 600; }

/* the product card: the right-hand column of the hero */
.home-hero__demo {
  --visual-min: 300px;
  position: relative; z-index: 3;
  width: 100%; max-width: 460px; justify-self: end;
  margin: 0;
}
.home .home-hero__demo .dy--hero { --dy-link: clamp(72px, 20cqi, 96px); }
/* the Illustration tag sits on the film: a small white glass chip so it stays legible */
.home .home-hero__demo .dy .dy-illus {
  color: var(--ink-2); background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* load choreography for the parts the text reveal does not cover: starts readable, only rises
   (fill `backwards`, not `both`: once it ends nothing is left behind, in particular no
   blur(0px) filter, which would make the buttons' frosted glass stop seeing the film;
   only with motion allowed, so reduced motion never shows the blurred start frame) */
@keyframes home-rise-sm { from { transform: translateY(10px); opacity: .5; filter: blur(2px); } 50% { filter: blur(0); } }
@media (prefers-reduced-motion: no-preference) {
  .home-hero__lead { animation: home-rise-sm 800ms var(--ease-out) 180ms backwards; }
  .home-hero__actions { animation: home-rise-sm 800ms var(--ease-out) 240ms backwards; }
  .home-hero__facts { animation: home-rise-sm 800ms var(--ease-out) 300ms backwards; }
  .home-hero__demo { animation: home-rise-sm 900ms var(--ease-out) 360ms backwards; }
}

/* ------------------------------------------------------------------ hero flow fallback (src/ui/hero-flow.js) */
.hf { margin: 0 auto; width: 100%; max-width: 460px; display: flex; flex-direction: column; }
.hf__principal {
  --hf-bg: var(--ink);
  --hf-fg: var(--bg);
  position: relative;
  background: var(--hf-bg);
  color: var(--hf-fg);
  border-radius: var(--r-lg);
  padding: 22px 26px 26px;
  box-shadow: var(--shadow-1);
}
.hf__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.hf__principal .label { color: color-mix(in srgb, var(--hf-fg) 58%, var(--hf-bg)); }
.hf__who { color: var(--hf-fg) !important; }
.hf__illus {
  height: 24px; font-size: .75rem; letter-spacing: .06em;
  background: transparent; color: var(--hf-fg);
  border: 1px solid color-mix(in srgb, var(--hf-fg) 45%, var(--hf-bg));
}
.hf__amount {
  display: flex; align-items: baseline; gap: .32em; margin-top: 26px;
  font: 600 clamp(2.5rem, 1.7rem + 2.3vw, 3.5rem)/1 var(--f-display);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hf__amount .unit { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: color-mix(in srgb, var(--hf-fg) 55%, var(--hf-bg)); }
.hf__sub { margin-top: 10px; font-size: .875rem; color: color-mix(in srgb, var(--hf-fg) 66%, var(--hf-bg)); }
.hf__source {
  position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--yield-bright);
  box-shadow: 0 0 0 3px var(--bg);
}
.hf__stream { position: relative; height: clamp(150px, 16vw, 200px); }
.hf__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--line-strong); }
.hf__meta {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.hf__meta--l { right: calc(50% + 48px); }
.hf__meta--r {
  left: calc(50% + 48px);
  text-transform: none; letter-spacing: 0; color: var(--ink-2);
  padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
}
.hf__pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--yield-bright); animation: pulse 2s var(--ease-in-out) infinite; }
.hf__particles { position: absolute; inset: 0; pointer-events: none; }
.hf__dot {
  position: absolute; left: 50%; top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--yield-bright); opacity: 0; will-change: transform, opacity;
}
.hf__chip {
  position: absolute; left: 50%; top: 0; height: 22px; padding: 0 8px;
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--yield); font: 500 .6875rem/1 var(--f-mono); font-variant-numeric: tabular-nums;
  white-space: nowrap; opacity: 0; will-change: transform, opacity;
}
.hf__recipient {
  position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.hf__ring, .hf__ripple { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.hf__ring { background: var(--surface); border: 1.5px solid var(--yield-bright); z-index: 1; }
.hf__ripple { border: 1px solid var(--yield-bright); opacity: 0; will-change: transform, opacity; }
.hf__avatar { --size: 40px; background: var(--yield-wash); color: var(--yield); }
.hf__who2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hf__handle { font: 500 .9375rem/1.2 var(--f-mono); color: var(--ink); }
.hf__sub2 { font-size: .8125rem; color: var(--muted); }
.hf__received { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hf__count { font-size: clamp(1.5rem, 1.15rem + 1vw, 1.875rem); font-weight: 600; line-height: 1; color: var(--yield); }
.hf__count .unit { font-size: .6875rem; }

/* ------------------------------------------------------------------ statement */
.home-statement__title { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.75rem); max-width: 18ch; text-wrap: balance; }
.home-statement__line { display: block; }
.home-statement__line--go { color: var(--ink-2); }
.home-visual--wide { --visual-min: 320px; margin-top: clamp(40px, 5vw, 72px); }

.home-split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8);
  margin-top: clamp(40px, 5vw, 72px);
}
.home-split__head {
  display: flex; align-items: center; gap: 10px;
  padding-top: var(--s-4); padding-bottom: var(--s-4);
  font: 600 var(--t-micro)/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-top: 2px solid var(--ink);
}
.home-split__col--go .home-split__head { border-top-color: var(--yield-bright); color: var(--yield); }
.home-swatch { width: 10px; height: 10px; flex: none; }
.home-swatch--ink { background: var(--ink); border-radius: 1px; }
.home-swatch--yield { background: var(--yield-bright); border-radius: 50%; width: 8px; height: 8px; box-shadow: var(--yield-glow); }
.home-split__list li {
  display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--s-4);
  padding-block: var(--s-4); border-top: 1px solid var(--line);
}
.home-split__list b { font-weight: 600; }
.home-split__list span { color: var(--ink-2); }

/* ------------------------------------------------------------------ how it works: four chapters */
.home-how { scroll-margin-top: 72px; }
.home-how__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5) var(--s-8); flex-wrap: wrap; }
.home-how__head .t-h1 { max-width: 14ch; }
.home-how__lead { max-width: 40ch; }
.home-chapters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5);
  margin-top: clamp(40px, 5vw, 64px);
  list-style: none; padding: 0;
}
/* no card behind each step (user, 2026-09-18: "remove boxes"): the steps sit on the band */
.home-chapter {
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: 0;
  min-width: 0;
}
.home-chapter__text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-4); row-gap: var(--s-2); align-items: baseline; }
.home-chapter__n {
  grid-row: span 2;
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand);
  font: 600 .875rem/1 var(--f-mono); font-variant-numeric: tabular-nums;
}
.home-chapter__text .t-h3 { align-self: center; }
/* scoped to the chapter's own text: a bare `.home-chapter p` also hit the demo cards' paragraphs
   and turned the $10,000.00 principal figure dark grey on its black panel */
.home-chapter__text > p { grid-column: 2; color: var(--ink-2); max-width: 44ch; font-size: .9688rem; }
/* no card to align bottoms to any more, so each demo follows its own text */
.home-chapter__visual { --visual-min: 300px; margin-top: 0; }

/* ------------------------------------------------------------------ duo layout */
.home-duo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8);
  align-items: start;
}
.home-duo--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.home-duo--flip > .home-head { order: 2; }
.home-duo > .home-head { position: sticky; top: 120px; }

/* ------------------------------------------------------------------ estimator */
.home-src { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .4em; font-size: .8125rem; color: var(--muted); }
.home-src__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yield-bright); margin-right: .25em; box-shadow: var(--yield-glow); animation: pulse 2s var(--ease-in-out) infinite; }

/* no panel behind the estimator (user, 2026-09-18: "remove box") */
.home .home-est { padding: 0; border: 0; background: none; box-shadow: none; }
.home-est__input { margin-top: var(--s-1); }
.home-est__input input { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.home-est__input.is-invalid { border-bottom-color: var(--danger); }
.home-est .error-text { margin-top: var(--s-1); }

.home-est__out { margin-top: var(--s-6); }
.home-est__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4);
  align-items: flex-start; padding-block: var(--s-5); border-top: 1px solid var(--line);
}
.home-est__row--yield { display: grid; }
.home-est__row dt { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9375rem; }
.home-est__sub { font: 500 var(--t-micro)/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.home-est__row dd { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
.home-est__fig { font-size: 1.625rem; font-weight: 600; line-height: 1; }
.home-est__fig .unit { font-size: .6875rem; }
.home-est__row--yield { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.home-est__row--yield dt { flex-direction: row; align-items: baseline; justify-content: space-between; }
.home-est__row--yield dd {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4);
  align-items: stretch;
}
.home-est__pair {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: var(--s-4); border-radius: var(--r-md); background: var(--yield-wash);
  border: 1px solid var(--line);
}
.home-est__per { font: 500 var(--t-micro)/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--yield-soft); }
.home-est__pair .home-est__fig { font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); text-shadow: var(--yield-glow); }
.home-est__na {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-4); border-radius: var(--r-md); border: 1px dashed var(--line-strong);
}
.home-est__foot { padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.home-est__cta { margin-top: var(--s-5); }

/* ------------------------------------------------------------------ recipient preview */
.home-rcpt-wrap { display: flex; flex-direction: column; gap: var(--s-4); max-width: 520px; }
.home-rcpt-demo { width: 100%; }
.home-rcpt { margin: 0; padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; border-radius: var(--r-xl); }
.home-rcpt__bar { display: flex; justify-content: space-between; align-items: center; }
.home-rcpt__bar .pill { height: 24px; font-size: .75rem; background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.home-rcpt__me { margin-left: auto; font: 500 .8125rem/1 var(--f-mono); color: var(--muted); }
.home-recipient { align-items: start; }
.home-recipient > .home-head { position: static; }
.home-recipient .home-rcpt-wrap { justify-self: start; width: 100%; }
.home-rcpt__from { display: flex; gap: var(--s-4); align-items: flex-start; margin-top: var(--s-6); }
.home-rcpt__avatar { --size: 44px; background: var(--ink); color: var(--bg); }
.home-rcpt__line { font: 600 1.5rem/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.home-rcpt__received { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-7); }
.home-rcpt__big { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem); font-weight: 600; line-height: 1; }
.home-rcpt__big .unit { font-size: .875rem; }
.home-rcpt__next {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  margin-top: var(--s-5); padding-block: var(--s-4); border-block: 1px solid var(--line);
  font-size: var(--t-small); color: var(--ink-2);
}
.home-rcpt__next .money { font-size: 1rem; font-weight: 600; }
.home-rcpt__next .unit { font-size: .625rem; }
.home-rcpt__claim { margin-top: var(--s-5); cursor: default; }
.home-rcpt__claim:active { transform: none; }
.home-rcpt__note { margin-top: var(--s-3); font-size: .75rem; color: var(--muted); text-align: center; }
.home-rcpt__caption { font-size: var(--t-small); color: var(--ink-2); padding-left: var(--s-1); }

/* ------------------------------------------------------------------ yield source */
.home-source__top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8);
  align-items: center;
}
.home-source__visual { --visual-min: 380px; }
.home-source__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-2); }
.home-source__body { margin-top: clamp(48px, 6vw, 88px); }
.home-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-6); }
.home-fact { display: flex; flex-direction: column; gap: var(--s-2); padding-block: var(--s-5); border-top: 1px solid var(--line); min-width: 0; }
.home-fact__v { font: 600 1.625rem/1.1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; min-height: 1.8rem; display: flex; align-items: center; }
.home-fact__v .money .unit { font-size: .6875rem; }
.home-fact__v .is-yield { text-shadow: var(--yield-glow); }
.home-fact__v--text { font: 600 1.125rem/1.25 var(--f-display); letter-spacing: -.01em; }
.home-fact__src { font-size: .75rem; line-height: 1.45; color: var(--muted); }
.home-ago { font-variant-numeric: tabular-nums; }
.home-fact__line { display: block; }
.home-source__risk { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ details */
.home-details {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-8);
  align-items: center;
}
/* stays put, centred beside the text (user asked it not to follow the scroll) */
.home-details__visual { --visual-min: 400px; align-self: center; justify-self: center; width: 100%; }
.home-dl { margin-top: var(--s-7); border-bottom: 1px solid var(--line); }
.home-dl__row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: var(--s-6);
  padding-block: var(--s-5); border-top: 1px solid var(--line);
}
.home-dl__row dt { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.005em; }
.home-dl__row dd { color: var(--ink-2); max-width: 60ch; }

/* ------------------------------------------------------------------ closing */
.home-band--close { overflow: hidden; }
.home-close {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-8);
  align-items: center;
}
.home-close__title { font-size: clamp(2.75rem, 1.2rem + 5vw, 5.75rem); }
.home-close__copy .t-lead { margin-top: var(--s-5); }
.home-close__side { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-7); }
.home-close__note { font-size: var(--t-small); color: var(--muted); }
.home-close__visual { --visual-min: 360px; width: 100%; max-width: 520px; justify-self: end; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  /* hero: text first, the product card under it */
  .home-stage__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); }
  .home-hero__demo { justify-self: start; max-width: 520px; }
  /* Stacked: the section text is a block, not a grid item, so it can stay in place while the
     panel below scrolls past it (user, 2026-09-17). A grid item can only stick inside its own
     row, which leaves it no travel at all. */
  .home-duo, .home-duo--flip { display: block; }
  .home-duo > .home-head {
    position: sticky; top: calc(var(--header-h, 68px) + 16px); z-index: 2;
    max-width: none; margin-bottom: var(--s-7);
    padding-block: 10px; background: var(--bg);
  }
  .home-rcpt-wrap { max-width: 560px; }
  .home-est { max-width: 640px; }
  .home-source__top, .home-details, .home-close { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .home-source__visual, .home-details__visual { max-width: 640px; }
  .home-close__visual { justify-self: start; }
}

@media (max-width: 900px) {
  .home-chapters { grid-template-columns: minmax(0, 1fr); }
  .home-chapter__visual { max-width: 640px; }
}

@media (max-width: 760px) {
  /* a phone screen is too short to give up its top third to a pinned heading */
  .home-duo > .home-head { position: static; padding-block: 0; background: none; }
  .home .home-stage { --fade-len: 220px; min-height: 0; padding-bottom: calc(var(--fade-len) + 24px); }
  .home-hero__actions .btn { flex: 1 1 auto; }
  .home .home-hero__facts { flex-direction: column; border-radius: var(--r-lg); padding: 6px 16px; row-gap: 0; }
  .home-hero__facts li { justify-content: flex-start; padding-block: 8px; }
  .home-hero__facts li + li::before { display: none; }
  .home-hero__facts li + li { border-top: 1px solid var(--glass-bd); }
  .home-split { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .home-dl__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
}

@media (max-width: 560px) {
  .home-band { padding-block: 72px; }
  .home-hero__title { font-size: clamp(2.6rem, .6rem + 9.4vw, 3.6rem); }
  .home-hero__lead { margin-top: var(--s-5); }
  .home-hero__actions { margin-top: var(--s-6); width: 100%; }
  .home-hero__actions .btn { flex: 1 1 100%; min-height: 52px; }
  .home-hero__demo { --visual-min: 300px; margin-top: 0; max-width: none; }
  .home-split__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .home-chapter { padding: 0; }
  .hf__principal { padding: 18px 20px 22px; }
  .hf__recipient { padding: 16px 18px; }
  .hf__meta--l { right: calc(50% + 44px); }
  .hf__meta--r { left: calc(50% + 44px); }
  .home-est { padding: var(--s-5); }
  .home-est__row--yield dd { gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
  .home-est__pair { padding: var(--s-3); }
  .home-rcpt { padding: var(--s-5); }
  .home-rcpt__line { font-size: 1.3125rem; }
  .home-facts { grid-template-columns: minmax(0, 1fr); }
  .home-fact { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); row-gap: 4px; padding-block: var(--s-4); }
  .home-fact dt { grid-column: 1; align-self: center; }
  .home-fact__v { grid-column: 2; grid-row: 1; justify-content: flex-end; font-size: 1.25rem; min-height: 0; }
  .home-fact__v--text { font-size: 1rem; }
  .home-fact__src { grid-column: 1 / -1; }
  .home-close__side .btn { width: 100%; }
}
