:root {
  --bg: #050605;
  --bg-2: #0b0d0c;
  --card: #111413;
  --card-2: #171b19;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f4f3;
  --muted: #9aa39e;
  --green: #36d65c;
  --green-hi: #8dff9a;
  --green-deep: #0f7a2c;
  --steel: #c9ced4;
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
main { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; margin: 0; }

/* ── nav ───────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(5, 6, 5, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px/1 var(--display); letter-spacing: -0.04em; }
.brand img { display: block; }
.links { display: flex; gap: 24px; margin-left: 32px; }
.links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-btn { border: 0; border-radius: 99px; padding: 11px 18px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; }
.nav-btn:hover { background: var(--green-hi); }

/* ── hero ──────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(48px, 7vw, 104px) clamp(16px, 5vw, 72px) clamp(64px, 8vw, 120px); }
.glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 520px at 76% 58%, rgba(47, 211, 107, 0.55), rgba(20, 101, 47, 0.22) 45%, transparent 75%); }
.hero-copy { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--mono); color: var(--muted); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(54, 214, 92, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(54, 214, 92, 0); } }
.hero h1 { font-size: clamp(48px, 7vw, 104px); line-height: 0.98; }
.tagline { margin: 18px 0 0; font: 500 clamp(20px, 2.2vw, 30px)/1.25 var(--display); letter-spacing: -0.03em; color: var(--steel); }
.lede { max-width: 32em; margin: 22px 0 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 99px; text-decoration: none; font: 500 16px/1 var(--display); letter-spacing: -0.01em; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn.green { background: var(--green); color: #04140a; box-shadow: 0 0 0 1px rgba(141, 255, 154, 0.5) inset, 0 12px 40px -10px rgba(54, 214, 92, 0.7); }
.btn.green:hover { background: var(--green-hi); }
.btn.ghost { color: var(--text); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.ca { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 100%; margin-top: 30px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); font: 12.5px/1.3 var(--mono); }
.ca b { color: var(--green-hi); }
.ca a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.ca a:hover { color: var(--text); }
.ca button { border: 0; border-radius: 9px; padding: 7px 11px; background: var(--text); color: var(--bg); font: 600 12px var(--sans); }

/* ── the machine: graphite, chrome door, green light ── */
.stage { position: relative; z-index: 2; justify-self: center; width: min(100%, 460px); }
.floor { position: absolute; left: 4%; right: 4%; bottom: -34px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(125, 255, 159, 0.5), transparent); filter: blur(6px); }
.machine { position: relative; padding: 18px 22px 24px; border-radius: 30px; background: linear-gradient(160deg, #3a4044 0%, #1d2124 38%, #121517 70%, #23282b 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(54, 214, 92, 0.35); }
.machine::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px); }
.panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.panel-logo { display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); }
.screen { padding: 9px 12px; border-radius: 12px; background: #030503; font-family: var(--mono); box-shadow: inset 0 0 0 1px rgba(54, 214, 92, 0.25), inset 0 6px 14px rgba(0, 0, 0, 0.8); }
.scr-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); }
.scr-top #scrProg { color: var(--green-hi); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.scr-big { display: flex; align-items: baseline; gap: 8px; margin: 2px 0; }
.scr-big b { font: 600 26px/1.1 var(--display); color: var(--green-hi); text-shadow: 0 0 14px rgba(141, 255, 154, 0.45); }
.scr-big small { font-size: 10px; color: rgba(255, 255, 255, 0.5); line-height: 1.2; }
.scr-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.scr-row b { color: #fff; }
.bar { flex: 1; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--green); }
.knob { --turn: 0deg; position: relative; width: 56px; height: 56px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fafbfc, #b9bfc6 55%, #5d646b); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.55), inset 0 -3px 5px rgba(0, 0, 0, 0.3); transform: rotate(var(--turn)); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.knob i { position: absolute; left: 50%; top: 7px; width: 4px; height: 15px; margin-left: -2px; border-radius: 3px; background: #0b0d0c; }
.knob:active { transform: rotate(var(--turn)) scale(0.95); }
.progs { display: flex; justify-content: flex-end; gap: 6px; margin: 10px 0 4px; }
.progs button { border: 0; padding: 5px 10px; border-radius: 99px; background: transparent; color: rgba(255, 255, 255, 0.45); font: 600 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.progs button.on { background: rgba(54, 214, 92, 0.14); color: var(--green-hi); box-shadow: inset 0 0 0 1px rgba(54, 214, 92, 0.4); }
.door { position: relative; display: grid; place-items: center; padding: 12px 0 4px; }
.door-ring { position: relative; width: 88%; aspect-ratio: 1; border-radius: 50%; padding: 6.5%; background: conic-gradient(from 210deg, #f4f6f8, #6f757d, #e3e6ea, #3d4248, #f4f6f8, #8d939b, #f4f6f8); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.door-ring::before { content: ""; position: absolute; inset: 4.6%; border-radius: 50%; background: #030403; }
#drum { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; cursor: grab; touch-action: none; }
#drum:active { cursor: grabbing; }
.hinge { position: absolute; right: 1%; top: 50%; width: 13px; height: 56px; margin-top: -24px; border-radius: 7px; background: linear-gradient(90deg, #4a5056, #b9bfc6); }
.hint { margin: 10px 0 0; text-align: center; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }

/* ── marquee ───────────────────────────────────────── */
.marquee { overflow: hidden; position: relative; z-index: 3; border-block: 1px solid var(--line-2); background: linear-gradient(90deg, #0b0d0c, #121614 50%, #0b0d0c); }
.marquee div { display: flex; gap: 28px; padding: 18px 28px 18px 0; width: max-content; font: 600 clamp(18px, 2.2vw, 26px)/1 var(--display); letter-spacing: -0.02em; color: var(--steel); animation: slide 30s linear infinite; }
.marquee div { color: var(--green); }
.marquee span { color: var(--steel); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── slabs ─────────────────────────────────────────── */
.slab { padding: clamp(64px, 8vw, 120px) clamp(16px, 5vw, 72px); }
.slab-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.slab-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.slab-head p { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
.slab.steel { background: radial-gradient(900px 400px at 20% 0%, rgba(54, 214, 92, 0.12), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { padding: 28px; border-radius: 26px; background: linear-gradient(160deg, #1b201d, #101311); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.steps article:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(54, 214, 92, 0.4); }
.steps .n { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: #04140a; font: 600 16px/1 var(--display); box-shadow: 0 0 30px -4px rgba(54, 214, 92, 0.7); }
.steps h3 { margin: 22px 0 10px; font-size: 28px; }
.steps p { margin: 0; color: var(--muted); }

/* honest */
.honest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.honest li { padding: 22px 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.honest b { display: block; margin-bottom: 4px; color: var(--text); font-size: 17px; }

/* faq */
#faq { padding-top: 0; }
.faq { max-width: 860px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 clamp(17px, 1.6vw, 21px)/1.3 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(54, 214, 92, 0.14); color: var(--green-hi); font: 500 22px/1 var(--sans); box-shadow: inset 0 0 0 1px rgba(54, 214, 92, 0.4); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; max-width: 640px; color: var(--muted); }

/* footer */
.foot { position: relative; overflow: hidden; padding: 80px clamp(16px, 5vw, 72px) 32px; background: radial-gradient(800px 360px at 30% 100%, rgba(54, 214, 92, 0.22), transparent 70%), #030403; border-top: 1px solid var(--line); }
.foot-mark { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.foot-mark img { width: clamp(56px, 9vw, 120px); height: auto; flex: none; }
.foot-mark p { margin: 0; font: 600 clamp(44px, 10.5vw, 170px)/0.9 var(--display); letter-spacing: -0.06em; background: linear-gradient(180deg, #ffffff 10%, #8d939b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-tag { margin: 28px 0 0; font: 500 18px/1.4 var(--display); color: var(--steel); letter-spacing: -0.02em; }
.foot-small { margin: 28px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ── small screens ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .swap-wrap { grid-template-columns: 1fr; }
  .receipt { transform: none; max-width: 520px; }
  .steps { grid-template-columns: 1fr; }
  .honest { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav-btn { margin-left: auto; }
  .panel { grid-template-columns: 1fr auto; }
  .panel-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* name and coin images */
.brand b, .foot-mark b { font-weight: inherit; color: var(--green-hi); -webkit-text-fill-color: var(--green-hi); }
.ca span { color: var(--muted); }
.tok img.c { object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }

/* live vault data on the machine */
.scr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.scr-grid small { display: block; font-size: 9px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.45); }
.scr-grid b { font: 600 13px/1.3 var(--display); color: #fff; white-space: nowrap; }
#liveState { color: var(--green-hi); }
.tape-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }
#vault { padding-top: 0; }
#vault .tape { justify-content: flex-start; max-width: none; }
