:root {
  --bg: #F5F0E8;
  --bg-alt: #EDE7DC;
  --fg: #1C1C1E;
  --fg-muted: #6B6358;
  --accent: #C8922A;
  --accent-light: #E8D5A8;
  --border: #D4C9B8;
  --green: #4A7C4A;
  --red: #A84442;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
  font-weight: 400;
}

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

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

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
}

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

.stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px 0 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-transform {
  width: 100%;
}

.doc-stack {
  display: flex;
  align-items: center;
  gap: 24px;
}

.doc-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  min-width: 200px;
}

.doc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.doc-icon {
  margin-bottom: 12px;
}

.doc-meta {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.doc-output {
  background: var(--fg);
  border-color: var(--fg);
}

.doc-output .doc-label { color: #8C8580; }
.doc-output .doc-meta { color: #8C8580; }

.output-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.output-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #F5F0E8;
}

.output-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.doc-arrow {
  flex-shrink: 0;
  color: var(--accent);
}

/* SECTION HEADERS */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 0;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works .section-header {
  max-width: 560px;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  align-items: flex-start;
  max-width: 900px;
}

.step {
  flex: 1;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 12px;
  font-weight: 400;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 32px 24px 0;
  flex-shrink: 0;
}

/* OUTPUTS */
.outputs {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.outputs-left {
  position: sticky;
  top: 40px;
}

.outputs-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 20px;
}

.outputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.output-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.output-card-icon {
  margin-bottom: 16px;
}

.output-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 8px;
}

.output-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* DIFFERENTIATOR */
.diff {
  padding: 80px 48px;
  background: var(--fg);
}

.diff-content {
  max-width: 800px;
}

.diff .section-label { color: var(--accent); }

.diff-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: #F5F0E8;
  line-height: 1.2;
  margin: 12px 0 32px;
}

.diff-body {
  margin-bottom: 48px;
}

.diff-body p {
  font-size: 16px;
  color: #A09890;
  line-height: 1.7;
  margin-bottom: 16px;
}

.diff-table {
  background: #2A2A2E;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #3A3A3E;
}

.diff-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  padding: 14px 24px;
  border-bottom: 1px solid #3A3A3E;
  font-size: 14px;
}

.diff-row:last-child { border-bottom: none; }

.diff-header {
  background: #232326;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B6358;
  padding: 12px 24px;
}

.diff-row:not(.diff-header) > div:first-child {
  color: #C8C2BA;
}

.diff-header > div:not(:first-child) {
  text-align: center;
}

.diff-row:not(.diff-header) > div:not(:first-child) {
  text-align: center;
}

.check, .partial, .cross {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CLOSING */
.closing {
  padding: 100px 48px;
  background: var(--bg);
}

.closing-content {
  max-width: 700px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--fg);
}

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

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 64px;
  }

  .hero-visual { display: none; }

  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }

  .how-it-works, .outputs, .diff, .closing { padding: 60px 24px; }

  .steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }

  .outputs { grid-template-columns: 1fr; gap: 40px; }
  .outputs-left { position: static; }

  .diff-table { display: none; }

  .footer { flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px; }
}

@media (max-width: 600px) {
  .outputs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-div { display: none; }
}
