:root {
  color-scheme: dark;
  --bg: #050605;
  --surface: #080a08;
  --line: #e8eee829;
  --line-bright: #e8eee861;
  --text: #e3e6e3;
  --muted: #969b96;
  --green: #75f12d;
  --green-soft: #55a82a;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  min-width: 320px;
}

body {
  background: var(--bg);
  min-width: 320px;
  color: var(--text);
  margin: 0;
}

button, a { font: inherit; }

::selection {
  background: var(--green);
  color: var(--bg);
}

.landing-page {
  background: radial-gradient(circle at 74% 10%, #75f12d06, transparent 25rem), var(--bg);
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

.landing-page:before {
  z-index: 20;
  content: "";
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(0deg, #0000 0 3px, #ffffff05 4px),
    radial-gradient(#ffffff2e .45px, #0000 .55px);
  background-size: 100% 4px, 5px 5px;
  position: fixed;
  inset: 0;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.landing-page button,
.landing-page a {
  -webkit-tap-highlight-color: transparent;
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.landing-page img,
.landing-page svg {
  max-width: 100%;
  display: block;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.skip-link {
  z-index: 100;
  background: var(--green);
  color: #050605;
  padding: .75rem 1rem;
  font-weight: 700;
  position: fixed;
  top: .75rem;
  left: .75rem;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  z-index: 10;
  background: #050605eb;
  border-bottom: 1px solid #ffffff14;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
  padding: 14px clamp(22px, 3vw, 44px);
  position: relative;
}

.brand { display: flex; align-items: center; }
.brand img { width: 190px; height: auto; }

.header-cta { min-width: 154px; }

.button {
  border: 1px solid var(--line-bright);
  min-height: 48px;
  color: var(--text);
  font: 700 .8rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: 0 0;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: .8rem 1.6rem;
  transition: border-color .16s, background .16s, color .16s, transform .16s;
  display: inline-flex;
  cursor: pointer;
}

.button:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #060806;
  min-width: 188px;
  box-shadow: 0 0 24px #75f12d14;
}

.landing-page .button-primary { color: #060806; }
.button-primary:hover { background: #8aff43; }
.button-outline { border-color: var(--green-soft); min-width: 154px; }
.button-ghost { min-width: 154px; }
.doc-icon { font-size: .9rem; }

.landing-page main {
  width: 100%;
  padding: 8px 10px 0;
}

.frame,
.panel {
  border: 1px solid var(--line);
  background-color: #070807a3;
  position: relative;
}

.frame {
  background-image:
    linear-gradient(#ffffff05 1px, #0000 1px),
    linear-gradient(90deg, #ffffff05 1px, #0000 1px);
  background-size: 48px 48px;
}

.corner {
  z-index: 5;
  pointer-events: none;
  width: 14px;
  height: 14px;
  position: absolute;
}

.corner-tl { border-top: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); top: -1px; left: -1px; }
.corner-tr { border-top: 1px solid var(--line-bright); border-right: 1px solid var(--line-bright); top: -1px; right: -1px; }
.corner-bl { border-bottom: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); bottom: -1px; left: -1px; }
.corner-br { border-right: 1px solid var(--line-bright); border-bottom: 1px solid var(--line-bright); bottom: -1px; right: -1px; }

.hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
  min-height: 584px;
  display: grid;
  overflow: hidden;
}

.hero-copy {
  z-index: 3;
  align-self: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 5rem) clamp(32px, 3.3vw, 52px);
  position: relative;
}

.eyebrow {
  color: #c8ccc8;
  letter-spacing: .04em;
  margin: 0 0 1.7rem;
  font-size: clamp(.68rem, 1vw, .81rem);
}

.eyebrow span,
.system-readout span,
.system-readout strong,
.terminal span,
.terminal time {
  color: var(--green);
  font-weight: 400;
}

.hero h1 {
  letter-spacing: .065em;
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.1rem, 4.35vw, 4.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.hero h1 span { display: block; }

.hero-description {
  max-width: 620px;
  color: var(--muted);
  text-transform: none;
  margin: 1.5rem 0 1.8rem;
  font-size: clamp(.78rem, 1.2vw, .95rem);
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 1.2rem;
  display: flex;
}

.hero-visual {
  min-width: 0;
  min-height: 580px;
  position: relative;
}

.hero-visual:before {
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 4%, #050605c7 38%, transparent 100%);
  width: 48%;
  position: absolute;
  inset: 0 auto 0 -22%;
}

.hero-figure {
  object-fit: cover;
  object-position: 67% 40%;
  filter: contrast(1.12) brightness(.95);
  width: 118%;
  max-width: none;
  height: 109%;
  position: absolute;
  inset: -5% -2% -4% -16%;
}

.hero-mark {
  z-index: 3;
  opacity: .86;
  mix-blend-mode: screen;
  width: clamp(92px, 13vw, 170px);
  height: auto;
  position: absolute;
  bottom: 12%;
  right: clamp(7%, 9vw, 15%);
  box-shadow: 0 0 40px #000000d1;
}

.system-readout {
  z-index: 4;
  color: #969c96;
  letter-spacing: .04em;
  background: #00000052;
  border-top: 1px solid #ffffff2e;
  padding: .85rem;
  font-size: clamp(.5rem, .65vw, .64rem);
  position: absolute;
  top: 2.6rem;
  right: 2.2rem;
}

.system-readout p {
  white-space: nowrap;
  margin: .3rem 0;
}

.economy-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  display: grid;
}

.economy-card {
  flex-direction: column;
  min-height: 270px;
  padding: clamp(1.8rem, 3.7vw, 3.1rem);
  display: flex;
}

.panel-heading,
.heading-group {
  align-items: center;
  display: flex;
}

.panel-heading {
  justify-content: space-between;
  gap: 1rem;
}

.heading-group { gap: 1.5rem; }

h2 {
  color: #e3e6e3;
  letter-spacing: .05em;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
}

.line-icon {
  color: #e6e9e6;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.line-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25px;
  width: 100%;
  height: 100%;
}

.coin-icon {
  border: 1px solid;
  border-radius: 50%;
  font-size: 1.3rem;
}

.economy-card > p {
  max-width: 630px;
  color: var(--muted);
  text-transform: none;
  margin: 1.5rem 0 1.8rem;
  line-height: 1.7;
}

.token-list,
.dollar-modes {
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.6rem);
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.token-list li:not(.more) {
  color: #dedfde;
  background: #ffffff06;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.token-list .more {
  color: #bbbebb;
  font-size: .72rem;
}

.dollar-modes { justify-content: space-between; gap: 1rem; }

.dollar-modes li {
  border: 1px solid var(--line);
  text-align: center;
  flex-direction: column;
  flex: 1;
  align-items: center;
  min-width: 94px;
  padding: .7rem .5rem;
  display: flex;
}

.dollar-modes strong { font-size: .75rem; font-weight: 500; }
.dollar-modes span { color: var(--muted); font-size: .64rem; }

.stats-panel {
  min-height: 170px;
  margin-top: 18px;
  padding: 1.2rem 1.4rem 1.8rem;
}

.stats-panel h2 {
  z-index: 2;
  background: var(--bg);
  color: var(--green);
  margin-top: -2rem;
  padding: 0 .55rem;
  font-size: .73rem;
  display: inline-block;
  position: relative;
}

.stat-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr;
  margin: 0;
  padding: 1.5rem 1.5rem 0;
  display: grid;
}

.stat-grid > div {
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 0 2.1rem;
}

.stat-grid > div:first-child { padding-left: 0; }
.stat-grid > div:last-child { border-right: 0; padding-right: 0; }
.stat-grid dt { color: #c0c3c0; font-size: .69rem; }
.stat-grid dd { color: var(--green); white-space: nowrap; margin: .25rem 0 0; font-size: clamp(1.2rem, 2.2vw, 1.75rem); }
.stat-grid .stat-note { color: #777c77; margin: 0; font-size: .8em; display: block; }

.features {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  padding: clamp(2rem, 4vw, 3.3rem) clamp(1.3rem, 4vw, 3.3rem);
  display: grid;
}

.features article {
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 0 clamp(1.2rem, 2.6vw, 2.5rem);
}

.features article:first-child { padding-left: 0; }
.features article:last-child { border-right: 0; padding-right: 0; }
.features .line-icon { margin-bottom: 1rem; }
.features h2 { font-size: .8rem; }

.features p {
  color: var(--muted);
  text-transform: none;
  margin: 1rem 0 0;
  font-size: .78rem;
  line-height: 1.65;
}

.token-panel {
  margin-top: 10px;
  padding: clamp(1.8rem, 3.2vw, 2.6rem) clamp(1.4rem, 3vw, 2.4rem);
}

.token-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.token-panel-head p {
  color: var(--muted);
  text-transform: none;
  margin: .55rem 0 0;
  max-width: 42rem;
  font-size: .78rem;
  line-height: 1.65;
}

.token-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.token-meta article {
  border: 1px solid var(--line);
  background: #00000038;
  padding: 1rem 1.1rem;
}

.token-meta dt {
  color: #c0c3c0;
  font-size: .64rem;
  letter-spacing: .12em;
}

.token-meta dd {
  color: var(--green);
  margin: .45rem 0 0;
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  word-break: break-all;
}

.ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.copy-btn {
  border: 1px solid var(--green-soft);
  background: transparent;
  color: var(--text);
  min-height: 36px;
  padding: 0 .8rem;
  font: 700 .68rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .16s, background .16s, color .16s;
}

.copy-btn:hover {
  border-color: var(--green);
  background: var(--green);
  color: #060806;
}

.launch-panel {
  grid-template-columns: 1.05fr 2fr 1fr;
  align-items: center;
  gap: 2.5rem;
  margin-top: 10px;
  padding: 2rem clamp(1.5rem, 3.2vw, 3rem);
  display: grid;
}

.launch-brand img { width: 190px; height: auto; }

.launch-brand p {
  max-width: 275px;
  color: var(--muted);
  text-transform: none;
  margin: 1rem 0 0;
  font-size: .69rem;
  line-height: 1.6;
}

.terminal {
  border: 1px solid var(--line);
  background: linear-gradient(90deg, #75f12d06, #0000 28%), #00000038;
  padding: 1.1rem 1.5rem;
  font-size: clamp(.58rem, .8vw, .72rem);
}

.terminal p { margin: .2rem 0; }
.terminal i { color: #626762; padding: 0 .55rem; font-style: normal; }

.site-footer {
  color: #676c67;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  min-height: 56px;
  padding: .8rem 24px 1.2rem;
  font-size: .63rem;
}

.site-footer p { margin: 0; }

.site-footer nav {
  gap: 2.5rem;
  display: flex;
  flex-wrap: wrap;
}

.site-footer a {
  transition: color .16s;
  position: relative;
}

.site-footer a:after {
  content: "";
  transform-origin: 100%;
  background: var(--green);
  height: 1px;
  transition: transform .16s;
  position: absolute;
  bottom: -.45rem;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.site-footer a:hover { color: var(--green); }
.site-footer a:hover:after { transform-origin: 0; transform: scaleX(1); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr); }
  .hero-copy { padding-left: 32px; }
  .stat-grid > div { padding: 0 1.2rem; }
  .launch-panel { gap: 1.5rem; }
  .token-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { min-height: 76px; }
  .brand img { width: 166px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4rem 28px 2rem; }
  .hero-visual { min-height: 560px; }
  .hero-visual:before {
    background: linear-gradient(180deg, var(--bg), transparent);
    width: 100%;
    height: 28%;
    inset: -1px 0 auto;
  }
  .hero-figure {
    object-position: 65% 39%;
    width: 106%;
    height: 112%;
    inset: -8% -3% -4%;
  }
  .hero-mark { width: 128px; bottom: 10%; right: 16%; }
  .economy-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .features article:nth-child(2) { border-right: 0; }
  .features article:nth-child(3) { padding-left: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.7rem 0; }
  .stat-grid > div { border-right: 1px solid var(--line); }
  .stat-grid > div:nth-child(2n) { border-right: 0; padding-left: 1.6rem; padding-right: 0; }
  .stat-grid > div:nth-child(odd) { padding-left: 0; }
  .launch-panel { grid-template-columns: 1fr 1.7fr; }
}

@media (max-width: 560px) {
  .landing-page { font-size: 14px; }
  .landing-page main { padding-inline: 6px; }
  .site-header { padding-inline: 18px; }
  .brand img { width: 150px; }
  .header-cta { min-width: 0; padding-inline: 1rem; }
  .hero-copy { padding: 3.2rem 20px 1rem; }
  .hero h1 { letter-spacing: .025em; max-width: 100%; font-size: clamp(1.4rem, 7vw, 2.35rem); }
  .hero h1 span { overflow-wrap: anywhere; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 470px; }
  .hero-figure { object-position: 68% 38%; width: 138%; height: 109%; inset: -5% -20% -4% -18%; }
  .hero-mark { width: 98px; right: 8%; }
  .system-readout { padding: .6rem; top: 1rem; right: .75rem; }
  .economy-card { min-height: 0; padding: 1.7rem 1.25rem; }
  .heading-group { gap: 1rem; }
  .token-list { flex-wrap: wrap; }
  .token-list .more { flex-basis: 100%; }
  .dollar-modes { grid-template-columns: 1fr 1fr; width: 100%; display: grid; }
  .stats-panel { margin-top: 18px; padding-inline: 1.2rem; }
  .stat-grid { grid-template-columns: 1fr; padding-inline: .6rem; }
  .stat-grid > div,
  .stat-grid > div:nth-child(2n),
  .stat-grid > div:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1.1rem;
  }
  .stat-grid > div:last-child { border-bottom: 0; }
  .features { grid-template-columns: 1fr; }
  .features article,
  .features article:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1.8rem;
  }
  .features article:last-child { border-bottom: 0; padding-bottom: 0; }
  .token-meta { grid-template-columns: 1fr; }
  .launch-panel { grid-template-columns: 1fr; }
  .terminal { padding-inline: 1rem; overflow-x: auto; }
  .terminal p { min-width: 390px; }
  .site-footer {
    text-align: center;
    flex-direction: column;
    padding-block: 1.5rem;
  }
  .site-footer nav { justify-content: center; gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
