/* Med Services: one stylesheet, system fonts, no external requests. */
:root {
  --ink: #14202e;
  --ink-2: #3d4b5c;
  --muted: #66758a;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --accent: #2f7d6d;
  --accent-soft: #e5f1ee;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.nav { align-items: center; }
.nav a:hover { color: var(--navy); text-decoration: underline; }
.nav a.nav-cta { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
html { scroll-padding-top: 16px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #1f4a6e 100%); color: #fff; }
.hero .wrap { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: #a9c8de; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; color: #d6e3ee; max-width: 56ch; margin: 0 0 32px; }
.btn { display: inline-block; background: #fff; color: var(--navy); padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--accent-soft); color: var(--navy); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); margin-left: 8px; }
.btn.ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Sections */
section { padding: 80px 0; }
section.hero { padding: 0; }
.section-intro.flush { margin-bottom: 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--navy); }
h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--navy); }
.section-intro { color: var(--ink-2); max-width: 62ch; margin: 0 0 40px; font-size: 1.08rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.list strong { color: var(--ink); }

.contact { background: var(--navy); color: #fff; border-radius: 20px; padding: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact h2 { color: #fff; }
.contact p { color: #d6e3ee; margin: 0; max-width: 52ch; text-wrap: balance; }
.contact > div { flex: 1 1 320px; min-width: 0; }
h1, h2, h3, p { text-wrap: pretty; }

/* Legal pages */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 56px; padding-bottom: 40px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy); letter-spacing: -0.02em; }
.page-head p { margin: 0; color: var(--muted); }
.prose { max-width: 74ch; padding-top: 48px; padding-bottom: 80px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.prose h3 { margin: 24px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--bg-soft); color: var(--ink); }
.table-scroll { overflow-x: auto; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; color: var(--ink); }

/* Footer */
.site-footer { background: #0b1f33; color: #b9c7d5; font-size: 0.92rem; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer .brand { color: #fff; }
.site-footer a { color: #dbe6f0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.legal-line { margin: 24px 0 0; line-height: 1.7; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 64px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  section { padding: 56px 0; }
  section.hero { padding: 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact { padding: 32px 24px; }
  .btn.ghost { margin: 12px 0 0; }
}

@media print {
  .site-header .nav, .hero .btn, .contact .btn { display: none; }
  .hero { background: none; color: var(--ink); }
  .hero h1, .hero p.lead { color: var(--ink); }
}
