:root {
  color-scheme: dark;
  --ink: #07090b;
  --ink-soft: #0d1115;
  --panel: rgba(11, 15, 19, 0.84);
  --paper: #e9e9e3;
  --muted: #8c959d;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.25);
  --acid: #d7ff45;
  --cyan: #8fe9ff;
  --orange: #f5a044;
  --red: #ff635f;
  --wrap: min(1180px, calc(100vw - 48px));
  --font-display: "Bahnschrift", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-ui: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: #f4f5f2;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--acid); color: #080a0c; padding: .8rem 1rem; font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent; transition: .3s ease;
}
.topbar.scrolled { height: 68px; background: rgba(7, 9, 11, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
  width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #65717b;
  background: var(--acid); color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand-copy { display: grid; line-height: 1; letter-spacing: .1em; }
.brand-copy strong { font-family: var(--font-display); font-size: .95rem; }
.brand-copy span { color: var(--muted); font-size: .58rem; letter-spacing: .28em; margin-top: 5px; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a { color: #c0c5c8; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.desktop-nav a:hover { color: var(--acid); }
.discord-button {
  justify-self: end; height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px;
  border: 1px solid var(--line-strong); background: rgba(5, 8, 10, .52); cursor: pointer;
  font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
}
.discord-button svg { width: 18px; stroke: none; fill: #cbd0d4; }
.discord-button small { color: var(--acid); font-size: .57rem; padding-left: 8px; border-left: 1px solid var(--line); }
.menu-button { display: none; background: transparent; border: 0; padding: 10px 0 10px 14px; }
.menu-button span { display: block; width: 24px; height: 1px; background: white; margin: 6px 0; transition: .2s; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 790px; height: 100svh; max-height: 970px; overflow: hidden; background: #0a0c0f; }
.hero-media, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; filter: saturate(.75) contrast(1.06); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(6,8,10,.98) 0%, rgba(6,8,10,.88) 28%, rgba(6,8,10,.25) 65%, rgba(6,8,10,.48) 100%),
    linear-gradient(0deg, #07090b 0%, transparent 24%, rgba(5,7,9,.15) 75%, rgba(5,7,9,.62) 100%);
}
.hero-grid {
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .72fr); gap: 8vw; align-items: center; padding-top: 62px; }
.hero-copy { max-width: 720px; }
.eyebrow, .section-label {
  margin: 0 0 22px; color: #a7afb5; font-size: .69rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
}
.eyebrow span { color: var(--acid); }
.hero h1 {
  margin: 0; max-width: 760px; font-family: var(--font-display); font-size: clamp(4rem, 6.7vw, 7.7rem); line-height: .83;
  letter-spacing: -.055em; text-transform: uppercase; font-weight: 900;
}
.hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.73); font-style: normal; }
.hero-lead { max-width: 580px; margin: 29px 0 0; color: #bbc1c4; font-size: 1.05rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 36px; }
.download-button {
  position: relative; min-width: 282px; height: 70px; padding: 0 18px 0 0; display: grid; grid-template-columns: 64px 1fr auto; align-items: center;
  border: 0; background: var(--acid); color: #080b0d; cursor: pointer; text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%);
  transition: transform .2s ease, filter .2s ease;
}
.download-button:hover { transform: translateY(-3px); filter: brightness(1.06); }
.download-button:active { transform: translateY(0); }
.download-icon { width: 64px; height: 100%; display: grid; place-items: center; border-right: 1px solid rgba(7,9,11,.18); }
.download-icon svg { width: 23px; }
.download-copy { display: grid; padding-left: 17px; }
.download-copy strong { font-family: var(--font-display); font-size: .88rem; letter-spacing: .08em; }
.download-copy small { color: rgba(7,9,11,.62); font-size: .67rem; margin-top: 3px; }
.download-arrow { font-size: 1.15rem; padding-left: 14px; }
.text-link { padding: 10px 0; border-bottom: 1px solid var(--line-strong); color: #d2d5d6; font-size: .78rem; font-weight: 750; letter-spacing: .04em; }
.text-link span { color: var(--acid); margin-left: 8px; }
.trust-row { display: flex; gap: 24px; margin-top: 22px; color: #7f888f; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; color: #aab2b8; }

.status-panel {
  align-self: end; margin-bottom: 112px; min-width: 0; padding: 24px 24px 20px;
  background: linear-gradient(145deg, rgba(13,18,22,.94), rgba(6,9,11,.84)); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); box-shadow: 0 24px 80px rgba(0,0,0,.4);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.status-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.status-kicker, .data-mode { color: #7f8b94; font-family: var(--font-display); font-size: .61rem; font-weight: 700; letter-spacing: .18em; }
.data-mode { color: var(--orange); padding: 4px 7px; border: 1px solid rgba(245,160,68,.35); letter-spacing: .1em; }
.status-heading { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 20px; }
.status-heading p { color: #8d969d; margin: 0 0 5px; font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.status-heading h2 { margin: 0; font-family: var(--font-display); font-size: 1.65rem; letter-spacing: -.02em; text-transform: uppercase; }
.status-pulse { position: relative; width: 42px; height: 42px; display: grid; place-items: center; }
.status-pulse::before, .status-pulse::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(215,255,69,.25); border-radius: 50%; animation: pulse 2s ease-out infinite; }
.status-pulse::after { animation-delay: 1s; }
.status-pulse i { width: 10px; height: 10px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 16px var(--acid); }
.status-pulse.offline::before, .status-pulse.offline::after { border-color: rgba(255,99,95,.25); }
.status-pulse.offline i { background: var(--red); box-shadow: 0 0 16px var(--red); }
@keyframes pulse { from { transform: scale(.45); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.server-address { padding: 14px 15px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.server-address > span, .status-metrics span { display: block; color: #707b83; font-size: .57rem; font-weight: 750; letter-spacing: .16em; }
.server-address button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 5px 0 0; border: 0; background: none; cursor: pointer; text-align: left; }
.server-address strong { color: #dce0e0; font-family: var(--font-display); font-size: .92rem; letter-spacing: .04em; }
.server-address svg { width: 17px; color: #89939a; }
.status-metrics { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1px; margin-top: 18px; background: var(--line); }
.status-metrics > div { min-width: 0; background: #0a0e11; padding: 12px 11px; }
.status-metrics strong { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 1.04rem; white-space: nowrap; }
.status-metrics strong small { color: #69747c; font-size: .7rem; font-weight: 500; }
.status-rail { height: 3px; background: rgba(255,255,255,.08); margin-top: 18px; overflow: hidden; }
.status-rail span { display: block; height: 100%; width: 0; background: var(--acid); transition: width .7s ease; }
.status-note { margin: 9px 0 0; color: #6f7980; font-size: .62rem; letter-spacing: .04em; }
.hero-foot { position: absolute; z-index: 2; bottom: 31px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; color: #626c73; font-size: .57rem; font-weight: 700; letter-spacing: .18em; }
.hero-line { flex: 1; height: 1px; background: var(--line); }

.manifesto { background: var(--paper); color: #111518; padding: 120px 0; }
.manifesto-grid { display: grid; grid-template-columns: .45fr 1.35fr .75fr; gap: 5vw; align-items: start; }
.section-index { color: #7c8385; font-family: var(--font-display); font-size: .65rem; font-weight: 700; letter-spacing: .17em; padding-top: 8px; }
.manifesto .section-label { color: #6b7477; }
.manifesto-copy h2, .section-head h2, .onboarding h2 { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: -.04em; }
.manifesto-copy h2 { font-size: clamp(2.8rem, 4.5vw, 5.2rem); line-height: .95; }
.manifesto-copy h2 span { color: #667075; }
.manifesto-copy > p:last-child { max-width: 640px; color: #545c5f; margin: 31px 0 0; font-size: 1.02rem; line-height: 1.75; }
.world-stats { border-top: 1px solid #c7cac7; }
.world-stats > div { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 15px; padding: 19px 0; border-bottom: 1px solid #c7cac7; }
.world-stats strong { color: #878e8f; font-family: var(--font-display); font-size: .66rem; }
.world-stats span { font-family: var(--font-display); font-size: .85rem; font-weight: 700; text-transform: uppercase; }

.announcements { padding-block: 122px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 47px; }
.section-head .section-label { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(3rem, 5vw, 5.5rem); line-height: .9; }
.section-head > a { color: #a2abb1; border-bottom: 1px solid var(--line-strong); padding: 8px 0; font-size: .67rem; font-weight: 750; letter-spacing: .1em; }
.section-head > a span { color: var(--acid); margin-left: 8px; }
.announcement-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.announcement-featured { min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px 30px 31px; background: #11161a; border: 1px solid var(--line); position: relative; overflow: hidden; }
.announcement-featured::after { content: "N"; position: absolute; right: -18px; bottom: -112px; color: rgba(255,255,255,.025); font-family: var(--font-display); font-size: 28rem; font-weight: 900; line-height: 1; pointer-events: none; }
.card-meta { display: flex; justify-content: space-between; align-items: center; color: #69757d; font-size: .6rem; font-weight: 750; letter-spacing: .13em; }
.card-meta span { color: var(--acid); }
.card-number { color: #67727a; font-family: var(--font-display); font-size: .63rem; letter-spacing: .15em; }
.announcement-featured h3 { max-width: 560px; margin: 16px 0; font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3.9rem); line-height: .96; letter-spacing: -.04em; text-transform: uppercase; }
.announcement-featured > div:last-child > p:not(.card-number) { max-width: 510px; color: #8f999f; margin: 0 0 25px; }
.announcement-featured a { position: relative; z-index: 1; display: inline-block; color: #d8ddde; font-size: .67rem; font-weight: 750; letter-spacing: .12em; }
.announcement-featured a span { color: var(--acid); margin-left: 8px; }
.announcement-list { display: grid; gap: 18px; }
.announcement-list article { position: relative; min-height: 211px; padding: 26px 28px; border: 1px solid var(--line); background: #0b0f12; transition: border-color .2s, transform .2s; }
.announcement-list article:hover { border-color: rgba(215,255,69,.35); transform: translateX(3px); }
.announcement-list h3 { max-width: 380px; margin: 49px 0 7px; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.announcement-list p { max-width: 390px; margin: 0; color: #78838a; font-size: .83rem; }
.article-arrow { position: absolute; right: 26px; bottom: 26px; color: #566169; }

.onboarding { background: var(--acid); color: #0a0d0f; padding: 112px 0 0; }
.section-head.light .section-label { color: #4f5b32; }
.protocol-code { font-family: var(--font-display); font-size: .67rem; font-weight: 800; letter-spacing: .16em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(10,13,15,.3); }
.steps li { position: relative; min-height: 320px; padding: 29px 40px 38px 0; border-right: 1px solid rgba(10,13,15,.23); }
.steps li + li { padding-left: 40px; }
.steps li:last-child { border-right: 0; }
.step-number { font-family: var(--font-display); font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-top: 48px; border: 1px solid rgba(10,13,15,.4); }
.step-icon svg { width: 22px; }
.steps h3 { margin: 25px 0 10px; font-family: var(--font-display); font-size: 1.45rem; text-transform: uppercase; }
.steps p { max-width: 300px; margin: 0; color: #3e452a; font-size: .89rem; line-height: 1.65; }
.final-cta { min-height: 182px; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; border-top: 1px solid rgba(10,13,15,.28); }
.final-cta > div > span { font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 4rem); }
.download-button.dark { background: #0a0d0f; color: #f5f7ed; }
.download-button.dark .download-icon { border-color: rgba(255,255,255,.12); }
.download-button.dark .download-copy small { color: #727b80; }

footer { padding: 48px 0 34px; background: #06080a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; }
.footer-grid > p { color: #687178; font-size: .67rem; line-height: 1.6; text-align: center; }
.footer-links { display: flex; gap: 20px; color: #a8aeb2; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; color: #4e575d; font-size: .58rem; letter-spacing: .12em; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; min-width: 280px; padding: 15px 18px; background: #eff0e9; color: #111517; box-shadow: 0 18px 60px rgba(0,0,0,.4); transform: translateY(140%); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > span { width: 26px; height: 26px; display: grid; place-items: center; background: var(--acid); font-size: .75rem; font-weight: 900; }
.toast p { margin: 0; font-size: .78rem; font-weight: 650; }

[data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero { min-height: 900px; height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; align-content: center; padding-block: 140px 110px; }
  .hero-copy { max-width: 740px; }
  .status-panel { width: min(540px, 100%); align-self: auto; margin: 0; }
  .hero-media img { object-position: 65% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,8,10,.97), rgba(6,8,10,.5)), linear-gradient(0deg, #07090b, transparent 30%); }
  .manifesto-grid { grid-template-columns: .25fr 1fr; }
  .world-stats { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { grid-column: 1 / -1; grid-row: 2; text-align: left; max-width: 580px; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 34px, 1180px); }
  .topbar { height: 70px; padding: 0 17px; }
  .topbar .discord-button { display: none; }
  .menu-button { display: block; }
  .menu-button.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 45; inset: 0; padding: 110px 24px 40px; display: flex; flex-direction: column; gap: 0; background: rgba(7,9,11,.98); transform: translateX(100%); transition: .3s ease; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
  .mobile-nav button { display: flex; justify-content: space-between; margin-top: 28px; padding: 16px; border: 1px solid var(--line-strong); background: transparent; text-transform: uppercase; font-size: .75rem; font-weight: 800; }
  .mobile-nav button span { color: var(--acid); }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 880px; }
  .hero-content { padding-block: 120px 93px; gap: 42px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 5.3rem); line-height: .88; }
  .hero h1 br { display: none; }
  .hero-lead { font-size: .92rem; margin-top: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 28px; }
  .download-button { width: 100%; min-width: 0; }
  .text-link { width: max-content; }
  .trust-row { flex-direction: column; gap: 9px; }
  .status-panel { padding: 19px 17px 17px; }
  .status-heading { padding: 19px 0 17px; }
  .status-heading h2 { font-size: 1.35rem; }
  .status-metrics { grid-template-columns: 1.2fr 1fr 1fr; }
  .status-metrics > div { padding-inline: 7px; }
  .status-metrics strong { font-size: .9rem; }
  .hero-foot { bottom: 21px; }
  .manifesto { padding: 80px 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .manifesto-copy h2 { font-size: 2.7rem; }
  .world-stats { grid-column: 1; }
  .announcements { padding-block: 82px; }
  .section-head { align-items: start; gap: 28px; }
  .section-head > a { white-space: nowrap; }
  .section-head h2 { font-size: 3rem; }
  .announcement-grid { grid-template-columns: 1fr; }
  .announcement-featured { min-height: 410px; padding: 22px; }
  .announcement-list h3 { margin-top: 42px; }
  .onboarding { padding-top: 79px; }
  .protocol-code { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: 0; padding: 28px 0 35px; border-right: 0; border-bottom: 1px solid rgba(10,13,15,.23); }
  .step-icon { margin-top: 26px; }
  .steps p { max-width: 420px; }
  .final-cta { align-items: stretch; flex-direction: column; gap: 30px; padding: 47px 0 55px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
  .toast { left: 17px; right: 17px; bottom: 17px; min-width: 0; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .hero-content { padding-top: 105px; }
  .hero h1 { font-size: 3.08rem; }
  .eyebrow { letter-spacing: .14em; }
  .status-metrics span { letter-spacing: .08em; }
  .section-head > a { display: none; }
}
