:root {
  --bg: #faf9f7;
  --fg: #111110;
  --accent: #c0392b;
  --accent-light: #e84c3d;
  --muted: #6b6a67;
  --border: #e2e1de;
  --card-bg: #ffffff;
  --hero-bg: #0d1117;
  --hero-fg: #f0ece6;
  --navy: #0d1117;
  --green: #27ae60;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

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

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

/* ── HERO ── */
.hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  padding: 96px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 100vh;
}

.hero-inner { display: flex; flex-direction: column; gap: 28px; }

.hero-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(195,57,43,0.4);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  width: fit-content;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(240,236,230,0.75);
  max-width: 480px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(240,236,230,0.55);
  font-family: var(--mono);
}

.meta-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.meta-sep { opacity: 0.4; }

/* Invoice card */
.hero-visual { display: flex; justify-content: center; }

.invoice-card {
  background: #1a2233;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.invoice-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.invoice-big {
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
}

.invoice-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  font-family: var(--mono);
}

.invoice-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.invoice-row-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.invoice-row-val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
}

.invoice-row-val.green { color: var(--green); }
.invoice-row-val.red { color: var(--accent-light); }
.invoice-row-val.bold { color: #fff; font-size: 17px; }

/* ── SECTION SHARED ── */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── PROBLEM ── */
.problem {
  padding: 100px 48px;
  background: var(--bg);
}

.problem-inner { max-width: 860px; }

.problem-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.problem-body {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 64px;
}

.problem-body p + p { margin-top: 16px; }

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.stat { background: var(--card-bg); padding: 32px 28px; }

.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-src {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── BLEEDING ── */
.bleeding {
  background: var(--navy);
  color: #fff;
  padding: 96px 48px;
}

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

.bleeding-headline {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.25;
  color: rgba(255,255,255,0.9);
  max-width: 680px;
}

.breakdown-chart { margin-bottom: 32px; }

.breakdown-bar {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 24px;
}

.bar-segment { border-radius: 4px; }
.productive { background: var(--green); }
.redundant { background: #e67e22; }
.idle { background: #7f8c8d; }
.misclassified { background: #c0392b; }

.breakdown-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.productive { background: var(--green); }
.legend-dot.redundant { background: #e67e22; }
.legend-dot.idle { background: #7f8c8d; }
.legend-dot.misclassified { background: #c0392b; }

.bleeding-note {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ── DELIVERABLES ── */
.deliverables {
  padding: 100px 48px;
  background: var(--bg);
}

.deliverables-headline {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 56px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 48px;
}

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

.deliv-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.deliv-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.deliv-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.deliv-cta { padding-top: 8px; }

.cta-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── CLIENTS ── */
.clients {
  padding: 80px 48px;
  background: #f0efec;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.client-card {
  background: var(--card-bg);
  padding: 40px 32px;
}

.client-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.client-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.client-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── PROCESS ── */
.process {
  padding: 100px 48px;
  background: var(--bg);
}

.process-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 56px;
  max-width: 500px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: var(--border);
}

.step { position: relative; }

.step-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--bg);
  display: inline-block;
  padding: 0 12px;
  position: relative;
  margin-bottom: 16px;
}

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

.step-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.process-conditions {
  display: flex;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.condition { font-size: 13px; color: var(--muted); }

/* ── FOUNDER STORY ── */
.founder-story {
  padding: 96px 48px;
  background: #0d1117;
  color: #f0ece6;
}

.story-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(195,57,43,0.8);
  margin-bottom: 32px;
}

.story-content { max-width: 720px; }

.story-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.4;
  font-style: italic;
  color: rgba(240,236,230,0.85);
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.story-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(240,236,230,0.65);
  margin-bottom: 20px;
}

.story-accent { color: rgba(240,236,230,0.9); font-weight: 500; }

/* ── FINALE ── */
.finale {
  padding: 100px 48px;
  background: var(--accent);
  color: #fff;
}

.finale-inner { max-width: 700px; }

.finale-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
  margin-bottom: 40px;
}

.finale-guarantee { border-top: 1px solid rgba(255,255,255,0.25); padding-top: 32px; }

.guarantee-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.guarantee-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}

/* ── FOOTER ── */
.site-footer {
  background: #0a0d12;
  color: rgba(255,255,255,0.4);
  padding: 48px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.footer-link {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.footer-link:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 64px 32px; gap: 48px; min-height: auto; }
  .hero-visual { display: none; }
  .problem-stats { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .process-conditions { flex-direction: column; gap: 16px; }
  .breakdown-legend { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 24px; }
  .problem { padding: 64px 24px; }
  .bleeding { padding: 64px 24px; }
  .deliverables { padding: 64px 24px; }
  .clients { padding: 64px 24px; }
  .process { padding: 64px 24px; }
  .founder-story { padding: 64px 24px; }
  .finale { padding: 64px 24px; }
  .site-footer { padding: 40px 24px; }
  .problem-stats { gap: 0; }
}
