/* Sill — the burakbuilds night, lit by the app icon: brushed aluminium and
   the one luminous #6BB5FF line under the camera housing. The page has its
   own notch at the top (notch.js), running the app's own springs. */

:root {
  --void: #030405;
  --night: #070a10;
  --text: #f5f7fb;
  --dim: #9aa3b4;
  --faint: #5c6577;
  --hair: rgba(255, 255, 255, .09);
  --silver: #dfe4ec;
  --line: #6bb5ff;
  --ice: #cfe6ff;
  --deep: #2f7dff;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .016));
  --sheen: linear-gradient(90deg, #f7f9fc 0%, #dfe4ec 30%, #cfe6ff 58%, #6bb5ff 82%, #2f7dff 100%);
  --filament: linear-gradient(90deg, rgba(107, 181, 255, 0), #6bb5ff 14%, #e6f2ff 50%, #6bb5ff 86%, rgba(107, 181, 255, 0));
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1120px;
  --gutter: clamp(22px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--void); color: var(--text); font-family: var(--ui);
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(107, 181, 255, .35); }
.wrap { width: min(var(--wrap), calc(100% - 44px)); margin-inline: auto; }

.sheen, .accent, .g, .fact-word {
  background-image: var(--sheen); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ─── Atmosphere ─────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background: url("assets/grain.png"); animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ─── The menu bar and its notch ─────────────────────────────────── */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(18px, calc((100vw - 1240px) / 2)); border-bottom: .5px solid transparent; transition: background .4s, border-color .4s; }
.bar.scrolled { background: rgba(4, 6, 10, .62); border-bottom-color: var(--hair); backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px); }
.bar-side { display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; letter-spacing: -.015em; }
.brand-icon { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.brand-icon img { position: absolute; width: 27.3px; height: 27.3px; left: -2.65px; top: -2.65px; max-width: none; }
.bar-links { display: flex; gap: 22px; font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: -.01em; }
.bar-links a { transition: color .2s; }
.bar-links a:hover { color: var(--text); }

/* Light behind the notch, so the black shell reads as a cut-out, as it does on a wallpaper. */
.notch-light { position: fixed; left: 50%; top: -260px; width: 1100px; height: 520px; transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(120, 160, 235, .30) 0%, rgba(70, 110, 200, .14) 38%, transparent 70%); transition: opacity .6s; }
.bar.scrolled ~ .notch-light { opacity: .55; }
.live-notch { position: fixed; left: 50%; top: 0; z-index: 60; width: 0; height: 0; }
.live-notch svg { position: absolute; overflow: visible; pointer-events: none; }
.live-notch .hit { position: absolute; cursor: default; }
.live-notch .content { position: absolute; overflow: hidden; }
.live-notch .content img { position: absolute; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.live-notch .tabhit { position: absolute; height: 30px; border-radius: 8px; cursor: pointer; }
.live-notch .atom { position: absolute; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.live-notch .bars { width: 14px; height: 13px; display: flex; gap: 2px; align-items: flex-end; }
.live-notch .bars i { width: 2px; border-radius: 1px; background: rgba(255, 255, 255, .82); }
.live-notch .art { width: 22px; height: 22px; border-radius: 6px; overflow: hidden; }
.live-notch .art img { width: 22px; height: 22px; position: static; }
.live-notch .badge { position: absolute; width: 30px; height: 30px; pointer-events: none; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.pill {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 980px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: #0a0c12;
  background: linear-gradient(180deg, #ffffff, #e8ebf1);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease), background .25s;
}
.pill:hover { transform: translateY(-1px); background: linear-gradient(180deg, #ffffff, #f3f5f9); }
.pill:active { transform: scale(.98); }
.pill:focus-visible, .link-more:focus-visible, .switch:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
.pill-sm { height: 26px; padding: 0 13px; font-size: 13px; font-weight: 600; }
.link-more { font: inherit; font-size: 19px; color: var(--line); background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: -.02em; }
.link-more span { display: inline-block; transition: transform .25s var(--ease); }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-more:hover span { transform: translateX(3px); }

/* ─── Install command ────────────────────────────────────────────── */
.install {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  height: 52px; padding: 0 7px 0 22px; border-radius: 980px; text-align: left;
}
.install::before { /* the icon's line, glowing from beneath */
  content: ""; position: absolute; inset: 22px 18px -10px; z-index: -2; border-radius: inherit;
  background: var(--filament); filter: blur(16px); opacity: .7; transition: opacity .3s;
}
.install::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 23, 31, .97), rgba(8, 10, 15, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(207, 230, 255, .2), 0 10px 34px -10px rgba(0, 0, 0, .7);
}
.install:hover::before { opacity: .95; }
.install-cmd {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0; color: var(--text); background: none; padding: 0;
  white-space: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; user-select: all; outline: none;
}
.install-cmd::-webkit-scrollbar { display: none; }
.install-prompt { color: var(--line); margin-right: .7em; user-select: none; }
.install-copy {
  flex-shrink: 0; height: 38px; padding: 0 18px; border: 0; border-radius: 980px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #0a0c12;
  background: linear-gradient(180deg, #ffffff, #e8ebf1); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 1px 0 #fff;
  transition: transform .2s var(--ease), background .2s;
}
.install-copy:hover { background: linear-gradient(180deg, #ffffff, #f3f5f9); }
.install-copy:active { transform: scale(.96); }
.install-copy.copied { background: linear-gradient(180deg, #f2f8ff, #cfe6ff); }
.install-copy:focus-visible, .install-cmd:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
.install-lg { height: 60px; padding-left: 26px; }
.install-lg .install-cmd { font-size: 17px; }
.install-lg .install-copy { height: 44px; padding: 0 22px; font-size: 15px; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.fine a:hover { color: var(--text); }
@media (max-width: 640px) {
  .install, .install-lg { height: 50px; padding-left: 16px; width: 100%; }
  .install-cmd, .install-lg .install-cmd { font-size: 13px; padding-right: 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  .install-copy, .install-lg .install-copy { height: 36px; padding: 0 14px; font-size: 13px; }
}

/* ─── Type ───────────────────────────────────────────────────────── */
.eyebrow { margin: 34px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--dim); }
.display { margin: 0; font-size: clamp(48px, 8vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -.048em; }
.lede { margin: 26px auto 0; max-width: 660px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; color: var(--dim); letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.actions { margin-top: 38px; display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: wrap; }
.fine { margin: 20px 0 0; font-size: 13px; color: var(--faint); letter-spacing: -.01em; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.kicker i { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--filament); box-shadow: 0 0 8px rgba(107, 181, 255, .7); }
.kicker.center { justify-content: center; }
.center { text-align: center; }
.section-title { margin: 0; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.section-sub { margin: 18px auto 0; max-width: 700px; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: var(--dim); font-weight: 500; letter-spacing: -.02em; text-wrap: pretty; }
.headline { margin: 0; font-size: clamp(36px, 4.2vw, 60px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; }

/* Words rise and unblur, in order, as in the film. */
.words .w { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(14px); animation: word 1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .08s); }
.words .w.sheen { padding: 0 .03em .18em 0; margin-bottom: -.18em; }
.rise { opacity: 0; transform: translateY(18px); animation: word 1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 0; text-align: center; overflow: clip; }
.stars { position: absolute; inset: 0 0 30%; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.2px 1.2px at 11% 21%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 24% 64%, #cfe6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 37% 11%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 59% 37%, #cfe6ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 71% 17%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 84% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 92% 27%, #cfe6ff 50%, transparent 51%), radial-gradient(1px 1px at 6% 71%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 41%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 72%, #cfe6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 58%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 16% 44%, #cfe6ff 50%, transparent 51%);
  animation: drift 30s linear infinite alternate; }
@keyframes drift { to { transform: translate3d(0, 30px, 0); } }
/* The burakbuilds horizon, rising behind the screen. */
.horizon { position: absolute; left: 50%; top: 900px; width: max(2200px, 160vw); height: 1600px; transform: translateX(-50%); pointer-events: none; }
.horizon-arc { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(180deg, #0a1124 0%, #04060c 18%, var(--void) 40%);
  box-shadow: 0 -1.5px 0 rgba(160, 205, 255, .55), 0 -12px 50px rgba(107, 181, 255, .28), inset 0 18px 60px -30px rgba(107, 181, 255, .25); }
.horizon-glow { position: absolute; left: 50%; top: -260px; width: 1500px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 70%, rgba(47, 125, 255, .22), transparent 70%); }
.try { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); margin: 0; font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: -.005em;
  opacity: 0; animation: word 1s var(--ease) 1.6s forwards; white-space: nowrap; transition: opacity .5s; }
.try.gone { opacity: 0 !important; animation: none; }
.try-arrow { display: inline-block; margin-right: 6px; color: var(--line); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-4px); } }
.hero-copy { position: relative; z-index: 2; width: min(1040px, calc(100% - 44px)); margin: 0 auto; }
.hero-icon { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.hero-icon img { position: absolute; width: 164px; height: 164px; max-width: none; left: -16px; top: -16px; }
.hero-icon-glow { position: absolute; inset: -50px; background: radial-gradient(closest-side, rgba(107, 181, 255, .2), rgba(223, 228, 236, .05) 55%, transparent); }
.br-desktop { display: block; }

.stage { position: relative; z-index: 1; width: min(1180px, calc(100% - 44px)); margin: 86px auto 0; perspective: 2200px; perspective-origin: 50% -10%; }
.stage-glow { position: absolute; left: -20%; right: -20%; top: 0; height: 110%; pointer-events: none;
  background: radial-gradient(ellipse 46% 40% at 50% 45%, rgba(47, 125, 255, .2), transparent 70%); }
.screen3d { --rx: 22deg; --s: .9; --y: 0px; margin: 0; transform-origin: 50% 0%; transform: translateY(var(--y)) rotateX(var(--rx)) scale(var(--s)); will-change: transform; }

.glass { position: relative; border-radius: 14px; overflow: hidden; background: #080b14;
  box-shadow: 0 60px 140px -20px rgba(0, 0, 0, .78), 0 22px 44px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .09); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .06);
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .045) 42%, transparent 58%); }
.screen3d.glass { border-radius: clamp(10px, 1.6vw, 20px); }
.glass video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #080b14; }

.band { position: relative; background: linear-gradient(180deg, rgba(14, 20, 38, 0), rgba(14, 20, 38, .5) 14%, rgba(14, 20, 38, .5) 86%, rgba(14, 20, 38, 0)); }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--hair), transparent); }
.band::before { top: 0; } .band::after { bottom: 0; }

/* ─── Detours you can drop ─────────────────────────────────────────
   2×2 cells: a small label, a big habit in aluminium, then the icon's line
   strikes through it as the band comes into view. */
.detours { padding: 150px 0 30px; }
.detours .kicker { margin-bottom: 46px; }
.strikes { --tok: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strike { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 38px 56px 42px; opacity: 0; transition: opacity .7s ease; }
.strike:nth-child(odd) { padding-left: 0; }
.strike:nth-child(even) { padding-right: 0; border-left: 1px solid var(--hair); }
.strike:nth-child(-n+2) { padding-top: 4px; }
.strike:nth-child(n+3) { border-top: 1px solid var(--hair); padding-bottom: 8px; }
.strikes.go .strike { opacity: 1; transition-delay: calc(var(--i) * .14s); }
.strike-pre { font-size: 17px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.strike-text { position: relative; display: inline-flex; margin: 12px 0 16px; font-size: var(--tok); line-height: 1.1; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.g { background-repeat: no-repeat; transition: opacity .8s ease; }
.strike-text::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; top: 54%; height: max(3px, .07em); border-radius: 99px;
  background: linear-gradient(90deg, var(--deep), var(--line) 30%, #f2f8ff 55%, var(--line) 80%, var(--deep));
  box-shadow: 0 0 .1em rgba(220, 238, 255, .95), 0 0 .38em rgba(107, 181, 255, .65), 0 0 .9em rgba(47, 125, 255, .35);
  transform: scaleX(0); transform-origin: 0 50%;
}
.strikes.go .strike-text::after { animation: strike 1.25s both; animation-delay: calc(.35s + var(--i) * .24s); }
@keyframes strike {
  0% { transform: scaleX(0); filter: brightness(1.7); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  62% { transform: scaleX(1); filter: brightness(1.7); animation-timing-function: ease-out; }
  100% { transform: scaleX(1); filter: none; }
}
.strikes.go .strike-text .g { opacity: .5; transition-delay: calc(1s + var(--i) * .24s); }
.strike-label { max-width: 440px; font-size: 17px; line-height: 1.42; font-weight: 500; letter-spacing: -.015em; color: var(--dim); text-wrap: pretty; opacity: 0; }
.strike-label b { font-weight: 600; color: var(--text); }
.strikes.go .strike-label { animation: settle-label 1.5s var(--ease) both; animation-delay: calc(.45s + var(--i) * .24s); }
@keyframes settle-label { 0% { opacity: 0; transform: translateY(10px); } 45% { opacity: .5; transform: none; } 100% { opacity: 1; transform: none; } }

/* ─── Chapters ───────────────────────────────────────────────────── */
.chapter { max-width: 1320px; margin: 0 auto; padding: 150px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
.chapter[data-side="text-right"] { grid-template-columns: minmax(0, 6.8fr) minmax(0, 5.2fr); }
.chapter[data-side="text-right"] .copy { order: 2; }
.copy p { color: var(--dim); font-size: 19px; line-height: 1.55; margin: 24px 0 0; max-width: 470px; letter-spacing: -.005em; }
.shot { position: relative; margin: 0; perspective: 1800px; }
.shot-glow { position: absolute; inset: -18% -14%; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(47, 125, 255, .24), transparent 70%), radial-gradient(ellipse 30% 30% at 50% 12%, rgba(207, 230, 255, .08), transparent 70%); }
.tilt { --ry: -12deg; --rx: 4deg; transform: rotateY(var(--ry)) rotateX(var(--rx)); transform-origin: 50% 50%; will-change: transform; }
.chapter[data-side="text-right"] .tilt { --ry: 12deg; }

/* ─── Modules ────────────────────────────────────────────────────── */
.modules { padding: 150px 0 160px; margin-top: 150px; }
.switches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
.switch { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 128px; padding: 18px 18px 20px; border: 0; border-radius: 18px;
  text-align: left; font: inherit; color: var(--text); cursor: pointer; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .3s, box-shadow .3s, opacity .4s var(--ease), transform .4s var(--ease); }
.switch:hover { background: rgba(255, 255, 255, .06); }
.switch b { font-size: 16px; font-weight: 650; letter-spacing: -.015em; }
.switch span { font-size: 13.5px; line-height: 1.35; color: var(--dim); letter-spacing: -.005em; max-width: 92%; }
.switch i { position: absolute; right: 16px; top: 18px; width: 34px; height: 20px; border-radius: 99px; background: rgba(255, 255, 255, .14); transition: background .25s; }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] i { background: var(--line); }
.switch[aria-checked="true"] i::after { transform: translateX(14px); }
.switch[aria-checked="false"] { opacity: .42; transform: scale(.985); }
.switch b { padding-right: 44px; }

/* ─── Motion ─────────────────────────────────────────────────────── */
.motion { padding: 190px 0 0; }
.motion-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.springs { display: grid; gap: 12px; }
.spring-card { display: grid; grid-template-columns: 150px 1fr auto; grid-template-rows: auto auto; column-gap: 22px; align-items: center; padding: 16px 22px 16px 16px;
  border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hair); }
.spring-card svg { grid-row: 1 / 3; width: 150px; height: 70px; }
.spring-card path { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(107, 181, 255, .7)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.springs.in path { transition: stroke-dashoffset 1.4s var(--ease); stroke-dashoffset: 0; }
.springs.in .spring-card:nth-child(2) path { transition-delay: .15s; } .springs.in .spring-card:nth-child(3) path { transition-delay: .3s; }
.spring-card b { font-size: 18px; font-weight: 650; letter-spacing: -.02em; align-self: end; }
.spring-card span { font-size: 14px; color: var(--dim); align-self: start; }
.spring-card code { grid-row: 1 / 3; grid-column: 3; font-family: var(--mono); font-size: 13px; color: var(--ice); letter-spacing: 0; padding: 6px 10px; border-radius: 8px; background: rgba(107, 181, 255, .1); }

/* ─── Native ─────────────────────────────────────────────────────── */
.native { max-width: 1240px; margin: 0 auto; padding: 190px var(--gutter) 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; border-radius: 22px; overflow: hidden; background: var(--hair); border: 1px solid var(--hair); }
.fact { padding: 34px 28px 36px; background: var(--void); }
.fact-word { font-size: 30px; font-weight: 650; letter-spacing: -.03em; background-size: 400% 100%; background-position: var(--p) 0; }
.fact p { margin: 12px 0 0; color: var(--dim); font-size: 16px; }
.notchless { margin: 34px 0 0; text-align: center; color: var(--faint); font-size: 15px; }
.notchless a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); transition: color .2s; }
.notchless a:hover { color: var(--text); }

/* ─── Film ───────────────────────────────────────────────────────── */
.film { max-width: 1240px; margin: 0 auto; padding: 190px var(--gutter) 0; scroll-margin-top: 20px; }
.film-frame { margin-top: 64px; border-radius: 20px; }
.film-frame video { aspect-ratio: 16 / 9; width: 100%; }
.film-play { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 11px; height: 52px; padding: 0 24px 0 18px; white-space: nowrap;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(6, 8, 14, .45); color: #fff; font: 600 16px var(--ui); letter-spacing: -.01em; cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: background .25s, transform .3s var(--ease); }
.film-play-icon { width: 0; height: 0; border-left: 12px solid #fff; border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; margin-left: 2px; }
.film-play:hover { background: rgba(6, 8, 14, .62); transform: translateX(-50%) translateY(-1px); }
.film-play:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
.film-frame.playing .film-play { display: none; }

/* ─── Install (closing) ──────────────────────────────────────────── */
.closing { position: relative; text-align: center; padding: 230px 22px 190px; margin-top: 110px; overflow: hidden; }
.closing-light { position: absolute; left: 50%; top: 120px; width: 1300px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 45% 40% at 50% 40%, rgba(47, 125, 255, .2), transparent 70%), radial-gradient(ellipse 20% 16% at 50% 28%, rgba(207, 230, 255, .12), transparent 70%); }
.closing-icon { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.closing-icon img { position: absolute; width: 164px; height: 164px; max-width: none; left: -16px; top: -16px; }
.closing-name { position: relative; margin: 26px 0 0; font-size: clamp(56px, 8vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.closing-tag { position: relative; margin: 18px 0 40px; font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; color: var(--dim); }
.closing .fine { position: relative; margin-top: 24px; color: rgba(255, 255, 255, .5); }

.footer { border-top: 1px solid var(--hair); padding: 28px 0 44px; font-size: 12px; color: var(--faint); letter-spacing: -.01em; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .switches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .chapter, .chapter[data-side="text-right"] { grid-template-columns: minmax(0, 1fr); padding-top: 110px; }
  .chapter[data-side="text-right"] .copy { order: 0; }
  .tilt, .chapter[data-side="text-right"] .tilt { --ry: 0deg; --rx: 0deg; }
  .facts { grid-template-columns: 1fr 1fr; }
  .motion-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .strikes { grid-template-columns: minmax(0, 1fr); }
  .strike:nth-child(n) { padding: 28px 0 30px; border-left: 0; border-top: 1px solid var(--hair); }
  .strike:first-child { padding-top: 0; border-top: 0; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .bar-links { display: none; }
  .hero { padding-top: 120px; }
  .try { display: none; }
  .hero-icon { width: 100px; height: 100px; }
  .hero-icon img { width: 124px; height: 124px; left: -12px; top: -12px; }
  .eyebrow { font-size: 17px; margin-top: 26px; }
  .br-desktop { display: none; }
  .actions { gap: 22px; margin-top: 28px; }
  .stage { margin-top: 56px; width: calc(100% - 28px); }
  .horizon { top: 700px; }
  .detours { padding-top: 100px; }
  .copy p { font-size: 17px; }
  .switches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch { min-height: 112px; }
  .spring-card { grid-template-columns: 96px 1fr; }
  .spring-card svg { width: 96px; height: 50px; }
  .spring-card code { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 8px; }
  .native, .film, .motion { padding-top: 130px; }
  .modules { margin-top: 100px; padding: 100px 0 110px; }
  .facts { grid-template-columns: 1fr; }
  .film-play { height: 40px; padding: 0 16px 0 13px; font-size: 14px; bottom: 4%; }
  .closing { padding: 150px 22px 120px; margin-top: 60px; }
}

/* ?still: deterministic screenshots, everything shown, posters instead of playback. */
.still .reveal, .still .words .w, .still .rise, .still .try { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
.still .grain, .still .stars { animation: none; }
.still .strikes *, .still .strikes *::after, .still .strike { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .stars, .try-arrow { animation: none; }
  .words .w, .rise, .try { animation: none; opacity: 1; transform: none; filter: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .screen3d { --rx: 0deg !important; --s: 1 !important; }
  .tilt { transform: none; }
  .strikes *, .strikes *::after, .strike { transition: none !important; animation: none !important; }
}
