:root {
  --bg: #000;
  --bg-2: #030705;
  --ink: #f2f7f3;
  --ink-2: #a9b3ac;
  --ink-3: #6f7a73;
  --green: #4dff7a;
  --green-2: #9dffb6;
  --green-dim: #1f6b38;
  --line: rgba(77, 255, 122, 0.22);
  --line-2: rgba(77, 255, 122, 0.45);
  --panel: rgba(4, 16, 9, 0.72);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5.5vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: #031; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #143b22; border: 2px solid #000; border-radius: 8px; }
:focus-visible { outline: 1.5px solid var(--green); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
img { display: block; }
svg { display: block; }

/* mono label voice, from the mockup: small caps, wide tracking */
.mono, .eyebrow, .panel h3, .panel .sub, .strip, .vertical-note, .btn-mono, .chain-pill, .tile-sub, .strip-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* star field */
.stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 8%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 26%, rgba(200,255,215,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 12%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 54%, rgba(255,255,255,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 70%, rgba(255,255,255,0.25) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 82%, rgba(180,255,200,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 58%, rgba(255,255,255,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 92%, rgba(255,255,255,0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 88%, rgba(255,255,255,0.3) 50%, transparent 51%);
  opacity: 0.8;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 88px; padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.55) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 44px; height: 44px; mix-blend-mode: screen; }
.brand-word { width: 150px; height: auto; mix-blend-mode: screen; }
.links { display: flex; gap: clamp(20px, 2.6vw, 48px); justify-self: center; }
.links a {
  position: relative; font-weight: 400; font-size: 15px; color: var(--ink-2);
  padding: 6px 2px; transition: color 200ms var(--ease);
}
.links a.is-active, .links a:hover { color: var(--ink); }
.links a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  transform: translateX(-50%) scale(0); transition: transform 200ms var(--ease);
}
.links a.is-active::after { transform: translateX(-50%) scale(1); }
.links a.is-active::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.nav-right { display: flex; align-items: center; gap: 22px; justify-self: end; }
.chain-pill {
  display: flex; align-items: center; gap: 8px; color: var(--green);
  font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400;
  padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.1); white-space: nowrap;
}
.feather { width: 18px; height: 18px; fill: var(--green); }
.burger { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1; cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn-solid {
  background: var(--green); color: #04150a;
  box-shadow: 0 10px 40px rgba(77,255,122,0.25);
}
.btn-solid:hover { background: var(--green-2); box-shadow: 0 14px 50px rgba(77,255,122,0.35); }
.btn-solid svg { margin-left: 28px; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: rgba(0,0,0,0.3); }
.btn-outline:hover { border-color: var(--green); box-shadow: 0 0 0 1px rgba(77,255,122,0.25), inset 0 0 24px rgba(77,255,122,0.08); }
.btn-outline svg { color: var(--green); }
.btn-mono { height: 48px; padding: 0 28px; font-weight: 500; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* hero */
.hero {
  position: relative; z-index: 1; isolation: isolate;
  padding: 24px var(--gutter) 0; min-height: calc(100dvh - 88px); overflow: hidden;
  display: flex; flex-direction: column;
}
.planet { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 24px; flex: 1;
}
.hero-copy { padding-top: 40px; }
.eyebrow { display: flex; align-items: center; gap: 18px; color: var(--green); margin-bottom: 28px; }
.eyebrow i, .vertical-note i, .strip i { display: block; height: 1px; width: 40px; background: var(--line-2); }
h1 {
  font-size: clamp(44px, 6.4vw, 96px); font-weight: 300; line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: normal; display: block; color: var(--green-2);
  text-shadow: 0 0 18px rgba(77,255,122,0.55), 0 0 60px rgba(77,255,122,0.25);
}
.lede { margin-top: 32px; font-size: clamp(17px, 1.5vw, 22px); color: var(--ink-2); line-height: 1.4; }
.cta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; padding-right: 150px; }
.mark {
  width: 112%; max-width: 800px; height: auto; mix-blend-mode: screen;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.vertical-note {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); line-height: 2.4; text-align: left;
}
.vertical-note i { margin-top: 12px; }

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: 48px;
}
.panel {
  --c: 20px; position: relative; padding: 32px 40px 30px;
  background: linear-gradient(135deg, rgba(77,255,122,0.5), rgba(77,255,122,0.12) 40%, rgba(77,255,122,0.08) 60%, rgba(77,255,122,0.45));
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: transform 300ms var(--ease);
}
.panel::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: var(--panel); backdrop-filter: blur(10px);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.panel { isolation: isolate; }
.panel h3 { color: var(--ink-2); font-weight: 400; }
.panel .value { margin-top: 14px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel .value-mono { font-family: var(--mono); font-size: clamp(14px, 1.3vw, 20px); letter-spacing: 0; }
.panel .sub { margin-top: 16px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.panel .sub .feather { width: 14px; height: 14px; }
.panel .sub .tri { color: var(--green); font-size: 9px; }
.panel .sub.up { color: var(--green); }
.panel .sub.down { color: #ff6b6b; }
.panel .sub.down .tri { color: #ff6b6b; transform: rotate(180deg); display: inline-block; }
.value-live { display: flex; align-items: center; gap: 14px; color: var(--green); text-shadow: 0 0 20px rgba(77,255,122,0.5); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 14px var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 10px var(--green); } 50% { box-shadow: 0 0 22px var(--green); } }
.panel-wide { grid-column: span 3; }
.panel-actions { display: flex; gap: 12px; margin-top: 20px; }

.strip {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 52px 0 28px; color: var(--ink-3);
}
.strip span { display: flex; align-items: center; gap: 18px; }
.strip i { width: min(30vw, 420px); background: linear-gradient(90deg, var(--line-2), transparent); }

/* about */
.about { position: relative; z-index: 1; padding: clamp(96px, 12vw, 180px) var(--gutter); }
.about-head { max-width: 1100px; }
h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; }
.about-intro { margin-top: 40px; max-width: 70ch; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); line-height: 1.5; }
.about-intro.strong { color: var(--ink); font-weight: 400; margin-top: 20px; }

.becomes { list-style: none; padding: 0; margin: clamp(72px, 9vw, 140px) 0; border-top: 1px solid rgba(255,255,255,0.08); }
.becomes li {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(28px, 4.2vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1;
  opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.becomes li.in { opacity: 1; transform: none; }
.becomes .from { color: var(--ink-2); text-align: right; }
.becomes .arrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.becomes .to { color: var(--green-2); text-shadow: 0 0 18px rgba(77,255,122,0.45); }

.about-body { max-width: 70ch; display: grid; gap: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.about-body .strong { color: var(--ink); font-weight: 400; font-size: 1.15em; }

.claim { margin-top: clamp(80px, 10vw, 150px); text-align: center; }
.claim p { font-size: clamp(30px, 4.4vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.claim .green { color: var(--green-2); text-shadow: 0 0 20px rgba(77,255,122,0.55), 0 0 70px rgba(77,255,122,0.25); }
.claim .small { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }

/* tokenomics */
.tokenomics { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tk-grid .panel { min-height: 170px; }

/* community */
.community { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.community .lede { max-width: 60ch; }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.link-tile {
  --c: 20px; position: relative; isolation: isolate; display: grid; gap: 10px; padding: 36px 40px; min-height: 200px; align-content: end;
  background: linear-gradient(135deg, rgba(77,255,122,0.5), rgba(77,255,122,0.12) 40%, rgba(77,255,122,0.08) 60%, rgba(77,255,122,0.45));
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: transform 300ms var(--ease);
}
.link-tile::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--panel);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: background-color 300ms var(--ease);
}
.link-tile:hover::before { background: rgba(10, 36, 18, 0.85); }
.link-tile:hover { transform: translateY(-3px); }
.link-tile svg { width: 32px; height: 32px; fill: var(--green); color: var(--green); margin-bottom: 18px; }
.tile-name { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.tile-sub { color: var(--ink-3); }
.link-tile.off { opacity: 0.45; pointer-events: none; }
.link-tile.off .tile-sub::after { content: " soon"; }

/* footer */
.foot {
  position: relative; z-index: 1; padding: 64px var(--gutter) 40px; border-top: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.foot img { width: 140px; height: auto; mix-blend-mode: screen; }
.foot p { color: var(--ink-3); font-size: 14px; max-width: 48ch; }
.strip-line { color: var(--ink-3); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 30; transform: translate(-50%, 16px); opacity: 0;
  padding: 12px 20px; border-radius: 999px; background: #0a2413; border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1180px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .links { gap: 24px; }
  .chain-pill { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vertical-note { display: none; }
  .hero-art { padding-right: 0; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; height: 72px; }
  .links {
    display: none; position: fixed; inset: 72px 0 auto 0; z-index: 19; flex-direction: column; gap: 0;
    background: rgba(0,0,0,0.96); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .links.open { display: flex; }
  .links a { padding: 14px 0; font-size: 20px; }
  .links a::after, .links a::before { display: none; }
  .nav-right { display: none; }
  .burger {
    display: grid; gap: 6px; justify-self: end; width: 44px; height: 44px; place-content: center;
    background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 200ms var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { min-height: 0; padding-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-art { order: -1; min-height: 0; }
  .mark { width: min(92vw, 520px); margin: 0 auto; }
  .hero-copy { padding-top: 8px; }
  .lede br { display: none; }
  .cta { gap: 14px; }
  .btn-solid svg { margin-left: 12px; }
  .strip { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 40px; }
  .strip i { width: 120px; }
  .becomes li { grid-template-columns: 1fr; gap: 6px; }
  .becomes .from { text-align: left; }
  .tk-grid, .links-grid { grid-template-columns: 1fr; }
  .panel-wide { grid-column: auto; }
  .panel { padding: 28px 28px 26px; }
  .foot { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark, .dot.on { animation: none; }
  .becomes li { opacity: 1; transform: none; transition: none; }
}
