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

:root {
  --bg: #060d07;
  --surface: #0c1a0d;
  --surface-2: #122313;
  --fg: #e8f0e6;
  --fg-muted: #8a9e88;
  --accent: #c9a84c;
  --accent-dim: #a8893d;
  --green: #2d6b38;
  --green-bright: #4a9e5a;
  --border: rgba(201,168,76,0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,13,7,0.85);
  backdrop-filter: blur(12px);
}

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }

.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 6px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  padding: 5rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: -2rem;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 800;
  color: rgba(45,107,56,0.06);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--fg);
  line-height: 1.05;
}

.hero-headline .highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat { padding: 0 2rem; }
.hero-stat:first-child { padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
}

.card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.card-metric {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}

.card-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.card-1 { border-color: rgba(201,168,76,0.2); }
.card-2 { border-color: rgba(45,107,56,0.3); }
.card-3 { border-color: rgba(201,168,76,0.15); }

/* === MANIFESTO === */
.manifesto {
  padding: 7rem 2.5rem;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.manifesto-label, .section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.manifesto-headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 2rem;
  color: var(--fg);
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.manifesto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* === STACKS === */
.stacks {
  padding: 7rem 2.5rem;
  border-top: 1px solid var(--border);
}

.stacks-header { margin-bottom: 4rem; }

.stacks-headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--fg);
  margin-top: 0.5rem;
}

.stacks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}

.stack-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.stack-title {
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.stack-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.stack-cpm {
  font-size: 0.72rem;
  color: var(--green-bright);
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  background: rgba(45,107,56,0.15);
  border-radius: 100px;
  display: inline-block;
}

/* === OUTCOMES === */
.outcomes {
  padding: 7rem 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 880px;
  margin: 0 auto;
}

.outcomes-header { margin-bottom: 4rem; }

.outcomes-headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--fg);
  margin-top: 0.5rem;
}

.outcomes-timeline { display: flex; flex-direction: column; }

.phase {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.5rem;
}

.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phase-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.phase-dot-final {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(201,168,76,0.5);
}

.phase-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 0.5rem 0;
  min-height: 60px;
}

.phase-content { padding-bottom: 3rem; }

.phase-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.phase-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.phase-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.phase-metric {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.phase-metric-final {
  color: var(--accent);
  font-size: 1.3rem;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.closing-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.closing-big {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.closing-subtext {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  max-width: 120px;
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-mark-sm {
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-left: auto;
}

.footer-links {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .hero-bg-text { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 0.5rem; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
  .stacks-grid { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing-visual { display: none; }
  .navbar { padding: 1rem 1.5rem; }
  .manifesto, .stacks, .outcomes, .closing { padding: 4rem 1.5rem; }
  .footer { flex-wrap: wrap; }
  .footer-copy { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 480px) {
  .visual-card { padding: 1rem; }
  .card-metric { font-size: 1.5rem; }
  .phase { grid-template-columns: 24px 1fr; gap: 1rem; }
}