/* LUMEN RAW site: the app's dark "darkroom" theme (lumen/theme.py DARK) on the web. */
:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #131316;
  --card-2: #18181c;
  --line: #1f1f24;
  --line-hi: #34343c;
  --text: #e4e1da;
  --muted: #a8a399;
  --dim: #7c7972;
  --head: #f6f2e8;
  --accent: #f0a530;
  --accent-hi: #ffbb4d;
  --accent-ink: #1a1204;
  --accent-soft: rgba(240, 165, 48, .12);
  --accent-line: rgba(240, 165, 48, .35);
  --radius: 14px;
  --gutter: 24px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3 { color: var(--head); line-height: 1.25; margin: 0; font-weight: 650; letter-spacing: .01em; text-wrap: balance; }
.hero-sub, .section-lead, .cta p { text-wrap: balance; }
section[id] { scroll-margin-top: 72px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* film grain over everything, very faint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8, 8, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--head); }
.brand:hover { color: var(--head); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-word { font-weight: 300; letter-spacing: .42em; font-size: 17px; margin-right: -.42em; }
.brand-tag { font-size: 11px; letter-spacing: .2em; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 4px; padding: 1px 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--head); }
.nav-links .btn { color: var(--accent-ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: .04em;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255, 210, 140, .25) inset, 0 10px 40px -10px rgba(240, 165, 48, .65);
  transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hi); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 220, 160, .4) inset, 0 16px 50px -10px rgba(240, 165, 48, .8); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--head); box-shadow: 0 0 0 1px var(--line-hi) inset; }
.btn-ghost:hover { background: rgba(255, 255, 255, .04); color: var(--head); box-shadow: 0 0 0 1px var(--dim) inset; }
.btn-small { height: 36px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.btn-small:hover { box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: -64px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-glow {
  position: absolute;
  left: 50%;
  top: 26%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 165, 48, .22) 0%, rgba(240, 165, 48, .07) 32%, transparent 62%);
  animation: breathe 9s ease-in-out infinite;
}
.dial { position: absolute; left: 50%; top: 26%; width: 860px; height: 860px; transform: translate(-50%, -50%); opacity: .55; }
.dial circle { fill: none; }
.dial .ring-a { stroke: rgba(240, 165, 48, .28); transform-origin: 50% 50%; animation: spin 140s linear infinite; }
.dial .ring-b { stroke: rgba(246, 242, 232, .12); transform-origin: 50% 50%; animation: spin 200s linear infinite reverse; }
.dial .ring-c { stroke: rgba(240, 165, 48, .18); }
.hero-fade { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .7; transform: translate(-50%, -50%) scale(1.06); } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .28em; color: var(--accent); padding: 6px 16px; border: 1px solid var(--accent-line); border-radius: 999px; background: rgba(8, 8, 10, .5); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-title { margin-top: 30px; }
.hero-mark {
  display: block;
  font-size: clamp(54px, 14vw, 168px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: .32em;
  padding-left: .32em;
  background: linear-gradient(100deg, #f6f2e8 0%, #f6f2e8 35%, #ffcf7a 48%, #f0a530 55%, #f6f2e8 70%, #f6f2e8 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 10s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-line { display: block; margin-top: 22px; font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: .06em; color: var(--head); }
.hero-sub { max-width: 640px; margin: 18px auto 0; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--dim); letter-spacing: .06em; }
.hero-meta span { display: inline-block; white-space: nowrap; }
.hero-meta span + span::before { content: "·"; margin: 0 10px; color: var(--line-hi); }

/* app screenshot in a window frame with viewfinder corners */
.stage { perspective: 1600px; margin-top: 64px; }
.shot {
  position: relative;
  margin: 0;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 140px -40px rgba(240, 165, 48, .35);
}
.shot img { border-radius: 12px; width: 100%; }
.hero-shot { transform: rotateX(var(--tilt, 16deg)) scale(var(--grow, .94)); transform-origin: 50% 0; transition: transform .1s linear; will-change: transform; }
.finder { position: absolute; inset: -14px; pointer-events: none; }
.finder i { position: absolute; width: 26px; height: 26px; border-color: var(--accent); border-style: solid; border-width: 0; opacity: .9; }
.finder i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.finder i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.finder i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.finder i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.focus-dot { position: absolute; width: 54px; height: 54px; left: 50%; top: 45%; margin: -27px; border: 1.5px solid rgba(240, 165, 48, .9); border-radius: 4px; animation: focus 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes focus { 0%, 100% { transform: scale(1.35); opacity: 0; } 30%, 70% { transform: scale(1); opacity: 1; } }

/* ---------------------------------------------------------------- stats + formats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 28px 20px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 250; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat b.word { color: var(--head); font-weight: 300; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.formats { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.formats-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.formats-track span { padding: 0 26px; font-size: 15px; letter-spacing: .14em; color: var(--dim); white-space: nowrap; }
.formats-track span b { color: var(--text); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: 120px 0 0; }
.kicker { font-size: 13px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.section-title { margin-top: 14px; font-size: clamp(28px, 4.4vw, 46px); font-weight: 650; letter-spacing: .02em; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 620px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split.flip .split-text { order: 2; }
.split-text h3 { font-size: clamp(24px, 3vw, 34px); margin-top: 14px; }
.split-text > p { margin-top: 16px; color: var(--muted); }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.points kbd { font: 12px var(--mono); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line-hi); background: var(--card-2); color: var(--head); }
.figure-note { margin-top: 12px; font-size: 12px; color: var(--dim); }

/* before / after */
.compare {
  --pos: 50%;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 672 / 916;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 90px -30px rgba(0, 0, 0, .9);
  user-select: none;
  touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 18px rgba(240, 165, 48, .8); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); pointer-events: none; }
.compare-knob svg { width: 22px; height: 22px; }
.compare input:focus-visible ~ .compare-knob { outline: 2px solid var(--head); outline-offset: 3px; }
.compare-tag { position: absolute; top: 14px; padding: 4px 12px; font-size: 13px; border-radius: 999px; background: rgba(8, 8, 10, .72); color: var(--head); pointer-events: none; backdrop-filter: blur(6px); }
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; color: var(--accent); }
.compare.hint .compare-line, .compare.hint .compare-knob { transition: left .9s cubic-bezier(.6, 0, .3, 1); }
.compare.hint .before { transition: clip-path .9s cubic-bezier(.6, 0, .3, 1); }

/* tabs over a screenshot */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.tabs button { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 6px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
.tab-stack { display: grid; }
.tab-stack > img { grid-area: 1 / 1; transition: opacity .45s; }
.tab-stack > img[hidden] { display: block; opacity: 0; visibility: hidden; }

/* natural language + MCP */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.panel { position: relative; padding: 32px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; }
.panel h3 { font-size: 22px; margin-top: 12px; }
.panel > p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.prompt { margin-top: 24px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-hi); }
.prompt svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.prompt-text { flex: 1; min-height: 1.7em; color: var(--head); font-size: 15px; }
.prompt-text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt kbd { flex: none; font: 12px var(--font); color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 3px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); }
.chips span.local { border-color: var(--accent-line); color: var(--accent); }
.chips .chip-label { width: 100%; padding: 0; border: 0; font-size: 12px; letter-spacing: .2em; color: var(--dim); margin-top: 4px; }
.terminal { margin-top: 24px; border-radius: 12px; background: #050506; border: 1px solid var(--line-hi); font: 13px/1.8 var(--mono); overflow: hidden; }
.terminal-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-hi); }
.terminal pre { margin: 0; padding: 14px 16px; overflow-x: auto; color: var(--text); }
.terminal .c { color: var(--dim); }
.terminal .p { color: var(--accent); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240, 165, 48, .12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card svg { width: 30px; height: 30px; color: var(--accent); }
.card h3 { font-size: 18px; margin-top: 18px; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.platform { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.platform svg { width: 34px; height: 34px; color: var(--head); }
.platform h3 { font-size: 20px; margin-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.platform h3 small { font-size: 13px; font-weight: 500; color: var(--accent); }
.platform p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* tutorials */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.video { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s; }
.video:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.video-frame { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px; border-radius: 50%; background: rgba(240, 165, 48, .94); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .55); transition: transform .2s; }
.video-frame:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-time { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.video-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.video-body h3 { font-size: 16px; line-height: 1.55; }
.video-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto !important; font-size: 13px; color: var(--dim); }
.videos-more { margin-top: 28px; text-align: center; font-size: 14px; color: var(--dim); }

/* changelog */
.log { display: grid; gap: 16px; margin-top: 40px; }
.ver { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.ver.latest { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(240, 165, 48, .09), var(--card) 50%); }
.ver-head h2 { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ver-head time { display: block; margin-top: 2px; font-size: 13px; color: var(--dim); }
.ver-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ver-tags span { font-size: 12px; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); }
.ver-tags span.hot { border-color: var(--accent-line); color: var(--accent); }
.ver ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ver li { position: relative; padding-left: 22px; font-size: 15px; }
.ver li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.ver code { font: 13px var(--mono); color: var(--head); background: var(--card-2); padding: 1px 6px; border-radius: 4px; }
.ver-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; }
.ver-links .none { color: var(--dim); }
.early { margin-top: 56px; }
.early h2 { font-size: 22px; }
.early > p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.early-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.early-list article { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.early-list h3 { font-size: 16px; display: flex; align-items: baseline; gap: 10px; }
.early-list h3 time { font-size: 12px; font-weight: 400; color: var(--dim); }
.early-list p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* call to action */
.cta { position: relative; margin-top: 140px; padding: 90px 24px; text-align: center; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(240, 165, 48, .28), transparent 60%), var(--bg-2); overflow: hidden; }
.cta h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 650; }
.cta p { margin: 18px auto 0; max-width: 560px; color: var(--muted); }
.cta .btn { margin-top: 34px; height: 60px; padding: 0 40px; font-size: 18px; }
.cta-note { margin-top: 18px !important; font-size: 13px; color: var(--dim) !important; }

/* footer */
.footer { margin-top: 100px; padding: 40px 0 60px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer details { margin-top: 24px; }
.footer summary { cursor: pointer; color: var(--muted); }
.footer details p { margin-top: 10px; line-height: 1.8; }
.footer details a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-hi); }
.footer .copyright { margin-top: 20px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- download page */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 650; margin-top: 14px; }
.page-head p { margin-top: 14px; color: var(--muted); }
.page-head .sync { font-size: 13px; color: var(--dim); }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.dl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.dl.primary { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(240, 165, 48, .1), var(--card) 55%); }
.dl-os { display: flex; align-items: center; gap: 12px; color: var(--head); font-size: 20px; font-weight: 650; }
.dl-os svg { width: 26px; height: 26px; }
.dl-badge { font-size: 12px; font-weight: 500; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: 1px 10px; }
.dl-what { color: var(--text); margin-top: 4px; }
.dl-req { font-size: 14px; color: var(--muted); }
.dl-file { margin-top: 6px; font: 12px var(--mono); color: var(--dim); word-break: break-all; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dl-actions .btn { height: 46px; padding: 0 22px; font-size: 15px; }
.dl-more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.dl-more .dl { padding: 22px 24px; }
.dl-more .dl-os { font-size: 16px; }
.dl-more .dl-actions .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.dl-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.gh-first {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  background: radial-gradient(ellipse at 0% 0%, rgba(240, 165, 48, .16), transparent 60%), var(--card);
}
.gh-first h2 { font-size: 24px; }
.gh-first p { margin-top: 8px; color: var(--muted); max-width: 640px; }
.mirror-head { margin-top: 56px; }
.mirror-head h2 { font-size: 22px; }
.mirror-head p { margin-top: 10px; color: var(--muted); }
.mirror-head .sync { font-size: 13px; color: var(--dim); }
.mirror-head + .downloads { margin-top: 24px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta .cta-actions .btn { margin-top: 0; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.note { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--muted); }
.note h3 { font-size: 16px; margin-bottom: 10px; }
.note code { font: 12px var(--mono); color: var(--head); background: var(--card-2); padding: 2px 6px; border-radius: 4px; word-break: break-all; }
.note p + p { margin-top: 8px; }
.files { margin-top: 64px; }
.files h2 { font-size: 24px; }
.files > p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.release { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.release summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; color: var(--head); font-weight: 600; }
.release summary::-webkit-details-marker { display: none; }
.release summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 20px; line-height: 1; }
.release[open] summary::after { content: "−"; }
.release summary small { margin-left: auto; color: var(--dim); font-weight: 400; font-size: 13px; }
.release-body { padding: 0 20px 18px; }
.release-body > p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 9px 16px 9px 0; border-top: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 500; color: var(--dim); font-size: 12px; letter-spacing: .1em; }
td.size { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
td.hash { font: 11px var(--mono); color: var(--dim); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-text { order: 0; }
  .compare { margin: 0 auto; }
  .grid, .videos { grid-template-columns: 1fr 1fr; }
  .duo, .platforms { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .section { padding-top: 96px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .hero-sub { font-size: 16px; }
  .stage { margin-top: 44px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .grid, .downloads, .dl-more, .notes { grid-template-columns: 1fr; }
  .gh-first { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .videos, .early-list { grid-template-columns: 1fr; }
  .ver { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .panel { padding: 24px 20px; }
  .cta { margin-top: 100px; padding: 64px 20px; }
  .dial { width: 560px; height: 560px; }
  .finder { inset: -8px; }
  .finder i { width: 16px; height: 16px; }
  .btn:not(.btn-small) { height: 50px; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-shot { transform: none; }
  html { scroll-behavior: auto; }
}
