:root {
  --navy: #0d1f3c;
  --green: #00d47e;
  --green-dim: rgba(0, 212, 126, 0.12);
  --white: #ffffff;
  --off-white: #f5f7fa;
  --light-gray: #e8ecf2;
  --mid-gray: #8a94a8;
  --text: #1a2332;
  --text-muted: #5a6578;
  --green-text: #00a85c;
  --green-border: rgba(0, 212, 126, 0.3);
  --badge-ok: #d4f7e8;
  --badge-warn: #fff3cd;
  --badge-fail: #fde8e8;
  --badge-ok-text: #1a6b3a;
  --badge-warn-text: #8a6500;
  --badge-fail-text: #b33a3a;
  --conf-high: #1a6b3a;
  --conf-med: #8a6500;
  --conf-low: #b33a3a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1.2;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 400;
}
.nav-tagline {
  font-size: 13px;
  color: var(--mid-gray);
}

/* HERO */
.hero {
  background: var(--off-white);
  padding: 80px 32px 80px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-size: 44px;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: var(--green-text);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* MATRIX CARD */
.hero-visual { display: flex; justify-content: center; }
.matrix-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(13, 31, 60, 0.08);
  overflow: hidden;
}
.matrix-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.matrix-title { font-size: 13px; color: rgba(255,255,255,0.85); }
.matrix-badge {
  font-size: 11px;
  background: var(--green-dim);
  color: var(--green);
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.matrix-body { padding: 0; }
.matrix-row {
  display: grid;
  grid-template-columns: 1fr 90px 70px 130px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  font-size: 13px;
  gap: 8px;
}
.matrix-row-head {
  background: var(--off-white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  font-weight: 600;
}
.matrix-row-ok { background: #fafffe; }
.matrix-row-warn { background: #fffbf0; }
.matrix-row-fail { background: #fff5f5; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.badge-ok { background: var(--badge-ok); color: var(--badge-ok-text); }
.badge-warn { background: var(--badge-warn); color: var(--badge-warn-text); }
.badge-fail { background: var(--badge-fail); color: var(--badge-fail-text); }
.conf { font-size: 13px; font-weight: 600; }
.conf-high { color: var(--conf-high); }
.conf-med { color: var(--conf-med); }
.conf-low { color: var(--conf-low); }
.matrix-footer { padding: 10px 20px; background: var(--off-white); }
.matrix-note { font-size: 11px; color: var(--mid-gray); }

/* PROOF */
.proof {
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  background: var(--white);
  padding: 28px 32px;
}
.proof-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.proof-label { font-size: 13px; color: var(--mid-gray); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; }
.proof-types { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.proof-tag {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
}

/* SECTION TITLE */
.section-title {
  font-size: 36px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 48px;
}

/* HOW */
.how { background: var(--white); padding: 96px 32px; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--light-gray);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--green);
  font-weight: 400;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 400;
}
.step-content p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.how-principle {
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.principle-icon { color: var(--green-text); flex-shrink: 0; margin-top: 2px; }
.principle-text { font-size: 15px; color: var(--text); }

/* OUTPUTS */
.outputs { background: var(--off-white); padding: 96px 32px; }
.outputs-inner { max-width: 1100px; margin: 0 auto; }
.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.output-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 28px;
}
.output-icon { color: var(--green-text); margin-bottom: 16px; }
.output-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 400; }
.output-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* QUOTE */
.quote { background: var(--navy); padding: 80px 32px; }
.quote-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.quote-text {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}

/* GUARANTEE */
.guarantee { background: var(--white); padding: 96px 32px; }
.guarantee-inner { max-width: 1100px; margin: 0 auto; }
.guarantee-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.guarantee-left h3 { font-size: 26px; color: var(--navy); margin-bottom: 16px; font-weight: 400; }
.guarantee-left p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.guarantee-includes p {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-block { display: flex; flex-direction: column; gap: 16px; }
.pricing-plan {
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 20px 24px;
}
.plan-name {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  margin-bottom: 6px;
}
.plan-price {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 400;
}
.plan-price span { font-size: 16px; color: var(--mid-gray); font-family: 'Instrument Sans', sans-serif; }
.plan-desc { font-size: 13px; color: var(--text-muted); }

/* CLOSING */
.closing { background: var(--off-white); padding: 96px 32px; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-headline { font-size: 40px; color: var(--navy); font-weight: 400; margin-bottom: 24px; }
.closing-body { font-size: 18px; color: var(--text-muted); line-height: 1.7; }

/* FOOTER */
.footer { background: var(--navy); padding: 48px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: start; }
.footer-logo { font-family: 'Instrument Serif', serif; font-size: 20px; color: var(--white); display: block; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); max-width: 320px; line-height: 1.6; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .stat-value { font-size: 22px; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-num { font-size: 36px; }
  .output-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-box { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .closing-headline { font-size: 28px; }
  .section-title { font-size: 28px; }
  .matrix-row { grid-template-columns: 1fr 80px 0 100px; }
  .matrix-row .conf { display: none; }
  .hero { padding: 60px 24px; }
  .how, .outputs, .guarantee, .closing { padding: 64px 24px; }
}
@media (max-width: 480px) {
  .output-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .proof-types { flex-direction: column; align-items: center; }
  .nav-inner { padding: 14px 20px; }
  .nav-tagline { display: none; }
}