/* bcc8333 — palette from the logo lockup (purple #4900F2 + orange #FF6400). */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(/fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }

:root {
  --bg: #0a0a0a;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: #2a2a30;
  --fg: #f5f5f5;
  --muted: #a5a5ad;
  --purple: #4900f2;
  --purple-text: #9d7bff;
  --orange: #ff6400;
  --orange-2: #ff7000;
  --radius: 14px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.small { font-size: .78rem; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.kicker { font: 700 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--orange); color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgb(10 10 10 / .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 1.05rem var(--display); }
.brand img { width: 52px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; transition: color .15s; }
.nav a:hover { color: var(--fg); }
.lang { display: flex; gap: 2px; font: 700 .75rem var(--mono); }
.lang a, .lang span { padding: 5px 7px; border-radius: 6px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--fg); background: var(--bg-3); }
.lang span { background: var(--fg); color: var(--bg); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Telegram announcement */
.announce { display: block; text-decoration: none; background: linear-gradient(90deg, var(--purple), #6a2bff 55%, var(--orange)); color: #fff; }
.announce-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 0; font-size: .92rem; text-align: center; }
.announce strong { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.announce:hover strong { text-decoration-thickness: 2px; }
@media (max-width: 560px) { .announce-in { font-size: .84rem; gap: 2px 8px; padding: 8px 0; } .announce-in > svg { display: none; } }

/* Hero */
.hero { min-height: calc(100svh - 106px); display: flex; align-items: center; overflow: hidden; padding-top: 48px; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgb(73 0 242 / .45), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: -30% auto auto -20%; width: 55vw; height: 55vw; background: radial-gradient(closest-side, rgb(255 100 0 / .22), transparent); pointer-events: none; }
.hex-field { position: absolute; inset: 0; opacity: .14; background-image: url(/img/hex.svg); mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.hero-in { position: relative; z-index: 1; }
.hero-title { font-size: clamp(3rem, 11vw, 8.6rem); line-height: .9; text-transform: uppercase; letter-spacing: -0.035em; margin-bottom: 28px; }
.hero-title span { display: block; }
.hero-title span:nth-child(2) { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.hero-title em { display: inline-block; font-style: normal; margin-top: 10px; background: linear-gradient(90deg, var(--purple-text), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: clamp(1.05rem, 2.4vw, 1.5rem); margin-bottom: 10px; }
.tbc { font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.dot { width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.hero-tag { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34ch; margin-bottom: 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 .98rem var(--body); text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #0a0a0a; }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border: 1px solid var(--line); background: rgb(255 255 255 / .03); }
.btn-ghost:hover { border-color: var(--muted); }

/* Whitepaper Day */
.wpd { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 100%); border-top: 1px solid var(--line); }
.wpd-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.wpd-copy p:not(.kicker) { color: var(--muted); max-width: 58ch; }
.wpd-copy .ctas { margin-top: 28px; }
.ticket { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: 28px; overflow: hidden; }
.ticket::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--purple), var(--orange)); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; }
.ticket-head .mono:first-child { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.ticket-head .small { color: var(--muted); }
.countdown { color: var(--orange); font-weight: 700; margin: 10px 0 18px; min-height: 1.6em; }
.ticket dl { margin: 0; border-top: 1px dashed var(--line); }
.ticket dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ticket dt { font: 700 .72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ticket dd { margin: 0; }
.ticket-foot { color: var(--muted); font-size: .72rem; margin: 18px 0 0; }
@media (max-width: 860px) { .wpd-grid { grid-template-columns: 1fr; } }
.tickets { margin-top: 48px; }
.tickets iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: var(--radius); background: #080808; }
@media (min-width: 861px) { .tickets iframe { height: 600px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about-grid p { color: var(--muted); }
blockquote { margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--purple); font: 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.3 var(--display); }
.pillars { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillars li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pillars .num { color: var(--purple-text); font-size: .8rem; }
.pillars h3 { margin: 14px 0 10px; }
.pillars p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .about-grid, .pillars { grid-template-columns: 1fr; } }

/* Recap */
.recap { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats { list-style: none; padding: 0; margin: 28px 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { padding: 26px 22px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1 var(--display); background: linear-gradient(90deg, var(--purple-text), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font: .85rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .stats li:nth-child(2) { border-right: 0; } .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.sub { font-size: 1rem; font-family: var(--mono); font-weight: 400; color: var(--muted); margin-bottom: 22px; letter-spacing: 0; }
.faces { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 18px 14px; }
.faces li { text-align: center; font-size: .78rem; color: var(--muted); line-height: 1.25; }
.faces img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 8px; filter: grayscale(1) contrast(1.05); transition: filter .25s; border: 2px solid var(--line); }
.faces li:hover img { filter: none; border-color: var(--orange); }
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.logos li { height: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; }
.logos a, .logos li > img { flex: 1; display: flex; align-items: center; justify-content: center; padding: 18px; }
.logos li > img { object-fit: contain; }
.logos img { max-height: 46px; max-width: 78%; object-fit: contain; }
.logos li.square img { max-height: 70px; }
.logos a { transition: background .15s; border-radius: var(--radius); }
.logos a:hover { background: var(--bg-3); }

/* Join */
.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards li { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgb(73 0 242 / .16), transparent 60%), var(--bg-2); }
.cards h3 { font-size: 1.6rem; margin-bottom: 12px; }
.cards p { color: var(--muted); flex: 1; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; text-decoration: none; word-break: break-all; }
.link:hover { text-decoration: underline; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-in img { width: 96px; margin-bottom: 12px; }
.foot-h { font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--fg); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; }
.social a:hover { border-color: var(--orange); color: var(--orange); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-base .lang { display: inline-flex; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
