/* Fonts, served from the site itself (no third party sees the visitors):
   the latin and latin-ext subsets of Google Fonts' files, SIL OFL 1.1
   (assets/fonts/LICENSE.txt). */
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0f1c;
  --bg-2: #0f1628;
  --panel: #131c33;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --muted: #93a0bb;
  --accent: #ffb547;
  --accent-2: #4fd1ff;
  --radius: 18px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
p { margin: 0 0 1rem; }

.eyebrow {
  font: 600 0.78rem/1 var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.grad {
  background: linear-gradient(90deg, var(--accent), #ff7a59 50%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #1a1206;
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 8px 30px -8px rgba(255, 181, 71, 0.6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(255, 181, 71, 0.8); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-big { padding: 1.1rem 2rem; font-size: 1.1rem; }
.btn small { font-weight: 500; opacity: 0.7; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(16px, 4vw, 48px);
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 15, 28, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.65rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 700 1.15rem/1 var(--display); letter-spacing: 0.14em; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.75rem; border-radius: 999px;
  list-style: none; cursor: pointer;
  font: 600 0.8rem/1 var(--font); letter-spacing: 0.04em; color: var(--muted);
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: color 0.2s, background 0.2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 0.4rem; height: 0.4rem; margin-left: 0.1rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.lang-menu[open] summary::after { transform: translateY(1px) rotate(225deg); }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.12); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 180px; max-height: min(60vh, 420px); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  border-radius: 12px; background: rgba(15, 22, 40, 0.97);
  backdrop-filter: blur(14px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
}
.lang-menu a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; text-decoration: none; font-size: 0.92rem; color: var(--muted); }
.lang-menu a:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.lang-menu a[aria-current] { color: var(--text); background: rgba(255, 181, 71, 0.12); }
.lang-menu a[aria-current]::after { content: "✓"; float: right; color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: 0 clamp(16px, 5vw, 64px) clamp(4rem, 12vh, 8rem);
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.55) 0%, rgba(10, 15, 28, 0) 28%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 15, 28, 0.6) 35%, rgba(10, 15, 28, 0) 70%),
    linear-gradient(90deg, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0) 60%);
}
.hero-content { position: relative; max-width: 860px; animation: rise 1s 0.2s both cubic-bezier(.2, .7, .2, 1); }
.wordmark {
  font: 700 clamp(3rem, 9.4vw, 7.6rem)/0.9 var(--display);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem -0.04em;
  background: linear-gradient(180deg, #fff 30%, #c9d6ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 40px rgba(0, 0, 0, 0.45));
}
.tagline { font: 600 clamp(1.6rem, 3.6vw, 2.6rem)/1.15 var(--display); letter-spacing: -0.01em; margin-bottom: 1.4rem; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3dbea; max-width: 600px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* On a touch screen the mouse wheel means nothing: a chevron nudging down instead */
@media (hover: none) and (pointer: coarse) {
  .scroll-hint { width: 44px; height: 44px; border: 0; border-radius: 0; }
  .scroll-hint span { top: 10px; width: 16px; height: 16px; margin-left: -8px; border-radius: 0; background: none; border: solid rgba(255, 255, 255, 0.85); border-width: 0 3px 3px 0; transform: rotate(45deg); animation: nudge 1.8s infinite; }
}
@keyframes nudge { 0%, 100% { opacity: 0.4; transform: translateY(0) rotate(45deg); } 50% { opacity: 1; transform: translateY(8px) rotate(45deg); } }

/* Stats */
.stats {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
}
.stat { padding: clamp(2.2rem, 4vw, 3.2rem) 1.2rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 700 clamp(2rem, 2.9vw, 2.8rem)/1.1 var(--display); color: var(--text); margin-bottom: 0.6rem; white-space: nowrap; }
.stat > span { color: var(--muted); font-size: 1rem; line-height: 1.45; display: block; max-width: 220px; margin: 0 auto; }

/* Footnote on a stat: hover, keyboard focus or a tap opens it */
.note { position: relative; display: inline-block; }
.note-ref {
  margin-left: 2px; padding: 0 3px; border: 0; background: none; cursor: help;
  font: 700 1.05em/1 var(--font); color: var(--accent); vertical-align: super;
}
.note-ref:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.note-pop {
  position: absolute; left: 50%; top: calc(100% + 10px); z-index: 30;
  width: min(320px, 80vw); padding: 0.9rem 1rem;
  border-radius: 12px; background: #16203a; color: var(--text);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 181, 71, 0.3);
  font-size: 0.85rem; line-height: 1.5; text-align: left;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.note-pop::after { content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -7px; border: 7px solid transparent; border-bottom-color: #16203a; }
.note:hover .note-pop, .note:focus-within .note-pop, .note.open .note-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Sections */
section { position: relative; }
.features, .gallery, .more, .roadmap { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vw, 9rem) clamp(16px, 4vw, 32px) 0; }
.more { padding-top: clamp(2rem, 5vw, 4rem); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.sub { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(5rem, 10vw, 8rem);
}
.feature-flip .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  background: var(--panel);
}
.kicker { font: 600 0.85rem/1 var(--mono); color: var(--accent-2); margin-bottom: 1rem; letter-spacing: 0.04em; }
.feature-text p { color: #c3cbdc; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.8rem; color: var(--text); font-size: 0.97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(79, 209, 255, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%234fd1ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* The game's CDU window - its 2026-10-20 look (doc 562's direction A, branch
   cdu-look): what the game draws - entered values cyan, computed ones green,
   an offer small green, an empty mandatory field one amber box per character.
   Sizes are the mockup's pixels over a 16 px em, scaled with the page */
.cdu {
  --cdu-label: #8E9AAB; --cdu-value: #33FF4D; --cdu-offered: rgba(51, 255, 77, 0.62); --cdu-link: #E6EBF2; --cdu-entered: #4FD1E8; --cdu-empty: #F2A400; --cdu-lit: #66CCFF; --cdu-text: #E6EBF2; --cdu-rule: #2A3442;
  max-width: 30em; margin: 0 auto;
  font: 400 clamp(14px, 1.25vw, 17px)/1 "IBM Plex Mono", var(--mono);
  display: flex; flex-direction: column; gap: 0.3125em;
  padding: 0.3125em;
  background: #10151D; border: 1px solid var(--cdu-rule); border-radius: 0.5625em;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--cdu-text);
}
.cdu-screen {
  display: flex; flex-direction: column;
  padding: 0.5em 1.125em 0;
  background: #05080C; border: 1px solid #1B2330; border-radius: 0.375em;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}
.cdu-title { height: 1.375em; display: flex; align-items: center; justify-content: center; font-size: 0.8125em; font-weight: 500; letter-spacing: 0.1em; }
.cdu-rows { display: flex; flex-direction: column; gap: 0.25em; padding-bottom: 0.75em; }
.cdu-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5em; }
.cdu-cell { position: relative; display: flex; flex-direction: column; height: 2.875em; padding: 0 0.25em; border-radius: 0.25em; }
.cdu-cell.right { align-items: flex-end; }
.lsk { position: absolute; top: 2em; width: 0.4375em; height: 2px; background: #3A4656; }
.lsk.l { left: -1em; }
.lsk.r { right: -1em; }
.cdu-lbl { height: 1.4em; font-size: 0.71875em; letter-spacing: 0.06em; color: var(--cdu-label); line-height: 1.4; }
.cdu-val { height: 1.5556em; line-height: 1.5556; font-size: 1.125em; }
.cdu-val.entered { color: var(--cdu-entered); }
.cdu-val.link { color: var(--cdu-link); }
.cdu-val.boxes { display: flex; align-items: center; gap: 0.08em; }
.cdu-val.boxes i { width: 0.6em; height: 0.85em; border: 0.09em solid var(--cdu-empty); box-sizing: border-box; }
.cdu-val.offered { font-size: 0.875em; height: 2em; line-height: 2.1; color: var(--cdu-offered); }
.cdu-scratch {
  display: flex; align-items: center; gap: 0.5em;
  height: 2.5em; margin: 0 -1.125em; padding: 0 1.125em;
  border-top: 1px solid #1B2330; background: #070B10; border-radius: 0 0 0.375em 0.375em;
  font-size: 1em;
}
.cdu-scratch span { font-size: 1.125em; letter-spacing: 0.02em; color: #fff; }
.cdu-keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)); gap: 3px; }
.cdu-keys span {
  height: 1.5em; display: flex; align-items: center; justify-content: center;
  background: #161D27; border: 1px solid var(--cdu-rule); border-radius: 0.25em;
  font-size: 0.625em; height: 2.4em; font-weight: 500; letter-spacing: 0.04em; color: #C9D2DE;
}
.cdu-keys span { white-space: nowrap; }
.cdu-keys span.on { color: var(--cdu-lit); border-color: var(--cdu-lit); box-shadow: 0 0 0 1px var(--cdu-lit); }

/* Radio mock */
.radio {
  display: grid; gap: 0.9rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 0% 0%, #1a2747, var(--panel));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}
.msg { max-width: 88%; padding: 0.8rem 1rem; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; }
.msg b { display: block; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; opacity: 0.75; }
.msg.atc { background: rgba(79, 209, 255, 0.1); border: 1px solid rgba(79, 209, 255, 0.22); border-bottom-left-radius: 4px; }
.msg.you { justify-self: end; background: rgba(255, 181, 71, 0.12); border: 1px solid rgba(255, 181, 71, 0.25); border-bottom-right-radius: 4px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.msg-gap { text-align: center; color: var(--muted); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; }
.msg-gap span { color: rgba(255, 255, 255, 0.3); margin: 0 0.4rem; }
.callout { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: rgba(79, 209, 255, 0.07); border: 1px solid rgba(79, 209, 255, 0.22); }
.callout h4 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.callout p { margin: 0; font-size: 0.97rem; }
.radio-note { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Unexpected events */
.incidents { display: grid; gap: 14px; }
.incident {
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
}
.incident-tag { display: inline-block; padding: 0.3rem 0.6rem; border-radius: 6px; font: 700 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.incident-tag.warn { background: rgba(255, 181, 71, 0.15); color: var(--accent); }
.incident-tag.alert { background: rgba(255, 77, 77, 0.15); color: #ff6b6b; }
.incident-tag.info { background: rgba(79, 209, 255, 0.12); color: var(--accent-2); }
.incident-call { font: 600 1.25rem/1.25 var(--display); margin: 0.7rem 0 0.35rem; }
.incident-why { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Career */
.career { margin-top: clamp(2rem, 5vw, 4rem); padding: clamp(5rem, 11vw, 8rem) clamp(16px, 4vw, 32px); background: linear-gradient(180deg, var(--bg), #0e1a33 30%, #0e1a33 70%, var(--bg)); }
.career-inner { max-width: var(--max); margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.steps li + li::before { content: ""; position: absolute; left: -1.2rem; top: 2.6rem; width: 1.2rem; height: 2px; background: linear-gradient(90deg, transparent, var(--accent)); }
.step-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; margin-bottom: 1rem; background: var(--accent); color: #1a1206; font: 700 1.1rem/1 var(--display); }
.steps h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.promise {
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(120deg, rgba(255, 181, 71, 0.14), rgba(79, 209, 255, 0.08));
  border: 1px solid rgba(255, 181, 71, 0.3);
}
.promise-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; background: rgba(255, 181, 71, 0.15); color: var(--accent); }
.promise-icon svg { width: 54px; height: 54px; }
.promise h3 { margin-bottom: 0.5rem; }
.promise p { color: #c3cbdc; margin: 0; max-width: 680px; }
.school { margin-top: 1.6rem; text-align: center; color: var(--muted); }
.school p { max-width: 720px; margin: 0 auto; }
.school strong { color: var(--text); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 181, 71, 0.35); }
.card-ico { font-size: 1.6rem; display: block; margin-bottom: 0.9rem; }
.card h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tile {
  position: relative; overflow: hidden;
  padding: 0; border: 0; cursor: pointer;
  border-radius: 14px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.tile-wide { grid-column: span 2; grid-row: span 2; }
.tile-long { grid-column: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img, .tile:hover video { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 16, 0.85), rgba(5, 8, 16, 0) 55%); }
.tile-cap { position: absolute; z-index: 1; left: 1rem; bottom: 0.9rem; color: #fff; font-size: 0.95rem; text-align: left; }
.tile-cap b { font: 700 0.75rem/1 var(--mono); color: var(--accent); margin-right: 0.5rem; letter-spacing: 0.08em; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.road-item { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.18); }
.road-tag { display: inline-block; margin-bottom: 0.9rem; padding: 0.28rem 0.55rem; border-radius: 6px; background: rgba(79, 209, 255, 0.12); color: var(--accent-2); font: 700 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.road-item h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.road-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Platforms */
.platforms { padding: clamp(6rem, 13vw, 10rem) clamp(16px, 4vw, 32px); margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.platforms::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/img/rjtt-34l-takeoff-sunset.jpg") center / cover;
  opacity: 0.22; filter: saturate(1.2) blur(2px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.platforms-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
[data-steam][aria-disabled="true"] { cursor: default; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2.6rem clamp(16px, 4vw, 48px) 3rem; color: var(--muted); font-size: 0.9rem; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 1rem/1 var(--display); letter-spacing: 0.14em; color: var(--text); margin-bottom: 1rem; }
.footer p { margin: 0.3rem auto; max-width: 720px; }
.credits { font-size: 0.8rem; opacity: 0.8; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 5, 10, 0.92);
  backdrop-filter: blur(10px);
  animation: fade 0.25s both;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; width: min(1280px, 100%); }
.lightbox video { width: 100%; border-radius: 12px; background: #000; box-shadow: 0 40px 120px -20px #000; }
.lightbox figcaption { margin-top: 1rem; color: var(--muted); text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
@keyframes fade { from { opacity: 0; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang-menu { margin-left: auto; }
  .nav { gap: 0.8rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: repeat(2, 1fr); }
  .steps li + li::before { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-media { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { gap: 0.45rem; font-size: 1rem; letter-spacing: 0.08em; }
  .brand img { width: 28px; height: 28px; }
  .nav { gap: 0.5rem; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tile-wide, .tile-long { grid-column: auto; grid-row: auto; }
  .stat { padding: 1.6rem 0.8rem; }
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(even) { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Legal notice */
.nav-spacer { margin-left: auto; }
.footer-links { margin-top: 0.8rem !important; font-size: 0.85rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.legal { max-width: 760px; margin: 0 auto; padding: 8rem clamp(16px, 4vw, 48px) 4rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.4rem 0 0.8rem; }
.legal p { color: var(--muted); line-height: 1.65; margin: 0 0 0.8rem; }
.legal a { color: var(--text); }
.legal dl { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 0.5rem 1.5rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal .gap { background: rgba(242, 164, 0, 0.25); color: inherit; padding: 0 0.4em; border-radius: 3px; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .legal dd { margin-bottom: 0.7rem; }
}
@media (max-width: 900px) and (min-width: 561px) {
  /* Two columns: the 2-wide tiles would leave holes; let later tiles fill
     them, and the last tile stays one column so the rows come out even. */
  .grid { grid-auto-flow: dense; }
  .grid .tile:last-child { grid-column: auto; }
}
