:root {
  --bg: #090b09;
  --bg2: #0d100d;
  --panel: #111511;
  --panel2: #151a15;
  --text: #f2f6ee;
  --muted: #8f998b;
  --muted2: #60695e;
  --line: #263024;
  --lime: #c9ff2f;
  --lime-dim: #8fb924;
  --black: #050705;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 10%, rgba(201,255,47,.08), transparent 22rem),
    radial-gradient(circle at 18% 42%, rgba(201,255,47,.04), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--black); background: var(--lime); }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -2; opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .025;
  background-image: radial-gradient(rgba(255,255,255,.9) .55px, transparent .65px);
  background-size: 4px 4px;
}

.nav {
  min-height: 84px; display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--line); position: relative; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: var(--lime); color: var(--black); font-weight: 900; transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(201,255,47,.16), 0 0 35px rgba(201,255,47,.1);
}
.brand-word { font-size: 16px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 700; transition: .2s ease; }
.nav-links a:hover { color: var(--lime); }
.x-button {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); font-size: 12px; font-weight: 800;
  transition: .2s ease;
}
.x-button:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 9px 11px; border-radius: 8px; font: 700 11px/1 "DM Mono", monospace; }

.hero { min-height: 730px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.eyebrow { font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .12em; color: var(--lime); text-transform: uppercase; }
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 7px; box-shadow: 0 0 16px rgba(201,255,47,.5); }
.hero h1 { margin: 19px 0 22px; font-size: clamp(54px, 7vw, 105px); line-height: .88; letter-spacing: -.075em; font-weight: 900; }
.hero h1 span, h2 span { color: var(--lime); }
.hero-copy { max-width: 650px; color: #bdc5b9; font-size: 18px; line-height: 1.65; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 9px; font: 800 12px/1 "DM Mono", monospace; letter-spacing: .02em; border: 1px solid transparent; cursor: pointer; transition: .2s ease; }
.button.primary { background: var(--lime); color: var(--black); }
.button.primary:hover { background: #ddff76; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,255,47,.10); }
.button.secondary { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.button.secondary:hover { border-color: #53614e; background: rgba(255,255,255,.04); transform: translateY(-2px); }
.button.disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.microcopy { color: var(--muted2); font: 400 11px/1.5 "DM Mono", monospace; margin-top: 16px; }

.hero-terminal { border: 1px solid #31402d; background: rgba(12,16,12,.88); border-radius: 15px; overflow: hidden; box-shadow: 0 32px 90px rgba(0,0,0,.42), inset 0 0 70px rgba(201,255,47,.018); transform: rotate(1.25deg); }
.terminal-top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 15px; border-bottom: 1px solid var(--line); color: #747f71; font: 500 10px/1 "DM Mono", monospace; }
.terminal-status { color: var(--lime); display: inline-flex; align-items: center; gap: 7px; }
.terminal-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(201,255,47,.65); }
.terminal-body { padding: 28px; }
.ascii-mark { display: flex; flex-direction: column; color: var(--lime); font: 500 clamp(20px, 2.1vw, 31px)/1.18 "DM Mono", monospace; letter-spacing: .04em; margin-bottom: 32px; opacity: .95; }
.terminal-log { border-top: 1px solid var(--line); padding-top: 22px; color: #879083; font: 400 12px/1.75 "DM Mono", monospace; }
.terminal-log p { margin: 2px 0; }
.terminal-log b { color: var(--lime); font-weight: 500; }
.terminal-log span { color: #d4d9d1; }
.blink { animation: blink 1.1s steps(2,end) infinite; }
@keyframes blink { 50% { opacity: .35; } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--lime); color: var(--black); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 22px; padding: 13px 0; animation: marquee 28s linear infinite; font: 900 12px/1 "DM Mono", monospace; }
.marquee-track i { font-style: normal; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-top: 105px; padding-bottom: 105px; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.section-head.compact { margin-bottom: 30px; }
h2 { font-size: clamp(38px, 5vw, 67px); line-height: .98; letter-spacing: -.06em; margin: 13px 0 0; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 999px; border: 1px solid #31402d; color: var(--lime); background: #101510; font: 500 10px/1 "DM Mono", monospace; }
.status-pill i { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 12px rgba(201,255,47,.6); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: rgba(255,255,255,.012); }
.metric-card { min-height: 255px; padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.metric-card:last-child { border-right: 0; }
.metric-num { color: #4d5849; font: 500 10px/1 "DM Mono", monospace; }
.metric-label { color: var(--muted); font: 500 10px/1.45 "DM Mono", monospace; margin-top: 32px; max-width: 190px; }
.metric-value { margin-top: auto; font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -.06em; }
.metric-note { color: var(--muted2); font-size: 11px; line-height: 1.5; margin-top: 8px; }
.accent-card { background: linear-gradient(180deg, rgba(201,255,47,.09), rgba(201,255,47,.02)); }
.accent-card .metric-value { color: var(--lime); }

.manifesto-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.manifesto-copy { max-width: 660px; margin-left: auto; }
.manifesto-copy p { color: #aeb7aa; font-size: 18px; line-height: 1.75; }
.manifesto-copy .lead { color: var(--text); font-size: 22px; font-weight: 600; }
.quote { margin-top: 44px; padding: 30px 0 0; border-top: 1px solid var(--line); color: var(--lime); font-size: clamp(29px,4vw,48px); font-weight: 900; letter-spacing: -.055em; line-height: 1.05; }

.token-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid #364531; border-radius: 17px; overflow: hidden; background: linear-gradient(145deg, rgba(201,255,47,.055), rgba(255,255,255,.008) 45%); }
.token-main { padding: 50px; }
.token-symbol { font-size: clamp(60px,7vw,96px); line-height: 1; font-weight: 900; letter-spacing: -.075em; color: var(--lime); margin: 18px 0 5px; }
.token-main h2 { font-size: clamp(34px,4vw,55px); }
.token-main p { color: #aab3a6; max-width: 590px; line-height: 1.65; }
.token-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 15px; }
.ca-box { min-height: 48px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.ca-box span { height: 100%; display: grid; place-items: center; padding: 0 11px; border-right: 1px solid var(--line); color: var(--muted); font: 500 10px/1 "DM Mono", monospace; }
.ca-box code { padding: 0 14px; color: #c6cdc2; font: 500 11px/1 "DM Mono", monospace; }
.token-main small { color: var(--muted2); font: 400 10px/1.55 "DM Mono", monospace; }
.tokenomics { padding: 50px; border-left: 1px solid var(--line); background: rgba(0,0,0,.14); }
.tokenomics-head, .allocation-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 500 10px/1.4 "DM Mono", monospace; }
.tokenomics-head { color: var(--lime); margin-bottom: 37px; }
.allocation { margin-bottom: 26px; }
.allocation-row { color: #a4aea0; margin-bottom: 9px; }
.allocation-row b { color: var(--text); }
.bar { height: 8px; background: #1d241b; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--lime); min-width: 3px; box-shadow: 0 0 12px rgba(201,255,47,.23); }
.tokenomics-disclaimer { color: var(--muted2); font: 400 10px/1.65 "DM Mono", monospace; margin: 38px 0 0; }

.principles { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.principles article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); }
.principles article:last-child { border-right: 0; }
.principles span { color: var(--lime); font: 500 10px/1 "DM Mono", monospace; }
.principles h3 { margin: 52px 0 9px; font-size: 25px; letter-spacing: -.04em; }
.principles p { color: var(--muted); margin: 0; line-height: 1.55; }

.x-section { padding-top: 70px; padding-bottom: 70px; }
.x-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 38px; border: 1px solid #3a4d33; border-radius: 15px; background: linear-gradient(90deg, rgba(201,255,47,.09), rgba(201,255,47,.025)); }
.x-card h2 { font-size: clamp(34px,4vw,55px); }
.x-card p { color: var(--muted); margin-bottom: 0; }
.x-cta { background: var(--text); color: var(--black); white-space: nowrap; }
.x-cta:hover { background: var(--lime); transform: translateY(-2px); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font: 500 18px/1 "DM Mono", monospace; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); line-height: 1.7; max-width: 780px; padding: 0 0 24px; margin: 0; }

.footer { padding-top: 35px; padding-bottom: 35px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-x { color: var(--lime); font: 500 11px/1 "DM Mono", monospace; }
.footer-bottom { color: var(--muted2); font: 400 10px/1.5 "DM Mono", monospace; padding-top: 18px; }
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #0c0f0c; border: 1px solid var(--line); padding: 16px; border-radius: 12px; flex-direction: column; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .x-button { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 44px; padding-top: 70px; }
  .hero-terminal { transform: none; max-width: 720px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .manifesto-section, .token-card { grid-template-columns: 1fr; }
  .manifesto-copy { margin-left: 0; }
  .tokenomics { border-left: 0; border-top: 1px solid var(--line); }
  .x-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 26px, 1180px); }
  .nav { min-height: 70px; }
  .brand-word { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding-top: 48px; padding-bottom: 55px; }
  .hero h1 { font-size: clamp(51px, 15vw, 76px); }
  .hero-copy { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .terminal-body { padding: 21px; }
  .ascii-mark { font-size: 20px; }
  .terminal-log { font-size: 10px; overflow-x: auto; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .metric-card:last-child { border-bottom: 0 !important; }
  .manifesto-section { gap: 34px; }
  .manifesto-copy p { font-size: 16px; }
  .manifesto-copy .lead { font-size: 19px; }
  .token-main, .tokenomics { padding: 28px 23px; }
  .token-actions, .ca-box { width: 100%; }
  .ca-box code { flex: 1; }
  .principles { grid-template-columns: 1fr; }
  .principles article { border-right: 0; border-bottom: 1px solid var(--line); min-height: 185px; }
  .principles article:last-child { border-bottom: 0; }
  .principles h3 { margin-top: 40px; }
  .x-card { padding: 27px 22px; }
  .x-cta { width: 100%; white-space: normal; text-align: center; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .blink { animation: none; }
  * { transition-duration: 0.001ms !important; }
}

.chain-badge {
  display: inline-flex;
  margin: 1rem 0 1.25rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(190,255,0,.35);
  background: rgba(190,255,0,.06);
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--accent, #beff00);
}

/* V2.2 readability pass: larger metric + tokenomics text */
.metric-num {
  font-size: 12px;
}
.metric-label {
  font-size: 14px;
  line-height: 1.5;
  max-width: 230px;
  margin-top: 28px;
}
.metric-note {
  font-size: 14px;
  line-height: 1.55;
  margin-top: 10px;
  color: var(--muted);
}

.tokenomics-head,
.allocation-row {
  font-size: 14px;
  line-height: 1.5;
}
.tokenomics-head {
  margin-bottom: 32px;
  font-weight: 700;
}
.allocation-row {
  margin-bottom: 11px;
}
.allocation-row b {
  font-size: 15px;
}
.tokenomics-disclaimer {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 650px) {
  .metric-label { font-size: 13px; }
  .metric-note { font-size: 13px; }
  .tokenomics-head, .allocation-row { font-size: 13px; }
  .allocation-row b { font-size: 14px; }
  .tokenomics-disclaimer { font-size: 12px; }
}
