/* ==========================================================================
   Procyon — coming soon landing page
   Dark editorial theme: Syne for display headlines (800 weight, tight
   tracking), Archivo for body copy, JetBrains Mono for labels/numbers/
   countdowns. Violet is primary, coral is the secondary "alert/energy"
   accent, lime is the pop/success accent (QR-valid states, CTAs).

   TODO(swap-fonts): once you have the mobile app's HTML file, copy its
   @font-face declarations in here (replace the `font-family` values below
   if the local files use different family names) and delete the Google
   Fonts <link> tags in index.html.
   ========================================================================== */

:root {
  /* Page surface (dark) */
  --page-bg: #0C0B10;
  --surface-alt: #0A0910;
  --surface: #141219;
  --surface-2: #100E16;
  --surface-3: #16141C;
  --border: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Text on dark surfaces */
  --ink: #F5F2FA;
  --ink-muted: rgba(245, 242, 250, 0.58);
  --ink-faint: rgba(245, 242, 250, 0.42);
  --ink-faintest: rgba(245, 242, 250, 0.34);

  /* Brand accents */
  --primary: #9146FF;
  --primary-soft: #C4A0FF;
  --primary-glow: rgba(145, 70, 255, 0.32);

  --coral: #FF5A3D;
  --coral-soft: #FF8A73;
  --coral-glow: rgba(255, 90, 61, 0.26);

  --accent: #C6FF3D;
  --accent-ink: #0B0A0F;

  --danger: #FF5A3D;
  --success: #C6FF3D;

  /* Type */
  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap-max: 1200px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --nav-h: 80px;

  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
section[id] { scroll-margin-top: var(--nav-h); }
body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* Visible keyboard-focus ring on every interactive element — mouse/touch
   users never see it (:focus-visible), keyboard users always do. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.eyebrow--coral { color: var(--coral-soft); }
.eyebrow--accent { color: var(--accent); }

.section-title {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 44px;
}

/* ---------- Motion / reveal utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.problem-card.reveal:nth-child(1),
.how-step.reveal:nth-child(1),
.ticket-card.reveal:nth-child(1),
.faq-item.reveal:nth-child(1),
.board-card.reveal:nth-child(1),
.mechanism-step.reveal:nth-child(1) { transition-delay: 0ms; }
.problem-card.reveal:nth-child(2),
.how-step.reveal:nth-child(2),
.ticket-card.reveal:nth-child(2),
.faq-item.reveal:nth-child(2),
.board-card.reveal:nth-child(2),
.mechanism-step.reveal:nth-child(2) { transition-delay: 70ms; }
.problem-card.reveal:nth-child(3),
.how-step.reveal:nth-child(3),
.faq-item.reveal:nth-child(3),
.board-card.reveal:nth-child(3),
.mechanism-step.reveal:nth-child(3) { transition-delay: 140ms; }
.problem-card.reveal:nth-child(4),
.how-step.reveal:nth-child(4),
.faq-item.reveal:nth-child(4),
.board-card.reveal:nth-child(4),
.mechanism-step.reveal:nth-child(4) { transition-delay: 210ms; }
.faq-item.reveal:nth-child(5),
.board-card.reveal:nth-child(5) { transition-delay: 280ms; }
.board-card.reveal:nth-child(6) { transition-delay: 70ms; }
.board-card.reveal:nth-child(7) { transition-delay: 140ms; }
.board-card.reveal:nth-child(8) { transition-delay: 210ms; }
.board-card.reveal:nth-child(9) { transition-delay: 280ms; }
.board-card.reveal:nth-child(10) { transition-delay: 350ms; }

/* Hero entrance — plays once on load, not scroll-triggered (hero is
   already in view on arrival). Staggered via animation-delay per element. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in {
  opacity: 0;
  animation: hero-rise 800ms var(--ease) both;
}
.hero-in--1 { animation-delay: 0ms; }
.hero-in--2 { animation-delay: 90ms; }
.hero-in--3 { animation-delay: 180ms; }
.hero-in--4 { animation-delay: 270ms; }
.hero-in--5 { animation-delay: 360ms; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sweep {
  from { transform: translateY(-70px); }
  to { transform: translateY(70px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-in { animation: none; opacity: 1; }
  .pulse-dot, .marquee__track, .ticket-sweep { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

/* Cursor-follow glow — a soft highlight tracking the pointer within the
   button, layered under the solid fill/border via background-image so it
   never needs overflow:hidden (which would otherwise clip the box-shadow
   glow below). --spot-x/y are set via JS on pointermove; see js/main.js. */
.btn--accent {
  background:
    radial-gradient(90px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.5), transparent 70%),
    var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(198, 255, 61, 0.28);
}
.btn--accent:hover {
  box-shadow: 0 14px 36px rgba(198, 255, 61, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background:
    radial-gradient(90px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.1), transparent 70%),
    transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(90px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.04);
}

.btn--sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(12, 11, 16, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 11, 16, 0.92);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav__logo .dot { color: var(--accent); }
.nav__logo-mark { display: block; width: 28px; height: 28px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 160ms var(--ease);
}
.nav__links a:hover { color: var(--ink); }

@media (max-width: 780px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 84px);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 820px;
  max-width: 100vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* Cursor-follow spotlight — desktop/mouse only (see js/main.js), a soft
   highlight that tracks the pointer for a subtle "premium" feel. --spot-x/y
   are set via JS; the layer stays fully transparent (and inert) until it
   has a position and the hero has been hovered at least once. */
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  background: radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 10%), rgba(198, 255, 61, 0.08), transparent 65%);
}
.hero__spotlight.is-active { opacity: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 90, 61, 0.14);
  border: 1px solid rgba(255, 90, 61, 0.42);
  color: var(--coral-soft);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 1.6s var(--ease) infinite;
}

.hero__title {
  margin: 28px auto 0;
  font-size: clamp(40px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 1000px;
}

.hero__sub {
  margin: 26px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 600px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  margin: 36px auto 0;
  max-width: 560px;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  height: 60px;
  padding: 0 26px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: border-color 160ms var(--ease);
}
.waitlist-form input[type="email"]::placeholder { color: var(--ink-faint); }
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}
.waitlist-form.is-invalid input[type="email"] { border-color: var(--danger); }
.waitlist-form .btn { height: 60px; padding: 0 34px; }

.waitlist-form__note {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-faint);
}
.waitlist-form__note[data-state="success"] { color: var(--accent); font-weight: 700; }
.waitlist-form__note[data-state="error"] { color: var(--danger); font-weight: 700; }

@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  position: relative;
  margin-top: 60px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-alt);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-faintest);
  white-space: nowrap;
}
.marquee__group span.is-live { color: var(--accent); }

/* ---------- Problem section ---------- */
.problem { padding-top: 84px; padding-bottom: 84px; border-bottom: 1px solid var(--border); }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.problem-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.problem-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.problem-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 980px) { .problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem__grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how { padding-top: 84px; padding-bottom: 84px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.how-step {
  border-top: 2px solid var(--border-strong);
  padding-top: 20px;
  transition: transform 200ms var(--ease);
}
.how-step:hover { transform: translateY(-2px); }
.how-step:nth-child(1) { border-top-color: var(--primary); }
.how-step:nth-child(2) { border-top-color: rgba(145, 70, 255, 0.55); }
.how-step:nth-child(3) { border-top-color: rgba(145, 70, 255, 0.35); }
.how-step:nth-child(4) { border-top-color: rgba(198, 255, 61, 0.6); }
.how-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-soft);
}
.how-step:nth-child(4) .how-step__num { color: var(--accent); }
.how-step h3 {
  margin-top: 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.how-step p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 980px) { .how__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how__grid { grid-template-columns: 1fr; } }

/* ---------- Mechanism: how the rotating QR works ---------- */
.mechanism {
  padding-top: 84px; padding-bottom: 84px;
  border-bottom: 1px solid var(--border);
}
.mechanism__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}
.mechanism__title { max-width: 560px; }
.mechanism__steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  max-width: 560px;
}
.mechanism-step {
  display: flex;
  gap: 16px;
}
.mechanism-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-soft);
  padding-top: 3px;
  flex-shrink: 0;
}
.mechanism-step:last-child .mechanism-step__num { color: var(--accent); }
.mechanism-step__title { font-size: 15px; font-weight: 700; }
.mechanism-step__desc {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.mechanism__visual { position: relative; }
.mechanism__visual-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral-glow), transparent 62%);
  filter: blur(22px);
  z-index: -1;
}

.ticket {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket__event {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ticket__tier {
  background: rgba(255, 90, 61, 0.16);
  border: 1px solid rgba(255, 90, 61, 0.42);
  color: var(--coral-soft);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
}

.ticket__qr-frame {
  margin-top: 16px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  height: 230px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket__qr-grid {
  display: grid;
  grid-template-columns: repeat(9, 18px);
  grid-auto-rows: 18px;
  gap: 3px;
}
.ticket__qr-grid div { border-radius: 3px; }
.ticket-sweep {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(145, 70, 255, 0), rgba(145, 70, 255, 0.34), rgba(145, 70, 255, 0));
  animation: sweep 2.4s linear infinite;
}

.ticket__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.ticket__attendee {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-faint);
}
.ticket__countdown {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .mechanism__grid { grid-template-columns: 1fr; gap: 40px; }
  .mechanism__visual { max-width: 360px; margin: 0 auto; width: 100%; }
}

/* ---------- Security proof: before/after + live stat bar ---------- */
.security { padding-top: 84px; padding-bottom: 84px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.security__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.ticket-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 220ms var(--ease);
}
.ticket-card:hover { transform: translateY(-3px); }
.ticket-card--stale {
  background: var(--surface);
  border: 1px solid rgba(255, 90, 61, 0.34);
}
.ticket-card--live {
  background: linear-gradient(160deg, rgba(198, 255, 61, 0.12), rgba(198, 255, 61, 0.03));
  border: 1px solid rgba(198, 255, 61, 0.45);
}
.ticket-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ticket-card--stale .ticket-card__label { color: var(--coral-soft); }
.ticket-card--live .ticket-card__label { color: var(--accent); }

.ticket-card__status {
  margin-top: 18px;
  height: 132px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  padding: 0 16px;
}
.ticket-card--stale .ticket-card__status {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--ink-faintest);
}
.ticket-card--live .ticket-card__status {
  background: rgba(198, 255, 61, 0.08);
  border: 1px solid rgba(198, 255, 61, 0.28);
  color: var(--accent);
}

.ticket-card__result {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ticket-card--stale .ticket-card__result { color: var(--coral-soft); }
.ticket-card--live .ticket-card__result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.ticket-card__result-secs {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.security__statbar {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.security__live {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
}
.security__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.6s var(--ease) infinite;
}
.security__count-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
}
.security__count {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.security__count-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
}
.security__signal {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.security__signal span { color: var(--coral); }
.security__caption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
}

.security__bottom {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.security__bottom h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.06; }
.security__bottom p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

@media (max-width: 780px) {
  .security__compare { grid-template-columns: 1fr; }
  .security__bottom { grid-template-columns: 1fr; gap: 20px; }
  .security__statbar { flex-direction: column; align-items: flex-start; }
  .security__signal { text-align: left; }
}

/* ---------- Campus-first / verification ---------- */
.campus { padding-top: 84px; padding-bottom: 84px; border-bottom: 1px solid var(--border); }
.campus__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.campus__body {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 560px;
}
.campus__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.campus__pill {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
}
.campus__pill--primary {
  background: rgba(145, 70, 255, 0.14);
  border: 1px solid rgba(145, 70, 255, 0.4);
  color: var(--primary-soft);
}
.campus__pill--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  font-weight: 600;
}

.campus__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.campus__card:hover { transform: translateY(-3px); border-color: rgba(145, 70, 255, 0.35); }
.campus__verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(198, 255, 61, 0.14);
  border: 1px solid rgba(198, 255, 61, 0.4);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 13px;
  font-weight: 700;
  font-size: 11px;
}
.campus__avatars {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.campus__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-left: -14px;
}
.campus__avatar:first-child { margin-left: 0; }
.campus__avatar--a { background: linear-gradient(140deg, #9146FF, #FF5A3D); color: #fff; }
.campus__avatar--b { background: linear-gradient(140deg, #FF5A3D, #C6FF3D); color: var(--accent-ink); }
.campus__avatar--c { background: linear-gradient(140deg, #C6FF3D, #9146FF); color: var(--accent-ink); }
.campus__avatar--more { background: rgba(255, 255, 255, 0.09); color: var(--ink-muted); font-family: var(--font-body); font-weight: 700; font-size: 14px; }
.campus__card-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .campus__grid { grid-template-columns: 1fr; gap: 32px; }
  .campus__card { max-width: 380px; margin: 0 auto; }
}

/* ---------- The board: campus leaderboard ---------- */
.board { padding-top: 84px; padding-bottom: 84px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.board__head { text-align: center; margin-bottom: 38px; }
.board__head .eyebrow { justify-content: center; }
.board__head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.board__head p {
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 520px;
}

.board__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.board-card {
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.board-card:hover { transform: translateY(-2px); }
.board-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.board-card__status {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10.5px;
}

/* Fill bar — width driven by the --fill custom property set inline per
   card (e.g. style="--fill: 89%"). Animates from 0 the moment the card's
   shared .reveal/.is-visible class lands (see js/main.js), same trigger
   as the fade-up, no separate JS needed. */
.board-card__bar {
  margin-top: 12px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.board-card__bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--primary-soft);
  transition: width 900ms var(--ease) 200ms;
}
.board-card.is-visible .board-card__bar-fill { width: var(--fill, 0%); }
.board-card--open .board-card__bar-fill { background: var(--accent); }

.board-card--open {
  background: linear-gradient(160deg, rgba(198, 255, 61, 0.16), rgba(198, 255, 61, 0.04));
  border: 1px solid rgba(198, 255, 61, 0.45);
}
.board-card--open .board-card__status { color: var(--accent); }

.board-card--hot {
  background: var(--surface);
  border: 1px solid rgba(145, 70, 255, 0.5);
}
.board-card--hot .board-card__status { color: var(--primary-soft); }

.board-card--warm {
  background: var(--surface);
  border: 1px solid rgba(145, 70, 255, 0.34);
}
.board-card--warm .board-card__status { color: var(--ink-faint); }

.board-card--cool {
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.board-card--cool .board-card__status { color: var(--ink-faint); }

.board-card--add {
  background: var(--surface);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: border-color 200ms var(--ease);
}
.board-card--add:hover { border-color: rgba(255, 255, 255, 0.3); }
.board-card--add .board-card__name { font-size: 15px; color: var(--ink-muted); }
.board-card--add .board-card__status { font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--ink-faintest); letter-spacing: normal; text-transform: none; }

@media (max-width: 900px) { .board__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .board__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { padding-top: 84px; padding-bottom: 84px; border-bottom: 1px solid var(--border); }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 38px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary-soft);
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 900px;
}

/* ---------- Secondary CTA ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band__glow {
  position: absolute;
  bottom: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  max-width: 100vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 62%);
  filter: blur(28px);
  z-index: -1;
}
.cta-band h2 {
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.cta-band p {
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 520px;
}
.cta-band .waitlist-form { margin: 32px auto 0; }
.cta-band .waitlist-form__note { color: var(--ink-faint); }

/* ---------- Footer ---------- */
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.footer__links a { transition: color 160ms var(--ease); }
.footer__links a:hover { color: var(--ink); }

@media (max-width: 700px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
