/* Affordable Healthcare Oklahoma — site styles
   Plain CSS, no build step. Theme lives in the variables below. */

:root {
  --sky: #234e6b;
  --sky-700: #183a52;
  --sky-50: #e9f0f4;
  --clay: #9c3d1c;
  --clay-700: #7a2d13;
  --clay-50: #f8ebe4;
  --wheat: #e4b04a;
  --wheat-200: #f3dfae;
  --sand: #f5eee3;
  --ink: #221a14;
  --ink-soft: #594d43;
  --line: #e2d7c7;
  --bg: #fcf8f2;
  --max: 1140px;
  --read: 70ch;
  --radius: 10px;
  --font-head: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin: 0 0 .6em; }
.read h2:not(:first-child) { margin-top: 1.6em; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.2em 0 .4em; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.h-small { font-size: 1.3rem; margin-top: 26px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: .4rem; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--clay); margin-bottom: .6rem; }
.more-links { margin-top: 22px; font-weight: 600; }

/* buttons */
.btn { display: inline-block; background: var(--clay); color: #fff; padding: 13px 24px; border-radius: 8px; text-decoration: none; border: 2px solid var(--clay); cursor: pointer; font: 600 1rem var(--font-body); }
.btn:hover { background: var(--clay-700); border-color: var(--clay-700); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--sky-700); border-color: #fff; }
.btn--wheat { background: var(--wheat); border-color: var(--wheat); color: var(--ink); }
.btn--wheat:hover { background: #f0c464; border-color: #f0c464; color: var(--ink); }
.btn--full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 10px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { height: 64px; width: auto; display: block; }
@media (max-width: 560px) { .logo img { height: 42px; } }
.logo span { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.05; color: var(--sky-700); }
.logo small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-top: 3px; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; }
.nav__links li { margin: 0; position: relative; }
.nav__links a { display: block; padding: 8px 11px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav__links a:hover { background: var(--sky-50); color: var(--sky-700); }
.nav__call { background: var(--sky); color: #fff !important; font-weight: 600 !important; padding: 9px 16px !important; margin-left: 6px; }
.nav__call:hover { background: var(--sky-700) !important; }
.dropdown { list-style: none; position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 14px 30px rgba(24,58,82,.14); display: none; margin: 0; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav__links.open { display: flex; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav__call { margin: 8px 0 0; text-align: center; }
}

/* hero: prairie horizon at dusk */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-700) 0%, var(--sky) 58%, #6b6f72 86%, #b0643a 100%); color: #fff; overflow: hidden; }
.hero__sun { position: absolute; right: 9%; bottom: 58px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, #f2c76a 0%, #e4b04a 55%, rgba(228,176,74,0) 72%); opacity: .85; pointer-events: none; }
.hero__turbines { position: absolute; right: 22%; bottom: 72px; width: 170px; height: auto; pointer-events: none; }
.hero__land { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; pointer-events: none; }
.hero__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 72px 20px 140px; }
.hero h1 { color: #fff; max-width: 21ch; }
.hero .eyebrow { color: var(--wheat); }
.hero p.lead { font-size: 1.15rem; max-width: 58ch; margin-top: 1rem; color: rgba(255,255,255,.93); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 1.4rem; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.9); }
.trust li { margin: 0; }
.trust li::before { content: "✓ "; color: var(--wheat); font-weight: 700; }
.hero--short .hero__inner { padding: 52px 20px 120px; }
.hero--short .hero__sun { width: 150px; height: 150px; bottom: 50px; }
.hero--short h1 { max-width: 26ch; font-size: clamp(1.8rem, 4vw, 2.7rem); }
@media (max-width: 760px) { .hero__turbines { display: none; } .hero__sun { right: -40px; opacity: .5; } }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.82); margin-bottom: 1rem; }
.crumbs a { color: #fff; }

/* sections */
.section { padding: 64px 0; }
.section--tint { background: var(--sand); }
.section--sky { background: var(--sky-50); }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 64ch; }
.byline { font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 28px; }
.sources-h { font-size: 1.2rem !important; margin-top: 28px !important; }
.sources { font-size: .88rem; }

/* grids & cards */
.grid { display: grid; gap: 18px; margin-top: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }
.card--step { border-top: 4px solid var(--clay); }
.step-num { font-family: var(--font-head); font-size: 2rem; color: var(--clay); line-height: 1; margin-bottom: 8px; }
.region-card { border-left: 6px solid var(--rc, var(--clay)); }
.region-card h3 a { text-decoration: none; color: var(--ink); }
.region-card h3 a:hover { color: var(--clay); }
.region-card p { font-size: .95rem; }

/* layers diagram */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.layer { padding: 22px; background: #fff; border-right: 1px solid var(--line); }
.layer:last-child { border-right: 0; }
.layer h3 { margin-top: 6px; }
.layer .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; background: var(--sky-50); color: var(--sky-700); }
.layer--2 .tag { background: var(--clay-50); color: var(--clay-700); }
.layer--3 .tag { background: var(--wheat-200); color: var(--ink); }
@media (max-width: 760px) { .layers { grid-template-columns: 1fr; } .layer { border-right: 0; border-bottom: 1px solid var(--line); } }

/* tables */
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { caption-side: bottom; padding: 8px 14px; text-align: left; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sand); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* chart */
.chart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 26px; }
.chart svg { width: 100%; height: auto; }
.chart .axis { font: 500 12px var(--font-body); fill: var(--ink-soft); }
.chart figcaption { margin-top: 6px; }

/* disclosures */
.disclosures { background: var(--sand); border-top: 1px solid var(--line); padding: 28px 0; font-size: .88rem; color: var(--ink-soft); }
.disclosures p { margin-bottom: .7rem; max-width: 95ch; }
.disclosures strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* FAQ */
.faqs { margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { margin: 0 0 .4em; font-size: 1.1rem; }
.faq-item p:last-child { margin-bottom: 0; }
.read .faqs + .author, .read .grid + h2 { margin-top: 40px; }

/* link lists */
.linklist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.linklist li { margin: 0; }
.linklist span, .linklist a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); text-decoration: none; font-size: .9rem; }
.town-list { list-style: none; margin: 0; }
.town-list li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }

/* split + facts */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--sky); }
.facts h3 { margin-top: 0; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .95rem; }
.facts dt { font-weight: 700; }
.facts dd { color: var(--ink-soft); }

/* example box */
.example { background: #fff; border: 2px solid var(--sky); border-radius: var(--radius); padding: 22px; }
.example .big { font-family: var(--font-head); font-size: 2.2rem; color: var(--sky-700); line-height: 1.1; }
.example .per { font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); }
.example h3 { margin-top: 0; }

/* map */
.map-row { margin: 28px auto 0; max-width: 980px; }
.map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.map svg { width: 100%; height: auto; }
.map text { font: 600 19px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.map a:hover text { fill: var(--clay); }
.map-note { margin: 6px 4px 0; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(24,58,82,.07); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #c8bba8; border-radius: 8px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(156,61,28,.22); border-color: var(--clay); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.consent { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }
.req { color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* CTA band */
.cta-band { background: var(--sky-700); color: #fff; padding: 56px 0; text-align: center; border-top: 6px solid var(--clay); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-small { font-size: .9rem; color: rgba(255,255,255,.75) !important; margin-top: 14px; }

/* author */
.author { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 32px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; font: 700 1.3rem var(--font-head); flex: none; }

/* footer */
.site-footer { background: #1a1410; color: rgba(255,255,255,.82); padding: 52px 0 96px; font-size: .93rem; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-small { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* sticky mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -6px 18px rgba(0,0,0,.12); }
  .mobile-bar a { text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; color: #fff; background: var(--sky); }
  .mobile-bar a + a { background: var(--clay); }
}

/* article pages (legal/utility) */
.article { max-width: 760px; }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.questions { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
