/* Nyx website. One stylesheet for every page. No scripts, no web fonts, no external requests.
   Palette and type follow the app: void black, deep indigo, nebula violet, starlight text,
   moon-amber accents, a serif for display numerals and headings. */

:root {
  --void: #000000; --indigo: #0B1026; --violet: #2A1B4E;
  --ink: #F5F1E6; --muted: rgba(245, 241, 230, .74); --soft: rgba(245, 241, 230, .6);
  --line: rgba(245, 241, 230, .14); --line-strong: rgba(245, 241, 230, .26);
  --amber: #FFB454; --amber-soft: rgba(255, 180, 84, .16); --on-amber: #000000;
  --panel: rgba(13, 18, 42, .72); --glass: rgba(6, 8, 20, .62);
  --glow: rgba(255, 180, 84, .22); --band: rgba(196, 182, 255, .07);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --shot-filter: none;
  color-scheme: dark;
}

/* Night vision: the same page in deep red, as the app does at the park. Red text on black is 6.2:1. */
html:has(#nv:checked) {
  --ink: #FF453A; --muted: #E0473D; --soft: #D8443A;
  --line: rgba(255, 69, 58, .22); --line-strong: rgba(255, 69, 58, .4);
  --amber: #FF453A; --amber-soft: rgba(255, 69, 58, .14); --on-amber: #000000;
  --panel: rgba(31, 8, 7, .8); --glass: rgba(14, 3, 3, .7);
  --glow: rgba(255, 69, 58, .16); --band: rgba(255, 69, 58, .05);
  --violet: #1F0807; --indigo: #120403;
  --shot-filter: grayscale(1) sepia(1) hue-rotate(-40deg) saturate(7) brightness(.78) contrast(1.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font: 17px/1.6 var(--sans); overflow-x: clip; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--amber); color: var(--on-amber); }

/* The sky behind every page: a seeded star field, a brighter twinkling layer and a faint band. */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 70% at 50% -10%, var(--violet) 0%, var(--indigo) 34%, var(--void) 72%); }
.sky::before, .sky::after { content: ""; position: absolute; inset: 0; background-size: 1200px 1200px; }
.sky::before { background-image: url("images/stars.svg"); opacity: .9; }
.sky::after { background-image: url("images/stars-bright.svg"); background-position: 300px 140px; }
.sky .band { position: absolute; left: -20%; right: -20%; top: 8%; height: 46%; transform: rotate(-18deg);
  background: radial-gradient(50% 40% at 55% 50%, var(--band), transparent 70%); filter: blur(10px); }
html:has(#nv:checked) .sky::before { background-image: url("images/stars-red.svg"); opacity: .7; }
html:has(#nv:checked) .sky::after { background-image: url("images/stars-bright-red.svg"); }
@media (prefers-reduced-motion: no-preference) {
  .sky::after { animation: twinkle 7s ease-in-out infinite alternate; }
  @keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
}

.skip { position: absolute; left: -999px; top: 10px; z-index: 50; background: var(--indigo); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#nv { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--glass); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.site-header .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 22px; letter-spacing: .02em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; filter: var(--shot-filter); }
.site-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--amber-soft); }

/* Night-vision switch (a real checkbox, styled) */
.nv-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); font-size: 15px; min-height: 44px; padding: 0 4px 0 10px; user-select: none; -webkit-user-select: none; }
.nv-switch .track { width: 42px; height: 26px; border-radius: 13px; background: rgba(245, 241, 230, .16); position: relative; flex: none; transition: background .25s; box-shadow: inset 0 0 0 1px var(--line); }
.nv-switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
#nv:checked ~ * .nv-switch .track { background: #FF453A; }
#nv:checked ~ * .nv-switch .track::after { transform: translateX(16px); background: #000; }
#nv:focus-visible ~ * .nv-switch .track { outline: 2px solid var(--amber); outline-offset: 3px; }
.nv-switch .label-short { display: none; }

/* Layout */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 700px; margin: 0 auto; padding: 0 20px; }
section { position: relative; }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--soft); margin: 0 0 14px; }
.eyebrow.amber { color: var(--amber); }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--soft); }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 90px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.7vw, 74px); margin: 0 0 24px; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero .lead { max-width: 34em; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; }
.pill.status { color: var(--on-amber); background: var(--amber); box-shadow: 0 10px 40px -10px var(--glow); }
.pill.primary { color: var(--on-amber); background: var(--amber); }
.pill.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-amber); opacity: .75; }
.pill.ghost { color: var(--ink); border: 1px solid var(--line-strong); background: var(--panel); }
.pill.ghost:hover { border-color: var(--amber); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--soft); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.hero-device { position: relative; justify-self: center; width: min(100%, 360px); }
.hero-device::before { content: ""; position: absolute; inset: 12% -30% 0; background: radial-gradient(closest-side, var(--glow), transparent); z-index: -1; }

/* Device frames (CSS only) */
.device { position: relative; aspect-ratio: 1320 / 2868; padding: 3.2%; border-radius: 15% / 7%;
  background: linear-gradient(150deg, #2b2d36 0%, #0d0e14 40%, #1d1f27 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .8); }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.4% / 5.8%; filter: var(--shot-filter); background: #000; }
.device.tablet { aspect-ratio: 2064 / 2752; padding: 2.6%; border-radius: 6.5% / 4.9%; }
.device.tablet img { border-radius: 4.4% / 3.3%; }
.device.watch { aspect-ratio: 422 / 514; padding: 7%; border-radius: 30%; background: linear-gradient(150deg, #3a3c46, #121319 55%, #26282f); }
.device.watch img { border-radius: 22%; }
.shot { margin: 0; }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--soft); text-align: center; }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(34px, 4.8vw, 58px); margin-bottom: 18px; }
.section h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }

/* The score */
.score-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dial { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial .track { stroke: rgba(245, 241, 230, .1); }
.dial .value { stroke: var(--amber); filter: drop-shadow(0 0 10px var(--glow)); }
.dial .tick { stroke: var(--line-strong); }
.dial .knob { fill: var(--ink); filter: drop-shadow(0 0 6px var(--amber)); }
.dial .readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding-top: 4%; }
.dial .number { font-family: var(--serif); font-size: clamp(96px, 14vw, 150px); line-height: .9; color: var(--amber); letter-spacing: -.02em; }
.dial .band-name { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); margin-top: 8px; }
.dial .unit { font-size: 12px; letter-spacing: .3em; color: var(--soft); margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .dial .value { animation: draw 2.2s cubic-bezier(.2, .9, .25, 1) .3s both; }
  .dial .knob { animation: knob .6s ease .2s both; }
  @keyframes draw { from { stroke-dasharray: 0 100; } }
  @keyframes knob { from { opacity: 0; } }
}
.parts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.part { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.part .name { font: 600 12px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.part .pts { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--amber); text-align: right; }
.part .pts small { font-family: var(--sans); font-size: 14px; color: var(--soft); }
.part .meter { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(245, 241, 230, .1); overflow: hidden; }
.part .meter span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.part p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.cap { margin-top: 18px; padding: 16px 20px; border-left: 2px solid var(--amber); color: var(--ink); background: var(--amber-soft); border-radius: 0 14px 14px 0; font-size: 16px; }
.scale { margin-top: clamp(40px, 6vw, 64px); }
.scale ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 40fr 20fr 15fr 15fr 10fr; gap: 4px; }
.scale li { padding: 14px 12px 0; border-top: 4px solid var(--amber); font-size: 14px; color: var(--muted); }
.scale li:nth-child(1) { border-color: rgba(255, 180, 84, .18); }
.scale li:nth-child(2) { border-color: rgba(255, 180, 84, .36); }
.scale li:nth-child(3) { border-color: rgba(255, 180, 84, .56); }
.scale li:nth-child(4) { border-color: rgba(255, 180, 84, .8); }
html:has(#nv:checked) .scale li { border-color: var(--amber); }
.scale b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 12vw, 150px); }
.feature.flip .copy { order: 2; }
.feature .copy { max-width: 500px; }
.feature .media { display: flex; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.feature .media .shot { width: min(100%, 320px); }
.feature .media.pair .shot { width: min(48%, 280px); }
.feature .media.pair .shot:nth-child(2) { margin-top: 12%; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--amber); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--amber); flex: none; }
.dot.full { background: var(--amber); box-shadow: 0 0 10px var(--glow); }
.dot.half { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); }

/* Field mode: always red, whatever the switch says */
.field { background: radial-gradient(90% 70% at 50% 30%, #1F0807 0%, #0A0202 55%, #000 100%); border-top: 1px solid rgba(255, 69, 58, .2); border-bottom: 1px solid rgba(255, 69, 58, .2); }
.field, .field .copy, .field h2 { color: #FF453A; }
.field .eyebrow { color: #D8443A; }
.field .lead, .field .ticks li { color: #E0473D; }
.field .ticks li::before { border-color: #FF453A; }
.field .pill.ghost { color: #FF453A; border-color: rgba(255, 69, 58, .45); background: rgba(31, 8, 7, .8); cursor: pointer; }
.field .shot figcaption { color: #D8443A; }

/* Platforms */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.tile h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile.ipad { grid-column: span 3; }
.tile.watch { grid-column: span 3; }
.tile.vision { grid-column: span 6; padding: 0; min-height: clamp(360px, 46vw, 560px); justify-content: flex-end; }
.tile .art { margin-top: auto; padding-top: 24px; display: flex; justify-content: center; gap: 16px; }
.tile.ipad .device { width: min(78%, 360px); margin-bottom: -26%; }
.tile.watch .art .device { width: min(42%, 200px); }
.tile.vision > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--shot-filter); }
.tile.vision .over { position: relative; padding: clamp(24px, 4vw, 48px); background: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, .5) 60%, transparent); max-width: none; }
.tile.vision .over p { max-width: 560px; }

/* Honesty cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 24px; }
.card .k { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0 0 8px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.label-card { border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(24px, 4vw, 40px); background: var(--panel); }
.label-card .big { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; margin: 6px 0 14px; }
.hosts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hosts li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hosts code { font: 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }

/* Closing call */
.closing { text-align: center; }
.closing .icon { width: clamp(96px, 12vw, 128px); height: auto; margin: 0 auto 28px; border-radius: 24%; box-shadow: 0 30px 80px -20px var(--glow); filter: var(--shot-filter); }
.closing h2 { font-size: clamp(38px, 5.6vw, 68px); margin-bottom: 16px; }
.closing .cta-row { justify-content: center; margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 8vw, 100px); padding: 48px 0 56px; font-size: 14px; color: var(--soft); background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h2 { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .about { max-width: 34em; }
.site-footer .credits { border-top: 1px solid var(--line); padding-top: 24px; line-height: 1.7; }
.site-footer .credits a { color: var(--muted); }

/* Text pages: privacy, support, case study, press */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 20px; }
.doc { padding-bottom: 40px; }
.doc h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 56px 0 14px; }
.doc h3 { font-size: 21px; margin: 30px 0 8px; }
.doc p, .doc li, .doc dd { color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc li { margin: 10px 0; }
.doc li::marker { color: var(--amber); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 28px 0; }
.panel p:last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; background: var(--panel); }
.toc a:hover { color: var(--ink); border-color: var(--amber); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; color: var(--ink); font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 26px; margin: 0; }
dl.facts dt { color: var(--ink); font-weight: 600; }
dl.facts dd { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
th { color: var(--ink); font-weight: 600; }
blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--amber); color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 20px 0; }
.shots.landscape { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.shots li { margin: 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 16px; border: 1px solid var(--line); filter: var(--shot-filter); }
.shots a { text-decoration: none; }
.shots figcaption { font-size: 14px; margin-top: 8px; color: var(--soft); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 20px 0; }
.figures li { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); font-size: 15px; color: var(--muted); }
.num { font-family: var(--serif); color: var(--amber); font-size: 34px; line-height: 1.1; display: block; margin-bottom: 4px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 18px 0; }
.swatches li { margin: 0; padding: 16px; border-radius: 16px; border: 1px solid var(--line); font-size: 15px; }
.swatches .on-black { background: #000; color: #FF453A; }
.swatches .on-panel { background: #1F0807; color: #FF453A; }
.swatches .on-ink { background: #0B1026; color: #F5F1E6; }
.swatches .on-amber { background: #FFB454; color: #000; }
.swatches li strong { color: inherit; }
.boiler { white-space: pre-line; }
.icon-figure img { width: 160px; border-radius: 22%; filter: var(--shot-filter); }

/* Gentle reveal as sections scroll in, where the browser supports scroll-driven animation. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(36px); } }
  }
  .pill, .site-nav a, .toc a, .card, .tile { transition: border-color .2s, background-color .2s, color .2s; }
}

/* Larger text and narrow windows */
@media (max-width: 960px) {
  .hero .wrap, .score-grid, .feature, .privacy-band { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .copy { order: 0; }
  .feature .copy { max-width: none; }
  .hero-device { width: min(78%, 330px); }
  .tile.ipad, .tile.watch { grid-column: span 6; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-nav .opt { display: none; }
  .nv-switch .label-long { display: none; }
  .nv-switch .label-short { display: inline; }
  .scale ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .scale li { padding: 10px 2px 0; font-size: 12px; }
  .scale li { overflow-wrap: normal; }
  .scale b { font-size: 14px; letter-spacing: -.01em; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 14px; }
}
@media (max-width: 480px) {
  .wrap, .prose, .site-header .inner { padding-left: 16px; padding-right: 16px; }
  .site-header .inner { gap: 6px; }
  .site-nav a { padding: 10px 8px; }
  .feature .media.pair .shot { width: 48%; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-contrast: more) {
  :root { --muted: rgba(245, 241, 230, .9); --soft: rgba(245, 241, 230, .82); --line: rgba(245, 241, 230, .4); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #05060d; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  .sky, .site-header, .nv-switch,   body { background: #fff; color: #000; }
}
