/* Credit Capital Source — design system + site styles.
   Single stylesheet, no build step, no framework. Tokens first, then primitives,
   then components, then the handful of page-specific rules.

   Fonts are self-hosted in assets/fonts/, so the page makes zero third-party
   requests. Nothing here is shared with any other site. The pairing —
   Spectral (display) + Figtree (UI) — is used by no sibling. */

/* ---------- Fonts ---------- */

@font-face{font-family:'Spectral';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/spectral-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spectral-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spectral-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spectral-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/figtree-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/figtree-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/figtree-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/figtree-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/marcellus-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;}

/* ---------- Tokens ---------- */
:root {
  /* ---------- Dark surfaces — deep TEAL ink (H≈186°, cyan-leaning). NOT navy
     (Credit Point / Consistent Funding / Premier), NOT forest (Bridgeway —
     pushed b≈g so it reads cyan, ΔE2000 9.6 off their #0D4436), NOT black.
     The brand dark is the same hue family as the turquoise, a few stops down. */
  --ink:          #024E2C;   /* primary dark surface; also theme-color + manifest */
  --ink-deep:     #01361E;   /* deepest — footer, scrims, labels on --accent */
  --ink-raised:   #0A5E3C;   /* cards on dark */
  --ink-line:     #6FB89D;   /* hairline dividers on dark */

  /* ---------- Light surfaces — white with a cool aqua tint. The faint band is
     cyan-leaning (b− / a−), the one cool pale register the warm siblings
     (APC cream, Bridgeway bone) do not occupy. ---------------------------- */
  --paper:        #FFFFFF;   /* page base */
  --paper-2:      #EFF6F1;   /* alternating band — faint aqua */
  --line:         #D3E6DA;   /* hairline dividers on light */
  --white:        #FFFFFF;   /* cards floating on the aqua band */

  /* ---------- Turquoise ramp — one hue family at four luminances. The brand
     is turquoise-DOMINANT on white, not an accent-on-navy.
       --accent / --accent-bright  : the bright logo turquoise, used ON --ink.
       --accent-deep / --accent-press : the deeper companion, button fill +
                                        text ON white (the logo hue is too light
                                        to carry type on white at 4.5:1).
     Label colours: --ink-deep on an --accent fill, --white on --accent-deep. */
  --accent:        #30DF98;  /* sampled logo turquoise — on --ink / --ink-deep / --ink-raised */
  --accent-bright: #66EDB6;  /* hover for --accent */
  --accent-deep:   #07794F;  /* text + solid fill on --paper / --paper-2 / --white */
  --accent-press:  #065E3D;  /* hover for --accent-deep */

  /* ---------- Text ---------- */
  --on-dark:      #EAF7F0;
  --on-dark-dim:  #A8CDBA;
  --on-light:     #09201A;
  --on-light-dim: #485F54;

  /* ---------- Photo tiles — type sits on --ink at 85% over imagery. ---- */
  --tile-text:    #FFFFFF;
  --tile-sub:     #D6E8DD;

  /* ---------- State ----------
     Two-colour focus ring: a dark teal --focus clears 3:1 on the light grounds
     (white page, aqua band), a white --focus-halo clears 3:1 on the dark grounds
     (ink band, mid card) and on the --accent-deep button. Every ground has at
     least one of the two ≥3:1. The two ring colours contrast each other 10:1. */
  --focus-halo: #FFFFFF;
  --focus:        #024A2A;
  --danger:       #C23A2E;   /* warm red, far from the turquoise brand (ΔE2000 large) */
  --success:      #0E7A5B;

  /* ---------- Type ---------- */
  --ff-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --ff-ui: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  /* The wordmark uses the display grotesk, locked to the "CCS" caps + tracking. */
  --ff-mark: 'Marcellus', Georgia, serif;

  /* ---------- Scale — 1.25 major third, clamped fluid. Sizes run larger
     than the siblings' because a didone needs room to show its contrast. --- */
  --fs-xs:   0.75rem;                                    /* 12 */
  --fs-sm:   0.8125rem;                                  /* 13 */
  --fs-base: 1rem;                                       /* 16 */
  --fs-md:   1.125rem;                                   /* 18 */
  --fs-lg:   clamp(1.25rem, 0.60vw + 1.10rem, 1.50rem);
  --fs-xl:   clamp(1.55rem, 1.20vw + 1.25rem, 2.10rem);
  --fs-2xl:  clamp(2.00rem, 2.30vw + 1.35rem, 3.00rem);
  /* Trimmed from 4.00/5.60rem. The brand spec runs the scale large on purpose —
     a didone wants size — but at the top of the range an h2 inside a half-width
     split column wrapped to three lines and stopped reading as a heading. The
     h1 keeps most of its drama because it has the full column width. */
  --fs-3xl:  clamp(2.30rem, 3.30vw + 1.20rem, 3.40rem);
  --fs-4xl:  clamp(2.80rem, 5.00vw + 1.10rem, 4.90rem);

  /* ---------- Space — 4/8 rhythm ---------- */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  /* ---------- Layout ---------- */
  --shell:        1200px;
  --shell-narrow: 720px;
  --gutter:       clamp(1.5rem, 4.5vw, 3.5rem);

  /* ---------- Radii — soft and friendly. This is a fast-funding brand, not an
     engraving house: 14px cards, pill buttons (see .btn). ----------------- */
  --r-sm: 7px;
  --r:    10px;
  --r-lg: 14px;

  /* ---------- Elevation — tinted with --ink (8,56,59), a teal shadow ---- */
  --shadow-sm: 0 1px 2px rgba(2,78,44,.07),  0 4px 12px rgba(2,78,44,.08);
  --shadow:    0 2px 6px rgba(2,78,44,.09),  0 14px 34px rgba(2,78,44,.13);
  --shadow-lg: 0 10px 26px rgba(2,78,44,.15), 0 40px 76px rgba(2,78,44,.22);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-light);
  font-family: var(--ff-ui);
  font-size: var(--fs-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-3xl); }
/* Bodoni above --fs-xl only. Didone hairlines break up below that size, so h3
   and h4 are the grotesk at 600 — see brand/PALETTE.md, "Using Bodoni responsibly". */
h3, h4 {
  font-family: var(--ff-ui); font-weight: 600; line-height: 1.25;
  letter-spacing: -0.005em; margin: 0 0 var(--s-4);
}
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p  { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
    text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--focus-halo);
  border-radius: 2px;
}

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--ink); color: var(--on-dark);
  padding: var(--s-3) var(--s-5); border-radius: var(--r);
  text-decoration: none; font-weight: 600; transition: top .18s ease;
}
.skip:focus { top: var(--s-4); }

/* <main> carries tabindex="-1" so the skip link moves focus explicitly rather
   than relying on the browser's focus-navigation start point. It is a landmark,
   not a control, so it must not draw a focus ring when it receives focus. */
main:focus { outline: none; }

/* ---------- Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }
.center { text-align: center; }

.band { padding-block: var(--s-9); }
.band--alt  { background: var(--white); }
.band--tint { background: var(--paper-2); }
/* Kept for the few places that still want weight, but the site is light-first:
   the client's note was that it read as too dark, and it did — five near-black
   slabs in one scroll. Only the hero, the page heads and the footer are dark now. */
.band--dark { background: var(--ink); color: var(--on-dark); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--on-dark); }

.grid { display: grid; gap: var(--s-5); }
.grid > * { min-width: 0; }          /* grid children default to min-width:auto and overflow */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split {
  display: grid; gap: clamp(var(--s-6), 5vw, var(--s-9));
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split > * { min-width: 0; }
.split--rev .split__art { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__art { order: 0; }
}
.split__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }

.sechead { max-width: 66ch; margin-bottom: var(--s-7); }
.sechead.center { margin-inline: auto; }

/* A tinted pill rather than bare small caps. On a page that is now mostly white
   this is the thing that punctuates each section and stops it reading as one
   undifferentiated column of text. */
.kicker {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: .34rem .7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  margin: 0 0 var(--s-4);
}
.center .kicker { justify-content: center; }
.sechead.center { display: flex; flex-direction: column; align-items: center; }
.band--dark .kicker, .hero .kicker, .page-head .kicker, .phero .kicker, .cta .kicker {
  color: var(--accent);
}

.lede { font-size: var(--fs-md); color: var(--on-light-dim); max-width: 62ch; }
.center .lede { margin-inline: auto; }
.band--dark .lede, .hero .lede, .page-head .lede, .phero .lede { color: var(--on-dark-dim); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); flex-wrap: wrap;
  padding: .78rem 1.5rem;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;  /* pill */
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .95rem 1.7rem; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

.btn--solid  { --btn-bg: var(--accent-deep); --btn-fg: var(--white); --btn-bd: var(--accent-deep); }
.btn--solid:hover { --btn-bg: var(--accent-press); --btn-bd: var(--accent-press); }
.btn--outline { --btn-bd: var(--line); --btn-fg: var(--on-light); }
.btn--outline:hover { --btn-bg: var(--paper-2); --btn-bd: var(--on-light); }
.btn--ghost  { --btn-bd: var(--line); --btn-fg: var(--on-light); }
.btn--ghost:hover { --btn-bg: var(--paper-2); }

/* Ghost and outline buttons sit on dark surfaces in six places. Listing every
   dark context here is what stops them rendering invisibly — that bug shipped
   three times on sibling sites because the selector only covered .band--dark. */
.band--dark .btn--ghost, .hero .btn--ghost, .page-head .btn--ghost,
.phero .btn--ghost, .cta .btn--ghost, .foot .btn--ghost,
.band--dark .btn--outline, .hero .btn--outline, .page-head .btn--outline,
.phero .btn--outline, .cta .btn--outline, .foot .btn--outline {
  --btn-bd: var(--ink-line); --btn-fg: var(--on-dark);
}
.band--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-head .btn--ghost:hover,
.phero .btn--ghost:hover, .cta .btn--ghost:hover, .foot .btn--ghost:hover,
.band--dark .btn--outline:hover, .hero .btn--outline:hover, .page-head .btn--outline:hover,
.phero .btn--outline:hover, .cta .btn--outline:hover, .foot .btn--outline:hover {
  --btn-bg: var(--ink-raised); --btn-bd: var(--on-dark);
}
.band--dark .btn--solid, .hero .btn--solid, .page-head .btn--solid,
.phero .btn--solid, .cta .btn--solid {
  --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent);
}
.band--dark .btn--solid:hover, .hero .btn--solid:hover, .page-head .btn--solid:hover,
.phero .btn--solid:hover, .cta .btn--solid:hover {
  --btn-bg: var(--accent-bright); --btn-bd: var(--accent-bright);
}

.btnrow { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.center .btnrow { justify-content: center; }

/* ---------- Wordmark ----------
   The client's CCS logo: the striped "CCS" over "CREDIT CAPITAL SOURCE" set
   between two turquoise rules. A vertical lockup; the letters + rules take the
   brand turquoise via currentColor, the rule-caption takes an adaptive ink. */
.wm {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: .3rem; line-height: 0; color: var(--accent-deep);   /* deep emerald on the white header */
}
.wm--light { color: var(--accent); }                  /* bright emerald on the dark footer */
.wm__ccs { display: block; }
.wm__word {
  align-self: stretch; text-align: center; white-space: nowrap;
  font-family: var(--ff-mark); font-weight: 400; text-transform: uppercase;
  font-size: .52rem; letter-spacing: .26em; text-indent: .26em;
  padding: .3rem 0 .26rem; margin-top: .04rem;
  border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  color: var(--wmw, var(--ink));
}
.wm--light .wm__word { --wmw: var(--on-dark); }
.wm--lg .wm__word { font-size: .62rem; letter-spacing: .28em; text-indent: .28em; }
@media (max-width: 560px) {
  .wm__word { font-size: .46rem; letter-spacing: .2em; text-indent: .2em; }
}

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--ink-deep); color: var(--on-dark-dim);
  font-size: var(--fs-xs); letter-spacing: .01em;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 38px; flex-wrap: wrap;
}
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 720px) { .topbar span { display: none; } .topbar__in { justify-content: center; } }

/* A solid white bar, not a tinted translucent one. The logo is the point of
   this strip and a wash of page colour behind it flattens the contrast. */
.site {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(2,78,44,.04), 0 6px 24px rgba(2,78,44,.05);
}
.site__in { display: flex; align-items: center; gap: var(--s-5); min-height: 92px; }
.site__brand { text-decoration: none; color: var(--on-light); flex: 0 0 auto; }
.site__act { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
/* nowrap: "Solicitar fondos" wrapped to two lines and made the header button
   taller than the bar. The header degrades by dropping items at breakpoints,
   not by letting a label fold. */
.site__act .btn { padding: .6rem 1.05rem; font-size: var(--fs-sm); white-space: nowrap; }
.site__act .btn, .lang { flex-shrink: 0; }

.nav > ul { display: flex; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.nav a, .nav__toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem; border-radius: var(--r-sm);
  font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--on-light); background: none; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.nav a:hover, .nav__toggle:hover { background: var(--paper-2); }
.nav__has-menu { position: relative; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__toggle svg { transition: transform .18s ease; }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(680px, 78vw);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: var(--s-4); z-index: 110;
}
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mega a {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3); border-radius: var(--r); white-space: normal;
}
.mega a:hover { background: var(--paper-2); }
.mega .mi { color: var(--accent-deep); flex: 0 0 auto; margin-top: 2px; }
.mega .mt { display: flex; flex-direction: column; }
.mega .mt b { font-size: var(--fs-sm); }
.mega .mt i { font-style: normal; font-size: var(--fs-xs); color: var(--on-light-dim); line-height: 1.4; }
.mega__all {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: var(--s-3); padding: var(--s-3);
  font-size: var(--fs-sm); font-weight: 650; color: var(--accent-deep);
  border-top: 1px solid var(--line); width: 100%; text-decoration: none;
}

.burger {
  display: none; padding: .5rem; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: none; color: inherit; cursor: pointer;
}
.mobile { border-top: 1px solid var(--line); background: var(--white); }
.mobile__in { padding-block: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.mobile__lbl {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-light-dim); margin: var(--s-2) 0 0;
}
.mobile__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile__list a {
  display: block; padding: .68rem 0; font-weight: 600;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.mobile__mail {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); color: var(--on-light-dim); text-decoration: none;
}

/* Spanish labels are materially longer than their English equivalents
   ("Adelanto de efectivo" vs "Cash advance"), and the header was sized around
   the English ones — it overflowed 50px at 1280px on every Spanish page. The
   header now gives way in stages instead of assuming one language's word
   lengths: the secondary email button goes first, then the nav tightens, then
   the whole thing collapses to the burger. */
.site__in { min-width: 0; }
.nav { min-width: 0; }
.nav > ul { flex-wrap: nowrap; }
/* NOT flex-shrink: 0 — that is what pushed the bar 31px past a 320px viewport
   once the logo grew. The action group is allowed to shrink; what it must not
   do is wrap, so its contents drop out at breakpoints instead. */
.site__act { min-width: 0; }

@media (max-width: 1400px) {
  .site__mail { display: none; }
}
/* 1500, not 1320. Measured: at 1440 the Spanish nav cleared the action group by
   24px, which is exactly the flex gap — they were touching with no slack, and
   any future nav label would collide. Tightening earlier buys real room. */
@media (max-width: 1500px) {
  .nav a, .nav__toggle { padding-inline: .45rem; font-size: .82rem; }
  .nav > ul { gap: 0; }
  .lang { padding-inline: .5rem; }
  .site__in { gap: var(--s-4); }
}
@media (max-width: 1180px) {
  .nav, .site__mail { display: none; }
  .burger { display: inline-flex; }
}
/* Below this the bar is logo + one action + burger, and on the Spanish pages
   even that is tight. The primary CTA is the first item in the mobile menu, so
   dropping it from the bar costs nothing. */
@media (max-width: 560px) {
  .site__act .btn { display: none; }
  .site__in { min-height: 76px; gap: var(--s-3); }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(var(--s-8), 7vw, var(--s-10));
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 45%;
  height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  pointer-events: none;
}
.hero__in {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9)); align-items: center;
  position: relative; z-index: 1;
}
.hero__in > * { min-width: 0; }
.hero h1 { color: var(--on-dark); }
.hero__art { position: relative; }
.hero__art img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -14px; bottom: 26px;
  display: flex; flex-direction: column;
  background: var(--white); color: var(--on-light);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: var(--s-4) var(--s-5); max-width: 15rem;
}
.hero__badge span { color: var(--accent-deep); margin-bottom: .3rem; }
.hero__badge b { font-family: var(--ff-display); font-size: var(--fs-md); }
.hero__badge i { font-style: normal; font-size: var(--fs-xs); color: var(--on-light-dim); }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { aspect-ratio: 16 / 10; }
  .hero__badge { left: auto; right: 12px; bottom: -18px; }
}
@media (max-width: 520px) { .hero__badge { display: none; } }

/* Three stats side by side. A grid rather than flex-wrap, because the values
   are real sentences on the product pages ("Funded the same business day in
   many cases") and flex-wrap dropped a long one onto its own full-width row. */
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--s-5) var(--s-6); list-style: none;
        margin: var(--s-6) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--ink-line); }
@media (max-width: 560px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rail li { display: flex; flex-direction: column; min-width: 0; }
.rail b { font-family: var(--ff-display); font-size: var(--fs-md); line-height: 1.2;
          text-wrap: balance; }
.rail span { font-size: var(--fs-xs); color: var(--on-dark-dim); letter-spacing: .04em; }
.band:not(.band--dark) .rail { border-top-color: var(--line); }
.band:not(.band--dark) .rail span { color: var(--on-light-dim); }

.strip { background: var(--ink-deep); color: var(--on-dark); }
/* auto-fit rather than a fixed four columns: the first value is
   "$10,000 - $5,000,000" and at four equal columns it sat hard against the
   second item with no visual separation. */
.strip__in {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--s-5) var(--s-7); padding-block: var(--s-6);
}
.strip__in > * { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.strip b { font-family: var(--ff-display); font-size: var(--fs-lg); }
.strip span { font-size: var(--fs-xs); color: var(--on-dark-dim); }
@media (max-width: 860px) { .strip__in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .strip__in { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(var(--s-7), 6vw, var(--s-9)); }
.page-head--dark { background: var(--ink); color: var(--on-dark); }
.page-head--dark h1 { color: var(--on-dark); }
.crumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  font-size: var(--fs-xs); margin-bottom: var(--s-4); opacity: .82;
}
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb b { font-weight: 600; }

.phero {
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
}
.phero h1 { color: var(--on-dark); }
.phero__in {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center;
}
.phero__in > * { min-width: 0; }
.phero__art img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .phero__in { grid-template-columns: 1fr; } .phero__art { order: -1; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.card__ico { display: inline-flex; color: var(--accent-deep); margin-bottom: var(--s-3); }
.card h2, .card h3 { font-size: var(--fs-lg); }
/* The contact card's lead line is an email address — one unbreakable 33-character
   token that pushed the page 34px wide at 320px. Let long addresses break. */
.card__lead { font-size: var(--fs-md); font-weight: 600; overflow-wrap: anywhere; }
.foot__mail, .mobile__mail, .topbar a { overflow-wrap: anywhere; }
.card__sub  { font-size: var(--fs-sm); color: var(--on-light-dim); }
.card__big  { font-family: var(--ff-display); font-size: var(--fs-2xl); margin: 0 0 var(--s-4); }
.card--quiet { background: var(--paper-2); box-shadow: none; }
.band--dark .card { background: var(--ink-raised); border-color: var(--ink-line); color: var(--on-dark); }
.band--dark .card__ico { color: var(--accent); }
.band--dark .card__sub { color: var(--on-dark-dim); }

/* Five products into a three-column grid leaves a hole in the second row, so
   the product cards use flex and centre the trailing row instead. The basis is
   the same width a three-column grid would give, so nothing else shifts. */
.pcards {
  display: flex; flex-wrap: wrap; justify-content: center;
}
.pcards .pcard {
  flex: 0 1 calc((100% - var(--s-5) * 2) / 3);
  min-width: 15rem;
  display: flex; flex-direction: column; gap: var(--s-2);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.pcard__ico { color: var(--accent-deep); }
.pcard h3 { margin: var(--s-2) 0 0; }
.pcard p { font-size: var(--fs-sm); color: var(--on-light-dim); }
.pcard__meta {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem var(--s-4);
  margin: var(--s-3) 0 0; padding-top: var(--s-3);
  border-top: 1px solid var(--line); font-size: var(--fs-xs);
}
.pcard__meta dt { color: var(--on-light-dim); }
.pcard__meta dd { margin: 0; font-weight: 600; }
.pcard__go {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: auto; padding-top: var(--s-4);
  font-size: var(--fs-sm); font-weight: 650; color: var(--accent-deep);
}
.pcards.is-dark .pcard { background: var(--ink-raised); border-color: var(--ink-line); color: var(--on-dark); }
.pcards.is-dark .pcard p { color: var(--on-dark-dim); }
.pcards.is-dark .pcard__ico, .pcards.is-dark .pcard__go { color: var(--accent); }
.pcards.is-dark .pcard__meta { border-top-color: var(--ink-line); }
.pcards.is-dark .pcard__meta dt { color: var(--on-dark-dim); }

/* ---------- Specs ---------- */
.specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin: 0; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.spec { background: var(--paper); padding: var(--s-5) var(--s-6); min-width: 0; }
.spec dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em;
           color: var(--on-light-dim); margin-bottom: .3rem; }
.spec dd { margin: 0; font-family: var(--ff-display); font-size: var(--fs-md); }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

.minidl { display: grid; grid-template-columns: auto 1fr; gap: .35rem var(--s-4);
          margin: 0 0 var(--s-4); font-size: var(--fs-sm); }
.minidl dt { color: var(--on-light-dim); }
.minidl dd { margin: 0; font-weight: 600; text-align: right; }
.band--dark .minidl dt { color: var(--on-dark-dim); }

/* ---------- Lists ---------- */
.tick { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-3); }
.tick li { position: relative; padding-left: 1.85rem; }
.tick li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-deep);
  -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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 78% 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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.tick--dark li::before, .band--dark .tick li::before { background: var(--accent); }
ol.tick { counter-reset: t; }
ol.tick li::before { background: var(--accent-deep); }

.req__list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-4); }
.req__list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.req__ico {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent-deep);
}
.band--dark .req__ico { color: var(--accent); }
.req__list b { display: block; font-family: var(--ff-display); font-size: var(--fs-md); }
.req__list p { font-size: var(--fs-sm); color: var(--on-light-dim); margin: 0; }
.band--dark .req__list p { color: var(--on-dark-dim); }
.req__note { font-size: var(--fs-sm); color: var(--on-light-dim); }
.band--dark .req__note { color: var(--on-dark-dim); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
  counter-reset: step;
}
.steps > li {
  min-width: 0; position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.steps__n {
  position: absolute; top: var(--s-5); right: var(--s-5);
  font-family: var(--ff-display); font-size: var(--fs-2xl); line-height: 1;
  color: color-mix(in srgb, var(--accent) 42%, transparent);
}
.steps__ico { display: inline-flex; color: var(--accent-deep); margin-bottom: var(--s-3); }
.steps h3 { font-size: var(--fs-md); }
.steps p { font-size: var(--fs-sm); color: var(--on-light-dim); margin: 0; }
.band--dark .steps > li { background: var(--ink-raised); border-color: var(--ink-line); }
.band--dark .steps p { color: var(--on-dark-dim); }
.band--dark .steps__ico { color: var(--accent); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industry tiles ---------- */
.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 20rem; display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--ink) 94%, transparent) 0%,
    color-mix(in srgb, var(--ink) 78%, transparent) 38%,
    color-mix(in srgb, var(--ink) 26%, transparent) 72%,
    transparent 100%);
}
.tile__txt { position: relative; padding: var(--s-5); color: var(--tile-text); }
.tile__txt h3 { color: var(--tile-text); font-size: var(--fs-md); margin-bottom: .25rem; }
.tile__txt p { font-size: var(--fs-xs); color: var(--tile-sub); margin: 0; }

/* ---------- Reviews ---------- */
.rev {
  margin: 0; display: flex; flex-direction: column; gap: var(--s-4);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm);
}
.rev__stars { color: var(--accent-deep); letter-spacing: .12em; font-size: var(--fs-sm); }
.rev blockquote { margin: 0; }
.rev blockquote p { font-size: var(--fs-md); line-height: 1.55; }
.rev figcaption { display: flex; gap: var(--s-3); align-items: center; margin-top: auto;
                  padding-top: var(--s-4); border-top: 1px solid var(--line); }
.rev figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.rev figcaption span { display: flex; flex-direction: column; min-width: 0; }
.rev figcaption b { font-size: var(--fs-sm); }
.rev figcaption i, .rev figcaption em {
  font-style: normal; font-size: var(--fs-xs); color: var(--on-light-dim);
}
.revs.is-dark .rev { background: var(--ink-raised); border-color: var(--ink-line); color: var(--on-dark); }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.acc__row + .acc__row { border-top: 1px solid var(--line); }
.acc__row summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-6); cursor: pointer; list-style: none;
  font-family: var(--ff-display); font-size: var(--fs-md); font-weight: 600;
}
.acc__row summary::-webkit-details-marker { display: none; }
.acc__row summary:hover { background: var(--paper-2); }
.acc__ico { flex: 0 0 auto; color: var(--accent-deep); transition: transform .2s ease; }
.acc__row[open] .acc__ico { transform: rotate(180deg); }
.acc__body { padding: 0 var(--s-6) var(--s-5); }
.acc__body p { color: var(--on-light-dim); margin: 0; }
.band--dark .acc { background: var(--ink-raised); border-color: var(--ink-line); }
.band--dark .acc__row + .acc__row { border-top-color: var(--ink-line); }
.band--dark .acc__row summary:hover { background: var(--ink-line); }
.band--dark .acc__ico { color: var(--accent); }
.band--dark .acc__body p { color: var(--on-dark-dim); }

/* ---------- CTA ----------
   A warm tinted panel, not a dark slab. Sits inside the shell so it reads as a
   card closing the page rather than another full-bleed band. */
.cta { padding-block: var(--s-8); background: var(--paper); }
.cta__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); flex-wrap: wrap;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 20%, var(--white)) 0%,
    color-mix(in srgb, var(--accent) 9%,  var(--white)) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-6), 4vw, var(--s-8));
}
.cta h2 { margin-bottom: var(--s-2); }
.cta p { color: var(--on-light-dim); margin: 0; max-width: 52ch; }
.cta__act { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.cta .kicker { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Hero curve ----------
   The transition out of the one dark band on the page. A hard horizontal edge
   made the hero read as a separate site; the curve hands off to the light. */
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.hero__curve svg { display: block; width: 100%; height: clamp(38px, 5vw, 72px); }
.hero__curve path { fill: var(--ink-deep); }   /* matches .strip below it */

/* ---------- Apply / forms ---------- */
.apply { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(var(--s-6), 4vw, var(--s-8));
         align-items: start; }
.apply > * { min-width: 0; }
@media (max-width: 980px) { .apply { grid-template-columns: 1fr; } }
.apply__side { display: grid; gap: var(--s-5); position: sticky; top: 96px; }
@media (max-width: 980px) { .apply__side { position: static; } }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
        padding: clamp(var(--s-5), 3vw, var(--s-7)); box-shadow: var(--shadow-sm); }
.form__step {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-deep); margin: var(--s-6) 0 var(--s-4);
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--line);
}
.form__step:first-child { margin-top: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__row > * { min-width: 0; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { margin-bottom: var(--s-4); display: flex; flex-direction: column; }
.field label { font-size: var(--fs-sm); font-weight: 650; margin-bottom: .35rem; }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .72rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
  outline: none;
}
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea {
  border-color: var(--danger);
}
.field__hint { font-size: var(--fs-xs); color: var(--on-light-dim); margin: .3rem 0 0; }
.field__err  { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; margin: .3rem 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent { font-size: var(--fs-xs); color: var(--on-light-dim); }
.form__submit { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-5); }
.form__note { font-size: var(--fs-xs); color: var(--on-light-dim); margin: 0; }
.form__status {
  margin: var(--s-5) 0 0; padding: var(--s-4) var(--s-5);
  border-radius: var(--r); font-size: var(--fs-sm); font-weight: 600;
  border: 1.5px solid var(--line);
}
.form__status[data-state="ok"]   { border-color: var(--success); color: var(--success);
                                   background: color-mix(in srgb, var(--success) 10%, transparent); }
.form__status[data-state="fail"] { border-color: var(--danger); color: var(--danger);
                                   background: color-mix(in srgb, var(--danger) 10%, transparent); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(var(--s-6), 4vw, var(--s-8));
         align-items: start; }
.legal > * { min-width: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
.legal__toc { position: sticky; top: 96px; font-size: var(--fs-sm); }
@media (max-width: 900px) { .legal__toc { position: static; } }
.legal__toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em;
                 color: var(--on-light-dim); }
.legal__toc ol { margin: 0; padding-left: 1.15rem; display: grid; gap: .4rem; }
.legal__upd { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--on-light-dim); }
.legal__s { margin-bottom: var(--s-7); scroll-margin-top: 100px; }
.legal__s h2 { font-size: var(--fs-xl); }
.legal__body p { max-width: 72ch; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-dark); padding-block: var(--s-8) var(--s-6); }
.foot__top { display: grid; grid-template-columns: 1.05fr 1.6fr; gap: var(--s-7);
             padding-bottom: var(--s-7); border-bottom: 1px solid var(--ink-line); }
.foot__top > * { min-width: 0; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr; } }
.foot__pitch { color: var(--on-dark-dim); font-size: var(--fs-sm); margin: var(--s-4) 0; max-width: 40ch; }
.foot__mail { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-sm);
              font-weight: 600; text-decoration: none; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.foot__cols > * { min-width: 0; }
@media (max-width: 620px) { .foot__cols { grid-template-columns: 1fr; } }
.foot__cols h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .13em;
                 color: var(--on-dark-dim); margin-bottom: var(--s-4); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.foot__cols a { text-decoration: none; color: var(--on-dark); }
.foot__cols a:hover { text-decoration: underline; }
.foot address { font-style: normal; font-size: var(--fs-sm); color: var(--on-dark); margin-bottom: var(--s-4); }
.foot__hrs { color: var(--on-dark-dim); }
.foot__legal { padding-top: var(--s-6); }
.foot__legal p { font-size: var(--fs-xs); color: var(--on-dark-dim); max-width: 92ch; }
.foot__bar { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
             margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--on-dark-dim); }
.foot__bar ul { list-style: none; display: flex; gap: var(--s-4); margin: 0; padding: 0; }
.foot__bar a { color: var(--on-dark-dim); text-decoration: none; }
.foot__bar a:hover { color: var(--on-dark); text-decoration: underline; }

/* ---------- Reveal on scroll (progressive; content is visible without JS) ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- What it is ---------- */
.whatis__c {
  background: var(--ink-raised); border: 1px solid var(--ink-line);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.whatis__c h3 { font-size: var(--fs-md); }
.whatis__c p { color: var(--on-dark-dim); font-size: var(--fs-sm); margin: 0; }
.band:not(.band--dark) .whatis__c {
  background: var(--white); border-color: var(--line);
}
.band:not(.band--dark) .whatis__c p { color: var(--on-light-dim); }

/* ---------- Cost ---------- */
.cost { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-6), 4vw, var(--s-8));
        align-items: start; }
.cost > * { min-width: 0; }
@media (max-width: 900px) { .cost { grid-template-columns: 1fr; } }
.cost__intro p { font-size: var(--fs-md); }
.cost__card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow);
}
.band--dark .cost__card { background: var(--ink-raised); border-color: var(--ink-line); }
.cost__lbl {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-deep); margin: 0 0 var(--s-4);
}
.band--dark .cost__lbl { color: var(--accent); }
.cost__table { margin: 0 0 var(--s-4); display: grid; gap: 0; }
.cost__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--line);
}
.band--dark .cost__row { border-bottom-color: var(--ink-line); }
.cost__row:last-child { border-bottom: 0; }
.cost__row dt { color: var(--on-light-dim); font-size: var(--fs-sm); }
.band--dark .cost__row dt { color: var(--on-dark-dim); }
.cost__row dd { margin: 0; font-family: var(--ff-display); font-size: var(--fs-md); text-align: right; }
.cost__note { font-size: var(--fs-xs); color: var(--on-light-dim); margin: 0; }
.band--dark .cost__note { color: var(--on-dark-dim); }

/* ---------- Eligibility ---------- */
.elig__list { margin: 0 0 var(--s-5); display: grid; gap: 1px;
              background: var(--line); border: 1px solid var(--line);
              border-radius: var(--r-lg); overflow: hidden; }
.elig.is-dark .elig__list, .band--dark .elig__list { background: var(--ink-line); border-color: var(--ink-line); }
.elig__row { background: var(--paper); display: grid; grid-template-columns: 14rem 1fr;
             gap: var(--s-4); padding: var(--s-5) var(--s-6); align-items: baseline; }
.band--alt .elig__row { background: var(--paper-2); }
.band--dark .elig__row { background: var(--ink); }
@media (max-width: 640px) { .elig__row { grid-template-columns: 1fr; gap: var(--s-1); } }
.elig__row dt { font-size: var(--fs-sm); color: var(--on-light-dim); text-transform: uppercase;
                letter-spacing: .09em; font-weight: 700; }
.band--dark .elig__row dt { color: var(--on-dark-dim); }
.elig__row dd { margin: 0; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.elig__row dd b { font-family: var(--ff-display); font-size: var(--fs-lg); }
.elig__row dd span { font-size: var(--fs-sm); color: var(--on-light-dim); }
.band--dark .elig__row dd span { color: var(--on-dark-dim); }
.elig__note { font-size: var(--fs-sm); color: var(--on-light-dim); max-width: 80ch; }
.band--dark .elig__note { color: var(--on-dark-dim); }

/* ---------- Documents ---------- */
.docs { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-6); }
.docs > * { min-width: 0; }
@media (max-width: 800px) { .docs { grid-template-columns: 1fr; } }
.docs__col { background: var(--white); border: 1px solid var(--line);
             border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.band--dark .docs__col { background: var(--ink-raised); border-color: var(--ink-line); }
.band--alt .docs__col { box-shadow: var(--shadow); }
.docs__col h3 { font-size: var(--fs-md); }
.docs__have, .docs__not { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.docs__have li { display: flex; flex-direction: column; gap: .15rem; padding-left: 1.85rem; position: relative; }
.docs__have li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--accent-deep);
  -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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 78% 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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.band--dark .docs__have li::before { background: var(--accent); }
.docs__have b { font-size: var(--fs-sm); }
.docs__have span { font-size: var(--fs-xs); color: var(--on-light-dim); }
.band--dark .docs__have span { color: var(--on-dark-dim); }
.docs__not li { padding-left: 1.85rem; position: relative; font-size: var(--fs-sm);
                color: var(--on-light-dim); text-decoration: line-through;
                text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.band--dark .docs__not li { color: var(--on-dark-dim); }
.docs__not li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--on-light-dim); opacity: .5;
  -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='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 70% 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='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.docs__col--not { background: var(--paper-2); box-shadow: none; }
.band--dark .docs__col--not { background: var(--ink); }

/* ---------- Comparison table ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch;
             border: 1px solid var(--ink-line); border-radius: var(--r-lg); }
.band:not(.band--dark) .tablewrap { border-color: var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 46rem; font-size: var(--fs-sm); }
.cmp th, .cmp td { padding: var(--s-4) var(--s-5); text-align: left; vertical-align: top;
                   border-bottom: 1px solid var(--ink-line); }
.band:not(.band--dark) .cmp th, .band:not(.band--dark) .cmp td { border-bottom-color: var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--ff-display); font-size: var(--fs-sm);
                text-transform: uppercase; letter-spacing: .09em;
                color: var(--on-dark-dim); background: var(--ink-deep); }
.band:not(.band--dark) .cmp thead th { color: var(--on-light-dim); background: var(--paper-2); }
.cmp tbody th { font-family: var(--ff-display); font-weight: 600; width: 12rem; }
.cmp .is-ours { background: color-mix(in srgb, var(--accent) 13%, transparent); }
.cmp thead .is-ours { color: var(--accent); }
.band:not(.band--dark) .cmp thead .is-ours { color: var(--accent-deep); }
.cmp__note { font-size: var(--fs-sm); color: var(--on-dark-dim); margin: var(--s-4) 0 0; max-width: 80ch; }
.band:not(.band--dark) .cmp__note { color: var(--on-light-dim); }

/* ---------- Fit / not fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.fit > * { min-width: 0; }
@media (max-width: 800px) { .fit { grid-template-columns: 1fr; } }
.fit__col { border: 1px solid var(--line); border-radius: var(--r-lg);
            padding: var(--s-6); background: var(--white); box-shadow: var(--shadow-sm); }
.band--dark .fit__col { background: var(--ink-raised); border-color: var(--ink-line); }
.fit__col h3 { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-md);
               margin-bottom: var(--s-5); }
.fit__col h3 span { display: inline-flex; align-items: center; justify-content: center;
                    width: 2rem; height: 2rem; border-radius: 50%; flex: 0 0 auto; }
.fit__col--good h3 span { background: color-mix(in srgb, var(--success) 18%, transparent);
                          color: var(--success); }
.fit__col--bad h3 span  { background: color-mix(in srgb, var(--danger) 15%, transparent);
                          color: var(--danger); }
.fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3);
               font-size: var(--fs-sm); color: var(--on-light-dim); }
.band--dark .fit__col ul { color: var(--on-dark-dim); }
.fit__col--good { border-top: 3px solid var(--success); }
.fit__col--bad  { border-top: 3px solid var(--danger); }

/* ---------- Steps: clock time per step ---------- */
.steps__clock {
  display: inline-block; margin-bottom: var(--s-3);
  padding: .22rem .6rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-deep);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
}
.band--dark .steps__clock { color: var(--accent); }

/* ---------- ISO teaser ---------- */
.isoteaser { display: grid; grid-template-columns: 1.1fr .9fr;
             gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: center; }
.isoteaser > * { min-width: 0; }
@media (max-width: 860px) { .isoteaser { grid-template-columns: 1fr; } }
.isoteaser__pts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.isoteaser__pts li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); box-shadow: var(--shadow-sm);
}
.band--dark .isoteaser__pts li { background: var(--ink-raised); border-color: var(--ink-line); }

/* ---------- 404 destination cards ---------- */
.card--go { display: flex; flex-direction: column; text-decoration: none; color: inherit;
            transition: transform .18s ease, border-color .18s ease; }
.card--go:hover { transform: translateY(-3px); border-color: var(--accent); }
.card--go p { font-size: var(--fs-sm); color: var(--on-light-dim); margin: 0; }

/* ---------- Language switch ----------
   A quiet control, not a call to action. It sits beside the nav so a Spanish
   speaker finds it without hunting, and it never competes with "Get funded". */
.lang {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
  color: var(--on-light-dim); white-space: nowrap;
}
.lang::before {
  content: ""; width: 1.05rem; height: 1.05rem; flex: 0 0 auto;
  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='1.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%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='1.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lang:hover { background: var(--paper-2); color: var(--on-light); }
.lang--block { justify-content: center; border: 1px solid var(--line); margin-top: var(--s-2); }
@media (max-width: 1080px) { .site__act .lang { display: none; } }

/* =========================================================================
   Aesthetic layer — bright
   Royal blue and gold on white. No black anywhere: the dark tokens are all
   blues now, the hero is a photograph under a blue wash rather than a slab, and
   the grain overlay that suited a near-black page is gone. Three earlier
   directions were rejected as too dark or too muted; this one commits to light.
   ========================================================================= */

h1, h2 { letter-spacing: -0.015em; line-height: 1.06; }
h1 { text-wrap: balance; }
.lede { font-size: var(--fs-md); line-height: 1.6; max-width: 56ch; }
.spec dd, .cost__row dd, .elig__row dd b, .rail b, .strip b, .cmp td {
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero: a photograph under a blue wash ----------
   The reference site puts its headline over a tinted photo rather than over a
   flat colour, and it is most of why that page feels warm instead of corporate.
   The image is a background layer so the text can centre over it. */
.hero {
  background-color: var(--ink);
  /* The wash has to be light enough that the photograph is still a photograph.
     At 88% it was a flat blue panel with an invisible picture behind it. */
  background-image:
    linear-gradient(180deg,
      color-mix(in srgb, var(--ink) 72%, transparent) 0%,
      color-mix(in srgb, var(--ink) 62%, transparent) 42%,
      color-mix(in srgb, var(--ink-deep) 84%, transparent) 100%),
    var(--hero-photo, none);
  background-size: cover, cover;
  background-position: center, center;
  padding-block: clamp(var(--s-8), 8vw, 7.5rem);
}
.hero__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero__copy { max-width: 60rem; display: flex; flex-direction: column; align-items: center; }
.hero .lede { margin-inline: auto; }
.hero .btnrow { justify-content: center; }
.hero__art { display: none; }             /* the photograph IS the background now */
.hero .rail { justify-content: center; border-top-color: color-mix(in srgb, var(--on-dark) 26%, transparent); }
.hero .rail li { align-items: center; text-align: center; }
.hero h1 em, .hero h1 i { font-style: normal; color: var(--accent); }

/* ---------- Section labels ---------- */
.kicker {
  border: 0; padding: .34rem .8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent-deep) 10%, transparent);
  color: var(--accent-deep); letter-spacing: .13em;
}
.band--dark .kicker, .page-head .kicker, .phero .kicker, .cta .kicker {
  background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent);
}
/* The hero pill sits over a photograph, so a translucent fill makes its contrast
   depend on whatever is behind it — measured at 4.21:1 against this image, and it
   would change with the next one. An opaque fill is the only version that can be
   guaranteed: gold on --ink-deep is a fixed 7.62:1. */
.hero .kicker { background: var(--ink-deep); color: var(--accent); }

/* ---------- Buttons ----------
   Gold is the action colour on blue, blue is the action colour on white. Pill
   shaped, which reads friendlier than the square corners a darker scheme wanted. */
.btn { border-radius: 999px; font-weight: 600; }
.btn--lg { padding: 1rem 2.1rem; }
.band--dark .btn--solid, .hero .btn--solid, .page-head .btn--solid,
.phero .btn--solid, .cta .btn--solid {
  --btn-bg: var(--accent); --btn-fg: var(--ink-deep); --btn-bd: var(--accent);
}

/* ---------- Cards ---------- */
.card, .pcards .pcard, .steps > li, .rev, .acc, .form, .docs__col, .fit__col,
.whatis__c, .cost__card, .isoteaser__pts li {
  border-radius: 14px; box-shadow: 0 1px 2px rgba(2,78,44,.04), 0 10px 28px rgba(2,78,44,.06);
}
.pcards .pcard:hover { border-color: var(--accent-deep); transform: translateY(-3px); }
.pcard__ico, .card__ico, .steps__ico { color: var(--accent-deep); }
.steps__n { font-family: var(--ff-display); font-size: 3rem; color: var(--accent-deep); opacity: .16; }
.steps__clock {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--gold-deep); border-radius: 999px; padding: .22rem .66rem;
  font-family: var(--ff-ui); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Photography: left alone ----------
   The previous version printed every image as a duotone. It looked designed and
   the client did not want it — "nice picture" means the picture, in colour. Only
   the industry tiles keep a scrim, because type sits on them. */
.hero__art img, .phero__art img, .split__art img, .tile img { filter: none; mix-blend-mode: normal; }
.hero__art, .phero__art, .split__art { background: none; }
.split__art img, .phero__art img { border-radius: 14px; }
.phero__art::after, .hero__art::after { content: none; }
.rev figcaption img { filter: none; }

/* A gold rule under the industry tiles' headings, and a blue scrim that keeps
   the label legible without draining the photograph. */
.tile__scrim {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--ink-deep) 92%, transparent) 0%,
    color-mix(in srgb, var(--ink) 62%, transparent) 42%,
    transparent 78%);
}
.tile__txt h3::after {
  content: ""; display: block; width: 2.2rem; height: 2px;
  background: var(--accent); margin-top: .5rem;
}

/* ---------- CTA ---------- */
.cta { background: var(--paper-2); }
.cta__in {
  background: var(--ink); border: 0; border-radius: 20px;
  padding: clamp(var(--s-6), 5vw, 3.6rem);
}
.cta h2 { color: var(--on-dark); }
.cta p { color: var(--on-dark-dim); }

/* ---------- Load reveal ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }
  .hero__copy > :nth-child(1) { animation-delay: .04s; }
  .hero__copy > :nth-child(2) { animation-delay: .11s; }
  .hero__copy > :nth-child(3) { animation-delay: .18s; }
  .hero__copy > :nth-child(4) { animation-delay: .25s; }
  .hero__copy > :nth-child(5) { animation-delay: .32s; }
}

.foot { background: var(--ink-deep); }
.foot__cols h3 { font-family: var(--ff-ui); letter-spacing: .14em; color: var(--accent); }

/* Stats band — bold figures on the dark ink surface (Modern-funding register).
   Driven by STATS + SECTIONS["home_stats"], rendered by stats_band() in build.py. */
.statband { background: var(--ink); color: var(--on-dark); }
.statband .sechead .kicker { color: var(--accent); }
.statband .sechead h2 { color: var(--on-dark); }
.statband__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 2.25rem); margin-top: 2.25rem;
}
.statband__item { text-align: center; }
.statband__n {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 1.4vw + 1.7rem, 2.9rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--accent); font-variant-numeric: tabular-nums;
}
.statband__l {
  display: block; margin-top: .5rem; font-size: var(--fs-sm);
  color: var(--on-dark-dim); max-width: 22ch; margin-inline: auto;
}
@media (max-width: 720px) { .statband__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Hero: SPLIT layout ----------
   A two-column hero — copy on the left, a framed colour photograph with a floating
   figure badge on the right — deliberately distinct from the sibling's centred
   full-bleed photo hero. Overrides the centred-hero block earlier in this file. */
.hero--split { background-image: none; background-color: var(--ink); }
.hero--split .hero__in {
  grid-template-columns: 1.08fr .92fr; gap: clamp(var(--s-6), 5vw, var(--s-9));
  text-align: left; justify-items: stretch; align-items: center;
}
.hero--split .hero__copy { max-width: none; align-items: flex-start; }
.hero--split .lede { margin-inline: 0; }
.hero--split .btnrow { justify-content: flex-start; }
.hero--split .rail { justify-content: start; }
.hero--split .rail li { align-items: flex-start; text-align: left; }
.hero--split .hero__art { display: block; }
.hero--split .hero__art img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .hero--split .hero__in { grid-template-columns: 1fr; text-align: left; }
  .hero--split .hero__copy { align-items: flex-start; }
  .hero--split .hero__art { order: -1; }
  .hero--split .hero__art img { aspect-ratio: 16 / 10; }
}

/* ---------- Glass dashboard band ----------
   The value props as frosted-glass panels over a deep-teal field lit with
   turquoise glow — a luxury treatment. Scoped to .band--glass so no other card
   is touched. Needs a rich backdrop for the blur to read, hence the gradients. */
.band--glass {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(58% 80% at 12% -5%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
    radial-gradient(60% 85% at 102% 108%, color-mix(in srgb, var(--accent-deep) 42%, transparent), transparent 62%),
    linear-gradient(158deg, var(--ink) 0%, var(--ink-deep) 100%);
}
.band--glass .sechead .kicker {
  background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent);
}
.band--glass h2, .band--glass .card h3 { color: var(--on-dark); }
.band--glass .sechead .lede, .band--glass .lede { color: var(--on-dark-dim); }
.band--glass .card {
  background: linear-gradient(150deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 54px -26px rgba(0, 0, 0, .66);
  color: var(--on-dark); position: relative; overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.band--glass .card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
}
.band--glass .card p { color: var(--on-dark-dim); }
.band--glass .card__ico {
  color: var(--accent); padding: 10px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 22px -6px color-mix(in srgb, var(--accent) 65%, transparent);
}
.band--glass .card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -24px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .band--glass .card { background: color-mix(in srgb, var(--ink-raised) 86%, white 14%); }
}

/* The product cards carry the same frosted-glass treatment when on a glass band. */
.band--glass .pcard {
  background: linear-gradient(150deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 54px -26px rgba(0, 0, 0, .66);
  color: var(--on-dark); position: relative; overflow: hidden;
}
.band--glass .pcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
}
.band--glass .pcard h3 { color: var(--on-dark); }
.band--glass .pcard p { color: var(--on-dark-dim); }
.band--glass .pcard__meta { border-top-color: rgba(255, 255, 255, .14); }
.band--glass .pcard__meta dt { color: var(--on-dark-dim); }
.band--glass .pcard__meta dd { color: var(--on-dark); }
.band--glass .pcard__go { color: var(--accent); }
.band--glass .pcard__ico {
  color: var(--accent); align-self: flex-start; padding: 9px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 22px -6px color-mix(in srgb, var(--accent) 65%, transparent);
}
.band--glass .pcard:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -24px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .band--glass .pcard { background: color-mix(in srgb, var(--ink-raised) 86%, white 14%); }
}

/* Keep anchored sections clear of the fixed solid header on jump. */
[id] { scroll-margin-top: 116px; }

/* ---------- Bigger primary nav + taller bar ---------- */
.site__in { min-height: 104px; }
.nav a, .nav__toggle { font-size: 1.04rem; padding: .62rem .9rem; }
.nav > ul { gap: var(--s-3); }

/* ---------- Home hero: cinematic dark luxury ----------
   A full-bleed blue-hour cityscape under a deep-teal cinematic wash with a soft
   turquoise glow and vignette. Light, oversized display type. The header floats
   over it in LIGHT ink and turns solid white on scroll (main.js toggles
   .is-solid), inverting the nav + wordmark back to dark. */
.site--over {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent; box-shadow: none;
}
.site--over.is-solid {
  position: fixed; top: 0; background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(2,78,44, .05), 0 6px 24px rgba(2,78,44, .07);
}
/* Over the dark hero the nav, wordmark subtext and burger read light; on the
   solid bar they revert to the base dark styles. */
.site--over:not(.is-solid) .nav a,
.site--over:not(.is-solid) .nav__toggle { color: var(--on-dark); }
.site--over:not(.is-solid) .nav a:hover,
.site--over:not(.is-solid) .nav__toggle:hover { background: rgba(255, 255, 255, .12); }
.site--over:not(.is-solid) .wm { color: var(--accent); }
.site--over:not(.is-solid) .wm__word { --wmw: var(--on-dark); }
.site--over:not(.is-solid) .burger {
  color: var(--on-dark); border-color: rgba(255, 255, 255, .34);
}

.hero--photo {
  position: relative; color: var(--on-dark);
  min-height: min(92vh, 860px); display: flex; align-items: center;
  padding-top: clamp(150px, 16vh, 220px);
  padding-bottom: clamp(var(--s-8), 9vw, 7.5rem);
  background-image:
    linear-gradient(101deg,
      rgba(9,45,33, .95) 0%, rgba(9,45,33, .86) 30%,
      rgba(9,45,33, .58) 52%, rgba(10,50,37, .28) 72%, rgba(2,78,44, .10) 100%),
    radial-gradient(118% 92% at 86% 6%, rgba(48,223,152, .16), transparent 55%),
    linear-gradient(180deg, rgba(7,38,28, .55) 0%, transparent 24%, transparent 58%, rgba(5,28,20, .82) 100%),
    var(--hero-photo, none);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center 32%;
}
.hero--photo::after {   /* faint cinematic vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  box-shadow: inset 0 0 200px 46px rgba(4,22,16, .58);
}
.hero--photo .shell { position: relative; z-index: 1; }
.hero--photo .hero__in {
  grid-template-columns: 1fr; text-align: left; justify-items: start; align-items: center;
}
.hero--photo .hero__copy { max-width: 48rem; align-items: flex-start; }
.hero--photo h1 {
  color: var(--on-dark);
  font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: .98;
  letter-spacing: -.02em; text-wrap: balance;
}
.hero--photo .lede { color: var(--on-dark-dim); margin-inline: 0; max-width: 40rem; }
.hero--photo .btnrow { justify-content: flex-start; }
.hero--photo .kicker {
  background: rgba(48,223,152, .14); color: var(--accent);
  border: 1px solid rgba(48,223,152, .3);
}
.hero--photo .rail { justify-content: start; border-top-color: rgba(255, 255, 255, .18); }
.hero--photo .rail li { align-items: flex-start; text-align: left; }
.hero--photo .rail b { color: var(--on-dark); }
.hero--photo .rail span { color: var(--on-dark-dim); }
.hero--photo .btn--ghost {
  color: var(--on-dark); border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
}
.hero--photo .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--accent); }
@media (max-width: 620px) {
  .hero--photo {
    padding-top: clamp(118px, 20vh, 170px); min-height: 84vh;
    background-position: center, center, center, center 32%;
  }
  .hero--photo h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}

/* ---------- Product / interior split header: glass-dashboard treatment ----------
   Replaces the old flat dark band + plain photo frame. The band becomes the same
   turquoise-lit deep-teal field as .band--glass; the photo sits inside a frosted
   glass panel with the signature top highlight; the stat rail reads as three
   glass dashboard tiles. Applies to every page built with phead()/the product
   .phero, so the whole interior set gets the luxe glass look at once. */
.phero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(56% 78% at 8% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(64% 90% at 108% 118%, color-mix(in srgb, var(--accent-deep) 46%, transparent), transparent 62%),
    linear-gradient(158deg, var(--ink) 0%, var(--ink-deep) 100%);
}
/* The photo becomes a frosted glass dashboard panel. */
.phero__art {
  position: relative; border-radius: 24px; padding: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 34px 72px -30px rgba(0, 0, 0, .72);
}
.phero__art::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}
.phero__art img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 14px; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .62);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .phero__art { background: color-mix(in srgb, var(--ink-raised) 86%, white 14%); }
}
/* Stat rail -> three glass dashboard tiles. */
.phero .rail {
  border-top: 0; margin-top: var(--s-6); padding-top: 0; gap: var(--s-4);
}
.phero .rail li {
  padding: var(--s-4) var(--s-5); border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 40px -26px rgba(0, 0, 0, .6);
}
.phero .rail b { color: var(--on-dark); }
.phero .rail span { color: var(--on-dark-dim); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .phero .rail li { background: color-mix(in srgb, var(--ink-raised) 86%, white 14%); }
}

/* ---------- Luxe polish: editorial headings + refined section chips ----------
   Carries the cinematic hero's confidence through every section: bolder, tighter
   display headings and a hairline-bordered section chip, site-wide. */
h1, h2, .sechead h2, .phero h1, .cta h2 { font-weight: 700; letter-spacing: -0.028em; }
.sechead h2 { line-height: 1.04; }
@media (min-width: 1000px) {
  .sechead h2 { font-size: clamp(2.05rem, 3.3vw, 2.95rem); }
}
/* Refined section chip: a hairline edge + a little more tracking reads premium. */
.kicker {
  border: 1px solid color-mix(in srgb, var(--accent-deep) 24%, transparent);
  letter-spacing: .14em;
}
.band--dark .kicker, .band--glass .sechead .kicker, .page-head .kicker,
.phero .kicker, .cta .kicker, .hero--photo .kicker {
  border-color: rgba(48,223,152, .3);
}
