/* Kroj landing page. Tokens mirror Kroj/DesignSystem/Tokens.swift (docs/BRAND.md v0.2).
   The look: a tailor's cutting room crossed with a lookbook. Pattern paper and
   carbon, one volt accent used only as a fill, Anton headlines, Space Mono labels,
   sharp corners. Ornament comes from clothes: tape measures, woven labels, hang
   tags, cut lines and catalogue numbers. No scripts, no inline styles (CSP). */

/* ---------- Fonts (SIL OFL, self-hosted; licences in assets/fonts) ---------- */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Anton";
  src: url("assets/fonts/anton-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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 Mono";
  src: url("assets/fonts/space-mono-400-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  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 Mono";
  src: url("assets/fonts/space-mono-700-latin-ext.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #0e0e0c;
  --graphite: #56564f;
  --paper: #f3f3ee;
  --surface: #ffffff;
  --plinth: #e4e4de;
  --rule: #d3d3cc;
  --volt: #d7ff3b;
  --on-volt: #0e0e0c;
  --accent: #0e0e0c;      /* ink in light, volt in dark: links, focus */
  --band: #0e0e0c;        /* the carbon privacy band */
  --shadow: rgba(14, 14, 12, .22);

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --track: .05em;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1240px;
  --heavy: 1.5px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3f3ee; --graphite: #9e9e97; --paper: #0b0b0a; --surface: #171716;
    --plinth: #2b2b28; --rule: #30302d; --accent: #d7ff3b; --band: #171716;
    --shadow: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f3f3ee; --graphite: #9e9e97; --paper: #0b0b0a; --surface: #171716;
  --plinth: #2b2b28; --rule: #30302d; --accent: #d7ff3b; --band: #171716;
  --shadow: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; max-width: 62ch; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol, dl, dd { margin: 0; padding: 0; }

a { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { background: var(--volt); color: var(--on-volt); text-decoration-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 20;
  padding: 10px 14px; background: var(--ink); color: var(--paper);
  font: 700 .75rem/1 var(--mono); letter-spacing: var(--track); text-transform: uppercase; text-decoration: none;
}
.skip:focus { left: 12px; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */

.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}
h1 { font-size: clamp(3.4rem, 7.4vw, 6.25rem); line-height: .96; }
h2 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); line-height: .96; }
h3 { font: 600 clamp(1.375rem, 2.2vw, 1.75rem)/1.2 var(--sans); letter-spacing: -.015em; }

/* Mono label: chips, ticker, care lists. Eyebrow: smaller, graphite. */
.label, .eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.label { font-size: .8125rem; line-height: 1.4; }
.eyebrow { font-size: .75rem; line-height: 1.5; color: var(--graphite); display: flex; flex-wrap: wrap; gap: 0 1.1em; }
.eyebrow .no { color: var(--ink); }
.mono { font: 400 .8125rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .02em; }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; }
.muted { color: var(--graphite); }

/* A volt highlight band behind display words. Volt is a fill, never text on light.
   The gradient covers Anton's cap height only (its content box is 1.5em tall), so
   stacked lines keep a hairline cut between them instead of overlapping. */
.mark-band {
  background: linear-gradient(transparent .28em, var(--volt) .28em, var(--volt) 1.22em, transparent 1.22em);
  color: var(--on-volt);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Ornament ---------- */

/* Ticker: a volt band that scrolls; static with reduced motion. */
.ticker {
  background: var(--volt);
  color: var(--on-volt);
  overflow: hidden;
  white-space: nowrap;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-track { display: flex; flex: none; animation: ticker 48s linear infinite; }
.ticker-track span { flex: none; padding-right: 2.2em; font: 700 .75rem/1 var(--mono); letter-spacing: var(--track); text-transform: uppercase; }
.ticker-track span::after { content: "✶"; padding-left: 2.2em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Tape measure: a heavy edge, ticks every 5px, longer at 25 and 50, numerals every 50. */
.tape {
  position: relative;
  height: 22px;
  overflow: hidden;
  display: flex;
  padding-left: 50px;
  counter-reset: tape;
  color: var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% var(--heavy) no-repeat,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 0 / 50px 12px repeat-x,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 0 / 25px 8px repeat-x,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 0 / 5px 4px repeat-x;
}
.tape i {
  flex: 0 0 50px;
  counter-increment: tape;
  font: 400 9px/1 var(--mono);
  font-style: normal;
  align-self: flex-end;
  padding: 0 0 1px 3px;
}
.tape i::before { content: counter(tape); }
/* With progress: volt fills the tape from the left, like the onboarding pages.
   The fill carries its own carbon ticks so it reads in both themes. */
.tape.p1::before, .tape.p2::before, .tape.p3::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 1;
  background:
    linear-gradient(var(--on-volt), var(--on-volt)) 0 0 / 100% var(--heavy) no-repeat,
    linear-gradient(to right, var(--on-volt) 1px, transparent 1px) 0 0 / 50px 12px repeat-x,
    linear-gradient(to right, var(--on-volt) 1px, transparent 1px) 0 0 / 25px 8px repeat-x,
    linear-gradient(to right, var(--on-volt) 1px, transparent 1px) 0 0 / 5px 4px repeat-x,
    var(--volt);
}
.tape.p1::before { width: 33.333%; }
.tape.p2::before { width: 66.666%; }
.tape.p3::before { width: 100%; }

/* Woven label: surface, mono, dashed stitching inset 3px. */
.woven {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  font: 700 .75rem/1.2 var(--mono);
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.woven::after {
  content: ""; position: absolute; inset: 3px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}
.woven.on { background: var(--volt); color: var(--on-volt); }
.woven.on::after { border-color: rgba(14, 14, 12, .35); }
.swatch { width: 8px; height: 8px; flex: none; background: var(--ink); }

/* Hang tag: clipped top corners and a punched hole. */
.hangtag {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 46px;
  padding: 18px 10px 6px;
  background: var(--surface);
  color: var(--ink);
  font: 700 .75rem/1 var(--mono);
  letter-spacing: var(--track);
  text-transform: uppercase;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%, 0 13px);
  -webkit-mask: radial-gradient(circle at 50% 9px, transparent 3px, #000 3.5px);
  mask: radial-gradient(circle at 50% 9px, transparent 3px, #000 3.5px);
}

/* Cut line: dashed edge of a pattern piece, scissors at the top left. */
.cut-line {
  position: relative;
  height: 0;
  border-top: var(--heavy) dashed var(--ink);
}
.scissors {
  position: absolute;
  top: -10px;
  left: 18px;
  width: 20px;
  height: 20px;
  padding: 0 3px;
  box-sizing: content-box;
  background: var(--paper);
  color: var(--ink);
}
.band .scissors { background: var(--band); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 56px;
  padding: 0 20px;
  text-decoration: none;
}
.btn-primary {
  background: var(--volt);
  color: var(--on-volt);
  font: 400 1.375rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-primary .arrow { width: 18px; height: 14px; flex: none; }
.btn-secondary {
  min-height: 46px;
  padding: 0 16px;
  border: var(--heavy) solid var(--ink);
  color: var(--ink);
  font: 700 .75rem/1.2 var(--mono);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.site-header .tape { border-bottom: 0; }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { background: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; color: var(--ink); }
.wordmark {
  font: 400 1.75rem/1 var(--display);
  letter-spacing: .18em;
  margin-right: -.18em;
  text-transform: uppercase;
}
.site-header nav { display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a {
  color: var(--ink);
  font: 700 .75rem/1 var(--mono);
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
}
.site-header nav a:hover { background: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: currentColor; }
.site-header nav .no { color: var(--graphite); margin-right: 6px; font-weight: 400; }
@media (max-width: 720px) { .site-header nav { display: none; } }

/* ---------- Sections ---------- */

section { padding-block: clamp(56px, 7vw, 104px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .tape { margin-bottom: 6px; }
.section-head .lede { max-width: 58ch; }

/* Plate: a phone set on a plinth like a garment, with catalogue marks. */
.plate {
  position: relative;
  background: var(--plinth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 72px) 24px;
  min-width: 0;
}
.plate .eyebrow { position: absolute; left: 14px; top: 12px; }
.plate .eyebrow.right { left: auto; right: 14px; }
.plate .hangtag { position: absolute; right: 16px; top: 0; }
/* Screens are shown as they are, with no drawn device around them: Apple's
   marketing guidelines allow only Apple-provided bezels, never a simulated iPhone. */
.phone {
  position: relative;
  width: min(290px, 68vw);
  aspect-ratio: 393 / 852;
  border-radius: 36px;
  box-shadow: 0 0 0 1px var(--rule), 0 40px 60px -36px var(--shadow), 0 12px 24px -16px var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: var(--paper); }

/* The official App Store badge (assets/badges, Apple artwork, unmodified).
   Clear space of a quarter of its height on every side; at least 40px tall. */
.store-badge { display: inline-block; padding: 13px; margin: -13px; line-height: 0; }
.store-badge:hover { background: none; }
.store-badge img { height: 54px; width: auto; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(32px, 5vw, 72px) 0; overflow: hidden; }
.hero > .wrap:first-child {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 40px clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-size: clamp(3.6rem, 8.2vw, 7.5rem); line-height: .92; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.status { display: inline-flex; align-items: center; gap: 10px; }
.status .swatch { background: var(--ink); }

/* Three phones fanned on a plinth, the middle one forward. */
.hero-stage {
  position: relative;
  min-height: clamp(460px, 52vw, 640px);
  background: var(--plinth);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-stage .phone { position: absolute; width: clamp(150px, 17vw, 236px); }
.hero-stage .front { z-index: 2; width: clamp(180px, 20vw, 272px); }
.hero-stage .back-left { transform: translateX(-62%) rotate(-7deg) scale(.88); filter: saturate(.9); }
.hero-stage .back-right { transform: translateX(62%) rotate(7deg) scale(.88); filter: saturate(.9); }
.hero-stage .hangtag { position: absolute; right: 18px; top: 0; z-index: 3; }

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 80px);
  border-top: var(--heavy) solid var(--ink);
}
.stats li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 28px 0; min-width: 0; }
.stats li + li { border-left: 1px solid var(--rule); padding-left: 20px; }
.stats strong { font: 400 clamp(2.25rem, 4.2vw, 3.75rem)/.95 var(--display); text-transform: uppercase; white-space: nowrap; }
.stats span { color: var(--graphite); font-size: .9375rem; line-height: 1.4; max-width: 22ch; }
.hero > .tape { margin-top: 0; }

@media (max-width: 900px) {
  .hero > .wrap:first-child { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3.4rem, 13vw, 6.5rem); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .hero-stage .phone { width: 36vw; }
  .hero-stage .front { width: 44vw; }
}

/* ---------- Features ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 48px);
}
.feature + .feature { border-top: 1px solid var(--rule); }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature.flip .plate { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feature-copy p { color: var(--graphite); }
.feature .plate { aspect-ratio: 5 / 6; padding-block: 56px; }
.feature .plate .phone { width: min(270px, 60vw); }
.feature + .feature { margin-top: clamp(8px, 2vw, 24px); }
.feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.15; }
/* Camera screens sit on a dark plinth in both themes. */
.dark-plate { background: #171716; }
.dark-plate .eyebrow, .dark-plate .eyebrow .no { color: #f3f3ee; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .plate { order: 0; }
  .feature .plate { aspect-ratio: auto; }
}

/* N.B. note inside a cut line. */
.note {
  position: relative;
  padding: 20px 20px 18px;
  margin-top: 10px;
  max-width: 62ch;
  font-size: .9375rem;
  color: var(--ink);
  border: var(--heavy) dashed var(--ink);
}
.note .eyebrow { margin-bottom: 4px; }

/* Care-label list: heavy rule, then mono rows. */
.care {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  border-top: var(--heavy) solid var(--ink);
  font: 400 .8125rem/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: .02em;
  max-width: 62ch;
}
.care dt, .care dd { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.care dt { font-weight: 700; padding-right: 24px; color: var(--graphite); }

/* ---------- Comparison ---------- */

.compare-section { background: var(--surface); border-block: 1px solid var(--rule); }
.compare { overflow-x: auto; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; border-top: var(--heavy) solid var(--ink); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font: 700 .75rem/1.4 var(--mono); letter-spacing: var(--track); text-transform: uppercase; color: var(--graphite); }
.compare thead th:nth-child(2) { color: var(--ink); }
.compare tbody th { font: 700 .8125rem/1.5 var(--mono); letter-spacing: var(--track); text-transform: uppercase; width: 24%; }
.compare tbody td:nth-child(2) { font-weight: 600; width: 40%; }
.compare tbody td:nth-child(2)::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--volt); box-shadow: 0 0 0 1px var(--ink); vertical-align: .1em; }
.compare tbody td:nth-child(3) { color: var(--graphite); }
/* Phones: one card per question, each answer labelled. */
@media (max-width: 640px) {
  .compare table { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .compare tbody th, .compare tbody td, .compare tbody td:nth-child(n) { display: block; width: auto; padding: 0; border: 0; }
  .compare tbody td::after { content: none; }
  .compare tbody td[data-label]::before { content: attr(data-label); display: block; margin: 0 0 2px; width: auto; height: auto; background: none; box-shadow: none; font: 700 .6875rem/1.4 var(--mono); letter-spacing: var(--track); text-transform: uppercase; color: var(--graphite); }
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
}
.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--plinth);
  min-width: 0;
  overflow: hidden;
}
.cell h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.625rem, 2.4vw, 2.25rem); line-height: 1; letter-spacing: .01em; }
.cell p:not(.eyebrow) { color: var(--graphite); font-size: .9875rem; }
.cell-today, .cell-floor { grid-column: span 3; flex-direction: row; align-items: flex-end; gap: 24px; padding-bottom: 0; }
.cell-copy { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; padding-bottom: clamp(20px, 2.4vw, 32px); align-self: center; }
.cell-phone {
  flex: 0 0 auto;
  width: clamp(130px, 13vw, 176px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0 0 1px var(--rule), 0 30px 50px -30px var(--shadow);
}
.cell-phone img { width: 100%; aspect-ratio: 393 / 700; object-fit: cover; object-position: top; border-radius: inherit; }
.cell-week, .cell-ai { grid-column: span 3; }
.cell-week { background: var(--volt); color: var(--on-volt); }
.cell-week .eyebrow, .cell-week .eyebrow .no, .cell-week p:not(.eyebrow) { color: var(--on-volt); }
.cell-siri, .cell-cut, .cell-backup, .cell-cover { grid-column: span 3; }
.cell-ai { background: var(--ink); color: var(--paper); }
.cell-ai .eyebrow, .cell-ai .eyebrow .no { color: var(--paper); }
.cell-ai p:not(.eyebrow) { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.swatch.casual { background: #2f6bff; }
.swatch.business { background: #7a808a; }
@media (min-width: 1000px) {
  .cell-siri, .cell-cut, .cell-backup, .cell-cover { grid-column: span 3; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cell-today, .cell-floor { grid-column: span 6; }
  .cell-week { grid-column: span 5; }
  .cell-ai { grid-column: span 7; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell, .cell-today, .cell-floor, .cell-week, .cell-ai, .cell-siri, .cell-cut, .cell-backup, .cell-cover { grid-column: auto; }
  .cell-today, .cell-floor { flex-direction: column; align-items: stretch; }
  .cell-floor .cell-phone { order: 2; }
  .cell-phone { align-self: center; width: min(200px, 56vw); }
}

/* ---------- Scroll reveal (progressive; static without support or with reduced motion) ---------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes rise { from { opacity: .001; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Privacy band ---------- */

.band {
  /* A dark island in both themes; tokens switch locally. */
  --ink: #f3f3ee; --graphite: #9e9e97; --surface: #171716; --plinth: #2b2b28; --rule: #3a3a36; --accent: #d7ff3b; --paper: var(--band);
  background: var(--band);
  color: var(--ink);
  border-block: 1px solid #30302d;
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: center;
}
.band h2 { margin-top: 18px; }
.promises { list-style: none; margin-top: 36px; border-top: var(--heavy) solid var(--ink); }
.promises li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.promises strong { font: 700 .8125rem/1.6 var(--mono); letter-spacing: var(--track); text-transform: uppercase; }
.promises span { color: var(--graphite); }
.band .read { margin-top: 24px; color: var(--graphite); }
.band .plate { background: var(--plinth); }
@media (max-width: 860px) {
  .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .promises li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Gallery: a contact sheet ---------- */

.sheet {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(214px, 1fr);
  gap: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.sheet figure {
  position: relative;
  margin: 0;
  background: var(--plinth);
  padding: 44px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  scroll-snap-align: start;
}
.sheet .phone { width: 100%; max-width: 200px; border-radius: 26px; }
.sheet .eyebrow { position: absolute; left: 12px; top: 12px; color: var(--ink); }
.sheet figcaption { align-self: stretch; border-top: 1px solid var(--rule); padding-top: 10px; color: var(--ink); }
.fineprint { margin-top: 14px; font-size: .875rem; color: var(--graphite); }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq { border-top: var(--heavy) solid var(--ink); counter-reset: q; }
.faq details { border-bottom: 1px solid var(--rule); counter-increment: q; }
.faq summary {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) 20px;
  align-items: baseline;
  gap: 12px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
  font: 600 1.125rem/1.35 var(--sans);
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q." counter(q, decimal-leading-zero);
  font: 700 .75rem/1 var(--mono);
  letter-spacing: var(--track);
  color: var(--graphite);
}
.faq summary::after {
  content: "";
  width: 14px; height: 14px;
  align-self: center;
  justify-self: end;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat; }
.faq details p { padding: 0 0 22px calc(3.25rem + 12px); color: var(--graphite); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .faq summary { grid-template-columns: minmax(0, 1fr) 20px; }
  .faq summary::before { grid-column: 1 / -1; }
  .faq details p { padding-left: 0; }
}

/* ---------- Footer ---------- */

footer { padding-block: 56px 40px; }
footer .cut-line { margin-bottom: 40px; }
.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  color: var(--ink);
}
.colophon svg { order: 2; width: clamp(64px, 16vw, 220px); height: auto; aspect-ratio: 1; flex: none; }
.colophon .wordmark { font-size: clamp(4.5rem, 19vw, 15rem); line-height: .82; letter-spacing: .14em; margin-right: -.14em; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  margin-top: 32px;
  padding-top: 14px;
  border-top: var(--heavy) solid var(--ink);
  font: 700 .75rem/1.6 var(--mono);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--graphite);
}
.footer-meta nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-meta a { color: var(--ink); }

/* ---------- Privacy policy page ---------- */

.policy { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 112px); }
.policy-head { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin-bottom: 48px; }
.policy-head h1 { font-size: clamp(3rem, 8.5vw, 7rem); }
.prose { max-width: 760px; counter-reset: sec; }
.prose h2 {
  counter-increment: sec;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1;
  padding-top: 18px;
  margin: 52px 0 18px;
  border-top: var(--heavy) solid var(--ink);
}
.prose h2::before {
  content: "N°" counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font: 700 .75rem/1 var(--mono);
  letter-spacing: var(--track);
  color: var(--graphite);
}
.prose p + p { margin-top: 14px; }
.prose ul { list-style: none; display: grid; margin: 0 0 18px; border-top: 1px solid var(--rule); }
.prose li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule); }
.prose li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; background: var(--ink); }
.prose .contact { margin-top: 40px; color: var(--graphite); }

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
