:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --bg-3: #1c1c1c;
  --line: #262626;
  --line-2: #333;
  --ink: #ffffff;
  --ink-2: #b8b8b8;
  --ink-3: #6e6e6e;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-glow: rgba(59,130,246,0.15);
  --discord: #5865f2;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --serif: 'Instrument Serif', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15,15,15,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 0.2s;
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo img { width: 28px; height: 28px; object-fit: cover; }

.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 14px; font-size: 13px; color: var(--ink-3);
  border-radius: 8px; transition: all 0.2s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  background: var(--ink); color: var(--bg);
  border-radius: 8px; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--discord); color: var(--ink); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-mobile-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav-mobile-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(15,15,15,0.98); backdrop-filter: blur(24px);
  z-index: 40; padding: 24px; flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 18px 0; font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--line); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .nav-cta {
  margin-top: 24px; padding: 14px; justify-content: center;
  border-bottom: 0; font-size: 14px;
}

/* HERO */
.hero {
  min-height: 100vh; padding: 160px 24px 100px; max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; justify-content: center;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(900px, 100%); height: 700px;
  background: radial-gradient(ellipse at center, var(--blue-glow) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}

h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 9.5vw, 132px); line-height: 0.95;
  letter-spacing: -0.045em; margin-bottom: 32px; max-width: 1000px;
  word-wrap: break-word; overflow-wrap: break-word;
}
h1 em { font-style: italic; color: var(--blue-2); }
h1 .grad {
  background: linear-gradient(180deg, var(--ink) 30%, var(--ink-3) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 19px; color: var(--ink-2); line-height: 1.55; max-width: 640px; margin-bottom: 44px; font-weight: 300; }
.hero-sub strong { color: var(--ink); font-weight: 500; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 14px 24px; border-radius: 10px; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--discord); color: var(--ink); }
.btn-primary:hover { background: #4752c4; box-shadow: 0 0 0 4px rgba(88,101,242,0.18); transform: translateY(-1px); }
.btn-ghost { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--bg-3); }

/* HARDWARE STAGE */
.stage {
  margin-top: 80px; width: 100%; max-width: 920px;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg-2) 100%),
    radial-gradient(ellipse at center bottom, var(--blue-glow) 0%, transparent 60%);
  border: 1px solid var(--line); border-top-color: var(--line-2);
  border-radius: 20px; padding: 48px 32px;
  position: relative; overflow: hidden;
}
.stage::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.stage-inner { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stage-item { text-align: center; }
.stage-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border: 1px solid var(--line-2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-2); background: var(--bg);
}
.stage-icon svg { width: 24px; height: 24px; }
.stage-name {
  font-family: var(--serif); font-size: 32px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
}
.stage-name em { font-style: italic; color: var(--blue-2); }
.stage-tag {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.15em;
}

/* SECTIONS */
section.block {
  max-width: 1200px; margin: 0 auto; padding: 140px 24px;
}
.head { margin-bottom: 64px; max-width: 720px; }
.kicker {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  color: var(--blue-2); text-transform: uppercase; letter-spacing: 0.2em;
  margin-bottom: 20px; padding: 4px 10px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-2);
}
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; }
h2 em { font-style: italic; color: var(--blue-2); }
.head p { font-size: 17px; color: var(--ink-2); line-height: 1.55; font-weight: 300; max-width: 560px; }

/* SPEC CARDS */
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 36px; transition: all 0.2s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 220px;
}
.spec:hover { border-color: var(--line-2); transform: translateY(-2px); }
.spec-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: auto; padding-bottom: 32px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.spec-top .id { color: var(--blue-2); }
.spec-name { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.spec-name em { font-style: italic; color: var(--blue-2); }
.spec-detail { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* HOW IT WORKS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; position: relative;
}
.step-n {
  font-family: var(--serif); font-style: italic;
  font-size: 64px; font-weight: 400; line-height: 1;
  color: var(--blue-2); margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.step-title { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; font-weight: 300; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.faq-q { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--ink-2); line-height: 1.6; font-weight: 300; }

/* FINAL */
.final { padding: 160px 24px; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 800px 400px at center, rgba(88,101,242,0.18) 0%, transparent 70%); pointer-events: none; }
.final::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.4;
  mask-image: radial-gradient(ellipse 600px 400px at center, black 0%, transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(48px, 8vw, 96px); margin-bottom: 28px; }
.final p { font-size: 18px; color: var(--ink-2); margin-bottom: 44px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.55; font-weight: 300; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 40px 24px; background: var(--bg); }
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  flex-wrap: wrap; gap: 16px;
}
.foot-inner a { color: var(--blue-2); transition: color 0.2s; }
.foot-inner a:hover { color: var(--ink); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.foot-brand .nav-logo { width: 22px; height: 22px; border-radius: 6px; }
.foot-brand .nav-logo img { width: 22px; height: 22px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 7px 12px; font-size: 12px; }
  .hero { padding: 110px 20px 60px; min-height: auto; }
  .hero-sub { font-size: 17px; margin-bottom: 36px; }
  .stage { padding: 36px 20px; margin-top: 56px; border-radius: 16px; }
  .stage-inner { grid-template-columns: 1fr; gap: 32px; }
  .stage-name { font-size: 28px; }
  section.block { padding: 80px 20px; }
  .head { margin-bottom: 44px; }
  .specs-grid, .faq, .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 28px; }
  .step-n { font-size: 52px; margin-bottom: 14px; }
  .faq-item { padding: 24px; }
  .final { padding: 100px 20px; }
  .foot-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
  }
  h2 {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.02;
  }
  .hero { padding: 100px 18px 56px; }
  .hero-sub { font-size: 16px; line-height: 1.55; margin-bottom: 32px; padding: 0 4px; }
  .cta-row { flex-direction: column; width: 100%; gap: 10px; }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 14px;
  }
  .stage { padding: 32px 18px; margin-top: 48px; }
  .stage::before { background-size: 32px 32px; }
  .stage-name { font-size: 26px; }
  section.block { padding: 64px 18px; }
  .head { margin-bottom: 36px; }
  .head p { font-size: 15px; }
  .kicker { font-size: 10px; padding: 4px 9px; margin-bottom: 16px; }
  .step { padding: 24px; }
  .step-n { font-size: 44px; margin-bottom: 12px; }
  .step-title { font-size: 22px; }
  .faq-item { padding: 22px; }
  .faq-q { font-size: 19px; }
  .final { padding: 84px 18px; }
  .final h2 {
    font-size: clamp(40px, 11vw, 64px);
    margin-bottom: 22px;
    line-height: 1;
  }
  .final p { font-size: 16px; margin-bottom: 32px; }
}

@media (max-width: 380px) {
  .nav-inner { padding: 0 14px; }
  .nav-brand { font-size: 14px; gap: 8px; }
  h1 { font-size: 36px; }
  .stage-name { font-size: 24px; }
  .step-title { font-size: 20px; }
  .faq-q { font-size: 18px; }
}
