/* =============================================================
   PIXEL JACKET — styles
   ============================================================= */
:root {
  --bg: #07070a;
  --bg-2: #0b0b10;
  --surface: #101017;
  --surface-2: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eeedf5;
  --muted: #a3a1b5;
  --green: #76ff6a;
  --green-ink: #0b1a08;
  --purple: #a96bff;
  --metal: #c9ccd6;
  --gold: #ffcc33;
  --danger: #ff6a7a;
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Pixelify Sans", "Silkscreen", system-ui, sans-serif;
  --font-pixel: "Silkscreen", "Pixelify Sans", ui-monospace, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(169, 107, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(118, 255, 106, 0.07), transparent 60%),
    linear-gradient(180deg, #0a0a0f 0%, var(--bg) 40%, #050507 100%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: var(--green-ink); padding: 10px 14px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--b); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text);
  cursor: pointer; position: relative;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--green); color: var(--green-ink); border-color: var(--green);
  box-shadow: 0 0 0 0 rgba(118,255,106,0), 4px 4px 0 0 #2d6b27;
}
.btn-primary:hover { box-shadow: 0 0 24px rgba(118,255,106,.35), 4px 4px 0 0 #2d6b27; }
.btn-ghost { background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--purple); box-shadow: 0 0 20px rgba(169,107,255,.25); }
.btn-metal {
  background: linear-gradient(180deg, #e5e7ee, #9da1ad); color: #111; border-color: #e5e7ee;
}
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 12px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15px; }
.btn[aria-disabled="true"], .icon-btn[aria-disabled="true"] {
  background: rgba(255,255,255,0.04); color: #77758a; border-color: var(--line);
  box-shadow: none; cursor: not-allowed; transform: none;
}
.btn[aria-disabled="true"]::after {
  content: "SOON"; font-size: 9px; padding: 2px 5px; border-radius: 4px;
  background: rgba(169,107,255,.18); color: #cbb0ff; letter-spacing: .06em;
}
.icon-btn[aria-disabled="true"]::after { content: none; }
.btn.is-success { background: var(--green); color: var(--green-ink); border-color: var(--green); }

.link-btn {
  background: none; border: 0; padding: 4px 2px; cursor: pointer; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; font-size: 14px;
}
.link-btn:hover { color: var(--text); }

.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .06em;
  background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line);
}
.chip-green { background: rgba(118,255,106,.12); color: var(--green); border-color: rgba(118,255,106,.3); }
.chip-demo { background: rgba(255,204,51,.12); color: var(--gold); border-color: rgba(255,204,51,.3); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,10,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7,7,10,0.88); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none;
  color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: none; width: 38px; height: 38px; place-items: center; border-radius: 8px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-family: var(--font-pixel); font-size: 12px; text-decoration: none; transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.header-buy { display: none; }
.menu-toggle {
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: rgba(7,7,10,.96); padding: 12px 16px 20px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--font-display); font-size: 20px;
}
.mobile-menu-actions { display: grid; gap: 10px; margin-top: 16px; }
.mobile-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-socials .btn { font-size: 12px; padding: 0 10px; }

@media (min-width: 560px) { .header-buy { display: inline-flex; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .header-actions { margin-left: 8px; }
  .icon-btn { display: grid; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 36px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.rack {
  position: absolute; top: 40px; bottom: 40px; width: 80px; display: grid; gap: 10px; align-content: start; opacity: .35;
}
.rack-l { left: -20px; }
.rack-r { right: -20px; }
.rack i {
  display: block; height: 34px; border-radius: 4px; background: linear-gradient(180deg, #14141c, #0c0c12);
  border: 1px solid var(--line); position: relative;
}
.rack i::before, .rack i::after {
  content: ""; position: absolute; top: 14px; width: 5px; height: 5px; background: var(--green);
  box-shadow: 0 0 8px var(--green); animation: blink 2.4s steps(2) infinite;
}
.rack i::before { left: 10px; }
.rack i::after { left: 20px; background: var(--purple); box-shadow: 0 0 8px var(--purple); animation-delay: .7s; }
.rack i:nth-child(3n)::before { animation-delay: 1.1s; }
.rack i:nth-child(2n)::after { animation-delay: 1.6s; }
@media (max-width: 900px) { .rack { display: none; } }

.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel); font-size: 12px; letter-spacing: .1em; color: var(--green);
  padding: 7px 12px; border: 1px solid rgba(118,255,106,.28); border-radius: 999px; background: rgba(118,255,106,.06);
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.6s steps(2) infinite; }
.hero h1 { font-size: clamp(42px, 10vw, 88px); font-weight: 700; margin: 18px 0 18px; }
.grad {
  background: linear-gradient(90deg, var(--green) 0%, #c8ffbf 45%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 2vw, 19px); color: #cfcde0; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-ctas .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.fine { font-size: 13px; color: var(--muted); max-width: 40em; }

.hero-visual { display: flex; justify-content: center; }
.stage {
  position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1;
  border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(169,107,255,.18), transparent 70%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, #0e0e15, #08080c);
  overflow: hidden;
}
.stage-glow {
  position: absolute; left: 50%; bottom: 8%; width: 70%; height: 14%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(118,255,106,.35), transparent); filter: blur(10px);
}
.hero-jacket {
  position: absolute; inset: 13% 13% 25%; display: grid; place-items: center;
  animation: float 6s ease-in-out infinite;
}
.hero-jacket svg { width: 100%; height: 100%; filter: drop-shadow(0 0 22px rgba(169,107,255,.35)) drop-shadow(0 18px 18px rgba(0,0,0,.6)); }
.status-chip {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-pixel); font-size: 11px; padding: 6px 10px; border-radius: 6px;
  background: rgba(0,0,0,.55); border: 1px solid var(--line-2); color: var(--muted);
}
.status-chip strong { color: var(--green); font-weight: 400; }
.led-dot { width: 6px; height: 6px; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.2s steps(2) infinite; }
.boot {
  position: absolute; left: 16px; bottom: 14px; right: 16px; margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; line-height: 1.55;
  color: rgba(118,255,106,.8); white-space: pre-wrap; min-height: 4.6em;
  text-shadow: 0 0 6px rgba(118,255,106,.4);
}
.pixels i {
  position: absolute; width: 6px; height: 6px; background: var(--green); opacity: 0;
  animation: rise 7s linear infinite;
}
.pixels i:nth-child(1) { left: 12%; animation-delay: 0s; }
.pixels i:nth-child(2) { left: 24%; animation-delay: 2.1s; background: var(--purple); }
.pixels i:nth-child(3) { left: 38%; animation-delay: 4.3s; }
.pixels i:nth-child(4) { left: 55%; animation-delay: 1.2s; background: var(--metal); width: 4px; height: 4px; }
.pixels i:nth-child(5) { left: 68%; animation-delay: 3.4s; background: var(--purple); }
.pixels i:nth-child(6) { left: 80%; animation-delay: 5.5s; }
.pixels i:nth-child(7) { left: 90%; animation-delay: .6s; background: var(--purple); width: 4px; height: 4px; }
.pixels i:nth-child(8) { left: 6%; animation-delay: 6s; background: var(--metal); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}

/* ---------- contract ---------- */
.contract-band { padding: 8px 0 24px; }
.contract-card {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px;
  background:
    linear-gradient(135deg, rgba(118,255,106,.06), transparent 40%, rgba(169,107,255,.08)),
    var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.contract-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.contract-title { font-family: var(--font-pixel); font-weight: 400; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.contract-row { display: grid; gap: 10px; }
.ca-field {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; width: 100%;
  border-radius: var(--radius-sm); border: 1px dashed rgba(169,107,255,.45);
  background: #08080c; text-align: left; cursor: pointer; min-width: 0;
}
.ca-field.is-live { border-style: solid; border-color: rgba(118,255,106,.45); }
.ca-label {
  flex: none; font-family: var(--font-pixel); font-size: 10px; padding: 3px 6px; border-radius: 4px;
  background: rgba(169,107,255,.18); color: #d4bcff;
}
.ca-value {
  font-family: var(--font-pixel); font-size: 15px; letter-spacing: .06em; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.ca-field.is-live .ca-value { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 14px; letter-spacing: 0; }
.contract-help { margin-top: 12px; font-size: 13px; color: var(--muted); }
.contract-help.is-flash { color: var(--gold); }
@media (min-width: 760px) {
  .contract-card { padding: 24px 28px; }
  .contract-row { grid-template-columns: 1fr auto auto; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.015) 20%, rgba(255,255,255,.015) 80%, transparent);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.kicker { font-family: var(--font-pixel); font-size: 12px; letter-spacing: .14em; color: var(--purple); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 6vw, 56px); margin-bottom: 16px; }
.section-lead { font-size: 18px; color: #d4d2e3; }
.section-lead + .section-lead { margin-top: 10px; }
.section-lead.muted { color: var(--muted); font-size: 16px; }

.cards-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #15151d, #0d0d13 60%);
  position: relative; overflow: hidden; transition: border-color .2s, transform .2s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.05) 45%, transparent 60%);
  transform: translateX(-100%); transition: transform .8s ease;
}
.feature-card:hover { border-color: rgba(118,255,106,.3); transform: translateY(-3px); }
.feature-card:hover::before { transform: translateX(100%); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #0a0a0f; display: grid; place-items: center; margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 26px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); }

/* ---------- lab ---------- */
.lab { display: grid; gap: 24px; }
@media (min-width: 920px) { .lab { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; } }
.lab-preview {
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--surface);
}
@media (min-width: 920px) { .lab-preview { position: sticky; top: calc(var(--header-h) + 20px); } }
.lab-stage {
  --glow: #76ff6a;
  position: relative; aspect-ratio: 1 / 1;
  background:
    radial-gradient(55% 50% at 50% 50%, color-mix(in srgb, var(--glow) 18%, transparent), transparent 70%),
    linear-gradient(180deg, #0f0f16, #07070a);
  transition: background .4s;
}
.lab-grid {
  position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 20px 20px;
}
.lab-jacket { position: absolute; inset: 12%; display: grid; place-items: center; transition: transform .35s ease, opacity .25s; }
.lab-jacket svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 16px rgba(0,0,0,.55)); transition: filter .3s; }
.lab-stage.has-aura .lab-jacket svg {
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--glow) 70%, transparent)) drop-shadow(0 16px 16px rgba(0,0,0,.55));
}
.lab-stage.is-loading .lab-jacket { opacity: .25; transform: scale(.96); }
.lab-sparkles { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.lab-stage.has-sparkle .lab-sparkles { opacity: 1; }
.lab-sparkles i {
  position: absolute; width: 8px; height: 8px; background: var(--glow);
  box-shadow: 0 0 10px var(--glow); animation: twinkle 2.2s steps(3) infinite;
}
.lab-sparkles i:nth-child(1) { left: 14%; top: 18%; }
.lab-sparkles i:nth-child(2) { left: 82%; top: 24%; animation-delay: .4s; }
.lab-sparkles i:nth-child(3) { left: 10%; top: 70%; animation-delay: .9s; }
.lab-sparkles i:nth-child(4) { left: 86%; top: 76%; animation-delay: 1.3s; }
.lab-sparkles i:nth-child(5) { left: 50%; top: 8%; animation-delay: 1.7s; width: 6px; height: 6px; }
.lab-sparkles i:nth-child(6) { left: 48%; top: 90%; animation-delay: .2s; width: 6px; height: 6px; }
.lab-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  font-family: var(--font-pixel); font-size: 13px; letter-spacing: .1em; color: var(--green);
}
.lab-loading[hidden] { display: none; }
.spinner { width: 28px; height: 28px; border: 3px solid rgba(118,255,106,.2); border-top-color: var(--green); animation: spin .7s steps(8) infinite; }
.lab-meta { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.lab-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.lab-tagline { color: var(--muted); margin-top: 4px; }

.lab-controls { display: grid; gap: 22px; }
.control-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.control-group legend { font-family: var(--font-pixel); font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; padding: 0; }
.style-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .style-options { grid-template-columns: repeat(3, 1fr); } }
.style-opt { position: relative; }
.style-opt input { position: absolute; opacity: 0; pointer-events: none; }
.style-opt label {
  display: grid; gap: 8px; justify-items: center; text-align: center;
  padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
  font-size: 13px; font-weight: 600;
}
.style-opt label:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); }
.style-opt .swatch { width: 54px; height: 54px; }
.style-opt input:checked + label {
  border-color: var(--sw, var(--green)); background: color-mix(in srgb, var(--sw, var(--green)) 10%, var(--surface));
  box-shadow: inset 0 0 0 1px var(--sw, var(--green));
}
.style-opt input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 3px; }

.toggles { display: grid; gap: 10px; }
@media (min-width: 520px) { .toggles { grid-template-columns: 1fr 1fr; } }
.toggle {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px;
}
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { flex: none; width: 36px; height: 20px; border-radius: 4px; background: #262632; position: relative; transition: background .15s; }
.toggle-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: #8b8a9c; transition: transform .15s, background .15s;
}
.toggle input:checked + .toggle-ui { background: rgba(118,255,106,.25); }
.toggle input:checked + .toggle-ui::after { transform: translateX(16px); background: var(--green); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--green); outline-offset: 3px; }

.lab-actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .lab-actions { grid-template-columns: 1fr 1fr; } }
.lab-actions .btn { min-height: 52px; }
.btn.is-busy { pointer-events: none; opacity: .75; }
.lab-secondary { display: flex; gap: 10px; align-items: center; color: var(--muted); flex-wrap: wrap; }

/* ---------- community ---------- */
.community-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .community-grid { grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; } }
.ways { display: grid; gap: 12px; }
.way {
  display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.way-n { font-family: var(--font-pixel); color: var(--green); font-size: 14px; padding-top: 4px; }
.way h3 { font-size: 22px; margin-bottom: 4px; }
.way p { color: var(--muted); }
.community-side { display: grid; gap: 16px; }
.panel { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel-head h3 { font-size: 22px; }
.panel-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.leaderboard { display: grid; gap: 6px; }
.lb-row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 8px; background: #0c0c12; border: 1px solid transparent; font-size: 14px;
}
.lb-rank { font-family: var(--font-pixel); color: var(--muted); font-size: 12px; }
.lb-row:nth-child(1) .lb-rank { color: var(--gold); }
.lb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-name small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.lb-pts { font-family: var(--font-pixel); font-size: 12px; color: var(--green); }
.lb-row.is-you { border-color: rgba(118,255,106,.4); background: rgba(118,255,106,.06); }

.vote { display: grid; gap: 8px; }
.vote-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #0c0c12;
  cursor: pointer; text-align: left; font-weight: 600; font-size: 14px; transition: border-color .15s;
}
.vote-opt:hover { border-color: rgba(255,255,255,.3); }
.vote-opt .sw { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.vote-opt .lbl { display: flex; align-items: center; gap: 10px; }
.vote-opt .tick { font-family: var(--font-pixel); font-size: 11px; color: var(--green); opacity: 0; }
.vote-opt[aria-checked="true"] { border-color: var(--green); background: rgba(118,255,106,.07); }
.vote-opt[aria-checked="true"] .tick { opacity: 1; }

/* ---------- roadmap ---------- */
.roadmap { display: grid; gap: 16px; counter-reset: ph; }
@media (min-width: 720px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .roadmap { grid-template-columns: repeat(4, 1fr); } }
.phase {
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  position: relative; overflow: hidden;
}
.phase::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--purple), transparent); }
.phase:first-child::before { background: linear-gradient(90deg, var(--green), transparent); }
.phase-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phase-n { font-family: var(--font-pixel); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.phase h3 { font-size: 26px; margin-bottom: 12px; }
.phase ul { display: grid; gap: 8px; }
.phase li { position: relative; padding-left: 18px; color: #c9c7d8; font-size: 15px; }
.phase li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--purple); }
.phase:first-child li::before { background: var(--green); }
.note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- how to buy ---------- */
.steps { display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.step-n {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px;
  font-family: var(--font-pixel); font-size: 18px; color: var(--green-ink); background: var(--green);
  box-shadow: 3px 3px 0 #2d6b27;
}
.step p { font-weight: 500; }
.buy-strip {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-radius: var(--radius); border: 1px dashed rgba(169,107,255,.4); background: rgba(169,107,255,.05);
}
.buy-strip p { color: #d4d2e3; }

/* ---------- social ---------- */
.social-card {
  display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: 24px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 80% at 0% 50%, rgba(118,255,106,.12), transparent 70%),
    radial-gradient(60% 80% at 100% 50%, rgba(169,107,255,.16), transparent 70%),
    var(--surface);
}
.social-jacket { width: 160px; margin: 0 auto; }
.social-copy h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: 12px; }
.social-copy > p { color: #d4d2e3; font-size: 18px; }
.social-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.social-ctas .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .social-ctas .btn { flex: 0 0 auto; } }
@media (min-width: 820px) {
  .social-card { grid-template-columns: 220px 1fr; padding: 44px; gap: 40px; }
  .social-jacket { width: 220px; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; margin-top: 40px; background: #050507; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-brand .muted { font-size: 13px; margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.footer-legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: #b5b3c5; }

/* ---------- toasts ---------- */
.toast-region {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 300;
  display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none;
}
.toast {
  pointer-events: auto; padding: 12px 16px; border-radius: 10px; font-size: 14px;
  background: #15151d; border: 1px solid var(--line-2); box-shadow: 0 12px 40px rgba(0,0,0,.6);
  display: flex; gap: 10px; align-items: center; animation: toastIn .25s ease;
}
.toast::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--purple); }
.toast.success::before { background: var(--green); }
.toast.warn::before { background: var(--gold); }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- jacket svg ---------- */
.jacket-svg .led { animation: blink 1.4s steps(2) infinite; }
.jacket-svg .led:nth-of-type(3n) { animation-delay: .5s; }
.jacket-svg .shine { animation: shine 6s ease-in-out infinite; }

/* ---------- keyframes ---------- */
@keyframes blink { 50% { opacity: .25; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes rise { 0% { top: 100%; opacity: 0; } 10% { opacity: .9; } 90% { opacity: .5; } 100% { top: -5%; opacity: 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0%, 55% { transform: translateX(0); } 85%, 100% { transform: translateX(420px); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .pixels, .lab-sparkles i { display: none; }
  .reveal { opacity: 1; transform: none; }
}
