:root {
  --bg: #0f172a;
  --panel: #111827;
  --accent: #38bdf8;
  --muted: #94a3b8;
  --white: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: linear-gradient(180deg, #020617, #020617);
  color: var(--white);
}

/* HERO */
.hero {
  padding: 30px 20px;
  text-align: center;
}

.brand {
  font-size: 2rem;
  margin-bottom: 20px;
}

.brand-light {
  font-weight: 300;
}

.brand-dark {
  font-weight: 700;
}

.tm {
  font-size: 0.6em;
  vertical-align: super;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--accent);
  max-width: 720px;
  margin: 0 auto 12px;
}

.hero-proof {
  font-size: 0.95rem;
  color: #fff;
}

/* STORY */
.story {
  max-width: 820px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.story p {
  font-size: 1.3rem;
  line-height: 1.8;
 /* color: var(--muted);*/
}

.story-emphasis {
  margin-top: 20px;
  font-size: 1.4rem;
  color: var(--white);
}

/* DEMO */
.demo {
  background: #020617;
  padding: 80px 20px;
  text-align: center;
}

.demo-grid {
  display: grid;
  grid-template-columns: 80px repeat(3, 1fr);
  gap: 8px;
  max-width: 640px;
  margin: 40px auto;
}


.demo-time {
  display: flex;
  align-items: center;   /* vertical centering */
  justify-content: center; /* optional: horizontal centering */
  text-align: right;
}

.demo-cell {
  padding: 14px;
  border-radius: 8px;
  background: #020617;
  border: 1px solid #1e293b;
  font-size: 0.9rem;
  transition: all 0.6s ease;
}

.demo-cell.available {
 /* color: #94a3b8;*/
}

.demo-cell.booked {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.demo-cell.pending {
  background: rgba(250, 204, 21, 0.15);
  border-color: #facc15;
  color: #facc15;
}
.demo-sub {
  color: var(--accent);
}


/* EVENTS */

.demo-events-frame {
  margin-top: 28px;
  height: calc(1.6em * 5); /* reserve space for 5 events */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.demo-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.demo-events .event {
  font-size: 0.95rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}

.demo-events .event.visible {
  opacity: 1;
}


.demo-events {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01em;
}

.demo-cell.lesson {
  background: rgba(167, 139, 250, 0.18);
  border-color: #a78bfa;
  color: #a78bfa;
}

.demo-cell.ladder {
  background: rgba(34, 197, 94, 0.18);
  border-color: #22c55e;
  color: #22c55e;
}

.demo-cell.event {
  background: rgba(148, 163, 184, 0.18);
  border-color: #64748b;
  color: #cbd5f5;
}



/* VALUE */
.value {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 24px;
  font-size: 1rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 20px 120px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: var(--accent);
  color: #020617;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

.municipal-highlight {
  margin-top: 22px;
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(37,99,235,0.12), rgba(0,180,216,0.10));
  border: 1px solid rgba(148,163,184,0.35);
}

.municipal-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.municipal-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: gray;
  border: 1px solid rgba(37,99,235,0.25);
}

.municipal-highlight h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
}

.municipal-highlight p {
  margin: 0 0 14px;
  line-height: 1.55;
  opacity: 0.9;
  max-width: 900px;
}

.municipal-cta {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
}

.municipal-cta:hover {
  filter: brightness(0.95);
}

/* Residency Verification link only */
.rve-link,
.rve-link:visited {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px;
}

.rve-link:hover {
  color: #e5edff;
  text-decoration-color: rgba(229,237,255,0.8);
}

/* ================= VOICE HIGHLIGHT ================= */

.voice-highlight {
  padding: 70px 30px;
  border-top: 1px solid #ABABAB;
  border-bottom: 1px solid #ABABAB;
}

.voice-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.voice-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.voice-header h2 {
  margin: 0;
  font-size: 28px;
}

.voice-body p {
  margin: 8px 0;
  color: var(--accent);
}

.voice-example {
  margin: 18px 0;
  padding: 14px 18px;
  background: white;
  border-left: 4px solid #38bdf8;
  font-style: italic;
  font-size: 17px;
  color: #111827;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-align: center;
}

.voice-sub {
  font-size: 15px;
  color: var(--muted);
}
