/* ==========================================================================
   HEATSURE SERVICES LIMITED
   Art direction: workshop-technical. Deep pine field, ember-amber heat accent,
   cool mineral neutrals, sharp 3px geometry, condensed technical display type.
   ========================================================================== */

:root {
  /* Colour */
  --primary: #1E3A36;
  --primary-deep: #142825;
  --accent: #E39B2D;
  --accent-hover: #EFAE4A;
  --accent-ink: #94540E;
  --accent-tint: #FBF0DE;
  --bg: #F3F6F5;
  --surface: #FFFFFF;
  --neutral-100: #E6ECEA;
  --border: #D3DCD9;
  --text-dark: #17211F;
  --text-light: #56635F;
  --on-dark: #E9EFED;
  --on-dark-muted: #AFBEB9;
  --footer-bg: #0F1D1B;
  --footer-bottom: #1A2C29;
  --line-dark: rgba(233, 239, 237, 0.14);
  --panel-dark: rgba(233, 239, 237, 0.04);
  --grid-line: rgba(233, 239, 237, 0.055);
  --glow: rgba(227, 155, 45, 0.30);
  --glow-soft: rgba(227, 155, 45, 0.12);
  --hatch: rgba(30, 58, 54, 0.045);
  --hatch-dark: rgba(233, 239, 237, 0.03);
  --nav-bg: rgba(255, 255, 255, 0.84);

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-page: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.15rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;
  --measure: 66ch;

  /* Spacing */
  --s0: 0.3rem;
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --gutter: 1.25rem;
  --container: 1140px;
  --nav-h: 4.25rem;
  --grid-size: 2.5rem;
  --tile: 3rem;
  --bar: 3px;

  /* Shape and depth */
  --radius: 3px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 31, 0.05);
  --shadow-md: 0 1px 2px rgba(23, 33, 31, 0.04), 0 8px 24px rgba(23, 33, 31, 0.07);
  --shadow-btn: 0 6px 16px rgba(227, 155, 45, 0.32);
  --t: 180ms ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  font-weight: 700;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0 0 var(--s3); max-width: var(--measure); }

a { color: var(--accent-ink); text-underline-offset: 0.2em; }
a:hover { color: var(--primary); }

ul, ol { margin: 0 0 var(--s3); }

svg { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(-1 * var(--s6));
  z-index: 100;
  background: var(--primary);
  color: var(--on-dark);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s1); color: var(--on-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: var(--s5); }
.section-foot { margin-top: var(--s5); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  margin: 0 0 var(--s2);
}

.lead { font-size: var(--fs-lead); color: var(--text-light); }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: var(--s4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border-bottom: var(--bar) solid var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-sub { font-weight: 400; color: var(--text-light); margin-left: var(--s0); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: block;
  padding: var(--s1) var(--s2);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  transition: color var(--t);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: var(--s2);
  right: var(--s2);
  bottom: 0;
  height: var(--bar);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(0.4); }
.nav-link.active { color: var(--primary); font-weight: 700; }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta { margin-left: var(--s2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s0);
  width: 2.75rem;
  height: 2.75rem;
  padding: var(--s2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t), color var(--t), border-color var(--t);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--text-dark); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text-dark); box-shadow: var(--shadow-btn); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-dark); }

.btn-outline-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--primary); border-color: var(--on-dark); }

.btn-sm { padding: var(--s1) var(--s3); font-size: 0.92rem; }

/* ---------- Heat background (hero + page hero) ---------- */
.heat-bg {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse at 82% 38%, var(--glow) 0%, transparent 46%),
    radial-gradient(ellipse at 8% 110%, var(--glow-soft) 0%, transparent 40%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / var(--grid-size) var(--grid-size),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / var(--grid-size) var(--grid-size),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s6)), 0 100%);
}

.heat-bg .eyebrow { color: var(--accent); }

.hero {
  display: flex;
  align-items: center;
  min-height: 64vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s6);
  align-items: center;
}

.hero h1 { font-size: var(--fs-hero); max-width: 15ch; margin-bottom: var(--s4); }
.hero .lead { color: var(--on-dark-muted); max-width: 52ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

.hero-visual {
  background: var(--panel-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}

.hero-visual svg { width: 100%; height: auto; }

.visual-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
  margin: var(--s3) 0 0;
  padding: var(--s3) 0 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  line-height: 1.4;
}

.caption-key {
  display: block;
  width: var(--s4);
  height: var(--bar);
  margin-bottom: var(--s1);
  background: var(--on-dark-muted);
}
.caption-key-heat { background: var(--accent); }

.page-hero { padding: var(--s6) 0 calc(var(--s6) + var(--s5)); }
.page-hero h1 { font-size: var(--fs-page); max-width: 22ch; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 58ch; margin-bottom: 0; }

/* SVG line-art strokes */
.ln { fill: none; stroke: var(--on-dark-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ln-faint { fill: none; stroke: var(--line-dark); stroke-width: 1.5; stroke-linecap: round; }
.ln-heat { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ln-dash { stroke-dasharray: 4 6; }
.fill-wheel { fill: var(--primary-deep); stroke: var(--on-dark-muted); stroke-width: 2; }
.fill-unit { fill: var(--accent); }
.ln-ink { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ln-ink-soft { fill: none; stroke: var(--border); stroke-width: 1.5; stroke-linecap: round; }
.ln-ink-heat { fill: none; stroke: var(--accent-ink); stroke-width: 2.5; stroke-linecap: round; }
.svg-label { font-family: var(--font-body); font-size: 12px; fill: var(--text-light); }

/* ---------- Value props ---------- */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-item { padding: var(--s5) var(--s4); }
.value-item + .value-item { border-left: 1px solid var(--border); }
.value-item h3 { margin-bottom: var(--s1); }
.value-item p { color: var(--text-light); margin: 0; font-size: 0.98rem; }

.value-bar {
  display: block;
  width: var(--s5);
  height: var(--bar);
  background: var(--accent);
  margin-bottom: var(--s3);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--s4);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5) var(--s4) var(--s4);
  box-shadow: var(--shadow-sm);
}

.service-card h3 { margin: var(--s3) 0 var(--s1); }
.service-card p { color: var(--text-light); font-size: 0.98rem; margin-bottom: 0; }

.glyph {
  display: inline-grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  background: var(--accent-tint);
  color: var(--accent-ink);
  border-radius: var(--radius);
}

.glyph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card-points {
  list-style: none;
  padding: var(--s3) 0 0;
  margin: var(--s3) 0 0;
  border-top: 1px solid var(--neutral-100);
  font-size: var(--fs-small);
  color: var(--text-light);
}
.card-points li { padding: var(--s0) 0 var(--s0) var(--s3); position: relative; }
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: var(--s1);
  height: 2px;
  background: var(--accent);
}

/* ---------- Dark band / steps ---------- */
.band-dark {
  background:
    repeating-linear-gradient(135deg, var(--hatch-dark) 0 1px, transparent 1px 14px),
    var(--primary-deep);
  color: var(--on-dark);
}

.band-dark .eyebrow { color: var(--accent); }
.band-dark p { color: var(--on-dark-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-stack { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }

.step { border-top: 2px solid var(--line-dark); padding-top: var(--s4); position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: var(--s5);
  height: 2px;
  background: var(--accent);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: var(--s1);
}

.step h3 { color: var(--on-dark); }
.step p { font-size: 0.98rem; margin: 0; }

/* ---------- Split bands ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.split-reverse .split-media { order: -1; }

.schematic {
  background:
    repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 12px),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}

.schematic svg { width: 100%; height: auto; max-width: 26rem; margin: 0 auto; }

.text-link { font-weight: 600; }

/* ---------- Facts / credentials ---------- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--s4);
}

.credentials-title { flex: 1 1 16rem; margin: 0; }
.credentials-title h2 { margin-bottom: var(--s1); }
.credentials-title p { color: var(--text-light); margin: 0; }

.cred-item {
  flex: 1 1 12rem;
  border-left: var(--bar) solid var(--primary);
  padding: var(--s2) var(--s4);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cred-label { display: block; font-size: var(--fs-small); color: var(--text-light); }
.cred-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }

.fact-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s2) var(--s4);
  margin: 0;
  padding: 0;
}
.fact-list dt { font-size: var(--fs-small); color: var(--text-light); padding-top: 0.15rem; }
.fact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- CTA strip ---------- */
.cta-strip { padding: var(--s6) 0; }

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: var(--bar) solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}

.cta-inner h2 { margin-bottom: var(--s1); }
.cta-inner p { color: var(--text-light); margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: var(--s2) 0 var(--s2) var(--s5);
  border-bottom: 1px solid var(--border);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: var(--s1);
  top: 1.05em;
  width: 0.45rem;
  height: 0.8rem;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg);
}

.checklist-dark li { border-bottom-color: var(--line-dark); color: var(--on-dark); }
.checklist-dark li::before { border-right-color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s6);
  align-items: start;
}

.contact-card {
  background:
    radial-gradient(ellipse at 100% 0%, var(--glow) 0%, transparent 55%),
    var(--primary);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: var(--s5);
}
.contact-card h2 { font-size: 1.5rem; }
.contact-card p { color: var(--on-dark-muted); }
.contact-card .eyebrow { color: var(--accent); }

.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--accent);
  overflow-wrap: anywhere;
  margin-bottom: var(--s4);
}
.email-link:hover { color: var(--accent-hover); }

.form {
  display: grid;
  gap: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

.field { display: grid; gap: var(--s1); }
.field label { font-weight: 600; font-size: 0.95rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  transition: border-color var(--t), background-color var(--t);
}

.field textarea { min-height: 9rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); background: var(--surface); }

.form .btn { justify-self: start; }
.form-note { font-size: var(--fs-small); color: var(--text-light); margin: 0; }

/* ---------- Legal pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: var(--s6);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  border-left: 1px solid var(--border);
  padding-left: var(--s3);
  font-size: var(--fs-small);
}
.toc-title { font-weight: 700; margin-bottom: var(--s1); color: var(--text-dark); }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { padding: var(--s0) 0; }
.toc a { color: var(--text-light); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: var(--s5); scroll-margin-top: calc(var(--nav-h) + var(--s4)); }
.prose ul { padding-left: var(--s4); }
.prose li { margin-bottom: var(--s1); }
.meta-note { font-size: var(--fs-small); color: var(--text-light); }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--line-dark);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--s5);
  padding-top: var(--s6);
  padding-bottom: var(--s6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--on-dark);
}

.footer-blurb { max-width: 36ch; }

.footer-legal { font-size: var(--fs-small); line-height: 1.6; margin: 0; }
.footer-legal strong { color: var(--on-dark); font-weight: 600; }

.footer-title {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: var(--s0) 0; overflow-wrap: anywhere; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }

.footer-bottom { background: var(--footer-bottom); font-size: var(--fs-small); }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s3);
  padding-bottom: var(--s3);
}
.footer-bottom-inner p { margin: 0; }
.footer-bottom-links { display: flex; gap: var(--s4); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--s6) 0; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { padding: var(--s2) 0; border-bottom: 1px solid var(--neutral-100); }
  .nav-link::after { left: 0; right: auto; width: var(--s5); }
  .nav-cta { margin: var(--s3) 0 0; width: 100%; }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s5)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-visual { display: none; }
  .heat-bg { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s5)), 0 100%); }

  .values-row { grid-template-columns: 1fr; }
  .value-item { padding: var(--s4) 0; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--border); }

  .split, .contact-grid, .legal-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .split-reverse .split-media { order: 0; }
  .schematic { padding: var(--s4); }

  .toc { position: static; }

  .form { padding: var(--s4); }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: var(--s4); }

  .cta-inner { padding: var(--s4); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s5); }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand-sub { display: none; }
  .fact-list { grid-template-columns: 1fr; gap: 0; }
  .fact-list dd { margin-bottom: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:hover { transform: none; }
}
