/* LTstream — site styles */
:root {
  --bg: #0a0a0b;
  --bg-1: #101013;
  --bg-2: #16161b;
  --bg-glass: rgba(16, 16, 19, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #ecebe4;
  --ink-2: #b8b6ad;
  --muted: #918e86;
  --subtle: #66635c;

  --accent: #8bbf6e;
  --accent-bright: #a9d98c;
  --gold: #d6b26a;
  --danger: #d97a6a;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.9);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(139, 191, 110, 0.12), transparent 60%),
    radial-gradient(900px 500px at 8% 4%, rgba(214, 178, 106, 0.08), transparent 55%);
  pointer-events: none;
}

a { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
p { color: var(--ink-2); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), #5e8a49);
  color: #0b1206; font-weight: 800; font-family: var(--font-body); font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.brand .mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--accent-bright); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; width: 40px; height: 38px; cursor: pointer; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(150deg, var(--accent), #6d9c52); color: #0a1305; box-shadow: 0 10px 30px -12px rgba(139, 191, 110, 0.6); }
.btn-primary:hover { color: #0a1305; filter: brightness(1.06); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.btn svg { width: 17px; height: 17px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-bright); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; background: rgba(139, 191, 110, 0.06);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 22px 0 0; color: var(--ink); }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-2); max-width: 640px; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: var(--bg-1); }
.tag b { color: var(--ink-2); font-weight: 600; }

/* ---------- Manifest box ---------- */
.manifest-card {
  margin-top: 30px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 16px; box-shadow: var(--shadow);
}
.manifest-card .lbl { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 9px; }
.copy-row { display: flex; gap: 10px; align-items: stretch; }
.copy-row code {
  flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 13.5px; color: var(--accent-bright);
  background: #0c0c0e; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
  overflow-x: auto; white-space: nowrap; display: flex; align-items: center;
}
.copy-btn { flex: none; }
.copy-btn.copied { background: rgba(139, 191, 110, 0.16); border-color: var(--accent); color: var(--accent-bright); }

/* ---------- Sections ---------- */
section { padding: 46px 0; }
.section-head { max-width: 620px; margin-bottom: 30px; }
.section-head .kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 8px 0 0; color: var(--ink); }
.section-head p { margin: 12px 0 0; }

/* ---------- Provider grid ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 20px; transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--bg-2); }
.card .p-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card .p-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #0c0c0e; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--accent-bright); font-size: 17px; }
.card h3 { font-size: 1.1rem; margin: 0; color: var(--ink); }
.card .src { font-size: 12.5px; color: var(--subtle); font-family: var(--font-mono); }
.card p { font-size: 14px; margin: 0 0 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.pill.movie { color: var(--accent-bright); }
.pill.tv { color: var(--gold); }

/* ---------- Callout / note ---------- */
.note {
  display: flex; gap: 14px; background: var(--bg-1); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: var(--radius-m); padding: 18px 20px;
}
.note.green { border-left-color: var(--accent); }
.note .ni { flex: none; font-size: 20px; line-height: 1.3; }
.note h3 { font-size: 1.05rem; margin: 0 0 5px; color: var(--ink); }
.note p { font-size: 14.5px; margin: 0; }
.note.stack { flex-direction: column; gap: 8px; }

/* ---------- Guide steps ---------- */
.steps { display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 22px 24px 22px 74px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 22px;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), #5e8a49); color: #0a1305;
  font-weight: 800; font-size: 16px;
}
.step h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--ink); }
.step p { margin: 0 0 10px; }
.step ol, .step ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; }
.step li { margin: 5px 0; }
.step .inline-code, code.chip {
  font-family: var(--font-mono); font-size: 0.86em; color: var(--accent-bright);
  background: #0c0c0e; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
}
.step .copy-row { margin-top: 12px; }
.path { color: var(--gold); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 14px; font-size: 14.5px; margin: 0; }

/* ---------- Page hero (guide) ---------- */
.page-hero { padding: 60px 0 8px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); }
.page-hero p { font-size: 1.1rem; max-width: 620px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.backlink:hover { color: var(--ink); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.foot .brand { font-size: 17px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.disclaimer { margin-top: 20px; font-size: 12.5px; color: var(--subtle); max-width: 760px; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px 16px 18px; background: #0c0c0f; backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0,0,0,0.9);
    transform: translateY(-140%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 12px; }
  .nav-toggle { display: block; }
  .hero { padding: 52px 0 22px; }
  .step { padding: 20px 18px 20px 18px; }
  .step::before { position: static; margin-bottom: 12px; }
}
