@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --orange: #ff6414;
  --orange-bright: #ff7a18;
  --ink: #11110f;
  --muted: #6d6d66;
  --paper: #f5f2eb;
  --white: #fffefa;
  --night: #0a0d12;
  --night-2: #121720;
  --night-line: #28313c;
  --green: #78e08f;
  --cyan: #62d8ef;
  --yellow: #f5cd58;
  --line: #d8d4ca;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --sans: "Manrope", Inter, system-ui, sans-serif;
  --header-h: 74px;
  --wide: min(1440px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
code, pre { font-family: var(--mono); }
::selection { background: var(--orange); color: white; }

.skip-link { position: fixed; z-index: 1000; left: 18px; top: -100px; padding: 12px 16px; background: white; border: 2px solid var(--orange); }
.skip-link:focus { top: 12px; }

.talk-header { position: sticky; z-index: 100; top: 0; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); background: rgba(245,242,235,.94); border-bottom: 1px solid rgba(17,17,15,.15); backdrop-filter: blur(18px); }
.talk-brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.talk-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.talk-brand a { text-decoration: none; }
.brand-home,.brand-title { display: inline-flex; }
.talk-brand strong { font: 700 13px/1 var(--mono); letter-spacing: .06em; }
.talk-brand small { margin-top: 5px; color: var(--muted); font: 500 10px/1 var(--mono); }
.talk-brand .author-link { display: inline-flex; width: fit-content; }
.talk-brand .author-link:hover small,.talk-brand .author-link:focus-visible small { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.brand-pixel { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 8px 4px 8px 4px; background: var(--orange); color: white; font: 700 14px/1 var(--mono); box-shadow: 3px 3px 0 var(--ink); }
.talk-nav { display: flex; align-items: center; gap: clamp(14px,2vw,30px); margin-left: auto; }
.talk-nav a { position: relative; color: #3e3e39; font-size: 12px; font-weight: 700; text-decoration: none; }
.talk-nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .2s; }
.talk-nav a:hover::after, .talk-nav a:focus-visible::after { right: 0; }
.talk-actions { display: flex; align-items: center; gap: 9px; }
.language-switcher { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.72); }
.language-switcher button { min-width: 31px; height: 31px; padding: 0 6px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: 700 9px/1 var(--mono); cursor: pointer; }
.language-switcher button:hover,.language-switcher button:focus-visible { color: var(--ink); background: #ece8de; }
.language-switcher button[aria-pressed="true"] { background: var(--ink); color: white; box-shadow: 2px 2px 0 var(--orange); }
.stage-toggle, .emulator-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--ink); border-radius: 5px; background: transparent; font: 700 11px/1 var(--mono); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.stage-toggle:hover, .emulator-link:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.stage-toggle[aria-pressed="true"] { background: var(--ink); color: white; }
.emulator-link { gap: 10px; background: var(--orange); color: white; border-color: var(--orange); }
.reading-progress { position: fixed; z-index: 110; top: calc(var(--header-h) - 3px); left: 0; right: 0; height: 3px; pointer-events: none; }
.reading-progress i { display: block; width: 0; height: 100%; background: var(--orange); box-shadow: 0 0 12px rgba(255,100,20,.65); }

.chapter { position: relative; width: 100%; min-height: min(900px, calc(100vh - var(--header-h))); padding: clamp(80px,9vw,140px) max(32px, calc((100vw - 1440px) / 2)); overflow: hidden; background-color: var(--paper); }
.chapter-heading { width: min(900px,100%); margin-bottom: 58px; }
.chapter-heading.compact { margin-bottom: 38px; }
.chapter-heading > div { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.chapter-heading > p { max-width: 820px; color: var(--muted); font-size: clamp(16px,1.6vw,21px); line-height: 1.6; }
.chapter-heading h2 { max-width: 1120px; margin: 0; font-size: clamp(44px,5vw,78px); line-height: .98; letter-spacing: -.06em; }
.chapter-number { color: var(--orange); font: 700 13px/1 var(--mono); }
.overline { margin: 0; color: var(--orange); font: 700 11px/1.3 var(--mono); letter-spacing: .18em; }
.source-note { color: var(--muted); font: 500 11px/1.6 var(--mono); }
.source-note a { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 3px; }

.hero-chapter { display: flex; min-height: calc(100vh - var(--header-h)); align-items: center; padding-top: 72px; padding-bottom: 54px; background: radial-gradient(circle at 74% 45%,rgba(255,100,20,.12),transparent 30%), linear-gradient(135deg,#f8f5ee 0%,#f2eee6 58%,#e8e2d7 100%); }
.hero-chapter::before { position: absolute; content: ""; inset: 0; opacity: .26; background-image: linear-gradient(rgba(17,17,15,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(17,17,15,.08) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right,black,transparent 70%); }
.hero-grid { position: relative; z-index: 1; width: var(--wide); margin: auto; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 40px; }
.hero-copy h1 { margin: 22px 0 28px; font-size: clamp(66px,7.5vw,126px); line-height: .83; letter-spacing: -.075em; }
.hero-copy h1 span { color: var(--orange); }
.hero-lead { max-width: 710px; margin: 0; color: #4e4e48; font-size: clamp(18px,1.7vw,25px); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 23px; border: 2px solid var(--ink); border-radius: 6px; font: 700 12px/1 var(--mono); text-decoration: none; transition: transform .16s,box-shadow .16s; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.button.solid { background: var(--ink); color: white; }
.button.outline { background: rgba(255,255,255,.45); }
.hero-facts { display: flex; gap: 38px; margin-top: 54px; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font: 700 32px/1 var(--mono); }
.hero-facts span { margin-top: 7px; color: var(--muted); font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-visual::before { position: absolute; content: ""; width: min(590px,45vw); aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 2px rgba(17,17,15,.2),12px 15px 0 rgba(17,17,15,.08); }
.hero-visual img { position: relative; z-index: 3; width: 118%; max-width: 730px; filter: drop-shadow(0 32px 28px rgba(17,17,15,.26)); transform: rotate(-4deg); }
.hero-visual > p { position: absolute; z-index: 4; right: 7%; bottom: 0; margin: 0; color: var(--muted); font: 500 9px/1 var(--mono); }
.orbit { position: absolute; z-index: 1; border: 1px dashed rgba(17,17,15,.38); border-radius: 50%; }
.orbit-one { width: 92%; aspect-ratio: 1; animation: spin 34s linear infinite; }
.orbit-two { width: 72%; aspect-ratio: 1; border-style: solid; border-color: rgba(255,255,255,.45); }
@keyframes spin { to { transform: rotate(360deg); } }
.signal-chip { position: absolute; z-index: 5; padding: 8px 10px; background: var(--white); border: 1px solid var(--ink); border-radius: 4px; font: 700 9px/1 var(--mono); box-shadow: 3px 3px 0 var(--ink); }
.chip-a { top: 16%; left: 4%; }.chip-b { right: 1%; top: 29%; }.chip-c { left: 14%; bottom: 12%; }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 9px; transform: translateX(-50%); color: var(--muted); font: 600 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue i { color: var(--orange); font-style: normal; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.timeline { position: relative; width: var(--wide); display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin: 20px auto 54px; }
.timeline::before { position: absolute; content: ""; left: 0; right: 0; top: 32px; height: 2px; background: var(--line); }
.timeline article { position: relative; padding: 72px 30px 0 0; }
.timeline article::before { position: absolute; z-index: 1; content: ""; top: 24px; left: 0; width: 16px; height: 16px; border: 5px solid var(--paper); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.timeline time { position: absolute; top: 0; color: var(--orange); font: 700 12px/1 var(--mono); }
.timeline h3 { margin: 0 0 13px; font-size: 19px; letter-spacing: -.03em; }
.timeline p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.campaign-audience { width: var(--wide); margin: 0 auto 54px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 16px; }
.campaign-score,.audience-map { padding: clamp(25px,3vw,42px); border: 1px solid var(--line); }
.campaign-score { color: white; background: var(--ink); box-shadow: 9px 9px 0 var(--orange); }
.campaign-score strong,.campaign-score > span { display: block; }.campaign-score strong { margin-top: 24px; color: var(--orange); font: 800 clamp(35px,4vw,61px)/1 var(--mono); letter-spacing: -.06em; }.campaign-score > span { margin-top: 8px; color: #c2c9cf; font: 600 10px/1.4 var(--mono); }
.campaign-score > div { height: 9px; margin-top: 28px; overflow: hidden; background: #2b323a; }.campaign-score > div i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--orange),var(--yellow)); }
.campaign-score > p:last-child { margin: 20px 0 0; color: #9da6ad; font-size: 11px; line-height: 1.65; }.campaign-score b { color: white; }
.audience-map { background: rgba(255,254,250,.78); }.audience-map > div:first-child { display: grid; grid-template-columns: .55fr 1.45fr; gap: 24px; align-items: start; }.audience-map h3 { margin: 0; font-size: clamp(26px,3vw,45px); line-height: 1.04; letter-spacing: -.05em; }
.audience-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }.audience-chips span { padding: 10px 12px; border: 1px solid var(--ink); color: var(--ink); font: 700 9px/1 var(--mono); }.audience-chips span:nth-child(3n+1) { border-color: var(--orange); color: var(--orange); }
.audience-map > p { margin: 28px 0 0; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.65; }
.quote-card { width: min(900px,100%); margin-left: auto; display: flex; gap: 22px; align-items: flex-start; padding: 30px 34px; border-left: 5px solid var(--orange); background: var(--white); box-shadow: 10px 10px 0 #e4ded2; }
.quote-card > span { color: var(--orange); font: 700 58px/.8 Georgia,serif; }
.quote-card p { margin: 0; font-size: clamp(17px,1.6vw,22px); font-weight: 700; line-height: 1.45; }
.origin-story { width: var(--wide); margin: 0 auto 54px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.creator-profile,.company-card { border: 1px solid var(--line); background: rgba(255,254,250,.82); box-shadow: 8px 8px 0 #e5dfd2; }
.creator-profile { display: grid; grid-template-columns: minmax(190px,.72fr) 1.28fr; gap: 28px; align-items: stretch; padding: 30px; }
.creator-monogram { display: grid; width: 112px; aspect-ratio: 1; place-items: center; border-radius: 28px 13px 28px 13px; background: var(--orange); color: white; font: 800 31px/1 var(--mono); box-shadow: 7px 7px 0 var(--ink); }
.creator-photo { position: relative; min-height: 285px; margin: 0; overflow: hidden; border-radius: 28px 13px 28px 13px; background: var(--ink); box-shadow: 7px 7px 0 var(--orange); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; filter: saturate(.82) contrast(1.05); }
.creator-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 13px 11px; color: white; background: linear-gradient(transparent,rgba(0,0,0,.88)); font: 600 7px/1.45 var(--mono); }
.creator-profile h3,.company-card h3,.prototype-intro h3 { margin: 12px 0 14px; font-size: clamp(25px,2.5vw,38px); line-height: 1.06; letter-spacing: -.045em; }
.creator-profile p:not(.overline),.company-card p:not(.overline),.prototype-intro > p:last-child { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.68; }
.creator-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.creator-links a,.company-card > a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 12px; border: 1px solid var(--ink); border-radius: 4px; font: 700 9px/1 var(--mono); text-decoration: none; }
.creator-links a:hover,.company-card > a:hover { color: white; background: var(--ink); }
.company-card { position: relative; overflow: hidden; padding: 30px; background: var(--ink); color: white; box-shadow-color: rgba(255,100,20,.42); }
.company-card::after { position: absolute; content: "LONDON"; right: -24px; bottom: 5px; color: rgba(255,255,255,.035); font: 800 52px/1 var(--mono); transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; pointer-events: none; }
.company-card .overline { color: var(--orange-bright); }
.company-card p:not(.overline) { color: #b9bec4; }
.company-card > a { position: relative; z-index: 1; margin-top: 8px; border-color: var(--orange); color: white; }
.company-card > a:hover { background: var(--orange); }
.company-flag { display: grid; width: 50px; height: 36px; place-items: center; margin-bottom: 25px; border: 1px solid #484f57; border-radius: 4px; color: var(--orange-bright); font: 800 13px/1 var(--mono); }
.prototype-story { width: var(--wide); margin: 0 auto 54px; padding: clamp(24px,4vw,48px); border: 1px solid var(--line); background: #ece7dd; }
.prototype-intro { max-width: 880px; margin-bottom: 30px; }
.prototype-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.prototype-gallery figure { position: relative; margin: 0; overflow: hidden; min-height: 420px; border: 1px solid var(--ink); background: #20211f; }
.prototype-gallery img { width: 100%; height: 500px; object-fit: cover; object-position: center 42%; filter: saturate(.9) contrast(1.04); transition: transform .45s ease,filter .45s ease; }
.prototype-gallery figure:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.08); }
.prototype-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 52px 20px 18px; color: white; background: linear-gradient(transparent,rgba(8,9,9,.94)); }
.prototype-gallery figcaption span { color: var(--orange-bright); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.prototype-gallery figcaption strong { font-size: 18px; }
.prototype-gallery figcaption small { color: #b8bdc0; font: 500 9px/1.4 var(--mono); }
.prototype-story > .source-note { margin: 18px 0 0; }
.dolphin-story { width: var(--wide); margin: 54px auto 0; display: grid; grid-template-columns: .64fr 1.36fr; border: 1px solid var(--ink); background: var(--ink); color: white; box-shadow: 12px 12px 0 var(--orange); }
.dolphin-passport { min-height: 390px; display: grid; align-content: center; justify-items: center; gap: 24px; padding: 35px; border-right: 1px solid #39414a; background: radial-gradient(circle at 50% 40%,rgba(255,145,31,.38),transparent 42%),#0c1117; text-align: center; }
.dolphin-avatar { display: grid; width: min(260px,100%); aspect-ratio: 1; place-items: center; border: 2px solid var(--orange); border-radius: 50%; background: #171e26; font-size: clamp(80px,10vw,145px); box-shadow: inset 0 0 0 12px rgba(255,106,20,.07),10px 10px 0 #050709; }
.dolphin-passport span,.dolphin-passport strong,.dolphin-passport small { display: block; }
.dolphin-passport span { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.dolphin-passport strong { margin-top: 9px; font-size: 22px; }
.dolphin-passport small { margin-top: 9px; color: #8f99a2; font: 500 9px/1.6 var(--mono); }
.dolphin-copy { padding: clamp(30px,4vw,58px); }
.dolphin-copy .overline { color: var(--orange); }
.dolphin-copy h3 { margin: 15px 0; font-size: clamp(36px,4vw,58px); letter-spacing: -.055em; }
.dolphin-copy > p:not(.overline,.dolphin-note) { color: #b8c0c7; font-size: 14px; line-height: 1.7; }
.level-road { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; margin-top: 24px; }
.level-road article { min-height: 115px; padding: 16px; border: 1px solid #3a444e; background: #121820; }
.level-road span,.level-road strong,.level-road small { display: block; }
.level-road span { color: var(--orange); font: 700 8px/1 var(--mono); }
.level-road strong { margin-top: 13px; font: 700 20px/1 var(--mono); }
.level-road small { margin-top: 9px; color: #89949d; font-size: 9px; line-height: 1.4; }
.level-road > i { padding: 0 9px; color: var(--orange); font-style: normal; }
.xp-examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.xp-examples span { padding: 9px 11px; border: 1px solid #343e47; color: #929ca5; font: 600 8px/1.2 var(--mono); }
.xp-examples strong { color: var(--green); }
.dolphin-note { margin: 16px 0; padding: 15px 17px; border-left: 3px solid var(--orange); background: #121820; color: #aab3ba; font-size: 11px; line-height: 1.6; }
.dolphin-note strong { color: white; }
.dolphin-copy > a { color: var(--orange); font: 700 10px/1 var(--mono); text-underline-offset: 4px; }

.dark-chapter { color: #eef3f6; background: var(--night); }
.dark-chapter .chapter-heading > p { color: #a9b2bc; }
.anatomy-layout { width: var(--wide); margin: auto; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 36px; }
.anatomy-device { position: relative; min-height: 590px; display: grid; place-items: center; background: radial-gradient(circle,rgba(255,100,20,.2),transparent 53%); }
.anatomy-device::before { position: absolute; content: ""; width: 66%; aspect-ratio: 1; border: 1px dashed #3c4650; border-radius: 50%; }
.anatomy-device img { position: relative; z-index: 1; width: 87%; filter: drop-shadow(0 30px 25px rgba(0,0,0,.5)); }
.callout { position: absolute; z-index: 2; min-width: 136px; padding: 10px 12px; border: 1px solid var(--night-line); background: rgba(18,23,32,.94); box-shadow: 4px 4px 0 rgba(255,100,20,.55); }
.callout strong,.callout small { display: block; }
.callout strong { color: var(--orange-bright); font: 700 11px/1 var(--mono); }.callout small { margin-top: 5px; color: #a9b2bc; font: 500 9px/1 var(--mono); }
.callout i { position: absolute; width: 36px; height: 1px; background: var(--orange); }
.c1 { left: 2%; top: 20%; }.c1 i { right: -36px; top: 50%; }.c2 { right: 1%; top: 13%; }.c2 i { left: -36px; top: 50%; }.c3 { right: 1%; bottom: 17%; }.c3 i { left: -36px; top: 50%; }.c4 { left: 1%; bottom: 24%; }.c4 i { right: -36px; top: 50%; }
.spec-panel { padding: 28px; border: 1px solid var(--night-line); background: var(--night-2); }
.spec-hero { padding: 24px; border: 1px solid rgba(255,100,20,.55); background: linear-gradient(135deg,rgba(255,100,20,.18),rgba(255,100,20,.04)); }
.spec-hero span,.spec-hero strong,.spec-hero small { display: block; }
.spec-hero span,.spec-grid span { color: #929ca6; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.spec-hero strong { margin-top: 10px; color: var(--orange-bright); font: 700 clamp(36px,4vw,58px)/1 var(--mono); }.spec-hero small { margin-top: 8px; color: #c7ced4; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }
.spec-grid article { padding: 18px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.spec-grid strong { display: block; margin-top: 7px; font: 600 15px/1.2 var(--mono); }
.dark-chapter .source-note { color: #7f8a95; }
.hardware-ledger { width: var(--wide); margin: 72px auto 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; padding-top: 45px; border-top: 1px solid var(--night-line); }
.hardware-ledger-title h3 { margin: 13px 0 16px; font-size: clamp(34px,3.5vw,55px); line-height: 1.02; letter-spacing: -.055em; }.hardware-ledger-title > p:last-child { margin: 0; color: #9da7af; font-size: 13px; line-height: 1.7; }
.hardware-ledger-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }.hardware-ledger-grid article { min-height: 205px; padding: 24px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); background: #111720; }.hardware-ledger-grid span { color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .1em; }.hardware-ledger-grid strong { display: block; margin-top: 35px; color: white; font-size: 17px; }.hardware-ledger-grid p { margin: 9px 0 0; color: #929ca5; font-size: 10px; line-height: 1.65; }
.first-flight { width: var(--wide); margin: 78px auto 0; padding: clamp(26px,4vw,54px); border: 1px solid #39434d; background: radial-gradient(circle at 85% 10%,rgba(255,100,20,.12),transparent 30%),#0d131a; }.first-flight-heading { max-width: 920px; }.first-flight-heading h3 { margin: 13px 0; font-size: clamp(38px,4vw,62px); line-height: 1; letter-spacing: -.055em; }.first-flight-heading > p:last-child { color: #9da7af; font-size: 13px; line-height: 1.65; }
.control-console { display: grid; grid-template-columns: .72fr 1.28fr; gap: 35px; align-items: center; margin-top: 38px; padding: 30px; border: 1px solid #35404a; background: #070a0e; }.control-pad { display: grid; grid-template-columns: repeat(3,92px); grid-template-rows: repeat(3,82px); justify-content: center; align-items: center; }.control-pad span { display: flex; width: 78px; height: 70px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #515c65; border-radius: 16px; background: #151c24; color: var(--orange); font: 800 21px/1 var(--mono); box-shadow: 4px 4px 0 #000; }.control-pad small { margin-top: 7px; color: #9da7af; font: 700 7px/1 var(--mono); }.control-pad .pad-ok { grid-column: 2; grid-row: 2; border-radius: 50%; background: var(--orange); color: white; }.pad-up { grid-column: 2; grid-row: 1; }.pad-left { grid-column: 1; grid-row: 2; }.pad-right { grid-column: 3; grid-row: 2; }.pad-down { grid-column: 2; grid-row: 3; }.control-pad .pad-back { grid-column: 3; grid-row: 3; width: 65px; height: 55px; border-radius: 50%; }
.control-rules { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #34404a; border-left: 1px solid #34404a; }.control-rules div { min-height: 105px; padding: 18px; border-right: 1px solid #34404a; border-bottom: 1px solid #34404a; }.control-rules dt { color: var(--orange); font: 700 8px/1 var(--mono); }.control-rules dd { margin: 12px 0 0; color: #b4bdc5; font-size: 11px; line-height: 1.55; }
.setup-sequence { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 22px; border-top: 1px solid #34404a; border-left: 1px solid #34404a; }.setup-sequence article { min-height: 245px; padding: 22px; border-right: 1px solid #34404a; border-bottom: 1px solid #34404a; }.setup-sequence b { color: rgba(255,255,255,.16); font: 800 35px/1 var(--mono); }.setup-sequence span,.setup-sequence strong { display: block; }.setup-sequence span { margin-top: 33px; color: var(--orange); font: 700 8px/1 var(--mono); }.setup-sequence strong { margin-top: 9px; color: white; font-size: 15px; }.setup-sequence p { margin: 9px 0 0; color: #929ca5; font-size: 10px; line-height: 1.6; }
.dummy-mode-note { display: grid; grid-template-columns: .45fr 1.25fr auto; gap: 25px; align-items: center; margin-top: 22px; padding: 23px 26px; border-left: 4px solid var(--orange); background: #151c24; }.dummy-mode-note strong { color: white; font-size: 16px; }.dummy-mode-note p { margin: 0; color: #a5afb7; font-size: 11px; line-height: 1.6; }.dummy-mode-note a { color: var(--orange); font: 700 9px/1.3 var(--mono); }

.tech-lab { width: var(--wide); margin: auto; display: grid; grid-template-columns: 280px 1fr; min-height: 620px; border: 1px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 #ded8cd; }
.tech-selector { display: flex; flex-direction: column; background: var(--ink); }
.tech-selector button { flex: 1; display: flex; align-items: center; gap: 15px; padding: 16px 19px; border: 0; border-bottom: 1px solid #34342f; background: transparent; color: #c9c9c3; font: 600 12px/1 var(--mono); text-align: left; cursor: pointer; transition: background .16s,color .16s,padding-left .16s; }
.tech-selector button span { color: #74746d; font-size: 9px; }
.tech-selector button:hover { background: #23231f; }
.tech-selector button[aria-selected="true"] { padding-left: 25px; background: var(--orange); color: white; }
.tech-selector button[aria-selected="true"] span { color: white; }
.tech-display { display: grid; grid-template-columns: minmax(260px,.7fr) 1.3fr; align-items: stretch; }
.tech-signal { position: relative; display: grid; min-height: 100%; place-items: center; overflow: hidden; background: #eeeadf; }
.tech-signal::before { position: absolute; content: ""; width: 76%; aspect-ratio: 1; border: 1px solid #ccc5b8; border-radius: 50%; }
.tech-signal span { position: relative; z-index: 3; display: grid; width: 130px; aspect-ratio: 1; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--orange); color: white; font: 700 48px/1 var(--mono); box-shadow: 10px 10px 0 var(--ink); }
.tech-signal i { position: absolute; border: 2px solid var(--orange); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg); animation: pulse 2s ease-out infinite; }
.tech-signal i:nth-of-type(1){width:180px;height:180px}.tech-signal i:nth-of-type(2){width:260px;height:260px;animation-delay:.4s}.tech-signal i:nth-of-type(3){width:340px;height:340px;animation-delay:.8s}
@keyframes pulse { 0%,25%{opacity:0;transform:rotate(45deg) scale(.8)} 50%{opacity:.8} 100%{opacity:0;transform:rotate(45deg) scale(1.05)} }
.tech-content { padding: clamp(36px,5vw,74px); }
.tech-frequency { margin: 0; color: var(--orange); font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tech-content h3 { margin: 17px 0; font-size: clamp(46px,5vw,72px); letter-spacing: -.06em; }
.tech-content > p:not(.tech-frequency) { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.truth-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 31px; }
.truth-pair div { padding: 19px; border: 1px solid var(--line); }
.truth-pair div:first-child { border-top: 4px solid #3bb86d; }.truth-pair div:last-child { border-top: 4px solid #df5151; }
.truth-pair span { font: 700 9px/1 var(--mono); letter-spacing: .09em; }.truth-pair div:first-child span { color: #228a4c; }.truth-pair div:last-child span { color: #bb3535; }
.truth-pair p { margin: 10px 0 0; color: #51514b; font-size: 12px; line-height: 1.55; }
.demo-question { margin-top: 12px; padding: 18px 20px; background: #efebe3; }
.demo-question strong { font: 700 10px/1 var(--mono); }.demo-question p { margin: 8px 0 13px; color: #565650; font-size: 13px; }.demo-question a { color: var(--orange); font: 700 11px/1 var(--mono); }

.module-chapter { background: radial-gradient(circle at 88% 12%,rgba(255,100,20,.16),transparent 25%),#e9e4da; }
.gpio-foundation { width: var(--wide); margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink); background: var(--ink); }
.gpio-foundation article { min-height: 142px; padding: 23px; border-right: 1px solid #3a3a34; color: white; }
.gpio-foundation article:last-child { border-right: 0; }
.gpio-foundation span { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.gpio-foundation strong { display: block; margin-top: 13px; font-size: 16px; line-height: 1.25; }
.gpio-foundation p { margin: 9px 0 0; color: #b9b9b2; font-size: 11px; line-height: 1.55; }
.gpio-foundation .gpio-rule { background: var(--orange); }
.gpio-foundation .gpio-rule span,.gpio-foundation .gpio-rule p { color: #32170a; }
.module-explorer { width: var(--wide); margin: auto; }
.module-selector { display: grid; grid-template-columns: repeat(10,1fr); border: 1px solid var(--ink); border-bottom: 0; background: #ded8cd; }
.module-selector button { min-width: 0; min-height: 67px; padding: 11px 9px; border: 0; border-right: 1px solid #bbb4a7; background: transparent; color: #4d4b45; font: 700 10px/1.25 var(--mono); cursor: pointer; }
.module-selector button:last-child { border-right: 0; }
.module-selector button span { display: block; margin-bottom: 7px; color: #8a857b; font-size: 7px; letter-spacing: .08em; }
.module-selector button:hover,.module-selector button:focus-visible { background: #f6f2ea; color: var(--ink); }
.module-selector button[aria-selected="true"] { background: var(--orange); color: white; box-shadow: inset 0 -4px 0 var(--ink); }
.module-selector button[aria-selected="true"] span { color: #3c1b0b; }
.module-focus { display: grid; grid-template-columns: minmax(360px,.85fr) 1.15fr; min-height: 570px; border: 1px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 #cfc8ba; }
.module-photo { position: relative; min-width: 0; margin: 0; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--ink); background: radial-gradient(circle,rgba(255,100,20,.16),transparent 52%),#e6e1d8; }
.module-photo::before { position: absolute; content: "GPIO"; left: -12px; bottom: -17px; color: rgba(17,17,15,.055); font: 800 clamp(75px,10vw,160px)/1 var(--mono); letter-spacing: -.09em; }
.module-photo > span { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: 3px; background: var(--white); font: 700 8px/1 var(--mono); box-shadow: 3px 3px 0 var(--ink); }
.module-photo img { position: relative; z-index: 1; width: min(84%,520px); max-height: 470px; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(17,17,15,.22)); transition: opacity .16s,transform .28s; }
.module-photo figcaption { position: absolute; z-index: 2; right: 15px; bottom: 14px; color: #66635c; font: 600 8px/1 var(--mono); }
.module-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(30px,4vw,58px); }
.module-category { margin: 0; color: var(--orange); font: 700 10px/1 var(--mono); letter-spacing: .11em; }
.module-copy h3 { margin: 15px 0 12px; font-size: clamp(39px,4.5vw,68px); line-height: .98; letter-spacing: -.06em; }
.module-summary { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.module-specs { display: grid; grid-template-columns: repeat(3,1fr); margin: 25px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module-specs div { min-width: 0; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-specs dt { color: #8b877e; font: 700 8px/1 var(--mono); }
.module-specs dd { margin: 8px 0 0; color: var(--ink); font: 700 11px/1.35 var(--mono); overflow-wrap: anywhere; }
.module-use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 11px; }
.module-use-grid div { padding: 16px; background: #efebe3; }
.module-use-grid span { color: var(--orange); font: 700 8px/1 var(--mono); }
.module-use-grid p { margin: 8px 0 0; color: #53514b; font-size: 11px; line-height: 1.55; }
.module-note { margin: 13px 0; padding-left: 14px; border-left: 3px solid var(--orange); color: #5b5851; font-size: 11px; line-height: 1.55; }
.module-note strong { color: var(--ink); }
.module-source { width: fit-content; color: var(--orange); font: 700 10px/1 var(--mono); text-underline-offset: 4px; }
.module-ecosystem { width: var(--wide); margin: 31px auto 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.module-ecosystem article { padding: 20px; border: 1px solid #c8c1b4; background: rgba(255,254,250,.7); }
.module-ecosystem span { color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.module-ecosystem strong { display: block; margin-top: 10px; font-size: 14px; }
.module-ecosystem p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.gpio-lab { width: var(--wide); margin: 42px auto 0; padding: clamp(24px,4vw,48px); border: 1px solid var(--ink); background: #10151b; color: white; box-shadow: 12px 12px 0 rgba(255,106,20,.45); }
.gpio-lab-heading { max-width: 930px; margin-bottom: 25px; }
.gpio-lab-heading .overline { color: var(--orange); }
.gpio-lab-heading h3 { margin: 13px 0; font-size: clamp(34px,4vw,58px); line-height: 1; letter-spacing: -.055em; }
.gpio-lab-heading > p:last-child { color: #aab3bb; font-size: 14px; line-height: 1.7; }
.gpio-media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gpio-media-grid figure { position: relative; min-width: 0; min-height: 330px; margin: 0; overflow: hidden; border: 1px solid #3a434c; background: #05080b; }
.gpio-media-grid img,.gpio-media-grid video { width: 100%; height: 100%; min-height: 330px; display: block; object-fit: cover; }
.gpio-media-grid video { background: #000; }
.gpio-video-card { grid-column: auto; }
.gpio-video-card video { min-height: 330px; }
.gpio-media-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 5px; padding: 64px 17px 15px; pointer-events: none; background: linear-gradient(transparent,rgba(3,5,7,.94)); }
.gpio-media-grid figcaption span { color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.gpio-media-grid figcaption strong { font-size: 15px; }
.flipper-lab-callout { width: var(--wide); margin: 58px auto 0; display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 34px; align-items: center; padding: 28px 32px; border: 1px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 rgba(255,106,20,.38); }.flipper-lab-callout h3 { margin: 10px 0 0; font-size: clamp(24px,2.5vw,39px); line-height: 1; letter-spacing: -.045em; }.flipper-lab-callout > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.flipper-lab-callout > a { padding: 14px 16px; border: 1px solid var(--ink); background: var(--orange); color: white; font: 700 9px/1 var(--mono); white-space: nowrap; }
.gpio-media-grid figcaption small { color: #9ca6ae; font: 500 8px/1.45 var(--mono); }
.gpio-lab > .source-note { margin: 19px 0 0; color: #8f99a2; }
.gpio-lab > .source-note a { color: var(--orange); }

.myth-chapter { background: #f0ece3; }
.myth-grid { width: var(--wide); margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; perspective: 1200px; }
.myth-card { position: relative; min-height: 310px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .55s; }
.myth-card.is-flipped { transform: rotateY(180deg); }
.myth-front,.myth-back { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--ink); backface-visibility: hidden; }
.myth-front { background: var(--white); box-shadow: 6px 6px 0 #cec7ba; }
.myth-front::after { position: absolute; content: "?"; right: 20px; bottom: 5px; color: #eee9df; font: 800 110px/1 var(--mono); }
.myth-front i,.myth-back i { position: relative; z-index: 1; color: var(--orange); font: 700 10px/1 var(--mono); font-style: normal; letter-spacing: .12em; }
.myth-front strong { position: relative; z-index: 1; max-width: 90%; margin-top: 32px; font-size: 21px; line-height: 1.35; }
.myth-front small { position: relative; z-index: 1; margin-top: auto; color: var(--muted); font: 600 10px/1 var(--mono); }
.myth-back { transform: rotateY(180deg); background: var(--ink); color: white; box-shadow: -6px 6px 0 var(--orange); }
.myth-back strong { margin-top: 22px; color: var(--green); font-size: 18px; }.myth-back p { color: #c2c6c8; font-size: 13px; line-height: 1.6; }.myth-back small { margin-top: auto; padding-top: 13px; border-top: 1px solid #393d40; color: var(--yellow); font: 600 9px/1.3 var(--mono); }

.swiss-army-callout { width: var(--wide); margin: 0 auto 18px; display: grid; grid-template-columns: .55fr 1fr 1.25fr; gap: 26px; align-items: center; padding: 25px 28px; border: 1px solid var(--orange); background: linear-gradient(110deg,rgba(255,106,20,.2),rgba(255,106,20,.03)); }
.swiss-army-callout strong { color: var(--orange); font: 800 13px/1.3 var(--mono); }
.swiss-army-callout span { color: white; font: 600 10px/1.6 var(--mono); }
.swiss-army-callout p { margin: 0; color: #adb6bd; font-size: 12px; line-height: 1.55; }
.device-tabs { width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--night-line); }
.device-tabs button { min-height: 55px; padding: 10px; border: 0; border-right: 1px solid var(--night-line); background: #111721; color: #9ca6b0; font: 600 10px/1.2 var(--mono); cursor: pointer; }
.device-tabs button:last-child { border-right: 0; }.device-tabs button:hover { color: white; background: #18202b; }.device-tabs button[aria-selected="true"] { background: var(--orange); color: white; }
.device-focus { width: var(--wide); margin: 14px auto 0; display: grid; grid-template-columns: 220px .95fr 1.05fr; gap: 36px; align-items: center; padding: 38px; border: 1px solid var(--night-line); background: var(--night-2); }
.device-glyph { display: grid; width: 190px; aspect-ratio: 1; place-items: center; border-radius: 48% 52% 48% 52%; background: var(--orange); color: white; font: 800 54px/1 var(--mono); box-shadow: inset 0 0 0 12px rgba(0,0,0,.1),12px 12px 0 #06080b; }
.device-label { margin: 0; color: var(--orange); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.device-focus-copy h3 { margin: 10px 0 12px; font-size: clamp(36px,4vw,58px); letter-spacing: -.05em; }
.device-focus-copy > p:not(.device-label) { color: #aeb6be; line-height: 1.55; }
.meter-row { display: grid; grid-template-columns: 95px 1fr 70px; gap: 10px; align-items: center; margin-top: 13px; font: 600 9px/1 var(--mono); }
.meter-row > span { color: #919aa4; }.meter-row > i { height: 6px; overflow: hidden; background: #29313a; }.meter-row b { display: block; height: 100%; background: var(--orange); transition: width .35s; }.meter-row strong { color: #d7dde2; font-size: 9px; }
.device-details { margin: 0; border-left: 1px solid var(--night-line); }
.device-details div { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--night-line); }.device-details div:last-child { border-bottom: 0; }
.device-details dt { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .1em; }.device-details dd { margin: 8px 0 0; color: #c2c9cf; font-size: 12px; line-height: 1.55; }
.comparison-table-wrap { width: var(--wide); margin: 25px auto 0; overflow-x: auto; border: 1px solid var(--night-line); }
.comparison-table-wrap table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 12px; }
.comparison-table-wrap th,.comparison-table-wrap td { padding: 15px 18px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); text-align: left; }.comparison-table-wrap thead th { background: #1a2028; color: #7f8992; font: 600 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }.comparison-table-wrap tbody th { color: var(--orange); font: 700 11px/1 var(--mono); }.comparison-table-wrap tbody td { color: #b4bdc5; }
.comparison-table-wrap .flipper-row { background: rgba(255,106,20,.1); }
.comparison-table-wrap .flipper-row th,.comparison-table-wrap .flipper-row strong { color: #ff9b61; }
.comparison-verdict { width: var(--wide); margin: 18px auto 0; padding: 22px 25px; border-left: 4px solid var(--orange); background: #141a22; color: #b6bec5; font-size: 13px; line-height: 1.65; }
.comparison-verdict strong { color: white; }
.embedded-comparison { width: var(--wide); margin: 70px auto 0; padding-top: 45px; border-top: 1px solid var(--night-line); }.embedded-heading { display: grid; grid-template-columns: .45fr .75fr 1fr; gap: 30px; align-items: start; }.embedded-heading h3 { margin: 0; font-size: clamp(31px,3vw,49px); line-height: 1.02; letter-spacing: -.05em; }.embedded-heading > p:last-child { margin: 0; color: #9da7af; font-size: 12px; line-height: 1.7; }
.embedded-table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--night-line); }.embedded-table-wrap table { width: 100%; min-width: 960px; border-collapse: collapse; }.embedded-table-wrap th,.embedded-table-wrap td { padding: 15px 17px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); text-align: left; }.embedded-table-wrap thead th { background: #1a2028; color: #8e98a1; font: 700 8px/1.3 var(--mono); }.embedded-table-wrap tbody th { color: white; font: 700 10px/1.3 var(--mono); }.embedded-table-wrap tbody td { color: #9fa9b1; font-size: 10px; line-height: 1.45; }.embedded-table-wrap td.yes { color: var(--green); }.embedded-table-wrap td.add { color: var(--yellow); }
.embedded-verdict { margin: 0; padding: 24px 27px; border-left: 4px solid var(--orange); background: #141a22; color: #abb4bc; font-size: 12px; line-height: 1.7; }.embedded-verdict strong { color: white; }

.firmware-grid { width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.firmware-card { position: relative; padding: 30px; border: 1px solid var(--line); background: var(--white); transition: transform .2s,box-shadow .2s; }
.firmware-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 #ddd6ca; }
.firmware-card.recommended { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--orange); }
.firmware-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.firmware-badge { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .09em; }.recommended .firmware-badge { color: var(--orange); }
.firmware-dot { width: 13px; height: 13px; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }.firmware-dot.official{background:#272727}.firmware-dot.momentum{background:#f8961e}.firmware-dot.unleashed{background:#6f4dd8}.firmware-dot.rogue{background:#db3546}
.firmware-card h3 { margin: 24px 0 11px; font-size: 33px; letter-spacing: -.05em; }.firmware-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }.firmware-card ul { min-height: 132px; padding-left: 20px; color: #4b4b46; font-size: 12px; line-height: 1.65; }.firmware-card a { color: var(--orange); font: 700 10px/1 var(--mono); text-underline-offset: 4px; }
.firmware-matrix-wrap { width: var(--wide); margin: 28px auto 0; overflow-x: auto; border: 1px solid var(--ink); box-shadow: 8px 8px 0 #d5cec1; }
.firmware-matrix { width: 100%; min-width: 920px; border-collapse: collapse; background: var(--white); font-size: 11px; }
.firmware-matrix th,.firmware-matrix td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.firmware-matrix thead th { background: var(--ink); color: white; font: 700 9px/1.3 var(--mono); }
.firmware-matrix tbody th { color: var(--orange); font: 700 9px/1.4 var(--mono); }
.firmware-matrix td { color: #56534d; }
.firmware-matrix td strong { color: var(--ink); }
.firmware-rule-grid { width: var(--wide); margin: 28px auto 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.firmware-rule-grid article { padding: 22px; border-right: 1px solid var(--line); background: rgba(255,254,250,.75); }
.firmware-rule-grid article:last-child { border-right: 0; }
.firmware-rule-grid span { color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.firmware-rule-grid strong { display: block; margin-top: 11px; font-size: 15px; }
.firmware-rule-grid p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.firmware-source-note { width: var(--wide); margin: 14px auto 0; }
.compatibility-callout { width: var(--wide); margin: 25px auto 0; display: grid; grid-template-columns: .65fr 1.35fr; gap: 32px; align-items: center; padding: 28px 32px; background: var(--ink); color: white; }
.compatibility-callout strong { color: var(--orange); font-size: 18px; line-height: 1.4; }.compatibility-callout p { margin: 0; color: #bcc1c3; font-size: 13px; line-height: 1.65; }.compatibility-callout code { color: var(--yellow); }

.one-chapter { color: white; background: radial-gradient(circle at 70% 40%,rgba(255,100,20,.13),transparent 33%),#090c10; }
.one-layout { width: var(--wide); margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px,6vw,100px); }
.one-copy > div:first-child { display: flex; align-items: center; gap: 16px; margin-bottom: 25px; }
.development-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #47515b; border-radius: 3px; color: #aeb7be; font: 600 9px/1 var(--mono); letter-spacing: .08em; }.development-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.one-copy h2 { margin: 24px 0; font-size: clamp(51px,5vw,82px); line-height: .98; letter-spacing: -.065em; }.one-copy h2 span { color: var(--orange); }.one-copy > p:not(.one-verdict) { color: #aeb6bd; font-size: 17px; line-height: 1.6; }
.one-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 28px; border-top: 1px solid #293039; border-left: 1px solid #293039; }.one-stat-grid div { padding: 15px; border-right: 1px solid #293039; border-bottom: 1px solid #293039; }.one-stat-grid span,.one-stat-grid strong,.one-stat-grid small { display: block; }.one-stat-grid span { color: #7f8991; font: 600 8px/1 var(--mono); }.one-stat-grid strong { margin-top: 8px; color: #f3f6f8; font: 600 16px/1.1 var(--mono); }.one-stat-grid small { margin-top: 5px; color: #7f8991; font-size: 9px; }
.one-verdict { margin-top: 25px; padding: 18px 20px; border-left: 3px solid var(--orange); background: #121820; color: #acb5bc; font-size: 12px; line-height: 1.6; }.one-verdict strong { color: white; }.one-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }.one-links a { color: var(--orange); font: 700 10px/1 var(--mono); }
.one-visual { position: relative; }.one-visual figure { margin: 0; padding: 16px; border: 1px solid #2b333b; background: #f8f8f8; }.one-visual img { width: 100%; }.one-visual figcaption { padding-top: 10px; color: #737373; font: 500 8px/1 var(--mono); text-align: right; }
.ports-toggle { width: 100%; min-height: 44px; border: 0; background: var(--orange); color: white; font: 700 10px/1 var(--mono); cursor: pointer; }.ports-figure { margin-top: 8px!important; }
.zero-one-comparison { width: var(--wide); margin: clamp(80px,9vw,135px) auto 0; overflow: hidden; border: 1px solid #303a43; background: #05070a; }.zero-one-comparison img { width: 100%; height: auto; display: block; }.zero-one-comparison figcaption { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 24px 28px; border-top: 1px solid #303a43; }.zero-one-comparison figcaption span,.zero-one-comparison figcaption strong,.zero-one-comparison figcaption small { display: block; }.zero-one-comparison figcaption span { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .11em; }.zero-one-comparison figcaption strong { margin-top: 9px; color: white; font-size: 19px; }.zero-one-comparison figcaption small { margin-top: 7px; color: #8f9aa3; font-size: 10px; line-height: 1.55; }.zero-one-comparison figcaption a { color: var(--orange); font: 700 9px/1 var(--mono); white-space: nowrap; }
.one-section-heading { max-width: 760px; }.one-section-heading h3 { margin: 13px 0 17px; color: white; font-size: clamp(38px,4.2vw,68px); line-height: 1.02; letter-spacing: -.05em; }.one-section-heading h3 span { color: var(--orange); }.one-section-heading > p:last-child { margin: 0; color: #aeb6bd; font-size: 16px; line-height: 1.7; }.one-section-heading.compact { max-width: 980px; }.one-section-heading.compact h3 { font-size: clamp(36px,3.5vw,58px); }
.one-os-story { width: var(--wide); margin: clamp(90px,11vw,170px) auto 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px,7vw,110px); align-items: center; padding-top: 52px; border-top: 1px solid #293039; }
.os-stack { display: grid; }.os-stack > i { justify-self: center; padding: 6px; color: #69737c; font: normal 700 14px/1 var(--mono); }.os-layer { position: relative; padding: 23px 26px; border: 1px solid #3b4650; background: linear-gradient(135deg,#121a22,#0b1016); box-shadow: 9px 9px 0 rgba(0,0,0,.24); }.os-layer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #717d87; }.os-layer span,.os-layer strong,.os-layer small { display: block; }.os-layer span { color: #8d98a1; font: 700 9px/1 var(--mono); letter-spacing: .1em; }.os-layer strong { margin-top: 11px; color: white; font-size: 18px; }.os-layer small { margin-top: 7px; color: #909ba4; font-size: 10px; line-height: 1.5; }.os-layer-profile { border-color: #70411f; background: linear-gradient(135deg,rgba(255,100,20,.18),#11151a); }.os-layer-profile::before { background: var(--orange); }.os-layer-profile span { color: var(--orange); }.os-layer-base::before { background: var(--green); }.os-layer-base span { color: var(--green); }
.profile-lab { width: var(--wide); margin: 75px auto 0; padding: clamp(24px,4vw,54px); border: 1px solid #343e47; background: radial-gradient(circle at 5% 20%,rgba(255,100,20,.13),transparent 27%),#0d1319; }.profile-intro { display: grid; grid-template-columns: .55fr .75fr 1.4fr; gap: 32px; align-items: start; }.profile-intro > span { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .11em; }.profile-intro h3 { margin: 0; color: white; font-size: clamp(27px,2.6vw,42px); line-height: 1.05; letter-spacing: -.04em; }.profile-intro p { margin: 0; color: #9da8b0; font-size: 12px; line-height: 1.7; }.profile-intro code { color: var(--yellow); }
.profile-cards { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 42px; border-top: 1px solid #37414a; border-left: 1px solid #37414a; }.profile-cards article { min-height: 190px; padding: 22px 18px; border-right: 1px solid #37414a; border-bottom: 1px solid #37414a; background: rgba(7,10,14,.6); }.profile-cards i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #5a6269; border-radius: 50%; color: var(--orange); font: normal 700 9px/1 var(--mono); }.profile-cards strong { display: block; margin-top: 32px; color: white; font-size: 15px; }.profile-cards p { margin: 8px 0 0; color: #87929b; font-size: 10px; line-height: 1.55; }.profile-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 25px; overflow-x: auto; color: #8e99a1; font: 700 8px/1.3 var(--mono); white-space: nowrap; }.profile-flow b { color: var(--orange); }
.one-capabilities { width: var(--wide); margin: 90px auto 0; }.one-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 35px; border-top: 1px solid #303943; border-left: 1px solid #303943; }.one-feature-grid article { min-height: 215px; padding: 28px; border-right: 1px solid #303943; border-bottom: 1px solid #303943; background: rgba(13,18,24,.72); }.one-feature-grid article span { color: var(--orange); font: 700 9px/1 var(--mono); }.one-feature-grid h4 { margin: 32px 0 10px; color: white; font-size: 21px; }.one-feature-grid p { margin: 0; color: #929da5; font-size: 11px; line-height: 1.65; }
.one-reality-check { width: var(--wide); margin: 70px auto 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #38424b; }.one-reality-check > div { padding: 34px; border-right: 1px solid #38424b; background: #0d1218; }.one-reality-check > div:nth-child(2) { border-right: 0; }.one-reality-check span { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .1em; }.one-reality-check ul { margin: 22px 0 0; padding-left: 18px; color: #a1abb3; font-size: 11px; line-height: 1.8; }.one-reality-check > p { grid-column: 1/-1; margin: 0; padding: 22px 34px; border-top: 1px solid #38424b; color: #9da7af; font-size: 11px; line-height: 1.6; }.one-reality-check > p strong { color: white; }
.one-deep-links { width: var(--wide); margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }.one-deep-links a { padding: 12px 14px; border: 1px solid #3b454e; color: #aeb7be; font: 700 8px/1 var(--mono); }.one-deep-links a:hover,.one-deep-links a:focus-visible { border-color: var(--orange); color: var(--orange); }

.build-chapter { background: #080b10; }
.build-flow { width: var(--wide); margin: 0 auto 35px; display: flex; align-items: center; justify-content: space-between; }
.build-flow article { flex: 1; min-height: 110px; padding: 17px; border: 1px solid var(--night-line); background: var(--night-2); }.build-flow article span { color: var(--orange); font: 700 9px/1 var(--mono); }.build-flow article strong,.build-flow article small { display: block; }.build-flow article strong { margin-top: 19px; font-size: 15px; }.build-flow article small { margin-top: 4px; color: #7f8993; font: 500 8px/1 var(--mono); }.build-flow > i { padding: 0 7px; color: var(--orange); font-style: normal; }
.lesson-switcher { width: var(--wide); margin: auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(132px,1fr)); border-bottom: 1px solid #303842; }.lesson-switcher button { min-width: 0; min-height: 48px; padding: 0 14px; border: 0; border-right: 1px solid #303842; border-top: 1px solid #303842; background: #10161e; color: #89939c; font: 600 10px/1 var(--mono); cursor: pointer; }.lesson-switcher button[aria-selected="true"] { background: var(--orange); color: white; }
.lesson-panels { width: var(--wide); min-height: 480px; margin: auto; border: 1px solid #303842; border-top: 0; background: #0e131a; }
.lesson-panel { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 480px; }.lesson-panel[hidden] { display: none; }
.beginner-recipe { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 46px; border-right: 1px solid #303842; background: radial-gradient(circle at 50% 50%,rgba(255,100,20,.12),transparent 52%),#05080b; }.beginner-recipe > article { min-height: 210px; padding: 25px 20px; border: 1px solid #313b46; border-radius: 8px; background: #10161d; box-shadow: 5px 5px 0 rgba(255,100,20,.2); }.beginner-recipe > article span { color: var(--orange); font: 700 10px/1 var(--mono); }.beginner-recipe > article strong { display: block; margin-top: 44px; color: white; font: 700 13px/1 var(--mono); }.beginner-recipe > article p { margin: 15px 0 0; color: #96a0a9; font-size: 11px; line-height: 1.6; }.beginner-recipe > i { color: var(--orange); font-style: normal; }
.starter-kit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; padding: 38px; border-right: 1px solid #303842; background: radial-gradient(circle at 40% 20%,rgba(255,106,20,.13),transparent 45%),#05080b; }
.starter-check { min-height: 145px; padding: 20px; border: 1px solid #303a44; background: #10161d; }
.starter-check span { color: var(--orange); font: 700 9px/1 var(--mono); }
.starter-check strong,.starter-check small { display: block; }
.starter-check strong { margin-top: 24px; color: white; font-size: 16px; }
.starter-check small { margin-top: 9px; color: #8e99a2; font-size: 10px; line-height: 1.5; }
.starter-terminal { grid-column: 1/-1; margin: 0; padding: 20px; overflow-x: auto; border: 1px solid #34404b; background: #020406; color: var(--green); font: 500 11px/1.65 var(--mono); }
.c-basics-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; padding: 30px; border-right: 1px solid #303842; background: #05080b; }
.c-basics-grid article { min-height: 130px; padding: 18px; border: 1px solid #303a44; background: #10161d; }
.c-basics-grid span { color: var(--green); font: 700 10px/1 var(--mono); }
.c-basics-grid strong { display: block; margin-top: 15px; color: white; font-size: 14px; }
.c-basics-grid p { margin: 8px 0 0; color: #88939c; font-size: 10px; line-height: 1.5; }
.file-tree { padding: 46px; border-right: 1px solid #303842; background: #05080b; font: 500 14px/1.85 var(--mono); }.file-tree p { margin: 0; color: #e6ecf0; }.file-tree b { color: var(--green); }.file-tree span { color: #69737d; font-size: 11px; }
.lesson-explanation { display: flex; flex-direction: column; justify-content: center; padding: 46px; }.lesson-explanation h3 { margin: 0 0 20px; color: var(--orange); font-size: 29px; letter-spacing: -.04em; }.lesson-explanation p { color: #a8b0b7; font-size: 13px; line-height: 1.7; }.lesson-explanation code { color: var(--yellow); }
.dummy-checklist { margin: 13px 0 0; padding-left: 22px; color: #d9e0e5; font-size: 12px; line-height: 1.9; }.dummy-checklist li::marker { color: var(--green); font-family: var(--mono); font-weight: 700; }
.file-contract { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 8px 0; }.file-contract div { padding: 10px; border: 1px solid #303842; }.file-contract dt { color: var(--green); font: 700 9px/1 var(--mono); }.file-contract dd { margin: 7px 0 0; color: #8f99a2; font-size: 10px; line-height: 1.45; }
.code-block { position: relative; min-width: 0; min-height: 100%; margin: 0; padding: 48px 34px 32px; overflow: auto; border-right: 1px solid #303842; background: #05080b; color: #8de4a0; font: 500 12px/1.7 var(--mono); tab-size: 4; white-space: pre; }
.full-source-panel { grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); }
.full-source-code { height: 720px; min-height: 720px; }
.source-tour { justify-content: flex-start; max-height: 720px; overflow-y: auto; }
.source-map { margin: 10px 0 18px; padding-left: 21px; color: #aab3ba; font-size: 12px; line-height: 1.72; }
.source-map li::marker { color: var(--orange); font-family: var(--mono); }
.source-map strong { color: white; }
.error-playbook { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; align-content: center; padding: 28px; border-right: 1px solid #303842; background: #05080b; }
.error-playbook article { min-height: 118px; padding: 16px; border: 1px solid #303a44; background: #10161d; }
.error-playbook strong,.error-playbook span { display: block; }
.error-playbook strong { color: #ff9b61; font: 700 10px/1.35 var(--mono); }
.error-playbook span { margin-top: 10px; color: #929da6; font-size: 10px; line-height: 1.5; }
.error-playbook code { color: var(--yellow); }
.code-block.terminal { color: #d5dde3; }.code-block.terminal code::first-line { color: var(--green); }
.copy-code { position: absolute; top: 15px; right: 15px; min-height: 29px; padding: 0 10px; border: 1px solid #3a444e; border-radius: 3px; background: #151c24; color: #aeb7bf; font: 600 8px/1 var(--mono); cursor: pointer; }.copy-code:hover { border-color: var(--orange); color: white; }
.api-diagram { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 35px; border-right: 1px solid #303842; background: #05080b; }.api-diagram div { min-width: 130px; padding: 24px 16px; border: 1px solid #39434d; text-align: center; }.api-diagram span,.api-diagram strong { display: block; }.api-diagram span { color: #7f8992; font: 500 8px/1 var(--mono); }.api-diagram strong { margin-top: 11px; color: var(--green); font: 700 16px/1 var(--mono); }.api-diagram > i { color: var(--orange); font: 500 9px/1 var(--mono); font-style: normal; }
.workshop-downloads { width: var(--wide); margin: 18px auto 0; display: grid; grid-template-columns: 1.45fr repeat(4,1fr); border: 1px solid #303842; background: #0e131a; }.verified-build { min-height: 92px; display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; border-right: 1px solid #303842; }.verified-build span { color: var(--green); font: 700 8px/1 var(--mono); letter-spacing: .12em; }.verified-build strong { margin-top: 9px; color: white; font-size: 17px; }.verified-build small { margin-top: 7px; color: #77838d; font: 500 8px/1.45 var(--mono); }.workshop-downloads > a { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-right: 1px solid #303842; color: #d8e0e6; font: 700 9px/1.5 var(--mono); text-decoration: none; transition: color .15s,background .15s; }.workshop-downloads > a:last-child { border-right: 0; }.workshop-downloads > a span { color: var(--orange); font-size: 16px; }.workshop-downloads > a:hover,.workshop-downloads > a:focus-visible { background: var(--orange); color: white; }.workshop-downloads > a:hover span,.workshop-downloads > a:focus-visible span { color: white; }

.mayan-chapter { background: #fff; }
.mayan-banner { width: var(--wide); margin: 0 auto; overflow: hidden; border: 1px solid #d5d5d0; background: white; }.mayan-banner img { width: 100%; }.mayan-banner figcaption { padding: 9px 13px; color: var(--muted); font: 500 8px/1 var(--mono); text-align: right; }.mayan-banner figcaption a { color: var(--orange); font-weight: 700; text-underline-offset: 2px; }
.mayan-content { width: var(--wide); margin: 18px auto 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.mayan-story { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.mayan-story article { padding: 21px; border: 1px solid var(--line); background: var(--paper); }.mayan-story span { color: var(--orange); font: 700 8px/1 var(--mono); }.mayan-story h3 { margin: 13px 0 8px; font-size: 16px; }.mayan-story p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; align-content: start; }.shot { padding: 4px; border: 1px solid var(--line); background: white; cursor: pointer; opacity: .58; }.shot.active { border-color: var(--orange); box-shadow: 3px 3px 0 var(--orange); opacity: 1; }.shot-preview { grid-column: 1/-1; display: grid; min-height: 270px; place-items: center; padding: 22px; background: #131313; }.shot-preview img { width: min(660px,100%); image-rendering: pixelated; }
.mayan-code-grid { width: var(--wide); margin: 18px auto 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #242424; background: var(--night); }.mayan-code-grid .code-block { border-right-color: #2d343b; }.mayan-lessons { display: flex; flex-direction: column; justify-content: center; padding: 40px; color: white; }.mayan-lessons > span { color: var(--orange); font: 700 9px/1 var(--mono); }.mayan-lessons h3 { margin: 14px 0; font-size: 29px; line-height: 1.2; }.mayan-lessons ul { padding-left: 19px; color: #afb7bd; font-size: 12px; line-height: 1.8; }.mayan-lessons code { color: var(--yellow); }.mayan-lessons > div { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 17px; }.mayan-lessons a { color: var(--orange); font: 700 10px/1 var(--mono); }

.publish-chapter { background: #ede8df; }
.publish-pipeline { width: var(--wide); margin: auto; display: flex; align-items: stretch; }.publish-pipeline article { flex: 1; padding: 23px; border: 1px solid var(--line); background: var(--white); }.publish-pipeline > i { align-self: center; padding: 0 8px; color: var(--orange); font-style: normal; }.publish-pipeline article > span { color: var(--orange); font: 700 9px/1 var(--mono); }.publish-pipeline h3 { margin: 15px 0 9px; font-size: 16px; }.publish-pipeline p { min-height: 56px; color: var(--muted); font-size: 11px; line-height: 1.55; }.publish-pipeline strong { color: #383833; font: 600 9px/1.3 var(--mono); word-break: break-word; }
.publish-details { width: var(--wide); margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.publish-details > div { overflow: hidden; border: 1px solid #222; background: var(--night); }.publish-details h3 { margin: 0; padding: 16px 20px; border-bottom: 1px solid #333c45; color: white; font-size: 15px; }.publish-details .code-block { min-height: 335px; border: 0; }
.publish-details .catalog-terminal { grid-column: 1/-1; }.publish-details .catalog-terminal .code-block { min-height: 390px; }
.catalog-checklist { width: var(--wide); margin: 14px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; padding: 25px; border: 1px solid var(--line); background: var(--white); }.catalog-checklist h3 { grid-column: 1/-1; margin: 0 0 10px; font-size: 21px; }.catalog-checklist label { display: flex; gap: 10px; align-items: flex-start; color: #4e4e48; font-size: 11px; line-height: 1.5; cursor: pointer; }.catalog-checklist input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: var(--orange); }.catalog-checklist code { color: #a63e08; }
.publish-chapter > .source-note { width: var(--wide); margin: 15px auto 0; }

.finale-chapter { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: calc(100vh - var(--header-h)); color: white; background: var(--orange); }
.finale-chapter::before { position: absolute; content: ""; inset: 0; opacity: .18; background-image: radial-gradient(#fff 1px,transparent 1px); background-size: 22px 22px; }
.finale-copy { position: relative; z-index: 2; }.finale-copy .overline { color: #2b180e; }.finale-copy h2 { margin: 22px 0; font-size: clamp(55px,6vw,96px); line-height: .91; letter-spacing: -.07em; }.finale-copy h2 span { color: #15110f; }.finale-copy > p:not(.overline) { max-width: 760px; font-size: 19px; line-height: 1.55; }.button.giant { min-height: 68px; gap: 20px; margin-top: 24px; padding: 0 30px; background: var(--ink); color: white; font-size: 13px; }.final-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; }.final-notes span { padding: 8px 10px; border: 1px solid rgba(17,17,15,.45); font: 700 8px/1 var(--mono); }
.finale-screen { position: relative; z-index: 2; display: grid; place-items: center; }.mini-flipper { position: relative; width: min(620px,44vw); aspect-ratio: 2.05/1; border: 3px solid #1c1b18; border-radius: 48px 28px 48px 28px; background: #f3f1eb; box-shadow: 20px 24px 0 rgba(0,0,0,.2); transform: rotate(-5deg); }.mini-lcd { position: absolute; left: 9%; top: 18%; width: 52%; height: 61%; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 8px solid #484844; border-radius: 12px; background: #ff941f; color: #302417; font-family: var(--mono); box-shadow: inset 0 0 12px rgba(0,0,0,.3); }.mini-lcd span { font-size: clamp(8px,1vw,13px); }.mini-lcd strong { margin-top: 12px; font-size: clamp(23px,3vw,48px); }.mini-lcd small { margin-top: auto; }.mini-pad { position: absolute; right: 8%; top: 18%; width: 25%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 3px #bd4207,0 0 0 5px #38352f; }.mini-pad::before,.mini-pad::after { position: absolute; content: ""; background: #d94a08; }.mini-pad::before { width: 32%; height: 100%; left: 34%; }.mini-pad::after { height: 32%; width: 100%; top: 34%; }.mini-pad i { position: absolute; z-index: 2; width: 36%; aspect-ratio: 1; left: 32%; top: 32%; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px #ad3b05; }

.sources { padding: 80px max(32px,calc((100vw - 1440px) / 2)) 45px; background: #0b0e12; color: white; }
.sources .chapter-heading h2 { font-size: clamp(34px,4vw,55px); }.source-columns { width: var(--wide); margin: auto; display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }.source-columns div { display: flex; flex-direction: column; gap: 10px; padding-right: 20px; }.source-columns h3 { margin: 0 0 9px; color: var(--orange); font: 700 10px/1.3 var(--mono); }.source-columns a,.source-columns span { color: #aab2b9; font-size: 11px; line-height: 1.4; }.source-columns a:hover { color: white; }.source-columns span a { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 3px; }.updated { width: var(--wide); margin: 55px auto 0; padding-top: 20px; border-top: 1px solid #2c343d; color: #6f7982; font: 500 9px/1.5 var(--mono); }

.stage-controls { position: fixed; z-index: 200; left: 50%; bottom: 20px; display: grid; grid-template-columns: 42px auto 42px; align-items: center; gap: 10px; padding: 8px; border: 1px solid #3b444c; border-radius: 8px; background: rgba(7,10,14,.94); color: white; box-shadow: 0 12px 30px rgba(0,0,0,.32); transform: translateX(-50%); backdrop-filter: blur(12px); }.stage-controls button { width: 42px; height: 42px; border: 1px solid #414b54; border-radius: 4px; background: #151b22; color: white; cursor: pointer; }.stage-controls button:hover { background: var(--orange); }.stage-controls span { min-width: 72px; text-align: center; font: 500 11px/1 var(--mono); }.stage-controls > small { position: absolute; left: 50%; bottom: -19px; width: 240px; color: #5f6870; font: 500 7px/1 var(--mono); text-align: center; transform: translateX(-50%); }
.toast { position: fixed; z-index: 400; right: 22px; bottom: 22px; max-width: 310px; padding: 12px 16px; border-left: 4px solid var(--orange); background: #11161d; color: white; font: 600 10px/1.45 var(--mono); box-shadow: 0 12px 35px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s,transform .2s; }.toast.show { opacity: 1; transform: none; }

body.stage-mode { height: 100vh; overflow: hidden; background: var(--night); }
body.stage-mode .talk-header { position: fixed; left: 0; right: 0; }
body.stage-mode .reading-progress { display: none; }
body.stage-mode main { height: 100vh; padding-top: var(--header-h); }
body.stage-mode .chapter,body.stage-mode .sources { display: none; width: 100vw; height: calc(100vh - var(--header-h)); min-height: 0; overflow-y: auto; }
body.stage-mode .chapter.is-active,body.stage-mode .sources.is-active { display: block; }
body.stage-mode .hero-chapter.is-active { display: flex; }
body.stage-mode .finale-chapter.is-active { display: grid; }
body.stage-mode .chapter { padding-top: clamp(48px,6vh,76px); padding-bottom: 80px; }
body.stage-mode .chapter-heading { margin-bottom: 34px; }
body.stage-mode .chapter-heading h2 { font-size: clamp(36px,4.6vw,68px); }
body.stage-mode .hero-copy h1 { font-size: clamp(62px,7vw,112px); }
body.stage-mode .hero-visual { min-height: 520px; }

@media (max-width: 1180px) {
  :root { --wide: calc(100vw - 44px); }
  .talk-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }.hero-visual { min-height: 520px; }
  .anatomy-layout { grid-template-columns: 1fr; }.anatomy-device { min-height: 500px; }.spec-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; }.spec-panel .source-note { grid-column: 1/-1; }
  .tech-display { grid-template-columns: .6fr 1.4fr; }.tech-content { padding: 36px; }
  .myth-grid { grid-template-columns: repeat(2,1fr); }
  .origin-story,.campaign-audience { grid-template-columns: 1fr; }.hardware-ledger { grid-template-columns: 1fr; }.setup-sequence { grid-template-columns: 1fr 1fr; }.device-tabs { grid-template-columns: repeat(4,1fr); }.embedded-heading { grid-template-columns: 1fr 1fr; }.embedded-heading > p:last-child { grid-column: 1/-1; }
  .dolphin-story { grid-template-columns: .8fr 1.2fr; }
  .gpio-foundation { grid-template-columns: 1fr 1fr; }.gpio-foundation article:nth-child(2) { border-right: 0; }.gpio-foundation article:nth-child(-n+2) { border-bottom: 1px solid #3a3a34; }
  .module-selector { display: flex; overflow-x: auto; }.module-selector button { flex: 0 0 165px; }
  .module-focus { grid-template-columns: minmax(320px,.75fr) 1.25fr; }.module-copy { padding: 32px; }.module-ecosystem { grid-template-columns: 1fr 1fr; }
  .gpio-media-grid { grid-template-columns: repeat(2,1fr); }.gpio-video-card { grid-column: 1/-1; }.firmware-rule-grid { grid-template-columns: 1fr 1fr; }.firmware-rule-grid article:nth-child(2) { border-right: 0; }.firmware-rule-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .source-columns { grid-template-columns: repeat(3,1fr); }
  .device-focus { grid-template-columns: 170px 1fr; }.device-glyph { width: 150px; }.device-details { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); border-left: 0; border-top: 1px solid var(--night-line); }.device-details div { border-bottom: 0; border-right: 1px solid var(--night-line); }.device-details div:last-child { border-right: 0; }
  .one-layout { grid-template-columns: 1fr; }.one-visual { max-width: 900px; }.one-os-story { grid-template-columns: 1fr; }.profile-cards { grid-template-columns: repeat(3,1fr); }.profile-cards article { min-height: 170px; }.profile-cards article:nth-child(3) { border-right: 0; }.one-feature-grid { grid-template-columns: repeat(2,1fr); }
  .lesson-panel { grid-template-columns: 1fr; }.beginner-recipe,.starter-kit,.c-basics-grid,.file-tree,.code-block,.api-diagram,.error-playbook { min-height: 400px; border-right: 0; border-bottom: 1px solid #303842; }.lesson-explanation { min-height: 280px; }.api-diagram { flex-wrap: wrap; }.full-source-code { height: 680px; }.source-tour { max-height: none; }.workshop-downloads { grid-template-columns: repeat(2,1fr); }.verified-build { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid #303842; }.workshop-downloads > a:nth-of-type(2n) { border-right: 0; }
  .finale-chapter { grid-template-columns: 1fr .7fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; --wide: calc(100vw - 28px); }
  .talk-header { gap: 8px; padding: 0 14px; }.talk-brand small,.stage-toggle { display: none; }.talk-brand strong { font-size: 10px; }.emulator-link { min-height: 36px; padding: 0 11px; font-size: 9px; }
  .chapter { min-height: auto; padding: 75px 14px; }.chapter-heading { margin-bottom: 36px; }.chapter-heading h2 { font-size: clamp(39px,12vw,64px); }.chapter-heading > p { font-size: 16px; }
  .hero-chapter { min-height: calc(100vh - var(--header-h)); padding-top: 48px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy h1 { font-size: clamp(58px,17vw,94px); }.hero-visual { min-height: 400px; }.hero-visual::before { width: 76vw; }.hero-visual img { width: 100%; }.hero-facts { margin-top: 35px; }.scroll-cue { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }.timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }.timeline article { padding: 0 0 35px 38px; }.timeline article::before { left: 0; top: 2px; width: 10px; height: 10px; border-width: 3px; }.timeline time { position: static; display: block; margin-bottom: 8px; }.quote-card { padding: 23px; }.audience-map > div:first-child { grid-template-columns: 1fr; }.hardware-ledger-grid { grid-template-columns: 1fr; }.control-console { grid-template-columns: 1fr; }.dummy-mode-note { grid-template-columns: 1fr; }.embedded-heading { grid-template-columns: 1fr; }
  .creator-profile { grid-template-columns: 1fr; padding: 22px; gap: 24px; }.creator-photo { min-height: 390px; }.company-card { padding: 24px; }.prototype-story { padding: 22px 14px; }.prototype-gallery { grid-template-columns: 1fr; }.prototype-gallery img { height: min(620px,115vw); }.dolphin-story { grid-template-columns: 1fr; }.dolphin-passport { min-height: 340px; border-right: 0; border-bottom: 1px solid #39414a; }.dolphin-avatar { width: 190px; }
  .anatomy-device { min-height: 380px; }.callout { min-width: 105px; padding: 8px; }.callout strong { font-size: 8px; }.callout small { font-size: 7px; }.callout i { width: 18px; }.c1 i,.c4 i { right: -18px; }.c2 i,.c3 i { left: -18px; }.spec-panel { display: block; padding: 14px; }
  .tech-lab { grid-template-columns: 1fr; }.tech-selector { flex-direction: row; overflow-x: auto; }.tech-selector button { flex: 0 0 145px; min-height: 54px; border-bottom: 0; border-right: 1px solid #34342f; }.tech-selector button[aria-selected="true"] { padding-left: 19px; }.tech-display { grid-template-columns: 1fr; }.tech-signal { min-height: 280px; }.tech-content { padding: 28px 20px; }.tech-content h3 { font-size: 47px; }.truth-pair { grid-template-columns: 1fr; }
  .module-focus { grid-template-columns: 1fr; }.module-photo { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--ink); }.module-photo img { max-height: 350px; }.module-copy { padding: 30px 20px; }.module-copy h3 { font-size: 47px; }.gpio-lab { padding: 22px 14px; }.gpio-media-grid { grid-template-columns: 1fr 1fr; }.gpio-video-card { grid-column: 1/-1; }.gpio-video-card video { min-height: 390px; }.flipper-lab-callout { grid-template-columns: 1fr; gap: 18px; }.flipper-lab-callout > a { width: fit-content; }.zero-one-comparison figcaption { grid-template-columns: 1fr; gap: 18px; }
  .myth-grid { grid-template-columns: 1fr; }.myth-card { min-height: 280px; }
  .swiss-army-callout { grid-template-columns: 1fr; gap: 12px; }.device-tabs { grid-template-columns: repeat(2,1fr); }.device-tabs button { border-bottom: 1px solid var(--night-line); }.device-focus { grid-template-columns: 1fr; padding: 25px; }.device-glyph { width: 130px; }.device-details { grid-template-columns: 1fr; }.device-details div { border-right: 0; border-bottom: 1px solid var(--night-line); padding-left: 0; }
  .firmware-grid { grid-template-columns: 1fr; }.compatibility-callout { grid-template-columns: 1fr; }.firmware-rule-grid { grid-template-columns: 1fr; }.firmware-rule-grid article { border-right: 0; border-bottom: 1px solid var(--line); }.firmware-rule-grid article:last-child { border-bottom: 0; }
  .one-stat-grid { grid-template-columns: 1fr 1fr; }.one-copy h2 { font-size: 50px; }.one-visual figure { padding: 6px; }.profile-intro { grid-template-columns: 1fr; gap: 16px; }.profile-cards { grid-template-columns: 1fr 1fr; }.profile-cards article,.profile-cards article:nth-child(3) { border-right: 1px solid #37414a; }.profile-cards article:nth-child(2n) { border-right: 0; }.one-reality-check { grid-template-columns: 1fr; }.one-reality-check > div { border-right: 0; border-bottom: 1px solid #38424b; }.one-reality-check > p { grid-column: auto; border-top: 0; }
  .build-flow { overflow-x: auto; justify-content: flex-start; }.build-flow article { flex: 0 0 150px; }.lesson-switcher { grid-template-columns: repeat(2,minmax(0,1fr)); }.lesson-switcher button { min-width: 0; padding: 0 8px; }.beginner-recipe,.starter-kit,.c-basics-grid,.error-playbook,.file-tree,.lesson-explanation,.code-block { padding-left: 20px; padding-right: 20px; }.beginner-recipe { grid-template-columns: 1fr; }.beginner-recipe > article { width: 100%; min-height: 160px; }.beginner-recipe > article strong { margin-top: 28px; }.beginner-recipe > i { justify-self: center; transform: rotate(90deg); }.starter-kit,.c-basics-grid,.error-playbook { grid-template-columns: 1fr; }.starter-terminal { grid-column: auto; }.file-tree { font-size: 11px; }.code-block { font-size: 10px; }.api-diagram { flex-direction: column; }.api-diagram > i { transform: rotate(90deg); }.workshop-downloads { grid-template-columns: 1fr; }.verified-build { grid-column: auto; }.workshop-downloads > a { border-right: 0; border-bottom: 1px solid #303842; }.workshop-downloads > a:last-child { border-bottom: 0; }
  .mayan-content { grid-template-columns: 1fr; }.mayan-story { grid-template-columns: 1fr 1fr; }.shot-preview { min-height: 210px; }.mayan-code-grid { grid-template-columns: 1fr; }.mayan-code-grid .code-block { min-height: 370px; border-right: 0; border-bottom: 1px solid #2d343b; }
  .publish-pipeline { display: grid; grid-template-columns: 1fr; }.publish-pipeline > i { justify-self: center; padding: 7px; transform: rotate(90deg); }.publish-details { grid-template-columns: 1fr; }.publish-details .catalog-terminal { grid-column: auto; }.catalog-checklist { grid-template-columns: 1fr; }.catalog-checklist h3 { grid-column: auto; }
  .finale-chapter { display: block; min-height: auto; padding-top: 90px; padding-bottom: 100px; }.finale-copy h2 { font-size: 54px; }.finale-screen { margin-top: 65px; }.mini-flipper { width: 90vw; }.sources { padding: 70px 14px 40px; }.source-columns { grid-template-columns: 1fr 1fr; gap: 35px 15px; }
  body.stage-mode { overflow: auto; } body.stage-mode main { height: auto; } body.stage-mode .chapter,body.stage-mode .sources { height: calc(100vh - var(--header-h)); }.stage-controls > small { display: none; }
}

@media (max-width: 500px) {
  .talk-brand > span:last-child { display: none; }.talk-actions { margin-left: auto; }.language-switcher button { min-width: 28px; padding: 0 4px; }.emulator-link { padding-inline: 9px; }
  .hero-facts { gap: 22px; }.hero-facts strong { font-size: 25px; }.hero-visual { min-height: 310px; }.signal-chip { font-size: 7px; }.chip-a { top: 9%; }.chip-c { bottom: 4%; }
  .anatomy-device { min-height: 310px; }.callout { min-width: 84px; }.c1 { top: 7%; }.c2 { top: 2%; }.c3 { bottom: 4%; }.c4 { bottom: 9%; }.spec-grid strong { font-size: 12px; }
  .creator-photo { min-height: 300px; }.prototype-gallery figure { min-height: 330px; }.prototype-gallery img { height: 120vw; }.level-road { grid-template-columns: 1fr; gap: 8px; }.level-road > i { justify-self: center; transform: rotate(90deg); }.campaign-score,.audience-map { padding: 22px 18px; }.hardware-ledger-grid { grid-template-columns: 1fr; }.hardware-ledger-grid article { min-height: 165px; }.first-flight { padding: 24px 14px; }.control-console { padding: 22px 8px; }.control-pad { grid-template-columns: repeat(3,82px); grid-template-rows: repeat(3,75px); }.control-pad span { width: 69px; height: 63px; }.control-rules,.setup-sequence { grid-template-columns: 1fr; }.control-rules div,.setup-sequence article { min-height: auto; }.setup-sequence span { margin-top: 18px; }.gpio-foundation { grid-template-columns: 1fr; }.gpio-foundation article { border-right: 0; border-bottom: 1px solid #3a3a34; }.gpio-foundation article:last-child { border-bottom: 0; }.module-photo { min-height: 330px; }.module-photo img { max-height: 270px; }.module-specs,.module-use-grid,.module-ecosystem { grid-template-columns: 1fr; }.gpio-media-grid { grid-template-columns: 1fr; }.gpio-video-card { grid-column: auto; }.gpio-media-grid figure,.gpio-media-grid img,.gpio-media-grid video,.gpio-video-card video { min-height: 360px; }.embedded-comparison { margin-top: 55px; }.one-stat-grid { grid-template-columns: 1fr; }.one-section-heading h3 { font-size: 38px; }.profile-lab { padding: 22px 16px; }.profile-cards { grid-template-columns: 1fr; }.profile-cards article,.profile-cards article:nth-child(2n),.profile-cards article:nth-child(3) { min-height: 145px; border-right: 0; }.profile-cards strong { margin-top: 22px; }.one-feature-grid { grid-template-columns: 1fr; }.one-feature-grid article { min-height: 180px; }.one-reality-check > div,.one-reality-check > p { padding: 24px 20px; }.one-deep-links { display: grid; }.file-contract { grid-template-columns: 1fr; }.mayan-story { grid-template-columns: 1fr; }.screenshot-gallery { grid-template-columns: repeat(2,1fr); }.source-columns { grid-template-columns: 1fr; }.mini-lcd { border-width: 4px; padding: 10px; }.mini-flipper { border-radius: 26px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
