:root {
  --bg: #050505;
  --panel: #0c0c0c;
  --raise: #141414;
  --ink: #f4f4f4;
  --mute: rgba(244, 244, 244, .56);
  --faint: rgba(244, 244, 244, .36);
  --stroke: rgba(255, 255, 255, .09);
  --stroke2: rgba(255, 255, 255, .16);
  --go: #3be08f;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --side-w: 238px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.frame {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.side {
  width: var(--side-w);
  flex: 0 0 var(--side-w);
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--stroke);
  background: #070707;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 22px;
}

.side-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: block;
}

.side-logo span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.side-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-item {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--mute);
  font-size: 14.5px;
  font-weight: 500;
  transition: .15s;
}

.side-item:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
}

.side-item.is-on {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.pane {
  flex: 1;
  min-width: 0;
}

.pane-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.pane-mark {
  display: none;
  align-items: center;
  gap: 9px;
}

.pane-mark img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.pane-mark span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.pane-grow {
  flex: 1;
}

.pane-body {
  padding: 0 26px;
}

.center {
  max-width: 1000px;
  margin: 0 auto;
}

.chip {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .15s;
  white-space: nowrap;
}

.chip:active { transform: translateY(1px); }
.chip-solid { background: #fff; color: #000; }
.chip-solid:hover { filter: brightness(.92); }
.chip-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke2);
}
.chip-ghost:hover { background: rgba(255, 255, 255, .06); }
.chip-lg { padding: 13px 24px; font-size: 15px; }
.chip-full { width: 100%; }

.lead {
  text-align: center;
  padding: 70px 0 40px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #0e0e0e;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 26px;
}

.tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 4px rgba(59, 224, 143, .15);
}

.lead h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin: 0 auto;
}

.lead-text {
  color: var(--mute);
  font-size: 18px;
  max-width: 52ch;
  margin: 22px auto 0;
}

.lead-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.zone { padding: 52px 0; }
.zone-box { padding-top: 20px; }
.zone-tight { padding-top: 10px; }

.zone-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.zone-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.zone-head p {
  margin-top: 12px;
  color: var(--mute);
  font-size: 16px;
}

.box-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  padding: 14px;
}

.box-form {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.box-form h2 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.box-copy {
  color: var(--mute);
  font-size: 14px;
  margin-top: -8px;
  line-height: 1.55;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
  padding: 5px 11px;
}

.mini-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px rgba(59, 224, 143, .14);
}

.fld span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 9px;
}

.fld span b { color: var(--ink); font-size: 15px; }

.fld-num {
  width: 100%;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  background: var(--raise);
  border: 1px solid var(--stroke2);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.fld-num:focus {
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  margin-top: 12px;
  background: linear-gradient(90deg, #fff var(--p, 30%), rgba(255, 255, 255, .14) var(--p, 30%));
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
}

.out {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--stroke2);
  border-radius: 14px;
  padding: 22px;
}

.out-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke);
}

.out-top span {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}

.out-top strong {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.02;
}

.out-row {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.out-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.out-row span {
  font-size: 12px;
  color: var(--mute);
}

.out-row b { font-size: 18px; font-weight: 600; }

.box-stage {
  background: linear-gradient(180deg, #000, #0e0e0e);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.box-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .14), transparent 55%);
  pointer-events: none;
}

.crate-vis {
  position: relative;
  z-index: 2;
  text-align: center;
}

.crate-shell {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  background: #050505;
  overflow: hidden;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06);
}

.crate-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, #fff, #b8b8b8);
  transition: height 1s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 0 40px rgba(255, 255, 255, .4);
}

.crate-fill::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255, 255, 255, .7);
  opacity: .6;
}

.crate-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.crate-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  z-index: 2;
}

.pin {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  z-index: 2;
}

.p1 { top: 12px; left: 12px; }
.p2 { top: 12px; right: 12px; }
.p3 { bottom: 12px; left: 12px; }
.p4 { bottom: 12px; right: 12px; }

.crate-ico {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}

.crate-ico img {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .7));
  mix-blend-mode: screen;
}

.crate-meta { margin-top: 26px; }

.crate-pct {
  font-family: var(--display);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
}

.crate-meta p {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(244, 244, 244, .6);
}

.tier-pill {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  font-size: 13px;
  font-weight: 600;
}

.note {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--faint);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-cell {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--panel);
  padding: 26px;
}

.step-cell span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  opacity: .85;
  line-height: 1;
}

.step-cell h3 {
  margin: 12px 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.step-cell p {
  color: var(--mute);
  font-size: 14px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: var(--panel);
  padding: 40px;
}

.stat-strip b {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--mute);
}

.end-call {
  text-align: center;
  border: 1px solid var(--stroke2);
  border-radius: 20px;
  padding: 52px 30px;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(255, 255, 255, .08), transparent 60%),
    #0a0a0a;
}

.end-call h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.end-call p {
  max-width: 520px;
  margin: 12px auto 26px;
  color: var(--mute);
}

.foot {
  margin-top: 64px;
  padding: 44px 0 60px;
  border-top: 1px solid var(--stroke);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.foot-brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.foot-grid > div > p {
  margin-top: 12px;
  max-width: 320px;
  color: var(--mute);
  font-size: 14px;
}

.foot-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.foot-links h4 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.foot-links a,
.foot-links button {
  display: block;
  margin-bottom: 8px;
  color: var(--mute);
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.foot-links a:hover,
.foot-links button:hover { color: var(--ink); }

.mint {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--mute);
}

.mint code {
  background: var(--raise);
  border: 1px solid var(--stroke2);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  color: var(--ink);
  word-break: break-all;
}

.mint button {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--stroke2);
  background: var(--raise);
  color: var(--ink);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
}

.mint button:hover { background: #1e1e1e; }

.disc {
  margin-top: 28px;
  max-width: 940px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--faint);
}

.fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s, transform .7s;
}

.fade.up {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .side { display: none; }
  .pane-mark { display: flex; }
  .box-board { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); padding: 30px; }
}

@media (max-width: 520px) {
  .pane-body { padding: 0 18px; }
  .pane-bar { padding: 12px 14px; gap: 8px; }
  .crate-shell { width: 188px; height: 188px; }
  .box-stage { padding: 22px; min-height: 380px; }
  .crate-pct { font-size: 50px; }
  .box-form { padding: 24px 20px; }
  .out-top strong { font-size: 32px; }
}
