/* High Ground Risk Advisory
   Layout: a civic site-plan document. Left-aligned, 1160px max, a survey-style
   walkthrough drawing in the hero, sections separated by space and fine rules. */
:root {
  --paper: #f4efe2;
  --surface: #faf7ef;
  --ink: #26374a;
  --ink-soft: #55524a;
  --rule: #dbd3c2;
  --accent: #1f497a;
  --accent-ink: #ffffff;
  --marker: #b3192e;    /* security findings only */
  --contour: #d6cdb9;
  --tint: #ebe4d4;
  --error: #b3192e;

  --heading: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.875rem;
  --step-4: clamp(1.9rem, 3.4vw, 2.4rem);
  --step-5: clamp(2.35rem, 5.2vw, 3.5rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(3.5rem, 6vw, 5rem);

  --radius: 6px;
  --max: 1160px;
  --measure: 66ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.25; font-weight: 600; }
h4 { font-size: var(--step-0); font-weight: 600; margin: 0; }
p { margin: 0; }
p, li { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.skip {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 0.5rem); }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 600 var(--step-0)/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0.5rem 1rem; font-size: var(--step--1); }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: 0.8rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--accent); }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.05;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.site-nav ul {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step--1);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-phone {
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lbl-short { display: none; }
.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font: 600 var(--step--1)/1 var(--body);
  cursor: pointer;
}

@media (max-width: 640px) {
  .header-phone { display: none; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-block: 0.5rem 1rem;
  }
  .site-nav[data-open="false"] { display: none; }
}
@media (max-width: 1180px) and (min-width: 720px) {
  .site-nav { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 1180px) {
  .site-nav ul { flex-direction: column; gap: 0; max-width: var(--max); margin-inline: auto; }
  .site-nav a {
    display: block;
    padding-block: 0.85rem;
    font-size: var(--step-0);
    border-bottom: 1px solid var(--rule);
  }
  .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--rule); }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .header-inner { gap: 0.75rem; }
  .header-actions { gap: 0.5rem; }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.05rem; }
  .nav-toggle { padding-inline: 0.7rem; }
  .header-actions .btn-sm { padding-inline: 0.8rem; }
}

/* Sections */
.section { padding-block: var(--space-6); }
.section + .section { border-top: 1px solid var(--rule); }
.section-tint { background: var(--tint); }
.section-head {
  display: grid;
  gap: var(--space-2);
  max-width: 46rem;
  margin-bottom: var(--space-4);
}
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: var(--measure); }
.prose { max-width: var(--measure); display: grid; gap: var(--space-2); align-content: start; }
.prose h2 { margin-top: var(--space-3); }
.prose h3 { margin-top: var(--space-2); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.small { font-size: var(--step--1); color: var(--ink-soft); }

/* Hero */
.hero { padding-block: var(--space-5) 0; }
.hero + .section { border-top: 1px solid var(--rule); }
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
.hero-copy { display: grid; gap: var(--space-3); min-width: 0; }
.hero-kicker { font-weight: 600; color: var(--accent); font-size: var(--step-0); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lede { max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.cta-note { font-size: var(--step--1); color: var(--ink-soft); max-width: 34rem; }
.cta-call { font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-call span { color: var(--ink-soft); font-weight: 400; }

/* Site walkthrough figure */
.plan {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-width: 0;
}
.plan-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step--1);
}
.plan-head strong { font-weight: 600; }
.plan-head span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.plan-head .coords { white-space: nowrap; margin-left: 0.4rem; }
@media (max-width: 480px) { .plan-head .coords { display: block; margin-left: 0; } }
.plan-drawing { display: block; width: 100%; height: auto; }
.plan-drawing .contour { fill: none; stroke: var(--contour); stroke-width: 1.2; }
.plan-drawing .street { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
.plan-drawing .wall { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: square; }
.plan-drawing .partition { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.plan-drawing .lot { fill: none; stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 5 4; }
.plan-drawing .door { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
.plan-drawing .room { fill: var(--ink-soft); font: 500 13px var(--body); }
.plan-drawing .label { fill: var(--ink-soft); font: 400 12px var(--body); }
.plan-drawing .marker circle { fill: var(--marker); }
.plan-drawing .marker .ring { fill: none; stroke: var(--marker); stroke-width: 1.2; opacity: 0.45; }
.plan-drawing .marker text { fill: var(--surface); font: 700 12px var(--body); }
.plan-drawing .north path { fill: var(--ink); }
.plan-drawing .north text, .plan-drawing .scale text { fill: var(--ink-soft); font: 500 10.5px var(--body); }
.plan-drawing .scale line, .plan-drawing .scale rect { stroke: var(--ink-soft); stroke-width: 1; }
.plan-drawing .scale .fill { fill: var(--ink-soft); }
.plan-drawing .scale .open { fill: var(--surface); }
.findings {
  list-style: none;
  margin: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.6rem;
  font-size: var(--step--1);
}
.findings li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; align-items: start; }
.findings .num {
  display: inline-grid;
  place-items: center;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  background: var(--marker);
  color: var(--surface);
  font-weight: 700;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.findings b { font-weight: 600; }
.findings .fix { color: var(--ink-soft); }
.plan-foot { padding: 0 1.1rem 1rem; font-size: 0.8rem; color: var(--ink-soft); }

/* Principle line under hero */
.assurances {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-4);
  margin-top: var(--space-5);
  border-top: 1px solid var(--rule);
}
@media (min-width: 760px) { .assurances { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.assurances h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; margin-bottom: 0.3rem; }
.assurances p { color: var(--ink-soft); font-size: var(--step--1); }

/* Audience rows */
.rows { display: grid; border-top: 1px solid var(--rule); }
.row {
  display: grid;
  gap: 0.4rem 2rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 820px) {
  .row { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr) auto; align-items: baseline; }
}
.row h3 { font-size: var(--step-1); }
.row p { color: var(--ink-soft); max-width: 40rem; }
.row a { font-weight: 600; font-size: var(--step--1); white-space: nowrap; }

/* Steps: a true sequence */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}
@media (min-width: 820px) { .steps:not(.steps-single) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}
.steps li::before {
  content: "Step " counter(step);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
}
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--ink-soft); font-size: var(--step--1); }

/* Founder */
.founder {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.founder-letter { display: grid; gap: var(--space-2); max-width: var(--measure); align-content: start; }
.founder-letter blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.35;
}
.signature { font-weight: 600; }
.signature span { display: block; font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }
.credentials {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.credentials div { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); display: grid; gap: 0.15rem; }
.credentials dt { font-size: var(--step--1); color: var(--ink-soft); }
.credentials dd { margin: 0; font-weight: 500; }

/* Packages */
.packages {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.package {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-width: 0;
}
.package.featured { border: 2px solid var(--accent); }
.package-flag { font-size: var(--step--1); font-weight: 600; color: var(--accent); min-height: 1.4em; }
@media (max-width: 899px) { .package-flag:empty { display: none; } }
.package h3 { font-size: var(--step-2); }
.price { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.price .from { font-size: var(--step--1); color: var(--ink-soft); }
.price .amount { font-family: var(--heading); font-size: var(--step-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.price .unit { font-size: var(--step--1); color: var(--ink-soft); }
.package > div { display: grid; gap: 0.6rem; align-content: start; }
.package ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; font-size: var(--step--1); }
.package .for { color: var(--ink-soft); font-size: var(--step--1); }
.package .btn { width: 100%; }

/* Service list table */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 600; background: var(--tint); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare { min-width: 640px; }
.compare th[scope="row"] { font-weight: 500; }
.compare td { text-align: center; }
.compare .yes { color: var(--accent); font-weight: 600; }
.compare .no { color: var(--ink-soft); }

.service-group { display: grid; gap: var(--space-3); }
.service-group + .service-group { margin-top: var(--space-5); }
.service-list { display: grid; border-top: 1px solid var(--rule); }
.service {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 11rem; align-items: start; }
}
.service h3 { font-size: var(--step-1); }
.service .for { color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.25rem; }
.service ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: var(--step--1); }
.service-price { display: grid; gap: 0.5rem; justify-items: start; }
@media (min-width: 860px) { .service-price { justify-items: end; text-align: right; } }
.service-price .amount { font-family: var(--heading); font-size: var(--step-2); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.service-price .unit { font-size: var(--step--1); color: var(--ink-soft); }
.service-price a { font-weight: 600; font-size: var(--step--1); }

.notes { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.notes div { display: grid; gap: 0.3rem; }
.notes h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; }
.notes p { color: var(--ink-soft); font-size: var(--step--1); }

.boundary {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-left: 3px solid var(--ink);
  background: var(--surface);
  max-width: 52rem;
}
.boundary h2 { font-size: var(--step-2); }
.boundary ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }

.scroll-hint { margin-bottom: 0.5rem; }
@media (min-width: 700px) { .scroll-hint { display: none; } }
.callout {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  max-width: 52rem;
  font-size: var(--step--1);
}
.callout b { font-weight: 600; }

/* Cabin example */
.qa { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.qa div { display: grid; gap: 0.2rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.qa dt { font-weight: 600; }
.qa dd { margin: 0; color: var(--ink-soft); }
.ecard {
  margin: 0;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.ecard-head { display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem; border-bottom: 2px solid var(--marker); }
.ecard-label { color: var(--marker); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; }
.ecard-head h3 { font-size: var(--step-2); }
.ecard dl { margin: 0; }
.ecard dl div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.75rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--rule); font-size: var(--step--1); }
.ecard dt { font-weight: 600; }
.ecard dd { margin: 0; }
.ecard-foot { padding: 0.85rem 1.25rem; font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 480px) { .ecard dl div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* Risk matrix */
.matrix-wrap { background: var(--surface); }
.matrix { min-width: 360px; table-layout: fixed; }
.matrix th, .matrix td { text-align: center; padding: 0.75rem 0.5rem; border: 1px solid var(--rule); }
.matrix thead th { background: var(--surface); font-weight: 600; font-size: 0.8rem; }
.matrix tbody th { text-align: left; font-weight: 600; background: var(--surface); width: 6.5rem; }
.matrix thead th.axis { text-align: left; color: var(--ink-soft); font-weight: 500; }
.matrix .r-low { background: var(--tint); color: var(--ink-soft); }
.matrix .r-mod { background: #dde3ea; color: var(--ink); font-weight: 500; }
.matrix .r-high { background: var(--marker); color: #ffffff; font-weight: 600; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1.1rem;
  padding-right: 2rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }

/* Capability statement */
.capability {
  display: grid;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.capability-head { padding: 1rem 1.25rem; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.capability-head h3 { font-size: var(--step-1); }
.capability-head span { font-size: var(--step--1); opacity: 0.85; }
.capability dl { margin: 0; display: grid; }
@media (min-width: 760px) { .capability dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.capability dl div { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--rule); display: grid; gap: 0.15rem; }
@media (min-width: 760px) { .capability dl div:nth-child(odd) { border-right: 1px solid var(--rule); } }
.capability dt { font-size: var(--step--1); color: var(--ink-soft); }
.capability dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.pending { color: var(--ink-soft); font-style: italic; font-weight: 400; }

.two-col { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.two-col > * { min-width: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; align-content: start; }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; }
.checklist li::before {
  content: "";
  width: 0.7rem; height: 0.7rem;
  margin-top: 0.5em;
  border: 2px solid var(--accent);
  border-radius: 2px;
}
.checklist b { font-weight: 600; }

/* Consultation form */
.consult {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 940px) { .consult { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; } }
.consult-intro { display: grid; gap: var(--space-3); min-width: 0; align-content: start; }
@media (max-width: 939px) { .consult.form-first .form { order: -1; } }
.contact-lines { display: grid; gap: 1rem; margin: 0; }
.contact-lines div { display: grid; gap: 0.1rem; }
.contact-lines dt { font-size: var(--step--1); color: var(--ink-soft); }
.contact-lines dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-weight: 600; }
.contact-lines dd a { color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-btn {
  font: 500 0.78rem/1 var(--body);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink-soft); }

.form {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-width: 0;
}
@media (min-width: 600px) { .form { padding: var(--space-4); } }
.form h2 { font-size: var(--step-3); }
.form-grid { display: grid; gap: var(--space-3) var(--space-3); }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: var(--step--1); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  font: 400 var(--step-0)/1.4 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: 4px;
}
textarea { min-height: 8.5rem; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; font-size: var(--step-0); min-height: 44px; }
.choices input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.field-error { color: var(--error); font-size: 0.85rem; font-weight: 500; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.form-foot { display: grid; gap: var(--space-2); }
.form-foot .btn { justify-self: start; }
@media (max-width: 599px) { .form-foot .btn { width: 100%; } }
.form-status {
  padding: 1rem 1.1rem;
  border-radius: 4px;
  background: var(--tint);
  border-left: 3px solid var(--accent);
}
.form-status h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; margin-bottom: 0.25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { padding-block: var(--space-5); display: grid; gap: var(--space-3); }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.cta-band h2 { font-size: var(--step-4); }
.cta-band p { opacity: 0.85; max-width: 40rem; margin-top: 0.5rem; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.cta-band a.cta-call { color: var(--paper); }

/* Page header for inner pages */
.page-head { padding-block: var(--space-5) var(--space-4); }
.page-head .wrap { display: grid; gap: var(--space-2); }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.page-head h1 { font-size: var(--step-5); max-width: 22ch; }
.page-head .lede { margin-top: 0.25rem; }

/* Small layout helpers */
.page-head .cta-row { margin-top: var(--space-2); }
.section.flush-top { padding-top: 0; }
.h-sub { font-size: var(--step-3); }
.stack { display: grid; gap: var(--space-3); align-content: start; }
.stack-sm { display: grid; gap: var(--space-2); align-content: start; }
.spaced { margin-top: var(--space-4); }
.after-note { margin-top: var(--space-3); }
.table-title { margin-top: var(--space-5); margin-bottom: var(--space-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); font-size: var(--step--1); }
.footer-grid {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-4);
}
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-grid h2 { font-family: var(--body); font-size: var(--step--1); font-weight: 600; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { color: var(--ink); }
.footer-about { display: grid; gap: var(--space-2); max-width: 24rem; color: var(--ink-soft); }
.footer-legal {
  display: grid;
  gap: 0.5rem;
  padding-block: var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}
@media (min-width: 820px) { .footer-legal { grid-template-columns: minmax(0, 1fr) auto; } }

/* Simple centered utility pages (thanks, 404) */
.notice { padding-block: var(--space-6); }
.notice .wrap { display: grid; gap: var(--space-3); max-width: 46rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .skip, .cta-band, .nav-toggle, .copy-btn, form, .hero .cta-row, .page-head .cta-row { display: none !important; }
  body { background: #ffffff; font-size: 11pt; }
  .section { padding-block: 1.25rem; }
  .section-tint, .capability-head { background: #ffffff; color: var(--ink); }
  a { color: inherit; text-decoration: none; }
  .capability, .plan, .package { break-inside: avoid; }
}
