/* Oasis Health Partners - site styles. Plain CSS, no framework, mobile first. */
:root {
  --blue: #035e85;        /* logo blue; 7.0:1 on white */
  --blue-dark: #023e58;   /* footer and bands; white text 11:1 */
  --blue-tint: #e8f2f7;
  --gold: #e0ac00;        /* logo gold; decoration and dark-text buttons only */
  --red: #b8261f;         /* logo red; 6.3:1 on white, accents only */
  --ink: #1d2a33;         /* body text; 14:1 on white */
  --muted: #45535e;       /* secondary text; 7.8:1 on white */
  --sand: #f7f3ec;
  --line: #d7dde2;
  --white: #ffffff;
  --radius: 10px;
  --max: 1160px;
  /* Soft, rounded pairing (27 Sep 2026): Nunito for text, Lora for headings, loaded from Google Fonts; system fonts if they do not load. */
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; color: var(--blue-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.topbar { background: var(--blue-dark); color: var(--white); font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }
.lang { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang a { display: inline-block; padding: 4px 9px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.lang a[aria-current="true"] { background: var(--white); color: var(--blue-dark); }
.lang a:hover { text-decoration: underline; }

/* Header and navigation */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 170px; height: auto; }
.nav-toggle { display: none; background: var(--blue); color: var(--white); border: 0; border-radius: 8px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.nav .cta a { background: var(--gold); color: var(--ink); }
.nav .cta a:hover { background: #f0c233; color: var(--ink); }
.js .nav-toggle { display: inline-block; }
.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.js .nav.open { display: block; }
.site-header { position: sticky; }
.site-header .wrap { position: relative; }
@media (min-width: 900px) {
  .js .nav-toggle { display: none; }
  .js .nav, .nav { display: block; position: static; border: 0; padding: 0; }
  .nav ul { flex-direction: row; align-items: center; }
  .brand img { width: 200px; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0c233; color: var(--ink); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { position: relative; background: var(--blue-dark); color: var(--white); overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 46ch; line-height: 1.6; }
.hero.small .wrap { padding-top: 48px; padding-bottom: 48px; }
.hero.small h1 { max-width: none; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--sand); }
.section.tint { background: var(--blue-tint); }
.section.dark { background: var(--blue-dark); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark a:not(.btn) { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--muted); }
.dark .lead { color: var(--white); }
.note { font-size: .95rem; color: var(--muted); font-style: italic; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); }
.narrow { max-width: 800px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
a.card { display: block; text-decoration: none; color: var(--ink); border-top: 4px solid var(--blue); }
a.card:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(2, 62, 88, .12); }
a.card span { color: var(--blue); font-weight: 600; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step h3 { color: var(--blue); }

/* Values */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { border-left: 4px solid var(--gold); padding: 6px 0 6px 16px; }
.value h3 { font-size: 1.1rem; margin-bottom: .3em; }

/* Leader */
.leader { display: grid; gap: 24px; }
@media (min-width: 760px) { .leader { grid-template-columns: 240px 1fr; } }
.leader img { border-radius: var(--radius); width: 240px; }
blockquote { margin: 0 0 1em; padding: 0 0 0 16px; border-left: 4px solid var(--red); font-size: 1.1rem; }
.byline { font-weight: 600; color: var(--blue-dark); }

/* Services page */
.service { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
.service ul { columns: 2 220px; column-gap: 32px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--blue); border-radius: 999px; text-decoration: none; font-size: .95rem; }
.jump a:hover { background: var(--blue); color: var(--white); }
[id] { scroll-margin-top: 90px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--white); }
summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--blue-dark); }
details > div { padding: 0 18px 12px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { padding: 6px 0; }
address { font-style: normal; }
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; }
input, textarea { width: 100%; padding: 11px 12px; border: 1px solid #8a969f; border-radius: 8px; font: inherit; color: var(--ink); background: var(--white); }
textarea { min-height: 140px; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.form-warning { background: var(--sand); border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; }
.form-status { margin-top: 10px; font-weight: 600; }

/* TODO markers: visible on the draft only. Remove every .todo before launch. */
.todo { border: 2px dashed #8a5a00; background: #fff6d6; color: #3d2a00; padding: 10px 14px; border-radius: 8px; font-size: .95rem; margin: 12px 0; }
.todo strong { color: #3d2a00; }

/* Canopi placeholder */
.canopi { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.badge-soon { display: inline-block; background: var(--blue-tint); color: var(--blue-dark); font-weight: 600; padding: 6px 14px; border-radius: 999px; }

/* Legal pages */
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal { max-width: 820px; }
.legal a { word-break: break-word; }

/* Tip sheet */
.tips h2 { font-size: 1.3rem; margin-top: 1.5em; }
.tips ul ul { margin-top: 4px; }
.tips li { margin-bottom: 4px; }
.example { background: var(--blue-tint); border-radius: var(--radius); padding: 14px 18px; margin: 10px 0; }

/* Footer */
.site-footer { background: var(--blue-dark); color: var(--white); padding: 48px 0 24px; font-size: .97rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font); color: var(--white); font-size: 1.05rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.footer-logo { width: 190px; margin-bottom: 14px; }
.medicare-badge { display: inline-block; border: 2px solid var(--white); border-radius: 6px; padding: 6px 12px; font-weight: 600; letter-spacing: .02em; margin: 6px 0 12px; }
.seal { width: 88px; margin-top: 6px; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer-bottom ul { display: flex; gap: 16px; flex-wrap: wrap; }
