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

:root {
  --bg: #F4F1EC;
  --fg: #0F2317;
  --accent: #C9940A;
  --dark-bg: #0F2317;
  --light-text: #F4F1EC;
  --mid-text: rgba(15,35,23,0.55);
  --card-border: rgba(15,35,23,0.12);
  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  mix-blend-mode: difference;
}
.nav-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--light-text);
  letter-spacing: -0.5px;
}
.nav-dot { color: var(--accent); }
.nav-tagline {
  font-size: 12px;
  color: rgba(244,241,236,0.5);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-cta {
  margin-left: auto;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--dark-bg);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--light-text);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: rgba(244,241,236,0.65);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-mono {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--accent);
  line-height: 1.8;
  letter-spacing: 0.05em;
}
.hero-right { display: flex; justify-content: center; align-items: center; }
.machine-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.machine-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(201,148,10,0.2));
}
.machine-label {
  text-align: center;
  font-family: monospace;
  font-size: 10px;
  color: rgba(201,148,10,0.5);
  letter-spacing: 0.15em;
  margin-top: 8px;
}

/* === STATS === */
.stats {
  background: var(--fg);
  padding: 40px 40px;
}
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(244,241,236,0.5);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(244,241,236,0.12);
}

/* === ENGINE (capabilities) === */
.engine {
  padding: var(--section-pad) 40px;
  background: var(--bg);
}
.engine-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-label {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-heading em {
  font-style: italic;
  color: var(--accent);
}
.section-heading.light {
  color: var(--light-text);
}
.section-heading.light em {
  color: var(--accent);
}
.section-body {
  font-size: 17px;
  color: var(--mid-text);
  max-width: 560px;
  margin-bottom: 64px;
  line-height: 1.7;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
}
.cap-card {
  background: var(--bg);
  padding: 40px;
  transition: background 0.2s;
}
.cap-card:hover { background: rgba(201,148,10,0.04); }
.cap-icon { margin-bottom: 20px; }
.cap-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.cap-desc {
  font-size: 15px;
  color: var(--mid-text);
  line-height: 1.65;
  margin-bottom: 16px;
}
.cap-detail {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* === PROOF (results) === */
.proof {
  padding: var(--section-pad) 40px;
  background: var(--dark-bg);
}
.proof-inner { max-width: var(--container); margin: 0 auto; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244,241,236,0.08);
  border: 1px solid rgba(244,241,236,0.08);
  margin-top: 64px;
}
.result-card {
  background: var(--dark-bg);
  padding: 40px 36px;
  border: 1px solid rgba(244,241,236,0.06);
}
.result-stat {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 12px;
}
.result-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.result-desc {
  font-size: 14px;
  color: rgba(244,241,236,0.5);
  line-height: 1.65;
  margin-bottom: 24px;
}
.result-vert {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(201,148,10,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* === PROCESS === */
.process {
  padding: var(--section-pad) 40px;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
}
.process-inner { max-width: var(--container); margin: 0 auto; }
.weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--card-border);
  border-left: 1px solid var(--card-border);
}
.week {
  padding: 32px 28px;
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.week-num {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.week-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.week-desc {
  font-size: 14px;
  color: var(--mid-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.week-deliverable {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: var(--section-pad) 40px;
  background: var(--fg);
}
.closing-inner { max-width: var(--container); margin: 0 auto; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--light-text);
  margin-bottom: 24px;
}
.closing-headline em {
  font-style: italic;
  color: var(--accent);
}
.closing-body {
  font-size: 17px;
  color: rgba(244,241,236,0.55);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-cta { display: flex; flex-direction: column; gap: 12px; }
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--dark-bg);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
  width: fit-content;
}
.cta-btn:hover { opacity: 0.85; }
.cta-label {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}
.cta-sub {
  font-size: 14px;
  color: rgba(244,241,236,0.35);
  letter-spacing: 0.02em;
}

/* === FOOTER === */
.footer {
  padding: 40px;
  background: var(--dark-bg);
  border-top: 1px solid rgba(201,148,10,0.15);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--light-text);
}
.footer-dot { color: var(--accent); }
.footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(244,241,236,0.35);
}
.footer-legal {
  font-size: 12px;
  color: rgba(244,241,236,0.2);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .capabilities { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat { flex: 0 0 calc(50% - 12px); }
  .stat-divider { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 24px 60px; }
  .hero-headline { font-size: 44px; }
  .stats { padding: 32px 24px; }
  .stat { flex: 0 0 100%; text-align: left; padding: 0; }
  .engine, .proof, .process, .closing { padding: 60px 24px; }
  .weeks { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* === THEME CSS (dynamic — injected by platform) === */
/* This placeholder is replaced by themeCSS at render time */