/* WellPath shared design system — no frameworks, no JS required. */

:root {
  --bg: #ffffff;
  --ink: #16202b;
  --muted: #5a6577;
  --faint: #8a94a6;
  --brand: #0d6e5f;
  --brand-dark: #0a574b;
  --brand-soft: #e6f4f1;
  --accent: #b45309;
  --accent-soft: #fef3e2;
  --card: #f8fafc;
  --border: #e3e8f0;
  --success: #15803d;
  --success-soft: #e9f7ee;
  --warn-soft: #fef9e7;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; margin: 1.4em 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 0.6em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0.7em 0; }
a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 22px; font-weight: 700; line-height: 1;
}
.brand-text { font-weight: 800; font-size: 1.15rem; line-height: 1.15; display: flex; flex-direction: column; }
.brand-text small { font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { background: var(--card); color: var(--brand-dark); }
.site-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }

/* Hero */
.hero { padding: 40px 0 8px; }
.hero .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 10px;
  border: 2px solid var(--brand);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 8px; }

/* Deal cards */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.section-head .checked-note { font-size: 0.85rem; color: var(--muted); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 16px; }
.deal-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 10px;
}
.deal-card:hover { border-color: var(--brand); box-shadow: 0 6px 24px rgba(13, 110, 95, 0.08); }
.deal-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.badge-checked { background: var(--success-soft); color: var(--success); }
.badge-code { background: var(--accent-soft); color: var(--accent); font-family: var(--mono); text-transform: none; letter-spacing: 0; }
.badge-intro { background: var(--brand-soft); color: var(--brand-dark); }
.deal-card h3 { margin: 0; font-size: 1.08rem; }
.deal-card h3 a { color: var(--ink); text-decoration: none; }
.deal-card h3 a:hover { color: var(--brand-dark); text-decoration: underline; }
.deal-price { font-size: 1.5rem; font-weight: 800; color: var(--brand-dark); }
.deal-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.deal-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.deal-meta { font-size: 0.8rem; color: var(--faint); margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border); }
.deal-cta { margin-top: 6px; }

/* Code chip */
.code-chip {
  display: inline-block; font-family: var(--mono); font-weight: 700;
  background: var(--accent-soft); color: var(--accent);
  border: 1.5px dashed var(--accent); border-radius: 8px; padding: 6px 14px;
  font-size: 1.05rem; letter-spacing: 0.05em;
}

/* Tables */
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
table.compare caption { text-align: left; font-weight: 700; padding: 12px 16px; background: var(--card); }
table.compare th, table.compare td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: top; }
table.compare thead th { background: var(--ink); color: #fff; border-top: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.compare tbody tr:nth-child(even) { background: var(--card); }
table.compare td.price { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* Callouts */
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 20px 0; }
.callout.warn { border-color: var(--accent); background: var(--warn-soft); }
.callout p { margin: 0.4em 0; }
.callout strong:first-child { display: block; margin-bottom: 2px; }

/* Provider page */
.provider-hero { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 28px 0 8px; }
.deal-box { border: 2px solid var(--brand); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.deal-box h2 { margin-top: 0; }
.price-list { list-style: none; padding: 0; margin: 12px 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.price-list li:last-child { border-bottom: none; }
.price-list .p-label { font-weight: 600; }
.price-list .p-value { font-weight: 800; color: var(--brand-dark); text-align: right; }
.price-list .p-note { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.pros-cons { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.pros-cons h3 { margin-top: 0; }
.pros-cons ul { margin: 8px 0; padding-left: 20px; }
.pros-cons li { margin: 6px 0; font-size: 0.96rem; }

/* FAQ */
.faq { margin: 16px 0; }
.faq details { border: 1px solid var(--border); border-radius: 10px; margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.4em; color: var(--brand); font-weight: 800; }
.faq details[open] summary::before { content: "–"; }
.faq details .faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq details .faq-a p { margin: 0.5em 0; }

/* Breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--faint); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }

/* Method strip */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0; }
.step { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--card); }
.step .step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.step h3 { margin: 4px 0 6px; font-size: 1.02rem; }
.step p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: var(--card); font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 28px; padding-top: 32px; padding-bottom: 8px; }
.footer-brand { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin: 0 0 6px; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin: 6px 0; }
.disclosure-mini { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 0.85rem; }
.footer-base { border-top: 1px solid var(--border); padding-top: 14px; padding-bottom: 22px; font-size: 0.82rem; color: var(--faint); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Holding page */
.holding { text-align: center; padding: 70px 0; max-width: 640px; margin: 0 auto; }
.holding .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

main { padding-bottom: 24px; }
article > p, article > ul, section > p { max-width: 46rem; }
ul.tight li, ol.tight li { margin: 4px 0; }
.updated { font-size: 0.85rem; color: var(--faint); }
