/* ── HolyAxiom Public Site — Shared Stylesheet ───────────────────────────── */

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

:root {
  --bg:         #080c10;
  --bg2:        #0d1117;
  --bg3:        #141b24;
  --border:     #1e2d3d;
  --text:       #c9d1d9;
  --text-muted: #6b7689;
  --accent:     #00d4aa;
  --accent2:    #4f8ef7;
  --accent3:    #b97cf9;
  --gold:       #f0b429;
  --red:        #f85149;
  --green:      #3fb950;
  --radius:     12px;
  --mono:       'JetBrains Mono', 'Fira Code', monospace;
  --sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: var(--mono); background: var(--bg3);
  padding: 2px 6px; border-radius: 4px; font-size: 0.9em;
}

/* ── NAV ──────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,12,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
}
.nav-logo {
  font-weight: 700; font-size: 18px; color: #fff;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-hex { color: var(--accent); font-size: 22px; }
.nav-links {
  list-style: none; display: flex; align-items: center; gap: 32px;
}
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: #fff; }
.nav-fund {
  background: var(--accent); color: #000 !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600;
}
.nav-fund:hover { opacity: 0.9; text-decoration: none; }
.nav-menu-btn { display: none; background: transparent; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ── BADGES ───────────────────────────────────────────────────────────────── */

.badge {
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px; letter-spacing: 0.04em;
}
.badge--teal   { background: rgba(0,212,170,0.15); color: var(--accent);  border: 1px solid rgba(0,212,170,0.3); }
.badge--blue   { background: rgba(79,142,247,0.15); color: var(--accent2); border: 1px solid rgba(79,142,247,0.3); }
.badge--purple { background: rgba(185,124,249,0.15); color: var(--accent3); border: 1px solid rgba(185,124,249,0.3); }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: all 0.15s;
  text-decoration: none; font-family: var(--sans);
}
.btn--primary { background: var(--accent); color: #000; }
.btn--primary:hover { background: #00bfa0; text-decoration: none; }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn--large { padding: 16px 32px; font-size: 17px; }
.btn--full  { width: 100%; justify-content: center; }

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */

.section { padding: 120px 32px; }
.section--dark { background: var(--bg2); }
.section--cta  { text-align: center; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.section-intro {
  font-size: 18px; color: var(--text-muted); max-width: 680px;
  line-height: 1.8; margin-bottom: 56px;
}

.section-inner h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff;
  margin-bottom: 24px; letter-spacing: -0.02em; line-height: 1.1;
}

/* ── PUBLIC HERO ──────────────────────────────────────────────────────────── */

.pub-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 80px 32px 80px;
  position: relative; overflow: hidden;
}
.pub-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.pub-hero-inner {
  max-width: 580px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; z-index: 1;
}
.hero-eyebrow { display: flex; gap: 10px; flex-wrap: wrap; }

.pub-hero-title {
  font-size: clamp(40px, 6vw, 66px); font-weight: 800;
  color: #fff; line-height: 1.05; letter-spacing: -0.025em;
}
.pub-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pub-hero-sub {
  font-size: 18px; color: var(--text-muted); max-width: 500px; line-height: 1.75;
}
.pub-hero-axiom {
  font-style: italic; color: var(--text);
  border-left: 3px solid var(--accent); padding-left: 20px;
  line-height: 1.75; font-size: 16px;
}
.pub-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Proof Card */
.pub-hero-proof-card {
  position: absolute;
  right: max(32px, calc(50% - 560px));
  top: 50%; transform: translateY(-50%);
  width: 360px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  font-family: var(--mono); font-size: 13px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  z-index: 1;
}
.proof-card-header {
  background: var(--bg3); padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.proof-dot { width: 10px; height: 10px; border-radius: 50%; }
.proof-dot--green { background: var(--green); }
.proof-dot--gold  { background: var(--gold); }
.proof-dot--red   { background: var(--red); }
.proof-card-title { color: var(--text-muted); font-size: 12px; flex: 1; margin-left: 6px; }
.proof-card-level { color: var(--accent); font-size: 12px; font-weight: 700; }
.proof-card-body  { padding: 20px; line-height: 2; }
.proof-row { display: flex; gap: 12px; align-items: baseline; }
.proof-key {
  color: var(--text-muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; min-width: 80px; flex-shrink: 0;
}
.proof-val  { color: var(--text); font-size: 12px; }
.proof-score { color: var(--green); font-weight: 700; }
.proof-card-footer {
  background: rgba(0,212,170,0.08); padding: 10px 16px;
  border-top: 1px solid rgba(0,212,170,0.2);
}
.proof-valid { color: var(--accent); font-size: 11px; font-family: var(--mono); }

/* ── AXIOM SECTION ────────────────────────────────────────────────────────── */

.axiom-section {
  display: flex; flex-direction: column; gap: 64px;
  align-items: center; text-align: center;
}
.axiom-quote {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.axiom-mark { color: var(--accent); font-size: 48px; }
.axiom-quote blockquote {
  font-size: clamp(18px, 3vw, 26px); color: #fff;
  line-height: 1.65; font-style: italic; max-width: 700px;
}
.axiom-quote blockquote em { color: var(--accent); font-style: normal; }
.axiom-stats {
  display: flex; gap: 72px; flex-wrap: wrap; justify-content: center;
}
.ax-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ax-num  { font-size: 44px; font-weight: 800; color: #fff; font-family: var(--mono); }
.ax-label {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; text-align: center;
}

/* ── HOW IT WORKS PIPELINE ────────────────────────────────────────────────── */

.how-pipeline {
  display: flex; align-items: flex-start; gap: 8px;
  flex-wrap: wrap; margin-top: 56px;
}
.how-step {
  flex: 1; min-width: 200px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.how-icon { font-size: 32px; }
.how-step h3 { color: #fff; font-size: 17px; }
.how-step p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.how-arrow {
  font-size: 18px; color: var(--accent);
  padding: 0 4px; flex-shrink: 0; margin-top: 48px;
}

/* ── STELE SPLIT ──────────────────────────────────────────────────────────── */

.stele-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.stele-copy { display: flex; flex-direction: column; gap: 20px; }
.stele-copy h2 { margin-bottom: 0; }
.stele-copy p   { color: var(--text-muted); line-height: 1.75; }
.stele-copy em  { color: var(--accent); font-style: normal; }

.code-win {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.code-win-bar {
  background: var(--bg3); padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.cdot { width: 12px; height: 12px; border-radius: 50%; }
.cdot--r { background: #ff5f57; }
.cdot--y { background: #febc2e; }
.cdot--g { background: #28c840; }
.code-win-name { color: var(--text-muted); font-size: 12px; font-family: var(--mono); margin-left: 8px; }
.code-pre {
  padding: 24px; font-size: 13px; line-height: 1.75;
  font-family: var(--mono); overflow-x: auto; white-space: pre;
}
.code-win-footer {
  background: rgba(0,212,170,0.08); padding: 10px 16px;
  font-size: 11px; color: var(--accent); font-family: var(--mono);
  border-top: 1px solid rgba(0,212,170,0.2);
}

/* ── USE CASES GRID ───────────────────────────────────────────────────────── */

.use-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 56px;
}
.use-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.use-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.use-icon { font-size: 30px; }
.use-card h3 { color: #fff; font-size: 17px; }
.use-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── CTA BLOCK ────────────────────────────────────────────────────────────── */

.cta-block {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  max-width: 640px; margin: 0 auto;
}
.cta-axiom-mark { color: var(--accent); font-size: 40px; }
.cta-block h2 { text-align: center; }
.cta-block p  { color: var(--text-muted); font-size: 18px; }
.cta-buttons  { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── MISSION HERO ─────────────────────────────────────────────────────────── */

.mission-hero {
  min-height: 72vh;
  padding: 128px 32px 96px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.mission-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.mission-hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 1;
}
.mission-hero-left {
  display: flex; flex-direction: column; gap: 0;
}
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 700; margin-bottom: 20px;
  display: block;
}
.mission-hero h1 {
  font-size: clamp(42px, 6vw, 72px); font-weight: 800; color: #fff;
  line-height: 1.05; letter-spacing: -0.025em;
}
.mission-hero h1 em {
  font-style: normal; display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.mission-lead {
  font-size: 18px; color: var(--text-muted); line-height: 1.75; max-width: 480px;
  margin-top: 24px;
}
.mission-axiom-box {
  background: var(--bg3); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 44px 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.axiom-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600;
}
.mission-axiom-box blockquote {
  font-size: clamp(20px, 3vw, 28px); color: #fff;
  line-height: 1.55; font-style: italic;
}
.mission-axiom-box blockquote em { color: var(--accent); font-style: normal; }

/* ── PROBLEM GRID ─────────────────────────────────────────────────────────── */

.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 56px;
}
.problem-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: var(--red); }
.problem-icon { font-size: 30px; }
.problem-card h3 { color: #fff; font-size: 17px; }
.problem-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── APPROACH STEPS ───────────────────────────────────────────────────────── */

.approach-steps { display: flex; flex-direction: column; margin-top: 56px; }
.approach-step {
  display: flex; gap: 40px; padding: 48px 0;
  border-top: 1px solid var(--border);
}
.approach-step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--mono); font-size: 52px; font-weight: 800;
  color: var(--border); line-height: 1; flex-shrink: 0; min-width: 80px;
}
.step-body { display: flex; flex-direction: column; gap: 14px; }
.step-body h3 { color: #fff; font-size: 20px; }
.step-body p  { color: var(--text-muted); font-size: 15px; line-height: 1.75; }

/* ── TIMELINE ─────────────────────────────────────────────────────────────── */

.timeline {
  display: flex; flex-direction: column;
  margin-top: 56px; position: relative;
}
.timeline::before {
  content: ''; position: absolute;
  left: 60px; top: 0; bottom: 0; width: 2px;
  background: var(--border);
}
.tl-item {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 24px 0; position: relative;
}
.tl-year {
  font-family: var(--mono); font-size: 15px; font-weight: 700;
  color: var(--text-muted); min-width: 60px; text-align: right;
  padding-top: 2px; flex-shrink: 0;
}
.tl-text {
  color: var(--text); font-size: 15px; line-height: 1.65;
  padding-left: 32px; position: relative;
}
.tl-text::before {
  content: ''; position: absolute;
  left: 10px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--border);
  border: 2px solid var(--bg);
}
.tl-item--now .tl-year { color: var(--accent); font-weight: 800; }
.tl-item--now .tl-text::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,212,170,0.2);
}
.tl-item--future .tl-year { color: var(--text-muted); opacity: 0.5; }
.tl-item--future .tl-text { color: var(--text-muted); opacity: 0.7; }

/* ── VISION GRID ──────────────────────────────────────────────────────────── */

.vision-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 56px;
}
.vision-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s;
}
.vision-card:hover { border-color: var(--accent2); }
.vision-icon { font-size: 30px; }
.vision-card h3 { color: #fff; font-size: 17px; }
.vision-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
  align-items: center; text-align: center;
}
.footer-brand  { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-logo   { font-weight: 700; font-size: 18px; color: #fff; }
.footer-tagline { color: var(--text-muted); font-size: 13px; font-style: italic; }
.footer-axiom  { color: var(--text-muted); font-size: 13px; font-style: italic; }
.footer-nav    { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-nav a  { color: var(--text-muted); font-size: 14px; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.footer-copy  { color: var(--text-muted); font-size: 12px; }
.footer-email { color: var(--accent); font-size: 12px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .stele-split          { grid-template-columns: 1fr; gap: 40px; }
  .mission-hero-inner   { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-menu-btn { display: block; }

  .pub-hero {
    flex-direction: column; min-height: auto; padding: 100px 20px 64px;
  }
  .pub-hero-proof-card {
    position: static; transform: none;
    width: 100%; max-width: 420px; margin: 0 auto;
  }

  .mission-hero { padding: 100px 20px 64px; }
  .mission-axiom-box { padding: 28px 24px; }

  .how-pipeline   { flex-direction: column; }
  .how-arrow      { transform: rotate(90deg); margin-top: 0; align-self: center; }

  .approach-step  { flex-direction: column; gap: 16px; }
  .step-num       { font-size: 32px; min-width: auto; }

  .axiom-stats    { gap: 40px; }
  .ax-num         { font-size: 36px; }

  .section { padding: 72px 20px; }
  .section-inner h2 { font-size: clamp(24px, 5vw, 36px); }
}
