/* Unicorn — dark, clean, pro. Structure inspired by ponsi-clone, re-themed. */

@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --background: oklch(13.5% 0.012 255);
  --foreground: oklch(96% 0.006 250);
  --muted-foreground: oklch(66% 0.014 250);
  --card: oklch(17.5% 0.014 255);
  --hairline: oklch(100% 0 0 / 0.09);
  --hairline-strong: oklch(100% 0 0 / 0.16);

  --unicorn: oklch(83% 0.19 152);       /* bright glow green */
  --unicorn-ink: oklch(72% 0.17 152);   /* accent text/icon green */
  --unicorn-dim: oklch(30% 0.05 152 / 0.35);

  --surface-glow: radial-gradient(circle at 32% 26%, oklch(30% 0.06 152 / 0.55), oklch(17% 0.02 255 / 0.6) 55%, oklch(13% 0.01 255 / 0.2));
  --shadow-glow: 0 0 1px oklch(83% 0.19 152 / 0.25), 0 20px 60px -20px oklch(60% 0.18 152 / 0.35), 0 60px 120px -60px oklch(60% 0.18 152 / 0.4);
  --shadow-lift: 0 20px 60px -40px oklch(0% 0 0 / 0.6);

  --font-sans: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.wrap { max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.tabular { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.label-micro {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-size: 0.6875rem;
}
.quiet-link {
  color: var(--foreground);
  border-bottom: 1px solid var(--hairline-strong);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.quiet-link:hover { color: var(--unicorn-ink); border-color: var(--unicorn-ink); }

.lowercase { text-transform: lowercase; }

/* ---------- header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: var(--foreground);
}
.brand-mark { width: 1.6rem; height: 1.6rem; }
nav { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hairline-strong);
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.25s, color 0.25s;
}
.pill:hover { border-color: oklch(72% 0.17 152 / 0.5); color: var(--unicorn-ink); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--unicorn-ink); flex-shrink: 0; }

/* ---------- 3D rotating mark ---------- */
.mark-stage { perspective: 1400px; }
.mark-spin {
  animation: spin3d 8s linear infinite;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 0 26px oklch(70% 0.18 152 / 0.35));
}
@keyframes spin3d {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mark-spin { animation: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  pointer-events: none;
  position: absolute;
  right: -12rem;
  top: -14rem;
  width: 46rem;
  height: 46rem;
  border-radius: 999px;
  background: radial-gradient(circle, oklch(45% 0.13 152 / 0.28), transparent 66%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  padding-top: 2.5rem;
  padding-bottom: 6rem;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 1.5rem; padding-top: 4rem; }
}
.eyebrow { color: var(--unicorn-ink); }
h1.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0.75rem 0 0;
}
h1.hero-title span {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--muted-foreground);
}
.hero p.lede {
  margin-top: 1.75rem;
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: oklch(96% 0.006 250 / 0.78);
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--hairline-strong);
  background: var(--card);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-align: left;
  transition: border-color 0.25s;
}
.copy-btn:hover { border-color: oklch(72% 0.17 152 / 0.5); }
.copy-btn .addr { font-size: 0.8rem; color: var(--foreground); }
.copy-btn .icon { color: var(--muted-foreground); transition: color 0.25s; display: flex; }
.copy-btn:hover .icon { color: var(--unicorn-ink); }
.copy-btn.is-placeholder .addr { color: var(--muted-foreground); }
.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.25s;
}
.jump-link:hover { color: var(--unicorn-ink); }
.live-badge {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted-foreground);
}
.live-badge .dot { background: oklch(72% 0.17 152 / 0.7); }

.hero-visual { display: flex; justify-content: center; }
@media (min-width: 860px) { .hero-visual { justify-content: flex-end; transform: translateX(1rem); } }
.hero-orb { position: relative; aspect-ratio: 1; width: 78vw; max-width: 30rem; }
@media (min-width: 860px) { .hero-orb { width: 34vw; } }
.ring { position: absolute; border-radius: 999px; border: 1px solid var(--hairline); }
.ring.r1 { inset: -14%; }
.ring.r2 { inset: -4%; border-color: var(--hairline-strong); }
.orbit-track { position: absolute; inset: -14%; animation: orbit 14s linear infinite; }
.orbit-dot { position: absolute; left: 50%; top: 0; width: 0.4rem; height: 0.4rem; margin-left: -0.2rem; border-radius: 999px; background: oklch(72% 0.17 152 / 0.6); }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orb-glass {
  position: absolute;
  inset: 6%;
  border-radius: 999px;
  background: var(--surface-glow);
  box-shadow: var(--shadow-glow);
}
.hero-orb img.mark-spin { position: relative; width: 100%; height: 100%; }

/* ---------- sections ---------- */
section { position: relative; }
.border-y { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.bg-card { background: var(--card); }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.myth-grid { margin-top: 2.5rem; display: grid; gap: 3rem; }
@media (min-width: 960px) { .myth-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr); gap: 4rem; align-items: start; } }
.myth-copy p { font-size: 0.98rem; line-height: 1.8; color: oklch(96% 0.006 250 / 0.8); margin: 0 0 1.25rem; }
.myth-copy p:last-child { margin-bottom: 0; }
.myth-copy strong { color: var(--foreground); font-weight: 500; }

.pull-quote {
  border: 1px solid var(--hairline-strong);
  background: var(--card);
  border-radius: 1rem;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lift);
}
.pull-quote .big {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--unicorn-ink);
}
.pull-quote .cap { margin-top: 0.5rem; }
.pull-quote .cite {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.pull-quote .cite a { color: var(--muted-foreground); border-bottom: 1px solid var(--hairline-strong); text-decoration: none; transition: color 0.25s, border-color 0.25s; }
.pull-quote .cite a:hover { color: var(--unicorn-ink); border-color: var(--unicorn-ink); }

/* numbered steps */
ol.steps { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
ol.steps li { display: grid; gap: 0.4rem; padding: 1.75rem 0; border-bottom: 1px solid var(--hairline); }
ol.steps li:last-child { border-bottom: none; }
@media (min-width: 720px) { ol.steps li { grid-template-columns: 5rem 10rem minmax(0, 1fr); align-items: baseline; gap: 2rem; } }
ol.steps .num { font-family: var(--font-mono); font-size: 0.9rem; color: var(--unicorn-ink); }
ol.steps h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 500; }
ol.steps p { margin: 0; max-width: 34rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted-foreground); }

/* stat grid */
.stat-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--hairline);
  background: var(--hairline);
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { background: var(--card); padding: 1.75rem 1.5rem; }
.stat-cell .value {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.stat-cell .value .unit { margin-left: 0.4rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: lowercase; color: var(--muted-foreground); font-family: var(--font-sans); }

/* token info */
.info-grid { display: grid; }
.info-grid > div { padding: 1.5rem 0; border-bottom: 1px solid var(--hairline); }
.info-grid > div:last-child { border-bottom: none; }
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid > div { border-bottom: 1px solid var(--hairline); }
}
@media (min-width: 1024px) {
  .info-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .info-grid > div { border-bottom: none; padding: 1.75rem 0; }
}
.info-grid dt { margin: 0; }
.info-grid dd { margin: 0.5rem 0 0; font-size: 0.95rem; }

/* closing */
.closing { text-align: center; padding: 7rem 0; }
.closing-mark { width: 54vw; max-width: 16rem; aspect-ratio: 1; margin: 0 auto; position: relative; }
.closing h2 { margin-top: 3rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; }
.closing-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.x-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--hairline-strong);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.x-btn:hover { border-color: oklch(72% 0.17 152 / 0.5); color: var(--unicorn-ink); }
.disclaimer { margin-top: 3.5rem; max-width: 34rem; margin-left: auto; margin-right: auto; font-size: 0.75rem; line-height: 1.7; color: var(--muted-foreground); }

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