:root {
  --bg: #15131a;
  --surface: #1f1c26;
  --surface-2: #29253200;
  --line: #34303f;
  --text: #f3efe8;
  --muted: #b9b2c4;
  --accent: #5fd8ff;
  --warm: #ffb45e;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(21,19,26,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 20px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; white-space: nowrap; }
.top nav a:hover { color: var(--text); }

.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,19,26,0) 30%, rgba(21,19,26,.75) 68%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.pill { display: inline-block; background: rgba(95,216,255,.14); color: var(--accent); border: 1px solid rgba(95,216,255,.4); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(44px, 9vw, 84px); line-height: 1; margin: 16px 0 12px; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 2.6vw, 22px); color: var(--text); max-width: 620px; margin: 0; }
.sub { color: var(--muted); max-width: 620px; margin: 14px 0 0; }

section { padding: 64px 0; }
h2 { font-size: clamp(28px, 4.4vw, 38px); line-height: 1.15; margin: 0 0 10px; }
.kicker { color: var(--warm); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 8px; }
.intro { color: var(--muted); max-width: 640px; margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.shots figure { margin: 0; flex: 0 0 auto; width: min(62vw, 250px); scroll-snap-align: start; }
.shots img { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 1080 / 2280; object-fit: cover; width: 100%; height: auto; background: var(--surface); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.eras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.era { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.era img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.era figcaption { padding: 14px 18px 18px; }
.era strong { display: block; font-size: 18px; }
.era span { color: var(--muted); font-size: 15px; }

.status { background: linear-gradient(135deg, #24203090, #1b2a3390); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.status ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }

.doc { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(36px, 7vw, 52px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: #ddd6e6; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc code { background: var(--surface); padding: 2px 6px; border-radius: 6px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .top nav a { margin-left: 12px; font-size: 14px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
