:root {
  --bg: #f3f6f1;
  --bg-deep: #e7eee4;
  --ink: #0d1a12;
  --ink-soft: #3d5246;
  --line: rgba(13, 26, 18, 0.12);
  --green: #0f9d58;
  --green-hot: #16e07a;
  --green-deep: #086b3a;
  --amber: #d4a017;
  --red: #c62828;
  --panel: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px rgba(13, 26, 18, 0.08);
  --radius: 2px;
  --font-display: "Anton", sans-serif;
  --font-ui: "Syne", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(22, 224, 122, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 160, 23, 0.16), transparent 55%),
    linear-gradient(180deg, #f7faf5 0%, var(--bg) 40%, #eef4ea 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
}

.ticker-tape {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: var(--green-hot);
  overflow: hidden;
  border-bottom: 1px solid #1f3328;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span::after {
  content: "◆";
  margin-left: 2.5rem;
  color: var(--amber);
  opacity: 0.7;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 241, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  display: none;
  gap: 0.6rem;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  position: relative;
  z-index: 30;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: rgba(243, 246, 241, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--green-hot);
}

.btn-primary:hover {
  background: #16281d;
}

.btn-outline {
  border-color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-lg {
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: fadeUp 1s ease 0.2s both, floatMascot 5.5s ease-in-out infinite;
}

.hero-mascot {
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(13, 26, 18, 0.12);
  box-shadow:
    0 30px 80px rgba(15, 157, 88, 0.22),
    0 8px 24px rgba(13, 26, 18, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.hero-glow {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  right: -8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 157, 88, 0.28), transparent 68%);
  filter: blur(10px);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  animation: fadeUp 0.8s ease both;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 18vw, 12rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s ease 0.05s both;
}

.hero-tag {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: var(--ink-soft);
  animation: fadeUp 0.9s ease 0.12s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: fadeUp 0.9s ease 0.18s both;
}

.hero-board {
  margin-top: 2.25rem;
  max-width: 420px;
  border: 1px solid var(--line);
  background: rgba(13, 26, 18, 0.92);
  color: #d7ffe8;
  font-family: var(--font-mono);
  box-shadow: var(--shadow);
  animation: fadeUp 0.9s ease 0.24s both;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(215, 255, 232, 0.08);
  font-size: 0.82rem;
}

.board-row:last-child {
  border-bottom: none;
}

.board-row.dim {
  opacity: 0.78;
}

.board-row .chg.up {
  color: var(--green-hot);
}

.hero-chart {
  width: min(100%, 1100px);
  height: auto;
  margin-top: 1.5rem;
  opacity: 0.9;
  animation: fadeUp 1s ease 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.section-head h2,
.community-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38rem;
}

.thesis-grid {
  display: grid;
  gap: 1rem;
}

.thesis-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.thesis-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.thesis-block p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.stats {
  padding-top: 0;
  padding-bottom: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.stat {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(2n) {
  border-right: none;
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
}

.tok-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tok-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.tok-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.tok-key {
  color: var(--ink-soft);
  font-weight: 600;
}

.tok-val {
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
}

.tok-chart {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.donut {
  position: relative;
  width: min(220px, 70vw);
  aspect-ratio: 1;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-ring {
  stroke: rgba(13, 26, 18, 0.08);
}

.seg-a {
  stroke: var(--green);
  animation: drawDonut 1.4s ease both;
}

@keyframes drawDonut {
  from { stroke-dasharray: 0 100; }
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.donut-center span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.donut-center small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.tok-note {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.buy-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.buy-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--green-deep);
  padding-top: 0.2rem;
}

.buy-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.buy-steps p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.buy-bar {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.ca-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ca-line code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(13, 26, 18, 0.06);
  padding: 0.35rem 0.55rem;
  word-break: break-all;
}

.copy-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
}

.road-list {
  display: grid;
  gap: 1rem;
}

.road-list article {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.road-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--green-deep);
}

.road-list h3 {
  margin: 0.4rem 0 0.45rem;
  font-size: 1.25rem;
}

.road-list p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36rem;
}

.community {
  padding-top: 2rem;
}

.community-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(15, 157, 88, 0.12), rgba(212, 160, 23, 0.1)),
    rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.community-panel .btn {
  margin-top: 1.5rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.footer-brand span {
  color: var(--green-deep);
  margin-left: 0.35rem;
}

.disclaimer {
  margin: 1rem 0 1.5rem;
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--green-deep);
}

@media (min-width: 768px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-nav.open {
    display: none !important;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .hero-visual {
    justify-self: end;
  }

  .hero-mascot {
    width: min(100%, 480px);
  }

  .thesis-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .thesis-block {
    padding: 0 0 0 1.25rem;
    border-top: none;
    border-left: 1px solid var(--line);
  }

  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    border-bottom: none;
  }

  .stat:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .stat:last-child {
    border-right: none;
  }

  .tok-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }

  .road-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }
}

@media (min-width: 1100px) {
  .road-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .hero-glow,
  .hero-visual,
  .seg-a,
  .hero-kicker,
  .hero-brand,
  .hero-tag,
  .hero-ctas,
  .hero-board,
  .hero-chart {
    animation: none !important;
  }
}
