:root {
  --bg: #05070f;
  --bg-2: #0a0f22;
  --card: rgba(13, 17, 32, 0.78);
  --card-solid: #0d1120;
  --line: rgba(120, 140, 220, 0.14);
  --grid: rgba(120, 140, 220, 0.06);
  --text: #eef1f8;
  --muted: #8d97b5;
  --blue: #6d8bff;
  --gold: #f5c542;
  --gold-ink: #1d1500;
  --good: #3ecf8e;
  --bad: #ff6b6b;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.55 var(--sans); background: transparent; position: relative; }
html {
  background:
    radial-gradient(1200px 600px at 80% 110%, rgba(40, 70, 220, .22), transparent 60%),
    var(--bg);
}
.hero-bg {
  position: absolute; inset: 0 0 auto 0; height: min(980px, 100vh); z-index: -1;
  background: url("/assets/hero.jpg") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,15,.82) 0%, rgba(5,7,15,.45) 40%, transparent 70%), linear-gradient(to bottom, rgba(5,7,15,.55), rgba(5,7,15,.1) 40%, rgba(5,7,15,.35)); }
@media (min-width: 900px) { .hero-bg { background-position: 72% bottom; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.blue { color: var(--blue); }
.gold { color: var(--gold); }
.hidden { display: none !important; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 16px var(--blue); }
.top-right { display: flex; align-items: center; gap: 14px; }
.pill { font-size: 12px; letter-spacing: .22em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; background: rgba(10, 15, 34, .6); }
.who { font-size: 14px; color: var(--muted); white-space: nowrap; }
.who a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .hide-sm { display: none; } }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 72px; }
.eyebrow { font-size: 13px; letter-spacing: .28em; color: var(--blue); margin: 0 0 18px; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
h1 { font-size: clamp(52px, 10vw, 120px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0; text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
h1 .gold { background: linear-gradient(180deg, #ffe089, var(--gold) 55%, #d99a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 620px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; color: #b3bde0; margin: 26px 0 40px; }
h2, h3 { letter-spacing: -.02em; margin: 0 0 10px; }
h3 { font-size: 22px; line-height: 1.25; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.label { font-size: 11px; letter-spacing: .2em; color: var(--muted); margin: 0 0 8px; display: block; }
.value { font-size: clamp(24px, 3.6vw, 34px); font-weight: 500; margin: 0; letter-spacing: -.01em; white-space: nowrap; }
.value small { font-size: .5em; color: var(--muted); }
.stat:first-child .value { color: var(--gold); }
.note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stat:first-child { grid-column: 1 / -1; } }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 18px 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-head .eyebrow { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split .card { margin: 0; }
.split + .card, .card + .split { margin-top: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 4px 0 18px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 10px 0; font-size: 19px; }
.steps li::before { content: counter(s); flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(109, 139, 255, .08); color: var(--blue); font: 500 15px var(--mono); }
.steps a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(109, 139, 255, .5); }
.steps a:hover { color: var(--blue); }

/* Forms */
input { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 7, 15, .7); color: var(--text); font: 14px var(--mono); }
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(109, 139, 255, .18); }
label.label { margin-top: 16px; }
.btn { display: inline-block; margin-top: 14px; padding: 12px 22px; border-radius: 999px; border: 0; background: #f4f5f8; color: #0a0d18; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(109, 139, 255, .25); }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.gold-btn { background: linear-gradient(180deg, #ffd96a, var(--gold)); color: var(--gold-ink); box-shadow: 0 0 0 1px rgba(245, 197, 66, .4), 0 10px 40px rgba(245, 197, 66, .25); }
.btn.big { width: 100%; padding: 18px; font-size: 18px; font-weight: 700; }

/* Claim */
.claim { border-color: rgba(245, 197, 66, .55); background: linear-gradient(180deg, rgba(60, 45, 8, .55), var(--card)); box-shadow: 0 0 80px rgba(245, 197, 66, .12); }
.claim-title { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; }
#winprize { color: var(--gold); }
.timer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 14px 0 0; }
.timer .label { margin: 0; }
.timer strong { font-size: 22px; color: var(--gold); font-weight: 500; }
.alert { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--bad); color: var(--bad); background: rgba(255, 107, 107, .06); margin: 18px 0; }
.alert.ok { border-color: var(--good); color: var(--good); background: rgba(62, 207, 142, .06); }

/* Table */
.tablewrap { overflow-x: auto; margin: 0 -6px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
td a { color: var(--blue); text-decoration: none; }
td a:hover { text-decoration: underline; }
.pill-s { font: 500 11px var(--mono); letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill-s.paid { color: var(--good); border-color: rgba(62, 207, 142, .45); }
.pill-s.open { color: var(--gold); border-color: rgba(245, 197, 66, .45); }

/* Fairness / join */
.commit { color: var(--muted); word-break: break-all; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; margin: 16px 0 10px; }
.commit span { color: var(--text); }
code { font-family: var(--mono); font-size: 12px; color: #c9d1f0; word-break: break-all; }
.join { background: radial-gradient(500px 220px at 100% 0%, rgba(109, 139, 255, .2), transparent 70%), var(--card); }

/* Footer */
.foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 24px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; padding-bottom: 56px; }
.domain { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; color: var(--text); text-decoration: none; }
.arrow { color: var(--blue); }
.built { font-size: 13px; letter-spacing: .3em; color: var(--muted); margin: 0; }
.fine { grid-column: 1 / -1; font-size: 12px; color: #5f6886; margin: 0; }
@media (max-width: 620px) { .foot { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hero-bg { background-image: url("/assets/hero-1200.jpg"); height: 760px; } }

/* Footer links, rules page */
.foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; letter-spacing: .18em; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.fine a { color: #8d97b5; }
.support-line { margin: 14px 0 0; }
.rules { padding-top: 32px; }
.rules-title { font-size: clamp(44px, 8vw, 88px); }
.rules .lede { font-size: 16px; text-transform: none; max-width: 760px; }
.rules h2 { font-size: 22px; margin-bottom: 12px; }
.rules ul, .rules ol { padding-left: 20px; margin: 0; }
.rules li { margin: 8px 0; color: #c6cde6; }
.rules p { color: #c6cde6; }
.rules a { color: var(--blue); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 18px; letter-spacing: .08em; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
section[id] { scroll-margin-top: 16px; }
.rules p.eyebrow { color: var(--blue); }
.top-right a.pill { text-decoration: none; }

/* Eligibility checker */
.checkhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.incount { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: 0 0 auto; }
.incount strong { font-size: clamp(28px, 4vw, 40px); font-weight: 500; color: var(--gold); line-height: 1; }
@media (max-width: 520px) { .checkhead { flex-direction: column; } .incount { align-items: flex-start; text-align: left; } }
.checkrow { display: flex; gap: 10px; margin-top: 8px; }
.checkrow input { flex: 1; }
.checkrow .btn { margin-top: 0; }
.checkresult { margin-top: 18px; }
.sharebox { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 12px 0 4px; padding: 14px 16px; border-radius: 14px;
  background: rgba(245, 197, 66, .08); border: 1px solid rgba(245, 197, 66, .35); }
.sharebox p { margin: 0; font-size: 14px; color: var(--text); }
.sharebox .sharebtn { margin-top: 0; background: linear-gradient(180deg, #ffe089, #f5c542 55%, #d99a1a); color: #1a1205; white-space: nowrap; }
.verdict { font-weight: 600; font-size: 17px; margin: 0 0 10px; }
.verdict.good, .good { color: var(--good); }
.verdict.bad, .bad { color: var(--bad); }
.checks { list-style: none; padding: 0; margin: 0 0 12px; }
.checks li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .mark { flex: 0 0 22px; font-weight: 700; }
.checks .pass .mark { color: var(--good); }
.checks .fail .mark { color: var(--bad); }
.checks .pass strong { color: var(--muted); font-weight: 500; }
.checks .why { color: #c6cde6; font-size: 14px; }

/* Animated hero: the still image stays underneath as poster/fallback */
.hero-bg { overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
@media (min-width: 900px) { .hero-video { object-position: 72% bottom; } }
.hero-bg::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }


/* Tighter header → hero */
.top { padding-bottom: 8px; }
.hero { padding-top: 16px; }
@media (max-width: 760px) { .hero { padding-top: 8px; } }

/* Four stat bubbles; price card with sparkline */
.stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; } .stat:first-child { grid-column: auto; } }
.price-stat .label { display: flex; justify-content: space-between; align-items: center; }
.chartlink { color: var(--muted); text-decoration: none; font-size: 13px; }
.chartlink:hover { color: var(--text); }
.spark { position: relative; height: 38px; margin: 8px 0 0; cursor: crosshair; touch-action: pan-y; }
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.spark .tip { position: absolute; top: -30px; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font: 500 11px var(--mono); color: var(--text); background: #0a0f22; border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; }
.up { color: var(--good); }
.down { color: var(--bad); }

/* Fixed, brighter background: the loop stays put while content scrolls over it */
.hero-bg { position: fixed; inset: 0; height: 100vh; height: 100lvh; z-index: -1; -webkit-mask-image: none; mask-image: none; background-image: url("/assets/hero-poster.jpg"); background-position: center bottom; }
.hero-video { filter: brightness(1.18) saturate(1.12); }
.hero-bg::after { background:
  linear-gradient(90deg, rgba(5,7,15,.55) 0%, rgba(5,7,15,.22) 45%, rgba(5,7,15,0) 70%),
  linear-gradient(to bottom, rgba(5,7,15,.35) 0%, rgba(5,7,15,0) 30%); }
@media (max-width: 760px) { .hero-bg { height: 100vh; height: 100lvh; background-image: url("/assets/hero-poster.jpg"); } }
:root { --card: rgba(13, 17, 32, 0.6); }
.card, .stat { backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.claim { background: linear-gradient(180deg, rgba(60, 45, 8, .55), rgba(13, 17, 32, .6)); }

/* Footer on its own frosted panel so it reads over the bright globe */
.foot { background: rgba(8, 11, 24, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-top: 48px; margin-bottom: 32px; }
.foot .built, .foot-links a { color: #aeb7d6; }
.fine { color: #9aa3c2; line-height: 1.6; }
.fine a { color: #c6cde6; }
@media (max-width: 1160px) { .foot { margin-left: 16px; margin-right: 16px; } }
@media (min-width: 1161px) { .foot { max-width: 1088px; } }

/* Tall poster/fallback for phones and portrait screens */
@media (max-aspect-ratio: 4/5), (max-width: 760px) { .hero-bg { background-image: url("/assets/hero-poster-m.jpg"); background-position: center bottom; } .hero-video { object-position: center bottom; } }
.lede, .eyebrow { text-shadow: 0 1px 2px rgba(5,7,15,.9), 0 0 18px rgba(5,7,15,.85); }

/* ───────────── Sidiora Labs look: black, electric cobalt, white grotesk, light panels ───────────── */
:root {
  --bg: #000; --bg-2: #05060c;
  --blue: #3d6bff; --blue-2: #1f4bff; --blue-3: #8fa8ff; --blue-tint: #dfe6ff;
  --card: rgba(6, 8, 18, .72); --card-solid: #06070f;
  --line: rgba(80, 112, 255, .22);
  --text: #f5f7ff; --muted: #8e98bd;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --gold: var(--blue); --gold-ink: #fff;
}
html { background: #000; }
body { font-family: var(--sans); }
h1, h2, h3, .brand, .domain, .claim-title { font-family: var(--display); }
h1 { font-weight: 600; letter-spacing: -.05em; line-height: .95; text-shadow: none; }
h1 .gold, .gold { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--blue); }
h1 .gold { color: var(--blue); }
h1 .dotb { color: var(--blue); }
.lede { color: #c3cbe8; text-shadow: none; }
.eyebrow { color: var(--blue-3); letter-spacing: .32em; font-size: 12px; display: inline-flex; align-items: center; gap: 10px; text-shadow: none; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); flex: 0 0 auto; }
.eyebrow::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.dot { background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.pill { background: rgba(0, 0, 0, .55); border-color: var(--line); color: var(--blue-3); }

/* Background art: still image, fixed, darkened on the text side */
.hero-video { filter: none; object-position: right center; }
@media (max-aspect-ratio: 4/5), (max-width: 760px) { .hero-video { object-position: center bottom; } }
.hero-bg { background-color: #000; background-image: url("/assets/sid-hero.jpg"); background-size: cover; background-position: 70% center; }
.hero-bg::after { background:
  linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,0) 65%),
  linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.35)); }
@media (max-aspect-ratio: 4/5), (max-width: 760px) {
  .hero-bg { background-image: url("/assets/sid-hero-m.jpg"); background-position: center bottom; }
  .hero-bg::after { background: linear-gradient(to bottom, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 80%); }
}

/* Panels: dark glass by default; the prize and claim panels are light, like the project cards */
.card, .stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.stat:first-child { background: #fff; border-color: #fff; color: #05060c; }
.stat:first-child .label { color: #3b4466; }
.stat:first-child .value { color: var(--blue-2); }
.stat:first-child .value small, .stat:first-child .note { color: #59618a; }
.label { letter-spacing: .24em; }
.value { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; }
.join { background: radial-gradient(520px 240px at 100% 0%, rgba(31, 75, 255, .28), transparent 70%), var(--card); }

/* Steps as outlined blue pills */
.steps li::before { border-color: var(--blue); background: rgba(31, 75, 255, .12); color: #fff; }
.steps a { border-bottom-color: var(--blue); }

/* Buttons: white pill with arrow; primary actions in electric blue */
.btn { background: #fff; color: #05060c; border-radius: 999px; font-weight: 600; }
.btn:hover { box-shadow: 0 8px 28px rgba(31, 75, 255, .45); }
.gold-btn, .sharebox .sharebtn { background: var(--blue-2); color: #fff; box-shadow: 0 0 0 1px rgba(143, 168, 255, .35), 0 10px 36px rgba(31, 75, 255, .45); }
.gold-btn:hover, .sharebox .sharebtn:hover { background: var(--blue); }
input { background: rgba(0, 0, 0, .65); border-color: var(--line); }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 107, 255, .25); }

/* Claim: light panel */
.claim { background: #fff; color: #05060c; border-color: #fff; box-shadow: 0 0 80px rgba(31, 75, 255, .25); }
.claim .eyebrow { color: var(--blue-2); }
.claim .muted, .claim .label, .claim .support-line { color: #59618a; }
.claim input { background: #f2f4ff; color: #05060c; border-color: #cfd8ff; }
#winprize, .timer strong { color: var(--blue-2); }
.claim .support-link { color: var(--blue-2); }

/* Accents formerly gold */
.pill-s.open { color: var(--blue-3); border-color: var(--line); }
.incount strong { color: var(--blue); font-family: var(--display); font-weight: 600; }
.sharebox { background: rgba(31, 75, 255, .1); border-color: rgba(61, 107, 255, .45); }
td a, .rules a, .blue { color: var(--blue-3); }
.commit { border-color: var(--line); }

/* Footer */
.foot { background: rgba(3, 4, 10, .88); border-color: var(--line); }
.arrow { color: var(--blue); }
.built { color: var(--muted); }
.lede, .eyebrow { text-shadow: 0 1px 2px rgba(0,0,0,.8); }
h1 { letter-spacing: -.035em; }
@media (min-width: 761px) { .hero-bg { background-position: right center; } }
h1 .blue, .rules-title .blue { color: var(--blue); }
@media (min-width: 761px) { .hero-bg::after { background:
  linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.1) 72%),
  linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,0) 30%, rgba(0,0,0,.4)); } }
@media (min-width: 761px) { .hero-bg::after { background:
  linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.86) 46%, rgba(0,0,0,.25) 70%, rgba(0,0,0,0) 85%),
  linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,0) 30%, rgba(0,0,0,.45)); } }
