/* ==========================================================================
   ChargeHatch
   The live site uses the light theme. The dark theme is kept for the
   unlinked dark.html (built by scripts/sync-editions.mjs). Everything
   visual hangs off the tokens in html[data-theme="light"] and
   html[data-theme="dark"].
   ========================================================================== */

:root {
  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.72, 0, .24, 1);

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1480px;
  --nav-h: 76px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 26px;

  /* Brand constants (from the brand board) */
  --navy: #0B1F3B;
  --green: #00E6A6;
  --mint: #7FFFB7;
  --cloud: #F5F8FA;
}

/* Light edition: Cloud ------------------------------------------------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F8FA;
  --bg-2: #EBF0F4;
  --surface: #FFFFFF;
  --ink: #0B1F3B;
  --ink-2: #2B3F5C;
  --muted: #5C6D85;
  --line: rgba(11, 31, 59, .11);
  --line-2: rgba(11, 31, 59, .24);
  --ghost: rgba(11, 31, 59, .09);
  --hatch: rgba(11, 31, 59, .16);
  --accent: #00E6A6;
  --accent-text: #007A59;
  --on-accent: #0B1F3B;
  --led: #00C98F;
  --paper: #FFFFFF;
  --paper-ink: #0B1F3B;
  --printer: #0B1F3B;
  --glow: rgba(0, 230, 166, .22);
  --shadow: 0 1px 0 rgba(11, 31, 59, .04), 0 18px 40px -18px rgba(11, 31, 59, .28);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.12 0 0 0 0 0.23 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-opacity: .045;

  --inv-bg: #0B1F3B;
  --inv-surface: #102A4D;
  --inv-ink: #F5F8FA;
  --inv-ink-2: #C3CEDB;
  --inv-muted: #8C9DB4;
  --inv-line: rgba(245, 248, 250, .12);
  --inv-line-2: rgba(245, 248, 250, .28);
  --inv-accent-text: #00E6A6;
}

/* Dark edition: Navy --------------------------------------------------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08182F;
  --bg-2: #0B1F3B;
  --surface: #0F2645;
  --ink: #F5F8FA;
  --ink-2: #C3CEDB;
  --muted: #8494AC;
  --line: rgba(245, 248, 250, .09);
  --line-2: rgba(245, 248, 250, .22);
  --ghost: rgba(245, 248, 250, .08);
  --hatch: rgba(127, 255, 183, .14);
  --accent: #00E6A6;
  --accent-text: #00E6A6;
  --on-accent: #0B1F3B;
  --led: #00E6A6;
  --paper: #F5F8FA;
  --paper-ink: #0B1F3B;
  --printer: #12305A;
  --glow: rgba(0, 230, 166, .38);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 24px 60px -24px rgba(0, 0, 0, .7);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-opacity: .05;

  --inv-bg: #F5F8FA;
  --inv-surface: #FFFFFF;
  --inv-ink: #0B1F3B;
  --inv-ink-2: #2B3F5C;
  --inv-muted: #5C6D85;
  --inv-line: rgba(11, 31, 59, .11);
  --inv-line-2: rgba(11, 31, 59, .26);
  --inv-accent-text: #007A59;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 1.02vw, 17px);
  font-weight: 450;
  line-height: 1.62;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  background-image: var(--grain);
  opacity: var(--grain-opacity);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 120;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.mono {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.45;
}
.muted { color: var(--muted); }
.ico { width: 1em; height: 1em; flex: none; }

/* Logo ------------------------------------------------------------------ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand-mark { width: 44px; height: 27px; color: var(--accent); }
.brand-word {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.brand-word span { color: var(--accent); }
html[data-theme="light"] .brand-word span { color: #00CF95; }

/* Buttons: battery-shaped, with a charge sweep on hover ------------------ */
.btn {
  --b: var(--ink);
  --fg: var(--ink);
  --bgc: transparent;
  --fill: var(--ink);
  --fg-h: var(--bg);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  margin-right: 7px;
  border: 1.5px solid var(--b);
  border-radius: 11px;
  background: var(--bgc);
  color: var(--fg);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border-radius: 7px;
  background: var(--fill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 4.5px;
  height: 16px;
  margin-top: -8px;
  border-radius: 0 3px 3px 0;
  background: var(--b);
}
.btn:hover { color: var(--fg-h); }
.btn:hover::before { transform: scaleX(1); }
.btn .ico { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }

.btn-accent {
  --b: var(--accent);
  --fg: var(--on-accent);
  --bgc: var(--accent);
  --fill: var(--navy);
  --fg-h: var(--accent);
}
html[data-theme="dark"] .btn-accent { --fill: var(--cloud); --fg-h: var(--navy); }
.btn-ghost { --b: var(--line-2); --fill: var(--ink); --fg-h: var(--bg); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .85rem; border-radius: 9px; }
.btn-sm::before { border-radius: 6px; }
.btn-sm::after { height: 13px; margin-top: -6.5px; }

/* Nav ------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, transform .5s var(--ease-out);
}
.nav.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 13px;
  color: var(--ink-2);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 22px; }

.nav-batt { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.nb-cell {
  position: relative;
  width: 30px;
  height: 14px;
  padding: 2px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}
.nb-cell::after {
  content: "";
  position: absolute;
  right: -5px; top: 3.5px;
  width: 2.5px; height: 4px;
  border-radius: 0 1.5px 1.5px 0;
  background: currentColor;
}
.nb-cell i {
  display: block;
  height: 100%;
  width: calc(var(--charge, 0) * 1%);
  min-width: 2px;
  border-radius: 1.5px;
  background: var(--accent);
}
.nb-pct { min-width: 4.3ch; text-align: right; }
.nav-batt.is-full .nb-cell { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 16px; height: 10px; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 79;
  padding: 24px var(--gutter) 40px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a.mm-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
  animation: mm-in .6s var(--ease-out) both;
}
.mobile-menu a.mm-link:nth-child(2) { animation-delay: .04s; }
.mobile-menu a.mm-link:nth-child(3) { animation-delay: .08s; }
.mobile-menu a.mm-link:nth-child(4) { animation-delay: .12s; }
.mobile-menu a.mm-link:nth-child(5) { animation-delay: .16s; }
.mobile-menu a.mm-link:nth-child(6) { animation-delay: .2s; }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }
@keyframes mm-in { from { opacity: 0; transform: translateY(14px); } }

/* Reveal ---------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Section scaffolding --------------------------------------------------- */
.section { position: relative; padding-block: clamp(88px, 10.5vw, 168px); }
.sec-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 72px);
  color: var(--muted);
}
.sec-head .sh-i { color: var(--accent-text); font-family: var(--font-mono); font-size: .78rem; }
.sec-head .sh-rule {
  flex: 1;
  height: 1px;
  background: var(--line-2);
  transform-origin: left;
  transform: scaleX(var(--rule, 1));
  transition: transform 1.4s var(--ease-out);
}
.js .sec-head[data-reveal] { opacity: 1; transform: none; --rule: 0; }
.js .sec-head[data-reveal].is-in { --rule: 1; }

.h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h2 .soft { color: var(--muted); }
.h2 .line { display: block; }
.h2 .g { color: var(--accent-text); }
.lede {
  max-width: 36em;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ==========================================================================
   Story: hero + three steps share one sticky 3D stage
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  column-gap: clamp(24px, 4vw, 72px);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.story-hero {
  grid-column: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--nav-h) + 48px) 72px;
}
.hero-title {
  margin: 0 0 30px;
  font-size: clamp(2.7rem, 6.3vw, 7.1rem);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.055em;
}
.ht-flat {
  display: flex;
  align-items: center;
  gap: .4em;
  margin-bottom: .3em;
  font-size: .42em;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--muted);
}
.js .ht-flat > span:first-child { opacity: 0; }
.is-loaded .ht-flat > span:first-child { animation: flicker 1.1s steps(1) .15s forwards; }
@keyframes flicker {
  0% { opacity: 0; } 10% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: .85; }
  38% { opacity: .2; } 52% { opacity: 1; } 100% { opacity: 1; }
}
.lowbatt { display: inline-flex; align-items: center; gap: .3em; -webkit-text-stroke: 0; color: #FF5A4E; }
.lowbatt .lb-cell {
  position: relative;
  width: .95em; height: .48em;
  padding: .07em;
  border: .07em solid currentColor;
  border-radius: .12em;
}
.lowbatt .lb-cell::after {
  content: ""; position: absolute; right: -.17em; top: 30%; width: .09em; height: 40%;
  border-radius: 0 .05em .05em 0; background: currentColor;
}
.lowbatt .lb-cell i { display: block; width: 12%; height: 100%; border-radius: .04em; background: currentColor; animation: blink 1.2s steps(1) infinite; }
.lowbatt .mono { font-size: .34em; letter-spacing: .04em; }
@keyframes blink { 50% { opacity: 0; } }

.ht-charged { display: block; }
.ht-line {
  display: block;
  width: fit-content;
  padding: .02em .06em .14em 0;
  margin: -.02em -.06em -.14em 0;
  color: transparent;
  background-image: linear-gradient(90deg, var(--ink) 0 46.6%, var(--accent) 46.6% 50%, var(--ghost) 50% 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
}
html:not(.js) .ht-line { background-position: 0 0; }
.is-loaded .ht-line { animation: charge-fill 1.6s var(--ease-io) .55s forwards; }
.is-loaded .ht-line + .ht-line { animation-delay: 1.05s; }
@keyframes charge-fill { to { background-position: 0 0; } }
.ht-line .g { color: transparent; }

.hero-lede { max-width: 31em; color: var(--ink-2); font-size: clamp(1.04rem, 1.3vw, 1.24rem); line-height: 1.6; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 38px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  border-top: 1px solid var(--line-2);
  max-width: 640px;
}
.hero-facts > div { flex: 1 1 0; min-width: 150px; padding: 18px 22px 0 0; }
.hero-facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); }
.hero-facts dd { margin-top: 7px; font-size: 1.04rem; font-weight: 700; letter-spacing: -.02em; }
.hero-facts dd b { color: var(--accent-text); font-weight: 800; }

/* Hero entrance */
.js .hero-in { opacity: 0; transform: translateY(18px); }
.is-loaded .hero-in { animation: hero-in 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Sticky 3D stage ------------------------------------------------------- */
.story-visual {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.sv-frame { position: absolute; inset: calc(var(--nav-h) + 10px) 0 26px; }
.sv-frame::before {
  /* crop marks */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line-2), var(--line-2)) left top / 16px 1px,
    linear-gradient(var(--line-2), var(--line-2)) left top / 1px 16px,
    linear-gradient(var(--line-2), var(--line-2)) right top / 16px 1px,
    linear-gradient(var(--line-2), var(--line-2)) right top / 1px 16px,
    linear-gradient(var(--line-2), var(--line-2)) left bottom / 16px 1px,
    linear-gradient(var(--line-2), var(--line-2)) left bottom / 1px 16px,
    linear-gradient(var(--line-2), var(--line-2)) right bottom / 16px 1px,
    linear-gradient(var(--line-2), var(--line-2)) right bottom / 1px 16px;
  background-repeat: no-repeat;
}
.sv-glow {
  position: absolute;
  left: 50%; top: 56%;
  width: min(92%, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(closest-side, var(--glow), transparent 72%);
}
.sv-glow::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 9px);
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent 100%);
  mask: radial-gradient(closest-side, #000 40%, transparent 100%);
  opacity: .9;
}
.sv-fallback {
  position: absolute;
  left: 50%; top: 52%;
  height: min(64%, 520px);
  width: auto;
  transform: translate(-50%, -50%);
  transition: opacity .8s, visibility .8s;
}
.sv-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  /* feather the stage edges so nothing ends in a hard crop */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent);
  mask-composite: intersect;
}
.sv-canvas canvas { width: 100% !important; height: 100% !important; }
.is-ready .sv-canvas { opacity: 1; }
.is-ready .sv-fallback { opacity: 0; visibility: hidden; }

.sv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sv-label {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  will-change: transform;
}
.sv-label.is-on { opacity: 1; }
.sv-label .dot {
  position: absolute;
  left: -4.5px; top: -4.5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
}
.sv-label .lead {
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 1px;
  background: var(--ink);
  opacity: .55;
  transform-origin: 0 0;
  transform: rotate(-38deg);
}
.sv-label .tag {
  position: absolute;
  left: 34px; bottom: 26px;
  padding: 7px 11px 6px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--muted);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.sv-label .tag b { color: var(--ink); font-weight: 500; }
.sv-label .tag b + span { margin-left: 6px; }
.sv-label[data-side="left"] .lead { transform: rotate(-142deg); }
.sv-label[data-side="left"] .tag { left: auto; right: 34px; }
.sv-label[data-v="down"] .lead { transform: rotate(38deg); }
.sv-label[data-v="down"] .tag { bottom: auto; top: 26px; }
.sv-label[data-v="down"][data-side="left"] .lead { transform: rotate(142deg); }

.sv-caption { position: absolute; left: 22px; bottom: 16px; color: var(--muted); }
.sv-progress { position: absolute; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.sv-progress .mono { margin-right: 6px; }
.sv-progress i {
  position: relative;
  width: 20px; height: 9px;
  border: 1px solid var(--line-2);
  border-radius: 2.5px;
  overflow: hidden;
}
.sv-progress i::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 1px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--f, 0));
}

/* Steps ----------------------------------------------------------------- */
.story-head { grid-column: 1; padding-top: clamp(40px, 10vh, 120px); }
.story-step {
  grid-column: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  padding-block: 64px;
  opacity: .32;
  transition: opacity .7s var(--ease-out);
}
.story-step.is-active { opacity: 1; }
.step-count { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.step-count .n { color: var(--accent-text); }
.step-count .bar { width: 64px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.step-count .bar::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .1s;
}
.story-step.is-active .step-count .bar::after { transform: scaleX(1); }
.step-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}
.step-title .ico-wrap {
  display: grid;
  place-items: center;
  width: .9em; height: .9em;
  border-radius: .2em;
  background: var(--accent);
  color: var(--navy);
}
.step-title .ico-wrap .ico { width: .5em; height: .5em; }
.step-text { margin-top: 22px; color: var(--ink-2); font-size: clamp(1.04rem, 1.3vw, 1.22rem); line-height: 1.6; max-width: 30em; }
.step-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.step-notes li { padding: 7px 12px 6px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }

/* ==========================================================================
   The deal: benefits + printed receipt
   ========================================================================== */
.deal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
}
.benefits { margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.benefit {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.benefit::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.benefit:hover::before { transform: scaleX(1); }
.b-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  color: var(--accent-text);
  transition: background-color .5s, color .5s, border-color .5s;
}
.b-ico .ico { width: 22px; height: 22px; }
.benefit:hover .b-ico { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.b-title { font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; padding-top: 10px; }
.b-text { color: var(--ink-2); padding-top: 10px; }

/* Receipt */
.receipt { position: sticky; top: calc(var(--nav-h) + 40px); width: 100%; max-width: 410px; margin-left: auto; }
.printer {
  position: relative;
  z-index: 2;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--printer);
  color: #C3CEDB;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.printer .p-led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.printer .p-mark { width: 30px; height: 19px; color: var(--green); margin-left: auto; }
.printer::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 11px;
  height: 6px;
  border-radius: 4px;
  background: #020812;
}
.receipt-roll { position: relative; margin: -17px 34px 0; padding: 0 0 26px; overflow: hidden; }
.receipt-paper {
  position: relative;
  padding: 40px 26px 30px;
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.5;
  box-shadow: 0 12px 30px -16px rgba(11, 31, 59, .45);
}
.receipt-paper::after {
  /* torn zigzag edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
    linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
.js .receipt-paper { transform: translateY(-102%); }
.js .receipt.is-in .receipt-paper { animation: print 3s var(--ease-io) .2s forwards; }
@keyframes print {
  0% { transform: translateY(-102%); }
  22% { transform: translateY(-78%); }
  28% { transform: translateY(-76%); }
  52% { transform: translateY(-44%); }
  58% { transform: translateY(-42%); }
  100% { transform: translateY(0); }
}
.rc-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.rc-head svg { width: 46px; height: 28px; color: var(--navy); }
.rc-head strong { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; }
.rc-meta { display: flex; justify-content: space-between; margin-top: 22px; color: #5C6D85; font-size: .72rem; }
.rc-sep { height: 0; margin: 14px 0; border-top: 1.5px dashed rgba(11, 31, 59, .3); }
.rc-sep.solid { border-top-style: solid; border-top-color: var(--paper-ink); }
.rc-lines li { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.rc-lines li span:first-child { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.rc-lines li span:first-child::after { content: ""; flex: 1; border-bottom: 1.5px dotted rgba(11, 31, 59, .3); transform: translateY(-3px); }
.rc-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 500; }
.rc-earn {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 6px;
  background: var(--green);
  color: var(--navy);
  font-weight: 500;
}
.rc-thanks { margin-top: 18px; text-align: center; color: #5C6D85; font-size: .72rem; }
.rc-barcode {
  height: 38px;
  margin: 14px auto 0;
  width: 78%;
  background:
    repeating-linear-gradient(90deg,
      var(--paper-ink) 0 2px, transparent 2px 4px,
      var(--paper-ink) 4px 5px, transparent 5px 8px,
      var(--paper-ink) 8px 11px, transparent 11px 12px,
      var(--paper-ink) 12px 13px, transparent 13px 16px,
      var(--paper-ink) 16px 17px, transparent 17px 19px);
}

/* ==========================================================================
   Earnings: money flow + calculator
   ========================================================================== */
.earn-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.earn-top .lede { margin-top: 0; }

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, .5fr) minmax(0, 1fr) minmax(70px, .5fr) minmax(0, 1fr);
  align-items: stretch;
  margin-top: clamp(56px, 7vw, 100px);
}
.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.flow-node .fn-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.flow-node .fn-top .ico { width: 26px; height: 26px; color: var(--accent-text); }
.flow-node h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.flow-node p { color: var(--ink-2); }
.flow-node.is-core { background: var(--navy); border-color: var(--navy); color: var(--cloud); }
.flow-node.is-core .fn-top, .flow-node.is-core p { color: #C3CEDB; }
.flow-node.is-core .fn-top .ico { color: var(--green); }
html[data-theme="dark"] .flow-node.is-core { background: #133663; border-color: rgba(0, 230, 166, .4); }
.flow-node.is-you { background: var(--green); border-color: var(--green); color: var(--navy); }
.flow-node.is-you .fn-top, .flow-node.is-you p, .flow-node.is-you .fn-top .ico { color: var(--navy); }

.flow-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.fl-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px);
}
.fl-line i {
  position: absolute;
  top: 50%; left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  animation: flow-x 2.6s linear infinite;
}
.fl-line i:nth-child(2) { animation-delay: -.87s; }
.fl-line i:nth-child(3) { animation-delay: -1.74s; }
@keyframes flow-x { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.fl-tag { padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(56px, 7vw, 110px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.calc-inputs { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 34px; }
.calc-inputs .calc-h { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.range-field { display: flex; flex-direction: column; gap: 12px; }
.rf-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rf-top label { font-weight: 650; letter-spacing: -.01em; }
.rf-top output { font-family: var(--font-mono); font-size: 1.05rem; color: var(--ink); }
.rf-scale { display: flex; justify-content: space-between; color: var(--muted); }

input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--line-2) var(--fill));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 18px;
  margin-top: -6px;
  border-radius: 5px;
  background: var(--ink);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--ink), 0 4px 10px -2px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease-out);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 12px;
  border-radius: 5px;
  background: var(--ink);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--ink);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc-result {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
  background: var(--navy);
  color: var(--cloud);
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  right: -30%; bottom: -60%;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 230, 166, .35), transparent 70%);
  pointer-events: none;
}
html[data-theme="dark"] .calc-result { background: #0F2A50; }
.calc-result .label { color: #8C9DB4; position: relative; }
.calc-big {
  position: relative;
  margin-top: 14px;
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-big small { font-size: .3em; letter-spacing: -.02em; color: #8C9DB4; font-weight: 600; margin-left: .2em; }
.calc-meter { position: relative; display: flex; gap: 5px; margin-top: 30px; }
.calc-meter i {
  flex: 1;
  height: 22px;
  border-radius: 4px;
  background: rgba(245, 248, 250, .1);
  transition: background-color .45s, box-shadow .45s;
}
.calc-meter i.on { background: var(--green); box-shadow: 0 0 14px rgba(0, 230, 166, .45); }
.calc-sub { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(245, 248, 250, .14); }
.calc-sub dt { color: #8C9DB4; }
.calc-sub dd { margin-top: 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc-note { position: relative; margin-top: auto; padding-top: 30px; color: #8C9DB4; font-size: .82rem; line-height: 1.5; }

/* ==========================================================================
   Venues accordion
   ========================================================================== */
.venues-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.venues-top .lede { margin-top: 0; }
.venues { border-bottom: 1px solid var(--line-2); }
.venue-btn {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto 48px;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border: 0;
  border-top: 1px solid var(--line-2);
  background: none;
  text-align: left;
  cursor: pointer;
}
.v-idx { color: var(--muted); transition: color .4s; }
.v-title {
  font-size: clamp(1.9rem, 4.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  transition: transform .7s var(--ease-out), color .4s;
}
.v-list { color: var(--muted); text-align: right; }
.v-icon { position: relative; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 50%; transition: background-color .4s, border-color .4s; }
.v-icon::before, .v-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out);
}
.v-icon::after { transform: rotate(90deg); }
.venue-btn:hover .v-title { transform: translateX(14px); }
.venue.is-open .v-idx { color: var(--accent-text); }
.venue.is-open .v-icon { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.venue.is-open .v-icon::after { transform: rotate(0deg); }
.venue-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.venue.is-open .venue-panel { grid-template-rows: 1fr; }
.vp-clip { min-height: 0; overflow: hidden; }
.vp-inner {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  padding: 4px 0 clamp(30px, 3.5vw, 48px);
}
.vp-line {
  grid-column: 2;
  max-width: 24em;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.vp-spots { grid-column: 3; display: flex; flex-direction: column; gap: 12px; }
.vp-spots .label { color: var(--muted); }
.vp-spots ul { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-spots li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 6px; border-radius: 999px; background: var(--bg-2); font-size: .86rem; font-weight: 600; }
.vp-spots li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   Network band (inverted)
   ========================================================================== */
.invert {
  --bg: var(--inv-bg);
  --bg-2: color-mix(in srgb, var(--inv-ink) 7%, var(--inv-bg));
  --surface: var(--inv-surface);
  --ink: var(--inv-ink);
  --ink-2: var(--inv-ink-2);
  --muted: var(--inv-muted);
  --line: var(--inv-line);
  --line-2: var(--inv-line-2);
  --accent-text: var(--inv-accent-text);
  background: var(--bg);
  color: var(--ink);
}
.network { overflow: hidden; }
.network::before {
  /* one restrained nod to the brand swoosh */
  content: "";
  position: absolute;
  right: -18vw; top: -30vw;
  width: 70vw; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 7vw color-mix(in srgb, var(--accent) 5%, transparent);
  pointer-events: none;
}
.net-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.net-top .lede { margin-top: 0; }
.route-wrap { position: relative; margin-top: clamp(64px, 8vw, 120px); }
.route-wrap > .label { color: var(--muted); display: flex; align-items: center; gap: 12px; }
.route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 34px; }
.stop { position: relative; padding: 50px 22px 0 0; }
.stop::before, .stop::after {
  content: "";
  position: absolute;
  left: 22px; right: 0; top: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.stop::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--f, 0)); }
.stop:last-child::before, .stop:last-child::after { display: none; }
.stop-dot {
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  width: 22px; height: 22px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color .5s, background-color .5s, box-shadow .5s;
}
.stop.is-key .stop-dot { border-radius: 7px; }
.stop.is-reached .stop-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.stop-time { display: block; color: var(--muted); }
.stop-place { display: block; margin-top: 8px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.stop-act { display: block; margin-top: 6px; color: var(--ink-2); font-size: .9rem; }
.stop.is-key .stop-act { color: var(--accent-text); font-weight: 700; }
.stop-batt { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); }
.stop-batt .cell {
  position: relative;
  width: 44px; height: 18px;
  padding: 2px;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
}
.stop-batt .cell::after { content: ""; position: absolute; right: -5px; top: 5px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: var(--line-2); }
.stop-batt .cell i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2.5px;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.stop.is-reached .stop-batt .cell i { width: calc(var(--lvl) * 100%); }
.stop:first-child .stop-batt .cell i { background: #FF5A4E; }

.net-vision {
  position: relative;
  max-width: 21em;
  margin-top: clamp(90px, 11vw, 170px);
  font-size: clamp(1.8rem, 3.7vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.net-vision .soft { color: var(--muted); }
.net-vision em {
  font-style: normal;
  background: linear-gradient(var(--accent), var(--accent)) left 94% / 0 .1em no-repeat;
  transition: background-size 1.6s var(--ease-out) .3s;
}
.net-vision.is-in em { background-size: 100% .1em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 130px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 36px); }
.faq-aside .lede a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq-list { border-bottom: 1px solid var(--line-2); }
.faq-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid var(--line-2);
  background: none;
  text-align: left;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
}
.faq-btn .v-icon { width: 36px; height: 36px; }
.faq-btn .v-icon::before, .faq-btn .v-icon::after { width: 12px; margin-left: -6px; }
.faq-item.is-open .v-icon { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.faq-item.is-open .v-icon::after { transform: rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel p { padding: 0 54px 28px 0; color: var(--ink-2); max-width: 40em; }

/* ==========================================================================
   Host: the green card
   ========================================================================== */
.host { padding-top: 0; }
.host-card {
  --ink: #0B1F3B;
  --ink-2: #163156;
  --muted: rgba(11, 31, 59, .68);
  --line: rgba(11, 31, 59, .16);
  --line-2: rgba(11, 31, 59, .4);
  --accent-text: #0B1F3B;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  padding: clamp(32px, 6vw, 88px);
  border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--green);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.host-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%; bottom: -70%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
  opacity: .55;
}
.host-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(11, 31, 59, .07) 0 1px, transparent 1px 10px);
  -webkit-mask: linear-gradient(115deg, transparent 45%, #000 100%);
  mask: linear-gradient(115deg, transparent 45%, #000 100%);
}
.host-card ::selection { background: var(--navy); color: var(--green); }
.host-card :focus-visible { outline-color: var(--navy); }
.host-copy .h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
.host-copy .lede { color: var(--ink-2); }
.host-direct { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.host-direct .label { color: var(--muted); }
.host-direct a { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid currentColor; align-self: flex-start; }

.host-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1.5px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  outline: none;
  transition: border-color .3s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 31, 59, .42); font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230B1F3B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select option { color: #0B1F3B; background: #fff; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 8px; }
.btn-navy { --b: var(--navy); --fg: var(--cloud); --bgc: var(--navy); --fill: var(--cloud); --fg-h: var(--navy); }
.form-note { max-width: 26em; color: var(--muted); font-size: .84rem; line-height: 1.45; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; padding: clamp(72px, 9vw, 130px) 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: 40px; }
.foot-brand p { margin-top: 18px; color: var(--muted); }
.foot-col h3 { color: var(--muted); margin-bottom: 16px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.foot-col a:hover { color: var(--accent-text); }
.foot-mark { margin-top: clamp(56px, 7vw, 110px); width: 100%; height: auto; overflow: visible; }
.foot-mark text { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.06em; }
.foot-mark .fm-a { fill: var(--ink); }
.foot-mark .fm-b { fill: url(#fm-hatch); stroke: var(--accent); stroke-width: 1.2; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-end { margin-left: auto; }
}

@media (max-width: 960px) {
  :root { --nav-h: 66px; }

  .story { display: block; }
  .story-hero { min-height: auto; padding-block: calc(var(--nav-h) + 52px) 48px; }
  .story-visual {
    position: sticky;
    top: var(--nav-h);
    z-index: 2;
    height: 54vh;
    height: 54svh;
    margin-inline: calc(var(--gutter) * -1);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .sv-frame { inset: 14px var(--gutter) 14px; }
  .sv-caption { left: 14px; bottom: 10px; }
  .sv-progress { right: 14px; bottom: 10px; }
  .sv-label .tag { padding: 5px 8px 4px; font-size: .66rem; }
  .story-head { position: relative; z-index: 1; padding-top: 56px; }
  .story-step { position: relative; z-index: 1; min-height: 70vh; min-height: 70svh; padding-block: 40px; max-width: none; }

  .deal-grid, .earn-top, .venues-top, .net-top, .faq-grid, .host-card { grid-template-columns: minmax(0, 1fr); }
  .receipt { position: relative; top: auto; margin-inline: auto; }
  .faq-aside { position: static; }

  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-link { flex-direction: row; justify-content: flex-start; height: 84px; padding-left: 40px; }
  .fl-line {
    width: 2px; height: 100%;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px);
  }
  .fl-line i { left: 50%; top: 0; animation-name: flow-y; }
  @keyframes flow-y { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

  .calc { grid-template-columns: minmax(0, 1fr); }

  .route { grid-template-columns: minmax(0, 1fr); }
  .stop { padding: 0 0 38px 46px; }
  .stop::before, .stop::after { left: 10px; right: auto; top: 22px; bottom: 0; width: 2px; height: auto; }
  .stop::after { transform: scaleY(var(--f, 0)); transform-origin: top; }
  .stop-batt { margin-top: 12px; }

  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-inner, .nav-end { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 23px; }
  .brand-word { font-size: 1.08rem; }
  .nav-toggle { padding: 0 12px; gap: 9px; }
  .nav-batt .nb-pct { display: none; }
  .nav-end .btn-sm { display: none; }
  .sv-caption { display: none; }
  .sv-label .tag .more { display: none; }
  .hero-facts > div { min-width: 0; padding-right: 12px; }
  .hero-facts > div + div { padding-left: 12px; }
  .hero-facts dd { font-size: .9rem; }

  .benefit { grid-template-columns: 46px minmax(0, 1fr); gap: 6px 16px; }
  .b-ico { width: 40px; height: 40px; border-radius: 10px; }
  .b-ico .ico { width: 19px; height: 19px; }
  .b-text { grid-column: 2; padding-top: 0; }
  .b-title { padding-top: 8px; }

  .venue-btn { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 12px; }
  .v-list { display: none; }
  .v-icon { width: 38px; height: 38px; }
  .vp-inner { grid-template-columns: 34px minmax(0, 1fr); gap: 18px 12px; }
  .vp-line, .vp-spots { grid-column: 2; }

  .host-form { grid-template-columns: minmax(0, 1fr); }
  .receipt-roll { margin-inline: 22px; }
  .foot-top { grid-template-columns: 1fr; }
}

/* Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ht-line { background-position: 0 0; }
  .js .hero-in, .js .ht-flat > span:first-child { opacity: 1; transform: none; }
  .js .receipt-paper { transform: none; }
  .fl-line i { display: none; }
}
