:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --paper: #f5f5f7;
  --white: #ffffff;
  --blue: #0066cc;
  --dark: #000000;
  --nav: 52px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background 0.55s ease, color 0.55s ease;
}
body.theme-dark { background: var(--dark); color: #f5f5f7; }
::selection { background: #1d1d1f; color: #fff; }
body.theme-dark ::selection { background: #f5f5f7; color: #000; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 40;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip:focus { top: 10px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
body.theme-dark .nav {
  background: rgba(22, 22, 23, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand img { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  opacity: 0.88;
}
body.theme-dark .nav-links { color: #f5f5f7; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
}
body.theme-dark .nav-cta { color: #2997ff; }
.x-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}
.x-btn:hover { background: rgba(0, 0, 0, 0.04); }
body.theme-dark .x-btn { border-color: rgba(255, 255, 255, 0.28); }
body.theme-dark .x-btn:hover { background: rgba(255, 255, 255, 0.08); }
body.theme-dark .x-btn img { filter: invert(1); }

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--nav) + 72px) 8vw 80px;
}
.hero { align-items: center; text-align: center; min-height: 100vh; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
body.theme-dark .eyebrow { color: #a1a1a6; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; margin: 0; }
h1 {
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.lede, .quiet {
  color: var(--muted);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.016em;
}
body.theme-dark .quiet { color: #a1a1a6; }
.lede { max-width: 34rem; margin: 18px auto 0; }
.actions { display: flex; gap: 22px; align-items: center; margin-top: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  border: 0;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.btn-dark { background: #1d1d1f; color: #fff; }
.btn-dark:hover { background: #000; }
body.theme-dark .btn-dark { background: #f5f5f7; color: #1d1d1f; }
.btn-text { color: var(--blue); padding: 0; min-height: 0; background: none; }
.btn-text:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: default; }

.split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  max-width: 560px;
}
.copy h2 { max-width: 14ch; }
.quiet { margin: 16px 0 0; max-width: 38rem; }
.multiples, .steps ol { list-style: none; margin: 0; padding: 0; }
.multiples { display: grid; gap: 0; align-self: center; width: min(420px, 100%); }
.multiples li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.multiples li:last-child { border-bottom: 1px solid var(--line); }
.multiples strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.multiples span, .steps p { color: var(--muted); font-size: 17px; }

.steps { align-items: center; text-align: center; }
.steps .copy { margin-bottom: 48px; }
.steps h2 { max-width: none; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 28px;
  width: min(980px, 100%);
  text-align: left;
}
.steps li {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 28px 24px 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.steps li span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 28px;
}
.steps h3 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; }
.steps p { margin: 0; line-height: 1.4; }

.tokenomics {
  justify-content: center;
  box-sizing: border-box;
  max-width: 780px;
  padding-bottom: 10vh;
}
.tokenomics h2 { max-width: 8ch; margin-bottom: 8px; }
.tomo { margin: 8px 0 0; width: min(520px, 100%); }
.tomo div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.tomo div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.tomo dt { margin: 0; font-size: 13px; font-weight: 500; color: #a1a1a6; }
.tomo dd { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
#ca-line { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; word-break: break-all; }
.token-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost {
  background: transparent;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.close { align-items: flex-start; justify-content: center; min-height: 80vh; }
.close h2 { max-width: none; }
.close .quiet { margin-bottom: 28px; }

.foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 28px 8vw 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; }
.foot strong { display: block; color: var(--ink); font-size: 14px; letter-spacing: -0.02em; }
body.theme-dark .foot strong { color: #f5f5f7; }
.foot p { margin: 0; max-width: 62ch; }
.foot a { color: var(--blue); }
.foot-end { display: flex; align-items: center; gap: 16px; }
.foot .x-btn { color: var(--ink); }

.sheet-page { background: var(--paper); }
.sheet {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--nav) + 56px) 0 72px;
}
.sheet-head { max-width: 640px; margin-bottom: 40px; }
.sheet-head h1 { font-size: clamp(48px, 6vw, 72px); }
.sheet-head .lede { margin: 14px 0 0; font-size: 19px; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 380px);
  gap: 28px;
  align-items: start;
}
.board-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.board-tools input, .field input {
  width: min(280px, 100%);
  height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #e8e8ed;
  padding: 0 14px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.board-tools input:focus, .field input:focus { outline: none; background: #fff; border-color: #1d1d1f; }
.count { margin: 0; font-size: 12px; color: var(--muted); }
.token-list { display: grid; gap: 8px; }
.token {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}
.token[aria-selected="true"] { border-color: #1d1d1f; background: #fff; }
.token:hover { background: #fff; }
.mark-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f5f7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.token h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.token p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.token .px { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; text-align: right; }
.veil { display: inline-block; filter: blur(5px); user-select: none; }
.token .soon {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.token .chg { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; }
.up { color: #1d7a32; }
.down { color: #b42318; }

.ticket {
  position: sticky;
  top: calc(var(--nav) + 20px);
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.ticket h2 { font-size: 32px; max-width: none; }
.token-name { margin: 18px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.coming-line {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.coming-line[hidden] { display: none; }
.token-meta { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: #e8e8ed;
  border-radius: 12px;
}
.segment button {
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}
.segment button[aria-checked="true"] {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.field { display: block; margin-top: 18px; }
.field span { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; background: #f5f5f7; }
.hint, .fine { color: var(--muted); font-size: 12px; line-height: 1.45; }
.hint { margin: 8px 0 0; }
.figures { margin: 22px 0; display: grid; gap: 12px; }
.figures div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.figures dt { font-size: 14px; color: var(--muted); }
.figures dd { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.figures.is-soon dd { filter: blur(6px); user-select: none; }
.fine { margin: 14px 0 0; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .split, .workspace, .steps ol, .foot { grid-template-columns: 1fr; }
  .panel { padding-left: 22px; padding-right: 22px; }
  .hero { align-items: flex-start; text-align: left; }
  .lede { margin-left: 0; }
  .tokenomics { max-width: none; }
  .ticket { position: static; }
  .sheet { width: min(100% - 32px, 1120px); }
  #scene { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
}
