:root {
  --bg: #070a0d;
  --bg-2: #0d1216;
  --ink: #f4f7f2;
  --muted: #aab6ad;
  --dim: #77847d;
  --line: rgba(205, 230, 215, 0.13);
  --line-strong: rgba(205, 230, 215, 0.22);
  --panel: rgba(12, 17, 20, 0.92);
  --mint: #72f2a7;
  --gold: #f2c94c;
  --orange: #ff8c42;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --pad: clamp(18px, 4.8vw, 72px);
  --max: 1200px;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --sans: "Sora", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

html {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 76% -8%, rgba(114, 242, 167, 0.1), transparent 62%),
    linear-gradient(180deg, #070a0d 0%, #0a0e11 44%, #070a0d 100%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--mint); color: #06100b; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px var(--pad);
  background: rgba(8, 9, 10, 0.82);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  backdrop-filter: blur(16px) saturate(1.2);
  transition:
    max-width 340ms cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 340ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 340ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 340ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

/* Scrolled: collapse the full-bleed bar into a centered floating pill. */
.nav[data-scrolled] {
  max-width: min(1120px, calc(100% - 28px));
  margin-top: 12px;
  padding: 9px 16px 9px 18px;
  background: rgba(11, 15, 17, 0.86);
  border-color: var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

@media (prefers-reduced-motion: reduce) {
  .nav { transition: background 240ms ease, border-color 240ms ease; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(114, 242, 167, 0.22));
}

.nav-links, .nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-links { color: var(--muted); font-size: 13px; }
.nav-links a, .nav-login { transition: color 160ms ease; }
.nav-links a:hover, .nav-login:hover { color: var(--mint); }
.nav-login { color: var(--muted); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #07100b; background: var(--mint); border-color: rgba(114, 242, 167, 0.8); box-shadow: 0 14px 34px rgba(28, 190, 115, 0.24); }
.btn-primary:hover { background: #9dffc6; }
.btn-glass { color: var(--ink); border-color: var(--line-strong); background: rgba(247, 241, 223, 0.06); }
.btn-glass:hover { border-color: rgba(114, 242, 167, 0.48); background: rgba(114, 242, 167, 0.09); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 24px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(96px, 13vh, 152px) var(--pad) clamp(40px, 6vh, 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: -6% -4% -4% 38%;
  opacity: 0.88;
  transform: rotate(-4deg);
}

.hero-shot {
  position: absolute;
  width: min(43vw, 650px);
  min-width: 300px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(247, 241, 223, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(1.12) contrast(1.03);
}

.hero-shot-a { top: 8%; left: 8%; }
.hero-shot-b { top: 31%; left: 31%; }
.hero-shot-c { top: 56%; left: 3%; }
.hero-shot-d { top: 69%; left: 44%; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.98) 0%, rgba(8, 9, 10, 0.83) 39%, rgba(8, 9, 10, 0.26) 76%, rgba(8, 9, 10, 0.78) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.95), transparent 35%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.78), transparent 28%);
}

.hero-inner { position: relative; z-index: 1; width: min(760px, 100%); }

.eyebrow, .section-kicker, .mini-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--mint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 10px;
  border: 1px solid rgba(114, 242, 167, 0.26);
  background: rgba(114, 242, 167, 0.08);
  border-radius: 5px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(114, 242, 167, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(114, 242, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(114, 242, 167, 0); }
}

.hero h1, .section-head h2, .fit-grid h2, .cta-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 { max-width: 780px; font-size: clamp(46px, 6.3vw, 88px); }
.hero-copy { max-width: 640px; margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: clamp(22px, 3vw, 34px) 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div { padding: 16px; background: rgba(8, 9, 10, 0.74); }
.hero-stats dt { margin-bottom: 6px; color: var(--dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--ink); }

.intro-band, .section, .cta-section, .footer {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.intro-band { padding: clamp(44px, 6vw, 78px) 0; }
.intro-line { display: grid; grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.4fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.intro-line span { color: var(--dim); font-family: var(--mono); text-transform: uppercase; font-size: 12px; }
.intro-line strong { max-width: 920px; font-family: var(--display); font-size: clamp(30px, 4.4vw, 56px); font-weight: 800; line-height: 1.06; }
.intro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 1px; border: 1px solid var(--line); background: var(--line); }
.intro-grid article { padding: 24px; background: rgba(16, 17, 20, 0.86); }
.intro-grid p, .feature-card p, .flow-step p, .fit-grid li, .faq-item p, .cta-copy p, .footer p, .section-head p, .pain-list p, .source-note { color: var(--muted); }
.intro-grid p { margin: 12px 0 0; font-size: 15px; }

.section { padding: clamp(64px, 9vw, 118px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 740px; margin-top: 14px; margin-bottom: clamp(32px, 5vw, 58px); }
.section-head.wide { max-width: 940px; }
.section-head h2, .fit-grid h2, .cta-copy h2 { font-size: clamp(34px, 5vw, 64px); }
.section-head p { max-width: 760px; margin: 20px 0 0; font-size: clamp(15.5px, 1.35vw, 18px); }

.game-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.game-card { position: relative; min-height: 240px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.game-card-large { grid-column: span 2; grid-row: span 2; min-height: 492px; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease, filter 260ms ease; }
.game-card:hover img { transform: scale(1.035); filter: saturate(1.18); }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 9, 10, 0.92) 100%); }
.game-card-body { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; }
.game-card-body span { display: block; margin-bottom: 5px; color: var(--mint); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.game-card-body strong { display: block; font-size: clamp(18px, 2.4vw, 32px); line-height: 1.05; }
.source-note { margin: 16px 0 0; font-size: 12px; }

.split { display: grid; grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr); gap: clamp(32px, 7vw, 82px); align-items: start; }
.pain-list { border: 1px solid var(--line); background: var(--line); display: grid; gap: 1px; }
.pain-list div { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 22px; background: rgba(16, 17, 20, 0.88); }
.pain-list span, .card-index, .flow-step span { color: var(--orange); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.pain-list strong { display: block; font-size: 18px; }
.pain-list p { grid-column: 2; margin: -4px 0 0; font-size: 14px; }

.cockpit { border: 1px solid rgba(114, 242, 167, 0.22); border-radius: var(--radius); background: linear-gradient(135deg, rgba(114, 242, 167, 0.07), transparent 42%), rgba(10, 14, 17, 0.96); box-shadow: var(--shadow); overflow: hidden; }
.cockpit-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); }
.cockpit-top strong { display: block; margin-top: 4px; font-size: 22px; }
.cockpit-health { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.health-dot, .danger-dot { width: 8px; height: 8px; flex: 0 0 8px; }
.health-dot { background: var(--mint); }
.slot-list { display: grid; gap: 10px; padding: 16px; }
.slot-row { display: grid; grid-template-columns: 156px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8, 12, 14, 0.72); padding: 10px; }
.slot-row img { width: 156px; height: 92px; object-fit: cover; border-radius: 6px; }
.slot-main { min-width: 0; }
.slot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.slot-row h3 { margin: 0 0 2px; font-size: 18px; line-height: 1.15; }
.slot-row p { margin: 0; color: var(--muted); font-size: 13px; }
.slot-id, .status-pill, .chips span { font-family: var(--mono); font-size: 10px; border: 1px solid var(--line); background: rgba(8, 9, 10, 0.78); color: var(--ink); padding: 4px 6px; border-radius: 4px; }
.status-pill.running { color: var(--mint); }
.status-pill.warning { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.signal-row { display: grid; grid-template-columns: 8px max-content 1fr max-content; gap: 12px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.danger-dot { background: var(--orange); }
.signal-row p { margin: 0; color: var(--muted); font-size: 13px; }
.signal-row button { border: 1px solid rgba(114, 242, 167, 0.34); background: rgba(114, 242, 167, 0.1); color: var(--mint); border-radius: 5px; padding: 8px 10px; font-family: var(--mono); font-size: 11px; }

/* live view + remote control showcase */
.liveview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.84fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.liveview-window {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(114, 242, 167, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 11, 13, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 18, 0.92);
}
.lv-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lv-bar-right { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lv-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--mint); }
.lv-close { padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 10px; color: var(--muted); }

.lv-body {
  position: relative;
  flex: 1;
  min-height: 286px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 12%, rgba(114, 242, 167, 0.05), transparent 60%), rgba(6, 9, 11, 0.9);
}
.lv-scene {
  position: absolute;
  inset: 0;
  filter: blur(2px);
  opacity: 0.7;
  background:
    radial-gradient(40% 50% at 22% 28%, rgba(242, 201, 76, 0.14), transparent 70%),
    radial-gradient(45% 55% at 80% 76%, rgba(114, 242, 167, 0.13), transparent 72%),
    linear-gradient(160deg, rgba(20, 28, 24, 0.6), rgba(8, 11, 13, 0.18));
}

.lv-gui {
  position: relative;
  z-index: 1;
  width: min(300px, 92%);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(11, 15, 18, 0.97);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.lv-gui-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.lv-gui-head strong { font-size: 13px; }
.lv-gui-head span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--dim); }
.lv-gui-body { display: grid; gap: 8px; padding: 12px; }
.lv-toggle, .lv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: rgba(8, 9, 10, 0.62); font-size: 12.5px; }
.lv-toggle-live { border-color: rgba(114, 242, 167, 0.5); box-shadow: 0 0 0 1px rgba(114, 242, 167, 0.16); }
.lv-switch { position: relative; width: 32px; height: 18px; flex: 0 0 auto; border-radius: 999px; background: rgba(247, 241, 223, 0.12); }
.lv-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--dim); transition: left 200ms ease, background 200ms ease; }
.lv-switch.on { background: rgba(114, 242, 167, 0.3); }
.lv-switch.on::after { left: 16px; background: var(--mint); }
.lv-mini-track { position: relative; width: 92px; height: 6px; flex: 0 0 auto; border-radius: 999px; background: rgba(247, 241, 223, 0.1); }
.lv-mini-fill { position: absolute; inset: 0 38% 0 0; border-radius: 999px; background: var(--mint); }
.lv-mini-fill::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 2px solid #07100b; }

.lv-cursor { position: absolute; z-index: 2; left: 63%; top: 50%; width: 16px; height: 16px; }
.lv-cursor::before, .lv-cursor::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.lv-cursor::before { width: 16px; height: 16px; transform: translate(-50%, -50%); border: 1.5px solid var(--ink); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); }
.lv-cursor::after { width: 26px; height: 26px; transform: translate(-50%, -50%); border: 1.5px solid rgba(114, 242, 167, 0.7); opacity: 0; }

.lv-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--dim); }
.lv-foot-note { text-align: right; color: var(--dim); }

.lv-points { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.lv-points li { padding: clamp(18px, 2.4vw, 26px); background: rgba(16, 17, 20, 0.88); }
.lv-points .mini-label { display: block; margin-bottom: 10px; }
.lv-points h3 { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.15; }
.lv-points p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .lv-cursor { animation: lvNudge 3.4s ease-in-out infinite; }
  .lv-cursor::after { animation: lvPing 3.4s ease-out infinite; }
}
@keyframes lvNudge {
  0%, 58%, 100% { transform: translate(0, 0); }
  64% { transform: translate(0, 2px); }
}
@keyframes lvPing {
  0%, 58% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  66% { opacity: 0.85; transform: translate(-50%, -50%) scale(0.62); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-card, .flow-step, .plan-card, .fit-grid article, .faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.feature-card { min-height: 220px; padding: 24px; }
.feature-card h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.16; }
.feature-card p { margin: 0; font-size: 14px; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow-step { padding: 22px; min-height: 250px; }
.flow-step h3 { margin: 42px 0 10px; font-size: 21px; line-height: 1.16; }
.flow-step p { margin: 0; font-size: 14px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.trust-row span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: rgba(247, 241, 223, 0.045); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.pricing-shell { display: grid; gap: 14px; }
.pricing-topline {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(114, 242, 167, 0.07), transparent 54%), rgba(12, 17, 20, 0.86);
}
.pricing-topline h3, .pricing-calc h3 { margin: 8px 0 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.06; }
.pricing-topline p, .calc-copy p, .calc-result small { margin: 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-card { position: relative; padding: 24px; display: flex; flex-direction: column; min-height: 500px; }
.plan-card-compact { min-height: 390px; padding: 22px; }
.plan-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.plan-card header span { color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.plan-card header strong { font-size: 22px; }
.featured { border-color: rgba(114, 242, 167, 0.66); background: linear-gradient(180deg, rgba(114, 242, 167, 0.12), transparent 44%), var(--panel); }
.plan-ribbon { position: absolute; top: -13px; left: 24px; padding: 5px 9px; border: 1px solid rgba(114, 242, 167, 0.6); border-radius: 4px; background: #0d1f16; color: var(--mint); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.price { margin: 44px 0 22px; font-family: var(--display); font-weight: 800; font-size: clamp(58px, 7vw, 78px); line-height: 0.86; }
.price span, .price small { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.price span { display: block; margin-bottom: 10px; }
.price small { margin-left: 6px; }
.btn-plan { width: 100%; margin-bottom: 24px; border-color: var(--line-strong); background: rgba(247, 241, 223, 0.06); }
.btn-plan-main { background: var(--mint); color: #07100b; border-color: var(--mint); }
.plan-card ul { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-card li, .fit-grid li { position: relative; padding-left: 18px; font-size: 14px; }
.plan-card li::before, .fit-grid li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 2px; background: var(--mint); }

.pricing-calc {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(114, 242, 167, 0.24);
  border-radius: var(--radius);
  background: var(--line);
}
.calc-copy, .calc-panel { padding: clamp(22px, 3.2vw, 34px); background: rgba(10, 14, 17, 0.94); }
.calc-copy p { margin-top: 16px; max-width: 540px; }
.calc-panel { display: grid; gap: 18px; }
.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(247, 241, 223, 0.04);
}
.billing-option {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.billing-option.active {
  color: #07100b;
  background: var(--mint);
  border-color: rgba(114, 242, 167, 0.8);
}
.range-field { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.range-field span, .calc-result span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.range-field strong { font-size: 42px; line-height: 0.9; }
.range-wrap { display: grid; gap: 9px; }
.slot-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.slot-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right,
    var(--mint) 0%, var(--mint) var(--range-fill, 10%),
    rgba(247, 241, 223, 0.09) var(--range-fill, 10%), rgba(247, 241, 223, 0.09) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slot-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid #07100b;
  box-shadow: 0 0 0 1px rgba(114, 242, 167, 0.55), 0 6px 16px rgba(28, 190, 115, 0.35);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.slot-range:hover::-webkit-slider-thumb,
.slot-range:active::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(114, 242, 167, 0.18), 0 6px 18px rgba(28, 190, 115, 0.45);
}
.slot-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 241, 223, 0.09);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slot-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--mint); }
.slot-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid #07100b;
  box-shadow: 0 0 0 1px rgba(114, 242, 167, 0.55), 0 6px 16px rgba(28, 190, 115, 0.35);
}
.slot-range:focus-visible { outline: none; }
.slot-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(114, 242, 167, 0.3); }
.slot-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(114, 242, 167, 0.3); }
.range-scale { display: flex; justify-content: space-between; }
.range-scale span { color: var(--dim); font-family: var(--mono); font-size: 10px; }
.calc-result {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.76);
}
.calc-result strong { font-family: var(--display); font-size: clamp(40px, 5vw, 62px); line-height: 0.96; }
.btn-calc {
  margin-bottom: 0;
  color: #07100b;
  background: var(--mint);
  border-color: rgba(114, 242, 167, 0.8);
  box-shadow: 0 14px 34px rgba(28, 190, 115, 0.24);
}
.btn-calc:hover { background: #9dffc6; }

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fit-grid article { padding: clamp(24px, 4vw, 42px); }
.fit-grid h2 { margin-top: 12px; max-width: 560px; font-size: clamp(30px, 4.2vw, 54px); }
.fit-grid ul { display: grid; gap: 13px; margin-top: 26px; }

.faq-list { display: grid; gap: 8px; max-width: 900px; }
.faq-item { overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--mint); font-family: var(--mono); text-align: right; transition: transform 160ms ease; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; max-width: 780px; font-size: 14.5px; }

.cta-section { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: end; gap: 28px; padding: clamp(54px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.cta-copy h2 { margin-top: 12px; }
.cta-copy p { max-width: 680px; margin: 20px 0 0; }
.cta-actions { display: flex; gap: 10px; }

.footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: start; padding: 34px 0 56px; border-top: 1px solid var(--line); }
.footer p { max-width: 430px; margin: 12px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--mint); }
.footer-legal { display: grid; gap: 5px; justify-items: end; color: var(--dim); font-size: 12px; }

/* guide cards - used on the homepage field-notes section and on guide pages */
.guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-link {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}
.guide-link:hover { transform: translateY(-4px); border-color: rgba(114, 242, 167, 0.42); box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34); }
.guide-link .mini-label { display: block; margin-bottom: 10px; }
.guide-link h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.guide-link p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .hero-media { inset: 2% -20% -8% 28%; }
  .game-strip, .feature-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-calc { grid-template-columns: 1fr; }
  .game-card-large { min-height: 420px; }
  .split, .cta-section, .liveview-grid { grid-template-columns: 1fr; }
  .signal-row { grid-template-columns: 8px 1fr max-content; }
  .signal-row p { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .nav { padding: 14px 18px; }
  .nav-actions { gap: 10px; }
  .nav-login { display: none; }
  .nav .btn-sm { min-width: 94px; padding: 0 12px; }
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-media { inset: -3% -72% 24% -8%; opacity: 0.74; transform: rotate(-7deg) scale(0.9); }
  .hero-scrim { background: linear-gradient(180deg, rgba(8, 9, 10, 0.2), rgba(8, 9, 10, 0.98) 62%), linear-gradient(90deg, rgba(8, 9, 10, 0.76), transparent); }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-stats, .intro-line, .intro-grid, .game-strip, .feature-grid, .flow, .plans, .fit-grid, .footer, .pricing-topline, .guides-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats div { padding: 12px 10px; }
  .hero-stats dt { font-size: 9px; }
  .hero-stats dd { font-size: 12px; }
  .pricing-topline { padding: 18px; }
  .plan-card-compact { min-height: auto; }
  .calc-copy, .calc-panel { padding: 20px; }
  .game-card, .game-card-large { min-height: 260px; grid-column: auto; grid-row: auto; }
  .cockpit-top, .cta-actions { align-items: flex-start; flex-direction: column; }
  .slot-row { grid-template-columns: 96px 1fr; gap: 10px; padding: 8px; }
  .slot-row img { width: 96px; height: 76px; }
  .slot-head { margin-bottom: 5px; }
  .slot-row h3 { font-size: 15px; }
  .slot-row p { font-size: 11.5px; }
  .chips { gap: 4px; margin-top: 7px; }
  .chips span { font-size: 9px; padding: 3px 5px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .signal-row { grid-template-columns: 8px 1fr; }
  .signal-row button { grid-column: 2; width: max-content; }
  .footer-legal { justify-items: start; }
  .lv-foot { flex-direction: column; align-items: flex-start; gap: 5px; }
  .lv-foot-note { text-align: left; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { padding: 12px; }
}

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

/* scroll-reveal + entrance motion (gated on .reveal-on so no-JS shows everything) */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

.reveal-on .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.30s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.37s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.44s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.51s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.58s; }
.reveal-on .reveal-stagger.is-visible > *:nth-child(n + 10) { transition-delay: 0.64s; }

/* card hover lift - kills the "everything is a flat box" feel */
.feature-card,
.flow-step,
.intro-grid article,
.fit-grid article,
.plan-card {
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}
.feature-card:hover,
.flow-step:hover,
.intro-grid article:hover,
.fit-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}
.plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 242, 167, 0.42);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
}
.plan-card.featured:hover { border-color: rgba(114, 242, 167, 0.82); }

/* drifting hero screenshots + one-shot media entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot { animation: heroFloat 7.5s ease-in-out infinite; }
  .hero-shot-b { animation-duration: 8.6s; animation-delay: -1.6s; }
  .hero-shot-c { animation-duration: 9.2s; animation-delay: -3.1s; }
  .hero-shot-d { animation-duration: 8.1s; animation-delay: -2.3s; }
}

@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@media (min-width: 1061px) and (prefers-reduced-motion: no-preference) {
  .hero-media { animation: heroMediaIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

@keyframes heroMediaIn {
  from { opacity: 0; transform: rotate(-4deg) translateY(22px) scale(1.015); }
  to { opacity: 0.88; transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal,
  .reveal-on .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-media, .hero-shot { animation: none !important; }
}
