/* ============================
   AXIOM — CSS VARIABLES
   ============================ */
:root {
  --bg: #0A0A10;
  --bg-2: #111120;
  --bg-3: #181830;
  --fg: #E8E8F0;
  --fg-muted: rgba(232, 232, 240, 0.5);
  --fg-subtle: rgba(232, 232, 240, 0.25);
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-glow: rgba(245, 158, 11, 0.08);
  --border: rgba(245, 158, 11, 0.12);
  --radius: 12px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
a { color: var(--accent); text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
}
.hero-visual {
  width: 100%;
}
.agent-diagram {
  width: 100%;
  max-width: 340px;
  opacity: 0.9;
}

/* ============================
   PROOF
   ============================ */
.proof {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 48px;
  text-align: center;
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.proof-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.proof-context {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 180px;
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ============================
   MANIFESTO
   ============================ */
.manifesto {
  padding: 120px 0;
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.manifesto-statement {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

/* ============================
   HOW
   ============================ */
.how {
  padding: 120px 0;
  background: var(--bg-2);
}
.how-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 560px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.how-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}
.how-card-accent {
  background: var(--accent-dim);
  border-color: rgba(245, 158, 11, 0.25);
}
.how-step {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  margin-bottom: 20px;
}
.how-step-accent {
  color: var(--accent);
}
.how-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}
.how-icon-accent {
  filter: none;
}
.how-icon svg {
  width: 100%;
  height: 100%;
}
.how-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.how-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ============================
   CLOSING
   ============================ */
.closing {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.closing-bg {
  position: absolute;
  inset: 0;
}
.closing-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}
.closing-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.closing-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.closing-headline {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-vision {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.closing-vision p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  font-style: italic;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-subtle);
}
.footer-note {
  font-size: 12px;
  color: var(--fg-subtle);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-headline {
    font-size: 48px;
  }
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid {
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    flex-direction: column;
    gap: 32px;
  }
  .proof-divider {
    width: 40px;
    height: 1px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero { padding: 60px 0; }
  .manifesto, .how, .closing { padding: 80px 0; }
}