:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: #101310;
  --surface-2: #151915;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #929991;
  --text: #f4f5f1;
  --acid: #ff7a45;
  --acid-soft: rgba(255, 122, 69, 0.13);
  --orange: #ff7a45;
  --radius: 26px;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-width: 320px;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
.ambient {
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .09;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { background: var(--acid); top: -310px; right: 5%; }
.ambient-two { background: #507a5d; bottom: 5%; left: -420px; }

.site-header {
  width: min(1380px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-mark { display: flex; align-items: end; gap: 2px; width: 22px; height: 20px; }
.brand-mark span { width: 6px; border-radius: 5px; background: var(--acid); transform: skew(-13deg); }
.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 20px; }
nav { display: flex; gap: 5px; padding: 4px; background: rgba(255,255,255,.04); border-radius: 99px; }
.nav-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 13px;
  cursor: pointer;
  transition: .25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,.09); }
.member-pill {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 10px 15px;
  border-radius: 99px;
  font-size: 12px;
  cursor: pointer;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.hero {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0 102px;
  text-align: center;
}
.eyebrow {
  width: max-content;
  margin: 0 auto 31px;
  padding: 7px 10px;
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow span:last-child { color: var(--acid); }
.eyebrow span:last-child::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; background: var(--acid); border-radius: 50%; }
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 7.3vw, 106px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .94;
}
.hero h1 em { font-style: normal; color: var(--acid); }
.hero > p {
  max-width: 635px;
  margin: 34px auto 0;
  color: #acb2aa;
  line-height: 1.75;
  font-size: 17px;
}
.hero-actions { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 28px; }
.primary-button, .submit-button {
  border: 0;
  background: var(--acid);
  color: #0a0c09;
  border-radius: 99px;
  padding: 16px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.primary-button:hover, .submit-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,122,69,.18); }
.primary-button span, .submit-button span { margin-left: 18px; }
.text-link { color: var(--text); text-decoration: none; font-size: 14px; }
.text-link span { color: var(--acid); margin-left: 7px; }
.trust-row { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 48px; }
.trust-row p { margin: 0; font-size: 12px; color: var(--muted); }
.trust-row p strong { color: var(--text); }
.founding-marker {
  width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--acid); font: 8px var(--mono);
}
.avatar-stack { display: flex; padding-left: 7px; }
.avatar-stack span {
  width: 29px; height: 29px; margin-left: -7px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--bg); background: #2a332a; font: 8px var(--mono);
}
.avatar-stack span:nth-child(2) { background: #3b302b; }
.avatar-stack span:nth-child(3) { background: #26333b; }
.avatar-stack span:last-child { background: var(--acid); color: #0a0c09; }

.stage-shell {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  background: rgba(16,19,16,.88);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 60px 140px rgba(0,0,0,.4);
}
.stage-topbar { display: flex; align-items: center; justify-content: space-between; padding: 30px 34px; border-bottom: 1px solid var(--line); }
.stage-kicker, .panel-number {
  margin: 0 0 8px; color: var(--acid); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.stage-topbar h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.countdown { display: flex; gap: 10px; align-items: center; min-width: 156px; }
.live-dot { width: 8px; height: 8px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 12px var(--acid); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.countdown small { display: block; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.countdown strong { display: block; margin-top: 3px; font: 12px var(--mono); }
.stage-view { display: none; }
.stage-view.active { display: block; animation: appear .45s ease both; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } }
.vote-layout, .builder-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(350px, .75fr); min-height: 590px; }
.disc-studio { min-width: 0; padding: 30px 34px; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.045), transparent 42%); }
.studio-labels { display: flex; justify-content: space-between; color: #697069; font: 9px var(--mono); letter-spacing: .1em; }
.profile-wrap { min-height: 410px; display: grid; place-items: center; position: relative; }
#discProfile, #builderProfile { width: min(100%, 770px); overflow: visible; }
#discProfile text { fill: #686f68; font: 8px var(--mono); letter-spacing: .09em; }
.disc-shadow { fill: #000; opacity: .55; filter: blur(4px); }
.speed-readout { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.speed-readout span, .speed-readout small { display: block; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.speed-readout strong { display: block; font-size: 56px; line-height: 1.1; letter-spacing: -.08em; }
.speed-readout small { max-width: 90px; line-height: 1.45; }
.flight-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.flight-strip > div { padding: 17px 15px 0; border-right: 1px solid var(--line); }
.flight-strip > div:last-child { border: 0; }
.flight-strip span, .flight-strip strong { display: block; }
.flight-strip span { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.flight-strip strong { margin-top: 5px; font-size: 12px; }
.ballot-panel, .builder-controls { padding: 55px 44px; }
.ballot-panel h3, .builder-controls h3, .community-section h3, .name-layout h3 { margin: 0; font-size: 31px; letter-spacing: -.05em; }
.muted { color: var(--muted); line-height: 1.6; font-size: 13px; }
.mobile-speed-preview { display: none; }
.range-head { display: flex; justify-content: space-between; margin-top: 50px; color: #697069; font: 8px var(--mono); text-transform: uppercase; }
input[type="range"] {
  width: 100%; margin: 23px 0 10px; appearance: none; height: 3px; border-radius: 3px;
  background: linear-gradient(to right, var(--acid) var(--progress, 46%), #30342f var(--progress, 46%));
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border: 6px solid var(--acid); border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 4px rgba(255,122,69,.1); cursor: grab;
}
.range-ticks { position: relative; height: 18px; color: #666c66; font: 8px var(--mono); }
.range-ticks span {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}
.range-ticks span.selected { color: var(--acid); }
.insight-card { display: flex; gap: 14px; align-items: flex-start; padding: 17px; margin: 40px 0 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.insight-icon { color: var(--acid); font-size: 22px; }
.insight-card p { margin: 0; font-size: 11px; line-height: 1.55; color: #adb3ac; }
.submit-button { width: 100%; display: flex; justify-content: space-between; border-radius: 11px; padding: 15px 18px; }
.submit-button:disabled {
  cursor: not-allowed; transform: none; box-shadow: none;
  background: #2a2e29; color: #777d76;
}
.fine-print { color: #656b65; font-size: 9px; text-align: center; }

.builder-preview { min-height: 560px; }
.geometry-education { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.education-heading { padding: 15px 17px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.education-heading span, .education-heading strong { display: block; }
.education-heading span { margin-bottom: 5px; color: var(--acid); font: 8px var(--mono); letter-spacing: .1em; }
.education-heading strong { font-size: 14px; }
#geometryEducation article { display: grid; grid-template-columns: 145px 1fr; gap: 16px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
#geometryEducation article:last-child { border: 0; }
#geometryEducation article div span, #geometryEducation article div strong { display: block; }
#geometryEducation article div span { color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }
#geometryEducation article div strong { margin-top: 4px; color: var(--acid); font-size: 12px; }
#geometryEducation article p { margin: 0; color: #a4aaa3; font-size: 10px; line-height: 1.55; }
.estimate-note { text-align: center; color: #626862; font-size: 9px; }
.control-group { margin-top: 25px; }
.control-group > label { display: flex; justify-content: space-between; margin-bottom: 9px; font: 9px var(--mono); text-transform: uppercase; color: var(--muted); }
.control-group > label span { color: var(--acid); }
.geometry-scale { display: flex; justify-content: space-between; margin-bottom: 8px; color: #666c66; font: 7px var(--mono); text-transform: uppercase; }
input.geometry-slider {
  width: 100%; height: 6px; margin: 7px 0 4px; border-radius: 99px;
  appearance: none; background: #30342f;
  cursor: pointer;
}
input.geometry-slider::-webkit-slider-thumb {
  width: 20px; height: 20px; border: 3px solid #111411; border-radius: 50%;
  appearance: none; background: var(--acid); box-shadow: 0 0 0 1px rgba(255,122,69,.5);
}
input.geometry-slider::-moz-range-thumb {
  width: 16px; height: 16px; border: 3px solid #111411; border-radius: 50%;
  background: var(--acid); box-shadow: 0 0 0 1px rgba(255,122,69,.5);
}
.option-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.option-button { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 10px 6px; font-size: 10px; cursor: pointer; }
.option-button.active { border-color: var(--acid); background: var(--acid-soft); color: var(--acid); }
.community-section { padding: 42px 34px; border-top: 1px solid var(--line); }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.design-card { border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 15px; padding: 18px; cursor: pointer; transition: .2s; }
.design-card:hover, .design-card.voted { border-color: rgba(255,122,69,.7); background: var(--acid-soft); }
.empty-state {
  grid-column: 1 / -1; padding: 38px; border: 1px dashed var(--line);
  border-radius: 15px; color: var(--muted); text-align: center; font-size: 12px;
}
.design-card svg { width: 100%; height: 70px; }
.design-card div { display: flex; justify-content: space-between; align-items: center; }
.design-card strong { font-size: 12px; }
.design-card span { color: var(--muted); font: 9px var(--mono); }

.name-layout { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 560px; }
.name-layout > div { padding: 60px; }
.name-layout > div:first-child { border-right: 1px solid var(--line); }
.name-form { margin-top: 48px; }
.name-form label, .dialog-card label { display: block; margin: 17px 0 8px; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.name-input-wrap { position: relative; margin-bottom: 12px; }
.name-input-wrap input, .dialog-card input {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.03);
  color: var(--text); padding: 15px 70px 15px 15px; outline: none;
}
.name-input-wrap input:focus, .dialog-card input:focus { border-color: var(--acid); }
.name-input-wrap span { position: absolute; right: 14px; top: 17px; color: #656b65; font: 8px var(--mono); }
.name-ballot-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: #697069; font: 9px var(--mono); }
.name-option { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; padding: 22px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.name-option:hover strong, .name-option.voted strong { color: var(--acid); }
.name-option > span { color: #5d635d; font: 10px var(--mono); }
.name-option strong { font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.name-option button { border: 1px solid var(--line); border-radius: 99px; background: transparent; padding: 7px 11px; font-size: 9px; cursor: pointer; }
.name-option.voted button { border-color: var(--acid); color: var(--acid); }

.process { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0; }
.section-intro { text-align: center; }
.section-intro h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.065em; line-height: 1; font-weight: 500; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 62px; }
.process-grid article { min-height: 350px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.02); }
.process-grid article > span { color: var(--acid); font: 10px var(--mono); }
.process-grid h3 { margin: 32px 0 10px; font-size: 18px; }
.process-grid p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.mini-profile, .word-art { height: 150px; display: grid; place-items: center; }
.mini-profile::after { content: ""; display: block; width: 78%; height: 22px; border-radius: 60% 60% 30% 30%; border-top: 6px solid #c3c5c0; border-bottom: 2px solid #686d67; transform: perspective(100px) rotateX(-9deg); }
.process-profile, .shape-profile { position: relative; width: 100%; overflow: hidden; }
.process-profile::after, .shape-profile::after { display: none; }
.process-profile svg, .shape-profile svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.process-profile small, .shape-profile small {
  position: absolute; right: 3px; bottom: 8px; color: #697069;
  font: 8px var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.word-art { color: #727772; font: 54px var(--mono); }
.promise { padding: 130px 24px; text-align: center; background: var(--acid); color: #0a0c09; }
.promise > p { font: 10px var(--mono); letter-spacing: .1em; }
.promise h2 { margin: 22px auto; font-size: clamp(43px, 6vw, 76px); line-height: 1; letter-spacing: -.07em; font-weight: 600; }
.promise-list { display: flex; justify-content: center; gap: 28px; margin: 32px 0; font-size: 11px; }
.promise .primary-button { background: #0a0c09; color: var(--text); }
footer { width: min(1380px, calc(100% - 48px)); min-height: 110px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }

dialog { padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #111411; color: var(--text); width: min(490px, calc(100% - 30px)); box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(10px); }
.dialog-card { padding: 38px; position: relative; }
.dialog-card h2 { font-size: 35px; letter-spacing: -.06em; margin: 10px 0; }
.dialog-close { position: absolute; right: 18px; top: 16px; border: 0; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.checkout-summary { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 16px; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.checkout-summary strong { color: var(--acid); font-size: 20px; }
.checkout-summary small { grid-column: 1 / -1; color: var(--muted); }
.quantity-field { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.quantity-stepper {
  display: grid;
  grid-template-columns: 42px 48px 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #171a17;
}
.quantity-stepper button {
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.quantity-stepper button:hover:not(:disabled) { background: var(--acid-soft); color: var(--acid); }
.quantity-stepper button:disabled { color: #535852; cursor: not-allowed; }
.quantity-stepper output {
  display: grid;
  place-items: center;
  height: 42px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--text);
  font: 16px var(--mono);
}
.vote-limit-note {
  margin: 10px 0 18px;
  padding: 11px 13px;
  border-left: 2px solid var(--acid);
  background: var(--acid-soft);
  color: var(--text);
  font-size: 11px;
  line-height: 1.5;
}
.dialog-card .submit-button { margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 20; padding: 11px 16px; background: var(--text); color: var(--bg); border-radius: 99px; font-size: 11px; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .vote-layout, .builder-layout, .name-layout { grid-template-columns: 1fr; }
  .disc-studio, .name-layout > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 260px; }
  .mini-profile, .word-art { height: 90px; }
  .design-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header, .stage-shell, footer { width: calc(100% - 24px); }
  .member-pill { padding: 9px; }
  #memberLabel { display: none; }
  .hero { width: calc(100% - 28px); padding: 90px 0 70px; }
  .hero h1 { font-size: 49px; }
  .hero-actions { flex-direction: column; }
  .stage-topbar { align-items: flex-start; padding: 22px; }
  .countdown { min-width: 0; }
  .disc-studio, .ballot-panel, .builder-controls, .community-section, .name-layout > div { padding: 28px 20px; }
  #speedView .disc-studio { display: none; }
  .profile-wrap { min-height: 300px; }
  .speed-readout { left: 0; top: 26%; }
  .speed-readout strong { font-size: 41px; }
  .flight-strip > div { padding-left: 5px; padding-right: 5px; }
  .mobile-speed-preview {
    display: block;
    position: sticky;
    top: 10px;
    z-index: 3;
    margin: 24px 0 18px;
    padding: 14px 14px 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,.07), transparent 55%),
      rgba(12, 15, 12, .92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
  }
  .mobile-preview-labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    color: #697069;
    font: 8px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-preview-labels strong {
    color: var(--acid);
    font-weight: 500;
    text-align: right;
  }
  .mobile-speed-preview svg {
    display: block;
    width: 100%;
    height: 120px;
    margin-top: 2px;
    overflow: visible;
  }
  .ballot-panel .range-head { margin-top: 18px; }
  .promise-list { flex-direction: column; gap: 12px; }
  footer { flex-direction: column; justify-content: center; gap: 10px; }
}
