:root {
  --bg: #F8F4ED;
  --bg-alt: #EDE8DE;
  --fg: #0B1C1C;
  --fg-muted: #4A6464;
  --accent: #E8A838;
  --accent-dark: #C4861F;
  --teal: #0B3D3D;
  --teal-mid: #1A5C5C;
  --white: #FFFFFF;
  --border: rgba(11, 61, 61, 0.12);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ───────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: var(--teal);
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 80px 48px 72px;
  max-width: 960px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

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

.stat {
  padding: 0 40px 0 0;
}

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

.stat-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 40px;
  flex-shrink: 0;
}

/* ─── Models Section ────────────────────────────────────── */
.models {
  padding: 80px 48px;
  background: var(--teal);
  color: var(--white);
}

.models-header {
  margin-bottom: 48px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.models h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 32px;
}

.model-card--accent {
  background: rgba(232, 168, 56, 0.12);
  border-color: rgba(232, 168, 56, 0.3);
}

.model-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.model-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--white);
}

.model-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 20px;
}

.model-math {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,0,0,0.2);
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* ─── Math Section ─────────────────────────────────────── */
.math-section {
  padding: 80px 48px;
  background: var(--bg-alt);
}

.math-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 960px;
}

.math-text h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 16px;
  line-height: 1.25;
}

.math-text p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.math-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.math-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.math-label {
  font-size: 13px;
  color: var(--fg-muted);
  width: 140px;
  flex-shrink: 0;
}

.math-bar {
  flex: 1;
  height: 32px;
  background: var(--teal);
  width: var(--pct, 50%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 12px;
}

.math-bar span {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.math-bar--gold {
  background: var(--accent-dark);
}

.math-row--total .math-label {
  font-weight: 600;
  color: var(--fg);
}

/* ─── Philosophy ────────────────────────────────────────── */
.philosophy {
  padding: 80px 48px;
  background: var(--teal);
}

.philosophy-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 28px;
  font-style: italic;
}

.philosophy p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ─── Closing ───────────────────────────────────────────── */
.closing {
  padding: 80px 48px;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 20px;
}

.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 16px;
  color: var(--teal);
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ─── Mobile ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 56px 24px 48px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .models { padding: 56px 24px; }
  .model-grid { grid-template-columns: 1fr; }
  .math-inner { grid-template-columns: 1fr; gap: 40px; }
  .math-section { padding: 56px 24px; }
  .philosophy { padding: 56px 24px; }
  .closing { padding: 56px 24px; }
  .footer { padding: 24px; flex-direction: column; gap: 8px; }
}