@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
}

:root {
  color-scheme: dark;
  --ink: #08090a;
  --ink-2: #0b1013;
  --raised: #0e1417;
  --paper: #f2ece3;
  --muted: #a5a29a;
  --gold: #e2b58a;
  --gold-soft: #f7dfc8;
  --jade: #4fd39b;
  --line: rgba(226, 181, 138, .16);
  --line-strong: rgba(226, 181, 138, .34);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 76px);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 300 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 45% at 10% 6%, rgba(226, 181, 138, .10), transparent 70%),
    radial-gradient(52% 42% at 92% 20%, rgba(79, 211, 155, .06), transparent 72%),
    radial-gradient(70% 60% at 50% 108%, rgba(226, 181, 138, .07), transparent 70%);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: rgba(226, 181, 138, .3); color: var(--paper); }
html { scrollbar-color: rgba(226, 181, 138, .3) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(226, 181, 138, .26); border-radius: 99px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: rgba(226, 181, 138, .42); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.015em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.28rem, 1.9vw, 1.6rem); }
p { margin: 0; }
h2 { text-wrap: balance; }
.wrap { width: min(100% - var(--gutter) * 2, 1184px); margin-inline: auto; position: relative; z-index: 1; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; background: var(--ink); border: 1px solid var(--line-strong); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.menu-open,
.site-header.scrolled {
  background: rgba(6, 8, 10, .86);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { width: min(100% - clamp(28px, 6vw, 96px), 1360px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 22px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none;
  font: 500 1.42rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.brand img { flex: none; object-fit: contain; filter: drop-shadow(0 0 12px rgba(226, 181, 138, .35)); }
.header-inner nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.header-inner nav a {
  position: relative; padding: 6px 0; color: var(--muted); text-decoration: none;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: color .25s;
}
.header-inner nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.header-inner nav a:hover { color: var(--paper); }
.header-inner nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.live-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(8, 12, 15, .55);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); white-space: nowrap;
}
.live-pill i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--jade);
  box-shadow: 0 0 0 0 rgba(79, 211, 155, .65); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 211, 155, .6); }
  70% { box-shadow: 0 0 0 10px rgba(79, 211, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 211, 155, 0); }
}

.language { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 3px; flex: none; }
.language button {
  border: 0; padding: 4px 7px; background: transparent; color: var(--muted); cursor: pointer;
  font-size: .68rem; letter-spacing: .08em; border-radius: 2px; transition: background .2s, color .2s;
}
.language button[aria-pressed='true'] { color: #160f09; background: var(--gold); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--r);
  font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .22s, background .22s, border-color .22s, color .22s;
}
.btn-solid { background: linear-gradient(135deg, #ecc49b, #c98f61); color: #180f08; box-shadow: 0 14px 30px -18px rgba(226, 181, 138, .9); }
.btn-solid:hover { transform: translateY(-2px); background: linear-gradient(135deg, #f7dfc8, #d59b6b); }
.btn-line { border-color: var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--paper); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn.wide { width: 100%; }
.header-register { padding: 10px 18px; min-height: 40px; }
.header-discord {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted);
  text-decoration: none; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; transition: color .2s;
}
.header-discord:hover { color: var(--gold); }
.menu-toggle {
  display: none; padding: 7px 10px; border: 1px solid var(--line); border-radius: 3px;
  background: transparent; color: var(--paper); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: 92svh; overflow: hidden; background: #0a0c0e;
}
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hero-scene img, .hero-scene video {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%;
}
.hero-scene img { transform: scale(1.06); animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(-1.5%, -1.5%, 0); }
}
.hero-scene video { opacity: 0; transition: opacity 1.1s ease; }
.hero-scene video.has-frame { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .82) 0%, rgba(6, 8, 10, .26) 34%, rgba(6, 8, 10, .74) 76%, var(--ink) 100%),
    radial-gradient(78% 70% at 18% 62%, rgba(6, 8, 10, .62), transparent 72%);
}
.hero-caption {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  gap: 26px clamp(32px, 5vw, 72px); padding-block: 128px clamp(34px, 5vw, 58px);
}
.live-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 99px;
  background: rgba(8, 12, 15, .55); backdrop-filter: blur(8px);
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft);
}
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(79, 211, 155, .65); animation: pulse 2.4s infinite; }
.live-tag .live-div { width: 1px; height: 11px; background: var(--line-strong); }
.hero-copy h1 { margin-top: 0; text-wrap: balance; text-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.hero-text { max-width: 50ch; margin-top: 18px; color: #d7d2c8; font-size: clamp(.98rem, 1.3vw, 1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions .btn { min-height: 50px; padding: 13px 22px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(2, minmax(96px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; backdrop-filter: blur(8px); align-self: end;
}
.fact { padding: 15px 18px; background: rgba(6, 9, 12, .58); }
.fact b { display: block; font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1; color: var(--gold-soft); font-weight: 500; }
.fact b small { font-size: .46em; letter-spacing: .06em; margin-left: 2px; }
.fact span { display: block; margin-top: 6px; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(62px, 8vw, 108px); }
.two-column { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: 32px clamp(42px, 6vw, 92px); }
.section-heading h2 { margin-top: 14px; }
.section-heading > p:not(.eyebrow) { max-width: 43ch; margin-top: 16px; color: var(--muted); font-size: .96rem; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--gold);
  font-weight: 600; text-transform: uppercase; font-size: .64rem; letter-spacing: .26em;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--line-strong); }
.eyebrow span:first-child { color: var(--muted); }

.line-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.line-list article {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px;
  padding-block: 20px; border-bottom: 1px solid var(--line); transition: background .25s, padding-left .25s;
}
.line-list article:hover { background: linear-gradient(90deg, rgba(226, 181, 138, .07), transparent 72%); box-shadow: inset 2px 0 0 var(--gold); padding-left: 12px; }
.line-tag { padding-top: 3px; color: var(--gold); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.line-list h3 + p { margin-top: 6px; color: var(--muted); font-size: .93rem; }

.setup-band { background: linear-gradient(180deg, rgba(14, 20, 23, .9), rgba(8, 11, 13, .6)); border-block: 1px solid var(--line); }
.setup-band .two-column { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 20px 44px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  color: var(--gold); font: 500 1rem/1.5 var(--serif); letter-spacing: .1em;
}
.steps li::after {
  content: ''; position: absolute; left: 9px; top: 28px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}
.steps li:last-child::after { display: none; }
.steps a, .steps strong { font-weight: 500; }
.steps a { color: var(--paper); text-decoration-color: var(--line-strong); text-underline-offset: .22em; }
.steps a:hover { color: var(--gold); }
.steps p { max-width: 58ch; margin-top: 6px; color: var(--muted); font-size: .9rem; }

.download-panel {
  padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-top: 1px solid var(--line-strong);
  border-radius: var(--r); background: linear-gradient(165deg, rgba(22, 29, 33, .92), rgba(8, 11, 14, .94));
  box-shadow: 0 40px 90px -60px rgba(226, 181, 138, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.download-panel h3 { margin-top: 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.file-label {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px;
  padding-block: 12px; margin: 18px 0; border-block: 1px solid var(--line);
  color: var(--muted); font-size: .82rem; letter-spacing: .04em;
}
.download-panel .text-link { display: inline-block; margin-top: 14px; }
.small-note { margin-top: 10px; color: var(--muted); font-size: .8rem; }
.text-link { color: var(--gold); font-size: .85rem; text-underline-offset: .24em; }
.text-link:hover { color: var(--paper); }

.resource-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 18px 32px 18px 0; list-style: none; cursor: pointer;
  font-weight: 400; font-size: .98rem; transition: color .2s;
}
.faq-list summary:hover { color: var(--gold-soft); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 15px; color: var(--gold); font-size: 1.1rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 26px 18px 0; color: var(--muted); font-size: .93rem; }

.cta {
  padding-block: clamp(60px, 8vw, 100px); text-align: center;
  border-block: 1px solid var(--line);
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 130% at 50% 100%, rgba(226, 181, 138, .12), transparent 70%),
    linear-gradient(180deg, rgba(226, 181, 138, .05), transparent);
}
.cta h2 { text-wrap: balance; }
.cta p { max-width: 46ch; margin: 14px auto 0; color: var(--muted); }
.cta .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060708; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-block: 26px; }
.footer-inner .brand { font-size: 1.1rem; letter-spacing: .12em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-links a, .footer-link, .footer-note { color: var(--muted); font-size: .76rem; }
.footer-links a { text-underline-offset: .18em; }
.footer-link { padding: 0; border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.footer-link:hover, .footer-links a:hover { color: var(--gold); }

/* ---------- dialogs ---------- */
dialog {
  width: min(600px, 100% - 32px); max-height: calc(100% - 32px); padding: clamp(22px, 4vw, 34px);
  background: var(--raised); color: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r);
}
dialog::backdrop { background: rgba(3, 5, 7, .78); backdrop-filter: blur(4px); }
.dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
dialog h2 { font-size: 2rem; }
dialog p { margin-top: 15px; color: var(--muted); font-size: .93rem; }
dialog .btn { margin-top: 20px; }
.dialog-close {
  padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 1.25rem; line-height: 1.5;
}
.dialog-close:hover { color: var(--gold-soft); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .65, .25, 1), transform .8s cubic-bezier(.2, .65, .25, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
  .header-discord { display: none; }
}
@media (max-width: 1320px) {
  .header-inner nav { gap: 13px; }
  .header-inner nav a { font-size: .73rem; letter-spacing: .1em; }
}
@media (max-width: 1080px) {
  .header-inner nav { gap: 15px; }
  .header-actions { gap: 9px; }
  .header-inner nav a { font-size: .72rem; letter-spacing: .1em; }
  .hero-facts { grid-template-columns: repeat(2, minmax(88px, 1fr)); }
}
@media (max-width: 900px) {
  .hero-caption { grid-template-columns: 1fr; align-items: start; }
  .hero { min-height: 0; }
  .hero-caption { padding-block: 118px 44px; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .header-inner { position: relative; flex-wrap: wrap; min-height: 64px; gap: 8px 10px; padding-block: 8px; }
  .menu-ready .header-inner nav:not(.open) { display: none; }
  .menu-ready .header-inner nav {
    order: 4; width: 100%; flex-wrap: wrap; gap: 10px 20px;
    padding: 4px 0 12px; border-top: 1px solid var(--line);
  }
  .menu-ready .header-inner nav a { padding: 4px 0; }
  .menu-ready .menu-toggle { display: inline-flex; order: 3; width: 36px; height: 34px; padding: 0; align-items: center; justify-content: center; font-size: 0; }
  .menu-ready .menu-toggle::before { content: ''; width: 16px; height: 2px; border-radius: 1px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
  .header-inner .brand { font-size: 1rem; order: 1; }
  .header-inner .brand img { width: 28px; height: 28px; }
  .header-actions { order: 2; margin-left: auto; gap: 8px; }
  .header-actions .live-pill { display: none; }
  .header-register { padding: 9px 11px; font-size: .62rem; }
  .language { padding: 1px; }
  .language button { padding: 4px 6px; }
  .two-column, .setup-band .two-column { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p:not(.eyebrow) { max-width: 54ch; }
  .hero-caption { padding-block: 104px 38px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { justify-content: space-between; width: 100%; }
  .cta .hero-actions { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 1240px) {
  .header-actions .live-pill { display: none; }
}
/* ---------- vote band ---------- */
.vote-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(226, 181, 138, .05), transparent 60%), rgba(6, 9, 12, .6);
}
.vote-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 40px; align-items: center; padding-block: clamp(26px, 4vw, 42px); }
.vote-copy h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.vote-copy p:last-child { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.vote-copy b { color: var(--gold-soft); font-weight: 500; }
.vote-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.vote-form input { min-width: 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: rgba(12, 16, 19, .9); color: var(--paper); font: 300 .95rem/1.4 var(--sans); }
.vote-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 181, 138, .12); }
.vote-form .btn { white-space: nowrap; }
.vote-form .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.vote-status { grid-column: 1 / -1; min-height: 1.3em; margin-top: 4px; color: var(--gold-soft); font-size: .82rem; }
.vote-status.ok { color: var(--jade); }
.vote-status.err { color: #e08379; }

@media (max-width: 900px) {
  .vote-inner { grid-template-columns: 1fr; }
  .vote-form { grid-template-columns: 1fr; }
}

@media (max-width: 1150px) {
  .site-header .wrap { width: min(100% - 40px, 1360px); }
  .header-inner { flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding-block: 10px; }
  .header-inner .brand { order: 1; font-size: 1.08rem; }
  .header-actions { order: 2; margin-left: auto; gap: 8px; }
  .menu-ready .menu-toggle { display: inline-flex; order: 3; width: 36px; height: 34px; padding: 0; align-items: center; justify-content: center; font-size: 0; }
  .menu-ready .menu-toggle::before { content: ''; width: 16px; height: 2px; border-radius: 1px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
  .menu-ready .header-inner nav:not(.open) { display: none; }
  .menu-ready .header-inner nav { order: 4; width: 100%; flex-wrap: wrap; gap: 10px 22px; padding: 6px 0 12px; border-top: 1px solid var(--line); }
  .menu-ready .header-inner nav a { padding: 4px 0; font-size: .78rem; letter-spacing: .14em; }
}
@media (max-width: 400px) {
  .header-inner .brand { font-size: 0; gap: 0; }
  .header-inner .brand img { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
