﻿/* Shared styles for the plain HTML site. */
:root {
  --ink: #243746;
  --muted: #4c5d6b;
  --blue: #244c70;
  --blue-dark: #183a58;
  --light: #f4f6f8;
  --line: #cbd3da;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 3.5vw, 2.65rem); letter-spacing: -.025em; margin-bottom: 24px; }
h2 { font-size: 1.65rem; letter-spacing: -.015em; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }
p { margin-bottom: 22px; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
.external-link-icon { display: inline-block; width: .9em; height: .9em; margin-left: .2em; vertical-align: -.08em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
button, input, select, textarea { font: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a76900; outline-offset: 4px; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 52px; }
.lead { font-size: 1.2rem; }
.small, .form-instruction { font-size: .9rem; }
.consent { font-size: .85rem; }
.soft { background: var(--light); }
.text-link { display: inline-block; padding-block: 10px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 15px 24px; border: 1px solid var(--blue);
  border-radius: 2px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.4;
}
.button:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--blue); }
.button.secondary:hover { background: #e7edf3; }
.button:disabled { opacity: .7; cursor: wait; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: #fff; padding: 15px; }
.skip-link:focus { top: 15px; }

/* Identical, straightforward navigation on every page. */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--ink); line-height: 1.3; }
#primary-nav { display: flex; align-items: center; gap: 26px; }
#primary-nav > a:not(.button) { font-size: .95rem; text-decoration: none; padding: 12px 0; }
#primary-nav > a[aria-current=page]:not(.button) { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-cta { font-size: .9rem; padding: 12px 18px; min-height: 50px; }
.menu-toggle { display: none; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--blue); }
.menu-toggle[hidden] { display: none; }

/* Page introductions and the short homepage overview. */
.home-intro, .page-intro { padding: 44px 0; background: var(--light); }
.home-intro .container, .home-help .container { max-width: 880px; }
.home-intro h1 { max-width: 760px; }
.home-intro p { max-width: 740px; }
.home-intro .lead { font-size: 1.25rem; }
.home-phone { display: inline-flex; align-items: center; padding: 14px 8px; min-height: 54px; font-weight: 700; }
.home-help { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.home-help h2 { font-size: 1.55rem; }
.home-help p:last-child { margin-bottom: 0; }
.page-intro h1 { max-width: 860px; }
.page-intro .lead { max-width: 780px; margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; margin-bottom: 24px; }
.cta { background: var(--light); border-block: 1px solid var(--line); }
.cta .container { max-width: 880px; }
.cta h2 { max-width: 760px; }
.cta p { margin-bottom: 0; }
.local-grid, .contact-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.location-panel { padding: 28px; background: var(--light); border: 1px solid var(--line); }
.location-panel h3 { font-size: 1.25rem; }
.location-panel iframe { width: 100%; height: 310px; border: 0; }
.phone-display, .phone-large { font-weight: 700; font-size: 1.5rem; }
.contact-top address { margin-top: 24px; }

/* Medicare guide: readable document layout, native HTML accordions. */
.guide-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 52px; align-items: start; }
.guide-sidebar { position: sticky; top: 24px; }
.toc { border-left: 3px solid var(--line); padding-left: 20px; margin-bottom: 24px; }
.toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.toc a { display: block; padding: 10px 0; font-size: .9rem; line-height: 1.5; }
.toc a span { display: none; }
.guide-section { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.guide-section:first-child { padding-top: 0; }
.guide-section h2 { font-size: 1.6rem; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 20px 36px 20px 0; cursor: pointer; font-weight: 700; list-style: none; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 8px; top: 16px; font-size: 1.4rem; font-weight: 400; }
details[open] > summary::after { content: '\2212'; }
.answer { padding: 0 24px 4px 0; }
.sources { font-size: .85rem; margin-top: 24px; }
.back-top { display: inline-block; padding: 10px 0; font-size: .85rem; }
.guide-content > .small { margin-top: 26px; }

/* Forms keep labels, errors and notices visible and easy to read. */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form-card { min-width: 0; background: #fff; }
.soft .form-card { padding: 28px; border: 1px solid var(--line); }
.form-card h2 { font-size: 1.4rem; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: .95rem; font-weight: 700; line-height: 1.4; margin-bottom: 9px; }
.optional { color: var(--muted); font-size: .85rem; font-weight: 400; }
input, select, textarea { width: 100%; min-width: 0; min-height: 52px; padding: 11px 12px; border: 1px solid #7a8b9a; border-radius: 2px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
[aria-invalid=true] { border: 2px solid #a12323; }
.field-error { display: block; color: #9b2525; font-size: .85rem; line-height: 1.5; margin-top: 6px; }
.field-error:empty { display: none; }
.notice { background: var(--light); border-left: 3px solid #7a8b9a; padding: 16px; font-size: .9rem; margin-top: 24px; }
.consent { color: var(--muted); }
.request-form > .small { margin-top: 18px; margin-bottom: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { border: 1px solid #a35c2f; background: #fff5ed; padding: 18px; margin-bottom: 24px; }
.form-status.success { background: #edf5ef; border-color: #42694a; }
.form-aside { border-left: 1px solid var(--line); padding-left: 28px; }
.form-aside h2 { font-size: 1.5rem; }
.steps { padding-left: 24px; }
.steps li { padding: 6px 0; }
.aside-contact { border-block: 1px solid var(--line); padding: 24px 0; margin: 24px 0; }
.aside-contact p { margin: 12px 0 0; font-size: .9rem; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 36px; }

/* Footer information and required disclosures. */
footer { padding-top: 44px; background: var(--light); border-top: 1px solid var(--line); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .85fr 1fr; gap: 48px; padding-bottom: 28px; }
.footer-brand { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.footer-grid > div > p:first-of-type { margin-top: 18px; }
.footer-grid h2 { font-size: 1rem; margin-bottom: 16px; }
.footer-grid nav > a { display: block; padding: 8px 0; min-height: 44px; }
.disclosures { border-top: 1px solid var(--line); padding: 24px 0 10px; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.disclosures p { margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0; font-size: .85rem; color: var(--muted); }
.mobile-actions { display: none; }

@media (max-width: 950px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; gap: 16px; }
  .menu-toggle:not([hidden]) { display: block; margin-left: auto; }
  #primary-nav { width: 100%; justify-content: space-between; gap: 16px; }
  .js #primary-nav { display: none; }
  .js #primary-nav.is-open { display: flex; }
  .form-layout, .local-grid, .contact-top { gap: 32px; }
  .form-fields { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 36px; }
  .home-intro, .page-intro { padding-block: 32px; }
  .home-help { padding-block: 32px; }
  .brand { font-size: 1.1rem; }
  #primary-nav { flex-direction: column; align-items: stretch; }
  #primary-nav > a:not(.button) { padding: 12px 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .home-phone { justify-content: center; }
  .local-grid, .contact-top, .form-layout, .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .toc { margin-bottom: 16px; }
  .guide-section { padding-block: 28px; }
  .guide-section h2 { font-size: 1.5rem; }
  .form-aside { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .soft .form-card { padding: 20px; }
  .request-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-block: 6px; }
  footer { padding-bottom: 80px; }
  .mobile-actions { display: grid; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; grid-template-columns: 1fr 1.2fr; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-actions a { display: flex; justify-content: center; align-items: center; min-height: 64px; padding: 12px 8px; font-size: .8rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
  .mobile-actions a:last-child { background: var(--blue); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Contact: an eight-column form and four-column office sidebar. */
.contact-heading { padding-top: 28px; padding-bottom: 24px; }
.contact-heading .breadcrumbs { margin-bottom: 20px; }
.contact-heading h1 { margin-bottom: 12px; }
.contact-heading p { margin-bottom: 0; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
}
.contact-form-panel { padding: 28px 32px; border: 1px solid var(--line); }
.contact-form-panel h2 { font-size: 1.35rem; margin-bottom: 8px; }
.contact-form-panel .form-instruction { color: var(--muted); margin-bottom: 24px; }
.contact-form-panel .form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form-panel input, .contact-form-panel textarea { background: #fbfcfd; }
.contact-form-panel input:focus, .contact-form-panel textarea:focus { background: #fff; }
.contact-form-panel .notice { margin-bottom: 20px; }
.contact-form-panel .consent { line-height: 1.6; }
.contact-sidebar { padding: 26px; background: var(--light); }
.contact-sidebar section + section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.contact-sidebar h2 { font-size: 1.05rem; margin-bottom: 12px; }
.contact-sidebar .phone-large { font-size: 1.3rem; }
.contact-sidebar p { font-size: .95rem; margin-top: 12px; margin-bottom: 0; }
.contact-sidebar .text-link { font-size: .95rem; margin-top: 6px; }

/* Guide: visible answers, distinct question headings, a comfortable line length. */
.medicare-guide .page-intro { padding-block: 28px; }
.medicare-guide .page-intro h1 { margin-bottom: 14px; }
.medicare-guide .page-intro .lead { font-size: 1.1rem; }
.medicare-guide .guide-layout { grid-template-columns: 245px minmax(0, 1fr); gap: 60px; }
.medicare-guide .guide-content { max-width: 70ch; }
.medicare-guide .guide-sidebar { max-height: calc(100dvh - 48px); overflow-y: auto; padding: 22px; background: #f0f2f4; border: 1px solid #e0e4e8; }
.medicare-guide .guide-sidebar > .small { font-size: .85rem; margin-bottom: 0; }
.medicare-guide .guide-content > .small { font-size: .85rem; color: var(--muted); }
.medicare-guide .toc { border-left: 0; padding-left: 0; }
.medicare-guide .toc h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.medicare-guide .toc a { text-decoration: none; padding-block: 10px; }
.medicare-guide .toc a:hover { text-decoration: underline; }
.medicare-guide .guide-section { padding: 36px 0 40px; }
.medicare-guide .guide-section:first-child { padding-top: 0; }
.medicare-guide .guide-section h2 { font-size: 1.7rem; margin-bottom: 20px; }
.guide-question { margin-top: 26px; }
.guide-question h3 { font-size: 1.08rem; line-height: 1.5; margin-bottom: 10px; }
.guide-question p { line-height: 1.8; margin-bottom: 0; }
.medicare-guide .sources { padding-top: 18px; margin-bottom: 0; font-size: .85rem; color: var(--muted); }
.guide-prompt { padding: 22px 24px; margin-block: 28px 4px; background: var(--light); border-left: 3px solid #8c9fae; }
.guide-prompt p { font-size: .95rem; margin-bottom: 8px; }
.guide-prompt strong { display: block; color: var(--ink); margin-bottom: 4px; }
.guide-prompt > a { display: inline-block; padding-block: 8px; font-weight: 700; }
@media (max-width: 950px) {
  .contact-layout { gap: 24px; }
  .contact-form-panel { padding: 24px; }
  .contact-sidebar { padding: 20px; }
  .contact-sidebar .phone-large { font-size: 1.1rem; }
  .medicare-guide .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 700px) {
  .contact-layout, .medicare-guide .guide-layout { grid-template-columns: 1fr; }
  .contact-heading { padding-top: 22px; }
  .contact-form-panel { padding: 22px 18px; }
  .contact-form-panel .form-fields { grid-template-columns: 1fr; }
  .contact-sidebar .phone-large { font-size: 1.3rem; }
  .medicare-guide .guide-sidebar { max-height: none; overflow: visible; padding: 20px; }
  .medicare-guide .toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .medicare-guide .toc h2 { grid-column: 1 / -1; }
  .medicare-guide .guide-section h2 { font-size: 1.5rem; }
  .guide-question { margin-top: 24px; }
}
@media (max-width: 380px) {
  .medicare-guide .toc { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .mobile-actions, .actions, .guide-sidebar, .guide-prompt, footer, .back-top { display: none; }
  .container { width: 100%; }
  .section { padding: 20px 0; }
  .guide-layout { display: block; }
  details::details-content { content-visibility: visible; }
  a { color: inherit; }
  .page-intro { background: none; }
}
