:root {
  --bg: #08060f;
  --card: #17121f;
  --border: #241c38;
  --accent: #8b6dff;
  --muted: #bcb4d2;
  --text: #ffffff;
  --error: #ff6b6b;
  --warn: #ffd54f;

  --section-pad-x: clamp(20px, 4vw, 56px);
  --section-pad-y: clamp(40px, 5vw, 72px);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { display: block; }

/* ---------- Sticky CTA bar — slides down once visitor scrolls past hero ---------- */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 32px);
  background: rgba(8, 6, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-text {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 200ms ease, transform 100ms ease;
}
.sticky-cta-btn:hover {
  background: #a98dff;
  color: var(--bg);
  transform: scale(1.02);
}
@media (max-width: 600px) {
  .sticky-cta-text { font-size: 12px; }
  .sticky-cta-btn { padding: 7px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 200ms ease;
}
a:hover { color: #a98dff; }

/* ---------- Fade-in motion ---------- */
[data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
}
[data-fade].in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Section primitives ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section-headline {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  margin: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) var(--section-pad-x) clamp(32px, 4vw, 56px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 20% auto 20%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(139, 109, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
/* The hero is a single centered column. (It was a 1.05fr/0.95fr two-column
   grid whose right column — the old chat-mock — left desktop heroes lopsided
   once that element was retired; reported live 2026-06-10.) */
@media (min-width: 880px) {
  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  /* Center the capped-width trial button under the centered headline. Without
     this the flex column's default align-items:stretch pins the 460px button
     to the left edge (reported 2026-06-16). Scoped to the hero so the grade
     card keeps stretching full width. */
  .hero .cta-demo {
    align-self: center;
  }
  /* The grade card reads as a card, not prose — keep its internals left-aligned. */
  .hero-copy .grade-hero-card {
    text-align: left;
  }
}

.wordmark {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero-headline {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
/* Split-text headline — each word rises into place on load with a ~40ms stagger.
   translateY ONLY: the parent .hero[data-fade] already fades opacity, so the
   words must not fade too (double-fade = muddy). Pure CSS, so it plays on load
   with no JS and the period/descenders never clip (rests at translateY(0)). */
.hero-word {
  display: inline-block;
  animation: heroWordRise 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-word:nth-child(1) { animation-delay: 40ms; }
.hero-word:nth-child(2) { animation-delay: 80ms; }
.hero-word:nth-child(3) { animation-delay: 120ms; }
.hero-word:nth-child(4) { animation-delay: 160ms; }
.hero-word:nth-child(5) { animation-delay: 200ms; }
.hero-word:nth-child(6) { animation-delay: 240ms; }
.hero-word:nth-child(7) { animation-delay: 280ms; }
@keyframes heroWordRise {
  from { transform: translateY(0.4em); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word { animation: none; transform: none; }
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 540px;
}

/* ---------- CTA block — trial CTA + grade card (waitlist removed, Issue 346) ---------- */
.cta-block { display: flex; flex-direction: column; gap: 18px; }

/* Primary CTA button — Claude-coral hero moment (reserved accent) */
.cta-demo {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #d97757;
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 12px;
  max-width: 460px;
  transition: transform 120ms ease, box-shadow 200ms ease;
}
.cta-demo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: ctaShimmer 3.2s ease-in-out 0.8s infinite;
  pointer-events: none;
}
@keyframes ctaShimmer {
  0%   { left: -80%; }
  28%  { left: 140%; }
  100% { left: 140%; }
}
.cta-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(217, 119, 87, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .cta-demo::after { animation: none; }
}

/* Scroll-progress ambient orb — fixed glow that drifts down the page as the user reads. */
.scroll-orb {
  position: fixed;
  left: 50%;
  top: 0;
  width: 700px;
  height: 700px;
  margin-left: -350px;
  margin-top: -350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 109, 255, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateY(25vh);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-orb { display: none; }
}

/* ---------- Hero benefit strip — spans both columns as a proof bar at the bottom of the hero. ---------- */
.hero-benefits {
  grid-column: 1 / -1;
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 14px 8px 12px;
  background: linear-gradient(180deg, rgba(139, 109, 255, 0.10) 0%, rgba(139, 109, 255, 0.04) 100%);
  border: 1px solid rgba(139, 109, 255, 0.22);
  border-radius: 999px;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  /* Staggered reveal — pills fade in one after another. OPACITY ONLY so the
     entrance never collides with the :hover translateY(-1px) below. */
  animation: heroPillIn 500ms ease both;
}
.hero-benefits li:nth-child(1) { animation-delay: 260ms; }
.hero-benefits li:nth-child(2) { animation-delay: 340ms; }
.hero-benefits li:nth-child(3) { animation-delay: 420ms; }
.hero-benefits li:nth-child(4) { animation-delay: 500ms; }
@keyframes heroPillIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-benefits li:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(139, 109, 255, 0.16) 0%, rgba(139, 109, 255, 0.08) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(139, 109, 255, 0.55);
}
.hero-benefits li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(139, 109, 255, 0.65), 0 0 2px rgba(139, 109, 255, 0.9);
}
@media (prefers-reduced-motion: reduce) {
  .hero-benefits li { transition: none; animation: none; opacity: 1; }
  .hero-benefits li:hover { transform: none; }
}

/* ---------- Scroll cue (sits at the bottom of the hero, invites scroll into the sliders) ---------- */
.scroll-cue {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(23, 18, 31, 0.55);
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.scroll-cue:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.scroll-cue-arrow {
  display: inline-block;
  font-size: 14px;
  animation: scrollCueBob 1.8s ease-in-out infinite;
}
@keyframes scrollCueBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-arrow { animation: none; }
}

/* ---------- Hero video — weekly refreshing recommendation ---------- */
.hero-video {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
@media (min-width: 880px) {
  .hero-video {
    aspect-ratio: 16 / 9;
  }
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Hero chat mock ---------- */
.chat-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
/* Cycler stage holds 2–3 exchanges stacked; only the active one is visible. */
.chat-mock-stage {
  position: relative;
  display: grid;
  /* All exchanges occupy the same grid cell so height tracks the tallest one. */
}
.chat-mock-exchange {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms ease;
  pointer-events: none;
}
.chat-mock-exchange.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .chat-mock-exchange { transition: none; }
}
.chat-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.chat-mock-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.chat-mock-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chat-mock-timestamp {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
}
.chat-bubble { display: flex; flex-direction: column; gap: 4px; }
.chat-bubble-author {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.chat-bubble-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 12px;
}
.chat-bubble-you .chat-bubble-text {
  background: #1d1729;
  border: 1px solid var(--border);
  color: var(--text);
}
.chat-bubble-ai .chat-bubble-text {
  background: rgba(139, 109, 255, 0.10);
  border: 1px solid rgba(139, 109, 255, 0.30);
  color: var(--text);
}

/* Shared skeleton shimmer keyframes — used by the sliders widget. */
@keyframes pulseSkeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- PILLAR sections ---------- */
.pillar {
  padding: var(--section-pad-y) var(--section-pad-x);
}
.pillar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .pillar-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
  .pillar-inner-reverse > .pillar-copy { order: 2; }
  .pillar-inner-reverse > .pillar-visual { order: 1; }
}
.pillar-copy { display: flex; flex-direction: column; gap: 14px; }
.pillar-body {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  margin: 0;
}
.pillar-body-muted { color: var(--accent); font-weight: 600; }
.pillar-points {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.pillar-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.pillar-points li strong {
  color: var(--accent);
  font-weight: 700;
}

/* Pillar 1 chat screenshot */
.chat-screenshot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.chat-screenshot-row p {
  margin: 0;
  padding: 11px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  border-radius: 12px;
}
.chat-screenshot-row-you p {
  background: #1d1729;
  border: 1px solid var(--border);
  color: var(--text);
}
.chat-screenshot-row-ai p {
  background: rgba(139, 109, 255, 0.10);
  border: 1px solid rgba(139, 109, 255, 0.30);
  color: var(--text);
}

/* Pillar 2 sliders mock */
.sliders-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.slider-row {
  display: grid;
  grid-template-columns: 90px 1fr 28px;
  align-items: center;
  gap: 12px;
}
.slider-row label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.slider-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
  transition: transform 100ms ease;
}
.slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
}
.slider-value {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  text-align: right;
}
/* Format / Scoring / Lineup toggles — sit above the sliders, change the demo's flavor. */
.sliders-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.toggle-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
}
.toggle-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.segmented {
  display: inline-flex;
  background: #100b20;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  width: fit-content;
}
.seg-btn {
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active {
  background: rgba(139, 109, 255, 0.18);
  color: var(--accent);
}
.seg-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Focus indicator on sliders for keyboard users — native :focus is invisible without this. */
.slider-row input[type="range"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Hint label: "Adjust the sliders →". Fades out on first slider interaction. */
.sliders-hint {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 4px 0 0;
  text-align: right;
  opacity: 1;
  transition: opacity 400ms ease;
}
.sliders-hint.dismissed {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .sliders-hint { transition: none; }
}

.sliders-leaderboard {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Contain rapid translateY transforms during FLIP — keeps the layout from scrolling. */
  position: relative;
}
.sliders-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  /* will-change keeps the GPU layer hot for FLIP. transform is the only animated property. */
  will-change: transform;
}
.sliders-rank {
  color: var(--muted);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}
.sliders-player {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sliders-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sliders-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.sliders-pos-chip {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid currentColor;
  line-height: 1;
}
.sliders-team {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.sliders-score {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

/* Skeleton rows shown until landing-data.json loads. */
.sliders-row-skeleton .sliders-team,
.sliders-row-skeleton .sliders-score {
  background: linear-gradient(90deg, #1d1729 0%, #241c38 50%, #1d1729 100%);
  background-size: 200% 100%;
  animation: pulseSkeleton 1.6s ease-in-out infinite;
  border-radius: 4px;
  color: transparent;
  min-height: 12px;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .sliders-row-skeleton .sliders-team,
  .sliders-row-skeleton .sliders-score { animation: none; }
}

/* ---------- PILLAR 3 (editorial) ---------- */
.pillar-3 { padding: var(--section-pad-y) var(--section-pad-x); }
/* 2026-06-10: pillar-3 now uses the standard centered .section-head (the old
   .pillar-3-inner left-aligned block made it the one section that didn't match
   the centered page rhythm). Its long sub keeps the shared .section-sub style. */
.pillar-3 .section-head { margin-bottom: 0; }

/* Power Rankings Weights visual. Class name kept (.pr-demo-video) so the
   img inherits the same frame; the asset is now a still — see index.html. */
.pr-demo-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.lore-excerpt {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 0;
  max-width: 560px;
}
.lore-excerpt p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 10px;
  font-weight: 500;
}
.lore-excerpt cite {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lore-card-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 600px) { .lore-card-row { grid-template-columns: 1fr 1fr; } }
.lore-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.lore-card-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.lore-card-body {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- FOUNDER NOTE — personal trust signal, sits between Pillar 3 and Pricing ---------- */
.founder {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 760px;
  margin: 0 auto;
}
.founder-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
}
.founder .section-eyebrow {
  text-align: left;
  margin: 0;
}
.founder-body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.founder-sig {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 6px 0 0;
}
@media (max-width: 480px) {
  .founder-inner { padding: 22px 22px; }
  .founder-body { font-size: 15px; }
}

/* ---------- FAQ — objection killers between Founder Note and Pricing ---------- */
.faq {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 760px;
  margin: 0 auto;
}
.faq .section-head { margin-bottom: 28px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 200ms ease;
}
.faq-item:hover {
  border-color: rgba(139, 109, 255, 0.30);
}
.faq-question {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.faq-answer {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 480px) {
  .faq-item { padding: 18px 20px; }
  .faq-question { font-size: 15px; }
}

/* ---------- Outcome list — sits in the pricing section head, sells value before price. ---------- */
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.outcome-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
}
.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5l4 4 8-9' fill='none' stroke='%238b6dff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
@media (max-width: 480px) {
  .outcome-list li { font-size: 14.5px; padding-left: 26px; }
  .outcome-list li::before { width: 16px; height: 16px; top: 4px; }
}

/* ---------- PRICING ---------- */
.pricing {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--max-width);
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 200ms ease, transform 200ms ease;
}
.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pricing-card-featured {
  border-color: var(--accent);
  /* "Podium rise": on hover the featured card lifts straight up with a slight
     pop (the >1 cubic-bezier overshoots, then settles) — no rotation. More
     specific than .pricing-card:hover, so this wins over the standard -2px. */
  transition: transform 280ms cubic-bezier(0.34, 1.45, 0.64, 1), box-shadow 280ms ease, border-color 200ms ease;
}
.pricing-card-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 44px -22px rgba(139, 109, 255, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card-featured { transition: border-color 200ms ease; }
  .pricing-card-featured:hover { transform: none; box-shadow: none; }
}
.pricing-tier {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.pricing-card-featured .pricing-tier { color: var(--accent); }
.pricing-price {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pricing-cadence {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.pricing-daily {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: -4px 0 10px;
}
.pricing-desc {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.pricing-loss-frame {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
  line-height: 1.5;
  font-style: italic;
}

/* ---------- BOTTOM CTA (second trial CTA for scrollers — waitlist removed, Issue 346) ---------- */
.bottom-cta {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px var(--section-pad-x) 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.disclaimer {
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  margin: 0 0 16px;
}
.footer-meta {
  color: #555;
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.footer-demo-row {
  margin: 0 0 18px;
  text-align: center;
}
.footer-demo-link {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}
.footer-demo-link:hover {
  border-color: var(--accent);
  color: #a98dff;
}

.footer-links {
  margin: 0;
  font-size: 13px;
}
.footer-links a {
  color: var(--accent);
  font-weight: 600;
}
.footer-sep {
  color: #444;
  margin: 0 8px;
}

/* ---------- Responsive guardrails ---------- */
@media (max-width: 480px) {
  .pulse-card { padding: 14px 16px; }
  .pillar-points li { font-size: 14px; }
  .lore-excerpt p { font-size: 17px; }
  .scroll-cue { font-size: 12px; padding: 8px 14px; }
}

/* ---------- Trade ticker (Issue 138) ---------- */
/* Position pill colors copied inline (palette source: app/theme.ts getPositionColor).
   Static landing can't import RN code, same pattern as buildLandingData.mjs. */
.trade-ticker {
  padding: clamp(32px, 4vw, 56px) var(--section-pad-x) clamp(40px, 5vw, 72px);
  max-width: var(--max-width);
  margin: 0 auto;
}
.trade-ticker-headline {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.trade-ticker-headline strong {
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}
.trade-ticker-prompt {
  margin: 14px 0 4px;
  text-align: center;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.15;
}
.trade-ticker-sub {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--muted);
}
.trade-ticker-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .trade-ticker-carousel {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.trade-ticker-slot {
  position: relative;
  display: flex;
}
.trade-ticker-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: var(--text);
  opacity: 0;
  transition: opacity 500ms ease, transform 200ms ease, border-color 200ms ease;
  will-change: opacity;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.trade-ticker-card.is-active {
  opacity: 1;
}
.trade-ticker-card:hover {
  border-color: rgba(139, 109, 255, 0.55);
  transform: translateY(-2px);
}
.trade-ticker-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.trade-ticker-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: start;
}
.trade-ticker-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.trade-ticker-side-right {
  text-align: right;
  align-items: flex-end;
}
.trade-ticker-asset {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.trade-ticker-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}
.trade-ticker-pill {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid currentColor;
  background: transparent;
}
.trade-ticker-side-right .trade-ticker-pill { align-self: flex-end; }
.trade-ticker-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.trade-ticker-side-right .trade-ticker-picks { justify-content: flex-end; }
.trade-ticker-pick {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(139, 109, 255, 0.35);
  background: rgba(139, 109, 255, 0.08);
  white-space: nowrap;
}
.trade-ticker-arrow-sep {
  color: var(--muted);
  font-size: 18px;
  padding-top: 6px;
}
.trade-ticker-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0 10px;
}
.trade-ticker-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}
.trade-ticker-cta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Reduced-motion: stop the cross-fade auto-advance, show prev/next arrows. */
.trade-ticker-arrows {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.trade-ticker-arrow {
  background: var(--card);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}
.trade-ticker-arrow:hover {
  border-color: rgba(139, 109, 255, 0.55);
}
/* Issue 384: link from the ticker into the full public trade database. */
.trade-ticker-more {
  margin: 18px 0 0;
  text-align: center;
  font-size: clamp(13px, 1.4vw, 15px);
}
.trade-ticker-more a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.trade-ticker-more a:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .trade-ticker-arrows { display: flex; }
  .trade-ticker-card { transition: opacity 0ms; }
}

/* Sticky-shrink bar — same anchor as .sticky-cta but takes precedence. */
.trade-ticker-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51; /* above .sticky-cta (z-50) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 32px);
  max-height: 48px;
  background: rgba(8, 6, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.trade-ticker-sticky[data-active] {
  transform: translateY(0);
  pointer-events: auto;
}
.trade-ticker-sticky[data-active][aria-hidden="false"] { /* anchor for AT */ }
.trade-ticker-sticky-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trade-ticker-sticky-count strong {
  color: var(--text);
  font-weight: 700;
}
.trade-ticker-sticky-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  transition: background 200ms ease, transform 100ms ease;
}
.trade-ticker-sticky-cta:hover {
  background: #a98dff;
  color: var(--bg);
  transform: scale(1.02);
}
@media (max-width: 600px) {
  .trade-ticker-sticky-count { font-size: 12px; }
  .trade-ticker-sticky-cta { padding: 6px 11px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .trade-ticker-sticky { transition: none; }
}

/* When the ticker-sticky is active, suppress the trial-CTA .sticky-cta entirely. */
body[data-ticker-sticky-priority] .sticky-cta {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Odometer digit roller — live corpus count (data-ticker-count-trades / leagues) */
.odo-char {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  vertical-align: -0.12em;
  line-height: 1;
  font-size: inherit;
  width: 0.62em;
}
.odo-inner {
  display: block;
  will-change: transform;
  line-height: 1;
}
.odo-inner > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.2em;
  line-height: 1.2;
}
.odo-sep {
  display: inline-block;
  vertical-align: baseline;
}

/* ---------- Site-wide nav (Issue 227) ----------
   Mirrors blog-astro/src/styles/global.css .site-nav so the static landing
   header matches the rest of the site. Two intentional deltas: (1) position is
   relative (not sticky) so it never fights the scroll-triggered .sticky-cta
   bar; (2) hover hex is literal #a98dff because landing.css has no
   --accent-hover token. Keep visually in sync with global.css. */
.site-nav {
  position: relative;
  z-index: 20;
  background: rgba(8, 6, 15, 0.92);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px var(--section-pad-x);
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav-brand {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.site-nav-toggle { display: none; }
.site-nav-burger { display: none; }
.site-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav-menu > li { position: relative; }
.snav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.snav-link:hover { color: var(--text); }
.snav-caret { font-size: 10px; opacity: 0.8; }
.snav-submenu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 212px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
  z-index: 30;
}
.snav-group:hover .snav-submenu,
.snav-group:focus-within .snav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.snav-submenu a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.snav-submenu a:hover { color: var(--text); background: var(--bg); }
.snav-cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 100ms ease, background 200ms ease;
}
.snav-cta:hover { transform: scale(1.02); background: #a98dff; color: var(--bg); }
@media (max-width: 860px) {
  .site-nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid var(--border);
  }
  .site-nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
  }
  .site-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--section-pad-x) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .site-nav-toggle:checked ~ .site-nav-menu { display: flex; }
  .site-nav-menu > li { position: static; width: 100%; }
  .snav-link { width: 100%; padding: 12px 4px; }
  .snav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .snav-caret { display: none; }
  .snav-cta-item { margin-top: 8px; }
  .snav-cta { display: block; text-align: center; padding: 12px; }
}

/* Touch-intent (Issue 262) — let the browser disambiguate scroll vs tap faster
   and disable the double-tap-zoom delay that widens the window for accidental
   clicks when a drag-to-scroll starts on an interactive element. */
.trade-ticker-card,
.slider-row input[type="range"],
[data-toggle],
[data-ticker-arrow],
.snav-link,
.snav-cta,
.sticky-cta-btn {
  touch-action: manipulation;
}

/* Grade-your-team hero card (Issue 236) — free-tool front door in the hero
   cta-block. Matches the dark violet palette; violet-bordered card that fills
   on hover. No layout impact on the odometer/ticker below the hero. */
.grade-hero-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  padding: 18px 20px;
  background: #17121f;
  border: 1px solid #8b6dff;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.grade-hero-card:hover { background: #1d1729; transform: translateY(-1px); }
.grade-hero-eyebrow { color: #8b6dff; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.grade-hero-title { color: #ffffff; font-size: 18px; font-weight: 800; line-height: 1.2; }
.grade-hero-sub { color: #b8b8b8; font-size: 13px; line-height: 1.5; }
.grade-hero-go { color: #8b6dff; font-size: 14px; font-weight: 700; margin-top: 4px; }
