/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== LAYOUT ===== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header-brand {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.header-nav {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;
}
.header-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--text); }
.header-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.header-cta:hover { opacity: 0.8; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  min-height: 36px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

/* ===== EYEBROW ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== HERO ===== */
.hero { padding: 5rem 0 4rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

/* ===== HERO SVG ===== */
.hero-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-svg .node-line {
  stroke: var(--accent);
  stroke-opacity: 0.22;
  stroke-width: 1.5;
}
.hero-svg .node-dot {
  fill: var(--bg-elev);
  stroke: var(--accent);
  stroke-opacity: 0.55;
  stroke-width: 1.5;
}
.hero-svg .hub-bg {
  fill: var(--bg);
}
.hero-svg .hub-ring {
  fill: color-mix(in srgb, var(--accent) 15%, transparent);
  stroke: color-mix(in srgb, var(--accent) 70%, transparent);
  stroke-width: 1.5;
}
.hero-svg .node-label {
  fill: var(--text);
  font-size: 12px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  paint-order: stroke fill;
  stroke: var(--bg);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.hero-svg .hub-text {
  fill: var(--accent);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  dominant-baseline: middle;
  text-anchor: middle;
}

/* ===== TRUST STATS ===== */
.trust-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat-cell {
  background: var(--bg);
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-value {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-sub {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.15rem;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
}

/* ===== ACTIVE CHAINS ===== */
.chains-section { padding: 4rem 0; }
.chains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.chain-tile {
  background: var(--bg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: background 0.12s;
  min-height: 56px;
}
.chain-tile:hover { background: var(--bg-elev); }
.chain-mono {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.chain-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e4e1d8;
  border: 1px solid var(--border);
  overflow: hidden;
}
.chain-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chain-name { font-size: 13px; font-weight: 500; }

/* ===== TRACK RECORD ===== */
.track-record { padding: 4rem 0; }
.track-record h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.track-record h2 em { font-style: normal; color: var(--accent); }
.track-lede {
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.archive-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.archive-list {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}
.archive-list .sep {
  color: var(--border-strong);
  margin: 0 0.3rem;
}

/* ===== SERVICES TEASER ===== */
.services-teaser { padding: 4rem 0; }
.teaser-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.teaser-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.teaser-desc {
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 1.6;
}
.teaser-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ===== CONTACT ===== */
.contact-section { padding: 4rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}
.contact-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0.2rem;
}
.contact-role {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.1rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-links a {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-height: 32px;
  align-items: center;
  transition: color 0.12s;
}
.contact-links a:hover { color: var(--accent); }
.link-platform {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 50px;
}
.link-handle { color: var(--text-muted); }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.12s;
}
.footer-links a:hover { color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-svg-wrap { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .chains-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .teaser-card { flex-direction: column; align-items: flex-start; }
  .header-nav { display: none; }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; }
  .chains-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.7rem; }
  .stat-value { font-size: 1.8rem; }
}
