/* =========================================================================
   Site: cinematic broadcast theme
   ========================================================================= */
:root {
  --brand: #ff4b2b;               /* overridden from Settings */
  --bg: #070708;
  --bg-1: #0d0d0f;
  --bg-2: #141417;
  --bg-3: #1c1c20;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f1ec;
  --dim: #b3ada5;
  --mute: #7b766f;
  --ok: #3ccf7a;
  --warn: #ffb547;
  --bad: #ff5d55;
  --gutter: clamp(16px, 4vw, 72px);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 100; pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.display--xl { font-size: clamp(2.8rem, 7.5vw, 8.5rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 112%;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.lede { color: var(--dim); font-size: clamp(1rem, 1.15vw, 1.15rem); max-width: 54ch; }
.fine { color: var(--mute); font-size: .85rem; }
.fine a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.onair {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent);
  animation: onair 1.8s infinite;
}
@keyframes onair { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  background: var(--b); color: #fff;
  border: 1px solid var(--b); border-radius: 4px;
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease), box-shadow .25s;
}
.btn:hover { background: color-mix(in srgb, var(--b) 86%, #fff); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--b) 70%, transparent); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: .82rem; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }
.btn--line { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--line:hover { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn--wa { --b: #1fae5b; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim); font-weight: 500; transition: color .2s; }
.link:hover { color: var(--text); }

/* ---------- announcement ---------- */
.announce {
  position: relative; z-index: 60;
  background: var(--brand); color: #fff; text-align: center;
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: 9px var(--gutter);
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.hdr--overlay { position: fixed; left: 0; right: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent); }
.hdr.is-solid { background: rgba(7, 7, 8, .9); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); }
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.3rem;
  letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
}
.logo-mark {
  width: 14px; height: 22px; background: var(--brand);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.logo--lg { font-size: clamp(1.8rem, 3.4vw, 3rem); gap: 16px; }
.logo--lg .logo-mark { width: 22px; height: 34px; }
.hdr-nav { display: flex; gap: 30px; }
.hdr-nav a { color: var(--dim); font-weight: 500; font-size: .95rem; transition: color .2s; position: relative; }
.hdr-nav a:hover, .hdr-nav a.is-on { color: var(--text); }
.hdr-nav a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--brand); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.hdr-logout { margin: 0; }
.hdr-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.hdr-burger svg { width: 26px; height: 26px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 90; top: calc(var(--hdr-h) + 14px); right: var(--gutter);
  display: flex; align-items: flex-start; gap: 12px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 14px 16px; border-radius: 6px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-left: 3px solid var(--ok);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
  font-size: .95rem; animation: toast-in .5s var(--ease);
}
.toast--err { border-left-color: var(--bad); }
.toast > svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.toast--err > svg { color: var(--bad); }
.toast button { background: none; border: 0; padding: 2px; margin-left: auto; cursor: pointer; color: var(--mute); }
.toast button svg { width: 16px; height: 16px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hdr-h) + 40px) var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 9s linear;
}
.hero-img.is-on { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, .92) 0%, rgba(7, 7, 8, .55) 38%, rgba(7, 7, 8, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 8, .6) 22%, rgba(7, 7, 8, 0) 50%),
    radial-gradient(120% 70% at 100% 0%, transparent 40%, rgba(7, 7, 8, .45));
}
.hero-body { position: relative; max-width: min(1320px, 100%); padding-bottom: clamp(32px, 6vh, 64px); display: grid; }
.hero-copy { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .9s var(--ease); pointer-events: none; }
.hero-copy.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.hero-copy .kicker { color: var(--text); margin-bottom: 22px; }
.hero-title {
  font-family: var(--display); font-stretch: 122%; font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 7.4rem);
  line-height: .9; letter-spacing: -.035em; text-transform: uppercase;
  text-wrap: balance; max-width: 15ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: 24px; font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: #e2ddd6; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 20px; color: var(--dim); font-size: .92rem; }
.hero-note strong { color: var(--text); }

.hero-index {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px);
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
}
.hero-tab { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--mute); transition: color .3s; }
.hero-tab:hover, .hero-tab.is-on { color: var(--text); }
.hero-tab-n { font-family: var(--mono); font-size: .78rem; }
.hero-tab-t { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tab-bar { grid-column: 1 / -1; height: 2px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.hero-tab-bar i { display: block; height: 100%; width: 0; background: var(--brand); }
.hero-tab.is-on .hero-tab-bar i { animation: tabfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-tab.is-on .hero-tab-bar i { animation-play-state: paused; }
@keyframes tabfill { to { width: 100%; } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-1); padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker-group { display: flex; align-items: center; }
.ticker span {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.05rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--dim); padding: 0 26px; white-space: nowrap;
}
.ticker i { width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); flex-shrink: 0; }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================================
   RAILS
   ========================================================================= */
.rails { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); display: grid; gap: clamp(40px, 5vw, 64px); }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); margin-bottom: 18px; }
.rail-head h2 {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-stretch: 115%; font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.01em; text-transform: uppercase;
}
.rail-head p { color: var(--mute); margin-top: 6px; font-size: .95rem; }
.chip-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-stretch: 110%; font-size: .66rem; font-weight: 800; letter-spacing: .14em;
  padding: 4px 8px 4px 7px; border-radius: 3px; background: var(--brand); color: #fff;
}
.chip-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; color: var(--text);
  transition: background .2s, border-color .2s, opacity .2s;
}
.rail-nav button:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.rail-nav button:disabled { opacity: .25; pointer-events: none; }
.rail-nav svg { width: 18px; height: 18px; }

.rail-track {
  --card: clamp(250px, 23vw, 420px);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card); gap: clamp(10px, 1.1vw, 18px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 14px var(--gutter) 22px;
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail--feature .rail-track { --card: clamp(290px, 34vw, 640px); }
.rail--ranked .rail-track { --card: clamp(300px, 30vw, 520px); }

.tile { scroll-snap-align: start; position: relative; }
.tile-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.rail--feature .tile-frame { aspect-ratio: 16 / 10; }
.tile-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; filter: saturate(.92); }
.tile-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .1) 45%, transparent 70%); }
.tile:hover .tile-frame { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px -18px rgba(0, 0, 0, .9); }
.tile:hover img { transform: scale(1.06); filter: saturate(1.1); }
.tile-title {
  position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px;
  font-family: var(--display); font-stretch: 118%; font-weight: 850;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase;
}
.rail--feature .tile-title { font-size: clamp(1.4rem, 2.3vw, 2.3rem); left: 24px; bottom: 22px; }
.tile-tag {
  position: absolute; z-index: 1; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-stretch: 110%; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18);
}
.tile-tag.is-live { background: var(--brand); border-color: var(--brand); }
.tile-tag.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }

/* ranked rail: giant outlined numbers */
.rail--ranked .tile { --rank-w: clamp(78px, 7.5vw, 140px); display: grid; grid-template-columns: var(--rank-w) 1fr; align-items: end; }
.tile-rank {
  justify-self: end;
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(6rem, 10vw, 10.5rem); line-height: .74; letter-spacing: -.06em;
  color: var(--bg); -webkit-text-stroke: 2px rgba(255, 255, 255, .45);
  margin-right: -.08em; position: relative; z-index: 2; user-select: none;
}
.rail--ranked .tile-title { left: auto; right: 18px; text-align: right; }
.rail--ranked .tile-tag { left: auto; right: 14px; }

/* =========================================================================
   SPLIT (living room)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 88vh; border-top: 1px solid var(--line); }
.split-media { position: relative; margin: 0; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg)); }
.split-media figcaption {
  position: absolute; z-index: 1; left: var(--gutter); bottom: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 3px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px);
  font-family: var(--display); font-stretch: 110%; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.split-body { padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(56px, 8vw, 120px) clamp(32px, 5vw, 80px); align-self: center; }
.split-body .lede { margin-top: 26px; }
.features { list-style: none; margin: 44px 0 0; padding: 0; display: grid; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features svg { width: 28px; height: 28px; color: var(--brand); margin-top: 2px; }
.features h3 { font-family: var(--display); font-stretch: 110%; font-size: 1.12rem; font-weight: 750; }
.features p { color: var(--dim); margin-top: 4px; font-size: .97rem; }

/* =========================================================================
   DEVICES
   ========================================================================= */
.devices { padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line); background: radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%); }
.devices-head { margin-bottom: clamp(40px, 5vw, 64px); }
.device-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.device-grid li {
  display: grid; gap: 6px; align-content: start;
  padding: clamp(22px, 2.4vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.device-grid li:hover { background: var(--bg-1); }
.device-grid svg { width: 40px; height: 40px; color: var(--text); margin-bottom: 18px; stroke-width: 1.2; }
.device-grid li:hover svg { color: var(--brand); }
.device-grid strong { font-family: var(--display); font-stretch: 112%; font-size: 1.05rem; font-weight: 750; }
.device-grid span { color: var(--mute); font-size: .88rem; }
.devices .fine { margin-top: 18px; }

/* =========================================================================
   PLANS
   ========================================================================= */
.plans { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.plans-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.plans::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 8, .78) 30%, rgba(7, 7, 8, .9) 70%, var(--bg) 100%); }
.plans-in { padding: clamp(80px, 11vw, 160px) var(--gutter); }
.plans-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.plans-head .kicker { grid-column: 1 / -1; margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 2.6vw, 40px);
  background: rgba(10, 10, 12, .88); backdrop-filter: blur(14px);
  transition: background .3s;
}
.plan:hover { background: rgba(18, 18, 21, .92); }
.plan--hot { background: rgba(16, 12, 12, .94); box-shadow: inset 0 3px 0 var(--brand); }
.plan-flag {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--display); font-stretch: 110%; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.plan-name { font-family: var(--display); font-stretch: 112%; font-size: .9rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.plan-price {
  margin-top: 26px;
  font-family: var(--display); font-stretch: 118%; font-weight: 900;
  font-size: clamp(2.6rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.plan-meta { margin-top: 12px; color: var(--mute); font-size: .9rem; min-height: 2.9em; }
.plan-meta strong { color: var(--text); font-weight: 600; }
.plan-list { list-style: none; margin: 26px 0 32px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 12px; color: #dcd7d0; font-size: .97rem; }
.plan-list svg { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.plan form { margin: 0; }

/* =========================================================================
   STEPS / FAQ / FINALE
   ========================================================================= */
.steps { padding: clamp(72px, 9vw, 130px) var(--gutter); border-top: 1px solid var(--line); }
.step-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.step-list li { padding: 28px clamp(20px, 3vw, 48px) 8px 0; border-top: 2px solid var(--line-2); position: relative; }
.step-list li::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--brand); }
.step-n {
  display: block; margin-bottom: 26px;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(4rem, 7vw, 7rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35);
}
.step-list h3 { font-family: var(--display); font-stretch: 112%; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.step-list p { margin-top: 10px; color: var(--dim); max-width: 34ch; }

.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 120px); padding: clamp(72px, 9vw, 130px) var(--gutter); border-top: 1px solid var(--line); }
.faq-side .lede { margin: 24px 0 26px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--display); font-stretch: 108%; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--mute); transition: transform .3s var(--ease), color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq-list p { color: var(--dim); padding: 0 0 26px; max-width: 64ch; }
.faq-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.finale { position: relative; isolation: isolate; overflow: hidden; min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.finale img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(7, 7, 8, .62), rgba(7, 7, 8, .94)), linear-gradient(180deg, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.finale img { filter: saturate(.75); }
.finale .btn { margin-top: 44px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-1); padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
.ftr-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.ftr-brand p { color: var(--mute); margin-top: 18px; max-width: 36ch; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftr-cols h4 { font-family: var(--display); font-stretch: 112%; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.ftr-cols a { display: block; color: var(--dim); padding: 5px 0; transition: color .2s; word-break: break-word; }
.ftr-cols a:hover { color: var(--text); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: .84rem; }

/* =========================================================================
   INNER PAGES (account, guides, auth, order)
   ========================================================================= */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 10%, rgba(7, 7, 8, .55)), linear-gradient(0deg, var(--bg), transparent 60%); }
.page-hero .display { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.page-hero .lede { margin-top: 18px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page { padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(64px, 8vw, 110px); }
.page--narrow { max-width: 820px; margin: 0 auto; }
.section-title { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.6rem); text-transform: uppercase; letter-spacing: -.005em; margin: 0 0 20px; }
.stack { display: grid; gap: clamp(32px, 4vw, 56px); }

.panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 2.4vw, 32px); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-family: var(--display); font-stretch: 112%; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-left: 3px solid var(--warn); }
.notice strong { display: block; }
.notice p { color: var(--dim); font-size: .95rem; }

/* subscription "pass" */
.pass { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; background: var(--bg-1); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pass + .pass { margin-top: 18px; }
.pass-side { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 22%, var(--bg-2)), var(--bg-2) 60%); border-right: 1px dashed var(--line-2); }
.pass--expired .pass-side, .pass--disabled .pass-side { background: var(--bg-2); }
.pass-name { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.pass-days { margin-top: auto; padding-top: 28px; font-family: var(--display); font-stretch: 122%; font-weight: 900; font-size: 4rem; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pass-days small { display: block; margin-top: 10px; font-family: var(--body); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.pass-body { padding: 24px 28px; display: grid; gap: 16px; align-content: start; }
.pass-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pass-renew { display: flex; gap: 8px; margin: 0; }
.pass-renew select { height: 38px; width: auto; padding: 0 12px; }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 99px; width: max-content; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-active, .s-completed { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.s-expiring, .s-pending { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.s-expired, .s-rejected { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.s-disabled, .s-cancelled { color: var(--mute); background: rgba(255, 255, 255, .06); }

.creds { display: grid; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.cred { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cred:last-child { border-bottom: 0; }
.cred-k { color: var(--mute); font-size: .82rem; font-weight: 500; }
.cred-v { font-family: var(--mono); font-size: .92rem; color: var(--text); word-break: break-all; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 4px; cursor: pointer;
  color: var(--dim); font-size: .8rem; font-weight: 600; transition: all .2s;
}
.copy:hover { color: var(--text); border-color: var(--text); }
.copy svg { width: 14px; height: 14px; }
.copy.is-done { background: var(--ok); border-color: var(--ok); color: #04210f; }

.plan-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.plan-pick form { margin: 0; }
.pick {
  width: 100%; height: 100%; text-align: left; cursor: pointer;
  display: grid; gap: 4px; padding: 20px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: 6px; color: var(--text);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.pick:hover { border-color: var(--brand); background: var(--bg-2); transform: translateY(-2px); }
.pick--hot { border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.pick-name { font-family: var(--display); font-stretch: 112%; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pick-price { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 2rem; letter-spacing: -.03em; }
.pick-meta { color: var(--mute); font-size: .85rem; }
.pick-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: .9rem; }
.pick-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.pick:hover .pick-cta svg { transform: translateX(4px); }

.confirm-plan { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px solid var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--bg-1)); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { text-align: left; font-family: var(--display); font-stretch: 110%; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--dim); }
.field small { color: var(--mute); font-size: .8rem; }
input, select, textarea {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 4px;
  font: inherit; font-size: 1rem; outline: none;
  transition: border-color .2s, background .2s;
}
textarea { height: auto; padding: 12px 16px; resize: vertical; }
input:hover, select:hover { border-color: rgba(255, 255, 255, .26); }
input:focus, select:focus, textarea:focus { border-color: var(--text); background: var(--bg-3); }
input:disabled { opacity: .55; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { padding: 12px 14px; border-radius: 4px; border-left: 3px solid var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); font-size: .93rem; }
.form-note { padding: 12px 14px; border-radius: 4px; border-left: 3px solid var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); font-size: .93rem; }
.form-note a, .form-error a { text-decoration: underline; }

/* auth split */
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100svh - var(--hdr-h)); }
.auth-media { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 7, 8, .95), rgba(7, 7, 8, .2) 60%), linear-gradient(90deg, transparent 70%, var(--bg)); }
.auth-media .display { font-size: clamp(2.2rem, 4.6vw, 4.8rem); }
.auth-media .lede { margin-top: 18px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.auth-box { width: 100%; max-width: 440px; }
.auth-box h1 { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: clamp(2rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: -.025em; }
.auth-box > p { color: var(--dim); margin: 10px 0 30px; }
.auth-alt { margin-top: 26px; color: var(--mute); font-size: .93rem; text-align: center; }
.auth-alt a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* guides */
.guide-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.guide-nav a { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .9rem; font-weight: 600; color: var(--dim); transition: all .2s; }
.guide-nav a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.guide { scroll-margin-top: calc(var(--hdr-h) + 20px); }
.guide-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.guide-head svg { width: 38px; height: 38px; color: var(--brand); }
.guide-head h2 { margin: 0 !important; }
.guide-head p { color: var(--mute); font-size: .9rem; }
.guide ol, .guide ul { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.guide ol li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: #dcd7d0; }
.guide ol li::before { content: counter(s); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .8rem; color: var(--dim); }
.guide ul li { padding-left: 18px; position: relative; color: #dcd7d0; }
.guide ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); }
.guide strong { color: var(--text); }
.guide a { text-decoration: underline; text-underline-offset: 3px; }

/* order */
.kv { display: grid; grid-template-columns: 140px 1fr; margin: 0; border-top: 1px solid var(--line); }
.kv dt, .kv dd { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { color: var(--mute); font-size: .9rem; }
.next-steps ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--dim); }
.next-steps li::before { content: counter(s); font-family: var(--mono); color: var(--brand); font-weight: 500; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: .9rem; margin-bottom: 18px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }
.center { text-align: center; }
.muted { color: var(--mute); }
.mt { margin-top: 18px; }

/* error */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.error-page .lede { margin: 20px auto 32px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
  .device-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hdr-nav { gap: 22px; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { min-height: 62vw; }
  .split-media::after { background: linear-gradient(0deg, var(--bg), transparent 40%); }
  .split-body { padding: 48px var(--gutter) 72px; }
  .plans-head { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-media { min-height: 38vh; }
  .auth-media::before { background: linear-gradient(0deg, var(--bg), rgba(7, 7, 8, .3) 70%); }
}
@media (max-width: 860px) {
  :root { --hdr-h: 64px; }
  .hdr-in { gap: 16px; }
  .hdr-burger { display: block; }
  .hdr-signin, .hdr-logout { display: none; }
  .hdr-nav {
    position: fixed; top: var(--hdr-h); left: 0; right: 0; height: calc(100dvh - var(--hdr-h)); overflow-y: auto;
    flex-direction: column; gap: 0; padding: 12px var(--gutter);
    background: rgba(7, 7, 8, .98); backdrop-filter: blur(20px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .hdr-nav a { font-family: var(--display); font-stretch: 115%; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .menu-open .hdr-nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .hdr { background: var(--bg); backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .hero-index { grid-template-columns: repeat(var(--n, 4), 1fr); }
  .hero-tab-t { display: none; }
  .rail-nav { display: none; }
  .step-list { grid-template-columns: 1fr; gap: 12px; }
  .pass { grid-template-columns: 1fr; }
  .pass-side { border-right: 0; border-bottom: 1px dashed var(--line-2); }
  .pass-days { font-size: 3rem; padding-top: 18px; }
  .confirm-plan { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .btn--lg { height: 54px; padding: 0 22px; width: 100%; }
  .hero-cta { flex-direction: column; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .cred { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .cred-k { grid-column: 1 / -1; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 0; border-bottom: 0; }
  .kv dd { padding-top: 4px; }
  .rail-track { --card: 78vw; }
  .rail--feature .rail-track { --card: 86vw; }
  .rail--ranked .rail-track { --card: 82vw; }
  .tile-rank { font-size: 6rem; }
  .toast { left: 16px; right: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}

.small { font-size: .86rem; }
.pay-panel h2 { margin-bottom: 10px; }
.pay-panel form { margin-top: 18px; }
