/* Silver Years Pharmacy: warm cream, deep navy and amber, with large, high-contrast text. Merriweather for headings,
   Atkinson Hyperlegible for text. Centred two-row header. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF6E5;
  --surface: #FFFFFF;
  --soft: #FBEBC8;
  --ink: #1B2A41;
  --muted: #3F4C61;
  --line: #E8D8B5;
  --line-strong: #B9A06A;
  --brand: #1F3A5F;
  --brand-hover: #142A47;
  --brand-ink: #FFFFFF;
  --brand-text: #1F3A5F;
  --amber: #B45309;
  --eyebrow: #9A4408;
  --badge-bg: #B45309;
  --badge-ink: #FFFFFF;
  --out-bg: #1F3A5F;
  --out-ink: #FFFFFF;
  --out-accent: #FFC76B;
  --out-btn: #FFC76B;
  --out-btn-ink: #1B2A41;
  --head: "Merriweather", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --fs-body: 1.1875rem;
  --radius: 10px;
  --radius-lg: 16px;
  --btn-radius: 12px;
  --wrap: 1120px;
  --gap: 24px;
}
body { line-height: 1.7; }
h1, h2, h3 { font-weight: 900; line-height: 1.2; letter-spacing: 0; }
.btn { min-height: 56px; font-size: 1.05rem; font-weight: 700; border-width: 2px; }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.input { min-height: 56px; border-width: 2px; font-size: 1.05rem; }
.eyebrow { font-weight: 700; letter-spacing: .06em; }
.ic { color: var(--amber); width: 32px; height: 32px; }
:focus-visible { outline-width: 4px; }

/* header: logo centred on the first row, menu on the second */
.header { background: #fff; border-bottom: 4px solid var(--amber); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 48px; height: 48px; }
.logo span { display: grid; line-height: 1.15; }
.logo b { font: 900 1.45rem var(--head); color: var(--brand); }
.logo small { font-size: .9rem; color: var(--muted); }
.nav a { font-weight: 700; font-size: 1.05rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 961px) {
  .h-senior > .wrap { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0; padding-block: 14px 8px; }
  .h-senior .logo { flex: 1 0 100%; justify-content: center; }
  .h-senior .nav { margin-left: 0; }
  .h-senior .header-cta { margin-left: 16px; }
  .h-senior .nav-toggle { display: none; }
}

/* hero: big words, big phone number */
.hero { padding-block: clamp(32px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 12px 0 18px; }
.hero-call { margin: 6px 0 22px; font-size: 1.25rem; }
.hero-call a { display: inline-block; font: 900 1.7rem var(--head); color: var(--amber); text-decoration: none; border-bottom: 3px solid currentColor; }
.hero-card { border-radius: 24px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 20px 40px -24px rgba(31, 58, 95, .5); background: #fff; }
.hero-card svg { display: block; width: 100%; height: auto; }
.big-points { background: #fff; border-block: 2px solid var(--line); padding-block: clamp(32px, 5vw, 56px); }
.points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.points h3 { font-size: 1.15rem; margin-bottom: 4px; }
.points p { color: var(--muted); }
.c-card { border: 2px solid var(--line); background: #fff; }
.c-filters button { min-height: 52px; border-width: 2px; font-size: 1.05rem; }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.team-band { background: var(--soft); }
.page-head { background: var(--soft); border-bottom: 2px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b { color: #FFC76B; }
.numbers span { color: #E5ECF6; }
.quotes li, .adm-steps li { border-width: 2px; }

/* planner */
.meds { display: grid; gap: 14px; }
.med { display: grid; gap: 12px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: #fff; min-width: 0; }
.med legend { font-weight: 700; padding: 0 6px; }
.med-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.med-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .med-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.med-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .med-nums { grid-template-columns: minmax(0, 1fr); } }
.med .field > label { font-size: .88rem; }
.med .input { min-height: 48px; padding-inline: 10px; }
.med-del { min-height: 48px; padding: 6px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius); background: transparent; cursor: pointer; font-weight: 700; }
.sched-band { background: #fff; border-top: 2px solid var(--line); }
.sched { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.sched .slot-card { padding: 18px; border-radius: var(--radius-lg); border: 2px solid var(--line); background: var(--bg); }
.sched .slot-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 10px; }
.sched .slot-card ul { list-style: none; display: grid; gap: 8px; }
.sched .slot-card li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-strong); }
.sched .slot-card li b { font-variant-numeric: tabular-nums; }
.sched .slot-card.is-empty { opacity: .6; }
.runout { grid-column: 1 / -1; padding: 18px; border-radius: var(--radius-lg); border: 2px solid var(--brand); background: #fff; }
.runout table { width: 100%; border-collapse: collapse; }
.runout th, .runout td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.runout .is-soon td { color: #9A2B12; font-weight: 700; }
.table-scroll { overflow-x: auto; }
@media print {
  .header, .footer, .wa-float, .cta-band, .tool, .page-head, .announce, .skip { display: none !important; }
  .sched-band { border: 0; padding: 0; }
  body { background: #fff; font-size: 14pt; }
}

.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta-band p { margin-top: 8px; color: #E5ECF6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #FFC76B; color: #1B2A41; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.footer { background: #142A47; color: #D3DDEC; --footer-line: rgba(255,255,255,.2); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #D3DDEC; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #FFC76B; }
