:root {
  --bg: #050706;
  --panel: #090d0a;
  --panel-2: #0d120f;
  --text: #f4f7f4;
  --muted: #8f9992;
  --green: #00ff47;
  --green-soft: rgba(0, 255, 71, 0.18);
  --line: rgba(0, 255, 71, 0.26);
  --line-soft: rgba(255, 255, 255, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,255,71,.09), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(0,255,71,.05), transparent 25%),
    linear-gradient(#050706,#050706);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 4px, rgba(0,255,71,.015) 5px);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.section-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; border-top: 1px solid var(--line-soft); }
.section-kicker { color: var(--green); font-size: .78rem; letter-spacing: .18em; font-weight: 700; margin-bottom: 26px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max))/2));
  background: rgba(5,7,6,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; color: var(--green); width: max-content; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 34px; color: #98a19b; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.nav a:hover { color: var(--green); }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--green);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .84rem;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001a07; background: var(--green); box-shadow: 0 0 30px rgba(0,255,71,.25); }
.button-primary:hover { box-shadow: 0 0 45px rgba(0,255,71,.38); }
.button-ghost { color: var(--green); background: rgba(0,255,71,.015); }
.button-ghost:hover { background: rgba(0,255,71,.08); }
.button-small { min-height: 44px; padding: 0 18px; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 60px;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-grid {
  position: absolute;
  inset: 0 calc((100vw - 100%)/-2);
  z-index: -1;
  opacity: .34;
  background-image: linear-gradient(rgba(0,255,71,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,71,.08) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}
.eyebrow { color: var(--green); font-size: .82rem; letter-spacing: .18em; font-weight: 800; margin-bottom: 26px; display: flex; gap: 10px; align-items: center; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero h1 { margin: 0; font-size: clamp(4.4rem, 9vw, 9.5rem); line-height: .79; letter-spacing: -.075em; text-transform: uppercase; text-shadow: 0 0 30px rgba(0,255,71,.18); }
.hero-tagline { margin: 42px 0 0; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.12; font-weight: 800; letter-spacing: .025em; }
.hero-sub { color: var(--muted); margin: 18px 0 32px; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.contract-card {
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--line);
  background: rgba(0,255,71,.025);
}
.contract-label { display: block; color: var(--green); font-size: .68rem; letter-spacing: .13em; margin-bottom: 7px; }
.contract-card code { color: #b5bdb7; font-size: .78rem; word-break: break-all; }
.copy-button { border: 1px solid var(--green); background: transparent; color: var(--green); padding: 11px 15px; font: inherit; cursor: pointer; font-size: .72rem; font-weight: 800; }
.copy-button:hover { background: var(--green); color: #001a07; }

.hero-mark { align-self: center; }
.mark-frame { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0,255,71,.06), rgba(0,255,71,.01)); padding: 30px; transform: rotate(1.5deg); box-shadow: 0 0 80px rgba(0,255,71,.08); }
.mark-frame img { width: 100%; display: block; filter: drop-shadow(0 0 34px rgba(0,255,71,.3)); }
.mark-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--green); font-size: .68rem; letter-spacing: .12em; }

.ticker-strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: #061108; }
.ticker-track { width: max-content; display: flex; gap: 24px; align-items: center; animation: ticker 28s linear infinite; color: var(--green); font-size: .76rem; letter-spacing: .14em; font-weight: 800; }
.ticker-track i { opacity: .5; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.thesis-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.thesis-layout h2, .section-heading h2, .culture-title h2, .market-copy h2, .community-inner h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 6.3rem); line-height: .92; letter-spacing: -.055em; }
.thesis-layout h2 span { color: var(--green); }
.thesis-copy { color: #b7bdb9; font-size: 1.03rem; max-width: 580px; }
.thesis-copy p { margin: 0 0 24px; }
.thesis-copy strong { color: var(--text); }
.manifesto { margin-top: 100px; padding-top: 42px; border-top: 1px solid var(--line); font-size: clamp(3rem, 7vw, 7.7rem); line-height: .84; letter-spacing: -.065em; font-weight: 900; }
.manifesto span, .manifesto strong { display: block; }
.manifesto span { color: var(--green); }

.section-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading p { color: var(--muted); max-width: 420px; margin: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fact-card { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.fact-card:hover { background: rgba(0,255,71,.04); }
.fact-card span { display: block; color: var(--green); font-size: .72rem; letter-spacing: .13em; font-weight: 800; margin-bottom: 22px; }
.fact-card strong { display: block; font-size: 1.05rem; }
.fact-card p { color: var(--muted); font-size: .86rem; margin: 10px 0 0; }

.culture-section { background: var(--green); color: #021005; }
.culture-section .section-kicker { color: #021005; opacity: .62; }
.culture-title { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.culture-title p { max-width: 420px; font-weight: 700; }
.exit-lines { margin-top: 70px; border-top: 1px solid rgba(0,0,0,.3); }
.exit-lines div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border-bottom: 1px solid rgba(0,0,0,.24); font-size: clamp(1rem, 2vw, 1.45rem); }
.exit-lines strong { font-size: clamp(1.6rem, 4vw, 3.2rem); }

.market-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 42px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(0,255,71,.055), rgba(255,255,255,.008)); }
.market-copy p { color: var(--muted); max-width: 520px; margin: 26px 0; }
.market-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.market-terminal { border: 1px solid var(--line); background: #020503; box-shadow: inset 0 0 50px rgba(0,255,71,.035); }
.terminal-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px; border-bottom: 1px solid var(--line); color: #6d766f; font-size: .69rem; }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.terminal-bar b { margin-left: auto; font-weight: 400; }
.terminal-body { padding: 24px; color: #9aa49c; }
.terminal-body p { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.05); padding: 10px 0; margin: 0; }
.terminal-body em { color: var(--green); font-style: normal; }
.terminal-body strong { color: var(--text); }
.terminal-ready strong { color: var(--green); }

.community-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #071009; }
.community-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.community-actions { border-top: 1px solid var(--line); }
.community-link { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); font-weight: 800; letter-spacing: .06em; }
.community-link b { color: var(--green); font-size: 1.5rem; transition: transform .2s ease; }
.community-link:hover { color: var(--green); }
.community-link:hover b { transform: translate(4px,-4px); }

.footer { padding-top: 70px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--green); }
.footer-brand img { width: 34px; height: 34px; }
.footer > p { color: #626b65; font-size: .74rem; max-width: 820px; margin: 28px 0 60px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: #515852; font-size: .68rem; letter-spacing: .1em; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; color: #001a07; background: var(--green); padding: 13px 16px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; transform: translateY(100px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-mark { max-width: 480px; }
  .thesis-layout, .market-card, .community-inner { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-title, .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 26px, var(--max)); }
  .site-header { height: 64px; padding: 0 13px; }
  .site-header > .button { font-size: .68rem; padding: 0 12px; min-height: 40px; }
  .brand span { font-size: .88rem; }
  .hero { padding-top: 64px; padding-bottom: 70px; gap: 42px; }
  .hero h1 { font-size: clamp(4rem, 23vw, 6.6rem); }
  .hero-tagline { margin-top: 30px; }
  .hero-actions .button { width: 100%; }
  .contract-card { align-items: stretch; flex-direction: column; }
  .copy-button { width: 100%; }
  .mark-frame { padding: 20px; }
  .section { padding: 80px 0; }
  .thesis-layout { gap: 38px; }
  .manifesto { margin-top: 65px; font-size: clamp(3rem, 16vw, 5rem); }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 150px; }
  .market-card { padding: 24px; }
  .terminal-body p { flex-direction: column; gap: 3px; }
  .exit-lines div { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
