/* ============================================================
   NEUROGENETICS INSTITUTE — Shared Design System
   Used by landing + attendee pages (The Focus Advantage)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #07070b;
  color: #e4e4e7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fafafa;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; color: #fbbf24; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fafafa; }
p { margin-bottom: 1rem; color: #d4d4d8; }
strong { color: #fafafa; font-weight: 600; }
em { color: #fbbf24; font-style: italic; }
a { color: #fbbf24; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; text-decoration: underline; }

/* ---------- TOP BAR ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7, 7, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f1f26;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-tag {
  font-size: 0.75rem;
  color: #fbbf24;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar-brand span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: 0.02em;
}
.topbar-logo { height: 32px; width: auto; }

/* ---------- PAGE LAYOUT ---------- */
.page {
  min-height: auto;
  padding: 5rem 2rem;
  position: relative;
  border-bottom: 1px solid #1f1f26;
  background:
    radial-gradient(ellipse at top, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #07070b 0%, #0a0a12 100%);
}
.page-inner { max-width: 900px; margin: 0 auto; width: 100%; }
.page-inner.wide { max-width: 1100px; }

/* ---------- SECTION HEADER ---------- */
.section-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f1f26;
}
.section-number {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.05);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, rgba(251, 191, 36, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(45, 212, 191, 0.05) 0%, transparent 50%),
    #07070b;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero h1 {
  background: linear-gradient(135deg, #fafafa 0%, #fbbf24 50%, #fafafa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  max-width: 900px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #a1a1aa;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.hero-logo-big {
  width: 120px;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.25));
}

/* ---------- COMPACT HERO (corporate-style landing) ---------- */
.hero-compact {
  min-height: auto;
  padding: 6rem 2rem 4rem;
  gap: 0;
}
.hero-compact .hero-kicker { margin-bottom: 1rem; }
.hero-compact h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 0.75rem;
}
.hero-compact .hero-subtitle { margin-bottom: 1.75rem; }
.hero-logo-sm {
  width: 64px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px rgba(251, 191, 36, 0.25));
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: 1; transform: translateY(-2px); }
.btn-primary {
  background: #fbbf24;
  color: #07070b;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.25);
}
.btn-primary:hover { background: #f59e0b; box-shadow: 0 14px 40px rgba(251, 191, 36, 0.35); }
.btn-large { padding: 1.25rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-secondary {
  background: transparent;
  color: #fafafa;
  border: 1px solid #27272a;
}
.btn-secondary:hover { border-color: #fbbf24; color: #fbbf24; }
.btn[disabled], .btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- PRICE ---------- */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fafafa;
  letter-spacing: -0.03em;
}
.price-currency { font-size: 1.5rem; color: #fbbf24; font-weight: 700; }
.price-note { color: #71717a; font-size: 0.9rem; }

/* ---------- CARDS & GRIDS ---------- */
.card {
  background: linear-gradient(180deg, #12121a 0%, #0d0d14 100%);
  border: 1px solid #1f1f26;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}
.card:hover { border-color: rgba(251, 191, 36, 0.3); }
.card-accent { border-left: 3px solid #fbbf24; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.mini-card {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  padding: 1.5rem;
}
.mini-card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; }

/* ---------- NUMBERED STEPS ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.step-card {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
}
.step-card-num {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.step-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* ---------- CALLOUT ---------- */
.callout {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 191, 36, 0.02) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.callout p { color: #fafafa; margin: 0; font-size: 1.05rem; }

/* ---------- INFO ROW (date / time / etc.) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.info-tile {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.info-tile-label {
  font-size: 0.75rem;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.info-tile-value { font-size: 1.15rem; color: #fafafa; font-weight: 700; }

/* ---------- CHECKLIST ---------- */
.checklist { list-style: none; margin: 1rem 0; }
.checklist li {
  padding: 0.75rem 1rem;
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d4d4d8;
}
.checklist li::before { content: '✓'; font-size: 1rem; color: #fbbf24; font-weight: 700; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #fafafa;
  font-size: 1.05rem;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .icon { color: #fbbf24; font-size: 1.4rem; transition: transform 0.2s; }
.faq-item[open] .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: #d4d4d8; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #fbbf24 0%, #27272a 100%);
}
.timeline-item {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.75rem;
  width: 16px;
  height: 16px;
  background: #fbbf24;
  border-radius: 50%;
  border: 3px solid #07070b;
  box-shadow: 0 0 0 2px #fbbf24;
}
.timeline-day { font-family: 'Courier New', monospace; font-size: 0.75rem; color: #fbbf24; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; font-weight: 600; }
.timeline-title { font-size: 1.1rem; color: #fafafa; font-weight: 600; margin-bottom: 0.4rem; }
.timeline-desc { color: #a1a1aa; font-size: 0.95rem; margin: 0; }

/* ---------- RESULT BOX / HIGHLIGHT ---------- */
.result-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(45, 212, 191, 0.05) 100%);
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 14px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.result-box-label { font-size: 0.8rem; color: #fbbf24; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 600; }
.result-box-value { font-size: 1.4rem; color: #fafafa; font-weight: 700; margin-bottom: 0.5rem; }
.result-box-desc { color: #d4d4d8; font-size: 0.95rem; }

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: #a1a1aa; margin-top: 0.25rem; }

/* ---------- GLOBAL FOOTER ---------- */
.global-footer {
  padding: 4rem 2rem;
  text-align: center;
  background: #050508;
  border-top: 1px solid #1f1f26;
}
.global-footer-logo { width: 60px; height: auto; margin-bottom: 1.5rem; opacity: 0.8; }
.global-footer-brand { font-size: 1.1rem; color: #fafafa; font-weight: 600; margin-bottom: 0.5rem; }
.global-footer-tagline { font-size: 0.9rem; color: #71717a; font-style: italic; margin-bottom: 2rem; }
.cta-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.02) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.cta-box h3 { color: #fafafa; margin-bottom: 1rem; }
.cta-box p { color: #d4d4d8; margin-bottom: 1.5rem; }
.footer-legal { font-size: 0.75rem; color: #52525b; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: #a1a1aa; }

/* ============================================================
   THE FOCUS ADVANTAGE — page-specific components
   ============================================================ */

/* ---------- COUNTDOWN CHIP ---------- */
.countdown-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #2dd4bf;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.06);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.countdown-chip .cd-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2dd4bf;
  animation: cdpulse 1.6s infinite;
}
@keyframes cdpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- TRUST CHIPS ---------- */
.guarantee-row { display:flex; justify-content:center; gap:1.25rem; flex-wrap:wrap; margin:1.5rem 0 0; }
.guarantee-chip { display:inline-flex; align-items:center; gap:0.5rem; font-size:0.82rem; color:#a1a1aa; padding:0.5rem 1rem; border:1px solid #1f1f26; border-radius:999px; background:#0d0d14; }
.guarantee-chip b { color:#fbbf24; }

.outcome-pills { display:flex; gap:0.6rem; justify-content:center; flex-wrap:wrap; margin:1.25rem 0 0.5rem; }
.outcome-pill { font-size:0.85rem; color:#d4d4d8; background:rgba(251,191,36,0.07); border:1px solid rgba(251,191,36,0.2); padding:0.4rem 0.9rem; border-radius:999px; }

.free-cta { text-align:center; padding:1rem 0; }
.free-cta .btn-free { background:transparent; color:#fbbf24; border:2px solid #fbbf24; }
.free-cta .btn-free:hover { background:rgba(251,191,36,0.1); }

/* ---------- FUNNEL ---------- */
.funnel { display:flex; align-items:center; justify-content:center; gap:0.5rem; flex-wrap:wrap; margin:1.5rem 0; font-size:0.85rem; color:#71717a; }
.funnel .fstep { padding:0.5rem 0.9rem; background:#0d0d14; border:1px solid #1f1f26; border-radius:8px; color:#d4d4d8; }
.funnel .fstep.now { border-color:#fbbf24; color:#fbbf24; }
.funnel .farrow { color:#3f3f46; }

/* ---------- ECO GRID ---------- */
.eco-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1rem; margin:1.5rem 0; }
.eco-tile { background:#0d0d14; border:1px solid #1f1f26; border-radius:10px; padding:1.25rem; text-align:center; transition:border-color .2s; }
.eco-tile:hover { border-color:rgba(251,191,36,0.3); }
.eco-tile .e-ic { font-size:1.6rem; display:block; margin-bottom:0.5rem; }
.eco-tile .e-lbl { font-size:0.85rem; color:#fafafa; font-weight:600; }
.eco-tile .e-sub { font-size:0.72rem; color:#71717a; margin-top:0.25rem; }

/* ---------- PARENT BOX ---------- */
.parent-box { background: linear-gradient(135deg, rgba(45,212,191,0.06) 0%, rgba(251,191,36,0.04) 100%); border:1px solid rgba(45,212,191,0.25); border-radius:14px; padding:2.25rem; margin:1.5rem 0; }
.parent-box .pq { font-size:1.25rem; color:#fafafa; font-weight:600; margin-bottom:1rem; }

/* ============================================================
   THE 2-MINUTE FOCUS TEST
   ============================================================ */
.demo-box {
  background: linear-gradient(180deg, #12121a 0%, #0a0a12 100%);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 14px;
  padding: 2rem;
  margin: 1.5rem 0;
  position: relative;
}
.demo-status {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #2dd4bf;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}
.demo-status.warn { color: #fbbf24; }

/* reading passage */
.reading-box {
  background: #07070b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #e4e4e7;
  margin: 1rem 0 1.25rem;
}
.reading-box .rp-tease { color: #71717a; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Courier New', monospace; display:block; margin-bottom: 0.75rem; }

/* timer bar */
.timer-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.25rem; }
.timer-bar-track { flex: 1; height: 8px; background: #0d0d14; border: 1px solid #1f1f26; border-radius: 999px; overflow: hidden; }
.timer-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #2dd4bf, #fbbf24); border-radius: 999px; transition: width 0.25s linear; }
.timer-num { font-family: 'Courier New', monospace; font-size: 0.9rem; color: #2dd4bf; font-weight: 700; min-width: 3.2rem; text-align: right; }

/* quiz */
.quiz-q { margin: 1.4rem 0 0.5rem; }
.quiz-q p.qt { color: #fafafa; font-weight: 600; font-size: 1rem; margin-bottom: 0.6rem; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.6rem; }
.quiz-opt {
  padding: 0.75rem 1rem;
  background: #0d0d14;
  border: 1px solid #27272a;
  border-radius: 8px;
  color: #d4d4d8;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .15s;
}
.quiz-opt:hover { border-color: #fbbf24; }
.quiz-opt.selected { border-color: #fbbf24; background: rgba(251, 191, 36, 0.08); color: #fafafa; font-weight: 600; }
.quiz-opt.correct { border-color: #2dd4bf; background: rgba(45, 212, 191, 0.1); color: #2dd4bf; font-weight: 600; }
.quiz-opt.wrong { border-color: #ef4444; background: rgba(239, 68, 68, 0.08); color: #ef4444; }

.demo-actions { display:flex; gap:0.75rem; flex-wrap:wrap; align-items:center; margin-top: 1.25rem; }
.demo-result { margin-top:1.25rem; padding:1rem 1.25rem; border-radius:10px; font-weight:600; display:none; }
.demo-result.show { display:block; }
.demo-result.good { background:rgba(45,212,191,0.1); border:1px solid #2dd4bf; color:#2dd4bf; }
.demo-note { font-size:0.85rem; color:#71717a; margin-top:0.75rem; line-height:1.5; }

/* comparison panel (results) */
.compare-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin:1.25rem 0; }
.compare-card { background:#07070b; border:1px solid #27272a; border-radius:10px; padding:1.25rem; text-align:center; }
.compare-card.win { border-color:#2dd4bf; background:rgba(45,212,191,0.05); }
.compare-card.lose { border-color:rgba(239,68,68,0.4); }
.compare-card .cc-label { font-family:'Courier New',monospace; font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:#71717a; margin-bottom:0.5rem; }
.compare-card.win .cc-label { color:#2dd4bf; }
.compare-card.lose .cc-label { color:#ef4444; }
.compare-card .cc-score { font-size:2rem; font-weight:800; color:#fafafa; line-height:1.1; }
.compare-card .cc-sub { font-size:0.85rem; color:#a1a1aa; margin-top:0.35rem; }
.compare-bar { height:8px; border-radius:999px; background:#0d0d14; border:1px solid #1f1f26; overflow:hidden; margin-top:0.85rem; }
.compare-bar > div { height:100%; background:#2dd4bf; border-radius:999px; }

/* fake OS notifications */
.notif-stack {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: calc(100vw - 2.5rem);
}
.notif {
  position: relative;
  width: min(430px, calc(100vw - 2.5rem));
  background: rgba(24, 24, 32, 0.98);
  border: 1px solid #3f3f46;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(130%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  animation: notifwiggle 0.6s ease-in-out 2.5s 2;
}
.notif.in { transform: translateX(0); }
.notif-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.notif-body { min-width: 0; flex: 1; }
.notif-app { font-size: 0.78rem; color: #a1a1aa; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.notif-title { font-size: 1.05rem; color: #fafafa; font-weight: 700; margin-top: 0.15rem; }
.notif-msg {
  font-size: 0.95rem;
  color: #d4d4d8;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-hint { font-size: 0.72rem; color: #52525b; margin-top: 0.3rem; }
.notif-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}
@keyframes notifwiggle {
  0%, 100% { rotate: 0deg; }
  20% { rotate: 1.6deg; }
  40% { rotate: -1.6deg; }
  60% { rotate: 1deg; }
  80% { rotate: -1deg; }
}

/* "gotcha" overlay when a notification is clicked */
.gotcha {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 4, 8, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gotcha-card {
  max-width: 460px;
  background: #0d0d14;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}
.gotcha-card .g-emoji { font-size: 2.4rem; display: block; margin-bottom: 0.75rem; }
.gotcha-card h4 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.gotcha-card p { font-size: 0.95rem; color: #a1a1aa; }
.gotcha-card .g-timer { font-family: 'Courier New', monospace; color: #ef4444; font-size: 0.8rem; letter-spacing: 0.15em; margin-top: 0.75rem; text-transform: uppercase; }

/* interstitial between rounds */
.interlude { text-align: center; padding: 1rem 0; }
.interlude .il-badge {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.06);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ---------- S.T.A.R.T. FRAMEWORK GRID ---------- */
.start-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:1rem; margin:1.5rem 0; }
.start-tile { background:#0d0d14; border:1px solid #1f1f26; border-radius:10px; padding:1.25rem 1rem; text-align:center; transition:border-color .2s; }
.start-tile:hover { border-color:rgba(45,212,191,0.35); }
.start-tile .st-letter {
  font-family:'Courier New',monospace;
  font-size:1.6rem; font-weight:800; color:#2dd4bf;
  display:block; margin-bottom:0.4rem;
}
.start-tile .st-name { font-size:0.9rem; color:#fafafa; font-weight:700; }
.start-tile .st-sub { font-size:0.72rem; color:#71717a; margin-top:0.25rem; line-height:1.45; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .page { padding: 3rem 1.25rem; }
  .topbar { padding: 0.75rem 1.25rem; }
  .topbar-brand span { display: none; }
  .stats-bar { gap: 2rem; }
  .info-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .btn-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .btn-row .btn { width: 100%; }
  .result-box { padding: 1.5rem; }
  .callout { padding: 1.25rem 1.25rem; }
  .demo-box { padding: 1.25rem; }
  .reading-box { padding: 1.1rem 1.15rem; font-size: 0.95rem; }
  .parent-box { padding: 1.5rem 1.25rem; }
  .quiz-opts { grid-template-columns: 1fr; }
}

/* ---------- PRINT ---------- */
@media print {
  body { background: white; color: #111; }
  .topbar, .global-footer, .notif, .gotcha { display: none; }
  .page { border-bottom: none; background: white; padding: 1.5rem; }
  h1, h2, h3, h4, strong { color: #111 !important; -webkit-text-fill-color: #111 !important; }
  .card, .mini-card { background: #f9f9f9; border-color: #ccc; }
}
