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

:root {
  --bg: #0f0f12;
  --bg-2: #16161a;
  --bg-3: #1e1e23;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --fg: #f0efe9;
  --fg-dim: #9a9a9a;
  --fg-muted: #6b6b6b;
  --accent: #e8a838;
  --accent-2: #f5c66e;
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.15);
  --border: rgba(240, 239, 233, 0.08);
  --border-2: rgba(240, 239, 233, 0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 4px;
  --transition: 0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 18, 0.9);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* === HERO === */
.hero {
  padding: 80px 40px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--fg-dim);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  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(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.1875rem;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hero-visual {
  max-width: 640px;
}

/* Terminal */
.terminal-window {
  background: #0d0d10;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(232, 168, 56, 0.06);
}

.terminal-bar {
  background: #111115;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--fg-dim);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.terminal-body {
  padding: 20px 24px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.terminal-line { color: var(--fg); }
.terminal-spacer { height: 12px; }

.t-dim { color: var(--fg-muted); }
.t-label { color: var(--fg-dim); }
.t-value { color: var(--fg); }
.t-green { color: var(--green); }

.indent-1 { padding-left: 4px; }

.cursor-blink {
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === PROBLEM === */
.problem {
  background: var(--surface);
  color: #0f0f12;
  padding: 100px 40px;
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.problem-label, .ops-label, .outcomes-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f0f12;
}

.problem-headline strong {
  font-weight: 600;
  color: var(--accent);
}

.problem-body {
  font-size: 1.0625rem;
  color: #3a3a3a;
  line-height: 1.7;
}

.problem-body p { margin-bottom: 16px; }
.problem-body p:last-child { margin-bottom: 0; }

.problem-stats {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e0e0e0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.stat-block {
  background: var(--surface);
  padding: 40px 36px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: #0f0f12;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.5;
}

/* === OPERATIONS === */
.operations {
  background: var(--bg-2);
  padding: 100px 40px;
}

.operations .ops-header {
  max-width: var(--max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.ops-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ops-sub {
  font-size: 1.0625rem;
  color: var(--fg-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.ops-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.ops-card {
  background: var(--bg-2);
  padding: 40px 36px;
  transition: background var(--transition);
}

.ops-card:hover {
  background: var(--bg-3);
}

.ops-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.ops-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--fg);
}

.ops-card-body {
  font-size: 0.9375rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* === OUTCOMES === */
.outcomes {
  background: var(--bg);
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}

.outcomes-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 64px;
}

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.outcomes-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.outcome-item {
  flex: 1;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-right: -1px;
}

.outcome-metric {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.outcome-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}

.outcome-note {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  background: var(--surface);
  padding: 100px 40px;
}

.closing-inner {
  max-width: 780px;
  margin: 0 auto;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: #0f0f12;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.closing-body {
  font-size: 1.0625rem;
  color: #3a3a3a;
  line-height: 1.75;
  margin-bottom: 20px;
}

.closing-body:last-child { margin-bottom: 0; }

/* === FOOTER === */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  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: 1.125rem;
  font-weight: 500;
  color: var(--fg);
}

.footer-location {
  font-size: 0.8125rem;
  color: var(--fg-dim);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 60px 20px 80px; }
  .problem { padding: 80px 20px; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-stats { grid-template-columns: 1fr; }
  .operations { padding: 80px 20px; }
  .ops-grid { grid-template-columns: 1fr; }
  .outcomes { padding: 80px 20px; }
  .outcomes-grid { flex-direction: column; }
  .outcome-item { margin-right: 0; margin-bottom: -1px; }
  .closing { padding: 80px 20px; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-visual { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .stat-number { font-size: 2.25rem; }
  .outcome-metric { font-size: 2.5rem; }
}