/* ============================================================
   C3NTR — Marketing Website Stylesheet
   Design: Slick Modern Minimalist
   Palette: Zinc-950 · White · Gold #b8963e
   Font: Inter (Google Fonts)
   ============================================================ */

/* === DESIGN TOKENS ========================================= */
:root {
  --bg:           #09090b;
  --bg-raised:    #0f0f12;
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-h:    rgba(255, 255, 255, 0.07);
  --border:       rgba(255, 255, 255, 0.08);
  --border-gold:  rgba(184, 150, 62, 0.45);
  --text:         #fafafa;
  --muted:        #a1a1aa;
  --subtle:       #52525b;
  --gold:         #b8963e;
  --gold-lt:      #d4a84b;
  --gold-glow:    rgba(184, 150, 62, 0.18);
  --gold-glow-sm: rgba(184, 150, 62, 0.10);

  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    6px;
  --pill:         999px;

  --max-w:        1160px;
  --pad-x:        clamp(20px, 5vw, 56px);
  --section-py:   clamp(80px, 10vw, 140px);
}

/* === RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* === LAYOUT ================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* === TYPOGRAPHY ============================================ */
.t-hero {
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.t-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.t-h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.t-body { font-size: 1rem; color: var(--muted); }
.t-small { font-size: 0.85rem; color: var(--muted); }
.t-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-gold { color: var(--gold); }
.t-muted { color: var(--muted); }
.t-center { text-align: center; }

/* === GLASS CARD ============================================ */
.glass {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.glass:hover { background: var(--surface-h); }

/* === BUTTONS =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #09090b;
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* === SVG CALLIGRAPHY ======================================= */
/*
 * Kaishu 三 mark uses filled paths (not stroked) for variable
 * brush-width. Animation is a left→right clip-path wipe per stroke.
 *
 * Class scheme:
 *   .will-animate  → initially hidden (clip-path: inset 100% right)
 *   .animate       → triggers the reveal (added by JS)
 *   (neither)      → strokes are visible immediately (footer, watermark)
 */

/* Initially hide strokes that will be animated */
.san-svg.will-animate .stroke-group-1,
.san-svg.will-animate .stroke-group-2,
.san-svg.will-animate .stroke-group-3 {
  clip-path: inset(0 100% 0 0);
}

/* Staggered left→right wipe reveal when .animate is added */
.san-svg.will-animate.animate .stroke-group-1 {
  animation: revealStroke 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}
.san-svg.will-animate.animate .stroke-group-2 {
  animation: revealStroke 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}
.san-svg.will-animate.animate .stroke-group-3 {
  animation: revealStroke 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes revealStroke {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* === SCROLL REVEALS ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.visible { opacity: 1; transform: none; }

/* Stagger delays via inline style --i */
.stagger { transition-delay: calc(var(--i, 0) * 120ms); }

/* === HERO SECTION ========================================== */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: var(--section-py);
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.hero-watermark svg {
  width: min(90vw, 700px);
  opacity: 0.025;
  color: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-headline {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s forwards;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}
.hero-cta .btn-gold {
  padding: 14px 28px;
  font-size: 0.95rem;
}
.hero-trust {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.88s forwards;
}
.hero-glow {
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* === NAVBAR ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex-shrink: 0;
}
.nav-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--subtle);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--fg, var(--text));
  background: var(--surface);
}
.nav-link-active {
  color: var(--gold);
}
@media (max-width: 600px) {
  .nav-link-signin { display: none; }
}

/* === SECTION WRAPPER ======================================= */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === DIVIDER =============================================== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 var(--pad-x);
}

/* === APP VISUALIZATION ===================================== */
#app-preview {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.app-preview-header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.phones-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}

/* CSS phone frame */
.phone {
  width: 220px;
  height: 460px;
  border-radius: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  background: #0a0a0d;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px var(--gold-glow-sm);
  flex-shrink: 0;
}
.phone-2 { margin-bottom: 32px; }

/* Dynamic island */
.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Side button */
.phone::after {
  content: '';
  position: absolute;
  top: 100px;
  right: -2px;
  width: 2.5px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px 0 0 2px;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Splash screen */
.splash-screen {
  background: #09090b;
  gap: 20px;
}
.splash-logo-wrap {
  width: 84px;
  height: 84px;
  color: var(--gold);
}
.splash-wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
}
.splash-tagline {
  font-size: 0.65rem;
  color: var(--subtle);
  letter-spacing: 0.05em;
  margin-top: -8px;
}

/* Article screen */
.article-screen {
  background: #0f0f12;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 52px 16px 20px;
  gap: 0;
}
.article-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}
.article-section-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.grade-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--pill);
  border: 1px solid var(--border-gold);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.article-title-phone {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}
.article-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.article-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  filter: blur(2px);
}
.article-line.short { width: 65%; }
.article-line.medium { width: 85%; }
.article-line.full { width: 100%; }
.lock-overlay {
  position: absolute;
  bottom: 60px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(9, 9, 11, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}
.lock-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.lock-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.lock-sub {
  font-size: 0.55rem;
  color: var(--muted);
  text-align: center;
}

.phone-label {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--subtle);
  letter-spacing: 0.04em;
}

/* === PHILOSOPHY SECTION ==================================== */
#philosophy {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.phil-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.phil-san {
  width: 64px;
  height: 64px;
  color: var(--gold);
  flex-shrink: 0;
}
.phil-heading {
  text-align: center;
}
.phil-sub {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.pillar {
  padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.pillar:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.pillar:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.pillar:hover { background: var(--surface-h); }
.pillar-accent {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
  opacity: 0.7;
}
.pillar-stroke-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}
.pillar-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.pillar-body { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 640px) {
  .pillar:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .pillar:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
}

/* === FEATURES BENTO GRID =================================== */
#features {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  background: var(--surface-h);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, var(--gold-glow-sm), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover::after { opacity: 1; }

/* Grid placement */
.bento-card-1 { grid-column: span 2; }
.bento-card-2 { grid-column: span 1; }
.bento-card-3 { grid-column: span 1; }
.bento-card-4 { grid-column: span 2; }
.bento-card-5 { grid-column: span 2; }
.bento-card-6 { grid-column: span 1; }
.bento-card-7  { grid-column: span 3; } /* full row */
.bento-card-8  { grid-column: span 1; }
.bento-card-9  { grid-column: span 2; }
.bento-card-10 { grid-column: span 2; }
.bento-card-11 { grid-column: span 1; }

/* Coming-soon card variant */
.bento-card.bento-cs {
  opacity: 0.68;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.07);
}
.bento-card.bento-cs:hover {
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.12);
}
.bento-card.bento-cs .bento-icon { opacity: 0.55; }
.bento-cs-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: rgba(184, 150, 62, 0.08);
  pointer-events: none;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(184, 150, 62, 0.1);
  border: 1px solid rgba(184, 150, 62, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.bento-icon svg { width: 20px; height: 20px; }
.bento-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.bento-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.data-trust-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--subtle);
  margin-top: 28px;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card-1,
  .bento-card-4,
  .bento-card-5,
  .bento-card-7,
  .bento-card-9,
  .bento-card-10 { grid-column: span 2; }
  .bento-card-6,
  .bento-card-8,
  .bento-card-11 { grid-column: span 1; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card-1,
  .bento-card-2,
  .bento-card-3,
  .bento-card-4,
  .bento-card-5,
  .bento-card-6,
  .bento-card-7,
  .bento-card-8,
  .bento-card-9,
  .bento-card-10,
  .bento-card-11 { grid-column: span 1; }
}

/* === CLARITY SECTION ======================================= */
#clarity {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.clarity-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.clarity-col {
  padding: clamp(40px, 6vw, 64px);
}
.clarity-divider-v {
  background: var(--border);
  width: 1px;
}
.clarity-lobby { opacity: 0.55; }
.clarity-lobby .clarity-tag {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border-color: var(--border);
}
.clarity-lib { position: relative; }
.clarity-lib::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184,150,62,0.06), transparent 60%);
  pointer-events: none;
}
.clarity-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: rgba(184,150,62,0.08);
  margin-bottom: 24px;
}
.clarity-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.clarity-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.clarity-cta-wrap {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .clarity-inner {
    grid-template-columns: 1fr;
  }
  .clarity-divider-v {
    display: none;
  }
  .clarity-lobby {
    border-bottom: 1px solid var(--border);
  }
}

/* === PRICING SECTION ======================================= */
#pricing {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* === PRICING TOGGLE ======================================= */
.pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.pricing-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 4px;
  gap: 2px;
}
.pricing-toggle-btn {
  padding: 8px 22px;
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s ease, background 0.2s ease;
}
.pricing-toggle-btn.active {
  background: var(--gold);
  color: #09090b;
}
.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.pricing-save-badge.visible { opacity: 1; }
.pricing-annual-note {
  font-size: 0.72rem;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 4px;
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  padding-top: 14px; /* room for the featured badge overflow */
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
  background: var(--surface);
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(184, 150, 62, 0.07) 0%,
    rgba(184, 150, 62, 0.03) 100%
  );
  box-shadow: 0 0 40px rgba(184, 150, 62, 0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #09090b;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.pricing-tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.pricing-featured .pricing-tier { color: var(--gold); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  align-self: flex-start;
  margin-top: 8px;
}
.pricing-amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-period {
  font-size: 0.875rem;
  color: var(--muted);
}
.pricing-limit {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.pricing-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
}
/* Muted "coming soon" feature row */
.pricing-feature.muted {
  opacity: 0.48;
}
/* Inline coming-soon pill (for feature lists + bento desc) */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: rgba(184, 150, 62, 0.08);
  vertical-align: middle;
  margin-left: 5px;
  white-space: nowrap;
  line-height: 1.5;
}

/* === LIFETIME DEAL BANNER ================================== */
.pricing-ltd-wrap {
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(184,150,62,0.08) 0%, rgba(184,150,62,0.03) 100%);
  padding: clamp(24px, 4vw, 36px);
}
.pricing-ltd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing-ltd-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--pill);
  padding: 3px 10px;
  margin-bottom: 10px;
}
.pricing-ltd-headline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}
.pricing-ltd-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.pricing-ltd-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.pricing-ltd-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-ltd-amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-ltd-once {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 4px;
}
@media (max-width: 600px) {
  .pricing-ltd-inner { flex-direction: column; align-items: flex-start; }
  .pricing-ltd-right { align-items: flex-start; width: 100%; }
  .pricing-ltd-right .btn { width: 100%; justify-content: center; }
}

/* Pricing grid responsive — collapses to 2-col at tablet, 1-col mobile */
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* === FAQ SECTION =========================================== */
#faq {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}
.faq-question:hover { background: var(--surface); }
.faq-item.open .faq-question { color: var(--gold); }
.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease, color 0.2s ease;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* === FOOTER ================================================ */
footer {
  padding: clamp(48px, 6vw, 72px) var(--pad-x);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 34px;
  height: 34px;
  color: var(--gold);
}
.footer-wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--subtle);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--subtle);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--muted); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--subtle);
  margin-top: 32px;
  text-align: center;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Slug break — hidden on desktop, activates on mobile */
.slug-break { display: none; }

/* === RESPONSIVE ============================================ */
@media (max-width: 640px) {
  /* Hero — centre content */
  .hero-content { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  /* Hero CTAs — stack + full width */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* Footer — centre */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { flex-direction: column; align-items: center; }
  .footer-links { justify-content: center; margin-left: 0; }
  /* Eyebrow slug — wrap after "Platform", hide dot */
  .slug-break { display: inline; }
  .hero-eyebrow-dot { display: none; }
}

@media (max-width: 480px) {
  .nav-wordmark { font-size: 0.95rem; }
  .btn { padding: 10px 18px; font-size: 0.8rem; }
  .hero-cta { gap: 12px; }
  /* Phone frame — scale down text */
  .splash-wordmark { font-size: 0.95rem; }
  .article-title-phone { font-size: 0.75rem; }
  .grade-badge { font-size: 0.48rem; }
}

@media (max-width: 360px) {
  .phone { width: 160px; height: 340px; }
}

/* === EARLY ACCESS MODAL =================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #0f0f12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 52px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 60px var(--gold-glow-sm);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.modal-logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--gold);
}
.modal-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.65;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-input::placeholder { color: var(--subtle); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow-sm);
}
.form-input.error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}
.form-error {
  font-size: 0.75rem;
  color: #e05252;
  min-height: 16px;
  line-height: 1.4;
}
.form-privacy {
  font-size: 0.72rem;
  color: var(--subtle);
  line-height: 1.5;
  text-align: center;
}
.form-privacy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.form-privacy a:hover { color: var(--gold); }

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.modal-submit-label {
  transition: opacity 0.15s ease;
}
.modal-submit-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(9, 9, 11, 0.3);
  border-top-color: #09090b;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s;
  animation: spin 0.7s linear infinite;
}
.modal-submit.loading .modal-submit-label { opacity: 0; }
.modal-submit.loading .modal-submit-spinner { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-trust {
  font-size: 0.72rem;
  color: var(--subtle);
  text-align: center;
  letter-spacing: 0.01em;
}

/* Success state */
.modal-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0 8px;
}
.modal-success-state[hidden] { display: none; }
.success-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  animation: successPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes successPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.success-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
}

/* === LEGAL PAGES =========================================== */
.legal-hero {
  padding-top: calc(var(--section-py) + 60px);
  padding-bottom: var(--section-py);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.legal-hero .t-label { margin-bottom: 12px; display: block; }
.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.legal-hero p {
  font-size: 0.875rem;
  color: var(--muted);
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad-x);
}
.legal-section {
  margin-bottom: 48px;
}
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.legal-section p,
.legal-section li {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section li { margin-bottom: 6px; }
.legal-section ul {
  list-style: none;
  padding-left: 0;
}
.legal-section ul li::before {
  content: '—';
  color: var(--gold);
  margin-right: 10px;
  opacity: 0.6;
}
.legal-section a {
  color: var(--gold);
  text-underline-offset: 3px;
  text-decoration: underline;
}
.legal-section a:hover { color: var(--gold-lt); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 48px;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--gold); }

/* === REDUCED MOTION ======================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .san-svg.will-animate .stroke-group-1,
  .san-svg.will-animate .stroke-group-2,
  .san-svg.will-animate .stroke-group-3 {
    clip-path: none;
    animation: none;
  }
  /* Strip ink-texture filter — reduces visual complexity for
     users who prefer reduced motion (WCAG 2.3.3 advisory) */
  .san-svg g[filter] {
    filter: none;
  }
  .hero-mark,
  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-cta,
  .hero-trust {
    opacity: 1;
    animation: none;
  }
}

/* === HERO LOGO MARK ======================================= */
.hero-mark {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero-mark-svg {
  width: 52px;
  height: 52px;
  color: var(--gold);
}

@media (max-width: 640px) {
  .hero-mark-svg { width: 44px; height: 44px; }
}

/* === STORE BADGES ========================================= */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.store-badge:hover {
  background: var(--surface-h);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--text);
}
.store-badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text);
}
.store-badge-text {
  display: flex;
  flex-direction: column;
}
.store-badge-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--muted);
  text-transform: uppercase;
}
.store-badge-main {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.store-badge-sm {
  padding: 8px 14px;
  border-radius: 10px;
}
.store-badge-sm .store-badge-main { font-size: 0.82rem; }
.store-badge-sm .store-badge-icon { width: 18px; height: 18px; }

/* On mobile, hero store badges go full width */
@media (max-width: 640px) {
  .hero-cta .store-badge { width: 100%; justify-content: center; }
}

/* === HERO SCREENSHOT STRIP ================================ */
.hero-strip-wrap {
  margin-top: 60px;
  padding-bottom: var(--section-py);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
}
.hero-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-left: var(--pad-x);
  padding-right: calc(var(--pad-x) * 4);
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero-strip::-webkit-scrollbar { display: none; }
.screenshot-frame {
  width: 200px;
  height: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #0a0a0d;
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.screenshot-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 14px;
  background: #000;
  border-radius: 10px;
}
.screenshot-label {
  font-size: 0.72rem;
  color: var(--subtle);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 16px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .hero-strip-wrap { margin-top: 40px; }
  .hero-mark-svg { width: 44px; height: 44px; }
}

/* === STUDENTS SECTION ===================================== */
#students {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.students-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}
.students-col {
  padding: clamp(32px, 5vw, 56px);
}
.students-divider-v {
  background: var(--border);
  width: 1px;
}
.students-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 20px;
}
.students-setup-note {
  font-size: 0.8rem;
  color: var(--subtle);
  line-height: 1.6;
}
.discipline-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 16px;
}
.discipline-btn {
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s ease;
}
.discipline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.discipline-btn.active {
  background: rgba(184, 150, 62, 0.12);
  border-color: var(--border-gold);
  color: var(--gold);
}
.refer-message {
  width: 100%;
  min-height: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--muted);
  line-height: 1.65;
  resize: none;
  outline: none;
  margin-bottom: 12px;
  cursor: default;
  display: block;
}
.copy-message-btn { margin-bottom: 12px; }
.refer-caption {
  font-size: 0.78rem;
  color: var(--subtle);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .students-inner { grid-template-columns: 1fr; }
  .students-divider-v { display: none; }
  .students-col:first-child { border-bottom: 1px solid var(--border); }
  .students-col { padding: clamp(28px, 5vw, 40px) 0; }
}

/* === DATA TRUST SECTION =================================== */
#data-trust {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.trust-tile {
  padding: clamp(28px, 4vw, 40px);
}
.trust-tile-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.trust-tile-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.trust-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--subtle);
  letter-spacing: 0.01em;
}

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

/* === SIGNUP SECTION ======================================= */
#signup {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2352525b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.signup-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.signup-submit-label { transition: opacity 0.15s ease; }
.signup-submit.loading .signup-submit-label { opacity: 0; }
.signup-submit.loading .modal-submit-spinner { opacity: 1; }

/* Footer store badges */
.footer-store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .signup-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-store-badges { justify-content: center; }
}

/* ============================================================
   ROADMAP SECTION
   ============================================================ */

/* Category colour tokens */
.rdm-cat-community  { --cat-c: var(--gold-lt);  --cat-bg: rgba(184,150,62,0.13); }
.rdm-cat-curriculum { --cat-c: #93c5fd;          --cat-bg: rgba(147,197,253,0.10); }
.rdm-cat-culture    { --cat-c: #d4a8fc;          --cat-bg: rgba(212,168,252,0.10); }

/* ── Controls ──────────────────────────────────────────────── */
.rdm-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.rdm-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 420px;
}
.rdm-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}
.rdm-search {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.rdm-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow-sm);
}
.rdm-search::placeholder { color: var(--subtle); }
.rdm-search::-webkit-search-cancel-button { display: none; }
.rdm-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.rdm-search-clear:hover { color: var(--text); background: var(--surface-h); }
.rdm-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rdm-filter {
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.rdm-filter:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.rdm-filter.active { background: var(--gold); color: #09090b; border-color: var(--gold); }

/* ── Quarter nav ────────────────────────────────────────────── */
.rdm-nav-outer { margin-bottom: 32px; }
.rdm-nav {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
/* Base line */
.rdm-nav::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
/* Gold fill — width driven by JS --rdm-fill var */
.rdm-nav::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 10%;
  width: var(--rdm-fill, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 1;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}
.rdm-nav-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 2px;
  color: var(--subtle);
  transition: color 0.2s;
}
.rdm-nav-pill:hover { color: var(--muted); }
.rdm-nav-pill.active { color: var(--text); }
.rdm-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--subtle);
  border: 2px solid var(--bg);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.rdm-nav-pill.shipped .rdm-nav-dot {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(184,150,62,0.5);
}
.rdm-nav-pill.in-progress .rdm-nav-dot {
  background: var(--gold-lt);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.2), 0 0 14px rgba(184,150,62,0.5);
  animation: rdmPulse 2.4s ease-in-out infinite;
}
.rdm-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.rdm-nav-sub {
  font-size: 0.62rem;
  color: var(--subtle);
  line-height: 1;
}
.rdm-nav-pill.shipped .rdm-nav-sub    { color: rgba(184,150,62,0.7); }
.rdm-nav-pill.in-progress .rdm-nav-sub { color: var(--gold-lt); }
.rdm-nav-pill.active .rdm-nav-sub     { color: var(--muted); }
.rdm-now-badge {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #09090b;
  padding: 2px 6px;
  border-radius: var(--pill);
  margin-top: -4px;
}
@keyframes rdmPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,150,62,0.2),  0 0 12px rgba(184,150,62,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(184,150,62,0.08), 0 0 20px rgba(184,150,62,0.65); }
}

/* ── Track + arrows ─────────────────────────────────────────── */
.rdm-track-outer {
  position: relative;
  padding: 0 28px;
}
.rdm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.rdm-arrow:hover {
  color: var(--text);
  border-color: var(--border-gold);
  background: rgba(184,150,62,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 12px var(--gold-glow-sm);
}
.rdm-arrow:disabled { opacity: 0.2; pointer-events: none; }
.rdm-arrow-l { left: -4px; }
.rdm-arrow-r { right: -4px; }

/* ── Timeline ───────────────────────────────────────────────── */
.rdm-timeline {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 14px;
  padding: 4px 4px 20px;
}
.rdm-timeline::-webkit-scrollbar { display: none; }

/* ── Quarter column ─────────────────────────────────────────── */
.rdm-quarter {
  flex: 0 0 clamp(256px, 30vw, 296px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s ease;
}
.rdm-quarter.rdm-quarter-empty { opacity: 0.15; }
.rdm-q-head {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rdm-quarter.shipped .rdm-q-head {
  border-color: rgba(184,150,62,0.2);
  background: rgba(184,150,62,0.03);
}
.rdm-quarter.in-progress .rdm-q-head {
  border-color: var(--border-gold);
  background: rgba(184,150,62,0.06);
  box-shadow: 0 0 32px rgba(184,150,62,0.09);
}
.rdm-q-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--subtle);
  flex-shrink: 0;
}
.rdm-quarter.shipped .rdm-q-dot    { background: var(--gold); box-shadow: 0 0 8px rgba(184,150,62,0.5); }
.rdm-quarter.in-progress .rdm-q-dot { background: var(--gold-lt); animation: rdmPulse 2.4s ease-in-out infinite; }
.rdm-q-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.rdm-quarter.shipped .rdm-q-label    { color: var(--text); }
.rdm-quarter.in-progress .rdm-q-label { color: var(--gold-lt); }
.rdm-q-status {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--pill);
  flex-shrink: 0;
}
.rdm-quarter.shipped .rdm-q-status    { color: var(--gold); background: rgba(184,150,62,0.12); border: 1px solid rgba(184,150,62,0.2); }
.rdm-quarter.in-progress .rdm-q-status { color: #09090b; background: var(--gold); }
.rdm-quarter.planned .rdm-q-status   { color: var(--subtle); background: var(--surface); border: 1px solid var(--border); }

/* ── Feature card ───────────────────────────────────────────── */
.rdm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, opacity 0.25s, max-height 0.3s, padding 0.3s;
  overflow: hidden;
  max-height: 500px;
}
.rdm-card:hover { border-color: rgba(255,255,255,0.14); background: var(--surface-h); }
.rdm-card.rdm-hidden {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  pointer-events: none;
}
.rdm-cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cat-c);
  background: var(--cat-bg);
  align-self: flex-start;
}
.rdm-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}
.rdm-card-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.rdm-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  gap: 8px;
}
.rdm-shipped-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}
.rdm-shipped-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(184,150,62,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rdm-building-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-lt);
}
.rdm-building-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-lt);
  animation: rdmPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.rdm-upvote {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s ease;
  cursor: pointer;
}
.rdm-upvote:hover:not(.voted) { border-color: var(--border-gold); color: var(--gold); background: var(--gold-glow-sm); }
.rdm-upvote.voted              { border-color: var(--border-gold); color: var(--gold); background: rgba(184,150,62,0.12); cursor: default; }
.rdm-upvote svg                { transition: transform 0.2s ease; }
.rdm-upvote:not(.voted):hover svg { transform: translateY(-2px); }
.rdm-vote-count { font-variant-numeric: tabular-nums; min-width: 18px; }

/* ── Empty state ────────────────────────────────────────────── */
.rdm-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Ideas board ────────────────────────────────────────────── */
.rdm-ideas-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.rdm-submit-idea-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 6px;
}
.rdm-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rdm-idea-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.rdm-idea-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); background: var(--surface-h); }
.rdm-idea-submit-card {
  background: transparent;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 180px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font);
  width: 100%;
}
.rdm-idea-submit-card:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-glow-sm);
  transform: translateY(-2px);
}
.rdm-idea-submit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.rdm-idea-submit-card:hover .rdm-idea-submit-icon { background: rgba(184,150,62,0.15); }
.rdm-idea-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.rdm-idea-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.rdm-idea-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.rdm-idea-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--pill);
}
.rdm-status-considering  { color: #93c5fd; background: rgba(147,197,253,0.10); border: 1px solid rgba(147,197,253,0.2); }
.rdm-status-under-review { color: var(--gold-lt); background: rgba(184,150,62,0.10); border: 1px solid rgba(184,150,62,0.25); }
.rdm-status-added        { color: #86efac; background: rgba(134,239,172,0.10); border: 1px solid rgba(134,239,172,0.2); }

/* Voted hover → shows remove intent */
.rdm-upvote.voted:hover { border-color: rgba(224,82,82,0.45); color: #e05252; background: rgba(224,82,82,0.08); }

/* My Votes filter pill */
.rdm-filter-votes { border-color: var(--border-gold) !important; color: var(--gold) !important; }
.rdm-filter-votes.active { background: rgba(184,150,62,0.15) !important; color: var(--gold-lt) !important; }

/* Vote email capture modal */
.rdm-skip-vote {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  color: var(--subtle);
  font-size: 0.8rem;
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 4px 0;
}
.rdm-skip-vote:hover { color: var(--muted); }

/* Idea modal extras */
.rdm-select  { cursor: pointer; }
.rdm-textarea { resize: vertical; min-height: 80px; max-height: 200px; line-height: 1.55; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rdm-ideas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rdm-controls { gap: 12px; }
  .rdm-search-wrap { max-width: 100%; }
  .rdm-track-outer { padding: 0 20px; }
  .rdm-nav-sub { display: none; }
  .rdm-now-badge { display: none; }
  .rdm-nav-label { font-size: 0.65rem; }
}
@media (max-width: 640px) {
  .rdm-ideas-grid { grid-template-columns: 1fr; }
  .rdm-ideas-header { flex-direction: column; gap: 16px; }
  .rdm-submit-idea-btn { width: 100%; justify-content: center; }
}

/* ── Roadmap teaser (index.html inline section) ─────────────── */
.rdm-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
}
.rdm-teaser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 820px;
}
.rdm-teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rdm-teaser-card-planned { opacity: 0.65; }
.rdm-vote-peek {
  font-size: 0.78rem;
  color: var(--subtle);
  margin: 0;
}
.rdm-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 640px) {
  .rdm-teaser-cards { grid-template-columns: 1fr; }
}
