/*
  ACtion ipTV — site styles.
  Warm, cinematic theme: one accent (amber), real type (Fraunces + Hanken Grotesk).
  Hand-written, no framework.
*/

:root {
  /* warm near-black up through the raised surfaces */
  --bg:       #13110d;
  --bg2:      #181410;
  --surface:  #1e1913;
  --surface2: #262019;
  --surface3: #322a20;

  /* a single accent — amber/gold, used flat (no two-tone gradients) */
  --accent:      #e0a449;
  --accent2:     #c98a34;                      /* deeper, for tonal fills/press states */
  --accent-weak: rgba(224, 164, 73, 0.12);
  --accent-line: rgba(224, 164, 73, 0.34);

  --text:   #f4efe6;
  --muted:  #b7a78f;
  --muted2: #8a7c66;

  --border:  rgba(245, 234, 214, 0.08);
  --border2: rgba(245, 234, 214, 0.16);
  --line:    #271f17;                          /* seam colour for the ruled feature grid */

  --green:  #93ac6c;                           /* kept for compatibility; ticks use accent */
  --radius: 12px;
  --container: 1120px;

  --font-sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint film grain so the dark areas don't read as flat/synthetic */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #1a130a; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* nav — solid, hairline rule underneath (no glass/blur) */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.brand b { color: var(--accent); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
}
.nav-links a::after {                          /* underline wipes in from the left on hover */
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.22s ease;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: inline-flex; }

/* buttons — solid amber, dark ink; no glow shadow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #1a130a; font-weight: 700; }
.btn-primary:hover { background: #eeb65f; }
.btn-primary:active { background: var(--accent2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-weak); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* small tracked labels — replaces the old rounded "eyebrow"/kicker pills */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* hero */
.hero {
  position: relative;
  padding: 92px 0 80px;
  overflow: hidden;
}
.hero::before {                                /* one soft warm pool of light, not the usual twin blobs */
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 164, 73, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero h1 .grad {                               /* keyword set in italic amber instead of clipped gradient */
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
}
.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--muted2); max-width: 480px; }

/* tv mockup */
.tv-wrap { position: relative; }
.tv {
  position: relative;
  background: #0c0a07;
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 13px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85);
}
.tv-stand {
  width: 116px; height: 13px; margin: 0 auto;
  background: #1a160f;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 7px 7px;
}
.tv-screen {
  border-radius: 9px;
  overflow: hidden;
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg);
}

/* sections */
section { position: relative; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* features — a single ruled block rather than floating, shadowed cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card {
  background: var(--bg2);
  padding: 28px 24px 30px;
  transition: background 0.18s ease;
}
.card:hover { background: var(--surface); }
.card .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--border2);
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.005em; }
.card p { color: var(--muted); font-size: 14.5px; }

/* steps — editorial timeline with oversized serif numerals */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { border-top: 1px solid var(--border2); padding-top: 22px; }
.step .num {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 15px; }

/* pricing */
.pricing-band { background: var(--bg2); }
.price-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 14px 34px 36px;
  text-align: center;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.price-card::before {                          /* slim accent bar pinned to the top edge */
  content: "";
  position: absolute;
  top: -1px; left: 28px; right: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.price-card .plan {
  display: block;
  margin-top: 24px;
  font-weight: 600; font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.price-card .amount {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 54px; font-weight: 600;
  margin: 12px 0 2px; letter-spacing: -0.02em;
}
.price-card .amount span { font-family: var(--font-sans); font-size: 17px; font-weight: 500; color: var(--muted); }
.price-card .trial {
  display: inline-block;
  margin: 10px 0 24px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-weak);
  border: 1px solid var(--accent-line);
  padding: 5px 12px; border-radius: 7px;
}
.price-list { list-style: none; text-align: left; margin: 0 auto 26px; max-width: 320px; }
.price-list li { padding: 9px 0; color: var(--text); font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.disclaimer {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted2);
  font-size: 13.5px;
  line-height: 1.7;
}

/* faq */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  margin-bottom: 11px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--border2); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {                          /* chevron drawn from two borders; flips when open */
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin: -4px 4px 0;
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq details > p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* cta */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 600; margin-bottom: 14px; letter-spacing: -0.012em;
}
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer .brand { font-size: 16px; margin-bottom: 12px; }
.footer .tag { color: var(--muted2); font-size: 13.5px; max-width: 300px; line-height: 1.6; }
.footer-links { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted2); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* legal / long-form pages */
.page-head {
  padding: 60px 0 30px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--accent-weak), transparent);
}
.page-head h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600; letter-spacing: -0.015em;
}
.page-head .updated { color: var(--muted2); font-size: 14px; margin-top: 10px; }
.prose { max-width: 760px; margin: 0 auto; padding: 46px 24px 84px; }
.prose h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 25px; font-weight: 600;
  margin: 40px 0 12px; letter-spacing: -0.01em;
}
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.prose p { color: #d6cbb6; margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; color: #d6cbb6; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 5px;
}
.callout {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 14.5px;
}
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted2); margin-bottom: 12px; font-weight: 600; }
.toc ol { margin-left: 18px; color: var(--muted); }
.toc a { font-weight: 500; }

/* responsive */
@media (max-width: 900px) {
  .hero { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .tv-wrap { max-width: 520px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
}
