/* ==========================================================================
   Fonts, self-hosted.

   Inter (variable weight) for everything people read, JetBrains Mono for
   everything the machine says: indices, labels, the console, file sizes.
   Subsets are gated by unicode-range, so an English page fetches the latin
   files and nothing else. Google's CSS is unreachable from mainland China and
   the site has a Chinese locale — served from here, nothing stalls.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  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-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  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;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 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;
}

/* ==========================================================================
   Cuberta — the site.
   Near-black stage, one signal colour (the logo's orange), hairlines, mono
   labels and viewport corner marks: the look of a tool, not of a brochure.
   See DESIGN.md.
   ========================================================================== */

:root {
  --bg: #060708;
  --bg-1: #0a0c0f;
  --bg-2: #0f1216;
  --bg-3: #161a20;

  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);
  --grid: rgba(255, 255, 255, 0.028);

  --fg: #f3f5f7;
  --fg-2: #a9b0ba;
  /* 5.4:1 on --bg, 5.0:1 on --bg-2: the floor for small mono labels. */
  --fg-3: #7c8591;

  --accent: #ff6203;
  --accent-2: #ff8636;
  --accent-ink: #110802;
  --accent-a10: rgba(255, 98, 3, 0.1);
  --accent-a25: rgba(255, 98, 3, 0.25);
  --accent-a50: rgba(255, 98, 3, 0.5);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 64px;
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
}

/* ---------- Reset ---------- */

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

:lang(zh) body {
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

:lang(ja) body {
  font-family: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP",
    sans-serif;
}

img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
figcaption,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--r-1);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-solid {
  fill: currentColor;
  stroke: none;
}

/* ---------- Shared pieces: kicker, titles, corner marks ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.kicker-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.kicker-num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-3);
}

.kicker-center {
  justify-content: center;
}

.section {
  position: relative;
  padding: clamp(80px, 9.5vw, 136px) 0;
}

.section-band {
  background-color: var(--bg-1);
  border-block: 1px solid var(--line);
}

/* Crosshairs where the band's top edge meets the content column. */
.section-band::before,
.section-band::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(var(--line-3), var(--line-3)) center / 9px 1px no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) center / 1px 9px no-repeat;
  pointer-events: none;
}

.section-band::before {
  left: calc(max(var(--gutter), (100% - var(--container)) / 2) - 4px);
}

.section-band::after {
  right: calc(max(var(--gutter), (100% - var(--container)) / 2) - 4px);
}

.section-grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center -1px;
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: end;
}

.section-title {
  margin-top: 22px;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.section-head > .section-lead {
  margin-top: 24px;
}

.section-aside {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}

.text-link:hover {
  color: var(--accent-2);
  gap: 12px;
}

.text-link .icon {
  width: 16px;
  height: 16px;
}

:lang(zh) .section-title,
:lang(ja) .section-title,
:lang(zh) .page-title,
:lang(ja) .page-title,
:lang(zh) .article-title,
:lang(ja) .article-title {
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.hud {
  position: relative;
}

/* Viewport corner marks, the editor's own selection language. */
.hud::before {
  --hc: rgba(255, 98, 3, 0.9);
  --hl: 16px;
  --hw: 1.5px;
  content: "";
  position: absolute;
  inset: -8px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--hc), var(--hc)) left top / var(--hl) var(--hw),
    linear-gradient(var(--hc), var(--hc)) left top / var(--hw) var(--hl),
    linear-gradient(var(--hc), var(--hc)) right top / var(--hl) var(--hw),
    linear-gradient(var(--hc), var(--hc)) right top / var(--hw) var(--hl),
    linear-gradient(var(--hc), var(--hc)) left bottom / var(--hl) var(--hw),
    linear-gradient(var(--hc), var(--hc)) left bottom / var(--hw) var(--hl),
    linear-gradient(var(--hc), var(--hc)) right bottom / var(--hl) var(--hw),
    linear-gradient(var(--hc), var(--hc)) right bottom / var(--hw) var(--hl);
  background-repeat: no-repeat;
}

.pulse-dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse 2.2s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    0 0 0 1px rgba(255, 98, 3, 0.65),
    0 12px 40px -14px rgba(255, 98, 3, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow:
    0 0 0 1px rgba(255, 134, 54, 0.85),
    0 16px 56px -12px rgba(255, 98, 3, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  gap: 8px;
}

.btn-sm .icon {
  width: 16px;
  height: 16px;
}

.btn-lg {
  height: 54px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  justify-content: flex-start;
}

.btn-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.72;
}

/* White PNG glyphs; the height sets the size, the width follows the artwork.
   On the orange button they turn to ink. */
.btn-os {
  height: 18px;
  width: auto;
}

.btn-primary .btn-os {
  filter: brightness(0);
  opacity: 0.85;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(6, 7, 8, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: opacity var(--t-base) var(--ease);
}

.site-header.is-solid,
html:not(.js) .site-header,
body:not(.page-home) .site-header {
  border-bottom-color: var(--line);
}

.site-header.is-solid::before,
html:not(.js) .site-header::before,
body:not(.page-home) .site-header::before {
  opacity: 1;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: auto;
}

.brand-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-top: 1px;
}

.brand-ver {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--fg-3);
  padding: 4px 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
}

.site-nav {
  margin-inline: auto;
}

.nav-list {
  display: flex;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color var(--t-fast) var(--ease);
}

/* Bracket marks slide in on hover — the same selection idea as .hud. */
.nav-list a::before,
.nav-list a::after {
  position: absolute;
  top: 50%;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-base) var(--ease-out);
}

.nav-list a::before {
  content: "[";
  left: 2px;
  transform: translate(4px, -52%);
}

.nav-list a::after {
  content: "]";
  right: 2px;
  transform: translate(-4px, -52%);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--fg);
}

.nav-list a:hover::before,
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::before,
.nav-list a[aria-current="page"]::after {
  opacity: 1;
  transform: translate(0, -52%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  transition: transform var(--t-base) var(--ease), background-color var(--t-fast);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Language menu ---------- */

.lang {
  position: relative;
  flex: none;
}

.lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.lang > summary::-webkit-details-marker {
  display: none;
}

.lang > summary:hover,
.lang[open] > summary {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

.lang .icon {
  width: 15px;
  height: 15px;
}

.lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 190px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
}

.lang-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.lang-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.lang-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.lang-list a[aria-current="true"] {
  color: var(--fg);
}

.lang-list a[aria-current="true"] .lang-code {
  color: var(--accent);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--line);
  animation: menu-in 360ms var(--ease-out);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 24px;
  padding-bottom: 32px;
}

.mobile-list li {
  border-bottom: 1px solid var(--line);
}

.mobile-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mobile-list a[aria-current="page"] {
  color: var(--accent);
}

.mobile-index {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.mobile-foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 20px;
}

.mobile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-langs a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fg-2);
}

.mobile-langs a[aria-current="true"] {
  color: var(--fg);
  border-color: var(--accent);
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(660px, 100vh);
  min-height: max(660px, 100svh);
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 72% 46%, rgba(255, 98, 3, 0.07), transparent 70%),
    var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero-canvas.is-ready {
  opacity: 1;
}

/* A still of the same scene, for no JavaScript or no WebGL. Background image,
   so the browsers that run the live scene never fetch it. */
.hero-fallback {
  position: absolute;
  inset: 0;
  display: none;
  background: url("/assets/hero-city.webp") 62% 40% / cover no-repeat;
}

html:not(.js) .hero-fallback,
.hero.no-webgl .hero-fallback {
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.86) 0%, rgba(6, 7, 8, 0.55) 34%, rgba(6, 7, 8, 0) 62%),
    linear-gradient(0deg, rgba(6, 7, 8, 0.96) 0%, rgba(6, 7, 8, 0.4) 26%, rgba(6, 7, 8, 0) 50%),
    linear-gradient(180deg, rgba(6, 7, 8, 0.75) 0%, rgba(6, 7, 8, 0) 22%);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 56px;
}

.hero-copy {
  align-self: end;
  max-width: 760px;
}

.hero-title {
  display: block;
  font-size: clamp(54px, 8.6vw, 136px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.hero-line {
  display: block;
}

.hero-line-accent {
  color: var(--accent);
}

/* The blinking block caret: the agent is still typing. */
.hero-line-accent::after {
  content: "";
  display: inline-block;
  width: 0.09em;
  height: 0.74em;
  margin-left: 0.08em;
  vertical-align: -0.02em;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

:lang(zh) .hero-title,
:lang(ja) .hero-title {
  font-size: clamp(46px, 7vw, 108px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-lead {
  margin-top: 30px;
  max-width: 36em;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 12px;
}

.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color var(--t-fast) var(--ease);
}

.hero-watch .icon {
  width: 30px;
  height: 30px;
  padding: 9px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-3);
  transition: box-shadow var(--t-fast) var(--ease), color var(--t-fast);
}

.hero-watch:hover {
  color: var(--fg);
}

.hero-watch:hover .icon {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* ---------- Hero console ---------- */

.console {
  align-self: end;
  width: 100%;
  background: rgba(8, 10, 13, 0.78);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.console-dots {
  display: inline-flex;
  gap: 6px;
}

.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-3);
}

.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.console-live .pulse-dot {
  width: 6px;
  height: 6px;
}

.console-body {
  display: grid;
  gap: 5px;
  padding: 14px 16px 16px;
}

.cl {
  display: grid;
  grid-template-columns: 14px max-content minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  color: var(--fg-2);
}

.cl-prompt {
  grid-template-columns: 14px minmax(0, 1fr);
  margin-top: 8px;
  color: var(--fg);
}

.cl-prompt:first-child {
  margin-top: 0;
}

.cl-caret {
  color: var(--accent);
}

.cl-key {
  min-width: 8ch;
  color: var(--fg);
}

.cl-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg-3);
}

.cl-state::before {
  content: "✓";
  color: var(--accent);
}

/* Driven by city.js: lines appear as the scene reaches them. Until the
   script takes over, the console waits invisibly instead of flashing its
   finished state; without WebGL it shows that finished state. */
html.js .console {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

html.js .console.is-live,
html.js .console.is-static,
.hero.no-webgl .console {
  opacity: 1;
}

/* Driven by city.js: lines appear as the scene reaches them. */
.console.is-live .cl {
  display: none;
}

.console.is-live .cl.is-on {
  display: grid;
}

.console.is-live .cl.is-run .cl-state::before {
  content: attr(data-spin);
  color: var(--fg-2);
}

.cl-text.is-typing::after {
  content: "▍";
  margin-left: 1px;
  color: var(--accent);
  animation: blink 0.9s steps(1) infinite;
}

/* ---------- Hero spec bar ---------- */

.hero-bar {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 8, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-specs > div {
  padding: 20px 24px 22px;
  border-left: 1px solid var(--line);
}

.hero-specs > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-specs dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.hero-specs dd {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

/* ---------- Engines strip ---------- */

.engines {
  border-bottom: 1px solid var(--line);
}

.engines-inner {
  display: flex;
  align-items: center;
  gap: 32px 56px;
  padding-block: 30px;
}

.engines-title {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.engines-formats {
  color: var(--accent);
}

.engines-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}

.engines-list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg-2);
  transition: color var(--t-fast) var(--ease);
}

.engines-list li:hover {
  color: var(--fg);
}

.engines-list img {
  height: 26px;
  width: auto;
  opacity: 0.72;
  transition: opacity var(--t-fast) var(--ease);
}

.engines-list li:hover img {
  opacity: 1;
}

/* ---------- Demo viewport ---------- */

.viewport {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow:
    0 60px 140px -50px rgba(0, 0, 0, 0.95),
    0 0 120px -40px rgba(255, 98, 3, 0.18);
}

.viewport-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.vp-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s steps(1) infinite;
}

.vp-tag {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--fg-2);
}

.viewport-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-toggle {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 6px;
  background: rgba(6, 7, 8, 0.78);
  box-shadow: inset 0 0 0 1px var(--line-3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.video-toggle:hover {
  background: rgba(22, 26, 32, 0.92);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.video-toggle .icon {
  width: 14px;
  height: 14px;
}

.video-toggle .icon-pause,
.video-toggle[aria-pressed="true"] .icon-play {
  display: none;
}

.video-toggle[aria-pressed="true"] .icon-pause {
  display: block;
}

.viewport-caption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-3);
}

/* ---------- Capabilities (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  isolation: isolate;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-base) var(--ease);
}

.tile:hover {
  border-color: var(--line-3);
}

/* Pointer spotlight; main.js feeds --mx/--my. */
.tile::after,
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 98, 3, 0.11), transparent 45%);
  transition: opacity var(--t-base) var(--ease);
}

.tile:hover::after,
.post-card:hover::after {
  opacity: 1;
}

.tile-media {
  min-height: 440px;
}

.tile-media .tile-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter var(--t-base) var(--ease);
  filter: saturate(0.85) brightness(0.92);
}

.tile-media:hover .tile-img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 7, 8, 0) 30%, rgba(6, 7, 8, 0.78) 72%, rgba(6, 7, 8, 0.96) 100%);
}

.tile-a,
.tile-d {
  grid-column: span 7;
}

/* Frame the city, not the sky above it. */
.tile-a .tile-img {
  object-position: 50% 78%;
}

.tile-d .tile-img {
  object-position: 50% 92%;
}

.tile-b,
.tile-c {
  grid-column: span 5;
}

.tile-body {
  position: relative;
  z-index: 2;
}

.tile-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.tile-title {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.tile-text {
  margin-top: 10px;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

.tile-plain {
  justify-content: space-between;
  gap: 40px;
}

.tile-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Control (annotated window) ---------- */

.annot-shot {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
}

.annot-shot img {
  width: 100%;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.pin span {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    0 0 0 4px rgba(255, 98, 3, 0.22),
    0 0 26px rgba(255, 98, 3, 0.65);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease);
}

.pin::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse 2.6s var(--ease-out) infinite;
}

.pin:nth-child(2)::before {
  animation-delay: 0.5s;
}

.pin:nth-child(3)::before {
  animation-delay: 1s;
}

.pin:nth-child(4)::before {
  animation-delay: 1.5s;
}

.pin:nth-child(5)::before {
  animation-delay: 2s;
}

.pin.is-active span {
  transform: scale(1.25);
  box-shadow:
    0 0 0 6px rgba(255, 98, 3, 0.3),
    0 0 40px rgba(255, 98, 3, 0.9);
}

.annot-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(6, 7, 8, 0.8);
  box-shadow: inset 0 0 0 1px var(--line-3);
  transition: box-shadow var(--t-fast) var(--ease), color var(--t-fast);
}

.annot-expand:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.annot-legend {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}

.legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 22px 20px 4px 0;
  outline-offset: -2px;
  cursor: default;
}

.legend-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast);
}

.legend-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color var(--t-fast) var(--ease);
}

.legend-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}

.legend-item.is-active .legend-num {
  background: var(--accent);
  color: var(--accent-ink);
}

.legend-item.is-active .legend-title {
  color: var(--accent);
}

/* ---------- Workflow pipeline ---------- */

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.pipeline::before,
.pipeline::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--line-2);
}

/* The line charges left to right when the pipeline enters the screen. */
.pipeline::after {
  background: linear-gradient(90deg, var(--accent), rgba(255, 98, 3, 0.25));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease-out) 0.2s;
}

html:not(.js) .pipeline::after,
.pipeline.is-visible::after {
  transform: scaleX(1);
}

.stage {
  position: relative;
  padding-top: 64px;
}

.stage-node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.stage-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 132px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--bg-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 11px;
  border-radius: 6px;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.chip img {
  height: 14px;
  width: auto;
}

.chip-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.chip-icon {
  padding: 0 8px;
}

.chip-engines {
  gap: 10px;
}

.chip-engines img {
  height: 15px;
  opacity: 0.85;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 30px -10px rgba(255, 98, 3, 0.8);
}

.mock-btn .icon {
  width: 14px;
  height: 14px;
}

.mock-link {
  width: 18px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--fg-3) 0 3px, transparent 3px 6px);
}

.mock-prompt {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(6, 7, 8, 0.8);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg);
}

.mock-caret {
  margin-right: 8px;
  color: var(--accent);
}

.stage-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.stage-text {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

.stage-text strong {
  color: var(--fg);
  font-weight: 600;
}

/* ---------- Specs ---------- */

.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 48px 80px;
  align-items: start;
}

.specs-head {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.specs-head .section-lead {
  margin-top: 22px;
}

.specs-head .btn {
  margin-top: 32px;
}

.specs {
  border-top: 1px solid var(--line-2);
}

.spec-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color var(--t-fast) var(--ease);
}

.spec-row dd {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg);
}

.spec-row:hover dt {
  color: var(--accent);
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 48px 80px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 48px);
  display: grid;
  justify-items: start;
}

.faq-head .section-lead {
  margin-top: 22px;
}

.faq-head .text-link {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  transition: color var(--t-fast) var(--ease);
}

.faq-q {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  transition: color var(--t-fast) var(--ease);
}

.faq-item > summary::after {
  content: "";
  flex: none;
  align-self: center;
  width: 14px;
  height: 14px;
  margin-left: auto;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--fg-3);
  transition: transform var(--t-base) var(--ease-out), color var(--t-fast);
}

.faq-item > summary:hover .faq-q {
  color: var(--fg);
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item[open] .faq-num {
  color: var(--accent);
}

.faq-answer {
  padding: 0 40px 26px 38px;
}

.faq-answer p {
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ---------- Post cards ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}

.post-card:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
}

.post-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1.2s var(--ease-out), filter var(--t-base) var(--ease);
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.post-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 8px;
  border-radius: var(--r-1);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.tag-accent {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: none;
}

.post-card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.post-card-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--fg-3);
}

/* ---------- Download finale ---------- */

.download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 14vw, 184px) 0 clamp(88px, 10vw, 136px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(70% 55% at 50% 100%, rgba(255, 98, 3, 0.2), transparent 70%);
}

/* A ground grid running to the horizon: the editor's floor, not a decoration
   from nowhere. */
.download-floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 120%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 98, 3, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 98, 3, 0.4) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center 0;
  transform: perspective(700px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 75%);
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 75%);
  animation: floor-run 5s linear infinite;
}

@keyframes floor-run {
  to {
    background-position: center 72px;
  }
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-title {
  margin-top: 26px;
  font-size: clamp(58px, 11vw, 168px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

:lang(zh) .download-title,
:lang(ja) .download-title {
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.download-lead {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}

.platforms {
  width: 100%;
  max-width: 880px;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.platform {
  padding: 26px 24px 22px;
  background: rgba(10, 12, 15, 0.86);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.platform-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.platform-icon {
  height: 22px;
  width: auto;
}

.platform-actions {
  display: grid;
  gap: 10px;
}

.platform-note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-3);
  text-wrap: pretty;
}

.download-notes {
  max-width: 620px;
  margin-top: 36px;
  display: grid;
  gap: 8px;
}

.download-notes li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-3);
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-tagline {
  max-width: 30ch;
  font-size: 15.5px;
  color: var(--fg-2);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-head {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.footer-col li + li {
  margin-top: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--fg-2);
  transition: color var(--t-fast) var(--ease);
}

.footer-col a:hover,
.footer-col a[aria-current="true"] {
  color: var(--fg);
}

.footer-word {
  margin-top: 80px;
  font-size: clamp(56px, 17.2vw, 248px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.065em;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  display: none;
  place-items: center;
  align-content: center;
  color: var(--fg);
}

.lightbox[open] {
  display: grid;
}

.lightbox::backdrop {
  background: rgba(6, 7, 8, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox img {
  max-width: min(94vw, 1800px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line-2);
}

.lightbox-caption {
  margin-top: 14px;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.lightbox-close:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* ==========================================================================
   Blog: index, article, 404
   ========================================================================== */

.page-head {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 64px;
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(60% 90% at 85% 0%, rgba(255, 98, 3, 0.09), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  background-position: center, center -1px, center -1px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

.crumbs a {
  transition: color var(--t-fast) var(--ease);
}

.crumbs a:hover {
  color: var(--fg);
}

.crumbs-current {
  max-width: 44ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg-2);
}

.page-title {
  max-width: 16ch;
  margin-top: 22px;
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-lead {
  max-width: 600px;
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.filter {
  height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast), box-shadow var(--t-fast);
}

.filter:hover {
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-3);
}

.filter[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}

.section-list {
  padding-top: 56px;
}

.post-card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.post-card-feature .post-card-media {
  aspect-ratio: auto;
  min-height: 380px;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.post-card-feature .post-card-body {
  padding: 36px 36px 30px;
}

.post-card-feature .post-card-title {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.post-card-feature .post-card-text {
  font-size: 16.5px;
}

.post-card.is-hidden {
  display: none;
}

/* ---------- Article ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}

.progress-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 98, 3, 0.8);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

.article-head {
  padding: calc(var(--header-h) + 64px) 0 52px;
}

.container-text {
  max-width: calc(880px + var(--gutter) * 2);
}

.article-tags {
  margin-bottom: 22px;
}

.article-title {
  font-size: clamp(36px, 5.2vw, 66px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article-standfirst {
  margin-top: 24px;
  max-width: 62ch;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

.article-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-3);
}

.article-hero img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line-2);
}

/* The text column sits in the middle; the contents take the left margin
   and an empty track of the same width balances it on the right. */
.article-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 688px) 216px;
  justify-content: center;
  gap: 40px;
  margin-top: 72px;
  padding-bottom: clamp(88px, 10vw, 136px);
}

.article-layout-single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.article-main {
  min-width: 0;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  max-height: calc(100vh - var(--header-h) - 64px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.toc-title {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.toc ol {
  border-left: 1px solid var(--line-2);
}

.toc a {
  display: flex;
  gap: 10px;
  margin-left: -1px;
  padding: 7px 0 7px 14px;
  border-left: 1px solid transparent;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--fg-3);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast);
}

.toc-num {
  flex: none;
  padding-top: 1px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.toc a:hover {
  color: var(--fg);
}

.toc a.is-active {
  color: var(--fg);
  border-left-color: var(--accent);
}

.toc a.is-active .toc-num {
  color: var(--accent);
}

/* ---------- Article body ---------- */

.prose {
  counter-reset: h2;
  font-size: 17.5px;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h2 {
  counter-increment: h2;
  margin-top: 2.4em;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.prose h2::before {
  content: counter(h2, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: 20.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.prose p,
.prose li {
  color: #b9bfc8;
  text-wrap: pretty;
}

.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 98, 3, 0.45);
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}

.prose a:hover {
  color: var(--accent-2);
  text-decoration-color: currentColor;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.55em;
  padding-left: 1.4em;
}

.prose ul {
  list-style: none;
  padding-left: 1.5em;
}

.prose ul > li {
  position: relative;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.15em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.prose ol {
  list-style: decimal-leading-zero;
}

.prose ol > li::marker {
  font-family: var(--mono);
  font-size: 0.8em;
  color: var(--accent);
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.55em;
}

.prose blockquote {
  position: relative;
  padding: 20px 24px 20px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 16.5px;
}

.prose blockquote,
.prose blockquote p {
  color: var(--fg);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6em 0;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.12em 0.38em;
  color: var(--fg);
}

.prose pre {
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose thead th {
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
}

.prose tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: #b9bfc8;
  line-height: 1.55;
  vertical-align: top;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Article CTA, pager, back link ---------- */

.cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 80px;
  padding: 40px 40px 36px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-2);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 98, 3, 0.18), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.cta-title {
  margin-top: 20px;
  max-width: 20ch;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-text {
  margin-top: 14px;
  max-width: 48ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.cta-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
}

.pager {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pager-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.pager-item:hover {
  border-color: var(--line-3);
  background: var(--bg-3);
}

.pager-next {
  align-items: flex-end;
  text-align: right;
}

.pager-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pager-label .icon {
  width: 14px;
  height: 14px;
}

.pager-title {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
}

.back-link {
  margin-top: 36px;
  font-size: 15px;
}

.section-related .section-title {
  font-size: clamp(30px, 3.6vw, 44px);
}

/* ---------- 404 ---------- */

.notfound {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: max(640px, 100vh);
  min-height: max(640px, 100svh);
  padding: calc(var(--header-h) + 48px) 0 88px;
  text-align: center;
}

.notfound-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(50% 50% at 50% 50%, rgba(255, 98, 3, 0.12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  background-position: center;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notfound-code {
  margin-bottom: 36px;
  font-size: clamp(120px, 26vw, 320px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 98, 3, 0.75);
  user-select: none;
}

.notfound .page-title {
  max-width: 18ch;
}

.notfound .page-lead {
  margin-inline: auto;
}

.notfound-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Reveal on scroll (JS only) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    border-color var(--t-base) var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* If the script never arrives, nothing stays invisible. */
html.js:not(.js-ready) .reveal {
  animation: reveal-fallback 0.01s 3s forwards;
}

@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-line-accent::after {
    animation: none;
  }

  .download-floor {
    animation: none;
  }
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }
}

@media (max-width: 1099px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .console {
    display: none;
  }

  .article-layout {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    gap: 40px;
    margin-top: 56px;
  }

  .toc {
    position: static;
    max-height: none;
    padding: 22px 24px 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .annot-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .site-nav,
  .header-actions .lang {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-head-split,
  .specs-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs-head,
  .faq-head {
    position: static;
  }

  .bento .tile {
    grid-column: span 6;
  }

  .bento .tile-a,
  .bento .tile-d {
    grid-column: 1 / -1;
  }

  .bento .tile-g {
    grid-column: 1 / -1;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .pipeline::before,
  .pipeline::after {
    display: none;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-card-feature .post-card-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .engines-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .engines-list {
    width: 100%;
  }
}

/* Without JavaScript the burger can't open anything: show the links inline. */
@media (max-width: 959px) {
  html:not(.js) .site-nav {
    display: block;
    margin: 0;
    overflow-x: auto;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: max(620px, 100svh);
  }

  .hero-inner {
    padding-bottom: 40px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 7, 8, 0.97) 0%, rgba(6, 7, 8, 0.93) 54%, rgba(6, 7, 8, 0.4) 72%, rgba(6, 7, 8, 0.05) 86%),
      linear-gradient(180deg, rgba(6, 7, 8, 0.6) 0%, rgba(6, 7, 8, 0) 16%);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-specs > div {
    padding: 16px 0 16px 16px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .hero-specs > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-specs > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .hero-specs dd {
    font-size: 14px;
  }

  .brand-ver {
    display: none;
  }

  .bento .tile,
  .bento .tile-a,
  .bento .tile-d {
    grid-column: 1 / -1;
  }

  .tile {
    padding: 22px;
  }

  .tile-media {
    min-height: 360px;
  }

  .annot-legend {
    grid-template-columns: minmax(0, 1fr);
  }

  .legend-item {
    padding-right: 0;
  }

  .pin span {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .pipeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 0;
  }

  .faq-answer {
    padding: 0 0 22px 0;
  }

  .faq-q {
    font-size: 16.5px;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-card-feature .post-card-body {
    padding: 24px 22px 22px;
  }

  .platforms {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 48px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .viewport-bar .vp-title {
    display: none;
  }

  .article-head {
    padding-top: calc(var(--header-h) + 40px);
  }

  .article-layout {
    margin-top: 40px;
  }

  .prose {
    font-size: 16.5px;
  }

  .prose blockquote {
    padding: 16px 18px;
  }

  .cta-box {
    margin-top: 56px;
    padding: 28px 22px 26px;
  }

  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager-next {
    align-items: flex-start;
    text-align: left;
  }

  .crumbs-current {
    max-width: 24ch;
  }

  .page-head {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 48px;
  }
}

@media (max-width: 479px) {
  .header-cta {
    display: none;
  }

  .download-title {
    font-size: clamp(50px, 15vw, 72px);
  }
}
