:root {
  --bg: #0b0b0d;
  --surface: #151518;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f2ee;
  --muted: rgba(244, 242, 238, 0.62);
  --accent: #ff8a3d;
  --gold: #d6a63a;
  --radius: 18px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f4f0;
    --surface: #ffffff;
    --line: rgba(0, 0, 0, 0.08);
    --text: #141416;
    --muted: rgba(20, 20, 22, 0.62);
    --accent: #e0661c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); text-decoration: none; }

.hero { padding: 56px 0 40px; text-align: center; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero h1 { font-size: clamp(34px, 7vw, 54px); line-height: 1.05; letter-spacing: -1.2px; margin: 26px 0 0; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero p.lede { color: var(--muted); font-size: 18px; max-width: 520px; margin: 16px auto 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg);
  font-weight: 700; font-size: 15px;
}
.badge:hover { text-decoration: none; opacity: .9; }
.badge.soon { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; padding: 20px 0 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 14px; }

article.doc { padding: 24px 0 64px; }
article.doc h1 { font-size: clamp(30px, 6vw, 42px); letter-spacing: -0.8px; line-height: 1.1; margin: 18px 0 6px; }
article.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
article.doc h2 { font-size: 20px; margin: 34px 0 8px; letter-spacing: -0.2px; }
article.doc p, article.doc li { color: var(--text); }
article.doc ul { padding-left: 20px; }
article.doc li { margin: 6px 0; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.summary p { margin: 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13.5px; }
footer.site .row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.site .tmdb { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
footer.site .tmdb img { height: 14px; }
