/* ============================================================
   Jam-a-Lot — GLM Landing Page
   Dark canvas + electric-blue accent. Design tokens mirror the
   app's structure (src/styles.css) but use a cool cobalt→cyan
   palette instead of the product's warm accent. Instrument Serif
   display + Inter body.
   ============================================================ */

:root {
  /* Surfaces & ink (mirror app dark theme) */
  --bg:           #14161a;
  --panel:        #1d2026;
  --sidebar:      #181b20;
  --border:       #2a2e36;
  --border-soft:  rgba(42, 46, 54, 0.6);
  --text:         #e8e8ea;
  --muted:        #9aa0a8;
  --text-on-accent: #ffffff;   /* white reads cleaner on blue than dark ink */

  /* Electric blue accent system */
  --accent:       #3b82f6;   /* cobalt */
  --accent-2:     #22d3ee;   /* cyan highlight */
  --accent-3:     #60a5fa;   /* lighter cobalt for hover states */
  --accent-dim:   rgba(59, 130, 246, 0.30);
  --accent-glow:  rgba(59, 130, 246, 0.20);

  /* Section tints (chart palette, slightly cooler) */
  --tint-a: rgba(147, 197, 253, 0.08);
  --tint-b: rgba(110, 231, 183, 0.08);
  --tint-c: rgba(196, 181, 253, 0.08);
  --tint-d: rgba(34, 211, 238, 0.08);
  --tint-e: rgba(253, 164, 175, 0.08);

  /* Radii & shadows */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;
  --shadow-card: 0 24px 70px rgb(0 0 0 / 52%);
  --shadow-soft: 0 8px 30px rgb(0 0 0 / 40%);

  --maxw: 1140px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Playfair Display", Georgia, serif;
}

/* ───────── Reset ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
img, svg { display: block; max-width: 100%; }

.font-serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; }

/* ───────── Full-window static backdrop image ───────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-bg.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.40;
  pointer-events: none;
}

/* ───────── Ambient glow (cool blue overlay) ───────── */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% 25%, rgba(59, 130, 246, 0.16), transparent 75%),
    radial-gradient(50% 40% at 85% 15%, rgba(34, 211, 238, 0.10), transparent 75%),
    linear-gradient(180deg, rgba(20, 22, 26, 0.45) 0%, rgba(20, 22, 26, 0.75) 100%);
}

/* ───────── Layout helpers ───────── */
main { display: block; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px;
}
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(29, 32, 38, 0.55), transparent);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text-on-accent);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.30);
}
.btn-accent:hover { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #3a4049; }

.glow-accent { box-shadow: 0 0 40px rgba(59, 130, 246, 0.20), 0 0 80px rgba(59, 130, 246, 0.07); }
.glow-accent-sm { box-shadow: 0 0 16px rgba(59, 130, 246, 0.35); }

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  background: rgba(20, 22, 26, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border-soft); background: rgba(20, 22, 26, 0.88); }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: 0.2px; }
.brand-mark-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  object-fit: cover;
  display: block;
  flex: none;
}
.brand-mark-icon.sm { width: 30px; height: 30px; border-radius: var(--r-sm); }

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

.launch-cta { margin-left: 8px; }

/* ───────── Hero ───────── */
.hero-wrap { position: relative; isolation: isolate; }
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: -140px 0 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 22, 26, 0.85) 0%, rgba(20, 22, 26, 0.50) 40%, rgba(20, 22, 26, 0.10) 68%, rgba(20, 22, 26, 0.30) 100%);
  pointer-events: none;
}

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 560px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.30);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
  /* Sized to the hero's own column, not the viewport. --maxw caps the hero
     at 1140px, so the copy column stops growing at ~500px however wide the
     screen gets — a 6vw headline kept growing past it and broke to four
     lines on any large monitor. */
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--text); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: 19px; color: var(--muted); margin-bottom: 30px; max-width: 520px; }
.lede em { color: var(--text); font-style: italic; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.micro-note { color: var(--muted); font-size: 13px; opacity: 0.85; max-width: 46ch; line-height: 1.65; }
.micro-strong { color: var(--accent-2); font-weight: 600; }
.cta-ctas { justify-content: center; margin-bottom: 0; }

/* ───────── Hero screenshot carousel ───────── */
.shots {
  position: relative;
  outline: none;
}
.shots:focus-visible { box-shadow: 0 0 0 2px var(--accent); border-radius: var(--r-lg); }

.shots-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}
/* Same cool wash the chart card used to carry, so the hero keeps its depth */
.shots-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 80% 0%, rgba(59, 130, 246, 0.10), transparent 70%);
}

.shots-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.shot {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 857;
  object-fit: cover;
  object-position: top left;
  display: block;
  background: #14161a;
}
.shot figcaption {
  padding: 14px 18px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--border-soft);
  background: rgba(20, 22, 26, 0.6);
  min-height: 5.4em;
}
.shot figcaption strong { color: var(--text); font-weight: 600; }

/* Arrows sit on the image, not beside it — the hero column is narrow */
.shots-nav {
  position: absolute;
  top: calc(50% - 2.7em);
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20, 22, 26, 0.82);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.shots-nav.prev { left: 10px; }
.shots-nav.next { right: 10px; }
.shots:hover .shots-nav,
.shots:focus-within .shots-nav { opacity: 1; }
.shots-nav:hover { background: rgba(30, 34, 41, 0.95); border-color: #3a4049; }
.shots-nav:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }
/* Touch devices have no hover, so never hide the arrows there */
@media (hover: none) {
  .shots-nav { opacity: 1; }
}

.shots-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.shots-dot {
  width: 7px; height: 7px; padding: 0;
  border-radius: 50%;
  border: none;
  background: #3a4049;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.shots-dot:hover { background: #4d5460; }
.shots-dot.active { background: var(--accent-2); transform: scale(1.35); }
.shots-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ───────── Comparison block (the differentiator) ───────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.93fr);
  gap: 18px;
  align-items: stretch;
}
.compare-col {
  background: rgba(29, 32, 38, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.compare-col:hover { transform: translateY(-2px); border-color: #3a4049; }
.compare-col-featured {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(29, 32, 38, 0.75));
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.18), 0 16px 40px rgba(0, 0, 0, 0.4);
}
.compare-col-featured:hover { border-color: var(--accent-2); }
.compare-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.compare-head h3 { font-size: 20px; margin-bottom: 4px; }
.compare-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.compare-col:not(.compare-col-featured) .compare-badge {
  color: var(--muted);
  opacity: 0.8;
}
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  margin: 0;
}
.compare-list li {
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.compare-col-featured .compare-list li { color: var(--text); }
.compare-col-featured .compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.compare-col:not(.compare-col-featured) .compare-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  opacity: 0.7;
}

/* ───────── FAQ section ───────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-card {
  background: rgba(29, 32, 38, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.faq-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.faq-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--text); }
.faq-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ───────── Source grid (library section) ───────── */
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.source {
  background: rgba(29, 32, 38, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.source:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  background: rgba(29, 32, 38, 0.8);
}
.source-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.22));
}
.source h3 { font-size: 17px; margin-bottom: 8px; }
.source p { font-size: 14px; color: var(--muted); margin: 0; }

.big-number { text-align: center; margin: 0; }
.bn-label {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text);
  display: block;
}

/* ───────── Live performance grid (the differentiator) ───────── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.live-card {
  position: relative;
  background: rgba(29, 32, 38, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.live-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, 0.45); }
.live-card::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.6;
  border-radius: 0 0 2px 2px;
}
.live-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--accent-2);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.live-card h3 { font-size: 20px; margin-bottom: 12px; }
.live-card > p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.live-card > p strong { color: var(--text); font-weight: 600; }
.live-card > p em { color: var(--text); font-style: italic; }

.live-bullets { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.live-bullets li { color: var(--muted); padding-left: 4px; }
.kbd {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--r-sm);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.30);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 12.5px;
  margin-right: 4px;
}

/* ───────── Feature grid ───────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: rgba(29, 32, 38, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.feature:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  background: rgba(29, 32, 38, 0.8);
}
.feature-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.22));
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* ───────── Steps ───────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: rgba(29, 32, 38, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.40);
  color: var(--accent-2);
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ───────── Pricing ───────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
/* Two-door layout: guest and beta, equal weight */
.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: #3a4049; }
.price-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.07), var(--panel) 30%);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.28), 0 20px 50px rgb(0 0 0 / 50%);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text-on-accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-head { margin-bottom: 20px; }
.price-head h3 { font-size: 22px; margin-bottom: 10px; }
.price-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.price-amount .currency { font-size: 18px; color: var(--muted); font-weight: 500; }
.price-amount .amount { font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--text); }
.price-amount .per { color: var(--muted); font-size: 14px; margin-left: 4px; }
.price-tag { color: var(--muted); font-size: 14px; margin: 0; min-height: 2.4em; }

.price-card .btn { margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.price-features li { color: var(--text); }
.price-features li strong { color: var(--accent-2); font-weight: 600; }
.price-features li.muted { color: var(--muted); opacity: 0.7; }

.pricing-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 32px; }

/* ───────── CTA band ───────── */
.cta-band {
  max-width: none;
  padding: 88px 24px;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(59, 130, 246, 0.14), transparent 70%),
    linear-gradient(180deg, transparent, rgba(29, 32, 38, 0.4));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 12px; }
.cta-inner p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* ───────── Footer ───────── */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 24px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; }
.footer-note { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.footer-ip { color: var(--muted); font-size: 12px; opacity: 0.75; max-width: 540px; margin: 0 auto; }

/* ───────── Reveal animation ───────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  /* Stacked hero: the scrim has to run top-to-bottom, not left-to-right,
     or the copy ends up on the bright side of a sideways gradient. */
  .hero-wrap::after {
    background: linear-gradient(180deg, rgba(20, 22, 26, 0.92) 0%, rgba(20, 22, 26, 0.80) 45%, rgba(20, 22, 26, 0.55) 100%);
  }
  .shot figcaption { min-height: 0; }
  .feature-grid, .source-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid-two { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .site-nav { display: none; }
}

@media (max-width: 560px) {
  .feature-grid, .source-grid { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; }
  .launch-cta { margin-left: auto; }
  .section { padding: 64px 20px; }
  .live-card { padding: 24px 20px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
