/* =======================
   TOKENS
   ======================= */
:root {
  --bg: #0E0E10;
  --surface: #161618;
  --surface-2: #1E1E21;
  --fg: #F0EFE9;
  --fg-muted: #8A8A8D;
  --accent: #B8FF3A;
  --accent-dim: rgba(184, 255, 58, 0.08);
  --border: rgba(240, 239, 233, 0.08);
  --radius: 4px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* =======================
   RESET + BASE
   ======================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =======================
   TYPOGRAPHY
   ======================= */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 20px;
}

/* =======================
   HEADER
   ======================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg);
}
.nav-pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

/* =======================
   HERO
   ======================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 36px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 28px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-block;
}

/* =======================
   PROOF STATS
   ======================= */
.proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 32px;
}
.proof-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* =======================
   SYSTEMS
   ======================= */
.systems {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.systems-header {
  margin-bottom: 56px;
}
.systems-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.system-card {
  background: var(--surface);
  padding: 48px;
}
.system-card.accent {
  background: var(--surface-2);
}
.system-icon {
  margin-bottom: 24px;
}
.system-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.system-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.system-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.system-list li:last-child {
  border-bottom: none;
}
.system-list li::before {
  content: '→';
  color: var(--accent);
  margin-right: 10px;
  font-family: var(--font-display);
}

/* =======================
   OUTCOMES
   ======================= */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 32px;
}
.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.outcomes-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.outcomes-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--fg);
}
.outcome-check {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.outcome-check::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 5px;
  width: 5px;
  height: 8px;
  border: 2px solid var(--bg);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* =======================
   MANIFESTO
   ======================= */
.manifesto {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-inner {
  max-width: 640px;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 28px;
  font-style: normal;
}
.manifesto p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto p:last-child {
  margin-bottom: 0;
}

/* =======================
   FOOTER
   ======================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  flex: 1;
}
.footer-meta {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-sep {
  opacity: 0.4;
}

/* =======================
   CLOSING / LEAD FORM
   ======================= */
.closing {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-inner { max-width: 640px; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.closing-cta { width: 100%; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5a5a5d; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: #161618; color: #F0EFE9; }
.form-group textarea { resize: vertical; min-height: 80px; }
.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #5a5a5d;
  font-family: var(--font-body);
  font-size: 12px;
}
.form-submit {
  background: var(--accent);
  color: #0E0E10;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(14,14,16,0.3);
  border-top-color: #0E0E10;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-error {
  font-size: 13px;
  color: #ff6b6b;
  padding: 8px 0;
}
.form-success {
  font-size: 15px;
  color: var(--accent);
  padding: 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(184,255,58,0.2);
  border-radius: var(--radius);
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 768px) {
  .hero { padding: 120px 24px 60px; }
  .hero-headline { font-size: 52px; }
  .proof-grid { flex-direction: column; gap: 24px; }
  .proof-stat { padding: 0; }
  .proof-divider { display: none; }
  .systems-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 40px; }
  .systems { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .system-card { padding: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .header-inner { padding: 0 24px; }
  .form-row { grid-template-columns: 1fr; }
  .closing { padding: 60px 24px; }
  .form-submit { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 42px; }
  .stat-number { font-size: 36px; }
  .manifesto blockquote { font-size: 26px; }
}