/* Hallmark · macrostructure: Marquee Hero + Long Document · tone: utilitarian, engineered · anchor hue: hurricane-flag red
 * Solar Energy Professionals v2 · tokens live in tokens.css; this file references them by name only.
 */

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-body);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: 1.55;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-style: normal; color: var(--color-ink); margin: 0; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.hero :focus-visible, .tool-band :focus-visible, .site-footer :focus-visible { outline-color: var(--color-focus-dark); }

.skip {
  position: absolute; left: var(--space-md); top: -10rem; z-index: 20;
  background: var(--color-ink); color: var(--color-white);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm);
  font-weight: 650; text-decoration: none;
}
.skip:focus { top: var(--space-md); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--target); padding: 0 var(--space-lg);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: var(--text-md); font-weight: 650; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn-lg { min-height: 3.25rem; padding: 0 var(--space-xl); font-size: var(--text-md); }
.btn-quote { background: var(--color-signal); color: var(--color-white); }
.btn-quote:hover { background: var(--color-signal-hover); }
.btn-quote:active { transform: translateY(1px); }
.btn-quote:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ghost { border-color: var(--color-fog); color: var(--color-light); background: transparent; }
.btn-ghost:hover { background: var(--color-storm-2); border-color: var(--color-light); }
.btn-ghost:active { transform: translateY(1px); }

/* ------------------------------------------------------------------ header */
.site-header { background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding-block: var(--space-sm);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  min-height: var(--target); text-decoration: none; color: var(--color-ink);
}
.mark { flex: none; width: 2.5rem; height: 2.5rem; }
.mark-flag { fill: var(--color-signal); }
.mark-core { fill: var(--color-ink); }
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-stretch: 118%; font-weight: 780;
  font-size: 1.0625rem; line-height: 1.02; letter-spacing: -0.01em;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-xs); }
.nav-link {
  display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--space-md);
  font-weight: 600; color: var(--color-ink); text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-sm);
}
.nav-link:hover { text-decoration: underline; text-decoration-color: var(--color-signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (max-width: 47.99em) {
  .header-row { flex-wrap: wrap; }
  .main-nav { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); }
  .nav-link { width: 100%; justify-content: center; border: var(--rule-hair) solid var(--color-rule); padding: 0 var(--space-sm); }
  .nav-quote { grid-column: 1 / -1; }
  .nav-quote .btn { width: 100%; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: var(--color-light); background: var(--color-scrim); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 60% 50%; }
.hero-town .hero-photo img { object-position: 50% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--color-scrim-band) 0%, var(--color-scrim-strong) 70%);
}
.hero-grid, .reading, .tool-grid, .quote-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: var(--space-2xl);
  padding-block: var(--space-2xl) var(--space-3xl);
}
.kicker { font-weight: 650; font-size: var(--text-sm); color: var(--color-fog); margin-bottom: var(--space-sm); }
.hero h1 {
  color: var(--color-white);
  font-family: var(--font-display); font-stretch: 116%; font-weight: 780;
  line-height: 1.02; letter-spacing: -0.015em; max-width: 17ch;
  font-size: var(--text-h1);
}
.hero h1.h1-m { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); max-width: 21ch; }
.hero h1.h1-l { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); max-width: 24ch; }
.hero-lead {
  margin-top: var(--space-lg); max-width: 54ch;
  font-size: var(--text-lg); line-height: 1.45; color: var(--color-light);
}
.proposition {
  list-style: none; margin: var(--space-lg) 0 0; padding: 0;
  display: grid; gap: var(--space-xs);
  font-weight: 650; color: var(--color-white);
}
.proposition li { display: grid; grid-template-columns: 0.875rem minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; }
.proposition li::before { content: ""; width: 0.75rem; height: 0.75rem; background: var(--color-signal); transform: translateY(0.05rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

@media (min-width: 60em) {
  .hero::before {
    background: linear-gradient(90deg, var(--color-scrim-strong) 0%, var(--color-scrim-strong) 42%, var(--color-scrim-soft) 78%, var(--color-scrim-band) 100%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: end;
    padding-block: var(--space-3xl) var(--space-3xl);
    min-height: min(44rem, calc(100vh - 8rem));
  }
  .hero-town .hero-grid { min-height: min(36rem, calc(100vh - 10rem)); }
}

/* concept note: one line along the foot of the photo */
.concept-note {
  position: relative; z-index: 2;
  background: var(--color-scrim-band); border-top: var(--rule-hair) solid var(--color-storm-2);
  padding-block: var(--space-sm); font-size: var(--text-sm); color: var(--color-fog);
}
.concept-note .wrap { display: block; }
.concept-note strong { color: var(--color-white); font-weight: 650; }

/* ------------------------------------------------------------------ plates (signature) */
.plate {
  --rivet: radial-gradient(circle, var(--color-plate-edge) 0 3px, transparent 3.5px);
  background-color: var(--color-plate);
  background-image: var(--rivet), var(--rivet), var(--rivet), var(--rivet);
  background-size: 1rem 1rem; background-repeat: no-repeat;
  background-position: 0.375rem 0.375rem, calc(100% - 0.375rem) 0.375rem, 0.375rem calc(100% - 0.375rem), calc(100% - 0.375rem) calc(100% - 0.375rem);
  border: var(--rule-hair) solid var(--color-plate-edge); border-radius: var(--radius-sm);
  color: var(--color-ink);
  padding: var(--space-xl);
}
.plate-title {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750;
  font-size: var(--text-lg); line-height: 1.15; margin-bottom: var(--space-md);
}
.wind-plate dl { margin: 0; }
.plate-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: end;
  padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-plate-edge);
}
.plate-row dt { font-size: var(--text-sm); font-weight: 550; color: var(--color-muted); }
.plate-row dd { margin: 0; font-weight: 700; color: var(--color-ink); white-space: nowrap; }
.blank { display: inline-block; width: 3.5rem; border-bottom: 2px solid var(--color-ink); vertical-align: -0.1em; }
.plate-note {
  margin-top: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-plate-edge);
  font-size: var(--text-sm); color: var(--color-muted); line-height: 1.45;
}

/* ------------------------------------------------------------------ route band (town navigation) */
.route { background: var(--color-surface); border-bottom: var(--rule-hair) solid var(--color-rule); }
.route .wrap { padding-block: var(--space-lg) var(--space-md); }
.route-title { font-weight: 650; font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-xs); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; }
.route-list li { position: relative; }
.route-list li::before {
  content: ""; position: absolute; background: var(--color-ink); z-index: 0;
}
.route-list a {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: var(--space-md);
  min-height: 3rem; text-decoration: none; color: var(--color-ink);
  border-radius: var(--radius-sm);
}
.stop {
  flex: none; width: 1.125rem; height: 1.125rem; border-radius: 50%;
  background: var(--color-surface); border: 3px solid var(--color-ink);
}
.stop-text { display: flex; flex-direction: column; line-height: 1.2; }
.stop-name { font-weight: 700; }
.stop-county { font-size: var(--text-xs); color: var(--color-muted); }
.route-list a:hover .stop-name { text-decoration: underline; text-decoration-color: var(--color-signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.route-list a[aria-current="page"] .stop { background: var(--color-signal); border-color: var(--color-signal); box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-signal); }
.route-list a[aria-current="page"] .stop-name { color: var(--color-signal-ink); }

/* phone: a vertical line of stops */
@media (max-width: 47.99em) {
  .route-list li::before { left: calc(0.5625rem - 1.5px); width: 3px; top: 0; bottom: 0; }
  .route-list li:first-child::before { top: 50%; }
  .route-list li:last-child::before { bottom: 50%; }
}
/* wider: the coast as a horizontal line */
@media (min-width: 48em) {
  .route-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .route-list li::before { top: calc(0.5625rem + var(--space-sm) - 1.5px); height: 3px; left: 0; right: 0; }
  .route-list li:first-child::before { left: 50%; }
  .route-list li:last-child::before { right: 50%; }
  .route-list a { flex-direction: column; gap: var(--space-xs); padding: var(--space-sm) var(--space-xs); text-align: center; }
  .stop-text { align-items: center; }
}

/* ------------------------------------------------------------------ reading area */
.reading { display: grid; gap: var(--space-xl); padding-block: var(--space-2xl) var(--space-4xl); }
.toc { font-size: var(--text-sm); }
.toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  min-height: 3rem; padding: 0 var(--space-md); cursor: pointer; list-style: none;
  font-weight: 700; color: var(--color-ink);
}
.toc summary::-webkit-details-marker { display: none; }
.toc-count { font-weight: 600; color: var(--color-muted); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: sec; }
.toc li { counter-increment: sec; }
.toc a {
  display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); align-items: center;
  min-height: var(--target); padding: var(--space-2xs) var(--space-sm);
  color: var(--color-body); text-decoration: none; line-height: 1.3;
  border-radius: var(--radius-sm);
}
.toc a::before { content: counter(sec); font-weight: 700; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--color-ink); background: var(--color-surface); }
.toc a[aria-current="location"] { color: var(--color-ink); font-weight: 700; background: var(--color-surface); }
.toc a[aria-current="location"]::before { color: var(--color-signal-ink); }

@media (max-width: 67.99em) {
  .toc {
    position: sticky; top: 0; z-index: 5;
    background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-sm);
  }
  .toc summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--color-ink); }
  .toc[open] summary::after { content: "–"; }
  .toc .toc-count { margin-left: auto; }
  .toc nav { max-height: 60vh; overflow-y: auto; padding: 0 var(--space-xs) var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
  .editorial h2, .editorial h3 { scroll-margin-top: 4.5rem; }
}
@media (min-width: 68em) {
  .reading { grid-template-columns: minmax(0, 1fr) 17rem; gap: var(--space-4xl); }
  .toc { grid-column: 2; grid-row: 1; position: sticky; top: var(--space-lg); align-self: start; }
  .toc summary { cursor: default; padding: 0 var(--space-sm); min-height: 2.5rem; border-bottom: var(--rule-bold) solid var(--color-ink); }
  .toc nav { padding-top: var(--space-xs); }
  .editorial { grid-column: 1; grid-row: 1; }
  .editorial h2, .editorial h3 { scroll-margin-top: var(--space-lg); }
}

/* ------------------------------------------------------------------ editorial article */
.editorial {
  max-width: var(--measure); min-width: 0;
  font-family: var(--font-body); font-size: var(--text-body); line-height: 1.68; color: var(--color-body);
}
.editorial > :first-child { margin-top: 0; }
.editorial h2 {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 740;
  font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.01em;
  margin: var(--space-4xl) 0 var(--space-lg); padding-top: var(--space-lg);
  border-top: var(--rule-bold) solid var(--color-ink);
}
.editorial h2:first-child { margin-top: 0; }
.editorial h3 {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-h3); line-height: 1.2;
  margin: var(--space-2xl) 0 var(--space-sm);
}
.editorial p, .editorial ul, .editorial ol { margin: 0 0 var(--space-md); }
.editorial ul, .editorial ol { padding-left: 1.4em; }
.editorial li { margin-bottom: var(--space-xs); padding-left: var(--space-2xs); }
.editorial ul li::marker { color: var(--color-signal); }
.editorial ol li::marker { font-family: var(--font-ui); font-weight: 700; color: var(--color-signal-ink); }
.editorial strong { color: var(--color-ink); font-weight: 650; }
.editorial a, .pending-plate a, .footer-notes a {
  color: var(--color-ink); text-decoration: underline;
  text-decoration-color: var(--color-signal); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.editorial a:hover, .pending-plate a:hover { color: var(--color-signal-ink); }
.editorial blockquote {
  margin: var(--space-xl) 0; padding: var(--space-xl);
  --rivet: radial-gradient(circle, var(--color-plate-edge) 0 3px, transparent 3.5px);
  background-color: var(--color-plate);
  background-image: var(--rivet), var(--rivet), var(--rivet), var(--rivet);
  background-size: 1rem 1rem; background-repeat: no-repeat;
  background-position: 0.375rem 0.375rem, calc(100% - 0.375rem) 0.375rem, 0.375rem calc(100% - 0.375rem), calc(100% - 0.375rem) calc(100% - 0.375rem);
  border: var(--rule-hair) solid var(--color-plate-edge); border-radius: var(--radius-sm);
  font-size: var(--text-md);
}
.editorial blockquote > :last-child { margin-bottom: 0; }

.table-scroll {
  margin: var(--space-xl) 0; overflow-x: auto; border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-sm); background: var(--color-white);
}
.editorial table {
  width: 100%; min-width: 34rem; border-collapse: collapse;
  font-family: var(--font-ui); font-size: var(--text-sm); line-height: 1.45; font-variant-numeric: tabular-nums;
}
.editorial th {
  text-align: left; vertical-align: bottom; background: var(--color-storm); color: var(--color-light);
  font-weight: 650; padding: var(--space-sm) var(--space-md);
}
.editorial td { vertical-align: top; padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.editorial tbody tr:nth-child(even) td { background: var(--color-paper); }
.editorial td:first-child { font-weight: 650; color: var(--color-ink); }

/* ------------------------------------------------------------------ quote check (tool) */
.tool-band { background: var(--color-storm); color: var(--color-light); }
.tool-grid { display: grid; gap: var(--space-2xl); padding-block: var(--space-3xl); }
.tool-band h2 {
  color: var(--color-white); font-family: var(--font-display); font-stretch: 118%; font-weight: 780;
  font-size: var(--text-h2); line-height: 1.05; margin-bottom: var(--space-md);
}
.tool-intro p { max-width: 52ch; }
.tool-source { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-fog); }
.tool-fields { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: var(--space-xs); align-content: start; }
.field label { font-weight: 650; line-height: 1.25; }
.hint { display: block; font-weight: 450; font-size: var(--text-sm); }
.tool-band .hint { color: var(--color-fog); }
.tool-band input {
  width: 100%; min-height: 3rem; padding: 0 var(--space-md);
  background: var(--color-storm-2); color: var(--color-white);
  border: 2px solid var(--color-fog); border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: var(--text-lg); font-weight: 650; font-variant-numeric: tabular-nums;
}
.tool-band input:hover { border-color: var(--color-light); }
.tool-band input:disabled { opacity: 0.7; cursor: not-allowed; }
.tool-noscript { margin-top: var(--space-md); color: var(--color-fog); }
.tool-result { display: grid; gap: var(--space-md); margin-top: var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.readout { border-top: var(--rule-bold) solid var(--color-fog); padding-top: var(--space-sm); }
.readout-label { font-size: var(--text-sm); font-weight: 650; color: var(--color-fog); }
.readout-value {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 780; font-size: 2.125rem; line-height: 1.1;
  color: var(--color-white); font-variant-numeric: tabular-nums; margin-block: var(--space-2xs);
}
.readout-note { font-size: var(--text-sm); color: var(--color-light); line-height: 1.45; }
.readout[data-state="over"] { border-top-color: var(--color-signal); }
.readout[data-state="over"] .readout-label::after {
  content: "Over the limit"; margin-left: var(--space-xs); padding: 0 var(--space-xs);
  background: var(--color-signal); color: var(--color-white); border-radius: var(--radius-sm);
}
@media (min-width: 64em) {
  .tool-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-3xl); }
}

/* ------------------------------------------------------------------ quote checklist */
.quote-band { border-top: var(--rule-hair) solid var(--color-rule); }
.quote-grid { display: grid; gap: var(--space-2xl); padding-block: var(--space-3xl) var(--space-4xl); }
.quote-band h2 {
  font-family: var(--font-display); font-stretch: 118%; font-weight: 780;
  font-size: var(--text-h2); line-height: 1.05; margin-bottom: var(--space-md);
}
.quote-intro p { max-width: 46ch; }
.quote-private { margin-top: var(--space-sm); font-weight: 650; color: var(--color-ink); }
.quote-tool { display: grid; gap: var(--space-md); align-content: start; }
.quote-tool select {
  width: 100%; min-width: 0; max-width: 100%; min-height: 3rem; padding: 0 var(--space-md);
  background: var(--color-white); color: var(--color-ink);
  border: 2px solid var(--color-muted); border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: var(--text-md); font-weight: 600;
}
.quote-tool select:hover { border-color: var(--color-ink); }
.quote-tool .btn { justify-self: start; }
.quote-result:empty { display: none; }
.quote-result { border-top: var(--rule-bold) solid var(--color-ink); padding-top: var(--space-md); }
.quote-result h3 { font-family: var(--font-display); font-stretch: 108%; font-size: var(--text-h3); line-height: 1.2; margin-bottom: var(--space-sm); }
.quote-result ol { margin: 0 0 var(--space-md); padding-left: 1.5em; display: grid; gap: var(--space-xs); }
.quote-result li::marker { font-weight: 700; color: var(--color-signal-ink); }
.quote-local { font-weight: 650; color: var(--color-ink); margin-bottom: var(--space-sm); }
.quote-foot { font-size: var(--text-sm); color: var(--color-muted); }
@media (min-width: 60em) {
  .quote-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-3xl); }
}

/* ------------------------------------------------------------------ town pages */
.pending .wrap { padding-block: var(--space-3xl) var(--space-4xl); }
.pending-plate { max-width: 44rem; }
.pending-plate h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: var(--text-h2); line-height: 1.1; margin-bottom: var(--space-md); }
.pending-plate p { font-family: var(--font-body); font-size: var(--text-body); line-height: 1.6; margin-bottom: var(--space-sm); }
.pending-plate p:last-child { margin-bottom: 0; }

.next-band { background: var(--color-surface); border-top: var(--rule-hair) solid var(--color-rule); }
.next-band .wrap { padding-block: var(--space-3xl) var(--space-4xl); }
.next-band h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 780; font-size: var(--text-h2); line-height: 1.05; margin-bottom: var(--space-xl); }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.next { display: grid; gap: var(--space-sm); height: 100%; text-decoration: none; }
.next-name { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: var(--text-lg); line-height: 1.2; }
.next-text { color: var(--color-body); }
.next-action {
  justify-self: start; margin-top: var(--space-xs); font-weight: 700; color: var(--color-signal-ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.next:hover { border-color: var(--color-ink); }
.next:hover .next-action { color: var(--color-ink); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--color-storm); color: var(--color-fog); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: var(--space-xl); padding-block: var(--space-3xl); }
.brand-dark { color: var(--color-white); }
.brand-dark .mark-core { fill: var(--color-scrim); }
.footer-brand p { margin-top: var(--space-sm); max-width: 34ch; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-nav a {
  display: flex; align-items: center; min-height: var(--target);
  color: var(--color-light); font-weight: 600; text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--color-signal); text-decoration-thickness: 2px; }
.footer-nav a[aria-current="page"] { color: var(--color-white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-notes p { margin-bottom: var(--space-sm); max-width: 60ch; }
.footer-notes strong { color: var(--color-light); }
.site-footer .footer-notes a { color: var(--color-light); }
@media (min-width: 60em) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr) minmax(0, 1.4fr); gap: var(--space-2xl); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
