/* New Blitz 2027: the website. The Blitz '27 house style (docs/design/redesign/tokens.json): a 1999 arcade attract
   screen, remastered. Navy to purple grounds, cyan grid panels with chrome corners, bold italic condensed caps in
   yellow, one hot orange-to-yellow flame. */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-800i.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-700i.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-var.woff2) format("woff2"); }

:root {
  --midnight: #020712;
  --navy: #070F22;
  --deep: #0D1A3A;
  --glass: rgba(6, 17, 43, .965);
  --purple: #3F0A5F;
  --rim: rgba(143, 239, 245, .70);
  --rim-soft: rgba(143, 239, 245, .24);
  --cyan: #8FEFF5;
  --text: #F2F2F2;
  --steel: #B8C4DA;
  --yellow: #F6D400;
  --yellow-hi: #FFE14A;
  --red: #B3101E;
  --red-hi: #E23440;
  --green: #45E04A;
  --signal: #FF6A3D;
  --p1: #3A7BFF; --p2: #FF4D4D; --p3: #2FD36B; --p4: #FFD23F;
  --flame: linear-gradient(90deg, #FF5A00, #FF9A00 45%, #FFD000);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Arial, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--midnight); color: var(--text);
  font: 400 17px/1.6 var(--body); font-feature-settings: "calt", "kern";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--yellow-hi); }
:focus-visible { outline: 3px solid var(--yellow-hi); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
strong { color: #fff; font-weight: 650; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }
code { background: var(--navy); border: 1px solid var(--rim-soft); border-radius: 3px; padding: .08em .35em; color: var(--text); overflow-wrap: anywhere; }
kbd {
  display: inline-block; min-width: 1.7em; padding: .05em .45em; text-align: center; color: #fff; white-space: nowrap;
  background: linear-gradient(#1a2a52, #0d1a3a); border: 1px solid rgba(143, 239, 245, .45); border-bottom-width: 2px; border-radius: 4px;
  font-family: var(--body); font-weight: 650; font-size: .82em;
}
hr { border: 0; height: 4px; background: var(--flame); margin: 48px 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---- Type ------------------------------------------------------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; line-height: .98; color: var(--yellow); margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7vw, 84px); text-shadow: 0 3px 0 rgba(110, 8, 18, .9), 0 0 30px rgba(246, 212, 0, .18); }
h2 { font-size: clamp(34px, 4.6vw, 56px); text-shadow: 0 2px 0 rgba(110, 8, 18, .85); }
h3 { font-size: clamp(25px, 2.6vw, 31px); letter-spacing: .03em; }
h4 { font-size: 22px; letter-spacing: .04em; color: #fff; }
.eyebrow {
  display: inline-block; font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--steel); max-width: 62ch; }
.muted { color: var(--steel); }
.small { font-size: 14px; }
.rule-flame { height: 4px; background: var(--flame); }
.section-head { margin-bottom: 36px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head h2::after {
  content: ""; display: block; width: 120px; height: 4px; margin-top: 16px; background: var(--flame); transform: skewX(-20deg);
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* ---- Buttons ----------------------------------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 4px; text-decoration: none; cursor: pointer;
  font: italic 800 23px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--yellow); background: var(--deep); border: 2px solid var(--yellow);
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover, .btn:focus-visible { background: var(--red); border-color: var(--yellow-hi); color: var(--yellow-hi); outline: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-hot { background: var(--red); border: 3px solid var(--yellow-hi); color: var(--yellow-hi); box-shadow: 0 6px 24px rgba(179, 16, 30, .35); }
.btn-hot:hover, .btn-hot:focus-visible { background: var(--red-hi); color: #fff; }
.btn-ghost { color: #fff; border-color: var(--rim-soft); background: rgba(13, 26, 58, .7); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--yellow-hi); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }

/* ---- Panels: the grid panel (one 9-slice with the grid in its middle) and chrome corners ------------------------ */
.panel {
  position: relative; border: 16px solid transparent; border-image: url(/assets/img/ui/panel.png) 32 fill / 16px round;
  padding: 10px 10px 6px;
}
.panel.p1 { border-image-source: url(/assets/img/ui/panel_p1.png); }
.panel.p2 { border-image-source: url(/assets/img/ui/panel_p2.png); }
.panel.p3 { border-image-source: url(/assets/img/ui/panel_p3.png); }
.panel.p4 { border-image-source: url(/assets/img/ui/panel_p4.png); }
.panel.hot { border-image-source: url(/assets/img/ui/panel_hot.png); }
.chrome::before {
  content: ""; position: absolute; inset: -21px; pointer-events: none; z-index: 2;
  background:
    url(/assets/img/ui/chrome_corner_tl@2x.png) left top / 20px no-repeat,
    url(/assets/img/ui/chrome_corner_tr@2x.png) right top / 20px no-repeat,
    url(/assets/img/ui/chrome_corner_bl@2x.png) left bottom / 20px no-repeat,
    url(/assets/img/ui/chrome_corner_br@2x.png) right bottom / 20px no-repeat;
}
.frame-chrome { position: relative; }
.frame-chrome::before {
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 2;
  background:
    url(/assets/img/ui/chrome_corner_tl@2x.png) left top / 22px no-repeat,
    url(/assets/img/ui/chrome_corner_tr@2x.png) right top / 22px no-repeat,
    url(/assets/img/ui/chrome_corner_bl@2x.png) left bottom / 22px no-repeat,
    url(/assets/img/ui/chrome_corner_br@2x.png) right bottom / 22px no-repeat;
}
.bevel {
  position: relative; display: inline-block; border-style: solid; border-color: transparent; border-width: 20px 24px;
  border-image: url(/assets/img/ui/header_bevel@2x.png) 40 48 fill / 20px 24px; padding: 0 6px;
}
.panel > :last-child, .card > :last-child { margin-bottom: 0; }

/* ---- Header ----------------------------------------------------------------------------------------------------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: var(--yellow-hi); font-weight: 700; border-radius: 4px; }
.skip:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(2, 7, 18, .88);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  border-bottom: 1px solid var(--rim-soft);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--flame); opacity: .85; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font: italic 800 25px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.brand-year { color: var(--yellow); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li + li { margin: 0; }
.site-nav a {
  display: block; padding: 8px 12px; text-decoration: none; color: var(--steel); border-radius: 3px;
  font: italic 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.site-nav a:hover { color: #fff; background: rgba(143, 239, 245, .08); }
.site-nav a[aria-current="page"] { color: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.header-cta { flex: none; }
@media (max-width: 1080px) {
  .header-row { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .header-cta { margin-left: auto; margin-right: 14px; }
  .site-nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin: 6px calc(-1 * var(--gutter)) 0; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 0 40px 4px var(--gutter); }
  .site-nav a { padding: 10px 11px 12px; font-size: 19px; }
}
@media (max-width: 520px) {
  .header-row { gap: 0 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .header-cta { min-height: 36px; padding: 0 12px; font-size: 18px; margin-right: 12px; }
}
@media (max-width: 350px) { .brand-name { font-size: 19px; } .header-cta { padding: 0 9px; font-size: 16px; } }

/* ---- Hero ------------------------------------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(40px, 7vw, 84px) 0 clamp(150px, 16vw, 210px);
  background: var(--midnight) url(/assets/img/bg_title-1920.webp) center bottom / cover no-repeat;
}
@media (max-width: 700px) { .hero { background-image: url(/assets/img/bg_title-1000.webp); background-position: 70% bottom; } }
.hero::before { /* the floor grid in perspective, under the title's own */
  content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; height: 46%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(143, 239, 245, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 239, 245, .16) 1px, transparent 1px);
  background-size: 64px 40px; transform: perspective(380px) rotateX(58deg); transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); opacity: .55;
}
.hero-scan { /* the one moving thing: a light sweeping toward you across the floor */
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; pointer-events: none; overflow: hidden;
}
.hero-scan::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(143, 239, 245, .0) 10%, rgba(143, 239, 245, .85) 50%, rgba(143, 239, 245, 0) 90%, transparent);
  box-shadow: 0 0 18px 4px rgba(143, 239, 245, .35); opacity: 0;
  animation: scan 6.5s cubic-bezier(.55, 0, .9, .4) 1.2s infinite;
}
@keyframes scan {
  0% { transform: translateY(0) scaleX(.6); opacity: 0; }
  8% { opacity: .9; }
  55% { transform: translateY(var(--scan-depth, 260px)) scaleX(1.2); opacity: 0; }
  100% { transform: translateY(var(--scan-depth, 260px)) scaleX(1.2); opacity: 0; }
}
.hero-logo { width: min(820px, 94%); margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); animation: logo-in .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.hero-title { margin: 0; line-height: 0; }
.hero-tag {
  font: italic 800 clamp(34px, 6vw, 72px)/.98 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--yellow);
  text-shadow: 0 3px 0 rgba(110, 8, 18, .95), 0 0 34px rgba(246, 212, 0, .2); margin: clamp(10px, 2vw, 20px) auto 14px; max-width: 21ch; text-wrap: balance;
}
.hero .hero-free {
  font: 700 clamp(14px, 1.6vw, 16px)/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 30px;
}
.hero .hero-free b { color: #fff; font-weight: 700; }
.hero .btn-row { justify-content: center; }
.hero-note { margin: 22px auto 0; font-size: 14px; color: var(--steel); }

/* ---- Sections --------------------------------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.band {
  background:
    linear-gradient(180deg, var(--midnight), rgba(2, 7, 18, 0) 18%, rgba(2, 7, 18, 0) 82%, var(--midnight)),
    url(/assets/img/swoosh-1600.webp) center / cover no-repeat, #050b1c;
}
.band-grid {
  background:
    linear-gradient(180deg, var(--midnight), rgba(2, 7, 18, .4) 20%, rgba(2, 7, 18, .4) 80%, var(--midnight)),
    linear-gradient(rgba(47, 179, 179, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(47, 179, 179, .07) 1px, transparent 1px) 0 0 / 32px 32px, #050b1c;
}
.page-hero {
  position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(2, 7, 18, .2), var(--midnight)), url(/assets/img/swoosh-1600.webp) 70% 30% / cover no-repeat, #050b1c;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flame); opacity: .9; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }

/* ---- Trailer ---------------------------------------------------------------------------------------------------- */
.trailer-wrap { max-width: 980px; margin: 0 auto; }
.trailer { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; border-radius: 2px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 2px var(--rim-soft); }
.trailer img, .trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.trailer-play { display: block; position: absolute; inset: 0; }
.play-button {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: var(--red); border: 4px solid var(--yellow-hi); box-shadow: 0 10px 40px rgba(0, 0, 0, .6); transition: transform .2s;
}
.play-button::after { content: ""; position: absolute; left: 36px; top: 26px; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent var(--yellow-hi); }
.trailer-play:hover .play-button, .trailer-play:focus-visible .play-button { transform: scale(1.08); }
.trailer.is-soon img { filter: saturate(1.05) brightness(.8); }
.trailer-soon {
  position: absolute; right: 5%; top: 24%; bottom: 22%; width: 42%; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
}
.trailer-soon .eyebrow { margin: 0; }
.trailer-soon-title { font: italic 800 clamp(26px, 4.5vw, 52px)/1 var(--display); text-transform: uppercase; color: var(--yellow); text-shadow: 0 2px 0 #6e0812; }
.trailer-soon a { font-size: clamp(12px, 1.5vw, 15px); }
.trailer-note { margin: 14px 0 0; font-size: 13px; color: var(--steel); text-align: center; }

.stat-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; padding: 0; margin: 34px 0 0; }
.stat-strip li { margin: 0; color: var(--steel); font-size: 15px; }
.stat-strip b { font: italic 800 24px/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .03em; margin-right: 4px; }
.center-link { text-align: center; margin: 40px 0 0; }
.center-text { margin-left: auto; margin-right: auto; }

/* ---- Runs on ----------------------------------------------------------------------------------------------------- */
.devices { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.devices li { margin: 0; }
.device {
  height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 8px 14px;
  background: linear-gradient(180deg, rgba(13, 26, 58, .9), rgba(7, 15, 34, .9)); border: 2px solid var(--rim-soft); border-radius: 4px;
  transition: border-color .2s, transform .2s;
}
a.device { text-decoration: none; color: inherit; }
a.device:hover { border-color: var(--rim); transform: translateY(-2px); }
.device svg { width: 44px; height: 44px; color: var(--cyan); }
.device-name { font: italic 800 21px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.tag {
  display: inline-block; padding: 3px 7px 2px; border-radius: 3px; font: 700 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--rim-soft); color: var(--steel);
}
.tag.ok { color: var(--green); border-color: rgba(69, 224, 74, .45); }
.tag.pre { color: var(--yellow); border-color: rgba(246, 212, 0, .45); }
.tag.beta { color: var(--signal); border-color: rgba(255, 106, 61, .5); }
@media (max-width: 1080px) { .devices { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .devices { grid-template-columns: repeat(2, 1fr); } }

/* ---- Steps ------------------------------------------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { margin: 0; }
.step { height: 100%; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 14px;
  font: italic 800 38px/1 var(--display); color: var(--midnight); background: var(--yellow); transform: skewX(-10deg);
  box-shadow: 4px 4px 0 var(--red);
}
.step-num span { transform: skewX(10deg); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--steel); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Features ---------------------------------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 110px); }
.feature.flip > :first-child { order: 2; }
.feature-icon { width: 64px; height: 64px; margin-bottom: 10px; }
.feature p { color: var(--steel); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 12px; height: 8px; background: var(--flame); transform: skewX(-20deg); }
.ticks li + li { margin-top: .5em; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
}

/* The centerpiece: four player cards */
.players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.player-card { text-align: left; }
.player-card h3 { font-size: 26px; margin-bottom: 6px; color: #fff; }
.player-card p { color: var(--steel); font-size: 15.5px; margin: 0; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 8px; margin-bottom: 12px;
  border-radius: 4px; font: italic 800 23px/1 var(--display); color: var(--midnight);
}
.chip.p1 { background: var(--p1); } .chip.p2 { background: var(--p2); } .chip.p3 { background: var(--p3); } .chip.p4 { background: var(--p4); }
@media (max-width: 1000px) { .players { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .players { grid-template-columns: 1fr; } }
.centerpiece { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 900px) { .centerpiece { grid-template-columns: 1fr; } }

/* Cards (a grid of smaller features) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.layout-side .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.layout-side .cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { height: 100%; }
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p { color: var(--steel); font-size: 16px; }
.card .shot { margin: 16px 0 0; }
.card-icon { width: 48px; height: 48px; float: right; margin: -4px -4px 6px 12px; }

/* ---- Screenshot slots -------------------------------------------------------------------------------------------- */
.shot { margin: 0; }
.shot-frame { position: relative; display: block; overflow: hidden; background: var(--navy); border-radius: 2px; box-shadow: 0 0 0 2px var(--rim-soft), 0 24px 60px rgba(0, 0, 0, .45); }
.shot-frame img { width: 100%; height: auto; }
a.shot-frame:hover { box-shadow: 0 0 0 2px var(--rim), 0 24px 60px rgba(0, 0, 0, .45); }
.shot-frame.is-empty { aspect-ratio: 16 / 9; }
.shot-frame.is-empty img { height: 100%; object-fit: cover; }
.shot-slot { /* the template's empty 4:3 slot: x 658-1218, y 152-572 of 1280 x 720 */
  position: absolute; left: 51.4%; top: 21.1%; width: 43.75%; height: 58.3%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 6%;
  background: repeating-linear-gradient(-45deg, rgba(143, 239, 245, .03) 0 10px, transparent 10px 20px);
}
.shot-tag { font: 700 clamp(9px, 1vw, 11px)/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.shot-label { font: italic 800 clamp(14px, 1.9vw, 22px)/1.05 var(--display); text-transform: uppercase; color: var(--yellow); letter-spacing: .02em; }
.card .shot-label, .gallery .shot-label { font-size: clamp(13px, 1.4vw, 17px); }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--steel); }
.prose > .shot, .block > .shot { max-width: 640px; margin-top: 8px; }
.layout-side .prose .cards.two, .prose .cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-bottom: 1.2em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.gallery-empty { color: var(--steel); }

/* ---- Content pages ---------------------------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; color: #fff; }
.prose li { color: var(--text); }
.layout-side { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.layout-side > div:first-child > h2 { font-size: clamp(30px, 3.2vw, 42px); }
.toc { position: sticky; top: 100px; font-size: 15px; }
.toc h2 { font-size: 22px; color: var(--cyan); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rim-soft); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--steel); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: #fff; border-left-color: var(--yellow); }
@media (max-width: 900px) {
  .layout-side { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { border: 1px solid var(--rim-soft); border-radius: 3px; padding: 5px 10px; margin: 0; }
}
.block + .block { margin-top: clamp(56px, 8vw, 88px); }
.block > h2 { scroll-margin-top: 100px; }
.callout {
  position: relative; padding: 18px 20px 18px 22px; margin: 0 0 1.2em; background: rgba(13, 26, 58, .65);
  border-left: 4px solid var(--yellow); border-radius: 0 4px 4px 0;
}
.callout.warn { border-left-color: var(--signal); }
.callout.info { border-left-color: var(--cyan); }
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--yellow-hi); }
ol.howto { counter-reset: how; list-style: none; padding: 0; }
ol.howto > li { counter-increment: how; position: relative; padding-left: 52px; min-height: 38px; margin-bottom: 18px; }
ol.howto > li::before {
  content: counter(how); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font: italic 800 24px/1 var(--display); color: var(--midnight); background: var(--yellow); transform: skewX(-10deg);
}
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 2px solid var(--rim-soft); border-radius: 4px; background: rgba(7, 15, 34, .8); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--rim-soft); }
thead th { font: italic 800 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); background: rgba(13, 26, 58, .9); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { color: #fff; font-weight: 650; white-space: nowrap; }
td { color: var(--steel); }

/* ---- Download -------------------------------------------------------------------------------------------------- */
.os-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.os-card { display: flex; flex-direction: column; height: 100%; }
.os-card .os-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.os-card svg { width: 48px; height: 48px; color: var(--cyan); flex: none; }
.os-card h3 { margin: 0; font-size: 34px; color: #fff; }
.os-card .req { color: var(--steel); font-size: 15px; margin-bottom: 18px; }
.os-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .os-cards { grid-template-columns: minmax(0, 1fr); } }
.device-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; list-style: none; padding: 0; }
.device-list li { margin: 0; }
.device-list a { display: flex; gap: 14px; align-items: flex-start; padding: 16px; height: 100%; text-decoration: none; color: var(--steel); border: 2px solid var(--rim-soft); border-radius: 4px; background: rgba(13, 26, 58, .55); font-size: 15px; }
.device-list a:hover { border-color: var(--rim); color: var(--text); }
.device-list svg { width: 36px; height: 36px; color: var(--cyan); flex: none; }
.device-list b { display: block; font: italic 800 21px/1.1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 4px; letter-spacing: .03em; }
pre {
  margin: 0 0 1.2em; padding: 14px 16px; overflow-x: auto; background: var(--navy); border: 1px solid var(--rim-soft); border-radius: 4px;
  font: 14px/1.55 var(--mono); color: var(--text);
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; }

/* ---- Contribute: agent prompts -------------------------------------------------------------------------------------- */
.prompt { padding: 18px 20px 6px; margin: 0 0 24px; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.prompt-head h3 { margin: 0; font-size: clamp(22px, 2.4vw, 26px); color: var(--yellow); }
.prompt pre { max-height: 340px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; }
.copy-btn { flex: none; min-width: 84px; }
.copy-btn.is-copied { color: var(--green); border-color: var(--green); }
.community .card-icon { width: 48px; height: 48px; margin-bottom: 6px; }

/* ---- FAQ -------------------------------------------------------------------------------------------------------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rim-soft); }
.faq details:first-of-type { border-top: 1px solid var(--rim-soft); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0;
  font: italic 800 clamp(22px, 2.6vw, 27px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary { color: var(--yellow); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--yellow-hi); }
.faq .answer { padding: 0 0 22px; color: var(--steel); }
.faq .answer strong { color: #fff; }
.faq h2 { margin-top: 1.4em; font-size: clamp(28px, 3.4vw, 40px); }
.faq h2:first-child { margin-top: 0; }

/* ---- Press ------------------------------------------------------------------------------------------------------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.logo-grid li { margin: 0; }
.logo-tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--steel); border: 2px solid var(--rim-soft); border-radius: 4px; overflow: hidden; background: var(--navy); }
.logo-tile:hover { border-color: var(--rim); }
.logo-tile .art {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: linear-gradient(45deg, #0b1530 25%, transparent 25%, transparent 75%, #0b1530 75%) 0 0 / 20px 20px,
              linear-gradient(45deg, #0b1530 25%, transparent 25%, transparent 75%, #0b1530 75%) 10px 10px / 20px 20px, #08112a;
}
.logo-tile .art img { max-height: 100%; width: auto; object-fit: contain; }
.logo-tile .meta { padding: 12px 14px 14px; font-size: 14px; }
.logo-tile .meta b { display: block; color: #fff; font: italic 800 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
.facts dt { font: italic 800 19px/1.4 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--yellow); }
.facts dd { margin: 0; color: var(--text); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: 10px; } }
.quote-box { font-size: 18px; }

/* ---- Community --------------------------------------------------------------------------------------------------- */
.community { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.community li { margin: 0; }
.community a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px; text-decoration: none; color: var(--steel); font-size: 15px;
  border: 2px solid var(--rim-soft); border-radius: 4px; background: rgba(13, 26, 58, .7); transition: border-color .2s, transform .2s;
}
.community a:hover { border-color: var(--yellow); transform: translateY(-2px); color: var(--text); }
.community svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 6px; }
.community b { font: italic 800 26px/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .03em; }
@media (max-width: 900px) { .community { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .community { grid-template-columns: 1fr; } }

/* ---- CTA band ----------------------------------------------------------------------------------------------------- */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }
.cta h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }

/* ---- Footer ---------------------------------------------------------------------------------------------------- */
.site-footer { background: #01040b; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand img { width: 240px; margin-bottom: 14px; }
.footer-brand p { color: var(--steel); font-size: 14.5px; max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-nav h2 { font-size: 19px; color: var(--cyan); letter-spacing: .08em; margin-bottom: 10px; text-shadow: none; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li + li { margin-top: 6px; }
.footer-nav a { color: var(--steel); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--yellow-hi); text-decoration: underline; }
.footer-notice { padding-bottom: 40px; }
.footer-notice p { border-top: 1px solid var(--rim-soft); padding-top: 22px; margin: 0; font-size: 13px; line-height: 1.6; color: #8c98b0; max-width: 110ch; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 404 ----------------------------------------------------------------------------------------------------------- */
.lost { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.lost .flag { width: 112px; height: 112px; margin: 0 auto 12px; }
.lost .btn-row { justify-content: center; }

/* ---- Motion preferences ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-scan { display: none; }
}
