/* SubX Player — landing page
   Premium media-software system. Replace .media-slot contents with final assets. */

:root {
  --ink: #0c1116;
  --ink-2: #1a222c;
  --muted: #4d5966;
  --faint: #7a8794;
  --line: #e4e8ee;
  --line-strong: #d3dbe4;
  --bg: #f5f6f8;
  --bg-2: #eef0f3;
  --surface: #ffffff;
  --brand: #0a7ec2;
  --brand-text: #0560a0;
  --brand-dark: #0866a0;
  --brand-soft: #e8f3fb;
  --sub-orig: #f5d76e;
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --measure: 42rem;
  --header-h: 4.25rem;
  --shadow: 0 24px 56px -24px rgba(12, 17, 22, 0.28);
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 0.98rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }

a { color: var(--brand-text); }
a:hover { color: var(--brand-dark); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #1a222c; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-on-dark {
  background: #fff;
  color: var(--ink);
}
.btn-on-dark:hover { background: #f0f2f5; color: var(--ink); }
.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-on-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-sm { padding: 0.62rem 1rem; font-size: 0.875rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.store-badges a { line-height: 0; }
.store-badge { width: 10.25rem; height: auto; }

/* ── Layout ── */
.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.section {
  padding: clamp(4.25rem, 9vw, 8.25rem) 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
#demo, #download { scroll-margin-top: calc(var(--header-h) + 0.75rem); }
.section-head {
  max-width: var(--measure);
  margin-bottom: 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.9rem;
}
.lede {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 42rem;
}
.section-head.center .lede { margin-inline: auto; }

.prose-width { max-width: var(--measure); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(245, 246, 248, 0.86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(12, 17, 22, 0.06);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo img.logo-mark { width: 2.15rem; height: 2.15rem; }
.nav-logo .nav-wordmark {
  height: 1.05rem;
  width: auto;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: rgba(12, 17, 22, 0.04); }
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle-bars {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.25rem;
  box-shadow: 0 16px 32px rgba(12, 17, 22, 0.08);
}
body.is-nav-open { overflow: hidden; }
.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-drawer a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:last-child { border-bottom: 0; }

@media (min-width: 960px) {
  .nav-links { display: flex; margin-left: 0.5rem; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none !important; }
}

/* ── Hero ── */
.hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero-grid {
  display: grid;
  gap: 2.75rem;
}
.hero-copy { max-width: 58rem; }
.hero h1 { margin-bottom: 1.15rem; }
.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 40rem;
  margin-bottom: 0.85rem;
}
.hero-tagline {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.hero .store-badges { margin-bottom: 1rem; }
.hero-meta {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--faint);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero .media-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1067;
  object-fit: contain;
}

@media (min-width: 960px) {
  .hero-grid { gap: 3.25rem; }
}

/* ── Media slots / placeholders ── */
.media-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #14181e;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.media-slot img,
.media-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  background:
    radial-gradient(120% 80% at 50% 0%, #2a3340 0%, transparent 55%),
    linear-gradient(180deg, #1b2129 0%, #10141a 100%);
  color: rgba(255, 255, 255, 0.55);
  min-height: 12rem;
}
.media-ph[data-ratio="16/9"] { aspect-ratio: 16 / 9; }
.media-ph[data-ratio="21/9"] { aspect-ratio: 21 / 9; }
.media-ph[data-ratio="4/3"] { aspect-ratio: 4 / 3; }
.media-ph[data-ratio="3/4"] { aspect-ratio: 3 / 4; }
.media-ph[data-ratio="1/1"] { aspect-ratio: 1 / 1; }
.media-ph-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  padding: 0 1rem;
  z-index: 1;
}
.media-ph-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
}

/* Player mock — schematic, not final product art */
.player-mock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 28%, transparent 58%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(80% 60% at 70% 30%, #3a5a72 0%, transparent 50%),
    linear-gradient(160deg, #2b3d4a 0%, #1a2832 48%, #12181e 100%);
}
.player-mock-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.player-mock-icons {
  display: flex;
  gap: 0.7rem;
  opacity: 0.7;
}
.player-mock-icons span {
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}
.player-mock-subs {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem 1.1rem;
  margin-bottom: 0.15rem;
}
.sub-orig,
.sub-tr {
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sub-orig {
  color: var(--sub-orig);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  margin-bottom: 0.2rem;
}
.sub-tr {
  color: #fff;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  font-weight: 500;
}
.player-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  color: #fff;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}
.play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  flex-shrink: 0;
}
.scrub {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  position: relative;
}
.scrub::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 32%;
  background: var(--brand);
  border-radius: 99px;
}
.scrub::before {
  content: "";
  position: absolute;
  left: 32%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ── Demo ── */
.demo { background: var(--surface); }
.demo-video { margin-bottom: 2.5rem; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #14181e;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-fallback {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--faint);
  text-align: center;
}
.video-embed-fallback {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  padding: 1.35rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.45rem;
}
.step h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}

/* ── Proof ── */
.proof { background: var(--bg); }
.reviews {
  display: grid;
  gap: 1rem;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem;
}
.review-stars {
  color: #c48a12;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.review blockquote {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.review figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.review-platform { font-weight: 500; color: var(--faint); }

@media (min-width: 700px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

/* ── Concept ── */
.concept {
  background: #11151a;
  color: #eceff3;
}
.concept h2,
.concept h3 { color: #fff; }
.concept .eyebrow { color: #7ecfff; }
.concept .lede { color: rgba(255, 255, 255, 0.68); }
.concept-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.concept-copy { max-width: 34rem; }
.concept-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.concept-points li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}
.concept-points strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 0.15rem;
}
.tagline-dark {
  margin-top: 1.5rem;
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}
.concept .media-slot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 900px) {
  .concept-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
}

/* ── Workflows ── */
.workflows { background: var(--bg); }
.workflow {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.workflow:last-child { margin-bottom: 0; }
.workflow-copy { max-width: 34rem; }
.workflow-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.65rem;
}
.workflow h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.75rem; }
.workflow p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }
.workflow ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.workflow li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.workflow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

@media (min-width: 860px) {
  .workflow {
    grid-template-columns: 1fr 1fr;
    gap: 3.25rem;
  }
  .workflow:nth-child(even) .workflow-copy { order: 2; }
}

/* ── Features ── */
.features { background: var(--surface); }
.feature-groups { display: grid; gap: 2.25rem; }
.feature-group-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  gap: 0.75rem;
}
.feature-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.feature-card h4 {
  margin-bottom: 0.3rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.feature-media {
  margin-top: 0.85rem;
  max-width: 40rem;
}
.feature-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.is-hidden {
  display: none !important;
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Watch / content types ── */
.watch { background: var(--bg-2); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.content-card {
  margin: 0;
}
.content-card .media-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.content-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.content-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

@media (min-width: 800px) {
  .content-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

/* ── Methods ── */
.methods { background: var(--surface); }
.method-grid {
  display: grid;
  gap: 0.85rem;
}
.method {
  padding: 1.25rem 1.3rem;
  border-left: 3px solid var(--brand);
  background: var(--bg);
  border-radius: 0 12px 12px 0;
}
.method h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.method p { font-size: 0.92rem; color: var(--muted); }

@media (min-width: 800px) {
  .method-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Pricing ── */
.pricing { background: var(--bg); }
.tiers {
  display: grid;
  gap: 1.15rem;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.85rem;
}
.tier.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tier.featured h3 { color: #fff; }
.tier-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.tier.featured .tier-kicker { color: rgba(255, 255, 255, 0.55); }
.tier h3 { font-size: 1.65rem; margin-bottom: 0.45rem; }
.tier-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.tier.featured .tier-desc { color: rgba(255, 255, 255, 0.68); }
.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.tier li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.tier.featured li::before { color: #7ecfff; }
.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 800px) {
  .tiers { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ── Compare ── */
.compare { background: var(--surface); }
.compare-points {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare-table-wrap:focus-visible { outline-offset: -2px; }
.compare-table {
  width: 100%;
  min-width: 56rem;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.45;
}
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.9rem 1rem 0.35rem;
  font-size: 0.78rem;
  color: var(--faint);
  font-weight: 500;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.compare-table thead th {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  font-weight: 700;
}
.compare-table thead th:last-child,
.compare-table td.subx-col {
  background: #f3f8fd;
}
.compare-table thead th:first-child,
.compare-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 11.5rem;
  box-shadow: 1px 0 0 var(--line);
}
.compare-table thead th:first-child { z-index: 2; background: var(--bg); }
.compare-group td {
  background: var(--bg-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
}
.compare-group td { position: static; box-shadow: none; }
.compare-feature {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
  font-size: 0.86rem;
}
.compare-sub { display: block; color: var(--faint); font-size: 0.75rem; }
.compare-item { display: flex; gap: 0.4rem; align-items: flex-start; }
.status-icon { font-weight: 700; flex-shrink: 0; }
.status-icon.yes { color: #1f8a48; }
.status-icon.maybe { color: #b07a10; }
.status-icon.no { color: #c45c5c; }
.compare-copy { color: var(--muted); }
.compare-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.compare-note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.compare-note p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.75rem; }
.compare-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.compare-note li {
  font-size: 0.88rem;
  color: var(--ink-2);
  padding-left: 0.9rem;
  position: relative;
}
.compare-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

@media (min-width: 820px) {
  .compare-note ul { grid-template-columns: repeat(3, 1fr); gap: 0.5rem 1rem; }
}

/* ── Privacy ── */
.privacy { background: var(--bg); }
.privacy-grid {
  display: grid;
  gap: 1rem;
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem;
}
.privacy-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.privacy-card p { font-size: 0.92rem; color: var(--muted); }

@media (min-width: 800px) {
  .privacy-grid { grid-template-columns: 1fr 1fr; }
}

/* ── FAQ ── */
.faq { background: var(--surface); }
.faq-list { max-width: 46rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  padding: 1.15rem 1.75rem 1.15rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-item p {
  padding: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── Final CTA ── */
.final-cta {
  background: #11151a;
  color: #eceff3;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta .eyebrow { color: #7ecfff; }
.media-slot.inline-ph { margin-top: 0.85rem; max-width: 40rem; }
.final-cta .lede {
  color: rgba(255, 255, 255, 0.68);
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.final-cta .cta-row,
.final-cta .store-badges { justify-content: center; }
.final-cta .cta-row { margin-bottom: 1.25rem; }
.final-visual {
  margin-top: 2.75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.final-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Footer ── */
.site-footer {
  background: #11151a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0 2.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0.3rem;
}
.footer-links a:hover { color: #fff; }
.footer-links span { opacity: 0.35; }
.footer-meta { margin-top: 0.35rem; font-size: 0.75rem; }

/* ── Motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}

@media (max-width: 479px) {
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .content-grid { gap: 0.7rem; }
  .nav-logo .nav-wordmark { max-width: 6.5rem; }
}

/* ── Legal pages ── */
.legal-page main {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.legal-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.legal-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}
.legal-banner .eyebrow {
  margin-bottom: 0;
}
.legal-banner-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumb {
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--faint);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--line-strong);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.legal-layout {
  display: grid;
  gap: 2rem;
  padding-top: 1.5rem;
}

.legal-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.legal-toc-toggle {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.85rem 1rem;
}
.legal-toc-toggle summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.legal-toc-toggle summary::-webkit-details-marker { display: none; }
.legal-toc-toggle summary::after {
  content: "";
  float: right;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform var(--ease);
}
.legal-toc-toggle[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.55rem;
}
.legal-toc-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.legal-toc-list a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.35;
}
.legal-toc-list a:hover,
.legal-toc-list a.is-active {
  color: var(--ink);
  background: rgba(12, 17, 22, 0.04);
}

.legal-doc-nav,
.legal-related {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem 1rem;
}
.legal-doc-nav {
  display: grid;
  gap: 0.25rem;
}
.legal-doc-nav a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.legal-doc-nav a:hover { color: var(--ink); background: rgba(12, 17, 22, 0.04); }
.legal-doc-nav a[aria-current="page"] {
  color: var(--brand-text);
  background: var(--brand-soft);
}
.legal-related-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.legal-related a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.84rem;
  color: var(--muted);
}
.legal-related a:hover {
  color: var(--ink);
  background: rgba(12, 17, 22, 0.04);
}

.legal-content {
  max-width: 42rem;
  min-width: 0;
}
.legal-content h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 0.65rem;
}
.legal-meta {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-2);
}
.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
  margin-top: 1rem;
}
.legal-content ul {
  margin: 0;
  padding-left: 1.25rem;
}
.legal-content li + li { margin-top: 0.4rem; }
.legal-content a { text-underline-offset: 0.15em; }

@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 3rem;
    padding-top: 2rem;
  }
  .legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
  .legal-toc-toggle {
    border: none;
    background: transparent;
    padding: 0;
  }
  .legal-toc-toggle summary { display: none; }
  .legal-toc-list { margin-top: 0; }
}

@media (max-width: 959px) {
  .legal-sidebar .legal-doc-nav,
  .legal-sidebar .legal-related {
    display: none;
  }
  .legal-doc-nav-mobile,
  .legal-related-mobile {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 960px) {
  .legal-doc-nav-mobile,
  .legal-related-mobile { display: none; }
}
