/* HelmTV site: plain CSS, self-hosted Figtree, no external requests. */
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark light;
  --bg: #0b0c0e;
  --surface: #111316;
  --surface-2: #181b1f;
  --line: #2a2e34;
  --text: #f2f0eb;
  --muted: #b4b0a8;
  --brass: #e3a944;
  --link: #e3a944;
  --on-brass: #111316;
  --glow: rgba(227, 169, 68, 0.14);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-2: #efece4;
    --line: #d8d3c7;
    --text: #17181b;
    --muted: #55524b;
    --link: #7a4f00;
    --glow: rgba(227, 169, 68, 0.22);
    --shadow: 0 24px 50px rgba(40, 30, 10, 0.25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.65 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--brass); color: var(--on-brass); padding: 0.6rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
.wrap.wide { max-width: 72rem; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.brand svg { width: 2rem; height: 2rem; border-radius: 0.45rem; flex: none; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; margin: 0; padding: 0; }
nav li { margin: 0; }
nav a { color: var(--muted); text-decoration: none; padding: 0.3rem 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
main { padding: 2rem 0 3rem; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.notice {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: 8px; padding: 1rem 1.15rem; margin: 1.5rem 0; font-weight: 500;
}
.button {
  display: inline-block; background: var(--brass); color: var(--on-brass); font-weight: 700;
  padding: 0.8rem 1.4rem; border-radius: 999px; text-decoration: none; margin: 0.5rem 0 0;
}
.button:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.ghost:hover { border-color: var(--brass); filter: none; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.meta { color: var(--muted); font-size: 0.95rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; padding: 1.5rem 0 2.5rem; }
footer.site p { margin: 0 0 0.5rem; }

/* Home page */
.home main { padding-top: 0; }
.hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(60rem 28rem at 78% 0%, var(--glow), transparent 70%);
}
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); margin-bottom: 0.8rem; }
.hero .lead { font-size: 1.25rem; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.actions .button { margin: 0; }
@media (min-width: 60rem) {
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.tv { margin: 0; }
.tv .bezel {
  background: #050607; border: 2px solid #23272d; border-radius: 14px;
  padding: clamp(6px, 1.2vw, 12px); box-shadow: var(--shadow);
}
.tv .bezel img { display: block; width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.tv .stand { width: 34%; height: 10px; margin: 0 auto; background: linear-gradient(#1a1d21, #0c0d0f); border-radius: 0 0 10px 10px; }
.tv figcaption { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 0.7rem; }
section.block { padding: 2.2rem 0; }
section.block > .wrap > h2:first-child { margin-top: 0; }
.section-lead { color: var(--muted); max-width: 40rem; }
.statement {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: 10px; padding: 1.2rem 1.4rem; font-size: 1.15rem; font-weight: 600; margin: 0;
}
.steps { list-style: none; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.2rem 1.2rem 1.3rem; margin: 0;
}
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; background: var(--brass); color: var(--on-brass); font-weight: 800; margin-bottom: 0.7rem;
}
.steps strong { display: block; font-size: 1.1rem; }
.steps span { color: var(--muted); }
.cards { list-style: none; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; margin: 0; }
.cards strong { display: block; margin-bottom: 0.15rem; }
.cards span { color: var(--muted); font-size: 0.95rem; }
.cards svg { width: 1.7rem; height: 1.7rem; color: var(--brass); margin-bottom: 0.5rem; display: block; }
.strip { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 1.2rem 0 0.6rem; }
@media (min-width: 40rem) { .strip.posters { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 64rem) { .strip.posters { grid-template-columns: repeat(8, 1fr); } }
.strip li { margin: 0; }
.strip img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 2 / 3; object-fit: cover; }
.strip.logos { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 40rem) { .strip.logos { grid-template-columns: repeat(8, 1fr); } }
.strip.logos img { aspect-ratio: 1; border: 0; border-radius: 16%; }
.frames { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); list-style: none; padding: 0; margin: 1.2rem 0 0.6rem; }
.frames li { margin: 0; }
.frames img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.note { color: var(--muted); font-size: 0.9rem; }
.remote { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .remote { grid-template-columns: 1fr 1fr; } }
.dpad { width: min(15rem, 70vw); margin: 0 auto; color: var(--text); }
.dpad .ring { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.dpad .ok { fill: var(--brass); }
.dpad .okt { fill: var(--on-brass); font: 800 15px var(--font); }
.dpad .arrow { fill: var(--muted); }
.dpad .back { fill: none; stroke: var(--muted); stroke-width: 2; }
.dpad .lbl { fill: var(--muted); font: 600 11px var(--font); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0.5rem 0 0; }
.chips li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 600; }
.points { list-style: none; padding: 0; display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.points li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem; margin: 0; font-weight: 600; }
.points li span { display: block; color: var(--muted); font-weight: 400; font-size: 0.93rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin: 0 0 0.6rem; }
summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; list-style-position: inside; }
details[open] summary { border-bottom: 1px solid var(--line); }
details p { padding: 0.9rem 1.1rem 0; }
details p:last-child { padding-bottom: 0.2rem; }
.credits { columns: 2 16rem; padding-left: 1.2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
