:root {
  --teal: #0D6E6E;
  --teal-light: #0A8A8A;
  --teal-dark: #074F4F;
  --amber: #E8A838;
  --amber-light: #F0BC5A;
  --bg: #FAFAF8;
  --bg-warm: #F4F2EE;
  --surface: #FFFFFF;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --fg-subtle: #9E9E95;
  --border: #E5E3DC;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--teal);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal); }

/* HERO */
.hero {
  background: var(--surface);
  padding: 80px 60px 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* MATCH CARD */
.match-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.match-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.match-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.match-pharmacy, .match-pharmacist {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.match-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.pharmacy-icon { background: var(--teal); color: white; }
.pharmacist-icon { background: var(--amber); color: white; }
.match-name { font-weight: 600; font-size: 14px; }
.match-detail { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.match-arrow { color: var(--fg-subtle); flex-shrink: 0; }
.match-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.score-num { font-family: var(--font-serif); font-size: 36px; color: var(--teal); }
.score-label { font-size: 14px; color: var(--fg-muted); }
.match-dims {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dim-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--teal);
  color: white;
  border-radius: 20px;
  font-weight: 500;
}

/* STATS */
.stats {
  background: var(--teal-dark);
  padding: 48px 60px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { text-align: center; flex: 1; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: white;
  margin-bottom: 4px;
}
.stat-desc { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  margin: 0 48px;
}

/* SECTION TITLE */
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

/* HOW IT WORKS */
.hiw { padding: 80px 60px; background: var(--bg); }
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.hiw-step { flex: 1; }
.step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 12px;
}
.hiw-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.hiw-step p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }
.hiw-step-arrow {
  color: var(--fg-subtle);
  padding-top: 30px;
  flex-shrink: 0;
}

/* MATCHING SECTION */
.matching { padding: 80px 60px; background: var(--bg-warm); }
.matching-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.matching-text p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.matching-factors { display: flex; flex-direction: column; gap: 20px; }
.factor { display: flex; gap: 16px; align-items: flex-start; }
.factor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
  flex-shrink: 0;
}
.factor strong { font-size: 15px; font-weight: 600; display: block; margin-bottom: 4px; }
.factor p { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }

/* RADAR SECTION */
.radar-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.radar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}
.radar-dims { display: flex; flex-direction: column; gap: 16px; }
.radar-dim { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 12px; }
.radar-dim span { font-size: 13px; color: var(--fg-muted); font-weight: 500; }
.radar-bar { height: 6px; background: var(--border); border-radius: 4px; overflow: hidden; }
.radar-fill { height: 100%; background: var(--teal); border-radius: 4px; }
.radar-val { font-size: 13px; font-weight: 600; color: var(--teal); text-align: right; }

/* TRUST */
.trust { padding: 80px 60px; background: var(--surface); }
.trust-inner { max-width: 1200px; margin: 0 auto; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.trust-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.trust-icon {
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}
.trust-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* CLOSING */
.closing {
  background: var(--teal-dark);
  padding: 100px 60px;
  text-align: center;
}
.closing-statement {
  font-family: var(--font-serif);
  font-size: 36px;
  color: white;
  line-height: 1.5;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.closing-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.price-block { text-align: center; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 42px;
  color: white;
}
.price-period { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.price-or { font-size: 14px; color: rgba(255,255,255,0.4); }

/* FOOTER */
.footer {
  background: var(--fg);
  padding: 48px 60px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  color: white;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.25); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .matching-inner { grid-template-columns: 1fr; gap: 48px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero, .hiw, .matching, .trust { padding: 60px 24px; }
  .stats { padding: 40px 24px; }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .hiw-steps { flex-direction: column; }
  .hiw-step-arrow { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .closing { padding: 60px 24px; }
  .hero-text h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .closing-statement { font-size: 26px; }
}
@media (max-width: 480px) {
  .closing-pricing { flex-direction: column; gap: 24px; }
  .radar-dim { grid-template-columns: 90px 1fr 36px; }
}