@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ivory: #f8f5ef;
  --ink: #152c35;
  --orange: #f26a35;
  --teal: #087f8c;
  --sand: #e9e2d7;
  --cream: #fffaf0;
  --white: #ffffff;
  --muted: #586970;
  --shadow: 0 18px 50px rgba(21, 44, 53, 0.12);
  --hairline: rgba(21, 44, 53, 0.08);
  --hairline-strong: rgba(21, 44, 53, 0.14);
  --font-body: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --page-gutter: clamp(1rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.disclosure {
  padding: 0.45rem var(--page-gutter);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.05rem var(--page-gutter);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wordmark strong {
  color: var(--teal);
  margin-left: 0.08em;
  font-weight: 800;
}

.wordmark em {
  margin-left: 0.28em;
  font-style: normal;
  font-weight: 600;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}

.site-header nav a {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-header nav a + a {
  margin-left: 1.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--sand);
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--teal);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
}

.site-footer button,
.site-footer-col nav a {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}

.site-footer button:hover,
.site-footer button:focus-visible,
.site-footer-col nav a:hover,
.site-footer-col nav a:focus-visible {
  color: var(--teal);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--page-gutter) 1.75rem;
}

.hero-inner {
  max-width: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.9rem;
}

.hero-meta::before {
  content: "";
  flex-basis: 100%;
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(8, 127, 140, 0.15) 100%);
}

.hero-meta .kicker,
.hero-meta .read-time {
  margin: 0;
}

.hero-meta .read-time {
  border-top: 0;
  padding-top: 0;
  padding-left: 0.85rem;
  border-left: 1px solid var(--hairline-strong);
}

.kicker,
.section-label,
.read-time {
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.read-time {
  display: inline-flex;
  color: var(--orange);
  border-top: 2px solid var(--orange);
  padding-top: 0.35rem;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.75rem, 6.75vw, 2.25rem);
  line-height: 1.14;
  text-wrap: pretty;
}

@media (min-width: 981px) {
  .hero h1 {
    font-size: clamp(3rem, 3.75vw, 3.5rem);
  }
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 1.875rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.subheadline {
  margin: 0.85rem 0 1.25rem;
  max-width: 100%;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.4vw, 1.3125rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: pretty;
}

.subheadline strong {
  color: var(--teal);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
}

.hero-actions,
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button,
.submit-button,
.cookie-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0.8rem 1.05rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.primary,
.submit-button,
.cookie-actions [data-cookie-accept] {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 10px rgba(242, 106, 53, 0.2);
}

.secondary,
.cookie-actions [data-cookie-decline] {
  background: transparent;
  color: var(--ink);
}

.full {
  width: 100%;
}

.media-frame {
  --media-aspect: 16 / 9;
  --media-focus: center;
  position: relative;
  display: block;
  margin: 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: var(--cream);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--media-focus);
}

.media-caption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 2rem 0.85rem 0.65rem;
  background: linear-gradient(
    to top,
    rgba(21, 44, 53, 0.9) 0%,
    rgba(21, 44, 53, 0.5) 52%,
    transparent 100%
  );
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  pointer-events: none;
}

.media-caption--hero {
  padding: 2.15rem 1rem 0.8rem;
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
}

.media-caption-kicker {
  display: block;
  margin-bottom: 0.22rem;
  color: rgba(248, 245, 239, 0.82);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-media {
  --media-aspect: 16 / 9;
  /* Source is 4:3; 16:9 frame crops top/bottom — crack sits slightly right of center */
  --media-focus: 52% 44%;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem var(--page-gutter) 4rem;
  align-items: start;
}

.article {
  min-width: 0;
}

.story-section {
  padding: clamp(1.65rem, 3.2vw, 2.4rem) 0;
  border-bottom: 1px solid var(--hairline);
}

.story-section p {
  max-width: 760px;
  margin: 0 0 0.9rem;
  font-size: 1rem;
}

.story-section > p strong,
.story-section .two-up > div > p strong,
.story-section .visual-module > div > p strong,
.lead-copy > p strong {
  font-weight: 700;
  color: var(--teal);
}

.story-section .section-label,
.lead-copy > .section-label {
  display: block;
  padding-left: 0.72rem;
  border-left: 2px solid rgba(8, 127, 140, 0.42);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.story-section .section-label + h2,
.lead-copy > .section-label + h2 {
  margin-top: 0.15rem;
}

.section-label--warm {
  color: var(--orange);
  border-left-color: rgba(242, 106, 53, 0.55);
}

.cost-band .section-label--on-dark {
  color: rgba(255, 255, 255, 0.92);
}

.cost-band-lede {
  max-width: 42rem;
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.stat-inline {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 1.15em;
  font-weight: 800;
}

.color-teal {
  color: var(--teal);
}

.credibility-next {
  margin: 0.65rem 0 0.2rem;
  max-width: 760px;
  font-size: 0.95rem;
  font-weight: 600;
}

.funnel-bridge {
  margin: 0.5rem 0 0;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 127, 140, 0.07) 0%, rgba(242, 106, 53, 0.06) 100%);
  text-align: center;
}

.funnel-bridge-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.funnel-bridge-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.funnel-bridge-copy {
  max-width: 36rem;
  margin: 0 auto 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.funnel-bridge .button {
  margin: 0 auto;
}

.legal-email {
  display: inline;
  color: inherit;
  font-weight: 600;
  pointer-events: none;
  user-select: all;
  cursor: text;
  text-decoration: none;
}

.modal .legal-email {
  color: var(--ink);
}

.two-up,
.visual-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.visual-module {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
}

.equal > *:not(.media-frame) {
  min-height: 100%;
}

.two-up > .media-frame,
.visual-module > .media-frame {
  align-self: start;
}

/* Side images: tall frame matches copy height (desktop) */
.two-up > .media-slot--technology,
.two-up > .media-slot--seasonal,
.visual-module > .media-slot--damage {
  align-self: stretch;
  aspect-ratio: unset;
  height: 100%;
  min-height: 100%;
}

.side-media {
  --media-aspect: 4 / 3;
  max-width: 100%;
}

.media-slot--seasonal {
  --media-focus: center 44%;
}

.media-slot--damage {
  --media-focus: center 46%;
}

.media-slot--technology {
  --media-focus: 50% 32%;
}

.comparison-grid,
.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
  align-items: stretch;
}

.comparison-card,
.factor-grid > div,
.quick-card,
.form-panel {
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: var(--cream);
}

.comparison-card {
  padding: 1.25rem;
}

.comparison-card.accent {
  background: #e8f4f3;
  border-color: rgba(8, 127, 140, 0.24);
}

.comparison-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.comparison-card li {
  margin: 0.42rem 0;
}

.text-link {
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 800;
}

.cost-band {
  position: relative;
  margin: 1rem 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.cost-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0.9;
}

.cost-band .section-label {
  padding-left: 0.72rem;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
}

.cost-band .section-label,
.cost-band p {
  color: rgba(255, 255, 255, 0.84);
}

.cost-band > p strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.story-section.cost-band .factor-grid > div {
  padding: 1rem 1.05rem;
}

.factor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.factor-grid > div {
  min-height: 100%;
  padding: 1rem;
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.factor-grid span {
  display: block;
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 800;
}

.factor-grid strong {
  display: block;
  margin: 0.25rem 0;
  font-family: var(--font-heading);
  overflow-wrap: break-word;
}

.factor-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.canada-section {
  border-bottom: 0;
}

.source-note {
  display: block;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.source-note > span:first-child {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
  color: var(--ink);
}

.source-note-names {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 0.75rem;
}

.credibility-grid > div {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.credibility-stat {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.credibility-grid p {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.45;
}

.credibility-disclaimer {
  margin: 0 0 0.35rem;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.inline-legal-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.inline-legal-link:hover,
.inline-legal-link:focus-visible {
  color: var(--ink);
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  margin-top: 1rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.lead-copy p {
  font-size: 1rem;
}

.form-panel {
  padding: 1.1rem;
  background: var(--ivory);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d5cabc;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.72rem 0.8rem;
}

input:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(8, 127, 140, 0.32);
  outline-offset: 2px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0;
  font-weight: 600;
  line-height: 1.35;
}

.consent-row input {
  width: 1.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.12rem;
}

.submit-button {
  width: 100%;
  font-size: 0.98rem;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-reassurance {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.error {
  color: #a53820;
}

.thank-you {
  padding: 1rem;
  border: 1px solid rgba(8, 127, 140, 0.28);
  border-radius: 8px;
  background: #e8f4f3;
}

.thank-you h3 {
  margin-bottom: 0.5rem;
}

.thank-you p {
  margin: 0;
}

.sidebar {
  position: sticky;
  top: 1.2rem;
  max-height: calc(100vh - 2.4rem);
  overflow: visible;
}

@media (min-width: 981px) {
  .sidebar {
    padding-left: clamp(0.75rem, 1.8vw, 1.35rem);
    border-left: 1px solid var(--hairline);
  }
}

.quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: visible;
  padding: 1.25rem;
  background: var(--white);
  border-color: rgba(21, 44, 53, 0.1);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.quick-card-header {
  display: grid;
  gap: 0.35rem;
}

.quick-card-header .section-label {
  margin: 0;
}

.quick-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.quick-card-block {
  margin: 0;
}

.quick-card-block--note {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 6px;
  background: #f4faf9;
}

.quick-card-block h3 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.quick-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
}

.quick-list li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
}

.quick-card-block--note .quick-list li::before {
  background: var(--orange);
}

.quick-card-cta {
  margin-top: 0.15rem;
}

.quick-card .button {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--sand);
  background: linear-gradient(180deg, #f1ece4 0%, var(--ivory) 42%);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer-shell {
  display: grid;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem var(--page-gutter) 1.65rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.site-footer-brand {
  display: grid;
  gap: 0.55rem;
}

.wordmark--footer {
  font-size: 1.05rem;
}

.site-footer-lede {
  margin: 0;
  max-width: 38ch;
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer-operator {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
}

.site-footer-operator strong,
.site-footer strong {
  color: var(--ink);
}

.site-footer-email {
  width: fit-content;
  margin: 0;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer-col-title {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer-disclaimer-panel {
  padding: 1rem 1.1rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.site-footer-disclaimer-title {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sand);
  font-size: 0.78rem;
}

.site-footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(680px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0.2rem 0 0;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(21, 44, 53, 0.62);
}

.modal {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.modal h2 {
  font-size: 2rem;
  margin-right: 2rem;
}

.modal h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.modal p {
  margin: 0 0 1rem;
}

.modal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.modal li {
  margin: 0.35rem 0;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 1.25rem;
  }

  .disclosure,
  .site-header,
  .hero,
  .page-grid,
  .site-footer-shell {
    padding-inline-start: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-inline-end: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  }

  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 0;
    padding-block: 1.15rem 1.05rem;
  }

  .site-header .wordmark {
    width: 100%;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--hairline);
    text-align: center;
  }

  .site-header nav {
    justify-content: center;
    flex: none;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.55rem 1.35rem;
    row-gap: 0.55rem;
  }

  .site-header nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 0.25rem 0.1rem;
  }

  .site-header nav a + a {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .button,
  .submit-button,
  .cookie-actions button {
    font-size: 0.875rem;
    font-weight: 700;
    min-height: 44px;
    padding: 0.7rem 1rem;
  }

  .page-grid {
    display: block;
  }

  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    margin: 1.5rem 0 0;
  }

  .quick-card {
    min-height: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  .hero-media {
    --media-focus: 56% 46%;
  }

  .media-slot--seasonal {
    --media-focus: center 46%;
  }

  .media-slot--technology {
    --media-focus: 50% 34%;
  }

  .two-up > .media-slot--technology,
  .two-up > .media-slot--seasonal,
  .visual-module > .media-slot--damage {
    align-self: start;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  .two-up,
  .visual-module,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .visual-module .media-frame {
    order: 2;
  }

  .factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 1.375rem;
  }

  .cookie-banner {
    right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
    left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    width: auto;
  }

  .site-header nav {
    gap: 0.5rem 1rem;
  }

  .site-header nav a {
    font-size: 0.8125rem;
    line-height: 1.35;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 1.65rem;
  }

  .hero-actions .button,
  .field-grid,
  .comparison-grid,
  .factor-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .lead-section {
    padding: 1.25rem;
  }

  .story-section:not(.cost-band) {
    padding-block: 1.45rem;
    padding-inline: 0;
  }

  .story-section.cost-band {
    padding: 1.35rem 1.375rem;
  }

  .modal {
    width: 100%;
    max-height: 86vh;
    padding: 1.15rem;
  }

  .modal h2 {
    font-size: 1.55rem;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .site-footer-bottom {
    flex-direction: column;
    gap: 0.35rem;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }
}
