:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: rgba(20, 25, 34, 0.78);
  --surface-solid: #141922;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text-strong: #f8fafc;
  --text: #cbd5e1;
  --text-muted: #94a3b8;
  --mint: #34d399;
  --cyan: #38bdf8;
  --purple: #a78bfa;
  --sand: #fbbf24;
  --blue: #0078d4;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* ================= AMBIENT MOTION CANVAS ================= */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
}

.orb-emerald {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, var(--mint), transparent 70%);
  animation: orbFloatA 18s ease-in-out infinite alternate;
}

.orb-cyan {
  width: 480px;
  height: 480px;
  top: 18%;
  right: -120px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: orbFloatB 22s ease-in-out infinite alternate;
}

.orb-violet {
  width: 440px;
  height: 440px;
  bottom: -140px;
  left: 34%;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  animation: orbFloatA 26s ease-in-out infinite alternate-reverse;
}

.grid-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 100%);
}

@keyframes orbFloatA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(55px, 38px, 0) scale(1.1);
  }
}

@keyframes orbFloatB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-48px, 44px, 0) scale(1.08);
  }
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
}

.brand-link img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.brand-link b {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-left: 10px;
  border-left: 1px solid var(--border-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.nav-btn.ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav-btn.ghost:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-strong);
}

.nav-btn.primary {
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  color: #06121a;
  font-weight: 600;
}

.nav-btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* ================= MAIN CONTAINER ================= */
.page-main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* ================= HERO ================= */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
}

.status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.3vw, 52px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  animation: heroRise 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-gradient {
  background: linear-gradient(95deg, var(--mint) 0%, var(--cyan) 52%, var(--purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerGrad 7s ease infinite;
}

@keyframes shimmerGrad {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-desc b {
  color: var(--text-strong);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta-row.center {
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #34d399, #38bdf8);
  color: #07131a;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.22);
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.3);
}

.cta-btn.secondary {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
}

.cta-btn.secondary:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
}

.cta-btn.link {
  color: var(--text-muted);
  padding: 0 10px;
}

.cta-btn.link:hover {
  color: var(--mint);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.metric-chip {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.metric-chip strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-strong);
  margin-bottom: 2px;
}

.metric-chip span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ================= KINETIC CHOREOGRAPHY STAGE ================= */
.hero-stage {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  animation: heroRise 780ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-chrome {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 19, 27, 0.9);
  border-bottom: 1px solid var(--border);
}

.stage-dots {
  display: inline-flex;
  gap: 6px;
}

.stage-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  display: block;
}

.stage-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--mint);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: rgba(15, 19, 27, 0.55);
}

.stage-tab {
  padding: 9px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.stage-tab:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
}

.stage-tab.active {
  color: var(--text-strong);
  background: rgba(56, 189, 248, 0.08);
  border-bottom-color: var(--cyan);
}

.stage-viewport {
  position: relative;
  min-height: 290px;
  padding: 18px;
}

.stage-card {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: cardEnter 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-card.active {
  display: flex;
}

@keyframes cardEnter {
  from {
    opacity: 0.65;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cell-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.cell-pill.mint {
  color: var(--mint);
  border-color: rgba(52, 211, 153, 0.35);
}

.cell-pill.purple {
  color: var(--purple);
  border-color: rgba(167, 139, 250, 0.35);
}

.cell-pill.blue {
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

.cell-pill.sand {
  color: var(--sand);
  border-color: rgba(251, 191, 36, 0.35);
}

.kinetic-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(15, 20, 29, 0.78);
}

.chat-bubble.ai {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(16, 185, 129, 0.07);
}

.chat-bubble small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.chat-bubble p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-strong);
}

.mcp-beam {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
}

.beam-line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--cyan), transparent);
  background-size: 200% 100%;
  animation: beamSweep 1.8s linear infinite;
}

@keyframes beamSweep {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.beam-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  white-space: nowrap;
}

.kinetic-code {
  margin: 0;
  padding: 14px;
  border-radius: 9px;
  background: #0d1117;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e2e8f0;
  overflow-x: auto;
}

.kw {
  color: #c084fc;
}

.fn {
  color: #38bdf8;
}

.str {
  color: #34d399;
}

.kinetic-proof-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.proof-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
  flex-shrink: 0;
}

.kinetic-proof-result strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
}

.kinetic-proof-result small {
  font-size: 11px;
  color: var(--text-muted);
}

.kinetic-terminal {
  padding: 12px 14px;
  border-radius: 9px;
  background: #090d12;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-prompt {
  color: var(--cyan);
  font-size: 10.5px;
}

.kinetic-terminal code {
  color: var(--mint);
}

.crdt-lanes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crdt-peer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 9px;
  background: rgba(15, 20, 29, 0.85);
  border: 1px solid var(--border);
}

.peer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--cyan);
}

.crdt-peer.peer-b .peer-avatar {
  background: rgba(52, 211, 153, 0.16);
  color: var(--mint);
}

.crdt-peer>div {
  flex: 1;
  min-width: 0;
}

.crdt-peer strong {
  display: block;
  font-size: 12px;
  color: var(--text-strong);
}

.crdt-peer code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peer-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mint);
}

.crdt-converge {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sand);
}

.stage-progress-track {
  height: 2px;
  background: rgba(148, 163, 184, 0.14);
}

.stage-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  transition: width 260ms ease;
}

/* ================= RESEARCH EVOLUTION & SIGNIFICANCE ================= */
.evolution-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.evolution-head {
  max-width: 740px;
  margin-bottom: 6px;
}

.evolution-head p b {
  color: var(--text-strong);
  font-weight: 600;
}

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evo-card {
  padding: 22px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evo-card.featured {
  background: linear-gradient(150deg, rgba(16, 185, 129, 0.08), rgba(20, 25, 34, 0.92) 55%);
  border-color: rgba(52, 211, 153, 0.38);
}

.evo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.evo-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.evo-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.evo-badge.muted {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.evo-badge.cyan {
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.evo-badge.mint {
  color: var(--mint);
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
}

.evo-card h3 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--text-strong);
}

.evo-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-muted);
}

.evo-card p b {
  color: var(--text-strong);
  font-weight: 600;
}

.impact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 28px;
  border-radius: 14px;
  background: rgba(15, 20, 29, 0.86);
  border: 1px solid var(--border-strong);
}

.impact-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.impact-intro .section-eyebrow {
  margin-bottom: 0;
}

.impact-intro h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.impact-intro>p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.significance-box {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.significance-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mint);
  margin-bottom: 6px;
}

.significance-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}

.impact-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.impact-num.mint {
  color: var(--mint);
  border-color: rgba(52, 211, 153, 0.35);
}

.impact-num.cyan {
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

.impact-num.purple {
  color: var(--purple);
  border-color: rgba(167, 139, 250, 0.35);
}

.impact-item h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--text-strong);
}

.impact-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ================= SCROLL ARCHITECTURE SECTION ================= */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.section-head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.svg-flow-board {
  position: relative;
  padding: 26px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  overflow: hidden;
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

.flow-track {
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 2;
}

.flow-pulse {
  stroke: url(#flowGrad1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 28 140;
  animation: svgFlowDash 3.6s linear infinite;
}

.flow-pulse.delayed {
  animation-delay: -1.8s;
}

@keyframes svgFlowDash {
  from {
    stroke-dashoffset: 336;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.flow-nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-node {
  padding: 16px;
  border-radius: 10px;
  background: rgba(15, 20, 29, 0.88);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.node-icon.mint {
  color: var(--mint);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.node-icon.cyan {
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.node-icon.purple {
  color: var(--purple);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.node-icon.sand {
  color: var(--sand);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.flow-node strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.flow-node small {
  font-size: 12px;
  color: var(--text-muted);
}

.modality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.modality-card {
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 180ms ease, border-color 180ms ease;
}

.modality-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.mod-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.mod-icon.mint {
  color: var(--mint);
}

.mod-icon.purple {
  color: var(--purple);
}

.mod-icon.blue {
  color: var(--cyan);
}

.mod-icon.sand {
  color: var(--sand);
}

.modality-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-strong);
}

.modality-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ================= GUARANTEES ================= */
.guarantee-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 26, 37, 0.9), rgba(13, 18, 28, 0.95));
  border: 1px solid var(--border-strong);
}

.guarantee-copy h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.guarantee-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.guarantee-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.g-stat {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.g-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--mint);
  margin-bottom: 4px;
}

.g-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= CLOSING CTA & FOOTER ================= */
.closing-cta {
  text-align: center;
  padding: 44px 24px;
  border-radius: 14px;
  background: radial-gradient(ellipse at top, rgba(52, 211, 153, 0.12), rgba(20, 25, 34, 0.72));
  border: 1px solid var(--border-strong);
}

.closing-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text-strong);
}

.closing-cta p {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text-strong);
}

/* ================= SCROLL REVEAL ================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE & REDUCED MOTION ================= */
@media (max-width: 980px) {

  .hero-section,
  .evolution-grid,
  .impact-shell,
  .guarantee-panel {
    grid-template-columns: 1fr;
  }

  .flow-nodes,
  .modality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 10px 16px;
  }

  .brand-tag,
  .nav-actions .nav-btn.ghost:first-child {
    display: none;
  }

  .page-main {
    padding: 32px 16px 56px;
    gap: 60px;
  }

  .hero-metrics,
  .flow-nodes,
  .modality-grid,
  .guarantee-stats,
  .stage-tabs {
    grid-template-columns: 1fr;
  }

  .impact-shell {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}