/* wmc-healthcare.ai — Stylesheet */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #3c261d;
  --ink-2: #4b322a;
  --ink-line: #6a4f45;
  --accent: #d55c05;
  --paper: #f6f1ec;
  --paper-2: #eae4e1;
  --line: #c1b2aa;
  --muted: #6b5a52;
  --body: #4a3a33;
  --on-ink: #f6f1ec;
  --on-ink-muted: #c9b8ae;
  --on-ink-body: #e6dbd4;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1320px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

.wrap { max-width: var(--max); width: 100%; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 120px; padding-bottom: 120px; }
.band { background: var(--ink); color: var(--on-ink); }
.band a { color: var(--on-ink); }
.band a:hover { color: var(--accent); }
.band-soft { background: var(--paper-2); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--accent); }
.band .eyebrow { color: var(--on-ink-muted); }

.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; border-radius: 999px; min-height: 56px; padding: 18px 28px; font-size: 17px; background: var(--accent); color: #fff; transition: background-color 160ms ease, color 160ms ease; }
.btn:hover { background: #b84a00; color: #fff; }
.btn-ink { background: var(--ink); min-height: 44px; padding: 12px 22px; font-size: 15px; font-weight: 500; }
.btn-ink:hover { background: var(--accent); }
.btn svg { flex: none; }

.display { font-size: clamp(44px, 7.2vw, 108px); line-height: 0.98; letter-spacing: -0.025em; font-variation-settings: "opsz" 144; }
.h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.h2-lg { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; }
.h2-md { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-weight: 500; font-size: 26px; line-height: 1.15; }
.lede { font-size: 22px; line-height: 1.45; color: var(--body); }
.body { font-size: 19px; line-height: 1.55; color: var(--body); }
.body-sm { font-size: 17px; line-height: 1.55; color: var(--body); }
.band .body, .band .body-sm { color: var(--on-ink-body); }
.quote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; }
.em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.band .muted { color: var(--on-ink-muted); }
.small { font-size: 15px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; }
.brand-tld { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; max-width: 1180px; }
.hero-copy .lede { max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.map { display: flex; flex-direction: column; gap: 18px; }
.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.map-legend { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.map-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tile { aspect-ratio: 1.6; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--line); }
.tile-label { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }
.tile-text { font-size: 15px; font-weight: 500; }
.tile.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.on .tile-label { color: #d9cbc3; }

.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Two-column */
.cols { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.col-a { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-b { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-narrow { flex: 0 1 340px; }

.bignum { font-family: var(--serif); font-weight: 300; font-size: clamp(100px, 15vw, 220px); line-height: 0.9; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.bignum .em { font-size: 0.42em; font-weight: 400; margin: 0 0.08em; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--ink-line); }
.card-hero { grid-column: span 2; padding: 40px; background: var(--ink-2); border-color: var(--ink-2); gap: 20px; min-height: 360px; }
.card-wide { grid-column: span 2; flex-direction: row; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.card-wide > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.num { font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; color: var(--on-ink-muted); }
.card-hero .num { font-size: 72px; color: var(--accent); }
.card-hero .h3 { font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }
.card-hero .body-sm { max-width: 640px; }
.card .tail { margin-top: auto; font-size: 15px; color: var(--accent); font-weight: 500; }
.card p { font-size: 15px; line-height: 1.55; color: var(--on-ink-body); }
.card-hero p { font-size: 17px; }

/* Use cases */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.section-head > p { max-width: 420px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { border-radius: 20px; padding: 32px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.case p { font-size: 15px; line-height: 1.55; }
.case .now { color: var(--muted); }
.case .then { color: var(--ink); font-size: 16px; }
.tag { display: block; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; margin-bottom: 4px; }
.now .tag { color: var(--muted); }
.then .tag { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--serif); font-size: 96px; line-height: 0.9; font-weight: 300; color: var(--accent); letter-spacing: -0.04em; }

/* Checks */
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; flex: 1 1 520px; min-width: 0; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 2px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 48px; border-top: 1px solid var(--ink-line); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: 1; letter-spacing: -0.03em; }
.stat-num .em { font-style: normal; }
.stat-label { font-size: 15px; color: var(--on-ink-muted); }
.inline-list { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--on-ink-muted); }

/* Manifest */
.manifest { list-style: none; display: flex; flex-direction: column; }
.manifest li { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--line); }
.manifest li:last-child { border-bottom: 1px solid var(--line); }
.manifest .idx { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); flex: none; width: 48px; }
.manifest .line { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; flex: 1 1 500px; }

/* FAQ */
.faq { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; }
.faq div { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.faq div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }

/* Contact */
.contact { padding-bottom: 96px; }
.contact-box { border-radius: 32px; background: #fff; border: 1px solid var(--line); padding: 64px; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.contact-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-copy .h2-lg { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.03em; }
.form-embed { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.form-embed iframe { display: block; width: 100%; border: 0; }
.form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.span2 { grid-column: span 2; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .brand-name { font-size: 15px; }

/* Legal pages */
.legal { padding-top: 64px; padding-bottom: 120px; max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.legal h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.legal h2 { font-size: 26px; font-weight: 500; margin-top: 16px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--body); }
.legal ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 1024px) {
  .map-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-hero, .card-wide { grid-column: span 2; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 40px; }
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento, .cases, .steps, .checks { grid-template-columns: minmax(0, 1fr); }
  .card-hero, .card-wide { grid-column: span 1; }
  .card-hero { min-height: 0; padding: 32px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat-num { font-size: 56px; }
  .step-num { font-size: 72px; }
  .lede { font-size: 19px; }
  .body { font-size: 17px; }
  .contact-box { padding: 32px 24px; border-radius: 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: span 1; }
  .btn { width: 100%; justify-content: center; }
  .btn-ink { width: auto; }
}
