@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #06060c;
  --card: rgba(255,255,255,0.035);
  --card-border: rgba(255,255,255,0.09);
  --text: #eef0fb;
  --body: #c7cbe3;
  --muted: #8a8fb0;
  --violet: #a78bfa;
  --cyan: #7de1fa;
  --green: #86efac;
  --amber: #fbbf6a;
  --red: #f8718c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--violet); }

.mono { font-family: 'JetBrains Mono', monospace; }

.bg-wrap {
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(167,139,250,0.14), transparent),
    radial-gradient(1000px 500px at 100% 10%, rgba(125,225,250,0.10), transparent),
    var(--bg);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px 120px; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding: 28px 0;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-brand span { font-weight: 800; letter-spacing: 3px; font-size: 16px; }
.nav-links { display: flex; gap: 28px; flex-wrap: wrap; }
.nav-links a { color: var(--body); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; }

.hero { padding: 56px 0 40px; }
.eyebrow { color: var(--cyan); font-size: 13px; letter-spacing: 4px; margin-bottom: 22px; }
h1 { font-size: 64px; line-height: 1.06; font-weight: 800; margin: 0 0 24px; max-width: 900px; }
.hero-sub { font-size: 26px; font-weight: 600; color: var(--red); margin-bottom: 28px; }
.hero-p { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 680px; margin: 0 0 36px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg,#a78bfa,#7de1fa); color: #06060c; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.16); color: var(--text); background: transparent; }

section { padding: 80px 0 20px; }
section:first-of-type { padding-top: 64px; }
.section-label { color: var(--muted); font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
h2 { font-size: 38px; font-weight: 800; margin: 0 0 36px; }

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; }

.status-rows { display: flex; flex-direction: column; gap: 14px; }
.status-row { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.status-row-name { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.status-row-detail { font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 620px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; border: 1px solid; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.safe { color: var(--green); background: rgba(134,239,172,0.08); border-color: var(--green); }
.testing { color: var(--amber); background: rgba(251,191,106,0.08); border-color: var(--amber); }
.classical { color: var(--red); background: rgba(248,113,140,0.08); border-color: var(--red); }

.note-card { margin-top: 24px; padding: 20px 26px; border-left: 3px solid var(--amber); }
.note-card p { font-size: 14.5px; color: var(--body); line-height: 1.6; margin: 0; }

.timeline { position: relative; padding-left: 28px; border-left: 2px solid rgba(255,255,255,0.1); }
.timeline-item { position: relative; margin-bottom: 34px; }
.timeline-dot { position: absolute; left: -34px; top: 4px; width: 10px; height: 10px; border-radius: 50%; }
.timeline-date { font-size: 13px; letter-spacing: 1px; margin-bottom: 4px; }
.timeline-title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.timeline-body { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 680px; }

.thesis-sub { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comp-card { padding: 30px; }
.comp-card.canton { border-color: rgba(125,225,250,0.25); }
.comp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.comp-head-title { font-weight: 800; font-size: 22px; }
.comp-head-tag { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.comp-row { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.comp-row-label { font-size: 11.5px; color: var(--muted); letter-spacing: 2px; margin-bottom: 6px; }
.comp-row-value { font-size: 16px; font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.glossary-card { padding: 22px; }
.glossary-term { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--violet); }
.glossary-def { font-size: 14px; color: var(--body); line-height: 1.6; }

.sources-p { color: var(--muted); font-size: 15px; margin: 0 0 30px; max-width: 640px; line-height: 1.6; }
.sources-list { display: flex; flex-direction: column; gap: 10px; }
.source-row { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.source-title { color: var(--text); font-size: 14.5px; font-weight: 500; }
.source-domain { color: var(--cyan); font-size: 12.5px; }

footer { padding: 90px 0 0; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 70px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; padding-top: 50px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.footer-brand span { font-weight: 800; letter-spacing: 3px; font-size: 15px; }
.footer-p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 420px; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-meta-label { font-size: 12px; letter-spacing: 2px; color: #5a5f7a; }
.footer-bottom { padding: 30px 0 10px; color: #5a5f7a; font-size: 12.5px; }

@media (max-width: 760px) {
  .hide-mobile { display: none !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  h1 { font-size: 40px !important; }
  h2 { font-size: 30px !important; }
}
