@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/spacegrotesk.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-soft: #0a0b0f;
  --surface: #0e1015;
  --surface-2: #13161d;
  --surface-3: #191d26;
  --text: #eceff5;
  --text-soft: #bcc2ce;
  --muted: #7f8798;
  --muted-2: #565d6d;
  --border: #1b1e26;
  --border-strong: #2a2e3a;
  --accent: #8fa2c0;
  --accent-soft: #b4c2d8;
  --blurple: #5865f2;
  --success: #3ba55d;
  --warning: #d99e3f;
  --danger: #d9534f;
  --shell: 1150px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "InterVar", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(143,162,192,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,162,192,.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}

[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 1000; transform: translateY(-160%); background: var(--text); color: var(--bg); padding: 10px 14px; text-decoration: none; border-radius: 6px; }
.skip-link:focus { transform: none; }

code { padding: 1px 6px; border-radius: 4px; background: rgba(143,162,192,.11); font: 500 .88em var(--font-mono); color: var(--text-soft); }

/* Discord emoji used as an interface icon */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.22em; object-fit: contain; }
.ic-md { width: 22px; height: 22px; }
.ic-lg { width: 30px; height: 30px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(7,8,11,.9); backdrop-filter: blur(16px); }
.header-inner { min-height: 66px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; min-width: max-content; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; border: 1px solid var(--border-strong); background: var(--surface-2); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--border-strong); background: var(--surface-2); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-soft); }
.logo-fallback { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--text-soft); background: var(--surface-2); }
.brand-logo.logo-fallback { font-size: 15px; }
.server-card .brand-logo.logo-fallback { font-size: 19px; }
.verify-avatar.logo-fallback { font-size: 11px; border: 1px solid var(--border-strong); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--font-display); font-size: 13px; letter-spacing: .13em; font-weight: 700; }
.brand-copy small { font-size: 8px; color: var(--muted-2); letter-spacing: .18em; font-family: var(--font-mono); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .15s ease; }
.nav a:hover, .nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2); color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 15px; height: 1.5px; background: currentColor; display: block; border-radius: 2px; }

.button { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--border-strong); border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .14s ease, border-color .14s ease, color .14s ease, transform .14s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 36px; padding-inline: 13px; font-size: 12px; }
.button-primary { color: #fff; background: var(--blurple); border-color: var(--blurple); }
.button-primary:hover { background: #6b76f5; border-color: #6b76f5; }
.button-quiet { color: var(--text-soft); background: var(--surface-2); }
.button-quiet:hover { border-color: #3a3f4d; background: var(--surface-3); }
.wide { width: 100%; margin-top: 26px; }

/* ---------- hero ---------- */
.hero { padding-block: 76px 64px; display: grid; grid-template-columns: 1.06fr .84fr; gap: 58px; align-items: center; }
.server-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); width: max-content; max-width: 100%; }
.server-card .brand-logo, .server-card .brand-mark { width: 46px; height: 46px; border-radius: 12px; font-size: 19px; }
.server-card-copy { display: grid; gap: 3px; min-width: 0; }
.server-card-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.server-card-meta { display: flex; align-items: center; gap: 7px; font: 500 11px var(--font-mono); color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(59,165,93,.16); flex: none; }
.hero h1 { max-width: 15ch; margin: 26px 0 20px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero-lede { max-width: 560px; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); font-size: 12px; font-weight: 500; }

/* the real verification panel, rebuilt */
.verify-card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.verify-chan { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font: 600 12px var(--font-mono); color: var(--muted-2); }
.verify-embed { position: relative; margin-top: 17px; padding: 15px 17px 17px 19px; background: var(--surface-2); border-radius: 8px; }
.verify-embed::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 8px 0 0 8px; background: var(--success); }
.verify-author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.verify-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.verify-author em { font-style: normal; padding: 2px 5px; border-radius: 4px; background: var(--blurple); color: #fff; font: 700 9px var(--font-body); letter-spacing: .04em; }
.verify-title { display: flex; align-items: center; gap: 9px; margin: 14px 0 11px; font-size: 17px; letter-spacing: -.01em; }
.verify-embed p { margin: 0 0 7px; color: var(--text-soft); font-size: 13.5px; line-height: 1.62; }
.verify-embed blockquote { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 15px; padding-left: 11px; border-left: 3px solid var(--border-strong); color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.verify-button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 15px; border-radius: 6px; background: var(--success); color: #fff; font-size: 13px; font-weight: 600; }
.verify-caption { margin: 16px 0 0; color: var(--muted-2); font-size: 11.5px; line-height: 1.62; }

/* ---------- live facts ---------- */
.facts-bar { margin-block: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-bar > div { min-height: 78px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--border); }
.facts-bar > div:first-child { padding-left: 0; }
.facts-bar > div:last-child { border-right: 0; }
.facts-bar .fact-copy { display: grid; gap: 3px; }
.facts-bar dt { font: 600 9px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.facts-bar dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--text-soft); }

/* ---------- sections ---------- */
.section { padding-block: 78px; }
.section-rule { border-top: 1px solid var(--border); }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 34px; }
.section-label { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 10px var(--font-mono); letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.1; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; max-width: 480px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps > li { padding: 22px; display: flex; flex-direction: column; gap: 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.step-top { display: flex; align-items: center; gap: 11px; }
.step-num { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-3); font: 600 11px var(--font-mono); color: var(--accent-soft); }
.steps h3 { margin: 0 0 9px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.channel-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.channel-group { padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.channel-group-label { margin: 0 0 15px; display: flex; align-items: center; gap: 8px; font: 600 10px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.channel-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.channel-group li { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--font-mono); color: var(--text-soft); }
.channel-group li b { color: var(--muted-2); font-weight: 500; }
.channel-note { margin: auto 0 0; padding-top: 18px; color: var(--muted-2); font-size: 11.5px; line-height: 1.62; }

.team-list { display: grid; gap: 10px; }
.team-row { display: grid; grid-template-columns: 30px 290px 1fr; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.team-row strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.team-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.latest-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.latest-row h2 { margin: 12px 0 8px; font-size: clamp(24px, 3vw, 34px); }
.latest-row p:not(.section-label) { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.inline-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
.inline-link:hover { color: var(--text); }

.final-cta { margin-bottom: 88px; padding: 38px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.final-cta h2 { margin: 12px 0 0; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; }

/* ---------- inner pages ---------- */
.page-hero { padding-top: 74px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.page-title-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; margin-top: 14px; }
.page-title-row h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.page-title-row p { margin: 0 0 4px; color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 520px; }
.page-section { padding-block: 40px 90px; }
.surface { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.applications-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
.application-main { padding: 28px; }
.process-panel { padding: 24px; background: var(--bg-soft); }
.surface-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.surface h2 { margin: 10px 0 0; font-size: 26px; }
.surface-lede { max-width: 650px; margin: 18px 0 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.requirements { margin-top: 24px; display: grid; gap: 2px; }
.requirements > div { min-height: 52px; display: grid; grid-template-columns: 20px 1fr; gap: 13px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.requirements > div:last-child { border-bottom: 0; }
.requirements p { margin: 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.6; }
.process-list { list-style: none; margin: 20px 0 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.process-list > li > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-3); font: 600 10px var(--font-mono); color: var(--accent-soft); }
.process-list strong { font-size: 13px; font-family: var(--font-display); font-weight: 600; }
.process-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.status-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 999px; font: 700 10px var(--font-mono); letter-spacing: .05em; }
.status-pill.success { color: #6fd48d; border-color: rgba(59,165,93,.4); background: rgba(59,165,93,.1); }
.status-pill.warning { color: #e6bb6e; border-color: rgba(217,158,63,.4); background: rgba(217,158,63,.1); }
.status-pill.danger { color: #e88a86; border-color: rgba(217,83,79,.4); background: rgba(217,83,79,.1); }
.status-pill.neutral { color: var(--muted); }

.support-list { display: grid; gap: 12px; }
.support-row { display: grid; grid-template-columns: 44px 1.25fr .75fr auto; gap: 26px; align-items: center; padding: 24px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.support-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); }
.support-copy h2 { margin: 8px 0 8px; font-size: 21px; }
.support-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 470px; }
.support-meta { display: grid; gap: 7px; color: var(--muted-2); font-size: 11.5px; }
.support-meta span { display: flex; align-items: center; gap: 7px; }

.updates-list { display: grid; gap: 12px; }
.update-card { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 26px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.update-meta { color: var(--muted-2); font: 600 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding-top: 6px; }
.update-card h2 { margin: 0 0 8px; font-size: 22px; }
.update-card > div > p { margin: 0; color: var(--muted); line-height: 1.72; font-size: 14px; }
.change-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.change-group { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); padding: 15px; }
.change-group strong { font: 600 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.change-group ul { list-style: none; margin: 11px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.change-group li::before { content: "–"; color: var(--muted-2); margin-right: 8px; }

.status-board { display: grid; gap: 10px; }
.status-row { min-height: 74px; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.status-row .status-copy { display: grid; gap: 3px; margin-right: auto; }
.status-row strong { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.status-row span:not(.status-pill) { color: var(--muted-2); font-size: 12px; }
.status-footnote { margin-top: 14px; color: var(--muted-2); font-size: 11px; }
.console-note { margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.6; }

.site-footer { border-top: 1px solid var(--border); }
.footer-grid { padding-block: 44px 40px; display: grid; grid-template-columns: 1.2fr .8fr .5fr; gap: 46px; align-items: start; }
.footer-brand { margin-bottom: 16px; }
.footer-grid p { margin: 0; color: var(--muted-2); font-size: 12px; line-height: 1.7; max-width: 330px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(88px, 1fr)); gap: 10px 26px; }
.footer-nav a, .footer-end a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-size: 12.5px; }
.footer-nav a:hover, .footer-end a:hover { color: var(--text); }
.footer-end { display: grid; justify-items: end; gap: 14px; }
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal i { color: var(--border-strong); font-style: normal; }
.footer-legal a { color: var(--muted-2); text-decoration: none; font-size: 12px; }
.footer-legal a:hover { color: var(--text-soft); }

.legal { padding: 34px; max-width: 760px; }
.legal-notice { margin-bottom: 30px; padding: 15px 17px; border: 1px solid rgba(217,158,63,.32); border-radius: 10px; background: rgba(217,158,63,.07); color: var(--text-soft); font-size: 13px; line-height: 1.65; }
.legal h2 { margin: 30px 0 10px; font-size: 17px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.78; }
.legal ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.78; }
.legal li { margin-bottom: 5px; }
.legal em { color: var(--text-soft); font-style: normal; font-weight: 600; }

@media (max-width: 960px) {
  .header-discord { display: none; }
  .menu-toggle { display: flex; }
  .nav { position: absolute; left: 22px; right: 22px; top: calc(100% + 8px); display: none; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 25px 70px rgba(0,0,0,.5); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 52px; }
  .verify-card { max-width: 540px; width: 100%; }
  .section-heading, .page-title-row { grid-template-columns: 1fr; gap: 20px; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .facts-bar > div { border-bottom: 1px solid var(--border); }
  .facts-bar > div:nth-child(2n) { border-right: 0; }
  .facts-bar > div:nth-child(2n+1) { padding-left: 0; }
  .facts-bar > div:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .channel-map { grid-template-columns: 1fr 1fr; }
  .team-row { grid-template-columns: 30px 1fr; gap: 14px; }
  .team-row p { grid-column: 2; }
  .applications-layout { grid-template-columns: 1fr; }
  .support-row { grid-template-columns: 44px 1fr auto; gap: 20px; }
  .support-meta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-end { justify-items: start; }
}

@media (max-width: 650px) {
  .shell { width: min(calc(100% - 26px), var(--shell)); }
  .header-inner { min-height: 60px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 30px; max-width: none; }
  .hero-actions .button { width: 100%; }
  .facts-bar > div { padding-inline: 14px; }
  .section { padding-block: 60px; }
  .channel-map { grid-template-columns: 1fr; }
  .latest-row, .final-cta { align-items: flex-start; flex-direction: column; gap: 24px; }
  .final-cta { margin-bottom: 60px; padding: 26px; }
  .final-cta .button { width: 100%; }
  .page-hero { padding-top: 52px; }
  .application-main, .process-panel { padding: 20px; }
  .surface-topline { flex-direction: column; gap: 14px; }
  .support-row { grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
  .support-row .button { grid-column: 1 / -1; width: 100%; }
  .update-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .change-groups { grid-template-columns: 1fr; }
  .status-row { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-end { justify-items: start; }
}

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