/* Orbit Store website: Big Orbit, Midnight colours (navy, ice and a periwinkle ring). */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #16213A;
  --ice: #D6E2F2;
  --ring: #8FA6C9;
  --ink: #0D1322;
  --paper: #EEF0F3;
  --white: #FFFFFF;
  --text: #111827;
  --sub: #4A5263;
  --navy-sub: #B7C2D6;
  --ink-sub: #A3ACBD;
  --chip: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.32);
  --rule: #DDE1E7;
  --raised: #161E30;
  --raised-line: #273149;
  --track: #222B3D;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
  margin: 0;
  font: 17px/1.5 var(--body);
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}

a { color: inherit; }
a:hover { opacity: 0.8; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); }
h1, h2, h3 { text-wrap: balance; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus { left: 16px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.d { font-family: var(--display); }
.mega {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(76px, 15vw, 224px);
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.lead {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.18;
}
.muted { color: var(--sub); }

/* Sections */
.navy { background: var(--navy); color: var(--white); }
.white { background: var(--white); color: var(--text); }
.paper { background: var(--paper); color: var(--text); }
.ice { background: var(--ice); color: var(--navy); }
.ink { background: var(--ink); color: var(--white); }
.pad { padding-top: var(--section); padding-bottom: var(--section); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 700 16px/1.2 var(--body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn.big { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-ice { background: var(--ice); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-line { border: 2px solid currentColor; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-weight: 600; }

/* Header and footer */
.site-header { background: var(--navy); color: var(--white); }
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 20px; }
.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.site-footer { background: var(--ink); color: var(--ink-sub); font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 64px; }
.footer-about { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-about .brand { color: var(--white); }
.footer-about p { margin: 0; max-width: 30em; }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--white); }
.footer-col a { color: var(--white); text-decoration: none; }
.legal { margin: 48px 0 0; padding: 24px 0 40px; border-top: 1px solid var(--track); font-size: 13px; }

/* Page heads */
.hero { padding-top: clamp(24px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px); }
.hero .lead { margin-top: 36px; max-width: 24em; }
.hero.tight { padding-bottom: 72px; }
.switch { display: inline-flex; flex-wrap: wrap; margin-top: 44px; padding: 6px; border-radius: 999px; background: var(--chip); }
.switch a { min-height: 48px; color: var(--white); }
.switch a[aria-current="page"] { background: var(--white); color: var(--navy); }
.crumbs { font-size: 15px; color: var(--navy-sub); }
.crumbs span[aria-hidden] { margin: 0 10px; }

/* Home */
/* The words on the left and the logo's planet with three orbits beside them (above them on screens narrower
   than 1280 px). The wide drawing is placed from the words' left edge and the words keep one size there, so no
   ring reaches them at any width; on narrow screens the words start below the drawing (see tools/hero-orbits.py). */
.orbits { position: relative; isolation: isolate; overflow: hidden; }
.orbits-art { position: absolute; z-index: -1; display: block; overflow: visible; pointer-events: none; }
.orbits-art.side { display: none; }
.orbits-art.top { top: 0; right: 0; width: min(100vw, 600px); height: auto; aspect-ratio: 390 / 291; }
.hero-side { padding-top: min(74.6vw, 448px); padding-bottom: clamp(48px, 8vw, 96px); }
.wordmark { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(84px, 16vw, 168px); line-height: 0.82; letter-spacing: -0.055em; white-space: nowrap; }
.hero-side .lead { margin-top: 24px; max-width: 450px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.hero-side .buttons { margin-top: clamp(28px, 3vw, 40px); }
.hero-side .chips { margin-top: 24px; }
@media (min-width: 1280px) {
  .orbits-art.top { display: none; }
  .orbits-art.side { display: block; top: 0; left: calc(max(0px, (100% - 1280px) / 2) + var(--gutter) + 360px); width: 1400px; height: 780px; }
  .hero-side { padding-top: 80px; padding-bottom: 104px; }
  .wordmark { font-size: 200px; }
  .hero-side .lead { margin-top: 40px; font-size: 30px; }
  .hero-side .buttons { margin-top: 40px; }
  .hero-side .chips { margin-top: 28px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--chip); }

.cards-2 { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.console-card { border-radius: 32px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; min-height: 520px; }
.console-card.ps5 { background: var(--navy); color: var(--white); }
.console-card.ps4 { background: var(--ice); color: var(--navy); }
.console-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.console-top h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(80px, 10vw, 140px); line-height: 0.82; letter-spacing: -0.05em; }
.badge { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ps5 .badge { border: 2px solid currentColor; }
.ps4 .badge { background: var(--navy); color: var(--ice); }
.console-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.console-card .buttons { margin-top: auto; align-items: center; }
.console-card .buttons a:not(.btn) { padding: 0 14px; font-weight: 600; }

.feature-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.feature { background: var(--white); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { margin: 0; font-size: 21px; }
.feature p { margin: 0; color: var(--sub); }
.feature.wide { grid-column: span 2; background: var(--ink); color: var(--white); gap: 18px; }
.feature.wide h3 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.feature.wide p { color: var(--ink-sub); max-width: 34em; }
.big-word { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; color: var(--text) !important; }
.bars { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.bar { display: flex; align-items: center; gap: 14px; }
.bar span:first-child { flex: 0 0 110px; font-size: 14px; color: var(--ink-sub); }
.track { flex: 1; height: 14px; border-radius: 999px; background: var(--track); }
.track i { display: block; height: 14px; border-radius: 999px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; }
.formats span { padding: 10px 16px; border-radius: 14px; font-family: var(--display); font-weight: 800; font-size: 26px; }
.digits { display: flex; gap: 8px; }
.digits span { width: 38px; height: 50px; border-radius: 10px; background: var(--paper); border: 2px solid var(--text); }

/* Home: Orbit Zero. The comparison is a table on wide screens and one card per row on phones. */
.zero-head { display: flex; flex-direction: column; gap: 24px; }
.zero-head p { margin: 0; max-width: 40em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-sub); }
.zero-head p.zero-kicker { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: var(--ring); }
.zero-title { margin: 0; max-width: 11em; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 8.4vw, 120px); line-height: 0.9; letter-spacing: -0.05em; }
.compare-box { margin-top: clamp(48px, 6vw, 72px); border-radius: 32px; overflow: hidden; background: var(--raised); }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare tr > :first-child { width: 24%; }
.skip-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare th, .compare td { padding: 26px 32px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--raised-line); font-size: 17px; line-height: 1.45; }
.compare thead th { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink-sub); }
.compare tbody th { font-weight: 700; }
.compare td { color: var(--ink-sub); }
.compare .zero { background: var(--ice); color: var(--navy); border-bottom-color: #B7C6DB; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.zero-extras { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.zero-extras div { padding-top: 20px; border-top: 2px solid var(--ring); }
.zero-extras h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.zero-extras p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-sub); }
.zero-os { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.zero-os a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 32px; border-radius: 28px; background: var(--navy); color: var(--white); text-decoration: none; }
.zero-os a:hover { opacity: 1; }
.zero-os a:hover .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.zero-os b { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; line-height: 1; }
.zero-os span { font-size: 15px; color: var(--navy-sub); }
.zero-os .btn { margin-top: 18px; min-height: 48px; color: var(--white); }
/* site.js marks the card for the visitor's computer. */
.zero-os a[data-yours] .btn { background: var(--ice); color: var(--navy); border-color: var(--ice); }
#zero .links { margin-top: 32px; }
#zero .links a { color: var(--white); }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 24px 20px; border-bottom: 1px solid var(--raised-line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; width: auto; padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
  .compare td { padding: 14px 16px; border-radius: 16px; background: var(--track); font-size: 16px; }
  .compare td + td { margin-top: 8px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; }
  .compare td.zero { background: var(--ice); }
}
.steps { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.steps .n { margin: 0; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 0.8; color: var(--ring); }
.steps h3 { margin: 20px 0 8px; font-size: 22px; }
.steps p { margin: 0; color: var(--ink-sub); }

.band-row { display: flex; flex-wrap: wrap; gap: 28px 32px; align-items: center; justify-content: space-between; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.band-row > div:first-child { flex: 1 1 480px; min-width: 0; }
.band-row p { margin: 16px 0 0; max-width: 34em; font-size: 18px; }
.ink .band-row p { color: var(--ink-sub); }

/* Download */
.tiles { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 196px; padding: 30px 32px; border-radius: 28px; text-decoration: none; }
.tile b { font-family: var(--display); font-weight: 800; font-size: 80px; line-height: 0.82; letter-spacing: -0.045em; }
.tile span { font-weight: 600; font-size: 17px; }
.tile.t5 { background: var(--white); color: var(--text); }
.tile.t5 b, .tile.t4 b { color: var(--navy); }
.tile.t4 { background: var(--ice); color: var(--text); }
.tile.tz { background: var(--ink); color: var(--white); }
.tile.tz b { color: var(--ice); }

.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split > :first-child { flex: 1 1 380px; min-width: 0; }
.split > :last-child { flex: 1.6 1 520px; min-width: 0; }
.giant { color: var(--navy); }
.release-name { margin: 32px 0 0; font-family: var(--display); font-weight: 700; font-size: 28px; }
.release-date { margin: 4px 0 0; }
.needs { margin-top: 44px; padding: 28px 30px; border-radius: 24px; background: var(--paper); }
.ice .needs { background: var(--white); }
.needs h3 { margin: 0; font-size: 18px; }
.needs h3 + ul { margin-top: 12px; }
.needs ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.needs ul + h3 { margin-top: 24px; }

.option { padding: 32px 0 36px; border-top: 1px solid var(--rule); }
.option:first-child { border-top: 2px solid currentColor; }
.ice .option { border-top-color: rgba(22, 33, 58, 0.2); }
.ice .option:first-child { border-top-color: var(--navy); }
.option-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.option h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.option-head span { font-size: 15px; font-weight: 600; }
.option p { margin: 8px 0 0; max-width: 38em; opacity: 0.8; }
.option p.first { margin-top: 12px; font-size: 18px; opacity: 1; }
.file-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.file-row code { font-size: 15px; }
.file-row > a:not(.btn) { font-weight: 600; }
.copy-field { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--paper); }
.copy-field code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }

.zero-top { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; justify-content: space-between; }
.zero-top > div:first-child { flex: 1 1 520px; min-width: 0; }
.zero-top .giant { color: var(--ice); }
.zero-top p.about { margin: 8px 0 0; max-width: 34em; color: var(--ink-sub); font-size: 18px; }
.pick { flex: 0 1 440px; min-width: 0; padding: 28px; border-radius: 28px; background: var(--navy); }
.pick p { margin: 0; font-size: 15px; color: var(--navy-sub); }
.pick .btn { margin: 16px 0 12px; width: 100%; }
.os-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.os { background: var(--raised); border: 1px solid var(--raised-line); border-radius: 24px; padding: 28px 28px 14px; }
.os[data-recommended] { border-color: var(--ice); }
.os h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.os p { margin: 4px 0 16px; font-size: 14px; color: var(--ink-sub); }
.os a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--raised-line); text-decoration: none; }
.os a span:last-child { color: var(--ink-sub); white-space: nowrap; }
.ink .links { margin-top: 32px; }

.commands { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.command { background: var(--white); border-radius: 22px; padding: 24px; }
.command h3 { margin: 0 0 12px; font-size: 16px; }
.command pre { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ic { font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--paper); overflow-wrap: anywhere; }
.paper .ic { background: var(--white); }
.two { margin-top: 72px; padding-top: 40px; border-top: 2px solid var(--text); display: flex; flex-wrap: wrap; gap: 32px 72px; }
.two > div { flex: 1 1 360px; min-width: 0; }
.two h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; }
.two p { margin: 8px 0 0; color: var(--sub); }

/* Guides */
.start { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.start a { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; padding: 36px; border-radius: 32px; text-decoration: none; }
.start a:nth-child(3n+1) { background: var(--navy); color: var(--white); }
.start a:nth-child(3n+2) { background: var(--ice); color: var(--text); }
.start a:nth-child(3n) { background: var(--ink); color: var(--white); }
.start b { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.2vw, 44px); line-height: 0.98; letter-spacing: -0.035em; }
.start span { font-size: 17px; opacity: 0.85; }
.group { display: flex; flex-wrap: wrap; gap: 8px 64px; padding: 40px 0 16px; border-top: 2px solid var(--text); }
.group > div:first-child { flex: 0 1 320px; min-width: 0; }
.group h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.group p { margin: 8px 0 0; color: var(--sub); }
.group ul { flex: 1 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 40px; }
.group li a { display: block; padding: 22px 0 24px; border-top: 1px solid var(--rule); text-decoration: none; }
.group li b { display: block; font-size: 20px; }
.group li span { display: block; margin-top: 4px; color: var(--sub); }

.hero h1.title { margin: 18px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.045em; max-width: 12em; }
.hero p.intro { margin: 24px 0 0; max-width: 40em; font-size: 20px; color: var(--navy-sub); }
.meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 15px; }
.meta .pill { padding: 7px 14px; border-radius: 999px; background: var(--chip); font-weight: 600; }
.meta .soft { color: var(--navy-sub); }
.meta a { font-weight: 600; }

.doc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; padding-top: 64px; padding-bottom: var(--section); }
.doc-nav { flex: 0 0 248px; font-size: 15px; line-height: 1.35; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; }
.doc-nav h2 { margin: 22px 0 6px 12px; font-size: 13px; font-weight: 700; color: var(--sub); }
.doc-nav h2:first-child { margin-top: 0; }
.doc-nav ul { margin: 0; padding: 0; list-style: none; }
.doc-nav a { display: block; padding: 7px 12px; border-radius: 10px; text-decoration: none; }
.doc-nav a[aria-current="page"] { background: var(--ice); font-weight: 700; }
.toc { flex: 0 0 210px; font-size: 14px; position: sticky; top: 24px; }
.toc h2 { margin: 0 0 12px; font-size: 14px; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 3px solid var(--rule); color: var(--sub); text-decoration: none; }
.toc a:hover { border-left-color: var(--navy); color: var(--text); opacity: 1; }
.doc { flex: 1 1 560px; min-width: 0; max-width: 760px; }
@media (max-width: 1180px) { .toc { display: none; } }
@media (max-width: 860px) {
  .doc-nav { position: static; max-height: none; flex: 1 1 100%; order: 2; }
  .doc-layout { padding-top: 40px; }
}

.prose { font-size: 18px; line-height: 1.65; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin: 64px 0 16px; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -0.01em; margin: 40px 0 12px; }
.prose h4 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose a { text-underline-offset: 3px; }
.prose code { font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: var(--paper); overflow-wrap: anywhere; }
.prose pre { margin: 0 0 22px; padding: 18px 22px; border-radius: 16px; background: var(--ink); color: var(--white); overflow-x: auto; font-size: 15px; line-height: 1.5; }
.prose pre code { padding: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose blockquote { margin: 0 0 22px; padding: 22px 26px; border-radius: 22px; background: var(--ice); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose .table { margin: 8px 0 28px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th { text-align: left; background: var(--paper); padding: 12px 14px; font-weight: 600; vertical-align: bottom; }
.prose td { padding: 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose img { border-radius: 14px; }
.doc-foot { margin-top: 56px; padding-top: 24px; border-top: 2px solid var(--text); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.doc-foot a { font-weight: 600; }
.next { margin-top: 32px; display: block; padding: 28px 32px; border-radius: 28px; background: var(--navy); color: var(--white); text-decoration: none; }
.next span { display: block; font-size: 15px; color: var(--navy-sub); }
.next b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }

/* FAQ */
.faq-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.topics { flex: 0 1 300px; min-width: 0; font-size: 17px; position: sticky; top: 24px; }
.topics a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.topics a span:last-child { color: var(--sub); }
.questions { flex: 1 1 600px; min-width: 0; max-width: 840px; }
.questions > section + section { margin-top: 72px; }
.questions h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1; }
.faq { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.015em; line-height: 1.2; }
.pm { flex: 0 0 40px; height: 40px; border-radius: 999px; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.faq[open] .pm-v { display: none; }
.faq .answer { padding: 0 64px 28px 0; font-size: 18px; line-height: 1.6; color: var(--sub); max-width: 40em; }
.faq .answer > :first-child { margin-top: 0; }
.faq .answer > :last-child { margin-bottom: 0; }
@media (max-width: 700px) { .faq .answer { padding-right: 0; } .topics { position: static; } }

/* Release notes */
.entry { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0 64px; border-top: 2px solid var(--text); }
.entry > div:first-child { flex: 0 1 280px; min-width: 0; }
.entry .day { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.entry .year { margin: 4px 0 14px; color: var(--sub); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tags span:last-child:not(.chip) { font-size: 14px; font-weight: 600; color: var(--sub); }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.chip.ps5 { background: var(--navy); color: var(--white); }
.chip.ps4 { background: var(--ice); color: var(--text); }
.entry > div:last-child { flex: 1 1 600px; min-width: 0; max-width: 820px; }
.entry h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.04em; line-height: 0.98; }
.entry h2 a { text-decoration: none; }
.entry .lead { margin-top: 16px; font-size: 24px; }
.entry ul { margin: 24px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.55; }
.entry .buttons { margin-top: 32px; align-items: center; gap: 12px 24px; }
.entry .buttons a:not(.btn) { font-weight: 600; }
.earlier { padding-top: 40px; border-top: 2px solid var(--text); }
.earlier h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; }
.earlier ul { margin: 0; padding: 0; list-style: none; }
.earlier a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.earlier .when { flex: 0 0 200px; color: var(--sub); }
.earlier .which { flex: 0 0 56px; }
.earlier .what { flex: 1 1 420px; min-width: 0; }
.earlier .what b { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; }
.earlier .what span { display: block; margin-top: 4px; color: var(--sub); }
.earlier .go { font-weight: 600; }

/* Not found */
.lost { position: relative; display: inline-block; }
.lost .mega { font-size: clamp(140px, 24vw, 340px); }
.hero h1.oops { margin: 56px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1; }
.hero p.oops { margin: 16px 0 0; max-width: 34em; font-size: 19px; color: var(--navy-sub); }

@media (max-width: 720px) {
  .start a { min-height: 0; gap: 28px; padding: 28px; }
  .feature.wide { grid-column: auto; }
  .console-card { min-height: 0; }
  .bar span:first-child { flex-basis: 84px; }
  .earlier .when { flex-basis: auto; }
}

@media (max-width: 520px) {
  .header-row { padding-top: 16px; padding-bottom: 16px; }
  .site-header nav ul { gap: 6px 16px; font-size: 14px; }
  .site-header .btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
}
