:root {
  --water: #155a6a;
  --water-hover: #0d4653;
  --water-deep: #103c48;
  --water-tint: #dcefed;
  --water-mist: #eef7f4;
  --canvas: #f5f3ed;
  --paper: #fdfcfa;
  --wash: #efede8;
  --ink: #171614;
  --ink-secondary: #4e4c47;
  --ink-muted: #6b6862;
  --line: rgba(20, 18, 12, 0.12);
  --line-strong: rgba(20, 18, 12, 0.3);
  --font-serif: Charter, "Bitstream Charter", "Source Serif 4", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --shadow-page: 0 12px 32px rgba(20, 18, 12, 0.08), 0 1px 2px rgba(20, 18, 12, 0.08);
  --fast: 160ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --fast: 0ms; }
  html { scroll-behavior: auto; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--water) var(--canvas);
  color-scheme: light;
  background: var(--canvas);
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { border: 3px solid var(--canvas); border-radius: 999px; background: var(--water); }

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1rem/1.62 var(--font-sans);
  text-rendering: optimizeLegibility;
}

::selection { background: var(--water-tint); color: var(--ink); }

a { color: var(--water); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--water-hover); }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

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

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd { margin-top: 0; }

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.45rem;
  font-size: clamp(2.45rem, 5vw, 3.25rem);
  line-height: 1.04;
}

h2 {
  max-width: 19ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
  line-height: 1.24;
}

p { margin-bottom: 1rem; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: -999px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus { left: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #365153;
  background: #09282a;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wordmark { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; }
.wordmark .stormline-logo {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
  width: 184px;
  aspect-ratio: 8 / 3;
}
.wordmark .stormline-logo > img {
  position: absolute;
  top: -67.777778%;
  left: -15.833333%;
  width: 131.666667%;
  height: 235.555556%;
  max-width: none;
}

.site-context {
  padding-left: 1.25rem;
  border-left: 1px solid #547477;
  color: #e9efed;
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-nav { margin-left: auto; display: flex; align-items: center; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--water);
  border-radius: 3px;
  background: var(--water);
  color: #fff;
  padding: 0.7rem 1.15rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}

.button:hover { border-color: var(--water-hover); background: var(--water-hover); color: #fff; }
.button:active { transform: translateY(1px); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

section[id] { scroll-margin-top: 84px; }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 4.5vw, 4.2rem) 0 clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20%;
  border-top: 1px solid var(--line);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 4; min-width: 0; }

.hero-deck {
  max-width: 640px;
  margin-bottom: 1.3rem;
  color: var(--ink-secondary);
  font-size: clamp(1.06rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.company-action {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--water-deep);
  font-weight: 730;
  line-height: 1.56;
}

.hero-actions { margin: 1.65rem 0 0.85rem; display: flex; align-items: center; gap: 0.85rem 1.1rem; flex-wrap: wrap; }

.cta-contract {
  max-width: 620px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.brief-head,
.receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--wash);
  color: var(--ink-secondary);
  font: 700 0.69rem/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Report pacing */
.report-field,
.brief-section,
.terms-section,
.market-section,
.request-section { padding: clamp(4.8rem, 9vw, 8rem) 0; }

.report-field { background: var(--paper); }
.brief-section { border-block: 1px solid var(--line); background: var(--wash); }
.terms-section { border-block: 1px solid rgba(21, 90, 106, 0.16); background: var(--water-mist); }
.market-section { background: var(--canvas); }
.market-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  padding-block: 1.5rem;
  border-block: 2px solid var(--ink);
}
.market-note h2,
.market-note p { margin: 0; }
.market-note p { max-width: 650px; color: var(--ink-secondary); font-size: 1.06rem; }
.verification-section { padding: clamp(4.8rem, 9vw, 8rem) 0; border-block: 1px solid var(--line); background: var(--water-deep); color: #fff; }

.verification-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.verification-layout h2 { max-width: 17ch; color: #fff; }
.verification-layout > div:first-child p { max-width: 610px; color: var(--water-tint); }
.verification-register { border-top: 2px solid #fff; }
.verification-register > div {
  display: grid;
  grid-template-columns: 42px minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.verification-register span { color: var(--water-tint); font: 700 0.72rem/1.5 var(--font-mono); }
.verification-register strong { color: #fff; }
.verification-register p { margin: 0; color: var(--water-tint); font-size: 0.84rem; }

.report-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3.2rem, 7vw, 5.8rem);
}

.report-opening h2 { max-width: 17ch; margin-bottom: 0; }
.report-opening > div > p { max-width: 650px; margin: 1.2rem 0 0; color: var(--ink-secondary); font-size: 1.06rem; }

.margin-note {
  padding: 1.1rem 0;
  border-block: 1px solid var(--ink);
  color: var(--ink-secondary);
  font-size: 0.85rem;
}

.margin-note strong { color: var(--water-deep); }

.change-register { border-top: 3px solid var(--ink); }

.change-row {
  display: grid;
  grid-template-columns: 145px minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: start;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.change-type { color: var(--water); font: 700 0.69rem/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.change-row h3 { margin: 0; }
.change-row p { max-width: 650px; margin: 0; color: var(--ink-secondary); }

.brief-stage {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.brief-copy { position: sticky; top: 106px; }
.brief-copy > p { color: var(--ink-secondary); }

.offer-note {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-secondary);
  font-size: 0.84rem;
}

.brief-preview {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow-page);
}

.brief-title {
  padding: 1.4rem 1.35rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.brief-title strong { display: block; font: 600 1.55rem/1.18 var(--font-serif); }
.brief-title span { color: var(--ink-muted); font: 500 0.7rem/1.5 var(--font-mono); }

.brief-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.48fr) minmax(0, 1.52fr);
  gap: 1.2rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--line);
}

.brief-row dt { color: var(--water); font-weight: 750; }
.brief-row dd { margin: 0; color: var(--ink-secondary); }

.brief-finding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.brief-finding > div { padding: 1.1rem 1.35rem; border-right: 1px solid var(--line); }
.brief-finding > div:last-child { border-right: 0; }
.brief-finding span { display: block; color: var(--ink-muted); font: 700 0.67rem/1.5 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.brief-finding strong { display: block; margin-top: 0.35rem; color: var(--water-deep); font: 600 1rem/1.3 var(--font-serif); }

.brief-foot {
  padding: 0.85rem 1.35rem;
  border-top: 1px solid var(--line);
  background: var(--water-mist);
  color: var(--water-deep);
  font: 600 0.68rem/1.55 var(--font-mono);
}

.fee-ledger { border-top: 3px solid var(--ink); }

.terms-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.terms-layout > div:first-child p { color: var(--ink-secondary); }

.fee-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.62fr) minmax(0, 1.38fr);
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.fee-row strong { color: var(--water); font: 600 1.2rem/1.28 var(--font-serif); }
.fee-row p { margin: 0; color: var(--ink-secondary); }

.fee-boundary {
  margin: 1.15rem 0 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(21, 90, 106, 0.22);
  color: var(--water-deep);
  font-size: 0.8rem;
}

.fee-boundary a { min-height: 44px; display: inline-flex; align-items: center; }

/* Canonical homepage */
.page-home .home-hero {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}

.page-home .home-hero::after {
  bottom: 1.45rem;
  border-top: 2px solid var(--water);
  box-shadow: none;
}

.home-hero-stage {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(420px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: center;
}

.page-home .home-hero {
  padding: clamp(1.35rem, 2.4vw, 2rem) 0 clamp(1.8rem, 3vw, 2.6rem);
}

.page-home .home-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 2.85rem);
  text-wrap: pretty;
}
.page-home .home-hero .hero-deck { color: var(--ink-secondary); font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.5; }
.page-home .home-hero .company-action { color: var(--water-deep); font-size: 0.96rem; line-height: 1.48; }
.page-home .home-hero .cta-contract { color: var(--ink-muted); }
.page-home .home-hero .text-link { color: var(--water); }
.page-home .home-hero .button { background: var(--water); border-color: var(--water); color: #fff; }
.page-home .home-hero .button:hover { background: var(--water-hover); border-color: var(--water-hover); }

.home-hero-artifact {
  position: relative;
  min-width: 0;
  min-height: 530px;
}

.home-hero-image {
  position: absolute;
  top: 58px;
  right: 0;
  left: 30px;
  margin: 0;
  min-height: 0;
  aspect-ratio: 7 / 4;
  overflow: hidden;
  border-radius: 3px;
  background: var(--canvas);
  box-shadow: var(--shadow-page);
}

.home-hero-image picture { position: absolute; inset: 0; display: block; }
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Leader lines stay in SVG; labels are HTML so they size to their own text and never clip. */
.hero-feature-annotations {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero-feature-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-feature-leader polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 2px rgba(16, 60, 72, 0.45));
}

.hero-feature-leader circle {
  fill: #fff;
  stroke: var(--water-deep);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-feature-label {
  position: absolute;
  box-sizing: border-box;
  padding: 0.26rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  background: rgba(16, 60, 72, 0.94);
  color: #fff;
  font: 700 0.72rem/1.35 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Anchors match the leader-line endpoints; each label grows away from the image edge it touches. */
.hero-feature-label.label-roof { top: 9.9%; right: 69.5%; max-width: 27%; transform: translate(-7px, -50%); }
.hero-feature-label.label-cistern { top: 38.5%; right: 73.2%; max-width: 24%; transform: translate(-7px, -50%); }
.hero-feature-label.label-parking { top: 62.8%; left: 65.5%; max-width: 31%; transform: translate(7px, -50%); }
.hero-feature-label.label-bed { top: 83.3%; left: 69.9%; max-width: 27%; transform: translate(7px, -50%); }

.hero-feature-key { display: none; }

.hero-preview-card {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}

.hero-preview-property {
  bottom: 18px;
  left: 0;
  width: min(255px, 43%);
  box-shadow: 0 2px 6px rgba(20, 18, 12, 0.08);
}

.hero-preview-next {
  top: 18px;
  right: 18px;
  width: min(225px, 38%);
}

.hero-preview-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--water-deep);
  font: 700 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-preview-address {
  display: block;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font: 650 1.125rem/1.25 var(--font-serif);
}

.hero-preview-card dl { margin: 0.55rem 0 0; }
.hero-preview-card dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0.5rem; padding-top: 0.35rem; font-size: 0.75rem; line-height: 1.35; }
.hero-preview-card dt { color: var(--ink-muted); }
.hero-preview-card dd { margin: 0; font-weight: 700; }
.hero-preview-next strong { display: block; font: 650 1rem/1.3 var(--font-serif); }
.hero-preview-next small { display: block; margin-top: 0.55rem; color: var(--ink-muted); font-size: 0.75rem; line-height: 1.4; }

@media (min-width: 981px) {
  .home-hero-stage { width: min(1240px, calc(100% - 48px)); }
}

/* Request form */
.request-section { border-top: 1px solid var(--line); background: var(--paper); }

.request-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(380px, 1.28fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.request-copy > p { color: var(--ink-secondary); }

.request-points { margin: 1.7rem 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.request-points li { padding: 0.82rem 0; border-bottom: 1px solid var(--line); color: var(--ink-secondary); font-size: 0.84rem; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.1rem);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

.form-heading,
.form-wide,
.consent,
.form-boundary,
.lead-form .button { grid-column: 1 / -1; }

.form-heading { padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.form-heading strong { display: block; margin-bottom: 0.3rem; font: 600 1.4rem/1.25 var(--font-serif); }
.form-heading span { color: var(--ink-muted); font-size: 0.77rem; }

.field label { display: block; margin-bottom: 0.35rem; font-size: 0.79rem; font-weight: 750; }
.field input { width: 100%; min-height: 46px; border: 1px solid var(--ink-muted); border-radius: 3px; background: #fff; color: var(--ink); padding: 0.65rem 0.7rem; caret-color: var(--water); }
.field input::placeholder { color: var(--ink-muted); }
.field input:hover { border-color: var(--ink-secondary); }
.field input:focus { border-color: var(--water); }
.optional { color: var(--ink-muted); font-size: 0.73rem; font-weight: 500; }

.consent { min-height: 44px; display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start; color: var(--ink-secondary); font-size: 0.76rem; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--water); }

.form-boundary { margin: 0; padding: 0.75rem 0.85rem; background: var(--water-mist); color: var(--water-deep); font-size: 0.75rem; line-height: 1.5; }
.form-boundary a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 750; }
.form-status { margin: 0; padding: 0.75rem 0.85rem; border: 1px solid var(--water); background: var(--paper); color: var(--water-deep); font-size: 0.8rem; line-height: 1.5; }
.lead-form .button:disabled { cursor: wait; opacity: 0.65; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 2.7rem 0 3.5rem; border-top: 2px solid var(--ink); background: var(--canvas); color: var(--ink-muted); font-size: 0.74rem; }
.footer-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; }
.site-footer .wordmark .stormline-logo { width: 164px; }
.byline { margin: 0.7rem 0 0; }
.footer-copy p { max-width: 900px; margin-bottom: 0.7rem; }
.footer-copy a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }

/* Confirmation pages continue the document register. */
.receipt-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.receipt-page .site-header { position: static; }
.receipt-main { padding: clamp(4rem, 10vw, 7rem) 0; }

.receipt-document {
  width: min(100%, 820px);
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow-page);
}

.receipt-body { padding: clamp(2rem, 7vw, 4rem); }
.receipt-body h1 { max-width: 15ch; }
.receipt-body > p { max-width: 630px; color: var(--ink-secondary); }

.receipt-register {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  margin: 1.8rem 0;
  border-block: 2px solid var(--ink);
  font-variant-numeric: tabular-nums;
}

.receipt-register div { display: contents; }
.receipt-register dt,
.receipt-register dd { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.receipt-register div:last-child dt,
.receipt-register div:last-child dd { border-bottom: 0; }
.receipt-register dt { color: var(--water); font-weight: 750; }
.receipt-register dd { margin: 0; color: var(--ink-secondary); }

.receipt-boundary { padding: 1rem; border: 1px solid rgba(21, 90, 106, 0.22); background: var(--water-mist); color: var(--water-deep) !important; font-size: 0.84rem; }
.receipt-actions { margin-top: 1.7rem; }
.receipt-footer { padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 0.74rem; }

.privacy-copy h2 { max-width: none; margin-top: 2rem; font-size: 1.45rem; }
.privacy-copy h2:first-of-type { margin-top: 2.5rem; }
.privacy-copy p { max-width: 680px; color: var(--ink-secondary); }

@media (max-width: 980px) {
  .site-context { display: none; }
  .report-opening,
  .brief-stage,
  .terms-layout,
  .verification-layout,
  .market-note,
  .request-layout { grid-template-columns: 1fr; }
  .brief-copy { position: static; }
  .footer-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .home-hero-stage { min-height: 0; grid-template-columns: 1fr; gap: 3rem; }
  .home-hero-artifact { width: min(100%, 720px); min-height: 520px; margin-inline: auto; }
  .home-hero-image { min-height: 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; gap: 0.8rem; }
  .wordmark .stormline-logo { width: 152px; }
  .site-nav { margin-left: auto; }
  .site-nav .button { min-height: 44px; max-width: 132px; padding: 0.55rem 0.7rem; font-size: 0.76rem; }
  .hero { padding-top: 2.7rem; }
  .hero::after { display: none; }
  h1 { margin-bottom: 1.05rem; }
  .hero-deck { margin-bottom: 0.95rem; font-size: 1rem; }
  .company-action { font-size: 0.93rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button,
  .hero-actions .text-link { width: 100%; justify-content: center; }
  /* The one route on the page to what the free check covers, which is the substantiation a
     visitor should be able to read before they hand over an address. It is one line of text and it
     stays at every width; only the decorative preview cards come off on a phone. */
  .hero-actions .text-link { min-height: 44px; align-items: center; }
  .home-hero-stage { gap: 2rem; }
  .home-hero-artifact { display: flex; min-height: 0; flex-direction: column; }
  .home-hero-image { position: relative; inset: auto; order: 1; width: 100%; min-height: 0; }
  .home-hero-image img { min-height: 0; }
  .hero-feature-annotations { display: none; }
  /* Phones read the features as a quiet paper key under the illustration, not a second card. */
  .hero-feature-key { display: grid; order: 2; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.3rem 1.25rem; margin: 0.75rem 0 1.4rem; padding: 0; list-style: none; }
  .hero-feature-key li { display: flex; align-items: center; gap: 0.55rem; color: var(--ink-secondary); font-size: 0.8125rem; line-height: 1.45; }
  .hero-feature-key li::before { width: 14px; height: 1px; flex: none; background: var(--water); content: ""; }
  .hero-preview-property { position: relative; bottom: auto; left: auto; order: 3; width: 100%; margin-top: 0; box-shadow: none; }
  .hero-preview-next { display: none; }
  .report-opening { gap: 1.8rem; }
  .change-row,
  .brief-row,
  .fee-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .verification-register > div { grid-template-columns: 34px 1fr; gap: 0.4rem 0.8rem; }
  .verification-register p { grid-column: 2; }
  .change-type { margin-bottom: 0.2rem; }
  .brief-finding { grid-template-columns: 1fr; }
  .brief-finding > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .brief-finding > div:last-child { border-bottom: 0; }
  .lead-form { grid-template-columns: 1fr; }
  .form-heading,
  .form-wide,
  .consent,
  .form-boundary,
  .lead-form .button { grid-column: 1; }
  .receipt-register { grid-template-columns: 1fr; }
  .receipt-register div { display: block; border-bottom: 1px solid var(--line); }
  .receipt-register div:last-child { border-bottom: 0; }
  .receipt-register dt,
  .receipt-register dd { padding: 0.35rem 0; border: 0 !important; }
  .receipt-register dt { padding-top: 0.75rem; }
  .receipt-register dd { padding-bottom: 0.75rem; }
}

@media (max-width: 390px) {
  .wordmark .stormline-logo { width: 142px; }
  .site-nav .button { max-width: 118px; }
}
