/* Seniors site: calm, warm, readable. Tokens only below; no inline styles (CSP). */
:root {
  --ink: #1f2a28;          /* body text */
  --muted: #45514e;        /* secondary text, >= 7:1 on white, >= 6.5:1 on tints */
  --brand: #1d5c57;        /* deep teal: buttons, links, logo */
  --brand-dark: #154541;
  --on-brand: #ffffff;
  --warm: #93421d;         /* eyebrows, accents (AA on white/cream/sage) */
  --heart: #e9a676;
  --white: #ffffff;
  --cream: #fbf5ea;
  --sage: #e9f1ed;
  --grey: #f1efea;
  --line: #cfd8d4;
  --radius: 14px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.center .narrow { margin-left: auto; margin-right: auto; }
.lead { font-size: 20px; color: var(--muted); }
.note { font-size: 16px; color: var(--muted); }
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--warm); margin-bottom: .6em; }

/* Header: solid white, logo at the far left edge, one row on phones */
.top { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px; padding: 12px 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo__mark { flex: none; }
.logo__roof, .logo__house { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.logo__heart { fill: var(--heart); }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 23px; white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brand); color: var(--brand); }
.top__cta .short { display: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; padding: 10px 16px; border: 1.5px solid var(--brand);
  border-radius: 10px; color: var(--brand); background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu__list { position: absolute; right: 0; top: calc(100% + 10px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(20, 40, 38, .16); padding: 10px 16px; min-width: 250px; display: grid; }
.menu__list a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--grey); }
.menu__list a:last-child { border-bottom: 0; }
.menu__list a[aria-current="page"] { color: var(--brand); }

/* Buttons: padded, high contrast */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 12px 26px;
  border-radius: 12px; font-size: 18px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.25; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-dark); color: var(--on-brand); }
.btn--ghost { background: var(--white); color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--sage); }
.top__cta { min-height: 46px; padding: 10px 20px; font-size: 17px; white-space: nowrap; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4em 0 1em; }
.actions--center { justify-content: center; }

/* Bands: white / cream / sage rhythm, neighbours never share a colour */
.band { padding: 72px 0; }
.band--slim { padding: 52px 0 40px; }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--sage { background: var(--sage); }
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.panel { background: var(--cream); border: 2px solid var(--brand); border-radius: 20px; padding: 28px 30px; }
.panel__h { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: .6em; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand);
  -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 6px; height: 10px; border: solid var(--on-brand);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks--no li::before { background: var(--warm); }
.ticks--no li::after { left: 5px; top: calc(.35em + 9px); width: 10px; height: 0; border-width: 0 0 2.5px 0; transform: none; }

.cards { display: grid; gap: 22px; margin-top: 28px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.band--white .card { border-color: var(--brand); }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; max-width: 900px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 20px;
  display: grid; place-items: center; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }

.qas { display: grid; gap: 18px; max-width: 900px; }
.qa { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.band--white .qa { background: var(--cream); border-color: var(--cream); }
.qa p { margin: 0; color: var(--muted); }

.page { max-width: 860px; }
.page h2 { margin-top: 1.6em; font-size: 26px; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .5em; }
.draft { display: inline-block; background: var(--cream); border: 2px solid var(--warm); color: var(--warm); font-weight: 700; font-size: 16px;
  padding: 6px 14px; border-radius: 10px; }
.source { font-size: 16px; color: var(--muted); margin-top: 2em; }

.foot { background: var(--grey); padding: 52px 0 28px; font-size: 16px; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot p { margin: 0 0 .55em; }
.foot a { color: var(--brand-dark); overflow-wrap: anywhere; }
.foot__brand { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.foot__h { font-weight: 700; color: var(--ink); }
.foot .foot__fine { margin: 24px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .cards--3 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .top { padding: 10px 14px; gap: 10px; min-height: 64px; }
  .logo { gap: 8px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__name { font-size: 18px; }
  .logo__mark { width: 26px; height: 26px; }
  .top__cta { padding: 8px 12px; min-height: 44px; font-size: 16px; }
  .menu summary { font-size: 16px; }
  .top__cta .long { display: none; }
  .top__cta .short { display: inline; }
  .menu summary { padding: 9px 12px; }
  .band { padding: 48px 0; }
  .hero { padding: 36px 0 44px; }
  .lead { font-size: 18px; }
  .cards--2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .step__n { width: 38px; height: 38px; font-size: 18px; }
  .card, .qa, .panel { padding: 20px; }
  .actions .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 20px; }
}
