/* WordVault — premium landing page */

/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Cream palette (default) */
  --bg: #F4EFE3;
  --bg-elev: #FBF8F0;
  --bg-card: #FFFFFF;
  --bg-deep: #16140F;
  --bg-deep-elev: #1F1C16;

  --ink: #16140F;
  --ink-2: #3A352B;
  --ink-3: #6E6759;
  --ink-4: #9B9484;
  --ink-on-dark: #F4EFE3;
  --ink-on-dark-2: #B8B1A1;
  --ink-on-dark-3: #7A7466;

  --line: rgba(22, 20, 15, 0.10);
  --line-2: rgba(22, 20, 15, 0.16);
  --line-dark: rgba(244, 239, 227, 0.10);
  --line-dark-2: rgba(244, 239, 227, 0.18);

  --amber: #F59E0B;
  --amber-deep: #D97706;
  --amber-soft: #FEF3C7;
  --amber-glow: rgba(245, 158, 11, 0.18);

  --forest: #1E3A2E;
  --burgundy: #6B2A2A;

  /* Radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  /* Type */
  --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Geist', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --shadow-sm: 0 1px 2px rgba(22,20,15,0.04), 0 1px 1px rgba(22,20,15,0.03);
  --shadow: 0 6px 16px -8px rgba(22,20,15,0.10), 0 2px 6px -2px rgba(22,20,15,0.06);
  --shadow-lg: 0 20px 50px -20px rgba(22,20,15,0.22), 0 8px 20px -10px rgba(22,20,15,0.10);

  --max: 1240px;
}

/* ─── Reset + base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "ss02", "cv11";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 inline;
  margin-left: auto; margin-right: auto;
  padding: 0 32px;
}
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--dark { background: var(--bg-deep); color: var(--ink-on-dark); }

/* ─── Type ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ink-3);
}
.section--dark .eyebrow { color: var(--ink-on-dark-2); }
.section--dark .eyebrow::before { background: var(--ink-on-dark-3); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--amber-deep);
  font-weight: 400;
}
.section--dark .display em { color: var(--amber); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--amber-deep); }
.section--dark .h2 em { color: var(--amber); }

.h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}
.h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 0;
}
.section--dark .lede { color: var(--ink-on-dark-2); }
.body { color: var(--ink-2); }
.section--dark .body { color: var(--ink-on-dark-2); }
.muted { color: var(--ink-3); }
.section--dark .muted { color: var(--ink-on-dark-3); }
.mono { font-family: var(--mono); font-feature-settings: "ss01"; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn--amber {
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FE9967 0%, #F85D77 100%);
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), background 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.btn--amber:hover {
  background: linear-gradient(180deg, #F85D77 0%, #F85D77 100%);
  transform: scale(1.05);
}
.btn--amber:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(248,93,119,0.34);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--bg-elev); }
.section--dark .btn--ghost { color: var(--ink-on-dark); border-color: var(--line-dark-2); }
.section--dark .btn--ghost:hover { background: var(--bg-deep-elev); }
.btn--lg { padding: 17px 28px; font-size: 17px; }

/* App store buttons */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 16px;
  background: var(--ink);
  color: var(--ink-on-dark);
  border-radius: 14px;
  transition: transform 0.18s ease;
}
.store:hover { transform: translateY(-1px); }
.store__icon { width: 28px; height: 28px; }
.store__sup { font-size: 11px; opacity: 0.7; letter-spacing: 0.02em; line-height: 1; margin-bottom: 3px; }
.store__main { font-size: 17px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; }

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.brand__text {
  color: var(--ink);
  font-family: "Montserrat", var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.nav__links {
  display: flex; align-items: center; gap: 34px;
  font-size: 14.5px; color: var(--ink-2);
}
.nav__links a { transition: color 0.15s ease; }
.nav__links a:hover { color: var(--amber-deep); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { padding-top: 90px; padding-bottom: 100px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  width: fit-content;
}
.hero__pill__dot {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--amber);
  display: grid; place-items: center;
  color: #1a1408;
  font-size: 11px;
  font-weight: 700;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__free {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-3);
  margin-top: 4px;
}
.hero__free::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

/* Hero visual — Winston + iPhone mock */
.hero__visual {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__halo {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--amber-glow), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.hero__winston {
  position: absolute;
  bottom: 12px;
  right: -58px;
  width: 400px;
  aspect-ratio: 1 / 1;
  z-index: 1;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 24px 40px rgba(22,20,15,0.18));
  cursor: pointer;
}
.hero__winston-rive,
.hero__winston-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero__winston-rive[hidden],
.hero__winston-fallback[hidden] {
  display: none;
}
.hero__phone {
  position: absolute;
  left: 0; top: 8%;
  width: 58%;
  z-index: 2;
  transform: rotate(-3deg);
}

/* iPhone mock */
.phone {
  border-radius: 38px;
  background: var(--bg-deep);
  padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(22,20,15,0.35), 0 10px 30px -10px rgba(22,20,15,0.20),
              0 0 0 1px rgba(255,255,255,0.06) inset;
}
.phone__screen {
  border-radius: 30px;
  background: linear-gradient(180deg, #1B1812 0%, #16140F 100%);
  padding: 22px 18px 22px;
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #000;
  border-radius: 14px;
}
.phone__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; padding: 4px 10px 22px;
  color: var(--ink-on-dark);
}
.phone__statusbar__icons { display: inline-flex; gap: 5px; align-items: center; opacity: 0.9; }

.phone__hello { font-size: 12px; color: var(--ink-on-dark-3); letter-spacing: 0.02em; text-transform: uppercase; }
.phone__title { font-family: var(--serif); font-size: 28px; line-height: 1.05; margin: 4px 0 18px; }
.phone__title em { color: var(--amber); font-style: italic; }

.phone__card {
  background: var(--bg-deep-elev);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
}
.phone__ritual {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px;
}
.phone__label { font-size: 11px; color: var(--ink-on-dark-3); letter-spacing: 0.06em; text-transform: uppercase; }
.phone__value { font-family: var(--serif); font-size: 32px; line-height: 1; }
.phone__value sup { font-size: 14px; color: var(--ink-on-dark-3); margin-left: 4px; }
.phone__bar { height: 6px; background: var(--bg-deep); border-radius: 99px; overflow: hidden; }
.phone__bar__fill { height: 100%; background: var(--amber); border-radius: 99px; transition: width 0.6s cubic-bezier(.2,.7,.2,1); }
.phone__vaults {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.phone__vault {
  height: 36px;
  border-radius: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  font-size: 11px; color: var(--ink-on-dark-3);
  font-family: var(--mono);
}
.phone__vault--on {
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: #1A1408;
  border-color: var(--amber-deep);
  font-weight: 700;
}

/* ─── Hero stats strip ───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
}
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.stat__n em { color: var(--amber-deep); font-style: italic; }
.stat__l { color: var(--ink-3); font-size: 14px; margin-top: 8px; }

/* ─── Section heads ──────────────────────────────────────────────────── */
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.section__head__left { display: flex; flex-direction: column; gap: 18px; }
.section__head__right { color: var(--ink-2); padding-bottom: 8px; }
.section--dark .section__head__right { color: var(--ink-on-dark-2); }

/* ─── Pacing — 3 steps ───────────────────────────────────────────────── */
.pacing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--bg-elev);
  overflow: hidden;
}
.step {
  padding: 36px 32px 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.step:last-child { border-right: 0; }
.step__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--amber-deep);
  letter-spacing: -0.02em;
}
.step__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.step__body { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.step__visual {
  margin-top: auto;
  height: 160px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 16px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}

/* Step visuals */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 4px;
  flex: 1;
  min-height: 0;
  padding-top: 4px;
}
.cal-cell {
  border-radius: 4px;
  background: var(--bg-elev);
  font-size: 9px;
  color: var(--ink-4);
  display: grid; place-items: center;
}
.cal-cell--exam { background: var(--amber); color: #1A1408; font-weight: 700; }
.cal-cell--marked { background: var(--ink); color: var(--ink-on-dark); }

.target-row { display: flex; justify-content: space-between; align-items: baseline; }
.target-num { font-family: var(--serif); font-size: 40px; line-height: 1; }
.target-num em { color: var(--amber-deep); }
.target-bar { height: 6px; background: var(--bg-elev); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.target-bar__fill { height: 100%; background: var(--amber); width: 60%; border-radius: 99px; }
.target-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--bg-elev);
  color: var(--ink-2);
  font-family: var(--mono);
}

.curve { flex: 1; position: relative; }
.curve svg { width: 100%; height: 100%; }

/* ─── Bento grid ─────────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 20px;
}
.tile {
  background: var(--bg-deep-elev);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tile:hover { border-color: var(--line-dark-2); transform: translateY(-2px); }
.tile__head { display: flex; flex-direction: column; gap: 8px; }
.tile__title { font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.tile__title em { color: var(--amber); font-style: italic; }
.tile__body { color: var(--ink-on-dark-2); font-size: 15px; line-height: 1.55; max-width: 50ch; }

.tile--memory { grid-column: span 6; min-height: 380px; }
.tile--winston { grid-column: span 3; min-height: 420px; }
.tile--dash { grid-column: span 3; min-height: 420px; }
.tile--games { grid-column: span 6; min-height: 260px; }

/* Memory science pipeline */
.pipeline {
  display: grid;
  grid-template-columns: auto repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 20px;
}
.pipe-card {
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.pipe-card--new { background: transparent; border-style: dashed; }
.pipe-card--mastered {
  background: linear-gradient(160deg, rgba(245,158,11,0.18) 0%, rgba(217,119,6,0.06) 100%);
  border-color: rgba(245,158,11,0.45);
}
.pipe-card__lbl { font-size: 11px; color: var(--ink-on-dark-3); letter-spacing: 0.08em; text-transform: uppercase; }
.pipe-card__name { font-family: var(--serif); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.pipe-card--mastered .pipe-card__name { color: var(--amber); }
.pipe-card__meta { font-family: var(--mono); font-size: 11px; color: var(--ink-on-dark-3); margin-top: auto; }
.pipe-arrow {
  align-self: center;
  color: var(--ink-on-dark-3);
  font-size: 18px;
  display: grid; place-items: center;
}
.pipe-sample {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-on-dark-2);
  margin-top: 16px;
  font-family: var(--mono);
  display: flex; justify-content: space-between; align-items: center;
}
.pipe-sample b { color: var(--ink-on-dark); font-weight: 600; }

/* Winston tile */
.winston-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 4px;
}
.winston-display {
  min-height: 250px;
  display: grid;
  place-items: center;
  position: relative;
}
.winston-display::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 68%);
  filter: blur(18px);
}
.winston-display__canvas,
.winston-display__fallback {
  display: block;
  width: min(300px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.34));
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.winston-carousel.is-switching .winston-display__canvas,
.winston-carousel.is-switching .winston-display__fallback {
  opacity: 0;
  transform: translateY(6px) scale(0.985);
}
.winston-display__canvas[hidden],
.winston-display__fallback[hidden] {
  display: none;
}
.winston-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 4px;
}
.winston-tab {
  min-height: 38px;
  border-radius: 10px;
  color: var(--ink-on-dark-3);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.winston-tab:hover {
  color: var(--ink-on-dark);
}
.winston-tab.is-active {
  background: rgba(245,158,11,0.16);
  color: var(--amber);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.22) inset;
}
.winston-state {
  color: var(--ink-on-dark-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* Dashboard tile */
.dash {
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 18px;
  flex: 1;
  display: flex; flex-direction: column; gap: 16px;
}
.dash__row { display: flex; justify-content: space-between; align-items: baseline; }
.dash__big { font-family: var(--serif); font-size: 36px; line-height: 1; }
.dash__big em { color: var(--amber); }
.dash__chart { height: 80px; position: relative; }
.dash__chart svg { width: 100%; height: 100%; }
.dash__heatmap {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
}
.dash__days {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
  margin-top: 6px;
  color: var(--ink-on-dark-3);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}
.heat {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--bg-deep-elev);
}
.heat--1 { background: rgba(245,158,11,0.25); }
.heat--2 { background: rgba(245,158,11,0.45); }
.heat--3 { background: rgba(245,158,11,0.7); }
.heat--4 { background: var(--amber); }
.dash__mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dash__mini__item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 10px;
}
.dash__mini__item span {
  display: block;
  color: var(--ink-on-dark-3);
  font-family: var(--mono);
  font-size: 10px;
  margin-bottom: 6px;
}
.dash__mini__item strong {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

/* Games tile */
.tile--games { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.games-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.game-card {
  background: var(--bg-deep);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.game-card__lbl { font-size: 10.5px; color: var(--ink-on-dark-3); letter-spacing: 0.08em; text-transform: uppercase; }
.game-card__word { font-family: var(--serif); font-size: 20px; line-height: 1; }
.game-card__opts { display: flex; flex-direction: column; gap: 4px; }
.game-opt {
  font-size: 11.5px; padding: 6px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: var(--ink-on-dark-2);
}
.game-opt--correct { background: rgba(245,158,11,0.18); color: var(--amber); }

/* ─── Syllabus ───────────────────────────────────────────────────────── */
.syllabus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.syl {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  overflow: hidden;
}
.syl--premium {
  background: var(--bg-deep);
  color: var(--ink-on-dark);
  border-color: var(--ink);
}
.syl__top { display: flex; justify-content: space-between; align-items: flex-start; }
.syl__price {
  font-family: var(--serif);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--ink-on-dark);
}
.syl--premium .syl__price { background: var(--amber); color: #1A1408; font-weight: 600; }
.syl__count { font-family: var(--serif); font-size: 88px; line-height: 1; letter-spacing: -0.03em; }
.syl__count sup { font-size: 28px; color: var(--ink-3); margin-left: 4px; }
.syl--premium .syl__count sup { color: var(--ink-on-dark-3); }
.syl__name { font-family: var(--serif); font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.syl__name em { color: var(--amber-deep); font-style: italic; }
.syl--premium .syl__name em { color: var(--amber); }
.syl__desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 42ch; }
.syl--premium .syl__desc { color: var(--ink-on-dark-2); }
.syl__list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 0; list-style: none; }
.syl__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.syl__list li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ─── Pricing CTA ────────────────────────────────────────────────────── */
.cta {
  background: var(--bg-deep);
  color: var(--ink-on-dark);
  border-radius: 36px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse at top, var(--amber-glow), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 6px 14px;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 99px;
  background: rgba(245,158,11,0.06);
}
.cta__h {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.cta__h em { color: var(--amber); font-style: italic; }
.cta__sub { color: var(--ink-on-dark-2); font-size: 17px; max-width: 52ch; }
.cta__stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.cta__fine { font-size: 13px; color: var(--ink-on-dark-3); margin-top: 4px; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
}
.footer__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer__links { display: flex; gap: 28px; }
.footer__links a:hover { color: var(--ink); }

/* ─── Legal / support pages ─────────────────────────────────────────── */
.legal-page {
  min-height: 70vh;
}
.legal-hero {
  padding: 88px 0 36px;
  border-bottom: 1px solid var(--line);
}
.legal-wrap {
  max-width: 820px;
}
.legal-hero .h2 {
  margin-top: 18px;
}
.legal-updated {
  color: var(--ink-3);
  margin: 10px 0 0;
}
.legal-content {
  padding: 48px 0 96px;
}
.legal-content p,
.legal-content li {
  color: var(--ink-2);
}
.legal-content h2,
.legal-content h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 34px 0 10px;
}
.legal-content h2 {
  font-size: 30px;
}
.legal-content h3 {
  font-size: 23px;
}
.legal-content a {
  color: var(--amber-deep);
  font-weight: 500;
}
.legal-content a:hover {
  color: var(--ink);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; min-height: 540px; margin: 0 auto; }
  .hero__winston {
    bottom: 0;
    right: -36px;
    width: 380px;
    max-width: 74%;
  }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .pacing { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile--memory, .tile--winston, .tile--dash, .tile--games { grid-column: span 1; min-height: 0; }
  .tile--games { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-arrow { transform: rotate(90deg); }
  .syllabus { grid-template-columns: 1fr; }
  .cta { padding: 56px 28px; }
  .wrap { padding: 0 20px; }
  .nav__links { display: none; }
}
