/* ============================================================
   Git on the Go — landing page
   Palette lifted from the app itself (Palette.graph / slate).
   ============================================================ */

/* ---------- fonts ----------
   Self-hosted rather than fetched from Google. The app's whole pitch is that
   it talks to nobody you didn't ask for, and a page making that argument while
   handing every visitor's IP to a font CDN undercuts it before they've read a
   word. These are the same families, variable, under the SIL Open Font
   License — see fonts/OFL-*.txt. The unicode-range split is Google's own, so
   the latin-ext files are only fetched by a page that needs them.
   ---------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07090c;
  --bg-2: #0b0e13;
  --slate: #14181f;
  --slate-2: #1a1f29;
  --line: rgba(235, 245, 240, 0.08);
  --line-strong: rgba(235, 245, 240, 0.14);

  --ink: #eef5f1;
  --muted: #93a09b;
  --faint: #5c6763;

  --neon: #00d97d;
  --neon-soft: rgba(0, 217, 125, 0.14);
  --blue: #338cff;
  --orange: #ff7a2e;
  --violet: #b86bff;
  --magenta: #ff4c9e;
  --cyan: #0dd4db;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;

  --shell: 1120px;

  /* One rhythm for the whole page: every section is padded the same, so the
     gap between any two is the same, and the eye stops noticing the joins. */
  --sec: 72px;
  --story: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: rgba(0, 217, 125, 0.28); color: #fff; }

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

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.shell.narrow { width: min(760px, calc(100% - 48px)); }

.mono { font-family: var(--font-mono); font-weight: 500; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--neon); color: #04140c; padding: 10px 16px;
  border-radius: 0 0 10px 0; z-index: 100; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.7rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }

.grad {
  background: linear-gradient(100deg, var(--neon) 10%, var(--cyan) 55%, var(--blue) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 22px rgba(0, 217, 125, 0.6);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.55; } }

.section-lede, .lede {
  color: var(--muted);
  font-size: 1.11rem;
  max-width: 46em;
}
.lede { font-size: clamp(1.05rem, 1.9vw, 1.24rem); margin-inline: auto; }
.lede strong { color: var(--ink); font-weight: 600; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
/* No drop-shadow on the logo images. The mark is a transparent PNG, and a
   drop-shadow is resolved against the element box until the image has decoded —
   which flashes a rectangular haze around it. The artwork already carries its
   own neon glow, so the filter bought nothing. */
.glyph { height: 30px; width: auto; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.wordmark em { font-style: normal; font-weight: 500; color: var(--muted); }

.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* The one thing in the nav that asks for a decision, so it's the one thing
   drawn as a button. */
.nav-cta {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem;
  color: #03140b; white-space: nowrap;
  background: linear-gradient(180deg, #0ce68b, #00c471);
  padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 217, 125, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: box-shadow 0.25s ease, transform 0.16s ease;
}
.nav-cta:hover {
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 217, 125, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------- hero ---------- */

.hero { position: relative; text-align: center; }

.hero-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.glow-green {
  width: 640px; height: 640px; left: 50%; top: -320px; transform: translateX(-88%);
  background: radial-gradient(circle, rgba(0, 217, 125, 0.34), transparent 65%);
}
.glow-violet {
  width: 560px; height: 560px; left: 50%; top: -260px; transform: translateX(6%);
  background: radial-gradient(circle, rgba(122, 92, 255, 0.3), transparent 65%);
}

.hero-inner { position: relative; }

.hero-logo {
  width: clamp(230px, 34vw, 400px);
  height: auto;
  margin: 0 auto 22px;
}

.cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
  padding: 13px 26px; border-radius: 13px;
  transition: transform 0.16s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  color: #03140b;
  background: linear-gradient(180deg, #0ce68b, #00c471);
  box-shadow: 0 8px 30px rgba(0, 217, 125, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 38px rgba(0, 217, 125, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: rgba(0, 217, 125, 0.45); background: rgba(0, 217, 125, 0.06); }

.meta-row {
  display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap;
  margin-top: 26px; font-size: 0.8rem; color: var(--faint); letter-spacing: 0.04em;
}
.meta-row i { font-style: normal; color: var(--faint); opacity: 0.6; }

/* device frame */

.device { margin: 34px auto 0; max-width: 1020px; position: relative; }
.device::after {
  content: ""; position: absolute; inset: auto 8% -34px 8%; height: 80px;
  background: radial-gradient(ellipse, rgba(0, 217, 125, 0.22), transparent 70%);
  filter: blur(24px); z-index: -1;
}
.device .screen {
  border-radius: clamp(14px, 2.4vw, 26px);
  padding: clamp(8px, 1.4vw, 15px);
  background: linear-gradient(160deg, #2a2f3a, #10131a 55%, #232833);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 6px 24px rgba(0, 0, 0, 0.5);
}
.device .screen img {
  border-radius: clamp(8px, 1.4vw, 14px);
  cursor: zoom-in;
}
.device figcaption {
  margin-top: 22px; font-size: 0.8rem; color: var(--faint);
}

/* ---------- sections ---------- */

section { padding: var(--sec) 0; }
.hero { padding: 96px 0 var(--sec); }

/* ---------- explainer ---------- */

/* The on-ramp for anyone who has never used version control. It reads as prose,
   not as a feature block, so it gets body-ish type and one pulled-out line. */
.explainer { padding: var(--sec) 0; }
.explainer h2 { margin-bottom: 22px; }
.explainer p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.explainer p:last-child { margin-bottom: 0; }
.explainer strong { color: var(--ink); font-weight: 600; }
.explainer em { font-style: normal; color: var(--ink); }
.explainer .mono { color: var(--ink); font-size: 0.9em; }

.explainer .pull {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.12; color: var(--ink);
  margin: 32px 0 20px; padding-left: 22px;
  border-left: 3px solid var(--neon);
}

/* ---------- stories ---------- */

.stories { padding: var(--sec) 0; }
.more h2, .roadmap h2 { margin-bottom: 14px; }

/* A story with no screenshot: full width, so the missing image reads as a
   deliberate change of pace rather than an empty column. */
.story-lead { padding: var(--story) 0; }
.story-lead h2 { margin: 14px 0 14px; }
.story-lead .section-lede { margin-bottom: 24px; }

.split {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(300px, 5fr) 7fr;
  align-items: center;
  padding: 44px 0;
}
.split.flip .split-copy { order: 2; }
.split.flip .frame { order: 1; }

.split-copy h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 16px 0 12px; }
.split-copy p { color: var(--muted); }
.split-copy p + p { margin-top: 12px; }

/* A secondary beat — smaller than a story, so the image-comparison point lands
   without becoming a section of its own. */
/* Same proportions as a full story, so the screenshot is the size every other
   screenshot is. Only the copy is lighter — no chip, no bullet list — which is
   what keeps it reading as a coda to Changes rather than a story of its own.
   The column widths are set here, not on the figure: a `min(400px, 100%)`
   inside an `auto` track is circular, and the track collapsed to 2px. */
.aside {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: 0 0 var(--story);
}
.aside-copy h3 { margin-bottom: 10px; }
.aside-copy p { color: var(--muted); }

/* Copy across the top, image full width beneath. */
.story-wide { padding: var(--story) 0; }
.wide-copy { margin-bottom: 32px; }
.wide-copy h2 { margin: 14px 0 14px; }
.wide-copy .section-lede { margin-bottom: 24px; }

.chip {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.chip-green   { color: var(--neon);    background: rgba(0, 217, 125, .1);  border: 1px solid rgba(0, 217, 125, .3); }
.chip-blue    { color: var(--blue);    background: rgba(51, 140, 255, .1); border: 1px solid rgba(51, 140, 255, .3); }
.chip-magenta { color: var(--magenta); background: rgba(255, 76, 158, .1); border: 1px solid rgba(255, 76, 158, .3); }

.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checks.two-up {
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 10px clamp(24px, 4vw, 46px);
}
.checks li {
  position: relative; padding-left: 30px;
  color: var(--muted); font-size: 0.97rem;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--neon-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d97d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.checks .mono { font-size: 0.85em; color: var(--ink); }

/* ---------- device switcher ---------- */

/* One shared state on <html> drives every screenshot on the page. */
html[data-device="ipad"]   img[data-device="iphone"],
html[data-device="iphone"] img[data-device="ipad"] { display: none; }

.switch-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  margin: 44px 0 0;
}
.switch-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.dtoggle {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--slate); border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.dtoggle-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
  color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; padding: 7px 15px; cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.dtoggle-btn svg {
  width: 15px; height: 15px; fill: none;
  stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.dtoggle-btn:hover { color: var(--ink); }
.dtoggle-btn[aria-pressed="true"] {
  color: #04140c;
  background: linear-gradient(180deg, #0ce68b, #00c471);
  box-shadow: 0 4px 16px rgba(0, 217, 125, 0.3);
}
.dtoggle-lg .dtoggle-btn { font-size: 0.98rem; padding: 10px 22px; }
.dtoggle-lg .dtoggle-btn svg { width: 18px; height: 18px; }

/* The hero toggle is the loud one. Per-shot toggles are a quick peek at the
   other device, so they stay out of the way until you go looking for them. */
.dtoggle-quiet {
  background: transparent; border-color: transparent;
  padding: 2px; opacity: 0.5;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.frame:hover .dtoggle-quiet,
.dtoggle-quiet:hover,
.dtoggle-quiet:focus-within {
  opacity: 1; background: var(--slate); border-color: var(--line);
}
.dtoggle-quiet .dtoggle-btn { font-size: 0.74rem; font-weight: 500; padding: 4px 11px; }
.dtoggle-quiet .dtoggle-btn[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

/* ---------- screenshot frames ---------- */

.frame { min-width: 0; }
.frame-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 12px;
}
.frame-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.frame-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: var(--slate);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.frame-media:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.frame-media img { cursor: zoom-in; width: 100%; }

/* A phone shot is portrait — keep it from towering over the copy beside it, and
   keep its label + toggle aligned to the image rather than the whole column. */
html[data-device="iphone"] .frame-media,
html[data-device="iphone"] .frame-head { max-width: 300px; margin-inline: auto; }
html[data-device="iphone"] .device { max-width: 380px; }
/* Tall shot, short copy — top-align so the text isn't marooned mid-column. */
html[data-device="iphone"] .split { align-items: start; }

/* Newly revealed shots fade in, so flipping device doesn't feel like a jump cut. */
.frame-media img, .device .screen img { animation: shotIn 0.32s ease both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* A detail crop of the iPad shot — the graph lanes, without the sidebar or the
   status bar. Reads as a different image to the hero, which is the point.
   A phone shot is already a narrow detail, so it's shown whole. */
.frame-media.crop { position: relative; overflow: hidden; aspect-ratio: 20 / 7; }
.frame-media.crop img[data-device="ipad"] {
  position: absolute; top: -49%; left: -40%;
  width: 140%; max-width: none; height: auto;
}
html[data-device="iphone"] .frame-media.crop { aspect-ratio: auto; }
html[data-device="iphone"] .frame-media.crop img { position: static; width: 100%; }


/* privacy */


.privacy-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(0, 217, 125, 0.22);
  background:
    radial-gradient(1200px 340px at 18% -8%, rgba(0, 217, 125, 0.09), transparent 60%),
    linear-gradient(180deg, var(--slate-2), var(--slate));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 34px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 217, 125, 0.07);
  padding: clamp(30px, 4.5vw, 58px);
}
.privacy-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.privacy-head h2 { margin-bottom: 10px; }
.shield {
  flex: 0 0 auto;
  width: 58px; height: 58px; border-radius: 17px;
  display: grid; place-items: center;
  background: var(--neon-soft);
  border: 1px solid rgba(0, 217, 125, 0.35);
  box-shadow: 0 0 26px rgba(0, 217, 125, 0.25);
}
.shield svg { width: 30px; height: 30px; fill: none; stroke: var(--neon); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.privacy-grid {
  display: grid; gap: 26px 34px;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.pp h4 {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 8px; font-weight: 600;
}
.pp p { color: var(--muted); font-size: 0.96rem; }

.privacy-foot {
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.92rem;
}

/* everything else — spec list */


.spec {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: grid; grid-template-columns: minmax(190px, 4fr) 8fr;
  gap: 8px clamp(24px, 4vw, 48px);
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; color: var(--ink); line-height: 1.35;
}
.spec dd { color: var(--muted); font-size: 0.97rem; }
.spec dd .mono { color: var(--ink); font-size: 0.88em; }

/* light & dark band */

.appearance { text-align: center; }
.appearance h2 { margin-bottom: 12px; }
.appearance .section-lede { margin-inline: auto; }

/* The fanned pair is already two shadowed devices on transparency — a frame
   round it would be a third border nobody asked for. */
.fan { margin-top: 42px; }
.fan img { width: 100%; height: auto; cursor: zoom-in; }

/* roadmap */


.roadmap .section-lede { margin-bottom: 46px; }
.roadmap-foot {
  margin-top: 32px; color: var(--ink); font-size: 1.04rem;
}
.limits {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
}
.limit {
  border: 1px solid var(--line);
  border-left: 3px solid rgba(0, 217, 125, 0.45);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--slate-2), var(--slate));
  padding: 20px 22px 22px;
}
.limit h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  margin-bottom: 7px; color: var(--ink);
}
.limit p { color: var(--muted); font-size: 0.94rem; }
.limit p em { font-style: normal; color: var(--ink); }

/* faq */

.faq h2 { margin-bottom: 34px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--slate);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq details[open] { border-color: rgba(0, 217, 125, 0.3); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem;
  padding: 18px 22px;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-52%);
  font-family: var(--font-mono); font-size: 1.15rem; color: var(--neon);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq details p {
  padding: 0 22px 20px; color: var(--muted); font-size: 0.98rem; max-width: 62em;
}

/* outro */

.outro { padding: calc(var(--sec) * 1.5) 0; text-align: center; position: relative; overflow: clip; }
.outro::before {
  content: ""; position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  width: min(720px, 96vw); height: 300px; pointer-events: none;
  background: radial-gradient(ellipse at bottom, rgba(0, 217, 125, 0.13), transparent 65%);
}
.outro-inner { position: relative; }
.glyph-big { height: 62px; width: auto; margin: 0 auto 26px; }
.outro h2 { margin-bottom: 18px; }
.outro .section-lede { margin-inline: auto; }
.price {
  color: var(--muted); font-size: 1.06rem;
  max-width: 38em; margin-inline: auto;
}
.price strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.store {
  margin-top: 32px;
  display: flex; flex-direction: column; align-items: center;
}
/* Placeholder for the real App Store badge — same footprint, so swapping the
   artwork in won't move anything around it. */
.store-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 190px; height: 56px;
  font-size: 0.95rem; letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.store-note {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}

/* footer */

.footer { border-top: 1px solid var(--line); padding: 46px 0 58px; background: var(--bg-2); }
.footer-inner {
  display: grid; gap: 20px 40px;
  grid-template-columns: 1fr auto;
  align-items: start;
}
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-copy { color: var(--faint); font-size: 0.78rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--ink); }
.footer-note {
  grid-column: 1 / -1;
  color: var(--faint); font-size: 0.8rem; max-width: 60em;
}

/* lightbox */

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 6, 8, 0.92);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 4vmin;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 96vw; max-height: 92vh;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: var(--slate); color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 0.8rem; padding: 7px 12px; cursor: pointer;
}
.lightbox-close:hover { color: var(--ink); border-color: var(--neon); }

/* reveal on scroll */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root { --sec: 56px; --story: 40px; }
  .split, .aside { grid-template-columns: 1fr; }
  .split.flip .split-copy { order: 0; }
  .split.flip .frame { order: 1; }
  .split { padding: 28px 0; }
  .aside { gap: 24px; }
  .nav-links { display: none; }
  .privacy-head { flex-direction: column; }
  /* A 20:7 letterbox is too thin to read on a narrow screen. */
  .frame-media.crop { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  .spec-row { grid-template-columns: 1fr; padding: 18px 2px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .shell { width: calc(100% - 36px); }
  .hero { padding-top: 64px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .frame-media, .btn { transition: none; }
  .frame-media img, .device .screen img { animation: none; }
}
