/* =====================================================
   STANDARD BANK, THE DAILY DISPATCH
   Brand colors pulled from sb-logo.svg gradient stops
   ===================================================== */

:root {
  /* Standard Bank authentic palette (from their logo SVG) */
  --sb-navy-deep: #002445;   /* darkest gradient stop */
  --sb-navy: #004176;
  --sb-blue: #005CA4;        /* primary brand blue */
  --sb-blue-mid: #4A76B5;
  --sb-blue-soft: #6095CC;
  --sb-blue-light: #7BBBE8;  /* top of gradient */
  --sb-blue-bright: #0089FF; /* vivid accent (spotted in their CSS) */
  --sb-ink-blue: #001A35;    /* hero bg */
  --sb-silver: #C6C6C6;

  /* Warm accent kept tiny, for "today" pulse and one emphasis */
  --sb-amber: #F3B62B;
  --sb-emerald: #008758;

  /* Neutrals */
  --ink: #0B0E17;
  --ink-2: #2A2F3D;
  --paper: #FAF7F2;
  --paper-2: #EEF3F9;        /* a pale-blue tinted paper */
  --paper-3: #E6EDF5;
  --line: rgba(0, 36, 69, 0.09);
  --line-2: rgba(0, 36, 69, 0.16);
  --muted: rgba(0, 36, 69, 0.58);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-display: 'Fraunces', 'Inter', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
em { font-style: italic; font-family: var(--font-display); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
}

/* =====================================================
   FLOATING NAV
   ===================================================== */
.floating-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1320px;
  padding: 10px 14px;
  background: rgba(0, 26, 53, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
}
.floating-nav.scrolled {
  background: rgba(0, 26, 53, 0.94);
  border-color: rgba(123, 187, 232, 0.18);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding-left: 10px;
}
.nav-logo {
  height: 26px;
  width: auto;
  display: block;
  transition: transform .2s;
}
.nav-brand:hover .nav-logo { transform: translateY(-1px); }
.nav-x {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: rgba(255,255,255,0.35);
  line-height: 1;
}
.nav-partner-logo {
  display: inline-block;
  width: 70px;
  height: 26px;
  background-image: url('./mannmade-logo.png');
  background-repeat: no-repeat;
  background-size: auto 140%;
  background-position: 0 50%;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all .2s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(123, 187, 232, 0.12);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--sb-blue);
  padding: 10px 18px;
  border-radius: 100px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--sb-blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(0, 137, 255, 0.6);
}
.nav-cta span:last-child { transition: transform .2s; }
.nav-cta:hover span:last-child { transform: translateX(3px); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 137, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(123, 187, 232, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--sb-ink-blue) 0%, var(--sb-navy-deep) 60%, var(--sb-navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 187, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 187, 232, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(0, 137, 255, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.hero-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sb-blue-bright);
  box-shadow: 0 0 10px var(--sb-blue-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-date { font-weight: 500; }

.hero-body { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}
.tag-line {
  width: 40px;
  height: 1px;
  background: var(--sb-blue-light);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(54px, 8.5vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.title-line:nth-child(1) { animation-delay: .1s; }
.title-line:nth-child(2) { animation-delay: .25s; }
.title-line em {
  font-style: italic;
  color: var(--sb-blue-light);
  font-weight: 600;
  background: linear-gradient(135deg, #7BBBE8 0%, #0089FF 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-lede {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sb-blue-bright);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 137, 255, 0.5);
}
.btn-primary:hover {
  background: #33a1ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 137, 255, 0.7);
}
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(123, 187, 232, 0.2);
}
.btn-ghost:hover {
  background: rgba(123, 187, 232, 0.1);
  border-color: rgba(123, 187, 232, 0.4);
}

.btn-primary-light {
  background: var(--sb-blue-bright);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 137, 255, 0.5);
}
.btn-primary-light:hover {
  background: #33a1ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 137, 255, 0.7);
}
.btn-primary-light svg { transition: transform .2s; }
.btn-primary-light:hover svg { transform: translateX(4px); }

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost-light:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(123, 187, 232, 0.15);
  max-width: 640px;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-unit {
  font-size: 16px;
  color: rgba(123, 187, 232, 0.6);
  font-weight: 400;
  font-family: var(--font-sans);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ---------- Hero mock ---------- */
.hero-mock { position: relative; padding-top: 20px; }
.mock-shadow {
  position: absolute;
  inset: 40px -40px 40px 40px;
  background: radial-gradient(ellipse at center, rgba(0, 137, 255, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.mock-email {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 36, 69, 0.6),
    0 0 0 1px rgba(255,255,255,0.06);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: floatMock 6s ease-in-out infinite;
}
.mock-email:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
@keyframes floatMock {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(-8px); }
}

.mock-email-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.chrome-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.chrome-dot:nth-child(1) { background: #FF5F57; }
.chrome-dot:nth-child(2) { background: #FEBC2E; }
.chrome-dot:nth-child(3) { background: #28C840; }
.chrome-url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.mock-email-body { padding: 28px; }
.mock-email-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--sb-blue);
  padding: 4px 10px;
  background: rgba(0, 92, 164, 0.08);
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.mock-email-subject {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.mock-email-prompt {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 22px;
}
.pill {
  display: inline-block;
  padding: 1px 8px;
  background: var(--sb-blue);
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  font-family: var(--font-mono);
}
.mock-email-actions { display: flex; gap: 8px; margin-bottom: 20px; }
.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.mock-btn-done {
  background: var(--sb-blue);
  color: #fff;
}
.mock-btn-done:hover { background: var(--sb-blue-bright); }
.mock-btn-skip {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.mock-email-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.mock-streak-card {
  position: absolute;
  bottom: -40px;
  left: -40px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow:
    0 20px 40px -10px rgba(0, 36, 69, 0.4),
    0 0 0 1px rgba(255,255,255,0.06);
  width: 260px;
  animation: floatMock 6s ease-in-out infinite;
  animation-delay: -3s;
  z-index: 2;
}
.streak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.streak-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.streak-days {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-blue);
}
.streak-dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
}
.streak-dots .dot {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--paper-3);
}
.streak-dots .dot.on {
  background: linear-gradient(135deg, var(--sb-blue-bright) 0%, var(--sb-blue) 100%);
}
.streak-dots .dot.pulse { animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 137, 255, 0.55); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(0, 137, 255, 0); }
}

/* ---------- Marquee ---------- */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 0;
  background: linear-gradient(90deg, var(--sb-navy-deep) 0%, var(--sb-blue) 50%, var(--sb-navy-deep) 100%);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(123, 187, 232, 0.3);
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee-track span { flex-shrink: 0; }
.mq-dot { opacity: 0.5; color: var(--sb-blue-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .mock-streak-card { left: auto; right: -20px; bottom: -30px; width: 220px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   GENERIC SECTION HEADS
   ===================================================== */
.section-head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sb-blue);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(0, 92, 164, 0.08);
  border-radius: 100px;
}
.eyebrow span { color: var(--muted); opacity: 0.6; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-title .accent {
  color: var(--sb-blue);
  font-style: italic;
  font-weight: 600;
}
.section-title .accent-red {
  background: linear-gradient(135deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 600;
}
.section-title .muted { color: var(--muted); }
.section-title em {
  font-style: italic;
  color: var(--sb-blue);
  font-weight: 600;
}
.section-title.light { color: #fff; }
.section-title.light .accent-red {
  background: linear-gradient(135deg, var(--sb-blue-light) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}
.section-sub.light { color: rgba(255,255,255,0.65); }

/* =====================================================
   REFRAME SECTION
   ===================================================== */
.reframe {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
}

.reframe-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 80px;
}
.compare-col {
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}
.compare-before {
  background: #F1EEE8;
  color: var(--muted);
}
.compare-before .compare-headline { color: var(--ink-2); opacity: 0.6; text-decoration: line-through; text-decoration-thickness: 2px; }
.compare-after {
  background: linear-gradient(140deg, var(--sb-navy) 0%, var(--sb-navy-deep) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 20px 60px -20px rgba(0, 36, 69, 0.4);
}
.compare-after::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(0, 137, 255, 0.35) 0%, transparent 70%);
  border-radius: 0 24px 0 100%;
  pointer-events: none;
}
.compare-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.7;
}
.compare-after .compare-label { color: var(--sb-blue-light); opacity: 1; }
.compare-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.compare-after .compare-headline { color: #fff; }
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.compare-list .check,
.compare-list .x {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.compare-list .check {
  background: var(--sb-blue-bright);
  color: #fff;
}
.compare-list .x {
  background: var(--line-2);
  color: var(--muted);
}
.compare-after .compare-list li em {
  color: var(--sb-blue-light);
  font-style: italic;
}

.compare-vs {
  align-self: center;
  color: var(--sb-blue);
  opacity: 0.6;
}

.reframe-principle {
  background: var(--sb-navy-deep);
  color: #fff;
  padding: 60px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.reframe-principle::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.principle-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  font-style: italic;
  color: var(--sb-blue-light);
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.reframe-principle p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.reframe-principle p em { color: var(--sb-blue-light); }

@media (max-width: 880px) {
  .reframe-compare { grid-template-columns: 1fr; }
  .compare-vs { transform: rotate(90deg); }
  .reframe-principle { grid-template-columns: 1fr; padding: 40px; }
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how {
  padding: 120px 0;
  background: var(--paper-2);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 36, 69, 0.15);
}
.how-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.how-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--sb-blue);
}
.how-icon svg { width: 100%; height: 100%; }
.how-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.how-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.how-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sb-blue);
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

@media (max-width: 880px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   WEEKS / PROMPT EXPLORER
   ===================================================== */
.weeks {
  padding: 120px 0;
  background: var(--paper);
}

.week-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.week-tab {
  padding: 18px 20px;
  border-radius: 14px;
  text-align: left;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.week-tab:hover { background: var(--paper-2); }
.week-tab.active {
  background: var(--sb-navy-deep);
  color: #fff;
}
.week-tab.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20px; right: 20px;
  height: 2px;
  background: var(--sb-blue-light);
  border-radius: 2px;
}
.wt-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.wt-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.wt-dates {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 2px;
}

.week-panels { position: relative; }
.week-panel { display: none; animation: fadeUp .5s cubic-bezier(.2,.8,.2,1); }
.week-panel.active {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.week-brief {
  background: linear-gradient(140deg, var(--sb-navy) 0%, var(--sb-navy-deep) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  overflow: hidden;
}
.week-brief::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.week-icon {
  width: 64px;
  height: 64px;
  color: var(--sb-blue-light);
  position: relative;
  z-index: 1;
}
.week-icon svg { width: 100%; height: 100%; }
.week-panel-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sb-blue-light);
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.week-brief h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.week-brief p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.week-brief p em {
  color: var(--sb-blue-light);
  font-style: italic;
}
.week-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(123, 187, 232, 0.2);
  position: relative;
  z-index: 1;
}
.week-stats span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.week-stats strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--sb-blue-light);
  letter-spacing: -0.02em;
}

.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prompt-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  transition: all .25s;
}
.prompt-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0, 36, 69, 0.1);
}
.prompt-day {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-blue);
  margin-bottom: 16px;
}
.prompt-fact {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: 10px;
  margin-bottom: 16px;
  border-left: 3px solid var(--sb-blue);
  line-height: 1.45;
}
.prompt-task {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 400;
}
.prompt-task em {
  color: var(--sb-blue);
  font-style: italic;
  font-weight: 500;
}
.prompt-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meta-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 5px 10px;
  background: var(--paper-2);
  border-radius: 100px;
  border: 1px solid var(--line);
  text-transform: uppercase;
}
.meta-chip.highlighted {
  background: var(--sb-blue);
  color: #fff;
  border-color: var(--sb-blue);
}
.meta-chip-hot {
  background: linear-gradient(135deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  color: #fff;
  border: none;
}

.prompt-card-friday {
  background: linear-gradient(140deg, #F0F6FC 0%, #E6EDF5 100%);
  border: 1px solid rgba(0, 92, 164, 0.15);
}
.prompt-card-featured {
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 20px 60px -20px rgba(0, 36, 69, 0.5);
  position: relative;
  overflow: hidden;
}
.prompt-card-featured::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.prompt-card-featured .prompt-day { color: var(--sb-blue-light); position: relative; }
.prompt-card-featured .prompt-fact {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border-left-color: var(--sb-blue-light);
  position: relative;
}
.prompt-card-featured .prompt-task { color: #fff; position: relative; }
.prompt-card-featured .prompt-task strong { color: var(--sb-blue-light); }
.prompt-card-featured .prompt-meta { position: relative; }

@media (max-width: 980px) {
  .week-panel.active { grid-template-columns: 1fr; }
  .week-brief { position: static; }
  .week-tabs { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   LEADERBOARD
   ===================================================== */
.leaderboard-section {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 137, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(123, 187, 232, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--sb-navy-deep) 0%, var(--sb-ink-blue) 100%);
  color: #fff;
}

.lb-container {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  color: var(--ink);
  box-shadow:
    0 40px 120px -30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(123, 187, 232, 0.1);
}
.lb-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.lb-chrome-left { display: flex; gap: 6px; }
.lb-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); }
.lb-dot:nth-child(1) { background: #FF5F57; }
.lb-dot:nth-child(2) { background: #FEBC2E; }
.lb-dot:nth-child(3) { background: #28C840; }
.lb-chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  justify-self: center;
}
.lb-live {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--sb-blue-bright);
  letter-spacing: 0.12em;
}

.lb-body { padding: 40px 48px 48px; }
.lb-header { margin-bottom: 32px; }
.lb-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 32px;
}
.lb-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-blue);
  font-weight: 600;
  margin-bottom: 6px;
}
.lb-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.lb-day {
  text-align: right;
  border-left: 3px solid var(--sb-blue);
  padding-left: 16px;
}
.lb-day-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lb-day-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.lb-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 100px;
  border: 1px solid var(--line);
}
.lb-toggle-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}
.lb-toggle-btn:hover { color: var(--ink); }
.lb-toggle-btn.active {
  background: var(--sb-navy-deep);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(0, 36, 69, 0.3);
}

.lb-view { display: none; }
.lb-view.active { display: block; animation: fadeUp .4s cubic-bezier(.2,.8,.2,1); }

/* BU view */
.bu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.bu-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: all .25s;
}
.bu-card:hover { transform: translateY(-2px); }
.bu-card.bu-1 {
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 20px 40px -20px rgba(0, 36, 69, 0.5);
}
.bu-card.bu-1 .bu-full,
.bu-card.bu-1 .bu-meta span:first-child { color: rgba(255,255,255,0.6); }
.bu-rank {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.bu-trophy {
  position: absolute;
  top: 20px;
  right: 60px;
  font-size: 24px;
  filter: drop-shadow(0 4px 12px rgba(243, 182, 43, 0.5));
}
.bu-name {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--sb-blue);
}
.bu-1 .bu-name {
  background: linear-gradient(135deg, var(--sb-blue-light) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bu-full {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.bu-bar-wrap {
  height: 32px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.bu-card.bu-1 .bu-bar-wrap { background: rgba(255,255,255,0.08); }
.bu-bar {
  height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  justify-content: flex-end;
  animation: barGrow 1.2s cubic-bezier(.2,.8,.2,1);
  transform-origin: left;
}
@keyframes barGrow { from { transform: scaleX(0); } }
.bu-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.bu-trend {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.bu-trend.up { color: var(--sb-emerald); }
.bu-trend.down { color: var(--sb-blue-bright); }

.bu-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--paper-2);
  border-radius: 14px;
  margin-top: 8px;
}
.bu-footer-right {
  text-align: right;
  border-left: 1px solid var(--line-2);
  padding-left: 24px;
}
.bu-footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.bu-footer-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.bu-footer-value strong {
  color: var(--sb-blue);
  font-weight: 700;
}

/* Individuals view */
.indiv-head {
  display: grid;
  grid-template-columns: 60px 1.6fr 70px 1.4fr 1.2fr 80px;
  gap: 16px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.indiv-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 70px 1.4fr 1.2fr 80px;
  gap: 16px;
  padding: 16px 20px;
  align-items: center;
  border-radius: 12px;
  transition: background .2s;
}
.indiv-row:hover { background: var(--paper-2); }
.indiv-row-1 {
  background: linear-gradient(90deg, rgba(243, 182, 43, 0.08) 0%, transparent 60%);
  border-left: 3px solid var(--sb-amber);
}
.indiv-row-2 { border-left: 3px solid rgba(160, 160, 160, 0.4); }
.indiv-row-3 { border-left: 3px solid rgba(176, 110, 60, 0.4); }

.indiv-rank {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rank-medal { font-size: 18px; }
.indiv-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.bu-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}
.bu-tag-cib { background: rgba(0, 92, 164, 0.12); color: var(--sb-blue); }
.bu-tag-bcb { background: rgba(74, 118, 181, 0.15); color: #3a5d91; }
.bu-tag-ar { background: rgba(123, 187, 232, 0.25); color: #1f6ea8; }
.bu-tag-pbb { background: rgba(0, 137, 255, 0.12); color: var(--sb-blue-bright); }

.indiv-streak, .indiv-depth {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.streak-bar, .depth-bar {
  height: 6px;
  background: var(--line);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.streak-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--s);
  background: linear-gradient(90deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  border-radius: 100px;
  animation: barGrow 1s cubic-bezier(.2,.8,.2,1);
  transform-origin: left;
}
.depth-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--d);
  background: var(--sb-blue-bright);
  border-radius: 100px;
  animation: barGrow 1.2s cubic-bezier(.2,.8,.2,1);
  transform-origin: left;
}
.indiv-score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-blue);
  letter-spacing: -0.02em;
  text-align: right;
}

.indiv-hidden {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--paper-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed var(--line-2);
}
.indiv-hidden-icon { font-size: 14px; }

/* Me view */
.me-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}
.me-hero {
  grid-column: 1 / -1;
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.me-hero::before {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.me-hello {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.me-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.me-sub strong { color: var(--sb-blue-light); font-weight: 700; }

.me-score-wrap {
  position: relative;
  width: 140px; height: 140px;
}
.me-score-ring { width: 100%; height: 100%; transform: rotate(0); }
.me-score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.me-score-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.me-score-val span {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
}
.me-score-name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-blue-light);
  margin-top: 4px;
  font-weight: 600;
}

.me-streak, .me-depth, .me-peer {
  background: var(--paper);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line);
}
.me-streak { grid-column: 1 / 2; grid-row: 2 / 4; }
.me-depth { grid-column: 2 / 3; grid-row: 2 / 3; }
.me-peer { grid-column: 3 / 4; grid-row: 2 / 3; }

.me-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  gap: 12px;
}
.me-card-head > span:first-child {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.me-card-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.sd {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.sd.done {
  background: linear-gradient(135deg, var(--sb-blue-bright) 0%, var(--sb-blue) 100%);
  color: #fff;
  border: none;
}
.sd.miss {
  background: var(--paper-2);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.sd.today {
  background: #fff;
  border: 2px dashed var(--sb-blue-bright);
  color: var(--sb-blue-bright);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.me-streak-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.emerald { color: var(--sb-emerald); font-weight: 700; }
.me-streak-nudge { color: var(--sb-blue-bright); font-weight: 600; }

.depth-chart { width: 100%; height: auto; display: block; margin-bottom: 14px; }
.me-depth-foot, .peer-count { font-size: 12px; }
.me-depth-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
}
.me-depth-foot b { color: var(--ink); }

.peer-count { text-align: center; margin-bottom: 14px; }
.peer-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--sb-blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.peer-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.peer-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
  justify-content: center;
}
.pb {
  width: 8px;
  height: var(--h);
  background: var(--sb-blue-bright);
  border-radius: 3px;
  opacity: 0.7;
}
.pb:last-child { opacity: 1; }

.me-today {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.me-today-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 6px 10px;
  background: rgba(255,255,255,0.18);
  border-radius: 6px;
  white-space: nowrap;
}
.me-today-prompt {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.me-today-cta {
  background: #fff;
  color: var(--sb-navy-deep);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s;
}
.me-today-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.3);
}

@media (max-width: 880px) {
  .lb-body { padding: 24px; }
  .lb-toggle { flex-direction: column; align-items: stretch; width: 100%; }
  .lb-toggle-btn { text-align: center; }
  .bu-grid { grid-template-columns: 1fr; }
  .indiv-head, .indiv-row { grid-template-columns: 40px 1fr 60px 1fr; font-size: 12px; }
  .indiv-head > span:nth-child(n+5),
  .indiv-row > span:nth-child(n+5) { display: none; }
  .me-grid { grid-template-columns: 1fr; }
  .me-streak, .me-depth, .me-peer { grid-column: 1 / -1; grid-row: auto; }
  .me-hero { flex-direction: column; align-items: flex-start; }
  .me-today { grid-template-columns: 1fr; }
}

/* =====================================================
   SCORING
   ===================================================== */
.scoring {
  padding: 120px 0;
  background: var(--paper);
}
.scoring-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.scoring-chart { position: relative; }
.donut {
  width: 100%;
  max-width: 380px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.scoring-chart:hover .donut { transform: rotate(2deg); }
.donut-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--muted);
  font-weight: 600;
}
.donut-sub {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  fill: var(--ink);
  letter-spacing: -0.02em;
}

.scoring-legend { display: flex; flex-direction: column; gap: 20px; }
.legend-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: all .25s;
}
.legend-item:hover {
  border-color: var(--line-2);
  transform: translateX(4px);
}
.legend-swatch {
  width: 4px;
  border-radius: 4px;
  justify-self: start;
  height: 100%;
}
.legend-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.legend-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.legend-pct {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--sb-blue);
}
.legend-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legend-rule {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.scoring-guardrails {
  background: var(--sb-navy-deep);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.scoring-guardrails::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.guard-head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-blue-light);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.guard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.guard {
  padding: 24px 20px;
  background: rgba(123, 187, 232, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(123, 187, 232, 0.12);
}
.guard-icon {
  font-size: 24px;
  margin-bottom: 14px;
}
.guard-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.guard-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 980px) {
  .scoring-wrap { grid-template-columns: 1fr; gap: 40px; }
  .scoring-chart { max-width: 320px; margin: 0 auto; }
  .guard-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   PRIZES
   ===================================================== */
.prizes {
  padding: 120px 0;
  background: var(--paper-2);
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prize-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px 36px;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.prize-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0, 36, 69, 0.18);
}
.prize-3 {
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 20px 60px -20px rgba(0, 36, 69, 0.4);
}
.prize-3::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, rgba(0, 137, 255, 0.35) 0%, transparent 60%);
  border-radius: 0 24px 0 100%;
  pointer-events: none;
}

.prize-ribbon {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sb-blue);
  padding: 6px 12px;
  background: rgba(0, 92, 164, 0.08);
  border-radius: 6px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.prize-3 .prize-ribbon {
  background: rgba(0, 137, 255, 0.25);
  color: var(--sb-blue-light);
}

.prize-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 500;
  font-style: italic;
  color: var(--line-2);
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 32px;
  right: 36px;
  pointer-events: none;
}
.prize-3 .prize-number { color: rgba(123, 187, 232, 0.3); }
.prize-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.prize-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.prize-3 .prize-sub { color: rgba(255,255,255,0.65); }

.prize-reward {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.prize-3 .prize-reward {
  background: rgba(123, 187, 232, 0.05);
  border: 1px solid rgba(123, 187, 232, 0.1);
}
.reward-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
}
.reward-row span:first-child { font-size: 16px; }
.prize-foot {
  font-size: 12px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  line-height: 1.5;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.prize-3 .prize-foot {
  border-top-color: rgba(123, 187, 232, 0.2);
  color: rgba(255,255,255,0.65);
}
.prize-foot-hot strong {
  color: var(--sb-blue-light);
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 980px) {
  .prize-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   TIMELINE
   ===================================================== */
.timeline {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.timeline-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.timeline-rail {
  position: absolute;
  top: 48px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--sb-blue-bright) 0%,
    var(--sb-blue-bright) 85%,
    rgba(0, 137, 255, 0.2) 100%);
}
.timeline-rail::after {
  content: '';
  position: absolute;
  top: -5px;
  right: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sb-blue-bright);
  box-shadow: 0 0 20px var(--sb-blue-bright);
}

.tl-step {
  position: relative;
  padding-top: 72px;
  animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) both;
}
.tl-step-1 { animation-delay: .1s; }
.tl-step-2 { animation-delay: .2s; }
.tl-step-3 { animation-delay: .3s; }
.tl-step-4 { animation-delay: .4s; }
.tl-step-5 { animation-delay: .5s; }
.tl-step-6 { animation-delay: .6s; }

.tl-dot {
  position: absolute;
  top: 40px;
  left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sb-navy-deep);
  border: 2px solid var(--sb-blue-bright);
}
.tl-step-final .tl-dot {
  background: var(--sb-blue-bright);
  box-shadow: 0 0 24px var(--sb-blue-bright);
  transform: scale(1.2);
}
.tl-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sb-blue-light);
  margin-bottom: 10px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.tl-copy {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

.tl-step-final .tl-title {
  background: linear-gradient(135deg, var(--sb-blue-light) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 980px) {
  .timeline-wrap { grid-template-columns: 1fr 1fr; }
  .timeline-rail { display: none; }
  .tl-step { padding-top: 40px; }
  .tl-dot { position: relative; top: 0; margin-bottom: 12px; }
}
@media (max-width: 600px) {
  .timeline-wrap { grid-template-columns: 1fr; }
}

/* =====================================================
   THE ASK
   ===================================================== */
.ask {
  background: var(--sb-ink-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ask::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ask-inner {
  padding: 120px 0 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.ask-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sb-blue-light);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(0, 137, 255, 0.12);
  border-radius: 100px;
  display: inline-block;
}
.ask-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.ask-body {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 56px;
}

.ask-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  text-align: left;
}
.q-card {
  background: rgba(123, 187, 232, 0.05);
  border: 1px solid rgba(123, 187, 232, 0.12);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  transition: all .25s;
}
.q-card:hover {
  background: rgba(123, 187, 232, 0.08);
  border-color: rgba(123, 187, 232, 0.2);
  transform: translateY(-2px);
}
.q-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: var(--sb-blue-light);
  letter-spacing: -0.02em;
  line-height: 1;
}
.q-q {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.q-a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.ask-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ask-cta-row .btn-ghost-light {
  color: #fff;
  border-color: rgba(123, 187, 232, 0.3);
}
.ask-cta-row .btn-ghost-light:hover {
  background: #fff;
  color: var(--sb-navy-deep);
  border-color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(123, 187, 232, 0.15);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  height: 30px;
  width: auto;
}
.footer-x {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1;
}
.footer-partner-logo {
  display: inline-block;
  width: 75px;
  height: 30px;
  background-image: url('./mannmade-logo.png');
  background-repeat: no-repeat;
  background-size: auto 140%;
  background-position: 0 50%;
  flex-shrink: 0;
}
.footer-meta-wrap {
  margin-left: 8px;
  border-left: 1px solid rgba(123, 187, 232, 0.18);
  padding-left: 14px;
}
.footer-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.footer-right { text-align: right; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .ask-questions { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* =====================================================
   UTILITY / ANIMATIONS
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition:
    opacity .85s cubic-bezier(.2,.8,.2,1),
    transform .85s cubic-bezier(.2,1.05,.3,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =====================================================
   GAME-FEEL ANIMATIONS
   ===================================================== */

/* Particle canvas */
.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .hero-grid-bg,
.hero .hero-gradient { z-index: 1; }
.hero .hero-content { position: relative; z-index: 3; }
.hero .hero-marquee { z-index: 4; }

/* Hero title shimmer on "Dispatch." */
.hero-title .title-line em {
  background: linear-gradient(
    90deg,
    #7BBBE8 0%,
    #ffffff 25%,
    #0089FF 50%,
    #7BBBE8 75%,
    #ffffff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Confetti pieces */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  z-index: 9999;
  pointer-events: none;
  transform: translate(0, 0) rotate(0);
  animation: confettiFly var(--dur, 1400ms) cubic-bezier(.15,.5,.35,1) forwards;
  will-change: transform, opacity;
}
@keyframes confettiFly {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  40% { opacity: 1; }
  100% {
    transform: translate(var(--tx), calc(var(--ty) + 280px)) rotate(var(--rx));
    opacity: 0;
  }
}

/* Points bubble */
.points-bubble {
  position: fixed;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0089FF 0%, #7BBBE8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 9999;
  pointer-events: none;
  text-shadow: 0 4px 24px rgba(0, 137, 255, 0.6);
  animation: pointsFloat 1.4s cubic-bezier(.2,.4,.4,1) forwards;
  white-space: nowrap;
  transform-origin: center;
}
@keyframes pointsFloat {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(0.4); }
  25%  { opacity: 1; transform: translate(-50%, -20px) scale(1.3); }
  55%  { opacity: 1; transform: translate(-50%, -50px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -110px) scale(0.85); }
}

/* Click ripple */
.ripple {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut .65s cubic-bezier(.3,.8,.4,1) forwards;
  z-index: 5;
}
@keyframes rippleOut {
  0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(28); }
}
.btn, .me-today-cta, .phone-cta, .cap-btn, .ms-cta, .lb-toggle-btn, .week-tab, .bu-card {
  position: relative;
  overflow: hidden;
}

/* Done button "pop" after click */
.mock-btn-done.pop {
  animation: btnPop .5s cubic-bezier(.2,1.5,.4,1);
}
@keyframes btnPop {
  0%, 100% { transform: scale(1); }
  40%      { transform: scale(1.08); }
}

/* Streak dot pop-in */
.streak-dots .dot,
.sd, .psd {
  transition: background .25s, transform .25s;
}
.streak-dots .dot.pending-reveal,
.sd.pending-reveal,
.psd.pending-reveal {
  transform: scale(0.1);
  opacity: 0.2;
  background: var(--paper-3) !important;
  box-shadow: none !important;
}
.streak-dots .dot.dot-pop,
.sd.dot-pop,
.psd.dot-pop {
  animation: dotPopIn .55s cubic-bezier(.2,1.6,.4,1);
}
@keyframes dotPopIn {
  0%   { transform: scale(0.1); opacity: 0.2; }
  50%  { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Streak days value bump */
.streak-days.bump {
  animation: valBump .5s cubic-bezier(.2,1.6,.4,1);
}
@keyframes valBump {
  0%, 100% { transform: scale(1); }
  40%      { transform: scale(1.25); color: var(--sb-blue-bright); }
}

/* Cascade for leaderboard rows / bu cards */
@keyframes cascadeIn {
  0%   { opacity: 0; transform: translateY(14px) scale(.97); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Timeline rail draw + step reveal */
.timeline-rail {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.4,.8,.3,1);
}
.timeline-rail.rail-draw { transform: scaleX(1); }
@media (max-width: 720px) {
  .timeline-rail {
    transform: scaleY(0);
    transform-origin: top center;
  }
  .timeline-rail.rail-draw { transform: scaleY(1); }
}
.tl-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,1.1,.3,1);
}
.tl-step.tl-revealed {
  opacity: 1;
  transform: translateY(0);
}
.tl-step-final .tl-dot {
  animation: dotPulseBig 2s ease-in-out infinite;
}
@keyframes dotPulseBig {
  0%, 100% { box-shadow: 0 0 24px var(--sb-blue-bright), 0 0 0 0 rgba(0,137,255,0.5); }
  50%      { box-shadow: 0 0 36px var(--sb-blue-bright), 0 0 0 14px rgba(0,137,255,0); }
}

/* Bar spring animation reused on bu-bar, streak-bar, depth-bar, cdb */
@keyframes barSpring {
  0%   { transform: scaleX(0); }
  70%  { transform: scaleX(1.04); }
  100% { transform: scaleX(1); }
}
.bu-bar,
.streak-bar::after,
.depth-bar::after {
  animation: barSpring 1.25s cubic-bezier(.2,.9,.25,1.05);
  transform-origin: left center;
}
.cdb {
  transform-origin: bottom center;
  animation: barSpringY 1.2s cubic-bezier(.2,.9,.25,1.05);
}
@keyframes barSpringY {
  0%   { transform: scaleY(0); }
  75%  { transform: scaleY(1.05); }
  100% { transform: scaleY(1); }
}

/* Hover glow on interactive cards */
.how-card,
.prompt-card,
.bu-card,
.prize-card,
.mv-card,
.legend-item,
.auth-feat,
.q-card {
  transition:
    transform .3s cubic-bezier(.2,.8,.2,1),
    box-shadow .3s cubic-bezier(.2,.8,.2,1),
    border-color .3s;
}
.how-card:hover,
.prize-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0, 92, 164, 0.25);
}
.prompt-card:hover {
  transform: translateY(-3px);
}
.bu-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 40px -14px rgba(0, 92, 164, 0.3);
}

/* Button shine sweep */
.btn-primary,
.btn-primary-light,
.nav-cta,
.ms-cta,
.phone-cta,
.me-today-cta {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-primary-light::after,
.nav-cta::after,
.ms-cta::after,
.phone-cta::after,
.me-today-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.35) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.2,.8,.3,1);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-primary-light:hover::after,
.nav-cta:hover::after,
.ms-cta:hover::after,
.phone-cta:hover::after,
.me-today-cta:hover::after {
  transform: translateX(120%);
}

/* Live dot pulse (leaderboard + meta-dot) extra punchy */
.lb-live,
.mv-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lb-live::before,
.mv-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sb-blue-bright);
  display: inline-block;
  animation: livePulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px var(--sb-blue-bright);
}
@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.5; }
}

/* Glow around active week tab */
.week-tab.active {
  box-shadow: 0 10px 30px -10px rgba(0, 92, 164, 0.45);
}

/* Nav CTA arrow nudge on hover */
.nav-cta span:last-child {
  display: inline-block;
  transition: transform .25s cubic-bezier(.3,1.1,.4,1);
}
.nav-cta:hover span:last-child {
  transform: translateX(4px);
}

/* Subtle floating on the hero tagline line */
.hero-tagline .tag-line {
  animation: lineGlow 3s ease-in-out infinite;
}
@keyframes lineGlow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; box-shadow: 0 0 8px var(--sb-blue-light); }
}

/* Marquee: subtle glow on dots */
.mq-dot {
  animation: mqDotFade 2s ease-in-out infinite;
}
@keyframes mqDotFade {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.8; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .fade-in { opacity: 1; transform: none; }
  .tl-step { opacity: 1; transform: none; }
  .timeline-rail { transform: scaleX(1) scaleY(1); }
}

/* =====================================================
   GAME UI — QUEST CARD (replaces the email mock)
   ===================================================== */
.quest-card {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 137, 255, 0.25) 0%, transparent 60%),
    linear-gradient(155deg, #0E1733 0%, #050B1D 100%);
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(123, 187, 232, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: floatMock 6s ease-in-out infinite;
}
.quest-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 110%, rgba(0, 137, 255, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(123, 187, 232, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.quest-card::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 137, 255, 0) 20%,
    rgba(0, 137, 255, 0.7) 50%,
    rgba(0, 137, 255, 0) 80%,
    transparent 100%);
  animation: topGlow 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes topGlow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* Quest HUD */
.quest-hud {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 100%);
  border-bottom: 1px solid rgba(123, 187, 232, 0.12);
  gap: 16px;
}
.quest-player {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quest-level-ring {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 137, 255, 0.4));
}
.quest-level-ring svg { width: 100%; height: 100%; transform: rotate(0); }
.quest-level-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.02em;
}
.quest-player-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
}
.quest-player-class {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sb-blue-light);
  font-weight: 700;
  margin-top: 3px;
}

.quest-streak-flame {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  background: linear-gradient(135deg, rgba(243, 100, 30, 0.2) 0%, rgba(228, 0, 43, 0.2) 100%);
  border: 1px solid rgba(243, 182, 43, 0.35);
  border-radius: 12px;
  position: relative;
}
.flame-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(243, 100, 30, 0.8));
  animation: flameWiggle 1.8s ease-in-out infinite;
}
@keyframes flameWiggle {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  50%      { transform: scale(1.08) rotate(3deg); }
}
.flame-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.flame-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sb-amber);
  font-weight: 700;
  margin-top: 1px;
}
.flame-multiplier {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--sb-amber);
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* XP bar */
.quest-xp {
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(123, 187, 232, 0.1);
}
.quest-xp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.quest-xp-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--sb-blue-light);
}
.quest-xp-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.quest-xp-val b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.quest-xp-bar {
  height: 8px;
  background: rgba(123, 187, 232, 0.1);
  border: 1px solid rgba(123, 187, 232, 0.15);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.quest-xp-fill {
  width: var(--xp);
  height: 100%;
  background: linear-gradient(90deg, #7BBBE8 0%, #0089FF 60%, #00D4FF 100%);
  border-radius: 100px;
  position: relative;
  box-shadow: 0 0 12px rgba(0, 137, 255, 0.8);
  animation: xpGrow 1.6s cubic-bezier(.2,.9,.25,1.05);
  transform-origin: left;
}
@keyframes xpGrow {
  0%   { transform: scaleX(0); }
  75%  { transform: scaleX(1.02); }
  100% { transform: scaleX(1); }
}
.quest-xp-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%);
  animation: xpShine 2.4s linear infinite;
  background-size: 200% 100%;
}
@keyframes xpShine {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
.quest-xp-sub {
  margin-top: 6px;
  font-size: 10px;
  color: rgba(123, 187, 232, 0.6);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.quest-xp-sub em {
  color: var(--sb-blue-light);
  font-style: normal;
  font-weight: 700;
}

/* Quest body */
.quest-body { padding: 20px 22px 18px; }
.quest-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.quest-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--sb-blue-bright);
  padding: 4px 10px;
  background: rgba(0, 137, 255, 0.12);
  border: 1px solid rgba(0, 137, 255, 0.3);
  border-radius: 6px;
}
.quest-difficulty { display: inline-flex; gap: 3px; }
.diff-star {
  width: 10px; height: 10px;
  background-color: rgba(123, 187, 232, 0.2);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}
.diff-star.on {
  background-color: var(--sb-amber);
  filter: drop-shadow(0 0 4px rgba(243, 182, 43, 0.8));
}

.quest-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.quest-objective {
  padding: 12px 14px;
  background: rgba(123, 187, 232, 0.06);
  border-left: 3px solid var(--sb-blue-bright);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.quest-obj-icon {
  color: var(--sb-blue-bright);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}
.quest-objective .pill {
  background: var(--sb-blue-bright);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.quest-rewards {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.reward-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  border: 1px solid;
}
.reward-xp {
  background: rgba(243, 182, 43, 0.15);
  color: var(--sb-amber);
  border-color: rgba(243, 182, 43, 0.35);
}
.reward-streak {
  background: rgba(243, 100, 30, 0.12);
  color: #FF8855;
  border-color: rgba(243, 100, 30, 0.3);
}
.reward-peer {
  background: rgba(0, 137, 255, 0.12);
  color: var(--sb-blue-bright);
  border-color: rgba(0, 137, 255, 0.3);
}

/* Quest actions */
.quest-actions {
  padding: 14px 22px 20px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(123, 187, 232, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.quest-actions .mock-btn-done {
  flex: 1;
  background: linear-gradient(90deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow:
    0 4px 14px -4px rgba(0, 137, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.01em;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all .25s;
}
.quest-actions .mock-btn-done:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px -4px rgba(0, 137, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.quest-actions .mock-btn-skip {
  background: rgba(123, 187, 232, 0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(123, 187, 232, 0.12);
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* Achievements row in streak card */
.streak-achievements {
  display: flex;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  justify-content: space-between;
}
.ach-badge {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-3);
  font-size: 13px;
  filter: grayscale(1) opacity(0.35);
  transition: all .4s cubic-bezier(.2,1.4,.5,1);
}
.ach-badge.ach-earned {
  filter: none;
  background: linear-gradient(135deg, #FFE28A 0%, #F3B62B 100%);
  box-shadow: 0 3px 10px -2px rgba(243, 182, 43, 0.5);
}
.ach-badge.ach-earned:nth-child(2) {
  background: linear-gradient(135deg, #FFB088 0%, #F3641E 100%);
  box-shadow: 0 3px 10px -2px rgba(243, 100, 30, 0.5);
}
.ach-badge.ach-earned:nth-child(3) {
  background: linear-gradient(135deg, #A4D4F5 0%, #0089FF 100%);
  box-shadow: 0 3px 10px -2px rgba(0, 137, 255, 0.5);
}
.ach-badge:hover {
  transform: scale(1.15) rotate(-6deg);
}

/* =====================================================
   LEADERBOARD — TIER BADGES + XP RINGS
   ===================================================== */
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-left: 6px;
  text-transform: uppercase;
}
.tier-diamond {
  background: linear-gradient(135deg, #B9E2FF 0%, #0089FF 100%);
  color: #001F4A;
  box-shadow: 0 2px 8px -2px rgba(0, 137, 255, 0.6);
}
.tier-platinum {
  background: linear-gradient(135deg, #E0E6EF 0%, #9BADC7 100%);
  color: #1a2a40;
}
.tier-gold {
  background: linear-gradient(135deg, #FFE28A 0%, #D99400 100%);
  color: #3a2600;
}
.tier-silver {
  background: linear-gradient(135deg, #EDEDED 0%, #B5B5B5 100%);
  color: #333;
}
.tier-bronze {
  background: linear-gradient(135deg, #E5A879 0%, #9C5B2A 100%);
  color: #3a1c00;
}

/* Avatar with XP ring */
.avatar-ring {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  flex-shrink: 0;
}
.avatar-ring .avatar {
  position: absolute;
  inset: 4px;
  width: auto;
  height: auto;
}
.avatar-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.avatar-ring .xp-track {
  fill: none;
  stroke: rgba(0, 36, 69, 0.1);
  stroke-width: 2.5;
}
.avatar-ring .xp-fill {
  fill: none;
  stroke: var(--sb-blue-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(0, 137, 255, 0.6));
}

/* Rank-up arrow */
.rank-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.rank-change.up {
  background: rgba(0, 135, 88, 0.12);
  color: var(--sb-emerald);
}
.rank-change.down {
  background: rgba(228, 0, 43, 0.08);
  color: #c70020;
}

/* LEVEL UP burst */
.level-up-burst {
  position: fixed;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 56px;
  background: linear-gradient(135deg, #7BBBE8 0%, #0089FF 50%, #00D4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  z-index: 10000;
  text-shadow: 0 0 40px rgba(0, 137, 255, 0.8);
  animation: levelUpBurst 1.6s cubic-bezier(.2,1.3,.4,1) forwards;
  white-space: nowrap;
  filter: drop-shadow(0 8px 32px rgba(0, 137, 255, 0.5));
}
@keyframes levelUpBurst {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(0.3) rotate(-6deg); }
  25%  { opacity: 1; transform: translate(-50%, -30px) scale(1.25) rotate(2deg); }
  40%  { transform: translate(-50%, -40px) scale(1) rotate(-1deg); }
  100% { opacity: 0; transform: translate(-50%, -110px) scale(0.9) rotate(0); }
}

/* Mobile tweaks for quest card */
@media (max-width: 720px) {
  .quest-card { transform: none !important; animation: none; }
  .quest-hud { padding: 14px 16px; gap: 10px; }
  .quest-player { gap: 10px; }
  .quest-level-ring { width: 40px; height: 40px; }
  .quest-player-name { font-size: 14px; }
  .quest-streak-flame { padding: 5px 8px 5px 5px; }
  .flame-num { font-size: 16px; }
  .quest-xp { padding: 12px 16px; }
  .quest-body { padding: 16px; }
  .quest-title { font-size: 18px; }
  .quest-objective { font-size: 12px; padding: 10px 12px; }
  .quest-actions { padding: 12px 16px 16px; }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--sb-blue); border-radius: 10px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--sb-blue-bright); }

::selection {
  background: var(--sb-blue);
  color: #fff;
}

/* =====================================================
   SECURE SIGN-IN
   ===================================================== */
.auth {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper-3) 100%);
  position: relative;
  overflow: hidden;
}
.auth::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Microsoft sign-in window */
.ms-window {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 36, 69, 0.2),
    0 0 0 1px rgba(0, 36, 69, 0.05);
}
.ms-chrome {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F5F5F5;
  border-bottom: 1px solid var(--line);
}
.ms-chrome-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  background: var(--line-2);
}
.ms-chrome-dot:nth-child(1) { background: #FF5F57; }
.ms-chrome-dot:nth-child(2) { background: #FEBC2E; }
.ms-chrome-dot:nth-child(3) { background: #28C840; }
.ms-chrome-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 100px;
  border: 1px solid var(--line);
  justify-self: center;
  max-width: 320px;
}

.ms-body {
  background: #F2F2F2;
  padding: 48px 40px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-card {
  background: #fff;
  padding: 36px 40px 28px;
  max-width: 340px;
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 1.2px 3.6px rgba(0,0,0,0.1), 0 6.4px 14.4px rgba(0,0,0,0.13);
  font-family: 'Segoe UI', var(--font-sans);
}
.ms-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.ms-logo {
  width: 20px;
  height: 20px;
}
.ms-microsoft {
  font-size: 15px;
  color: #605E5C;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ms-heading {
  font-size: 24px;
  font-weight: 600;
  color: #1B1B1B;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.ms-account-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #D2D0CE;
  border-radius: 4px;
  margin-bottom: 8px;
  transition: all .15s;
  cursor: pointer;
}
.ms-account-chip:hover {
  background: #F3F2F1;
  border-color: #605E5C;
}
.ms-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #005CA4;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.ms-account-name {
  font-size: 14px;
  font-weight: 600;
  color: #1B1B1B;
  line-height: 1.2;
}
.ms-account-email {
  font-size: 12px;
  color: #605E5C;
  margin-top: 1px;
}
.ms-hint {
  font-size: 13px;
  color: #605E5C;
  margin: 12px 0 6px;
}
.ms-cta {
  width: 100%;
  padding: 11px 12px;
  background: #0078D4;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background .15s;
  border-radius: 2px;
}
.ms-cta:hover { background: #106EBE; }
.ms-small {
  font-size: 13px;
  color: #0078D4;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  margin-bottom: 4px;
  cursor: pointer;
}
.ms-small:hover { text-decoration: underline; }
.ms-divider {
  height: 1px;
  background: #EDEBE9;
  margin: 16px -40px 14px;
}
.ms-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #605E5C;
  padding: 6px 10px;
  background: #F3F9F3;
  border-radius: 4px;
  width: 100%;
  justify-content: center;
}

/* Auth side / benefits */
.auth-side { position: relative; }

.auth-flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-bottom: 32px;
}
.auth-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;
}
.auth-step + .auth-step { border-top: 1px dashed var(--line); }
.auth-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sb-blue-bright);
  padding: 4px 8px;
  background: rgba(0, 137, 255, 0.08);
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}
.auth-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.auth-step-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.auth-feat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all .2s;
}
.auth-feat:hover {
  border-color: var(--sb-blue);
  box-shadow: 0 8px 20px -8px rgba(0, 92, 164, 0.15);
}
.auth-feat-icon {
  width: 28px; height: 28px;
  padding: 5px;
  background: rgba(0, 92, 164, 0.08);
  color: var(--sb-blue);
  border-radius: 8px;
  flex-shrink: 0;
}
.auth-feat-icon svg { width: 100%; height: 100%; }
.auth-feat strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.auth-feat span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.auth-stack {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.stack-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-right: 4px;
}
.stack-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sb-navy);
  padding: 5px 10px;
  background: rgba(0, 92, 164, 0.06);
  border: 1px solid rgba(0, 92, 164, 0.15);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .auth-layout { grid-template-columns: 1fr; gap: 32px; }
  .auth-features { grid-template-columns: 1fr; }
}

/* =====================================================
   MORE DASHBOARD VIEWS
   ===================================================== */
.more-views-head {
  max-width: 1120px;
  margin: 80px auto 32px;
  text-align: center;
}
.mv-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sb-blue-light);
  padding: 6px 14px;
  background: rgba(123, 187, 232, 0.12);
  border: 1px solid rgba(123, 187, 232, 0.25);
  border-radius: 100px;
  margin-bottom: 16px;
}
.mv-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.more-views-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mv-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: var(--ink);
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(123, 187, 232, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.mv-card:hover { transform: translateY(-4px); }

.mv-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mv-chrome-label { color: var(--sb-navy); }
.mv-live {
  color: var(--sb-blue-bright);
  font-weight: 700;
}

.mv-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Admin card specifics */
.mv-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.mv-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.mv-h {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.mv-big {
  text-align: right;
  padding: 12px 16px;
  background: var(--sb-navy-deep);
  color: #fff;
  border-radius: 10px;
}
.mv-big-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--sb-blue-light);
}
.mv-big-val span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-left: 1px;
}
.mv-big-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.mv-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mv-metric {
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.mv-mval {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-blue);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.mv-mval span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 1px;
}
.mv-mlabel {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.2;
}
.mv-trend {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mv-trend.up { color: var(--sb-emerald); }
.mv-trend.down { color: var(--sb-blue-bright); }

.mv-heatmap {
  padding: 14px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.heatmap-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.mv-legend {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.mv-legend .ld { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.heatmap-grid {
  display: grid;
  grid-template-columns: 32px repeat(14, 1fr);
  gap: 3px;
}
.hm-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.hm {
  aspect-ratio: 1;
  border-radius: 2px;
}
.ld-1 { background: rgba(0, 92, 164, 0.08); }
.ld-2 { background: rgba(0, 92, 164, 0.22); }
.ld-3 { background: rgba(0, 92, 164, 0.42); }
.ld-4 { background: rgba(0, 92, 164, 0.68); }
.ld-5 { background: var(--sb-blue-bright); }

.mv-alerts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mv-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.alert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sb-blue-bright);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--sb-blue-bright);
}
.alert-dot.alert-ok {
  background: var(--sb-emerald);
  box-shadow: 0 0 8px var(--sb-emerald);
}

/* Captain view */
.mv-rank-trophy {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-amber);
  letter-spacing: -0.02em;
}
.captain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.captain-metric {
  padding: 16px 14px;
  background: linear-gradient(140deg, var(--paper) 0%, var(--paper-2) 100%);
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
}
.cm-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.cm-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--sb-blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.cm-val span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
}
.cm-sub {
  font-size: 11px;
  color: var(--muted);
}

.captain-dist {
  padding: 14px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.cd-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.cd-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  height: 80px;
  align-items: flex-end;
  margin-bottom: 8px;
}
.cdb {
  height: var(--h);
  background: linear-gradient(180deg, var(--sb-blue-bright) 0%, var(--sb-blue) 100%);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height .6s cubic-bezier(.2,.8,.2,1);
}
.cdb em {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  color: var(--sb-blue);
}
.cd-axis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.captain-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.cap-btn {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.cap-btn:hover {
  background: var(--paper-2);
}
.cap-btn.primary {
  background: var(--sb-blue);
  color: #fff;
  border-color: var(--sb-blue);
}
.cap-btn.primary:hover { background: var(--sb-blue-bright); border-color: var(--sb-blue-bright); }

/* Prompt detail view */
.pd-head {
  padding: 18px;
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.pd-head::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.pd-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sb-blue-light);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}
.pd-q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
}
.pd-stats {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  font-weight: 500;
  flex-wrap: wrap;
  position: relative;
}
.pd-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pd-row {
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.pd-row:hover { border-color: var(--sb-blue); }
.pd-row.pd-top {
  background: linear-gradient(90deg, rgba(0, 137, 255, 0.06) 0%, var(--paper) 100%);
  border-left: 3px solid var(--sb-blue-bright);
}
.pd-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pd-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}
.pd-votes {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--sb-blue-bright);
}
.pd-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Mobile view */
.mv-mobile-wrap {
  background: linear-gradient(140deg, var(--sb-navy-deep) 0%, var(--sb-navy) 100%);
  color: #fff;
  border: none;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  padding: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.mv-mobile-wrap::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 137, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.mv-mobile-label {
  position: relative;
  z-index: 1;
}
.mv-eyebrow-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sb-blue-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.mv-mobile-head {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.mv-mobile-body {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.mv-mobile-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mv-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sb-blue-light);
  padding: 4px 10px;
  background: rgba(123, 187, 232, 0.1);
  border: 1px solid rgba(123, 187, 232, 0.2);
  border-radius: 100px;
}

.phone {
  position: relative;
  z-index: 1;
  background: #0B0E17;
  border-radius: 30px;
  padding: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #0B0E17;
  border-radius: 100px;
  z-index: 2;
}
.phone-screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  color: var(--ink);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'SF Pro Display', -apple-system, var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.phone-time {
  font-variant-numeric: tabular-nums;
}
.phone-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
}
.pi {
  display: block;
}
.pi-signal { width: 17px; height: 11px; }
.pi-wifi { width: 16px; height: 12px; }
.pi-battery { width: 25px; height: 12px; }

.phone-browser-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 4px 12px 10px;
  padding: 7px 12px;
  background: var(--paper-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.browser-lock, .browser-refresh {
  width: 13px; height: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.browser-lock { color: var(--sb-emerald); }
.phone-url {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.phone-content {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-streak {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 12px;
}
.phone-streak-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.phone-streak-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--sb-blue);
  letter-spacing: -0.01em;
}
.phone-streak-dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 2px;
}
.psd {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--paper-3);
}
.psd.on {
  background: linear-gradient(135deg, var(--sb-blue-bright) 0%, var(--sb-blue) 100%);
}
.psd.miss { background: rgba(0, 36, 69, 0.12); }
.psd.today {
  background: #fff;
  border: 1.5px dashed var(--sb-blue-bright);
}

.phone-today-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sb-blue-bright);
  padding: 4px 10px;
  background: rgba(0, 137, 255, 0.08);
  border-radius: 4px;
  width: fit-content;
}
.phone-prompt {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.phone-cta {
  background: linear-gradient(90deg, var(--sb-blue) 0%, var(--sb-blue-bright) 100%);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.phone-rank {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.phone-rank-bu {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--sb-blue);
  padding: 2px 6px;
  background: rgba(0, 92, 164, 0.08);
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .more-views-grid { grid-template-columns: 1fr; }
  .mv-mobile-wrap { grid-template-columns: 1fr; }
  .phone { max-width: 240px; margin: 0 auto; }
}

/* =====================================================
   MOBILE RESPONSIVE (≤ 720px)
   ===================================================== */
@media (max-width: 720px) {

  /* Global container padding tightens */
  .container { padding: 0 20px; }

  /* Section padding trims for vertical density */
  .hero { padding-top: 96px; }
  .reframe,
  .how,
  .weeks,
  .auth,
  .leaderboard-section,
  .scoring,
  .prizes,
  .timeline { padding: 72px 0; }
  .ask-inner { padding: 80px 0 56px; }

  /* Section heads tighten */
  .section-head { margin-bottom: 40px; }
  .section-title {
    font-size: clamp(26px, 7vw, 36px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .leaderboard-section .section-title .accent-red {
    font-size: 0.7em;
    letter-spacing: -0.02em;
    word-break: break-all;
    display: inline-block;
  }
  .section-sub { font-size: 15px; }
  .eyebrow { font-size: 10px; padding: 5px 12px; margin-bottom: 18px; }

  /* =========== NAV =========== */
  .floating-nav {
    top: 12px;
    width: calc(100% - 24px);
    padding: 8px 10px;
  }
  .nav-inner { gap: 10px; }
  .nav-brand { gap: 8px; padding-left: 6px; }
  .nav-logo { height: 20px; }
  .nav-x { font-size: 16px; }
  .nav-partner-logo { width: 16px; height: 22px; }
  .nav-cta {
    font-size: 12px;
    padding: 8px 14px;
    gap: 4px;
  }
  /* Hide "Launch" prefix on very narrow screens, keep date + arrow */
  .nav-cta { white-space: nowrap; }

  /* =========== HERO =========== */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding-bottom: 100px;
  }
  .hero-top {
    margin-bottom: 32px;
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-top span,
  .hero-date,
  .hero-meta { font-size: 10px; }
  .hero-tagline { margin-bottom: 20px; font-size: 11px; gap: 10px; }
  .tag-line { width: 28px; }
  .hero-title {
    font-size: clamp(48px, 14vw, 80px);
    margin-bottom: 24px;
  }
  .hero-lede {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-cta-row {
    gap: 8px;
    margin-bottom: 40px;
    flex-direction: column;
    align-items: stretch;
  }
  .btn { justify-content: center; padding: 13px 20px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-top: 28px;
  }
  .stat .stat-num { font-size: 34px; }
  .stat-label { font-size: 11px; }

  /* Hero mock */
  .mock-email { transform: none !important; }
  .mock-streak-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  .mock-shadow { display: none; }
  .hero-mock { padding-top: 0; }

  .hero-marquee { padding: 10px 0; }
  .marquee-track { font-size: 9px; gap: 24px; }

  /* =========== REFRAME =========== */
  .reframe-compare {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .compare-col { padding: 28px 24px; border-radius: 18px; }
  .compare-headline { font-size: 24px; margin-bottom: 20px; }
  .compare-vs { transform: rotate(90deg); margin: 0 auto; }
  .reframe-principle {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 28px;
  }
  .principle-num { font-size: 40px; }
  .reframe-principle p { font-size: 17px; }

  /* =========== HOW =========== */
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-card { padding: 32px 24px 24px; }
  .how-card h3 { font-size: 24px; }

  /* =========== AUTH =========== */
  .auth-layout { grid-template-columns: 1fr; gap: 32px; }
  .ms-body { padding: 28px 20px; min-height: 0; }
  .ms-card { padding: 28px 24px 20px; max-width: none; }
  .ms-heading { font-size: 20px; margin-bottom: 18px; }
  .auth-features { grid-template-columns: 1fr; }
  .auth-step { gap: 12px; padding: 14px 0; }
  .auth-step-title { font-size: 16px; }
  .auth-stack { padding-top: 16px; gap: 6px; }

  /* =========== WEEKS =========== */
  .week-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }
  .week-tab { padding: 12px 14px; border-radius: 10px; }
  .wt-num { font-size: 9px; }
  .wt-name { font-size: 15px; }
  .wt-dates { font-size: 10px; }
  .week-panel.active {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .week-brief {
    position: static;
    padding: 28px 24px;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    border-radius: 20px;
  }
  .week-icon { width: 48px; height: 48px; }
  .week-brief h3 { font-size: 22px; }
  .prompt-card { padding: 22px 22px; }
  .prompt-task { font-size: 16px; }
  .prompt-fact { font-size: 12px; }

  /* =========== LEADERBOARD =========== */
  .lb-body { padding: 24px 18px 28px; }
  .lb-title { font-size: 30px; }
  .lb-title-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .lb-day { text-align: left; }
  .lb-day-num { font-size: 20px; }
  .lb-toggle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .lb-toggle-btn { text-align: center; padding: 11px 14px; font-size: 12px; }

  .bu-grid { grid-template-columns: 1fr; gap: 12px; }
  .bu-card { padding: 22px 20px; }
  .bu-name { font-size: 36px; }
  .bu-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .bu-footer-right { text-align: left; border-left: none; border-top: 1px solid var(--line-2); padding-left: 0; padding-top: 16px; }

  /* Individuals: compact rows, show only essentials */
  .indiv-head, .indiv-row {
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    padding: 12px 14px;
    font-size: 12px;
  }
  .indiv-head > span:nth-child(4),
  .indiv-head > span:nth-child(5),
  .indiv-row > span:nth-child(4),
  .indiv-row > span:nth-child(5) { display: none; }
  .indiv-head > span:nth-child(3),
  .indiv-row > .indiv-bu { display: none; }
  .indiv-name { font-size: 13px; gap: 8px; }
  .avatar { width: 28px; height: 28px; font-size: 10px; }
  .rank-medal { font-size: 14px; }
  .indiv-rank { font-size: 12px; }
  .indiv-score { font-size: 18px; }

  /* Me dashboard stacks */
  .me-grid { grid-template-columns: 1fr; }
  .me-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }
  .me-hello { font-size: 24px; }
  .me-score-wrap { width: 110px; height: 110px; align-self: flex-end; }
  .me-score-val { font-size: 30px; }
  .me-streak, .me-depth, .me-peer {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 20px;
  }
  .streak-grid { grid-template-columns: repeat(10, 1fr); gap: 4px; }
  .sd { font-size: 10px; border-radius: 6px; }
  .me-today {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    text-align: left;
  }
  .me-today-prompt { font-size: 15px; }
  .me-today-cta { width: 100%; justify-content: center; }

  /* =========== MORE VIEWS =========== */
  .more-views-head { margin: 60px auto 24px; }
  .mv-title { font-size: 24px; }
  .more-views-grid { grid-template-columns: 1fr; gap: 16px; }
  .mv-body { padding: 20px; gap: 16px; }
  .mv-title-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .mv-big { align-self: stretch; text-align: left; }
  .mv-metrics { grid-template-columns: 1fr; }
  .heatmap-grid { grid-template-columns: 28px repeat(14, 1fr); gap: 2px; }
  .hm-row-label { font-size: 9px; }
  .captain-grid { grid-template-columns: 1fr; gap: 10px; }
  .cm-val { font-size: 28px; }
  .cd-bars { height: 60px; }
  .cdb em { font-size: 10px; top: -14px; }
  .pd-head { padding: 16px; }
  .pd-q { font-size: 16px; }
  .pd-stats { font-size: 10px; }
  .mv-mobile-wrap {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
    text-align: center;
  }
  .mv-mobile-head { font-size: 22px; }
  .mv-mobile-body { font-size: 13px; }
  .mv-mobile-pills { justify-content: center; }
  .phone { max-width: 240px; margin: 0 auto; }

  /* =========== SCORING =========== */
  .scoring-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .scoring-chart { max-width: 260px; margin: 0 auto; }
  .legend-item { padding: 20px; gap: 16px; }
  .legend-name { font-size: 20px; }
  .scoring-guardrails { padding: 32px 24px; border-radius: 20px; }
  .guard-grid { grid-template-columns: 1fr; gap: 12px; }
  .guard { padding: 18px 16px; }

  /* =========== PRIZES =========== */
  .prize-grid { grid-template-columns: 1fr; gap: 14px; }
  .prize-card { padding: 32px 26px 26px; border-radius: 20px; }
  .prize-title { font-size: 26px; }
  .prize-number { font-size: 56px; top: 24px; right: 26px; }

  /* =========== TIMELINE =========== */
  .timeline-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    position: relative;
  }
  .timeline-rail {
    display: block;
    top: 0;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      var(--sb-blue-bright) 0%,
      var(--sb-blue-bright) 92%,
      rgba(0, 137, 255, 0.2) 100%);
  }
  .timeline-rail::after {
    top: auto;
    bottom: 0;
    right: auto;
    left: -5px;
  }
  .tl-step {
    padding-top: 0;
    padding-bottom: 28px;
    padding-left: 0;
  }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-dot {
    top: 4px;
    left: -23px;
    position: absolute;
  }
  .tl-date { font-size: 10px; margin-bottom: 6px; }
  .tl-title { font-size: 17px; margin-bottom: 6px; }
  .tl-copy { font-size: 13px; }

  /* =========== ASK =========== */
  .ask-title { font-size: clamp(32px, 8vw, 44px); }
  .ask-body { font-size: 15px; margin-bottom: 36px; }
  .ask-questions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 36px;
  }
  .q-card { padding: 22px 20px; gap: 14px; }
  .q-num { font-size: 26px; }
  .q-q { font-size: 17px; }
  .ask-cta-row { flex-direction: column; align-items: stretch; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-left {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-meta-wrap {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(123, 187, 232, 0.12);
  }
  .footer-right { text-align: left; }
  .footer-sub, .footer-meta { font-size: 10px; }
}

/* =====================================================
   VERY NARROW (≤ 420px)
   ===================================================== */
@media (max-width: 420px) {
  .nav-cta {
    font-size: 11px;
    padding: 7px 12px;
  }
  .nav-cta span:first-child::before { content: ''; }
  .nav-partner-logo { display: none; }
  .nav-x { display: none; }
  .nav-brand { gap: 0; padding-left: 4px; }

  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .stat .stat-num { font-size: 28px; }
  .hero-stats { gap: 14px; }

  .week-tabs { grid-template-columns: 1fr; }
  .week-brief { grid-template-columns: 1fr; }
  .week-icon { width: 40px; height: 40px; }

  .lb-chrome-url { max-width: 180px; font-size: 10px; }
  .me-hero { flex-direction: column; }
  .me-score-wrap { align-self: center; }

  .streak-grid { grid-template-columns: repeat(5, 1fr); }
}
