/* ==========================================================================
   Sequoia Strategies, Webfunnel v2, stylesheet

   Layout language borrowed from sellmoreloans.io (left-aligned two-column
   fold, numbered bordered grids, mono-labelled record cards, alternating
   warm bands, one full-bleed green band, a dark closing section).
   Colour, type and button shape are the Sequoia brand kit, unchanged:
   Inter + IBM Plex Mono, Deep Green pills, Signal Gold highlight, Ink/Cream.
   ========================================================================== */

:root {
  /* Brand */
  --green: #007354;
  --green-deep: #005c43;
  --green-ink: #0B3D2E;      /* dark-green band */
  --green-tint: #E6F2EC;     /* selected row / check tile */
  --gold: #FAB239;
  --gold-tint: #FDE9BF;      /* the one highlight per section */
  --ink: #1B1917;
  --ink-2: #2B2825;
  --cream: #FBF7F0;
  --paper: #FFFFFF;          /* page ground: white */
  --sand: #F1ECE2;           /* deeper cream band */
  --white: #FFFFFF;
  --grey: #F6F6F6;           /* the one section/row tint on a white page */
  --line: #E4E0D6;           /* brand slate border, warmed to sit on cream */
  --line-strong: #CFC9BC;
  --muted: #6B6660;
  --dim: #8A857D;            /* italic second clause in headlines */
  --night: #0F1311;          /* closing section */
  --night-2: #171C19;
  /* Full brand palette (v1 palette, now 02-Areas/acquisition/brandkit/_v1-archive/_brandkit-v1.md) */
  --blue: #3295C9;           /* Blue Bell */
  --blue-deep: #2878A8;
  --bronze: #FAB239;         /* Honey Bronze */
  --bronze-deep: #B8720E;    /* bronze darkened for text on light */
  --p-green: #7EB5A2;        /* Pastel Green */
  --p-blue: #97C6DD;         /* Pastel Blue */
  --p-bronze: #FBD595;       /* Pastel Bronze */
  --p-green-soft: #E3EFE9;   /* pastel washes for section fills */
  --p-blue-soft: #E7F1F7;
  --p-bronze-soft: #FDF1DC;
  --mint: #7EB5A2;           /* green accent on dark = Pastel Green */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: 28px;
  --r: 14px;
  --r-lg: 20px;
  /* Depth by surface size: small interactive chips sit light, big surfaces read thicker */
  --shadow-sm: 0 1px 2px rgba(27,25,23,.06), 0 2px 6px -2px rgba(27,25,23,.08);
  --shadow: 0 1px 2px rgba(27,25,23,.04), 0 12px 32px -16px rgba(27,25,23,.18);
  --shadow-lg: 0 2px 4px rgba(27,25,23,.04), 0 24px 56px -24px rgba(27,25,23,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* Anchor jumps land below the sticky nav, not under it */
section[id], [id="top"] { scroll-margin-top: 72px; }

/* One visible focus ring for keyboard users */
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Type -------------------------------------------------------- */
.h1 { font-size: clamp(38px, 4.6vw, 58px); }
.h2 { font-size: clamp(34px, 4vw, 50px); }
.h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.h4 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; text-wrap: pretty; }
.display { font-size: clamp(36px, 5.2vw, 66px); letter-spacing: -0.035em; line-height: 1.02; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.dim { font-style: italic; font-weight: 500; color: var(--dim); }
.ul { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.ul--bronze { text-decoration-color: var(--bronze); }
.c-green { color: var(--green); }
.c-blue { color: var(--blue); }
.c-bronze { color: var(--bronze-deep); }
.c-pgreen { color: var(--p-green); }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow .n { color: var(--accent, var(--green)); text-transform: none; }
.eyebrow .n::after { content: " · "; color: var(--line-strong); }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s ease-out;
  white-space: nowrap;
}
@media (hover: hover) { .btn:hover { background: var(--green-deep); border-color: var(--green-deep); } }
/* Feedback lives on the press, and it is instant */
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { padding: 20px 36px; font-size: 20px; }
.btn--sm { padding: 12px 22px; font-size: 18px; }
.btn--ghost { background: transparent; color: var(--blue-deep); border-color: var(--blue); box-shadow: none; }
@media (hover: hover) { .btn--ghost:hover { background: var(--p-blue-soft); border-color: var(--blue-deep); color: var(--blue-deep); } }
.btn--ink { background: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: #000; border-color: #000; }
.steplabel {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 8px;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Nav --------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
/* Scroll edge: a soft fade where content meets the floating bar, only once content is under it */
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background: linear-gradient(rgba(27,25,23,.07), rgba(27,25,23,0));
  opacity: 0; transition: opacity .2s var(--ease);
}
.nav.is-scrolled::after { opacity: 1; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: #4A4642; font-weight: 500; letter-spacing: .005em; font-size: 18px; transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left center; will-change: transform; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Sections ---------------------------------------------------- */
.sec { padding: 88px 0; border-top: 1px solid var(--line); }
.sec--grey { background: var(--grey); }
.sec--tight { padding: 72px 0; }
.sec__head { max-width: 760px; margin-bottom: 44px; }
.sec__head .lead { margin-top: 18px; max-width: 640px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .lead { margin-left: auto; margin-right: auto; }
.sec__foot { display: flex; justify-content: center; margin-top: 48px; }
.copy { max-width: 760px; }
.copy p { margin-bottom: 1.15em; }
.copy--wide { max-width: 920px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split--tight { gap: 48px; }
.split--spec { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.split > .sticky { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .sec { padding: 64px 0; }
  .sec--tight { padding: 48px 0; }
  .sec__head { margin-bottom: 36px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split > .sticky { position: static; }
}

/* ---------- Hero -------------------------------------------------------- */
/* One column: eyebrow, headline, sub, then the VSL directly beneath, then
   the buttons. The VSL is deliberately narrow (copy doc: ~640px cap). */
.hero { padding: 36px 0 44px; text-align: center; }
.hero__grid { display: grid; grid-template-columns: 1fr; justify-items: center; row-gap: 0; }
.hero__top { max-width: 940px; }
.hero__bot { display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 12px; }
.hero .h1 { margin: 0 0 26px; font-size: clamp(34px, 3.2vw, 43px); letter-spacing: -0.032em; line-height: 1.08; }
.hero .vsl { max-width: 560px; margin: 0 auto 20px; }
.hero .cta-row { justify-content: center; }
.hero__reassure { margin-top: 12px; font-size: 18px; color: var(--muted); }
@media (max-width: 900px) {
  .nav__in { height: 60px; }
  .nav__logo img { height: 28px; }
  .hero { padding: 14px 0 24px; text-align: left; }
  .hero__grid { justify-items: stretch; row-gap: 12px; }
  .hero__bot { align-items: stretch; }
  .hero .vsl { max-width: 300px; margin: 0 auto; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero .h1 { font-size: clamp(28px, 7.7vw, 32px); margin-bottom: 4px; }
  .hero__reassure { margin-top: 8px; }
  .hero .steplabel { margin-bottom: 6px; }
  .hero .cta-row { gap: 6px; }
  .hero .btn--lg { padding: 15px 22px; font-size: 18px; width: 100%; }
  .hero .btn--ghost { width: 100%; border: 0; background: none; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
}

/* VSL frame, small on purpose; anyone who wants it will full-screen it. */
.vsl { width: 100%; max-width: 640px; }
.vsl__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9;
  padding: 0; border: 0; border-radius: var(--r);
  background: var(--green-ink);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-lg);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  outline-offset: 4px;
}
.vsl__frame::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.vsl__ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--white); }
.vsl__play {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--green);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  transition: transform .2s var(--ease);
}
.vsl__play svg { width: 24px; height: 24px; margin-left: 3px; }
@media (hover: hover) { .vsl__frame:hover .vsl__play { transform: scale(1.06); } }
.vsl__frame:active .vsl__play { transform: scale(.94); transition-duration: .1s; }
.vsl__meta { font-family: var(--mono); font-size: 18px; opacity: .9; }
.vsl__frame iframe, .vsl__frame wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 900px) { .vsl { max-width: 100%; } }

/* ---------- Numbered bordered grid (01 / 02 / 03 cards) ---------------- */
.ngrid {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.ngrid--2 { grid-template-columns: repeat(2, 1fr); }
.ngrid--3 { grid-template-columns: repeat(3, 1fr); }
.ngrid--4 { grid-template-columns: repeat(4, 1fr); }
.ncard { padding: 34px 30px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.ngrid--2 .ncard:nth-child(2n), .ngrid--3 .ncard:nth-child(3n), .ngrid--4 .ncard:nth-child(4n) { border-right: 0; }
.ngrid--2 .ncard:nth-last-child(-n+2), .ngrid--3 .ncard:nth-last-child(-n+3), .ngrid--4 .ncard:nth-last-child(-n+4) { border-bottom: 0; }
.ncard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ncard__n { font-family: var(--mono); font-size: 18px; color: var(--accent, var(--muted)); }
.ncard__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tile, var(--grey)); border: 1px solid rgba(27,25,23,.06); color: var(--ink); }
.ncard__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ncard .h4 { margin-bottom: 12px; }
.ncard p { color: var(--muted); font-size: 18px; }
.ncard p strong { color: var(--ink); }
@media (max-width: 1000px) {
  .ngrid--4 { grid-template-columns: repeat(2, 1fr); }
  .ngrid--4 .ncard:nth-child(4n) { border-right: 1px solid var(--line); }
  .ngrid--4 .ncard:nth-child(2n) { border-right: 0; }
  .ngrid--4 .ncard:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .ngrid--4 .ncard:nth-last-child(-n+2) { border-bottom: 0; }
  .ngrid--3 { grid-template-columns: 1fr; }
  .ngrid--3 .ncard { border-right: 0; border-bottom: 1px solid var(--line); }
  .ngrid--3 .ncard:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .ngrid--2, .ngrid--4 { grid-template-columns: 1fr; }
  .ngrid .ncard { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 26px 22px; }
  .ngrid .ncard:last-child { border-bottom: 0 !important; }
}

/* ---------- Icon tile grid (deliverables style) ------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.tile__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--tile, var(--white)); border: 1px solid rgba(27,25,23,.06); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.tile__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile .h4 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 18px; }
.tile p strong { color: var(--ink); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Spec table (numbered rows, mono labels) --------------------- */
.spec { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.spec__group { padding: 18px 26px; background: var(--grey); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.spec__group + .spec__row { border-top: 0; }
.spec__gt { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.spec__gd { font-family: var(--mono); font-size: 18px; color: var(--muted); }
.spec__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 20px 26px; border-top: 1px solid var(--line); transition: background .2s; }
@media (hover: hover) { .spec__row:hover { background: var(--grey); } }
.spec__n { font-family: var(--mono); font-size: 18px; color: var(--accent, var(--muted)); padding-top: 3px; }
.spec__body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.spec__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tile, var(--grey)); border: 1px solid rgba(27,25,23,.06); display: grid; place-items: center; color: var(--ink); }
.spec__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spec__t { font-weight: 600; letter-spacing: -0.01em; }
.spec__d { color: var(--muted); margin-top: 4px; font-size: 18px; }
.spec__d strong { color: var(--ink); }
.spec__d em { color: var(--ink); }
@media (max-width: 640px) {
  .spec__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 18px; }
  .spec__group { padding: 16px 18px; flex-direction: column; gap: 4px; }
  .spec__body { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
}

/* ---------- Record card (the proof device) ------------------------------ */
.record { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.record__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 18px; color: var(--muted); }
.record__head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-deep); }
.record__head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--p-blue-soft); }
.record__sub { padding: 16px 24px 0; font-family: var(--mono); font-size: 18px; color: var(--muted); }
.record__sub b { display: block; color: var(--ink); font-weight: 600; margin-top: 2px; }
.record__table { margin: 16px 16px 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.record__r { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 18px; }
.record__r:first-child { border-top: 0; }
.record__r:nth-child(2n) { background: var(--grey); }
.record__k { color: var(--muted); }
.record__v { font-weight: 600; }
.record__t { font-family: var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.record__t.ok { color: var(--green); }
.record__foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--grey); font-family: var(--mono); font-size: 18px; color: var(--muted); }
@media (max-width: 640px) {
  .record__r { grid-template-columns: 1fr; gap: 2px; }
  .record__t { text-align: left; }
  .record__foot { flex-direction: column; }
}

/* ---------- Band (full-bleed green) ------------------------------------- */
.band { background: var(--green-ink); color: var(--white); padding: 88px 0; }
.band--green { background: var(--green); }
.band__in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.band .display, .band .h2 { color: var(--white); }
.band .lead { color: rgba(255,255,255,.78); }
.band .btn { background: var(--white); color: var(--green-deep); border-color: var(--white); }
@media (hover: hover) { .band .btn:hover { background: var(--grey); border-color: var(--grey); } }
.band .btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.band .btn--ink:hover { background: #000; }
.band--center { text-align: center; }
.band--center .band__in { grid-template-columns: 1fr; justify-items: center; }
@media (max-width: 900px) { .band { padding: 60px 0; } .band__in { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 1px; background: var(--line-strong); }
.tstep { position: relative; padding: 0 26px 0 0; }
.tstep__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 14px; background: var(--p-blue); border: 1px solid rgba(27,25,23,.06); display: grid; place-items: center; color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 18px; box-shadow: var(--shadow-sm); }
.tstep__when { margin-top: 22px; font-family: var(--mono); font-size: 18px; color: var(--blue-deep); }
.tstep .h4 { margin-top: 6px; margin-bottom: 8px; }
.tstep p { color: var(--muted); font-size: 18px; }
.tstep p strong { color: var(--ink); }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 26px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; }
  .tstep { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding-right: 0; }
  .tstep__when { margin-top: 4px; }
}

/* ---------- Operator / polaroid ----------------------------------------- */
.polaroid { background: var(--white); padding: 14px 14px 46px; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); width: min(100%, 380px); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid__cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--mono); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.pull { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--bronze); }
@media (max-width: 900px) { .polaroid { margin: 0 auto; transform: rotate(-1.5deg); } }

/* ---------- Case study -------------------------------------------------- */
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.case__card { background: var(--green-ink); color: var(--white); border-radius: var(--r-lg); padding: 32px; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.case__card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.case__card > * { position: relative; }
.case__rec { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 18px; color: var(--p-green); letter-spacing: .08em; }
.case__rec span::before { content: "● "; }
.case__logo { background: var(--white); border-radius: 12px; padding: 22px 26px; width: fit-content; }
.case__logo img { height: 44px; width: auto; }
.case__who { margin-top: 18px; }
.case__who b { display: block; font-size: 22px; letter-spacing: -0.015em; }
.case__who span { color: rgba(255,255,255,.7); font-size: 18px; }
.case__quote { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 26px; }
.kv { border-top: 1px solid var(--line-strong); }
.kv__r { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.kv__k { font-family: var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.kv__v { font-weight: 600; text-align: right; }
.kv__v em { font-style: normal; color: var(--green); }
.case__note { margin-top: 22px; color: var(--muted); font-size: 18px; }
.case__note strong { color: var(--ink); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 32px; } .case__card { min-height: 0; gap: 28px; } }

/* ---------- Guarantee --------------------------------------------------- */
.guar { text-align: center; }
.guar .display { max-width: 18ch; margin: 0 auto 32px; }
.guar__body { max-width: 780px; margin: 0 auto; text-align: left; }
.guar__body p { margin-bottom: 1.15em; }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.checks .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; margin-top: 3px; }
.checks .ck svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checks li em { color: var(--muted); }
.guar__cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; }

/* ---------- Notice (who this is for) ------------------------------------ */
.notice { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 34px 36px; background: var(--white); max-width: 860px; }
.notice .h3 { margin-bottom: 14px; }
.notice ul { display: grid; gap: 12px; margin-top: 18px; }
.notice li { position: relative; padding-left: 28px; color: var(--muted); }
.notice li::before { content: "×"; position: absolute; left: 0; top: -1px; font-family: var(--mono); font-size: 22px; color: var(--bronze-deep); }
.notice li strong { color: var(--ink); }
@media (max-width: 640px) { .notice { padding: 24px 22px; } }

/* ---------- FAQ --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 600; font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; }
.faq__q { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.faq__q:active { opacity: .6; }
.faq__q .faq__n { font-family: var(--mono); font-weight: 500; color: var(--blue-deep); font-size: 18px; margin-right: 14px; }
.faq__plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__plus::before { width: 14px; height: 2px; }
.faq__plus::after { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__i.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { color: var(--muted); padding-bottom: 22px; max-width: 62ch; }
.faq__a p strong { color: var(--ink); }
.faq--card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); border-top: 1px solid var(--line); }
.faq--card .faq__i { padding: 0 22px; }
.faq--card .faq__i:last-child { border-bottom: 0; }

/* ---------- Closing (dark) ---------------------------------------------- */
.finale { background: var(--night); color: var(--white); padding: 110px 0; border-top: 0; }
.finale .eyebrow { color: var(--mint); --accent: var(--p-bronze); }
.finale .display { color: var(--white); }
.finale .display .dim { color: rgba(255,255,255,.42); }
.finale .lead { color: rgba(255,255,255,.72); }
.finale__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.finale__copy p { color: rgba(255,255,255,.72); }
.finale__copy p strong { color: var(--white); }
.finale__copy p em { color: rgba(255,255,255,.55); }
.finale .checks li { color: var(--white); }
.finale .checks .ck { background: var(--mint); color: var(--night); }
.applycard { background: var(--night-2); border: 1.5px solid var(--mint); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 0 0 6px rgba(126,181,162,.08), 0 30px 60px -30px rgba(0,0,0,.8); }
.applycard .steplabel { color: var(--mint); }
.applycard__form { margin-top: 2px; }
.applycard__form { min-height: 520px; border-radius: 12px; overflow: hidden; background: var(--night); position: relative; }
.applycard__form.is-loading::before { content: "Loading the application…"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 18px; color: rgba(255,255,255,.5); }
.applycard__form > div { height: 560px; }
.applycard__form iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; }
.applycard__foot { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.5); }
.applycard__foot a { color: var(--mint); }
@media (max-width: 900px) { .finale { padding: 64px 0; } .finale__grid { grid-template-columns: 1fr; gap: 36px; } .applycard { padding: 16px; } }

/* ---------- Footer ------------------------------------------------------ */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__top p { color: var(--muted); font-size: 18px; max-width: 40ch; margin-top: 16px; }
.footer__h { font-weight: 600; margin: 0 0 12px !important; color: var(--ink) !important; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--green); text-decoration: none; font-size: 18px; }
.footer li a:hover { text-decoration: underline; }
.f-logo { height: 34px; width: auto; }
.footer__legal { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 18px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__disc { margin-top: 22px; color: var(--dim); font-size: 18px; line-height: 1.5; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Confirmation page ------------------------------------------- */
.confirm-hero { padding: 56px 0 48px; text-align: center; }
.confirm-hero .eyebrow { color: var(--green); }
.confirm-hero .h1 { max-width: 24ch; margin: 0 auto 32px; font-size: clamp(30px, 3.6vw, 46px); }
.confirm-hero .vsl { margin: 0 auto; max-width: 820px; }
.confirm-hero__next { margin-top: 28px; font-size: 20px; font-weight: 600; }
.confirm-hero__next .steplabel { margin: 0 0 6px; }
.confirm-hero__links { margin-top: 12px; color: var(--muted); font-size: 18px; }
.confirm-hero__links a { color: var(--green); }
.vgroup { margin-top: 48px; }
.vgroup:first-child { margin-top: 0; }
.vgroup__h { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.vgroup__h .h3 { white-space: nowrap; }
.vgroup__h::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.vcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; }
.vcard__t { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 6px; }
.vcard__d { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.vcard .vsl { max-width: 100%; }
.vcard .vsl__frame { border-radius: 10px; box-shadow: none; }
.vcard .vsl__play { width: 56px; height: 56px; }
@media (max-width: 800px) { .vgrid { grid-template-columns: 1fr; } }
.textme { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 48px; }

/* ---------- Section accent system --------------------------------------
   Each section carries one brand colour. --accent is the saturated colour
   (numerals, hover edges), --tile is the pastel it sits on (icon tiles). */
[data-accent="green"]  { --accent: var(--green);       --tile: var(--p-green); }
[data-accent="blue"]   { --accent: var(--blue-deep);   --tile: var(--p-blue); }
[data-accent="bronze"] { --accent: var(--bronze-deep); --tile: var(--p-bronze); }
/* Section v cycles its three groups: build = blue, run = green, own = bronze */
.spec__group--build, .spec__group--build ~ .spec__row { --accent: var(--blue-deep);   --tile: var(--p-blue); }
.spec__group--run, .spec__group--run ~ .spec__row { --accent: var(--green);       --tile: var(--p-green); }
.spec__group--own, .spec__group--own ~ .spec__row { --accent: var(--bronze-deep); --tile: var(--p-bronze); }
.spec__gd { color: var(--accent, var(--muted)); }

/* ---------- Reveal ------------------------------------------------------ */
/* Only hidden once the script is running, so content can never get stuck invisible */
.js .rv { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .nav, .nav::after, .btn, .vsl__play, .faq__a, .faq__plus::before, .faq__plus::after { transition: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #8F8A82; --line-strong: #6B6660; --muted: #4A4642; }
  .nav { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--line-strong); }
  .nav::after { display: none; }
}

/* ========== Apply page (JustScale-style single column) ========== */
.apply__hero { padding: 72px 0 28px; text-align: center; }
.apply__logo { height: 30px; width: auto; margin: 0 auto 40px; display: block; }
.apply__hero .h1 { max-width: 820px; margin: 0 auto 18px; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.032em; line-height: 1.1; }
.apply__sub { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: 20px; line-height: 1.55; }
.apply__vsl { padding: 12px 0 32px; }
.apply__vsl .vsl { max-width: 860px; margin: 0 auto; }
.apply__form { padding: 0 0 72px; }
.apply__form .applycard { max-width: 720px; margin: 0 auto; }
.apply__faq { padding: 80px 0 96px; border-top: 1px solid var(--line); }
.apply__faq .wrap { max-width: 820px; }
.apply__faqh { text-align: center; margin-bottom: 36px; }
.faq__rich { color: var(--muted); }
.faq__rich p { padding-bottom: 0; margin-bottom: 1.1em; }
.faq__rich .checks { margin-bottom: 1.1em; }
.faq__rich .checks span { color: var(--muted); }
.faq__rich strong { color: var(--ink); }
.faq__rich .mt { margin-top: 22px; padding-bottom: 22px; }
@media (max-width: 640px) {
  .apply__hero { padding: 48px 0 20px; }
  .apply__logo { margin-bottom: 28px; }
  .apply__sub { font-size: 18px; }
  .apply__faq { padding: 60px 0 72px; }
}
.apply__form .applycard { background: var(--white); border: 1px solid var(--line); box-shadow: none; padding: 0; overflow: hidden; }
.apply__form .applycard__form { background: var(--white); margin: 0; }
.apply__form .applycard__form.is-loading::before { color: var(--muted); }
.apply__form .applycard__foot { color: var(--muted); padding: 0 20px 16px; }
