:root {
  --bg: #07080f;
  --ink: #fff7ff;
  --muted: #c8b8d8;
  --panel: rgba(17, 18, 32, .72);
  --line: rgba(255,255,255,.16);
  --red: #ff3b4d;
  --orange: #ff9e18;
  --yellow: #fff54f;
  --green: #23d671;
  --blue: #2f7cff;
  --violet: #a641ff;
  --aqua: #5fffe0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,59,77,.22), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(47,124,255,.22), transparent 24rem),
    radial-gradient(circle at 52% 78%, rgba(166,65,255,.18), transparent 26rem),
    linear-gradient(135deg, #05050b 0%, #0e1020 52%, #05050b 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,59,77,.08), rgba(255,158,24,.07), rgba(255,245,79,.06), rgba(35,214,113,.07), rgba(47,124,255,.08), rgba(166,65,255,.08));
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 38px 38px;
}
.pride-ribbon { position: fixed; top: 0; left: 0; right: 0; height: 7px; display: grid; grid-template-columns: repeat(6,1fr); z-index: 30; }
.pride-ribbon span:nth-child(1){background:var(--red)} .pride-ribbon span:nth-child(2){background:var(--orange)} .pride-ribbon span:nth-child(3){background:var(--yellow)} .pride-ribbon span:nth-child(4){background:var(--green)} .pride-ribbon span:nth-child(5){background:var(--blue)} .pride-ribbon span:nth-child(6){background:var(--violet)}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; position: relative; z-index: 2; }
.nav {
  position: sticky; top: 16px; z-index: 20;
  width: min(1120px, calc(100% - 28px)); margin: 18px auto 0; padding: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(5,5,11,.72); backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
}
.brand { display:flex; align-items:center; gap:10px; font-weight:1000; letter-spacing:.03em; }
.logo-dot { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background: radial-gradient(circle, var(--aqua), #07100e 70%); color:#06100e; box-shadow:0 0 34px rgba(95,255,224,.45); }
.nav nav { display:flex; gap:4px; }
.nav a, .tiny { border:1px solid transparent; border-radius:999px; padding:10px 14px; color:var(--muted); font-size:13px; font-weight:900; background:transparent; }
.nav nav a:hover, .tiny:hover { color:var(--ink); border-color:var(--line); background:rgba(255,255,255,.06); }
.copy { cursor:pointer; }
.tiny { color: var(--aqua); background: rgba(95,255,224,.08); }
.hero { min-height: calc(100vh - 100px); display:grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); align-items:center; gap: clamp(24px,5vw,70px); padding: clamp(52px,8vw,96px) 0 62px; }
.eyebrow { margin:0 0 12px; color:var(--aqua); font-size:12px; font-weight:1000; letter-spacing:.18em; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:18px; font-size:clamp(58px,9.4vw,128px); line-height:.84; letter-spacing:-.08em; text-wrap:balance; }
h2 { margin-bottom:16px; font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.055em; text-wrap:balance; }
h3 { margin-bottom:10px; font-size:25px; letter-spacing:-.03em; }
.lead { max-width:650px; color:var(--muted); font-size:clamp(18px,2.1vw,24px); line-height:1.42; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 18px; }
.primary,.secondary { min-height:52px; border-radius:999px; padding:0 22px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); font-weight:1000; }
.primary { color:#08080f; background:linear-gradient(90deg,var(--red),var(--orange),var(--yellow),var(--green),var(--blue),var(--violet)); box-shadow:0 24px 70px rgba(166,65,255,.28); }
.secondary { color:var(--ink); background:rgba(255,255,255,.07); }
.chips { display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); }
.chips span { border:1px solid var(--line); border-radius:999px; padding:8px 12px; background:rgba(255,255,255,.045); font-size:13px; font-weight:900; }
.flag-card { position:relative; isolation:isolate; padding:16px; border:1px solid rgba(255,255,255,.22); border-radius:38px; background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.035)); box-shadow:0 32px 90px rgba(0,0,0,.52); transform:rotate(-1.5deg); }
.halo { position:absolute; inset:-30px; z-index:-1; filter:blur(20px); background: conic-gradient(from 90deg,var(--red),var(--orange),var(--yellow),var(--green),var(--blue),var(--violet),var(--red)); border-radius:46px; opacity:.35; animation:pulse 3.8s ease-in-out infinite; }
.flag-card img { width:100%; height:auto; display:block; border-radius:28px; background:#111; }
.card-footer { display:flex; justify-content:space-between; gap:12px; padding:14px 6px 2px; color:var(--muted); font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.card-footer strong { color:var(--ink); }
.section { padding:58px 0; scroll-margin-top:110px; }
.split { display:grid; grid-template-columns:.75fr 1fr; gap:22px; align-items:start; }
.thesis-card, .rules-grid article, .timeline div, .final { border:1px solid var(--line); border-radius:28px; background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035)); box-shadow:0 20px 70px rgba(0,0,0,.24); }
.thesis-card { padding:28px; color:var(--muted); font-size:20px; line-height:1.5; }
.thesis-card .punch { margin-bottom:0; color:var(--ink); font-weight:1000; }
.section-head { max-width:760px; margin-bottom:24px; }
.rules-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rules-grid article { padding:22px; min-height:250px; }
.rules-grid span { display:inline-flex; margin-bottom:38px; color:var(--aqua); font-weight:1000; letter-spacing:.12em; }
.rules-grid p, .timeline p, .final p { color:var(--muted); line-height:1.5; }
.timeline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.timeline div { padding:24px; }
.timeline b { display:grid; place-items:center; width:42px; height:42px; margin-bottom:30px; border-radius:50%; color:#08080f; background:var(--aqua); }
.timeline strong { display:block; margin-bottom:8px; font-size:26px; }
.final { margin-top:32px; margin-bottom:48px; padding:clamp(30px,5vw,58px); text-align:center; background:radial-gradient(circle at 50% 0%,rgba(95,255,224,.18),transparent 28rem),linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.035)); }
.final p { max-width:640px; margin:0 auto 22px; }
footer { display:flex; justify-content:space-between; gap:16px; padding:24px 0 42px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
footer span:first-child { color:var(--ink); font-weight:1000; }
.toast { position:fixed; left:50%; bottom:22px; z-index:40; transform:translate(-50%,18px); opacity:0; transition:.2s ease; border:1px solid var(--line); border-radius:999px; padding:12px 16px; background:rgba(5,5,11,.9); color:var(--ink); font-weight:900; }
.toast.show { opacity:1; transform:translate(-50%,0); }
@keyframes pulse { 0%,100%{opacity:.24; transform:scale(.98)} 50%{opacity:.42; transform:scale(1.02)} }
@media (max-width:880px){ .nav{border-radius:24px; align-items:flex-start}.nav nav{display:none}.hero,.split{grid-template-columns:1fr}.hero{min-height:auto;padding-top:46px}.flag-card{max-width:440px;margin:0 auto;transform:none}.rules-grid,.timeline{grid-template-columns:1fr}.rules-grid article{min-height:auto}.rules-grid span{margin-bottom:22px}footer{flex-direction:column} }
@media (max-width:520px){ .brand span:last-child{font-size:12px}.tiny{display:none}h1{font-size:clamp(58px,17vw,82px)}.actions .primary,.actions .secondary{width:100%}.card-footer{flex-direction:column} }
