/* IPTV Player — marketing site.
   Palette mirrors the app exactly: lime #B4E829 on near-black #0A0D0A. */

:root {
  --bg: #0A0D0A;
  --bg-top: #121711;
  --surface: #171C16;
  --surface-raised: #2A3227;
  --accent: #B4E829;
  --on-accent: #0A0D0A;
  --text: #FFFFFF;
  --text-2: #C0CBBC;
  --text-3: #A0AB9C;
  --hairline: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top), var(--bg) 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Serif display face, same character as the app's screen titles. */
h1, h2, h3, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 10, 0.82);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.nav nav a { color: var(--text-2); }
.nav nav a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 620px) { .nav nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 104px) 0; }
.hero-grid {
  display: grid; gap: clamp(32px, 6vw, 64px);
  grid-template-columns: 1.05fr 0.95fr; align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(180, 232, 41, 0.35);
  background: rgba(180, 232, 41, 0.08);
  padding: 7px 13px; border-radius: 999px;
}
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); margin-block: 22px 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 44ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.07); text-decoration: none; }
.btn-ghost { border-color: var(--hairline); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.note { font-size: 13px; color: var(--text-3); }

/* The source capture is 1320x2868, so constraining WIDTH alone makes the hero
   row absurdly tall and strands the headline near its bottom. Cap the height
   and let width follow. */
.phone-shot {
  display: block; margin-inline: auto;
  height: min(72vh, 620px); width: auto; max-width: 100%;
  border-radius: 30px; border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(180,232,41,.10);
}
@media (max-width: 860px) {
  .phone-shot { height: min(58vh, 480px); }
}

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 9vw, 96px); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 17px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 15px; }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }

/* ---------- screenshots ---------- */
.shots {
  display: grid; gap: 18px; grid-auto-flow: column;
  grid-auto-columns: minmax(216px, 258px);
  overflow-x: auto; padding-bottom: 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img {
  width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover;
  border-radius: 24px; display: block;
  border: 1px solid var(--hairline); background: var(--surface);
}
.shots figcaption { margin-top: 12px; font-size: 14px; color: var(--text-3); text-align: center; }

/* ---------- pricing ---------- */
.price-card {
  background: var(--surface); border: 1px solid rgba(180,232,41,.34);
  border-radius: 24px; padding: clamp(26px, 4vw, 40px); max-width: 500px;
}
.price { display: flex; align-items: baseline; gap: 8px; margin-block: 6px 20px; }
.price b { font-size: 46px; font-family: Georgia, serif; color: var(--accent); }
.price span { color: var(--text-3); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; color: var(--text-2); font-size: 15px; }
.ticks svg { flex: none; width: 19px; height: 19px; color: var(--accent); margin-top: 2px; }

/* ---------- disclaimer ---------- */
.callout {
  border: 1px solid var(--hairline); border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 14px;
  padding: 22px 24px; color: var(--text-2); font-size: 15px;
}
.callout strong { color: var(--text); }

/* ---------- legal pages ---------- */
.legal { max-width: 74ch; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 23px; margin-top: 44px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; font-family: inherit; font-weight: 700; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; display: grid; gap: 9px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td {
  text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.legal th { color: var(--text); font-weight: 700; }
.legal td { color: var(--text-2); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); padding-block: 44px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.foot nav a { color: var(--text-2); }
.foot small { color: var(--text-3); display: block; margin-top: 18px; font-size: 13px; }
