:root {
  --bg: #091361;
  --panel: rgba(255,255,255,.07);
  --panel-strong: rgba(255,255,255,.11);
  --border: rgba(255,255,255,.13);
  --text: #e1e8ff;
  --muted: rgba(225,232,255,.62);
  --accent: #78b9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* Top bar */
.about-header {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.logo-link {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.about-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-nav a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 999px;
}

.about-nav a:hover {
  color: white;
  background: rgba(255,255,255,.09);
}

/* Page layout */
.about-page {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.about-hero {
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(54px, 10vw, 120px);
  line-height: .85;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.last-updated {
  margin: 18px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 14px;
  font-weight: 800;
}

/* Info boxes */
.info-box {
  margin-top: 26px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.info-box h2 {
  margin: 0 0 18px;
  color: white;
  font-size: clamp(30px, 5vw, 56px);
  line-height: .95;
  letter-spacing: -0.06em;
}

.info-box p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
}

.info-card h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 20px;
}

.info-card p {
  margin: 0;
  font-size: 15px;
}

/* Agreement */
.agree-box {
  border-color: rgba(120,185,255,.28);
  background:
    radial-gradient(circle at top right, rgba(120,185,255,.16), transparent 38%),
    var(--panel);
}

.agree-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin: 20px 0;
  padding: 16px;

  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);

  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.5;

  cursor: pointer;
}

.agree-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.agree-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(120,185,255,.35);

  background: rgba(120,185,255,.18);
  color: white;

  font: inherit;
  font-weight: 900;
  cursor: pointer;

  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.agree-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(120,185,255,.26);
}

.agree-button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.agree-message {
  margin-top: 16px !important;
  color: #8bffb0 !important;
  font-weight: 900;
}

/* Footer */
footer {
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

footer a {
  color: white;
  font-weight: 900;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 760px) {
  .about-header {
    align-items: center;
    justify-content: space-between;
  }

  .about-page {
    padding: 58px 0 60px;
  }

  .hero-text {
    font-size: 17px;
  }

  .info-box {
    padding: 22px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}