:root {
  --bg:       #07091A;
  --bg-elev:  #0D1228;
  --ink:      #EEF2FF;
  --muted:    #7A8BAD;
  --line:     #1A2140;
  --accent:   #4B9EFF;
  --accent-2: #8B5CF6;
  --cyan:     #67E8F9;
  --max:      1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(75,158,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(139,92,246,0.07) 0%, transparent 60%);
}

/* ── Topo contour-line texture ──────────────────────────────────────────
   Mirrors the wavy "topo" lines in the iOS app icon so the site reads as the
   same product. Painted as a page-height layer BEHIND all content (z-index
   -1) as ONE non-repeating field stretched over the full page (no tiling, so no
   seam to cut across when scrolling). The vertical mask fades the
   lines out through the middle of the page — visible at the top (hero) and
   bottom (download), gone through the features/pricing/trust core. That tracks
   the existing center darkening (the body's two corner glows already fall off
   toward the middle), keeping body copy on a clean, high-contrast field.
   Decorative only: pointer-events:none, aria-hidden by virtue of being CSS. */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/img/topo-lines.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 1) 100%);
          mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 1) 100%);
}
/* On phones the full-page stretch makes the waves read a touch busier than on
   desktop — keep a lighter touch so the texture stays a whisper, not a pattern. */
@media (max-width: 640px) {
  body::before {
    opacity: 0.5;
  }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand-mark {
  width: 40px; height: 40px;
  /* Real app icon instead of the old "GD" gradient monogram. The PNG is
     opaque + square; round it to match the iOS icon look. font-size:0 hides
     the literal "GD" text still in the markup (kept for the link's a11y name,
     alongside .brand-word "GameDay DJ"). */
  background: url("/apple-touch-icon.png") center / cover no-repeat;
  border-radius: 10px;
  font-size: 0;
  box-shadow: 0 0 12px rgba(75,158,255,0.35);
}
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--ink); }

.hero {
  max-width: var(--max);
  margin: 40px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 10px;
  border: 1px solid rgba(75,158,255,0.3);
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-copy .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}
.cta-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(75,158,255,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(75,158,255,0.35); }
.btn-ghost {
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #141932; }

/* Official Apple "Download on the App Store" badge. SVG is the canonical
   artwork from tools.applemediaservices.com — do NOT recreate or restyle
   beyond size + opacity per Apple's brand guidelines. Hero pages use the
   default (60px tall); install-fallback pages use the --sm modifier
   (48px tall). Light/dark variants live at /img/app-store-badge-{white,black}.svg.
*/
.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform .15s ease, opacity .15s ease;
}
.app-store-badge img {
  display: block;
  height: 60px;
  width: auto;
}
.app-store-badge:hover { transform: translateY(-1px); opacity: 0.92; }
.app-store-badge--sm img { height: 48px; }

.micro { font-size: 13px; color: var(--muted); }

.hero-art {
  display: grid;
  place-items: center;
  position: relative;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(75,158,255,0.12) 0%, rgba(139,92,246,0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.phone {
  width: 280px;
  height: 560px;
  background: #101626;
  border-radius: 40px;
  border: 8px solid #080C18;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(75,158,255,0.1) inset, 0 0 40px rgba(75,158,255,0.05);
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #080C18;
  border-radius: 0 0 18px 18px;
}
.phone-screen { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.phone-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #131D32;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
}
.phone-row .num {
  font-weight: 700;
  color: var(--accent);
}
.phone-row .name { color: var(--ink); }
.phone-row .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 8px;
  border-radius: 999px;
}
.phone-row.up-next { background: rgba(75,158,255,0.1); border: 1px solid rgba(75,158,255,0.3); }

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}
.features h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.beta {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  text-align: center;
}
.beta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.beta > p { color: var(--muted); margin-bottom: 28px; }
.signup {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup input {
  flex: 1;
  min-width: 240px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
}
.signup input:focus {
  outline: 2px solid rgba(75,158,255,0.5);
  outline-offset: 0;
  border-color: transparent;
}
.signup button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(75,158,255,0.25);
  transition: box-shadow .15s ease, transform .15s ease;
}
.signup button:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(75,158,255,0.35); }
.signup-msg { font-size: 14px; color: var(--accent); min-height: 1.5em; }
.signup-msg[hidden] { display: none; }
.signup-msg.error { color: #ff7a7a; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
}
.foot-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
footer nav { display: flex; gap: 24px; }
footer nav a:hover { color: var(--ink); }

/* Static doc pages (privacy / support) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.doc h1 { font-size: 36px; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 12px; }
.doc h3 { font-size: 16px; margin: 20px 0 8px; color: #e5e9ee; font-weight: 600; }
.doc p, .doc li { color: #cdd3da; font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }
.doc a:hover { text-decoration: underline; }

/* ── Hero phone — Game Day screen ─────────────────────────────────────── */
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #080C18;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}
.phone::before { display: none; }   /* superseded by .phone-notch element */

.screen-status {
  /* Absolute-position so time + signal flank the notch the way iOS
     renders them — top of the screen, not pushed down inside the
     content flow. Previously this lived as the first child of
     .phone-screen with 32px of top-padding, which combined with the
     screen's own 36px margin-top to render the status bar ~90px from
     the top of the phone frame (the notch is at 14-42px). Visual bug
     since shipped; fixed 2026-05-28. */
  position: absolute;
  top: 20px;            /* vertically aligns with notch center (14 + 28/2) */
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: #9aa3ad;
  letter-spacing: 0.04em;
  z-index: 3;
}
.status-right { letter-spacing: 0.08em; }

.game-day { display: flex; flex-direction: column; gap: 10px; }

.screen-header {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: #131D32;
  border-radius: 14px;
  padding: 10px 12px;
  overflow: hidden;
}
.team-stripe {
  width: 4px;
  border-radius: 2px;
  flex-shrink: 0;
}
.team-meta { display: flex; flex-direction: column; gap: 2px; }
.team-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.team-sub { font-size: 11px; color: var(--muted); }

.now-playing {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, rgba(75,158,255,0.15), rgba(139,92,246,0.06));
  border: 1px solid rgba(75,158,255,0.3);
  border-radius: 16px;
  padding: 14px;
}
.album-art {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #131D32, #0A1020);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.album-art.lg { width: 72px; height: 72px; border-radius: 12px; }
.album-bars { display: flex; gap: 3px; align-items: flex-end; height: 24px; }
.album-bars span {
  width: 4px;
  background: linear-gradient(to top, var(--accent), var(--cyan));
  border-radius: 2px;
  animation: pulse-bar 1.2s ease-in-out infinite;
}
.album-bars span:nth-child(1) { height: 60%; animation-delay: 0s; }
.album-bars span:nth-child(2) { height: 95%; animation-delay: 0.2s; }
.album-bars span:nth-child(3) { height: 45%; animation-delay: 0.4s; }
.album-bars span:nth-child(4) { height: 80%; animation-delay: 0.6s; }
@keyframes pulse-bar {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.5); }
}

.now-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.now-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.now-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.now-song { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-voice { font-size: 10px; color: var(--cyan); margin-top: 2px; }

.lineup { display: flex; flex-direction: column; gap: 6px; }
.lineup-row {
  display: grid;
  grid-template-columns: 28px 1fr 10px;
  align-items: center;
  gap: 10px;
  background: #131D32;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}
.lineup-row .num { font-weight: 700; color: var(--accent); }
.lineup-row .name { color: var(--ink); }
.lineup-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
}
.lineup-row .dot.warn { background: #f59e0b; }

/* ── Feature showcase ─────────────────────────────────────────────────── */
.features-showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}
.features-showcase h2 {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  margin-bottom: 12px;
}
.section-lede {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-art { order: 1; }

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 12px 0 14px;
}
.feature-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 10px;
  border: 1px solid rgba(75,158,255,0.3);
  border-radius: 999px;
}
.feature-copy > p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-bullets li {
  color: #cdd3da;
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.feature-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

.feature-art { display: grid; place-items: center; }
.phone-sm {
  width: 260px;
  height: 540px;
  padding: 18px 12px;
}

/* ── Team list screen ─────────────────────────────────────────────────── */
.team-list { display: flex; flex-direction: column; gap: 10px; }
.big-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  padding: 4px 4px 8px;
  letter-spacing: -0.02em;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #131D32;
  border-radius: 12px;
  padding: 10px 12px 10px 0;
  overflow: hidden;
}
.team-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-left: 10px;
  flex-shrink: 0;
}
.team-card-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.team-card-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.team-card-sub { font-size: 11px; color: var(--muted); }
.team-card-chev { color: var(--muted); font-size: 18px; padding-right: 4px; }

.add-pill {
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  border: 1px dashed rgba(75,158,255,0.4);
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
}

/* ── Snippet trim screen ──────────────────────────────────────────────── */
.snippet { display: flex; flex-direction: column; gap: 14px; }
.snippet-art {
  display: flex; align-items: center; gap: 14px;
  padding: 4px;
}
.snippet-track-meta { display: flex; flex-direction: column; gap: 3px; }
.snippet-song { font-size: 16px; font-weight: 700; color: var(--ink); }
.snippet-artist { font-size: 12px; color: var(--muted); }

.waveform {
  position: relative;
  background: #0D1228;
  border-radius: 12px;
  padding: 16px 12px;
  height: 110px;
}
.wave-bars {
  display: flex;
  gap: 3px;
  height: 100%;
  align-items: center;
  width: 100%;
}
.wave-bars span {
  flex: 1;
  background: #1E2B4A;
  border-radius: 2px;
  min-width: 4px;
}
.wave-window {
  position: absolute;
  top: 6px; bottom: 6px;
  background: rgba(75,158,255,0.15);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 4px;
  pointer-events: none;
}
.handle {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 10px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(75,158,255,0.3);
}
.handle.left  { left: -6px; }
.handle.right { right: -6px; }
.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 0 4px;
}
.time-pill {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}
.play-button {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  padding: 14px;
  margin-top: 4px;
}

/* ── Share screen ─────────────────────────────────────────────────────── */
.share { display: flex; flex-direction: column; gap: 14px; }
.share-card {
  background: linear-gradient(135deg, rgba(75,158,255,0.14), rgba(139,92,246,0.06));
  border: 1px solid rgba(75,158,255,0.25);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}
.share-icon { font-size: 22px; margin-bottom: 4px; }
.share-team { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
/* The chat name is the informative bit — it's the hero of the card.
   Bigger and bolder than the link, which is just supporting detail. */
.share-chat { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 4px; }
.share-code {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 4px 0;
}
/* Link variant — the real app shares a URL via the system share sheet,
   not a code anyone has to type. Tighter font + no letter-spacing so
   the URL fits the card width without truncating awkwardly. */
.share-link {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.7;
  margin: 4px 0 0;
  word-break: break-all;
}
.share-sub { font-size: 11px; color: var(--muted); }

.share-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.share-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.share-app-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #131D32;
  border-radius: 10px;
  padding: 9px 12px;
}
.invite-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.invite-avatar.mom { background: linear-gradient(135deg, #60a5fa, #2563eb); color: #fff; }
.invite-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.invite-name { font-size: 12px; color: var(--ink); font-weight: 600; }
.invite-sub  { font-size: 10px; color: var(--muted); }
.invite-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(75,158,255,0.15);
  color: var(--accent);
}
.invite-badge.view { background: rgba(96,165,250,0.18); color: #60a5fa; }

/* ── Music mix screen ─────────────────────────────────────────────────── */
.mix { display: flex; flex-direction: column; gap: 14px; }
.now-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(75,158,255,0.18), rgba(139,92,246,0.08));
  border: 1px solid rgba(75,158,255,0.35);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(75,158,255,0.25);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.6; }
}
.now-text { flex: 1; }
.now-text strong { color: var(--accent); }
.now-skip { font-size: 16px; color: var(--muted); }

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vibe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #131D32;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 8px;
  font-size: 22px;
}
.vibe span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.vibe.selected {
  background: linear-gradient(135deg, rgba(75,158,255,0.18), rgba(139,92,246,0.08));
  border-color: var(--accent);
}
.vibe.selected span { color: var(--accent); }

.vibe-add {
  text-align: center;
  font-size: 12px;
  color: var(--accent);
  border: 1px dashed rgba(75,158,255,0.4);
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
}

/* ── Privacy / trust section ─────────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--line);
  padding: 80px 24px;
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.trust-headline {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22c55e;
  padding: 5px 12px;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 999px;
  margin-bottom: 20px;
}
.trust-headline h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
}
.trust-headline > p {
  color: var(--muted);
  font-size: 16px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.trust-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
}
.trust-item-icon {
  font-size: 26px;
  margin-bottom: 14px;
  line-height: 1;
}
.trust-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.trust-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.trust-item.coppa {
  border-color: rgba(34,197,94,0.25);
  background: linear-gradient(135deg, rgba(34,197,94,0.06), var(--bg-elev));
}
.trust-item.coppa h3 { color: #4ade80; }

/* ── Pricing section ──────────────────────────────────────────────────── */
/* MIRROR: tier copy/prices here MUST stay in sync with
   ~/code/gamedaydj/GameDayDJ/GameDayDJ/Domain/Pricing.swift  */
.pricing {
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(75,158,255,0.08) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.pricing-inner { max-width: var(--max); margin: 0 auto; }
.pricing-headline { text-align: center; margin-bottom: 48px; }
.pricing-headline .feature-kicker { margin-bottom: 14px; display: inline-block; }
.pricing-headline h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.pricing-headline p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.tier-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
}
.tier-card.featured {
  border-color: rgba(245,158,11,0.55);
  background: linear-gradient(180deg, rgba(245,158,11,0.05), var(--bg-elev) 30%);
  box-shadow: 0 12px 40px -16px rgba(245,158,11,0.35);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}
.tier-card.featured .tier-badge {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #1a0c00;
}
.tier-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.tier-card.featured .tier-name { color: #fbbf24; }
.tier-tagline {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 42px;
}
.tier-price {
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tier-billing {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 22px;
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tier-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.92;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.tier-card.featured .tier-features li::before { color: #fbbf24; }
.tier-cta {
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--accent);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.tier-card.featured .tier-cta {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #1a0c00;
}
.tier-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(75,158,255,0.55);
}
.tier-card.featured .tier-cta:hover {
  box-shadow: 0 8px 22px -10px rgba(245,158,11,0.55);
}
.pricing-included {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
}
.pricing-included h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.pricing-included-grid li {
  list-style: none;
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.pricing-included-grid li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #fbbf24;
}
.pricing-fineprint {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-top: 28px;
  opacity: 0.7;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 32px; margin-top: 16px; }
  .hero-art { order: -1; }
  .phone { width: 240px; height: 480px; padding: 20px 12px; }
  /* Tighter notch + status-bar offsets for the smaller phone frame. */
  .phone-notch { top: 10px; width: 90px; height: 22px; }
  .screen-status { top: 16px; left: 18px; right: 18px; font-size: 9px; }
  /* Portrait phones: wrap the nav onto its own row so every link stays
     reachable (previously all but the last link were display:none, which
     left only "Support" tappable). */
  .nav { flex-wrap: wrap; }
  .nav nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 12px 18px; margin-top: 6px; }
  .nav nav a { font-size: 15px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-row.reverse .feature-art   { order: 0; }
  .phone-sm { width: 240px; height: 480px; padding: 16px 10px; }

  .pricing { padding: 60px 16px 40px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .pricing-included-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────────
   Support page — friendly, sectioned, scannable
   ──────────────────────────────────────────────────────────────────── */
.support {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.support-head h1 {
  font-size: clamp(36px, 5vw, 48px);
  margin-bottom: 12px;
}

/* ───────────────────────────────────────────────────────────────────────
   Help Center chrome — Zendesk-style hierarchy (Help › Category › Article).
   See docs/SITE_KB_IA.md. Home grid, category lists, breadcrumb, article
   TOC sidebar, and the "was this helpful" footer all live here.
   ─────────────────────────────────────────────────────────────────────── */

/* Breadcrumb trail */
.breadcrumb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: "›"; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Help Center search box (client-side filter) */
.hc-search { max-width: 620px; margin: 8px 0 4px; }
.hc-search input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hc-search input::placeholder { color: var(--muted); }
.hc-search input:focus { outline: none; border-color: var(--accent); }

/* Category grid (home) */
.hc-cats {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.hc-cat {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.hc-cat:hover { border-color: var(--accent); transform: translateY(-2px); }
.hc-cat-ico { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.hc-cat h2 { font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.hc-cat p { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.hc-cat .hc-cat-count { font-size: 12px; color: var(--accent); font-weight: 600; }

/* Article list (category page) */
.hc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.hc-list li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
  color: var(--ink);
}
.hc-list li a:hover { border-color: var(--accent); }
.hc-list li a .hc-art-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.45; }
.hc-list li a::after { content: "→"; color: var(--muted); flex-shrink: 0; }

/* Article page: content + sticky TOC sidebar */
.hc-article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
}
.hc-article-main h1 { font-size: clamp(28px, 4vw, 38px); margin: 8px 0 18px; }
.hc-aside { position: sticky; top: 24px; display: grid; gap: 22px; }
.hc-toc h3, .hc-related h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 0 0 10px;
}
.hc-toc ol, .hc-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hc-toc a, .hc-related a { color: var(--muted); font-size: 14px; line-height: 1.4; }
.hc-toc a:hover, .hc-related a:hover { color: var(--ink); }
.hc-toc a.is-active { color: var(--accent); }

/* "Was this helpful?" footer */
.hc-helpful {
  margin-top: 36px; padding: 22px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px;
  text-align: center;
}
.hc-helpful p { margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.hc-helpful .hc-vote {
  display: inline-flex; gap: 10px; justify-content: center;
}
.hc-helpful button {
  padding: 8px 20px; font-size: 14px; font-weight: 600;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.hc-helpful button:hover { border-color: var(--accent); color: var(--accent); }
.hc-helpful .hc-thanks { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .hc-article { grid-template-columns: 1fr; gap: 24px; }
  .hc-aside { position: static; }
}
.support-lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 24px;
}
.support-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  margin-bottom: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.support-toc a {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  transition: color .15s, background .15s, border-color .15s;
}
.support-toc a:hover {
  color: var(--ink);
  background: rgba(75,158,255,0.10);
  border-color: rgba(75,158,255,0.35);
}
.support-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px;
  margin-bottom: 20px;
}
.support-card > h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
.support-card p, .support-card li {
  color: #cdd3da;
  font-size: 16px;
  line-height: 1.6;
}
.support-card a {
  color: var(--accent);
}
.support-card a:hover { text-decoration: underline; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(75,158,255,0.10), rgba(139,92,246,0.06));
  border-color: rgba(75,158,255,0.30);
}
.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(75,158,255,0.15);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.contact-body h2 { margin-top: 0; }
.contact-body p { margin-bottom: 6px; }
.contact-tip { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Migration-from-BallparkDJ — featured card with steps */
.migration-card {
  background: linear-gradient(180deg, rgba(245,166,35,0.08), rgba(75,158,255,0.04));
  border-color: rgba(245,166,35,0.30);
}
.migration-header { margin-bottom: 20px; }
.migration-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245,166,35,0.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.migration-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.migration-header p {
  color: #cdd3da;
  font-size: 16px;
  line-height: 1.55;
  max-width: 600px;
}
.migration-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.migration-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(7,9,26,0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5a623, #e87a17);
  color: #07091A;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
}
.step-body h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ink);
}
.step-body p {
  font-size: 15px;
  color: #cdd3da;
  margin: 0;
}
.migration-result {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.30);
  border-radius: 12px;
}
.migration-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(16,185,129,0.25);
  color: #34d399;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.migration-result strong { color: var(--ink); }
.migration-result div {
  font-size: 15px;
  color: #cdd3da;
  line-height: 1.55;
}

/* Step screenshots — framed app captures inside a how-to step.
   See docs/KB_SCREENSHOT_PIPELINE.md. Reused by /guides and /switch pages.
   Annotation (the tap-target highlight) is a CSS overlay, not baked into the
   PNG — sharper at any DPR and editable. */
.step-shot {
  margin: 16px 0 0;
  max-width: 300px;
}
.step-shot-frame {
  position: relative;
  display: block;
  border-radius: 22px;
}
.step-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;                 /* phone-edge corners */
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45),
              0 0 0 6px rgba(7,9,26,0.55);  /* subtle bezel ring */
  background: #07091A;
}
/* Highlight ring over a tap target. Position via inline left/top/width/height
   (percentages of the frame) per shot. */
.step-shot-ring {
  position: absolute;
  border: 3px solid #f5a623;
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.25), 0 0 14px rgba(245,166,35,0.45);
  pointer-events: none;
}
.step-shot figcaption {
  margin-top: 9px;
  font-size: 13px;
  color: #aab1bb;
  line-height: 1.45;
}
/* Two (or more) step-shots side by side; wraps to a column on narrow screens. */
.shot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.shot-row .step-shot { margin-top: 0; flex: 1 1 240px; }

/* FAQ collapsible rows */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.support-card .faq-item:first-of-type { border-top: none; padding-top: 6px; }
.support-card .faq-item:last-of-type  { padding-bottom: 4px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding-right: 24px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p {
  margin-top: 12px;
  color: #cdd3da;
  font-size: 15px;
  line-height: 1.6;
}
.report-card {
  background: linear-gradient(135deg, rgba(75,158,255,0.06), rgba(139,92,246,0.06));
  border-color: rgba(75,158,255,0.20);
}

/* ────────────────────────────────────────────────────────────────────
   Marketing: BallparkDJ migration banner (slim band above features)
   ──────────────────────────────────────────────────────────────────── */
.bpdj-banner {
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(245,166,35,0.10), rgba(75,158,255,0.06));
  border: 1px solid rgba(245,166,35,0.30);
  border-radius: 14px;
}
.bpdj-banner-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(245,166,35,0.18);
  color: #f5a623;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.bpdj-banner-copy { flex: 1; }
.bpdj-banner-copy strong {
  color: var(--ink);
  font-size: 17px;
  display: block;
  margin-bottom: 2px;
}
.bpdj-banner-copy span {
  color: var(--muted);
  font-size: 14px;
}
.bpdj-banner-cta {
  flex-shrink: 0;
  color: #f5a623 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(245,166,35,0.40);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s;
}
.bpdj-banner-cta:hover {
  background: rgba(245,166,35,0.12);
  text-decoration: none;
}

/* ────────────────────────────────────────────────────────────────────
   What's New + Features pages — long-scroll marketing/SEO content
   ──────────────────────────────────────────────────────────────────── */
.marketing-page {
  max-width: 940px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.marketing-page > h1 {
  font-size: clamp(38px, 5vw, 54px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.marketing-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.marketing-section {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px;
  margin-bottom: 18px;
}
.marketing-section .release-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(75,158,255,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.marketing-section h2 {
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--ink);
}
.marketing-section h3 {
  font-size: 18px;
  margin: 18px 0 6px;
  color: var(--ink);
}
.marketing-section p {
  color: #cdd3da;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.marketing-section ul {
  color: #cdd3da;
  font-size: 16px;
  line-height: 1.6;
  padding-left: 22px;
  margin: 6px 0 12px;
}
.marketing-section ul li { margin-bottom: 4px; }
.marketing-section strong { color: var(--ink); }
.feature-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 18px;
}
.feature-pill-row span {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(75,158,255,0.08);
  padding: 12px 22px;
  border: 1px solid rgba(75,158,255,0.30);
  border-radius: 999px;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .support { padding: 28px 16px 60px; }
  .support-card { padding: 22px 18px; }
  .migration-header h2 { font-size: 24px; }
  .migration-steps li { padding: 14px; gap: 12px; }
  .bpdj-banner { flex-direction: column; align-items: flex-start; padding: 18px; }
  .bpdj-banner-cta { width: 100%; text-align: center; }
  .marketing-page { padding: 32px 16px 60px; }
  .marketing-section { padding: 22px 18px; }
}

/* ── Sport waitlist form (features page) ─────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.waitlist-form select,
.waitlist-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 10px 12px;
  font-size: 14px;
  background: var(--surface, #14171c);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--ink, #e8ecf3);
  font-family: inherit;
}
.waitlist-form select { appearance: none; padding-right: 32px; background-image:
  linear-gradient(45deg, transparent 50%, var(--muted, #8a93a3) 50%),
  linear-gradient(135deg, var(--muted, #8a93a3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.waitlist-form button {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent, #f5a623);
  color: #0b0d10;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.waitlist-form button:hover { opacity: 0.9; }
.waitlist-form button:disabled { opacity: 0.5; cursor: progress; }
.waitlist-status {
  margin-top: 10px !important;
  font-size: 13px;
  min-height: 18px;
}
.waitlist-status.ok  { color: #22c55e; }
.waitlist-status.err { color: #ef4444; }

/* ---------------------------------------------------------------------------
   Feature guide / proof pages (/features/<slug>)
   Real-screenshot walkthroughs that double as self-service help.
   Reuses .marketing-page, .migration-steps/.step-num, .faq-item where possible.
--------------------------------------------------------------------------- */
.guide-breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.guide-breadcrumb a { color: var(--muted); }
.guide-breadcrumb a:hover { color: var(--ink); }

.guide-tagline {
  font-size: 18px;
  color: var(--ink);
  opacity: .9;
  margin: 0 0 28px;
}

/* Screenshot figure — a framed device shot with a caption. */
.guide-figure {
  margin: 28px 0;
  text-align: center;
}
.guide-figure img {
  max-width: 300px;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.guide-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* A still-needs-capture placeholder — visible, never mistaken for a real shot. */
.guide-figure.pending img,
.guide-shot-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.22);
  background: var(--bg-elev);
  color: var(--muted);
  font-size: 13px;
  padding: 24px;
  text-align: center;
}

/* Inline per-step screenshot, smaller, sits beside step text. */
.step-shot {
  margin-top: 12px;
  max-width: 220px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}

/* Troubleshooting block header to set the support-deflection section apart. */
.guide-troubleshooting {
  margin-top: 40px;
  padding-top: 8px;
}
.guide-related {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.guide-related a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--ink);
  font-size: 14px;
}
.guide-related a:hover { border-color: var(--accent); }

.guide-contact {
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 15px;
}
.guide-contact strong { color: var(--ink); }

/* ---------------------------------------------------------------------------
   Feature hub — /features card grid linking to per-feature proof pages.
   Reuses .grid + .card; makes the card a tappable link.
--------------------------------------------------------------------------- */
a.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 26px 24px 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(75,158,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(20,26,52,.95), rgba(11,15,34,.95));
  overflow: hidden;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
/* Accent hairline along the top edge for punch. */
a.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .85;
}
a.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(75,158,255,.25);
}
/* Big gradient icon tile — the main fix for "icons too small". */
a.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 34px; line-height: 1;
  background: linear-gradient(135deg, rgba(75,158,255,.30), rgba(139,92,246,.30));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 22px rgba(0,0,0,.4);
}
a.card h3 { color: var(--ink); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
a.card p { font-size: 15px; line-height: 1.5; }
.card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px; font-weight: 700;
  color: var(--accent);
}
a.card:hover .card-arrow { text-decoration: underline; }
.card .pro-tag {
  font-size: 10px; font-weight: 900; letter-spacing: .06em;
  color: #fff; margin-left: 8px; vertical-align: middle;
  padding: 2px 7px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.hub-section-label {
  font-size: 13px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase;
  color: var(--accent); margin: 44px 0 16px;
}
