/* Durham Care Connect public site. Navy #0C223E, teal #1DE3D4, gold #F9B942. Phone first, soft and rounded. */
:root {
  --navy: #0C223E; --navy-2: #16345c; --teal: #1DE3D4; --teal-ink: #0A7A74; --gold: #F9B942;
  --bg: #ffffff; --soft: #F4F7FA; --line: #E3E8EF; --ink: #0C223E; --muted: #4B5A6E;
  --r: 18px; --r-lg: 28px; --shadow: 0 1px 2px rgba(12,34,62,.06), 0 6px 24px rgba(12,34,62,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3, .ct, .bt, .sv, .fb { font-family: Montserrat, Inter, system-ui, sans-serif; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08; margin: .3em 0 .35em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.2; margin: 0 0 .4em; font-weight: 800; }
.h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .4em; }
p { margin: 0 0 .6em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section.wrap { padding-top: 56px; padding-bottom: 8px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.lead { font-size: 1.12rem; }
.center { text-align: center; }
.grow { flex: 1; }
.op { opacity: .9; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 10px; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; }
.i.sm { width: 16px; height: 16px; }
.i.pri { color: var(--teal-ink); width: 26px; height: 26px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 12px; height: 72px; }
.logo { flex: none; }
.logo img { height: 38px; width: auto; display: block; }
.navlinks { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 4px; }
.navlinks a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.navlinks a:hover, .navlinks a[aria-current] { color: var(--ink); background: var(--soft); }
.topright { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.lang a { min-width: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: 52px; width: min(82vw, 300px); list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 40px rgba(12,34,62,.16); }
.menu li a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.menu li a:hover { background: var(--soft); }
.hide-sm, .btn.hide-sm { display: none; }

/* Buttons and links */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid var(--navy); transition: transform .08s ease, background .15s ease; }
.btn:hover { background: var(--navy-2); }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .9rem; }
.btn.outline { background: #fff; color: var(--navy); }
.btn.outline:hover { background: var(--soft); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.self { align-self: flex-start; margin-top: 18px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.row { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 6px; }
.col { display: flex; flex-direction: column; }
.gap { gap: 12px; }

/* Hero */
.hero { background: linear-gradient(180deg, rgba(29,227,212,.14), rgba(249,185,66,.06) 60%, #fff); padding: 28px 0 40px; }
.hgrid { display: grid; gap: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--teal-ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: center; }
.stat { text-align: center; padding: 22px 12px; }
.sv { font-size: 2rem; font-weight: 800; margin: 0; color: var(--navy); }
.phero { background: linear-gradient(180deg, rgba(29,227,212,.12), #fff); padding: 36px 0 8px; }

/* Cards and grids */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
a.card { text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
a.card:hover { box-shadow: 0 10px 30px rgba(12,34,62,.12); transform: translateY(-2px); }
.ct { font-weight: 700; font-size: 1.08rem; margin: 10px 0 4px; }
.num { font-family: Montserrat, sans-serif; font-weight: 700; color: var(--teal-ink); margin: 0; font-size: .9rem; }
.g2, .g3, .g4, .g5 { display: grid; gap: 14px; margin-top: 20px; }
.st { max-width: 720px; }
.st.center { margin: 0 auto; text-align: center; }
.soft { background: var(--soft); }
.soft section.wrap { padding-bottom: 48px; }
.steps { list-style: none; padding: 0; }
.badge { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: Montserrat, sans-serif; font-weight: 800; }
.badge.sm { width: 32px; height: 32px; font-size: .85rem; background: rgba(29,227,212,.18); color: var(--navy); flex: none; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.tag { margin: 10px 0 0; font-size: .8rem; font-weight: 700; color: var(--teal-ink); }
.navy { background: var(--navy); color: #fff; margin-top: 56px; }
.navy section.wrap { padding-bottom: 48px; }
.navy .g4 > div { border-top: 3px solid var(--gold); padding-top: 12px; }
.orgband { display: grid; gap: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.band { display: flex; flex-direction: column; gap: 14px; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; }
.bt { font-weight: 700; font-size: 1.25rem; margin: 0; }
.note { background: #FFF7E6; border: 1px solid #F6D58E; border-radius: var(--r); padding: 14px 16px; font-size: .95rem; }
dl { margin: 20px 0 0; } dd { margin: 0; }

/* Lists */
.check, .next, .nums { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.check li, .next li, .nums li { display: flex; gap: 10px; align-items: flex-start; }
.check .i { color: var(--teal-ink); margin-top: 2px; }
.next .i { color: var(--gold); margin-top: 4px; }
.nums { margin: 12px 0 18px; gap: 12px; }
.lbl { margin: 18px 0 0; font-weight: 600; font-size: .92rem; }

/* FAQ */
.qa { border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.qa summary { min-height: 56px; display: flex; align-items: center; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--teal-ink); }
.qa[open] summary::after { content: "–"; }
.qa p { padding-bottom: 14px; }

/* Footer */
footer { margin-top: 64px; background: var(--soft); border-top: 1px solid var(--line); }
.fgrid { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 32px; }
.fb { font-weight: 700; font-size: 1.1rem; }
.ft { font-weight: 600; margin-bottom: 6px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); text-decoration: none; }
footer li a:hover { color: var(--ink); }
.fbar { border-top: 1px solid var(--line); padding: 14px 0; }
.fbar p { margin: 0; }

@media (min-width: 640px) {
  .row { flex-direction: row; }
  .hide-sm, .btn.hide-sm { display: inline-flex; }
  .logo img { height: 46px; }
  .g2 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .g5 { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: row; align-items: center; justify-content: space-between; padding: 34px; }
  .band .row { margin: 0; }
}
@media (min-width: 900px) {
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .g5 { grid-template-columns: repeat(5, 1fr); }
  .hgrid { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero { padding: 56px 0 56px; }
  .orgband { grid-template-columns: 1.5fr 1fr; align-items: center; padding: 40px; }
  .fgrid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .navlinks { display: flex; }
  .menu { display: none; }
  .topright .btn.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
