:root {
  color-scheme: dark;
  --bg: #080a0c;
  --bg-deep: #050709;
  --bg-warm: #120d0a;
  --bg-cool: #08100f;
  --surface: #0f1215;
  --surface-2: #161b1f;
  --text: #f6f5f1;
  --muted: #a7a7a2;
  --faint: #747772;
  --line: rgba(246, 245, 241, 0.14);
  --line-strong: rgba(246, 245, 241, 0.24);
  --orange: #ff7541;
  --orange-soft: #ff986e;
  --green: #83f36a;
  --display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --wrap: 1320px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* Motion scale adapted for 4789 from the interaction roles documented by transitions.dev. */
  --motion-stagger: 40ms;
  --motion-micro: 80ms;
  --motion-quick: 150ms;
  --motion-fast: 250ms;
  --motion-medium: 350ms;
  --motion-slow: 400ms;
  --motion-emphasis: 500ms;
  --motion-distance: 12px;
  --motion-blur: 3px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dropdown-pre-scale: .97;
  --dropdown-close-scale: .99;
  --modal-scale: .96;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg-deep); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: radial-gradient(85vw 62vw at 8% -10%,rgba(255,117,65,.075),transparent 60%),radial-gradient(72vw 58vw at 92% 18%,rgba(131,243,106,.045),transparent 62%),linear-gradient(180deg,#0a0d10 0%,#07090b 45%,#0b0d10 100%); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(54vw 50vw at 18% 38%,rgba(255,117,65,.045),transparent 68%),radial-gradient(52vw 48vw at 84% 66%,rgba(131,243,106,.035),transparent 70%); }
body::after { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .028; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29' opacity='.72'/%3E%3C/svg%3E"); background-size: 180px 180px; }
body > main,body > footer{position:relative;z-index:1}
@view-transition { navigation: auto; }
.site-header .brand img { view-transition-name: brand-mark; }
::view-transition-old(root) { animation: page-out var(--motion-quick) var(--motion-ease) both; }
::view-transition-new(root) { animation: page-in var(--motion-fast) var(--motion-ease) both; }
::view-transition-group(brand-mark) { animation-duration: var(--motion-fast); animation-timing-function: var(--motion-ease); }
@keyframes page-out { to { opacity: 0; transform: translateX(-8px); } }
@keyframes page-in { from { opacity: 0; transform: translateX(8px); } }
img, video { max-width: 100%; }
img { display: block; }
button, input { font: inherit; }
a { color: inherit; }
.wrap { width: min(calc(100% - 56px), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; transform: translateY(-160%); transition: transform 150ms var(--ease-out); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

.site-header { position: sticky; z-index: 30; top: 0; background: rgba(6,7,8,.76); border-bottom: 1px solid transparent; backdrop-filter: blur(18px) saturate(1.15); transition: background-color var(--motion-quick) ease, border-color var(--motion-quick) ease; }
.site-header.scrolled { background: rgba(6,7,8,.92); border-color: var(--line); }
.nav-row { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { flex: 0 0 auto; display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 31px; height: 31px; border-radius: 8px; }
.brand small { color: var(--faint); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav-links > a:not(.button) { position: relative; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; transition: color var(--motion-quick) ease; }
.nav-links > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform var(--motion-fast) var(--motion-ease); }
.nav-links > a[aria-current="page"] { color: var(--text); }
.nav-links > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.menu-label { grid-area: 1/1; opacity: 0; transform: translateY(4px); filter: blur(2px); transition: opacity var(--motion-quick) var(--ease-in-out), transform var(--motion-quick) var(--ease-in-out), filter var(--motion-quick) var(--ease-in-out); }
.menu-toggle[data-state="menu"] [data-menu-label="menu"], .menu-toggle[data-state="close"] [data-menu-label="close"] { opacity: 1; transform: translateY(0); filter: blur(0); }
.menu-toggle[data-state="menu"] [data-menu-label="close"] { transform: translateY(-4px); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 780; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.button.primary { background: var(--orange); color: #1b0c06; }
.button.secondary { border-color: var(--line-strong); background: transparent; color: var(--text); }
.button:active { transform: scale(.97); }
.nav-cta { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 22px; color: var(--orange-soft); font-weight: 750; text-decoration: none; }
.text-link > span[aria-hidden="true"] { display: inline-block; transition: transform var(--motion-fast) var(--motion-ease); }

/* First-paint and one-time scroll reveals. Hidden states only exist after JavaScript opts in. */
.motion-ready .motion-stagger-line { opacity: 0; transform: translateY(var(--motion-distance)); filter: blur(var(--motion-blur)); transition: opacity var(--motion-emphasis) var(--motion-ease), transform var(--motion-emphasis) var(--motion-ease), filter var(--motion-emphasis) var(--motion-ease); transition-delay: calc(var(--motion-order, 0) * var(--motion-stagger)); }
.motion-ready .motion-stagger.is-visible .motion-stagger-line { opacity: 1; transform: translateY(0); filter: blur(0); }
.motion-ready .motion-reveal { opacity: 0; transform: translateY(var(--motion-distance)); transition: opacity var(--motion-emphasis) var(--motion-ease), transform var(--motion-emphasis) var(--motion-ease); transition-delay: calc(var(--motion-order, 0) * var(--motion-stagger)); }
.motion-ready .motion-reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .proof-media .phone-frame, .motion-ready .proof-media .landscape-frame { opacity: .76; clip-path: inset(0 0 9% 0 round 28px); transform: scale(.985); transition: opacity var(--motion-emphasis) var(--motion-ease), clip-path var(--motion-emphasis) var(--ease-in-out), transform var(--motion-emphasis) var(--motion-ease); }
.motion-ready .proof-media.in-view .phone-frame, .motion-ready .proof-media.in-view .landscape-frame { opacity: 1; clip-path: inset(0 0 0 0 round 0); transform: scale(1); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
.story-hero { min-height: calc(100svh - 72px); display: grid; align-items: center; padding: 34px 0 54px; background:linear-gradient(180deg,rgba(10,13,16,.38),rgba(7,9,11,.72)); }
.story-hero-grid { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.hero-copy { max-width: 760px; text-align: center; }
.hero-copy h1 { margin-bottom: 28px; font-size: clamp(58px, 6.4vw, 102px); font-weight: 680; line-height: .96; letter-spacing: -.055em; }
.hero-copy h1 span, .page-hero h1 span, .mac-hero h1 span, .prose-hero h1 span, .inside-hero h1 span { color: var(--orange); }
.hero-copy > p:not(.availability-line) { max-width: 55ch; margin-inline: auto; color: var(--muted); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.hero-copy .actions { justify-content: center; }
.availability-line { margin: 24px 0 0; color: var(--faint); font-size: 13px; }

.hero-film { width: 100%; margin: 0; }
.hero-film--tall { display: none; max-width: 420px; margin-inline: auto; }
.hero-film--tall .hero-film-frame { aspect-ratio: 9 / 16; }
@media (max-width: 720px) { .hero-film--wide { display: none; } .hero-film--tall { display: block; } }
.hero-film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: #050607; box-shadow: 0 44px 120px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.12); }
.hero-film-video { width: 100%; height: auto; display: block; background: #050607; }
.hero-film-cap { margin: 14px 0 0; font-size: 13px; letter-spacing: .01em; color: rgba(255,255,255,.62); text-align: center; padding: 0 18px; }
.hero-film-cap a { color: rgba(255,255,255,.82); }

.proof-media { position: relative; isolation:isolate; margin: 0; justify-self: center; opacity: .68; transform: translateY(16px); transition: opacity 360ms ease, transform 480ms var(--ease-out); }
.proof-media.in-view { opacity: 1; transform: none; }
.proof-media::before{content:"";position:absolute;z-index:0;inset:-10% 0;pointer-events:none;background:radial-gradient(circle at 34% 42%,rgba(255,117,65,.14),transparent 48%),radial-gradient(circle at 70% 58%,rgba(131,243,106,.11),transparent 50%);opacity:0;transform:scale(.94);transition:opacity var(--motion-emphasis) var(--motion-ease),transform var(--motion-emphasis) var(--motion-ease)}
.proof-media.in-view::before{opacity:1;transform:scale(1)}
.proof-media > *{position:relative;z-index:1}
.proof-media.portrait { --phone-w: min(350px, 30vw); width: var(--phone-w); }
/* ---- iPhone 17 Pro Max device frame ------------------------------------------
   One scale, `--phone-w` = the outer body width. Everything else is derived from
   the real hardware in points: screen 440 x 956, display corner 62, Dynamic
   Island 125 x 37 sitting 11 down, bezel ~14. `font-size` carries the screen
   width so every child measures in `em` and stays proportional at any size.
   Captures are full-screen 1320x2868 (or 720x1564), so the screen box is the
   exact 440/956 aspect and `object-fit: cover` never crops. */
.phone-frame { --sw: calc(var(--phone-w, 350px) / 1.064); position: relative; box-sizing: border-box; width: 1.064em; font-size: var(--sw); padding: .032em; border-radius: .173em; background: linear-gradient(150deg,#3a3d41,#17191c 38%,#0b0c0e 70%,#1c1e21); box-shadow: 0 .12em .34em rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.14), inset 0 .004em 0 rgba(255,255,255,.14); }
.phone-frame::before { content: ""; position: absolute; inset: .012em; border-radius: .161em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.85); pointer-events: none; z-index: 1; }
.phone-frame::after { content: ""; position: absolute; top: calc(.032em + .025em); left: 50%; width: .284em; height: .084em; transform: translateX(-50%); border-radius: .042em; background: #000; pointer-events: none; z-index: 2; }
.phone-frame > video, .phone-frame > img, .phone-frame > .screen { display: block; width: 1em; aspect-ratio: 440 / 956; border-radius: .141em; background: #000; object-fit: cover; }
.phone-frame > .screen { position: relative; overflow: hidden; }
.phone-frame > .screen > video, .phone-frame > .screen > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* `.baked` = the clip already carries a rendered bezel (the settings mini clips,
   352x800 with the screen at x 9-344, y 19-764). Map that screen rectangle onto
   the true 440/956 box so the CSS frame is the only bezel on show. */
.phone-frame.baked > .screen > video, .phone-frame.baked > .screen > img { position: absolute; left: -2.68%; top: -2.55%; width: 104.76%; height: 107.24%; object-fit: fill; }
/* Same device rotated: screen 956 x 440 (the licensed player clip is 1280x590). */
.proof-media.landscape { --phone-w: min(800px, calc(100vw - 56px)); width: var(--phone-w); min-width: 0; }
.phone-frame.landscape { --sw: calc(var(--phone-w, 800px) / 1.0295); width: 1.0295em; padding: .0147em; border-radius: .0797em; }
.phone-frame.landscape::before { inset: .0055em; border-radius: .0742em; }
.phone-frame.landscape::after { top: 50%; left: calc(.0147em + .0115em); width: .0387em; height: .1307em; transform: translateY(-50%); border-radius: .019em; }
.phone-frame.landscape > video, .phone-frame.landscape > img, .phone-frame.landscape > .screen { aspect-ratio: 956 / 440; border-radius: .0649em; }
.landscape-frame { padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 25px; background: linear-gradient(145deg,#292d31,#0c0e10); box-shadow: 0 42px 110px rgba(0,0,0,.62); }
.landscape-frame video, .landscape-frame img { display: block; width: 100%; aspect-ratio: 1280 / 590; border-radius: 17px; background: #050607; object-fit: cover; }
/* Receiver captures are native 16:9. The 1280/590 crop above would cut the poster
   rail off the bottom of the lobby, so TV frames keep the whole screen.
   `height: auto` is load-bearing: the intrinsic `height` attribute on the <img>
   would otherwise fix both dimensions and make `aspect-ratio` a no-op. */
.landscape-frame.tv img { aspect-ratio: 16 / 9; height: auto; object-fit: contain; }

/* Brand-neutral flagship television. Deliberately not modelled on a named set:
   4789 TV does not run on Tizen or webOS, so a recognisable panel would claim
   hardware support the app does not have. Pure CSS — no mockup image to ship,
   and the screenshot inside stays pixel-exact at any width. */
.tv-set { position: relative; padding: 0 0 clamp(18px, 2.4vw, 30px); }
.tv-set .tv-panel { position: relative; padding: clamp(5px, .7vw, 9px); border-radius: clamp(8px, 1vw, 14px);
  background: linear-gradient(160deg, #3a4045 0%, #15181b 26%, #0a0c0e 70%, #23282c 100%);
  box-shadow: 0 2px 1px rgba(255,255,255,.16) inset, 0 -1px 1px rgba(0,0,0,.7) inset,
              0 30px 60px -22px rgba(0,0,0,.85), 0 70px 130px -50px rgba(255,117,65,.16); }
.tv-set .tv-panel img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain;
  border-radius: clamp(4px, .5vw, 7px); background: #000; }
/* Screen glass: a single low-opacity sheen. Anything stronger fights the UI underneath. */
.tv-set .tv-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(196deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.02) 22%, transparent 46%); }
/* Neck and plinth. The pedestal is centred and narrow so the panel keeps the eye. */
.tv-set::before, .tv-set::after { content: ""; position: absolute; left: 50%; translate: -50% 0; pointer-events: none; }
.tv-set::before { bottom: clamp(10px, 1.4vw, 18px); width: clamp(52px, 7vw, 88px); height: clamp(10px, 1.4vw, 18px);
  background: linear-gradient(180deg, #23282c, #101315); border-radius: 0 0 4px 4px; }
.tv-set::after { bottom: 0; width: clamp(150px, 20vw, 250px); height: clamp(7px, .85vw, 11px);
  background: linear-gradient(180deg, #2b3136, #0d0f11 62%); border-radius: 999px;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.9); }
@media (max-width: 720px) { .tv-set { padding-bottom: 14px; } }
.motion-toggle { position: absolute; right: 16px; bottom: 16px; min-width: 64px; min-height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(8,10,12,.76); color: #fff; font-size: 12px; font-weight: 750; backdrop-filter: blur(10px); cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity 160ms ease, transform 160ms var(--ease-out), background-color 160ms ease; }
.motion-toggle:focus-visible, .motion-toggle[data-paused="true"] { opacity: 1; transform: none; }

.story-index { position: sticky; z-index: 12; top: 72px; border-block: 1px solid var(--line); background: rgba(6,7,8,.9); backdrop-filter: blur(14px); overflow: hidden; }
.story-index .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.story-index a { display: flex; justify-content: center; gap: 8px; padding: 15px 10px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; transition: color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); }
.story-index a + a { border-left: 1px solid var(--line); }
.story-index span, .chapter-number { color: var(--orange-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-index a[aria-current="step"] { color: var(--text); transform: translateY(-1px); }
.story-index-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg,var(--orange),var(--green)); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-fast) var(--motion-ease); will-change: transform; pointer-events: none; }

.story-chapter { --wash-x:18%; --chapter-wash:rgba(255,117,65,.038); min-height: calc(100svh - 126px); display: grid; align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; background:radial-gradient(58vw 52vw at var(--wash-x) 48%,var(--chapter-wash),transparent 68%),linear-gradient(180deg,rgba(13,16,19,.78),rgba(8,10,12,.84)); }
.story-chapter.reverse{--wash-x:82%}
#library{--chapter-wash:rgba(255,117,65,.065)}
#title{--chapter-wash:rgba(126,146,176,.055)}
#sources{--chapter-wash:rgba(131,243,106,.055)}
#player{--chapter-wash:rgba(255,117,65,.052)}
#television,#remote{--chapter-wash:rgba(131,243,106,.07)}
.chapter-grid { display: grid; grid-template-columns: minmax(350px, .8fr) minmax(460px, 1.2fr); gap: clamp(60px, 9vw, 150px); align-items: center; }
.reverse .chapter-grid .proof-media { order: 2; }
.reverse .chapter-grid .chapter-copy { order: 1; }
.chapter-copy { max-width: 700px; }
.chapter-copy h2, .feature-intro h2, .availability h2, .mac-role h2, .principles h2, .proof-directory h2, .support-status h2 { margin: 0 0 22px; font-size: clamp(43px, 5vw, 75px); font-weight: 660; line-height: 1; letter-spacing: -.048em; }
.chapter-copy > p:not(.chapter-number, .capture-note), .feature-intro > p:not(.chapter-number), .availability-grid > div > p, .principles > .wrap > div > p { max-width: 50ch; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.chapter-number { margin-bottom: 26px; }
.plain-list { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; color: #d8d8d3; }
.plain-list li { display: flex; align-items: center; gap: 11px; }
.plain-list li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.capture-note { max-width: 52ch; margin: 20px 0 0; color: #81837e; font-size: 12px; line-height: 1.55; }
.wide-media-grid { grid-template-columns: minmax(440px, 1.15fr) minmax(390px, .85fr); }
.story-copy-only{grid-template-columns:minmax(0,820px);justify-content:center}
.reverse .story-copy-only .chapter-copy{order:initial}
.page-copy-only,.install-copy-only,.proof-copy-only{grid-template-columns:minmax(0,820px);justify-content:center}
.proof-copy-only .feature-intro{max-width:720px}
.fact-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; }
.fact-line span { padding-bottom: 7px; border-bottom: 1px solid var(--line); color: #d7d7d2; font-size: 13px; }
.tv-payoff { background:radial-gradient(64vw 58vw at 18% 48%,rgba(131,243,106,.075),transparent 66%),linear-gradient(180deg,rgba(9,17,15,.88),rgba(7,10,11,.88)); }

.availability { padding: clamp(90px, 11vw, 150px) 0; background:radial-gradient(62vw 44vw at 12% 20%,rgba(255,117,65,.07),transparent 68%),linear-gradient(180deg,#0e1114,#090b0e); border-bottom: 1px solid var(--line); }
.availability-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 9vw, 140px); align-items: start; }
.availability-grid > div { max-width: 760px; }
.availability dl { margin: 0; border-top: 1px solid var(--line); }
.availability dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.availability dt { color: var(--faint); font-size: 13px; font-weight: 700; }
.availability dd { margin: 0; color: var(--text); font-size: 15px; }
.availability dd a { color: var(--orange-soft); }
.compact-availability { margin-top: clamp(80px, 10vw, 140px); }

/* Feature page */
.page-hero { padding: clamp(88px, 10vw, 150px) 0; background:radial-gradient(58vw 48vw at 78% 48%,rgba(131,243,106,.055),transparent 68%),radial-gradient(52vw 46vw at 18% 46%,rgba(255,117,65,.065),transparent 70%),linear-gradient(180deg,rgba(12,15,18,.82),rgba(8,10,12,.76)); }
.feature-hero-grid, .page-hero-grid { display: grid; grid-template-columns: minmax(520px, 1.05fr) minmax(330px, .95fr); gap: clamp(50px, 8vw, 125px); align-items: center; }
.page-hero h1 { max-width: 12ch; margin: 0; font-size: clamp(58px, 7vw, 105px); font-weight: 670; line-height: .97; letter-spacing: -.055em; }
.page-hero .display { font-family: var(--display); }
.page-hero .lead { max-width: 54ch; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); }
.eyebrow { display: inline-block; margin-bottom: 20px; color: var(--orange-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-badge, .card-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 12px; font-weight: 700; }
.status-badge::before, .card-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.status-badge.live::before, .card-status.live::before { background: var(--green); }
.feature-section { padding: clamp(92px, 11vw, 160px) 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; background:linear-gradient(180deg,rgba(12,15,18,.72),rgba(8,10,12,.78)); }
.soft-band { background:radial-gradient(60vw 48vw at 82% 42%,rgba(131,243,106,.045),transparent 68%),linear-gradient(180deg,rgba(13,18,19,.88),rgba(9,12,14,.86)); }
.feature-intro { max-width: 930px; }
.feature-intro.narrow { margin-inline: auto; text-align: center; }
.feature-intro.narrow > p:not(.chapter-number) { margin-inline: auto; }
.input-ledger { margin-top: 70px; border-top: 1px solid var(--line); }
.input-ledger > div { display: grid; grid-template-columns: minmax(210px,.5fr) 1.5fr; gap: 40px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.input-ledger strong { font-size: 18px; }
.input-ledger span { color: var(--muted); }
.split-proof { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(60px, 9vw, 140px); align-items: center; }
.reverse-proof .feature-intro { order: 2; }
.paired-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(38px, 7vw, 90px); margin-top: 80px; }
.paired-phones figure { margin: 0; }
.paired-phones figcaption { max-width: 34ch; margin: 24px auto 0; color: var(--muted); font-size: 14px; text-align: center; }
.paired-phones .capture-note { text-align: center; }
.player-depth { background:radial-gradient(72vw 46vw at 50% 48%,rgba(255,117,65,.08),transparent 68%),linear-gradient(180deg,rgba(16,12,11,.84),rgba(9,10,12,.86)); }
.player-proof { display: flex; justify-content: center; margin: 80px 0 62px; }
.capability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; border-top: 1px solid var(--line); }
.capability-list > div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.capability-list strong { font-size: 19px; }
.capability-list p { max-width: 50ch; margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.centered { margin-inline: auto; text-align: center; }
.quiet-links { margin-top: 66px; border-top: 1px solid var(--line); }
.quiet-links a { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.quiet-links span { color: var(--muted); }

/* Existing TV and casting pages */
.section { padding: clamp(90px, 10vw, 145px) 0; background:linear-gradient(180deg,rgba(12,15,18,.74),rgba(8,10,12,.8)); }
main>.section:nth-of-type(even){background:radial-gradient(58vw 42vw at 84% 46%,rgba(131,243,106,.04),transparent 68%),linear-gradient(180deg,rgba(12,17,18,.8),rgba(8,10,12,.84))}
.hairline { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .statement h2, .cta-panel h2 { margin: 0; font-size: clamp(43px, 5.7vw, 80px); font-weight: 660; line-height: 1; letter-spacing: -.048em; }
.section-heading .lead { margin: 0; }
.lead { color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); }
.display em { color: var(--orange); font-style: normal; }
.statement { max-width: 940px; margin-inline: auto; text-align: center; }
.statement .lead { max-width: 700px; margin: 28px auto 0; }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.journey article { min-height: 265px; padding: 34px; }
.journey article + article { border-left: 1px solid var(--line); }
.journey .number, .feature-icon, .feature-row .num { color: var(--orange-soft); font-size: 20px; font-weight: 750; }
.journey h3 { margin: 58px 0 10px; font-size: 25px; letter-spacing: -.025em; }
.journey p, .feature-card p, .feature-row p { margin: 0; color: var(--muted); }
.two-up { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.feature-card { min-height: 280px; padding: 32px; border-bottom: 1px solid var(--line); }
.feature-card:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-card h3 { margin: 52px 0 10px; font-size: 27px; letter-spacing: -.025em; }
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 8vw, 110px); align-items: center; }
.casting-copy-only{grid-template-columns:minmax(0,700px);justify-content:center}
.phone-shell { width: min(365px, 78vw); margin-inline: auto; padding: 8px; border: 1px solid var(--line-strong); border-radius: 54px; background: #101315; box-shadow: 0 38px 100px rgba(0,0,0,.6); }
.phone-shell img { width: 100%; border-radius: 46px; }
.feature-list { display: grid; gap: 26px; margin-top: 38px; }
.feature-row { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding-top: 22px; border-top: 1px solid var(--line); }
.feature-row h3 { margin: 0 0 6px; font-size: 20px; }
.target-table { width: 100%; border-collapse: collapse; }
.target-table th, .target-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.target-table th { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.target-table td { color: var(--muted); }
.target-table td:first-child { color: var(--text); font-weight: 700; }
.cta-panel { padding: clamp(44px, 7vw, 82px); border: 1px solid rgba(255,117,65,.25); background: radial-gradient(650px 320px at 90% 0, rgba(255,117,65,.14), transparent 70%), var(--surface); }
.cta-panel .lead { max-width: 60ch; }
.cta-panel .quiet { overflow-wrap: anywhere; word-break: break-word; }
.quiet { color: var(--faint); }

/* TV install: the code is the action, so it gets weight; the checksum is
   verification metadata and reads as secondary. */
.tv-code { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 34px); margin-top: 34px; padding: 22px clamp(22px, 3vw, 30px); border: 1px solid rgba(255,117,65,.28); border-radius: 18px; background: rgba(0,0,0,.28); }
.tv-code-chip { flex: 0 0 auto; display: flex; flex-direction: column; gap: 7px; }
.tv-code-label { color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.tv-code-value { color: var(--orange); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(34px, 4.4vw, 46px); font-weight: 700; letter-spacing: .1em; line-height: 1; font-variant-numeric: tabular-nums; }
.tv-code-note { flex: 1 1 300px; margin: 0; max-width: 52ch; padding-left: clamp(0px, 2vw, 30px); border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.55; }
.tv-code-note span { display: block; margin-top: 6px; color: var(--faint); }
.file-meta { display: grid; gap: 10px; margin: 22px 0 0; }
.file-meta > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.file-meta dt { color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.file-meta dd { margin: 0; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }

/* Inside, Mac, support, legal */
.inside-hero, .prose-hero { padding-bottom: 70px; }
.inside-hero h1, .prose-hero h1 { max-width: 13ch; }
.proof-directory { border-top: 1px solid var(--line); }
.proof-directory a { display: grid; grid-template-columns: 72px 54px 1fr auto; gap: 32px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.directory-shot { width: 72px; height: 156px; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: #050607; opacity: .82; transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.proof-directory a:hover .directory-shot { opacity: 1; transform: translateY(-3px); }
.proof-directory a > span { color: var(--orange-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.proof-directory h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 50px); }
.proof-directory p { max-width: 60ch; margin: 0; color: var(--muted); }
.proof-directory strong { color: var(--orange-soft); font-size: 14px; }
.principles { padding: clamp(95px, 11vw, 160px) 0; background:linear-gradient(180deg,rgba(14,17,20,.82),rgba(8,10,12,.86)); }
.principles > .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 9vw, 130px); }
.principles ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles li span { color: var(--muted); }
.mac-hero { min-height: calc(100svh - 72px); position: relative; display: grid; align-items: center; padding: clamp(95px, 12vw, 175px) 0 250px; overflow: hidden; }
.mac-hero .wrap { position: relative; z-index: 2; }
.mac-hero h1 { max-width: 12ch; margin: 0; font-size: clamp(62px, 8vw, 120px); font-weight: 670; line-height: .95; letter-spacing: -.058em; }
.mac-hero .wrap > p:not(.chapter-number) { max-width: 56ch; margin-top: 28px; color: var(--muted); font-size: 20px; }
.mac-canvas { position: absolute; right: -9%; bottom: -17%; width: min(880px, 68vw); opacity: .58; transform: perspective(1200px) rotateX(7deg) rotateY(-8deg); }
.mac-window { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px; background: #0b0d0f; box-shadow: 0 70px 140px #000; }
.mac-toolbar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.mac-toolbar i { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.mac-toolbar span { margin-left: auto; margin-right: auto; }
.mac-library { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 32px; }
.mac-library b { aspect-ratio: 2 / 3; border-radius: 9px; background: linear-gradient(145deg,#24282c,#111315); }
.mac-library b:nth-child(3n+1) { background: linear-gradient(145deg,#34301f,#13130f); }
.mac-library b:nth-child(3n+2) { background: linear-gradient(145deg,#1f3135,#101316); }
.mac-role { padding: clamp(100px, 12vw, 170px) 0; border-top: 1px solid var(--line); }
.role-lines { margin-top: 65px; border-top: 1px solid var(--line); }
.role-lines > div { display: grid; grid-template-columns: 50px minmax(190px,.65fr) 1.35fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.role-lines span { color: var(--orange-soft); font-size: 12px; font-weight: 800; }
.role-lines h3 { margin: 0; font-size: 20px; }
.role-lines p { margin: 0; color: var(--muted); }
.prose-page { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.prose-page > * + * { margin-top: 30px; }
.prose-page section { padding-top: 34px; border-top: 1px solid var(--line); }
.prose-page h2 { margin: 0 0 13px; font-size: clamp(27px, 4vw, 40px); letter-spacing: -.035em; }
.prose-page p, .prose-page li { color: var(--muted); }
.prose-page a { color: var(--orange-soft); }
.notice { padding: 23px 25px; border: 1px solid rgba(255,117,65,.25); background: rgba(255,117,65,.055); color: var(--muted); }
.notice strong { color: var(--text); }
.support-status { padding: 0 0 clamp(70px, 9vw, 120px); }
.support-status h2 { font-size: 28px; }
.support-status dl { margin: 30px 0 0; border-top: 1px solid var(--line); }
.support-status dl div { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.support-status dt { font-weight: 750; }
.support-status dd { margin: 0; color: var(--muted); }
.support-status a { color: var(--orange-soft); }
.install-hero .install-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: #d7d7d2; font-size: 14px; }
.install-hero .install-facts span { display: inline-flex; align-items: center; gap: 9px; }
.install-hero .install-facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.install-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: clamp(54px, 9vw, 140px); align-items: center; }
.install-hero-grid h1 { max-width: 9ch; margin-bottom: 24px; font-size: clamp(62px, 7vw, 108px); line-height: .95; letter-spacing: -.055em; }
.install-hero-grid .lead { max-width: 53ch; color: var(--muted); font-size: clamp(18px, 1.55vw, 22px); }
.install-hero-phone { width: min(330px, 27vw); margin: 0; justify-self: center; }
.install-hero-phone figcaption { margin-top: 14px; color: var(--faint); font-size: 12px; text-align: center; }
.signing-notice { border-block: 1px solid var(--line); background:linear-gradient(90deg,rgba(255,117,65,.055),rgba(15,18,20,.9) 44%,rgba(131,243,106,.035)); }
.signing-notice .wrap { display: grid; grid-template-columns: .7fr 1.3fr; }
.signing-notice .wrap > div { padding: 30px 34px 30px 0; }
.signing-notice .wrap > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.signing-notice strong { font-size: 15px; }
.signing-notice p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.install-methods, .install-steps, .tv-route, .install-help { padding: clamp(90px, 11vw, 155px) 0; }
.method-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; border-block: 1px solid var(--line); }
.method-row article { min-height: 285px; padding: 30px; }
.method-row article + article { border-left: 1px solid var(--line); }
.method-row span, .install-steps li > span { color: var(--orange-soft); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.method-row h3 { margin: 58px 0 10px; font-size: 26px; }
.method-row p { margin: 0; color: var(--muted); }
.install-steps { border-top: 1px solid var(--line); background: #0a0c0e; }
.install-steps ol { margin: 65px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.install-steps li { display: grid; grid-template-columns: 54px .65fr 1.35fr; gap: 26px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.install-steps h3 { margin: 0; font-size: 19px; }
.install-steps p { max-width: 60ch; margin: 0; color: var(--muted); }
.install-slide-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 54px; }
.install-slide-track article { min-width: 0; padding: 14px 14px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.install-slide-track article > .chapter-number { margin: 22px 4px 8px; }
.install-slide-track h3 { margin: 0 4px 8px; font-size: 22px; line-height: 1.08; }
.install-slide-track article > p:last-child { margin-inline: 4px; font-size: 14px; }
.install-visual { height: 190px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #080a0c; }
.release-file { display: grid; place-items: center; align-content: center; gap: 11px; }
.release-file img, .first-open img { width: 48px; height: 48px; border-radius: 13px; }
.release-file span { font-size: 17px; font-weight: 800; }
.release-file b { padding: 6px 10px; border: 1px solid rgba(131,243,106,.25); border-radius: 999px; color: var(--green); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.signer-stack { display: grid; align-content: center; gap: 8px; padding: 24px; }
.signer-stack span { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: #deded9; font-weight: 700; }
.settings-card { display: grid; align-content: center; gap: 1px; padding: 21px; }
.settings-card span { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.settings-card b { color: var(--green); }
.first-open { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 8px; padding: 22px; }
.first-open img { flex-basis: 48px; margin: 0 calc(50% - 24px) 9px; }
.first-open span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
.install-aftercare { margin-top: 24px; border-block: 1px solid var(--line); }
.install-aftercare summary { padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 760; }
.install-aftercare > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 0 24px; }
.install-aftercare p { font-size: 14px; }
.install-aftercare strong { display: block; margin-bottom: 4px; color: var(--text); }
.update-rule { padding: clamp(75px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.update-rule .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 110px); align-items: end; }
.update-rule h2, .tv-route h2, .install-help h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; }
.update-rule .wrap > p, .tv-route .wrap > div > p { margin: 0; color: var(--muted); font-size: 19px; }
.tv-route .wrap { display: grid; grid-template-columns: minmax(0, 860px) 1fr; }
.tv-route { background:radial-gradient(70vw 45vw at 85% 0,rgba(131,243,106,.07),transparent 70%),linear-gradient(180deg,rgba(9,16,15,.86),rgba(8,10,12,.88)); }
.tv-route .button { margin-top: 28px; }
.install-help { border-top: 1px solid var(--line); }
.install-help ul { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.install-help li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.install-help li::before { content: "✓"; margin-right: 12px; color: var(--green); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 42px 22px 0; position: relative; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--orange-soft); font-size: 22px; font-weight: 400; transition: transform var(--motion-fast) var(--motion-ease), color var(--motion-fast) ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 22px; }
.faq-list details[open] p { animation: faq-panel-in var(--motion-fast) var(--motion-ease) both; }
@keyframes faq-panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 30px; }
.error-page main { width: min(760px, 100%); text-align: center; }
.error-page .brand { justify-content: center; }
.error-page .chapter-number { margin-top: 65px; }
.error-page h1 { margin: 0; font-size: clamp(52px, 9vw, 108px); line-height: .98; letter-spacing: -.055em; }
.error-page main > p:not(.chapter-number) { color: var(--muted); font-size: 19px; }
.error-page .actions { justify-content: center; }

.site-footer { padding: 64px 0 42px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-grid h2 { margin: 0 0 14px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a:not(.brand) { display: block; width: fit-content; padding: 5px 0; color: var(--faint); font-size: 14px; text-decoration: none; }
.footer-about p { max-width: 34ch; color: var(--faint); font-size: 14px; }
.footer-legal { display: flex; justify-content: space-between; gap: 26px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.footer-legal p { max-width: 780px; margin: 0; }

@media (hover: hover) and (pointer: fine) {
  .nav-links > a:not(.button):hover, .footer-grid a:not(.brand):hover { color: var(--text); }
  .nav-links > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
  .button:hover { transform: translateY(-1px); }
  .text-link:hover, .proof-directory a:hover strong, .quiet-links a:hover span { color: var(--text); }
  .text-link:hover > span[aria-hidden="true"] { transform: translateX(3px); }
  .story-index a:hover { color: var(--text); transform: translateY(-1px); }
  .proof-media:hover .motion-toggle { opacity: 1; transform: none; }
  .motion-toggle:hover { background: rgba(30,33,36,.94); }
}

@media (max-width: 980px) {
  .nav-row { gap: 16px; }
  .nav-links { gap: clamp(10px, 1.4vw, 18px); }
  .nav-links > a:not(.button) { font-size: 13.5px; }
  .nav-cta { min-height: 38px; padding-inline: 14px; font-size: 12.5px; }
  .story-hero { min-height: auto; padding-block: 80px 110px; }
  .story-hero-grid, .feature-hero-grid, .page-hero-grid, .install-hero-grid, .chapter-grid, .wide-media-grid, .split-proof, .availability-grid, .principles > .wrap, .showcase { grid-template-columns: 1fr; }
  .install-hero-phone { width: min(320px, 72vw); }
  .install-slide-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-media.portrait { --phone-w: min(340px, 78vw); }
  .proof-media.landscape { --phone-w: min(800px, calc(100vw - 30px)); }
  .reverse .chapter-grid .proof-media, .reverse .chapter-grid .chapter-copy, .reverse-proof .feature-intro { order: initial; }
  .chapter-copy { margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 150px 1fr; }
  .mac-canvas { width: 76vw; opacity: .32; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 30px), var(--wrap)); }
  .nav-row { min-height: 64px; }
  .menu-toggle { display: inline-grid; align-items: center; justify-content: center; }
  .nav-links { position: absolute; inset: 64px 14px auto; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 17px; background: #111417; box-shadow: 0 24px 60px rgba(0,0,0,.58); opacity: 0; transform: scale(var(--dropdown-pre-scale)); transform-origin: top right; pointer-events: none; transition: opacity var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); will-change: opacity,transform; }
  .site-header.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .site-header.menu-closing .nav-links { opacity: 0; transform: scale(var(--dropdown-close-scale)); pointer-events: none; transition-duration: var(--motion-quick); }
  .nav-links > a:not(.button) { padding: 13px 12px; }
  .nav-links .button { margin-top: 5px; }
  .story-hero-grid { grid-template-columns: 1fr; }
  .story-hero { padding-top: 64px; }
  .hero-copy h1, .page-hero h1, .mac-hero h1 { font-size: clamp(49px, 14vw, 72px); }
  .hero-copy > p:not(.availability-line), .chapter-copy > p:not(.chapter-number, .capture-note), .feature-intro > p:not(.chapter-number), .availability-grid > div > p { font-size: 17px; }
  .story-index { top: 64px; overflow-x: auto; }
  .story-index .wrap { min-width: 560px; width: auto; }
  .story-chapter { min-height: auto; padding-block: 86px; scroll-margin-top: 112px; }
  .chapter-grid { gap: 48px; }
  .chapter-copy h2, .feature-intro h2, .availability h2, .mac-role h2, .principles h2 { font-size: clamp(39px, 11vw, 56px); }
  .proof-media.portrait { --phone-w: min(320px, 84vw); }
  .motion-toggle { opacity: 1; transform: none; }
  .input-ledger > div, .quiet-links a, .proof-directory a, .role-lines > div, .support-status dl div { grid-template-columns: 1fr; gap: 8px; }
  .directory-shot { display: none; }
  .proof-directory a { align-items: start; }
  .proof-directory strong { margin-top: 10px; }
  .paired-phones { grid-template-columns: 1fr; justify-items: center; }
  .paired-phones figure { width: min(320px, 84vw); }
  .capability-list { grid-template-columns: 1fr; }
  .signing-notice .wrap, .method-row, .install-steps li, .update-rule .wrap, .tv-route .wrap { grid-template-columns: 1fr; }
  .signing-notice .wrap > div { padding: 24px 0; }
  .signing-notice .wrap > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-row article + article { border-left: 0; border-top: 1px solid var(--line); }
  .method-row article { min-height: 230px; }
  .method-row h3 { margin-top: 38px; }
  .install-steps li { gap: 8px; }
  .install-steps p { margin-top: 4px; }
  .install-slide-track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(270px, 82vw); overflow-x: auto; margin-right: -15px; padding-right: 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .install-slide-track article { scroll-snap-align: start; }
  .install-aftercare > div { grid-template-columns: 1fr; gap: 12px; }
  .availability dl div { grid-template-columns: 100px 1fr; }
  .journey, .two-up { grid-template-columns: 1fr; }
  .journey article + article { border-left: 0; border-top: 1px solid var(--line); }
  .feature-card:nth-child(odd) { border-right: 0; }
  .target-table { display: block; overflow-x: auto; }
  /* The signer stack is three stacked labels; a hard 190px box cropped the third. */
  .install-visual { height: auto; min-height: 190px; }
  .principles li { grid-template-columns: 1fr; gap: 7px; }
  .mac-hero { padding-bottom: 190px; }
  .mac-canvas { right: -25%; width: 110vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-legal { flex-direction: column; }
  .tv-code { gap: 16px; }
  .tv-code-note { padding-left: 0; border-left: 0; }
  .file-meta > div { grid-template-columns: 1fr; gap: 3px; }
  .nav-links > a:not(.button)::after { display: none; }
  .nav-links > a[aria-current="page"] { color: var(--orange); }
  .nav-links > a[aria-current="page"]::before { content: ""; position: absolute; top: 50%; left: -14px; width: 3px; height: 16px; border-radius: 2px; background: var(--orange); transform: translateY(-50%); }
}

@media (max-width: 480px) {
  /* Readable floor for prose that sat at 13-14px on a phone. */
  .availability-line, .footer-about p, .footer-grid a:not(.brand) { font-size: 15px; }
  .signing-notice p, .install-slide-track article > p, .install-facts { font-size: 15px; }
  .footer-grid a:not(.brand) { padding: 9px 0; }
  .status-badge, .card-status { font-size: 13px; }
  .footer-legal { font-size: 15px; }
  .install-aftercare p, .install-slide-track article > p:last-child { font-size: 15px; }
  /* Two fixed tracks left no room for the value at 375px. */
  .availability dl div { grid-template-columns: 1fr; gap: 4px; }
  /* The marker sat 4px inside a padding box that already reached the edge. */
  .faq-list summary::after { right: 0; }
  /* Long shasum / Get-FileHash commands were only reachable by sideways scroll. */
  .install-aftercare pre, .install-aftercare code { white-space: pre-wrap; overflow-wrap: anywhere; }
  /* The status column of the target table sat past the right edge. */
  .target-table { display: block; }
  .target-table thead { display: none; }
  .target-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .target-table td { display: block; padding: 3px 0; border: 0; }
  .target-table td:first-child { margin-bottom: 4px; }
}
@media (pointer: coarse) {
  /* 44px minimum touch target. */
  .brand { min-height: 44px; }
  .nav-cta { min-height: 44px; }
  .text-link { min-height: 44px; align-items: center; }
  .menu-toggle { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .proof-media { opacity: 1; transform: none; transition: none; }
  .motion-ready .motion-stagger-line, .motion-ready .motion-reveal, .motion-ready .proof-media .phone-frame, .motion-ready .proof-media .landscape-frame { opacity: 1; clip-path: none; transform: none; filter: none; transition: none !important; }
  .proof-media::before{opacity:1;transform:none;transition:none!important}
  .nav-links, .button, .motion-toggle, .faq-list summary::after, .story-index a, .story-index-progress, .text-link > span[aria-hidden="true"], .menu-label { transition-duration: .01ms !important; }
  .faq-list details[open] p { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(brand-mark) { animation-duration: .01ms; }
}
@media (prefers-reduced-transparency: reduce) { .site-header, .story-index, .motion-toggle { background: #0d0f11; backdrop-filter: none; } body::before,body::after{display:none} }
@media (prefers-contrast: more) { :root { --muted: #d1d1cc; --faint: #b3b4af; --line: rgba(255,255,255,.38); --line-strong: rgba(255,255,255,.62); } }

.install-aftercare pre{max-width:100%;overflow-x:auto;padding:16px;background:var(--surface);border-radius:8px;font-size:13px;line-height:1.6}

/* 4789 FAQ & Intelligent Search Styles — Green & Orange theme */
.faq-hero { padding-bottom: 24px; }
.faq-search-container { position: relative; margin: 36px 0 28px; width: 100%; max-width: 820px; }
.faq-search-box { position: relative; display: flex; align-items: center; background: rgba(15,18,21,.92); border: 1.5px solid var(--line-strong); border-radius: 18px; padding: 6px 16px; box-shadow: 0 12px 36px rgba(0,0,0,.45); transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.faq-search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(131,243,106,.25), 0 16px 48px rgba(131,243,106,.12); }
.faq-search-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; color: var(--green); opacity: .88; }
.faq-search-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font-size: 18px; font-weight: 550; padding: 10px 0; }
.faq-search-input::placeholder { color: var(--faint); font-weight: 450; }
.faq-search-clear { flex: none; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 999px; width: 28px; height: 28px; color: var(--muted); cursor: pointer; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease; font-size: 14px; }
.faq-search-clear:hover { background: rgba(255,255,255,.16); color: var(--text); }
.faq-cluster-banner { display: none; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 16px; border-radius: 999px; background: rgba(131,243,106,.09); border: 1px solid rgba(131,243,106,.32); color: var(--green); font-size: 13px; font-weight: 700; }
.faq-cluster-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 8px var(--green); }
.faq-results-count { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.faq-toolbar-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding: 4px 2px; }
.faq-expand-controls { display: inline-flex; align-items: center; gap: 8px; }
.faq-toggle-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; color: var(--muted); font-size: 12.5px; font-weight: 650; cursor: pointer; transition: transform 120ms ease-out, background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.faq-toggle-btn svg { color: var(--green); opacity: .85; transition: transform 150ms ease-out; }
.faq-toggle-btn:hover { background: rgba(131,243,106,.09); color: #fff; border-color: rgba(131,243,106,.4); }
.faq-toggle-btn:hover svg { opacity: 1; transform: scale(1.1); }
.faq-toggle-btn:active { transform: scale(0.96); }
.faq-toggle-sep { color: var(--faint); font-size: 14px; user-select: none; }
.faq-pills-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.faq-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: rgba(22,27,31,.75); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; font-weight: 650; cursor: pointer; transition: all var(--motion-fast) ease; }
.faq-pill:hover { border-color: rgba(131,243,106,.45); color: var(--text); background: rgba(22,27,31,.95); }
.faq-pill.active { background: rgba(131,243,106,.15); border-color: var(--green); color: #fff; box-shadow: 0 0 14px rgba(131,243,106,.22); font-weight: 750; }
.faq-mark { background: rgba(131,243,106,.26); color: #fff; border-bottom: 2px solid var(--green); border-radius: 3px; padding: 0 3px; }

/* 3-Card Instant Facts Quick Grid — Rich Green & Orange Accents */
.faq-fast-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 32px 0 16px; width: 100%; }
.fast-fact-card { position: relative; background: rgba(15,18,21,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px 22px 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 28px rgba(0,0,0,.35); transition: transform 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out; display: flex; flex-direction: column; }
.fast-fact-card:hover { transform: translateY(-2px); border-color: rgba(131,243,106,.45); box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 0 24px rgba(131,243,106,.12); }
.fast-fact-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; background: rgba(131,243,106,.12); color: var(--green); border: 1px solid rgba(131,243,106,.3); align-self: flex-start; margin-bottom: 12px; }
.fast-fact-badge.orange { background: rgba(255,117,65,.12); color: var(--orange-soft); border-color: rgba(255,117,65,.3); }
.fast-fact-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.fast-fact-dot.orange { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.fast-fact-card h3 { font-size: 17.5px; font-weight: 750; letter-spacing: -.015em; color: var(--text); margin: 0 0 10px; line-height: 1.35; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.fast-fact-desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; flex-grow: 1; }
.fast-fact-list { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.fast-fact-list li { font-size: 13.5px; line-height: 1.55; color: var(--muted); position: relative; padding-left: 18px; }
.fast-fact-list li::before { content: "•"; position: absolute; left: 2px; top: -1px; color: var(--green); font-size: 16px; line-height: 1.55; }
.fast-fact-list li strong { color: var(--text); font-weight: 650; }
.fast-fact-list code, .fast-fact-card code { background: rgba(131,243,106,.14); color: var(--green); padding: 2px 6px; border-radius: 6px; font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, monospace; font-weight: 700; border: 1px solid rgba(131,243,106,.28); }
.code-highlight { color: var(--orange-soft); font-family: ui-monospace, SFMono-Regular, monospace; font-size: 17px; font-weight: 800; background: rgba(255,117,65,.14); padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(255,117,65,.3); }

.faq-section { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); }
.faq-section-header { margin-bottom: 24px; }
.faq-section-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; background: rgba(131,243,106,.1); color: var(--green); border: 1px solid rgba(131,243,106,.28); margin-bottom: 12px; }
.faq-section-badge.orange { background: rgba(255,117,65,.1); color: var(--orange-soft); border-color: rgba(255,117,65,.28); }
.faq-section-header h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 750; letter-spacing: -.03em; margin-bottom: 8px; }
.faq-section-header p { color: var(--muted); font-size: 16px; margin: 0; }
.faq-list details { background: rgba(15,18,21,.45); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; padding: 0 24px; transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.faq-list details:hover { border-color: rgba(246,245,241,.24); background: rgba(15,18,21,.75); }
.faq-list details[open] { border-color: rgba(131,243,106,.35); background: rgba(15,18,21,.9); box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(131,243,106,.15); }
.faq-list details.faq-focused { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(131,243,106,.3), 0 12px 36px rgba(131,243,106,.2) !important; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; font-size: 17.5px; font-weight: 720; color: var(--text); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1 1 auto; min-width: 0; line-height: 1.42; }
.faq-list summary::after { position: static !important; right: auto !important; flex: 0 0 auto; content: "+"; color: var(--green); font-size: 24px; line-height: 1; font-weight: 400; transition: transform var(--motion-fast) var(--motion-ease), color var(--motion-fast) ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--orange-soft); }
.faq-answer { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.68; }
.faq-answer p:last-child { margin-bottom: 0; }
.step-item { display: flex; gap: 14px; margin: 16px 0; align-items: flex-start; }
.step-pill { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; width: 28px; height: 28px; border-radius: 999px; background: rgba(131,243,106,.14); border: 1px solid rgba(131,243,106,.35); color: var(--green); font-size: 11.5px; font-weight: 800; line-height: 1; margin-top: 1px; }
.step-text { flex: 1 1 auto; min-width: 0; line-height: 1.68; font-size: 15.5px; color: var(--muted); }
.step-item > div:not(.step-pill) { flex: 1 1 auto; min-width: 0; line-height: 1.68; font-size: 15.5px; color: var(--muted); }
.step-item strong { color: var(--text); font-weight: 700; }
.screen-path { display: inline-flex; vertical-align: middle; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid var(--line-strong); color: var(--text); font-weight: 650; font-size: 13.5px; line-height: 1.4; margin: 0 3px; position: relative; top: -1px; }
.screen-path span { color: var(--green); font-weight: 800; font-size: 12px; }
.callout-card { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(131,243,106,.25); background: radial-gradient(circle at 10% 10%, rgba(131,243,106,.08), transparent 60%), rgba(15,18,21,.85); margin: 16px 0; }
.callout-card.warning { border-color: rgba(255,117,65,.3); background: radial-gradient(circle at 10% 10%, rgba(255,117,65,.08), transparent 60%), rgba(15,18,21,.85); }
.callout-card h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 750; color: var(--green); }
.callout-card.warning h4 { color: var(--orange-soft); }
.callout-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.faq-anchor-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--faint); cursor: pointer; transition: all var(--motion-fast) ease; }
.faq-anchor-btn:hover { color: var(--green); border-color: rgba(131,243,106,.4); background: rgba(131,243,106,.1); }
.faq-anchor-btn.copied { color: var(--green); border-color: var(--green); background: rgba(131,243,106,.18); }
.script-quote { padding: 14px 18px; border-left: 3px solid var(--green); background: rgba(131,243,106,.05); border-radius: 0 10px 10px 0; margin: 12px 0; font-style: italic; color: var(--text); }

/* ---- Cinema hardware format strip & capability badges -------------------- */
.hardware-strip {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.hardware-strip-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 12px;
}
.hardware-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hardware-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.hardware-strip-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.cinema-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  user-select: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.badge-dd {
  width: 14px;
  height: 10px;
  fill: currentColor;
  flex: 0 0 auto;
}
.badge-hdr {
  width: 22px;
  height: 8.5px;
  fill: currentColor;
  flex: 0 0 auto;
}
.badge-bold {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  line-height: 1;
}
.badge-sub {
  color: var(--faint);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1;
}
.feature-micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 117, 65, 0.07);
  border: 1px solid rgba(255, 117, 65, 0.18);
  color: var(--orange-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.badge-strip { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 24px 0 0; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: rgba(255,117,65,.08); border: 1px solid rgba(255,117,65,.25); color: var(--orange-soft); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.badge-pill.green { background: rgba(131,243,106,.08); border-color: rgba(131,243,106,.25); color: var(--green); }
.badge-pill svg { width: 13px; height: 13px; fill: currentColor; }

.matrix-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 36px; border: 1px solid var(--line); border-radius: 18px; background: rgba(9,11,14,.6); }
.protocol-matrix { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; font-size: 14.5px; }
.protocol-matrix th, .protocol-matrix td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.protocol-matrix thead th { color: var(--faint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: rgba(15,18,22,.85); }
.protocol-matrix thead th.col-4789 { color: var(--orange); background: rgba(255,117,65,.1); border-top: 2px solid var(--orange); }
.protocol-matrix td.col-4789 { background: rgba(255,117,65,.03); border-left: 1px solid rgba(255,117,65,.18); border-right: 1px solid rgba(255,117,65,.18); color: var(--text); font-weight: 600; }
.protocol-matrix tr:last-child td { border-bottom: 0; }
.protocol-matrix td:first-child { color: var(--text); font-weight: 700; width: 22%; }
.protocol-matrix .matrix-val { display: block; font-size: 14.5px; line-height: 1.45; }
.protocol-matrix .matrix-sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.protocol-matrix .check-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 750; }
.protocol-matrix .check-badge.orange { color: var(--orange-soft); }
.protocol-matrix .cross-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); }
.protocol-matrix .warn-badge { display: inline-flex; align-items: center; gap: 6px; color: #e5a83b; }

.cinematic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cinematic-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,16,20,.7); transition: border-color 200ms ease; }
.cinematic-card:hover { border-color: rgba(255,117,65,.35); }
.cinematic-card .card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,117,65,.1); border: 1px solid rgba(255,117,65,.25); color: var(--orange); margin-bottom: 20px; }
.cinematic-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.cinematic-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .cinematic-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- footer social ------------------------------------------------------- */
/* Brand marks for the places 4789 lives. Sits under the footer blurb, inherits
   the site's pill + hairline language rather than introducing a new one. */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
/* Specificity note: .footer-grid a:not(.brand) above sets display:block, width:fit-content
   and vertical padding on every footer link. These marks live inside that grid, so the
   selectors below carry three classes to beat it outright rather than relying on order. */
.site-footer .footer-grid .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; box-sizing: border-box;
  width: 42px; height: 42px; min-width: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--faint);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease,
              transform 140ms var(--ease-out);
}
.site-footer .footer-grid .footer-social a svg { width: 19px; height: 19px; display: block; fill: currentColor; }
.site-footer .footer-grid .footer-social a:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface); transform: translateY(-2px); }
.site-footer .footer-grid .footer-social a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; color: var(--text); }
.site-footer .footer-grid .footer-social a:active { transform: scale(.97); }

@media (max-width: 700px) {
  .site-footer .footer-grid .footer-social a { width: 46px; height: 46px; min-width: 46px; }
  .site-footer .footer-grid .footer-social a svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-grid .footer-social a { transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease; }
  .site-footer .footer-grid .footer-social a:hover, .site-footer .footer-grid .footer-social a:active { transform: none; }
}
