/* IonVolt website. The app's night palette: black page, navy sky, and the four
   energy colours (volt-ios/Volt/Design/Theme.swift, dark values). */
@font-face {
  font-family: "Sora";
  src: url("/fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --solar: #ffc73d;
  --battery: #61e39e;
  --grid: #8c9eff;
  --car: #5cd6fa;
  --home: #f5f5fa;
  --mint: #ccffe3;
  --deep: #1f9966;
  --navy-top: #212e47;
  --navy: #080d17;
  --page: #000;
  --raise: #0d1119;
  --card: rgba(255, 255, 255, 0.055);
  --card-line: rgba(255, 255, 255, 0.09);
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --link: #61e39e;
  --wrap: 1040px;
  --display: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--page); scroll-padding-top: 64px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 17px/1.5 var(--text); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--battery); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--battery); color: #002414;
  padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* text colours for the energy words */
.solar { color: var(--solar); } .battery { color: var(--battery); }
.grid-c { color: var(--grid); } .car { color: var(--car); }
.grad { background: linear-gradient(90deg, var(--solar), var(--battery) 45%, var(--car) 75%, var(--grid));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav .wrap { height: 52px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font: 600 19px/1 var(--display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ink); opacity: 0.78; font-size: 13px; letter-spacing: 0; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav ul a[aria-current="page"] { color: var(--battery); }
.nav .cta { font-size: 12px; font-weight: 600; color: #002414; background: var(--battery); padding: 6px 12px; border-radius: 980px; white-space: nowrap; }
.nav .cta:hover { text-decoration: none; background: var(--mint); }
.nav details { display: none; margin-left: auto; }
@media (max-width: 760px) {
  .nav ul.links { display: none; }
  .nav details { display: block; }
  .nav details summary { list-style: none; cursor: pointer; padding: 11px; margin-right: -11px; color: var(--ink); }
  .nav details summary::-webkit-details-marker { display: none; }
  .nav details summary svg { width: 22px; height: 22px; }
  .nav details[open] summary .open { display: none; }
  .nav details:not([open]) summary .close { display: none; }
  .nav details ul { position: absolute; left: 0; right: 0; top: 52px; display: block; margin: 0; padding: 8px 24px 20px;
    background: rgba(0, 0, 0, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav details ul a { display: block; padding: 12px 0; font-size: 19px; opacity: 1; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav .cta { display: none; }
}

/* ---- buttons and store badges ---- */
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; line-height: 1;
  padding: 13px 24px; border-radius: 980px; background: var(--battery); color: #002414; }
.pill:hover { text-decoration: none; background: var(--mint); }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.pill.ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.more { font-size: 17px; color: var(--link); }
.more::after { content: " ›"; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: var(--ink); text-align: left; }
a.store:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; color: var(--ink-2); letter-spacing: 0.01em; }
.store b { display: block; font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 6px 12px; border-radius: 980px; background: rgba(255, 255, 255, 0.07); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--solar); }
.tag { display: inline-block; font: 700 10px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 6px; border-radius: 5px; vertical-align: 2px; }
.tag.beta { color: var(--solar); background: rgba(255, 199, 61, 0.14); }
.tag.ok { color: var(--battery); background: rgba(97, 227, 158, 0.14); }
.tag.soon { color: var(--car); background: rgba(92, 214, 250, 0.14); }

/* ---- night sky ---- */
.sky { position: relative; overflow: clip;
  background: radial-gradient(120% 70% at 50% 0%, var(--navy-top) 0%, #0f1626 38%, var(--navy) 70%, var(--page) 100%); }
.sky::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.8;
  background-image:
    radial-gradient(1px 1px at 12% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 31%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 22%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 27%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 38%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 44%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 40%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 47%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 19% 55%, rgba(255,255,255,.3) 50%, transparent 51%); }
/* the real full Moon (NASA's Scientific Visualization Studio, from Lunar Reconnaissance Orbiter data) */
.moon { position: absolute; top: 62px; right: max(6vw, calc(50% - 470px)); width: 60px; height: 60px; border-radius: 50%;
  background: url("/img/moon-240.webp") center / cover no-repeat;
  box-shadow: 0 0 36px 8px rgba(235, 238, 245, 0.16), 0 0 120px 40px rgba(235, 238, 245, 0.06); }

/* ---- page heads ---- */
.hero { text-align: center; padding: 88px 0 0; position: relative; }
.eyebrow { font: 600 19px/1.2 var(--display); color: var(--battery); letter-spacing: -0.01em; margin: 0 0 12px; }
.hero h1 { font-size: clamp(44px, 8.4vw, 96px); line-height: 1.1; letter-spacing: -0.035em; }
.lede { font-size: clamp(19px, 2.4vw, 25px); line-height: 1.35; color: var(--ink-2); max-width: 30em; margin: 20px auto 0; }
.head { padding: 96px 0 56px; text-align: center; }
.head h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; }
.head .lede { margin-top: 18px; }
/* the App Store header art under a page head: its own night sky fades into the page's at the edges */
.lineup { margin: calc(48px - 8vw) 0 -6vw; } /* its sky runs up behind the lede */
.lineup img { position: relative; z-index: -1; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
/* under 1200 px the nine phones would drop below Apple's 200 px minimum: the middle three instead */
@media (max-width: 1199px) { .lineup { margin: 24px 0 -24px; } .lineup img { aspect-ratio: 1146 / 846; max-width: 760px; margin: 0 auto; } }

/* the hero phone: sticky on tall screens, night turning to day as you scroll */
.stage { position: relative; margin-top: 56px; }
.stage .pin { display: grid; place-items: center; padding-bottom: 72px; }
.js .stage { height: 150vh; }
.js .stage .pin { position: sticky; top: 72px; }
.stage .phone { --w: min(420px, 80vw, (100svh - 110px) * 0.49); } /* the whole phone fits while it is pinned */
/* night to day over a short stretch of the scroll, so the two screens barely overlap */
.stage .phone .day { opacity: clamp(0, (var(--p, 0) - 0.4) * 5, 1); }
@media (max-height: 640px), (prefers-reduced-motion: reduce) {
  .js .stage { height: auto; } .js .stage .pin { position: static; }
}

/* ---- devices ----
   Each picture is the real capture inside Apple's Product Bezel (or Google's Pixel
   frame), made by tools/build-media.py. Apple's rules for the bezels: shown as they
   are (no added shadow, reflection or tilt, never cropped), at least 200 px tall. */
.phone { --w: 300px; position: relative; display: grid; width: var(--w); margin: 0 auto; }
.phone img { grid-area: 1 / 1; width: 100%; height: auto; }
.duo { width: 100%; }
.duo img { width: 100%; height: auto; }
.watch { width: 220px; flex: none; }
.watch img { width: 100%; height: auto; }

/* ---- sections ---- */
section { padding: 120px 0; position: relative; }
section.tight { padding: 72px 0; }
section.raise { background: var(--raise); }
.title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; }
.title-s { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.intro { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.4; color: var(--ink-2); max-width: 32em; margin: 18px 0 0; }
.center { text-align: center; } .center .intro { margin-left: auto; margin-right: auto; }
.kicker { font: 600 14px/1.2 var(--text); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }

/* the four energies */
.flows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.flow { padding: 26px 24px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.flow svg { width: 30px; height: 30px; margin-bottom: 18px; }
.flow h3 { font-size: 22px; margin-bottom: 6px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .flows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flows { grid-template-columns: 1fr; } }

/* sticky tour: text steps scroll past a phone that changes screen */
.tour { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 64px; }
.step { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding: 40px 0; }
.step .phone { --w: min(300px, 70vw); }
.step h3 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 12px; }
.step p { color: var(--ink-2); font-size: 19px; line-height: 1.45; margin: 0; max-width: 26em; }
.step p strong { color: var(--ink); font-weight: 600; }
.tour .screen { display: none; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; gap: 72px; }
  .step:nth-child(even) .copy { order: 2; }
  .js .tour { grid-template-columns: 1fr 1fr; gap: 72px; }
  .js .tour .steps { order: 1; }
  .js .tour .step { grid-template-columns: 1fr; min-height: 78vh; padding: 0; }
  .js .tour .step .phone { display: none; }
  .js .tour .step .copy { order: 0; }
  .js .tour .step h3 { color: var(--ink-3); transition: color 0.4s ease; }
  .js .tour .step.on h3 { color: var(--ink); }
  .js .tour .screen { display: block; order: 2; }
  .js .tour .screen .phone { position: sticky; top: calc(50vh - 300px); --w: 280px; }
  .js .tour .screen img { opacity: 0; transition: opacity 0.45s ease; }
  .js .tour .screen img.on { opacity: 1; }
}

/* split rows */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 48px; } .split.flip > :first-child { order: 0; } }
.bullets { list-style: none; padding: 0; margin: 28px 0 0; }
.bullets li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--ink-2); }
.bullets li b { color: var(--ink); font-weight: 600; }

/* gallery of devices */
.glance { margin: 72px 0 0; text-align: center; }
.glance figcaption { max-width: 30em; margin-left: auto; margin-right: auto; }
.glance.pair { max-width: 640px; margin-left: auto; margin-right: auto; gap: 28px; }
/* one gallery after another: a section's worth of space (two classes, so it beats .pair's margin: 0 further down) */
.glance + .glance { margin-top: 120px; }
@media (max-width: 760px) { .glance + .glance { margin-top: 72px; } }
.devices { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; margin-top: 64px; }
.devices figure { margin: 0; }
figcaption { margin-top: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
figcaption b { display: block; color: var(--ink); font: 600 19px/1.3 var(--display); margin-bottom: 4px; }
.watches { display: flex; gap: 28px; justify-content: center; }
@media (max-width: 860px) { .devices { grid-template-columns: 1fr; } }
/* three watches don't fit a phone at 200 px or more: they scroll sideways instead */
@media (max-width: 760px) {
  .watches { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin: 0 -24px; padding: 0 24px 8px; scrollbar-width: none; }
  .watches::-webkit-scrollbar { display: none; }
  .watch { width: 200px; scroll-snap-align: center; }
}
.duo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.duo-row figure { margin: 0; }
@media (max-width: 760px) { .duo-row { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

/* video */
.film { display: grid; place-items: center; margin-top: 56px; }
/* the video has the iPhone frame in it, on the page's black */
.film video { width: min(380px, 80vw); height: auto; aspect-ratio: 720 / 1470; background: #000; }
.film button { margin-top: 26px; font: inherit; font-size: 15px; color: var(--ink); background: rgba(255,255,255,0.08);
  border: 0; border-radius: 980px; padding: 10px 18px; cursor: pointer; display: none; }
.js .film button { display: inline-flex; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 30px 28px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.card h3 { font-size: 22px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-2); }
.card p + p { margin-top: 10px; }
.card .more { display: inline-block; margin-top: 16px; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* brands list */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px auto 0; max-width: 860px; padding: 0; list-style: none; }
.brands li { padding: 10px 16px; border-radius: 980px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); font-size: 16px; }
.brands li .tag { margin-left: 6px; }

/* tables */
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; }
.table th, .table td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); vertical-align: top; }
.table th { font-weight: 600; color: var(--ink); }
.table td { color: var(--ink-2); }
.table thead th { border-top: 0; font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.table-scroll { overflow-x: auto; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.plan { display: flex; flex-direction: column; padding: 30px 24px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.plan.best { box-shadow: inset 0 0 0 1.5px var(--battery), 0 0 60px -20px rgba(97, 227, 158, 0.45); }
.plan h2 { font-size: 24px; }
.plan .who { color: var(--ink-2); font-size: 15px; margin: 8px 0 22px; min-height: 4.4em; }
.plan .price { font: 600 34px/1 var(--display); letter-spacing: -0.03em; }
.plan .price small { font: 400 15px/1 var(--text); color: var(--ink-2); letter-spacing: 0; }
.plan .yearly { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; }
.plan li { padding: 9px 0 9px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px;
  border-left: 2px solid var(--battery); border-bottom: 2px solid var(--battery); transform: rotate(-45deg); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan .who { min-height: 0; } }
.yes { color: var(--battery); font-weight: 700; } .no { color: var(--ink-3); }

/* long-form text (legal, support) */
.prose { max-width: 720px; margin: 0 auto; padding: 0 24px 96px; font-size: 17px; line-height: 1.6; color: #d2d2d7; }
.prose h2 { font-size: 26px; color: var(--ink); margin: 48px 0 12px; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 32px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin: 8px 0; }
.prose b, .prose strong { color: var(--ink); }
.prose code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; word-break: break-word; }
.prose .updated { color: var(--ink-3); }
.prose .box { padding: 22px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); margin: 28px 0; }
.prose .box p:first-child { margin-top: 0; } .prose .box p:last-child { margin-bottom: 0; }
.faq details { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font: 600 18px/1.35 var(--display); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font: 400 24px/1 var(--text); color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { margin-top: 0; }

/* download */
.dl { padding: 34px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.dl h2 { font-size: 28px; margin-bottom: 8px; }
.dl .meta { color: var(--ink-2); font-size: 14px; margin: 14px 0 0; }
.dl .sum { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.dl .sum code { display: block; margin-top: 6px; padding: 10px 12px; overflow-wrap: anywhere; }

/* footer */
.foot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 40px 0 56px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 22px; }
.foot nav a { color: var(--ink-2); }
.foot p { margin: 6px 0 0; max-width: 60em; }
.foot .maker { color: var(--ink-2); }
.foot .maker a { color: var(--ink); }

/* scroll reveals: only with JS and motion allowed; without them everything is just there */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  /* devices only fade: Apple's bezels may not be moved or animated */
  .js .reveal:has(img), .js .reveal:has(video) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* small layout helpers (no inline styles: the CSP forbids them) */
.hero.flush { padding-bottom: 0; }
.kicker.pink { color: #ff7ab6; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; margin: 0; }
.pair .phone { width: auto; }
.pair figcaption { grid-column: 1 / -1; }
.pair.androids { max-width: 440px; margin: 0 auto; padding-bottom: 40px; }
.pair .lower { transform: translateY(40px); }
.actions.left { justify-content: flex-start; }
.actions.stack { flex-direction: column; }
.note { color: var(--ink-2); font-size: 15px; margin-top: 26px; }
.devices-gap { margin-top: 56px; }
.prose.flat { padding: 0; margin-top: 40px; }
.sky > :not(.moon) { position: relative; z-index: 1; }
@media (max-width: 600px) {
  .moon { top: 62px; right: 18px; width: 40px; height: 40px; background-image: url("/img/moon-120.webp"); }
  .hero { padding-top: 76px; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 48px); }
  .js .stage { height: 120vh; }
}

/* testers: the application form (pages/testers.html) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 14px 0; }
.chips li { margin: 0; padding: 7px 14px; border-radius: 980px; font-size: 15px; font-weight: 600; color: var(--battery);
  background: rgba(97, 227, 158, 0.1); box-shadow: inset 0 0 0 1px rgba(97, 227, 158, 0.25); }
.chips.car li { color: var(--car); background: rgba(92, 214, 250, 0.1); box-shadow: inset 0 0 0 1px rgba(92, 214, 250, 0.25); }
.tester-intro { padding-bottom: 24px; }
.prose .offer { background: linear-gradient(135deg, rgba(97, 227, 158, 0.14), rgba(92, 214, 250, 0.08));
  box-shadow: inset 0 0 0 1px rgba(97, 227, 158, 0.3); }
.apply { padding: 8px 0 40px; }
.apply fieldset { border: 0; margin: 0 0 18px; padding: 26px 26px 10px; border-radius: 24px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--card-line); min-width: 0; }
.apply legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font: 600 21px/1.2 var(--display); letter-spacing: -0.02em; }
.apply legend i, .apply label i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 0.85em; }
.apply .field { clear: both; margin: 0 0 18px; }
.apply label, .apply .label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 7px; }
.apply input:not([type=radio]):not([type=checkbox]), .apply select, .apply textarea {
  width: 100%; font: 17px/1.35 var(--text); color: var(--ink); background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  -webkit-appearance: none; appearance: none; }
.apply select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.apply select option { background: #111722; color: var(--ink); }
.apply textarea { resize: vertical; min-height: 84px; }
.apply ::placeholder { color: #6e6e73; }
.apply input:focus, .apply select:focus, .apply textarea:focus { outline: none; border-color: var(--battery);
  box-shadow: 0 0 0 3px rgba(97, 227, 158, 0.25); }
.apply [aria-invalid="true"] { border-color: #ff6b6b !important; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important; }
.apply .hint { color: var(--ink-2); font-size: 14px; margin: 7px 0 0; }
.apply .hint.center { text-align: center; margin-top: 14px; }
.apply .err { color: #ff8a8a; font-size: 14px; margin: 7px 0 0; }
.apply .choice { display: flex; flex-wrap: wrap; gap: 10px; }
.apply .choice label { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 11px 16px; min-height: 48px;
  border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 500; cursor: pointer; }
.apply .choice label:has(input:checked) { border-color: var(--battery); background: rgba(97, 227, 158, 0.12); }
.apply input[type=radio], .apply input[type=checkbox] { width: 20px; height: 20px; margin: 0; accent-color: var(--battery); flex: none; }
.apply .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; clear: both; }
.apply .consent { margin: 22px 4px; }
.apply .consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: #d2d2d7; margin: 0 0 14px; cursor: pointer; }
.apply .consent input { margin-top: 3px; }
.apply .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply .cf-turnstile { margin: 0 0 18px; }
.apply .send { display: flex; justify-content: center; width: 100%; border: 0; cursor: pointer; padding: 16px 24px; font: 600 18px/1 var(--text); }
.apply .send:disabled { opacity: 0.6; cursor: progress; }
.form-error { display: none; padding: 16px 20px; margin: 0 0 18px; border-radius: 16px; color: #ffd6d6;
  background: rgba(255, 107, 107, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.35); }
.form-error p { margin: 0; } .form-error b { color: #fff; }
.form-error:target, .form-error.on { display: block; }
/* follow-up questions show when they apply (with JS; without it every one shows) */
.js .apply .when-region-other:not(.on), .js .apply .when-charger:not(.on), .js .apply .when-solar:not(.on),
.js .apply .when-duracell:not(.on) { display: none; }
.tester-terms { padding-top: 8px; }
.thanks .tick svg { width: 76px; height: 76px; margin: 0 auto 26px; filter: drop-shadow(0 0 28px rgba(97, 227, 158, 0.45)); }
@media (max-width: 600px) {
  .apply fieldset { padding: 22px 18px 6px; border-radius: 20px; }
  .apply .pair { grid-template-columns: 1fr; }
  .wrap.narrow { padding: 0 16px; }
}
/* partners (pages/partners*.html) and referral links (pages/r.html) */
.cards.steps-3 .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 16px;
  font: 600 16px/1 var(--display); color: #002414; background: var(--battery); }
.table td.n, .table th.n { text-align: right; white-space: nowrap; }
.partner-intro { padding-top: 72px; padding-bottom: 32px; }
.invite .tick svg, .dash-head .tick svg { width: 76px; height: 76px; margin: 0 auto 26px; filter: drop-shadow(0 0 28px rgba(97, 227, 158, 0.45)); }
.invite-code, .dash-code { max-width: 420px; margin: 30px auto 0; padding: 20px 22px; border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(97, 227, 158, 0.14), rgba(92, 214, 250, 0.08)); box-shadow: inset 0 0 0 1px rgba(97, 227, 158, 0.3); }
.invite-code .label, .dash-code .label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.invite-code .code, .dash-code .code { margin: 6px 0 4px; font: 700 34px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.12em; color: var(--ink); }
.invite-code .hint { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.dash-code .link { margin: 0 0 14px; overflow-wrap: anywhere; }
.pill.small { font-size: 15px; padding: 10px 18px; border: 0; cursor: pointer; font-family: inherit; }
.dash-head { padding-bottom: 32px; }
.dash { padding-bottom: 96px; }
.dash [hidden] { display: none !important; }
.dash-signin { max-width: 520px; margin: 0 auto; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.dash-stats div { padding: 18px 18px 16px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.dash-stats b { display: block; font: 600 26px/1.15 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.dash-stats span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.dash-stats .ok b { color: var(--battery); }
.dash-h { font-size: 24px; margin: 48px 0 0; }
.dash-table { font-size: 15px; }
.dash-table td.d { white-space: nowrap; }
.dash-table td.empty { color: var(--ink-3); text-align: center; padding: 22px 0; }
.dash-table .st { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.08); color: var(--ink-2); }
.dash-table .st.ok { color: var(--battery); background: rgba(97, 227, 158, 0.14); }
.dash-table .st.wait { color: var(--solar); background: rgba(255, 199, 61, 0.14); }
.dash-table .st.off { color: var(--ink-3); }
.dash-list { list-style: none; padding: 0; margin: 18px 0 0; }
.dash-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--ink-2); }
.dash-list li.empty { justify-content: center; color: var(--ink-3); }
.dash-list button { font: inherit; font-size: 15px; color: var(--link); background: none; border: 0; cursor: pointer; padding: 6px 0; }
.dash #bank-form { margin-top: 18px; }
.form-msg { display: none; padding: 12px 16px; margin: 0 0 16px; border-radius: 14px; font-size: 15px;
  background: rgba(97, 227, 158, 0.12); box-shadow: inset 0 0 0 1px rgba(97, 227, 158, 0.35); color: var(--mint); }
.form-msg.on { display: block; }
.form-msg.bad { background: rgba(255, 107, 107, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.35); color: #ffd6d6; }
.box-note { padding: 18px 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); }
.linkish { font: inherit; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.dash-foot { margin-top: 40px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 600px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .invite-code .code, .dash-code .code { font-size: 28px; }
  .dash-table { font-size: 14px; }
  .dash-table .hide-s { display: none; }
  .dash-table th, .dash-table td { padding-right: 10px; }
}
