:root {
  --ink: #0f172a;
  --muted: #334155;
  --paper: #fdfefe;
  --pale-blue: #d2eafa;
  --blue: #17447f;
  --navy: #0c2238;
  --border: #9aaaba;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #0071c2; outline-offset: 4px; }
.shell { width: min(100% - clamp(2rem, 8vw, 8rem), 84rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: white; padding: .65rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.masthead { padding-block: .8rem; }
.masthead img { width: clamp(8rem, 16vw, 15rem); height: auto; }
.masthead nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.65rem, 3.2vw, 2.6rem); }
.masthead nav a { padding-block: .65rem; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.hero { color: white; background-color: var(--navy); background-image: linear-gradient(90deg, #0c2238 0%, #0c2238f2 28%, #0c2238b5 45%, #0c223800 72%), url("roof.webp"); background-position: center, 75% center; background-size: cover, cover; }
.hero-content { min-height: clamp(29rem, 45vw, 39rem); display: grid; align-content: center; justify-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.03; letter-spacing: -.035em; }
h1 { max-width: 10ch; font-size: clamp(3.1rem, 6.15vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.1vw, 4rem); }
.hero p { margin-block: 1.25rem 1.7rem; max-width: 32rem; border-inline-start: 4px solid #79c8f8; padding-inline-start: 1rem; font-size: clamp(1.12rem, 2vw, 1.65rem); }
.hero :focus-visible { outline-color: white; }
.hero-secondary { margin-top: .85rem; font-size: clamp(1rem, 1.55vw, 1.35rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; border: 0; border-radius: .45rem; background: var(--blue); color: white; cursor: pointer; padding: .72rem 1.25rem; font-weight: 700; text-decoration: none; text-align: center; }
.hero .button { font-size: clamp(1rem, 1.55vw, 1.35rem); padding-inline: clamp(1.15rem, 2.4vw, 2rem); }
.button:hover { background: #103363; }
.button:disabled { cursor: default; background: #475569; }
.introduction { padding-block: clamp(1.8rem, 3.5vw, 3.5rem); }
.introduction h2 { font-size: clamp(2.1rem, 3.95vw, 3.6rem); }
.section { padding-block: clamp(2.2rem, 4vw, 4rem); }
.maintenance { background: var(--pale-blue); }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 4vw, 3.3rem); list-style: none; padding: 0; margin-top: 1.35rem; }
.process li { position: relative; }
.process li + li::before { content: "→"; position: absolute; top: clamp(2.1rem, 7vw, 6rem); left: calc(-1 * clamp(1rem, 3vw, 2.5rem)); font-size: 1.5rem; }
.process img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; border-radius: .65rem; }
.process h3 { margin-top: .65rem; font-size: 1.35rem; line-height: 1.15; }
.process p { margin-top: .35rem; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-block: 1.45rem .8rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.text-link, .resource-links a { color: var(--blue); font-weight: 700; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 5vw, 4rem); }
.services > section + section { border-left: 1px solid var(--border); padding-left: clamp(1.5rem, 4vw, 4rem); }
.services p, .coverage p, .contact p { margin-top: .85rem; }
.services ul { margin-block: 1rem; padding-inline-start: 1.15rem; }
.services li + li { margin-top: .35rem; }
.contact { background: #ebf1f4; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5rem); }
.contact h2 { max-width: 12ch; }
.contact p { color: var(--muted); }
.demo-note { border-left: 3px solid var(--blue); padding: .35rem 0 .35rem .7rem; }
form { background: var(--paper); border: 1px solid var(--border); border-radius: .75rem; padding: clamp(1rem, 3.3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; grid-template-rows: min-content min-content; gap: .3rem; font-weight: 650; }
input, select, textarea { width: 100%; min-width: 0; min-height: 2.75rem; border: 1px solid #64748b; border-radius: .35rem; background: white; color: var(--ink); padding: .5rem .65rem; }
textarea { resize: vertical; }
label small { color: var(--muted); font-weight: 400; }
form > label, form > button { margin-top: 1rem; }
#form-result:not(:empty) { padding: .7rem; background: var(--pale-blue); color: var(--ink); }
.resource-links { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; list-style: none; padding: 0; margin-top: 1rem; }
.site-footer { background: var(--navy); color: white; }
.footer-inner { padding-block: 1.2rem; font-size: .9rem; }
.footer-inner a:focus-visible { outline-color: white; }
.arrive { animation: arrive .45s ease-out both; }
@keyframes arrive { from { opacity: .68; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }

@media (max-width: 46rem) {
  .masthead { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .masthead nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .3rem; }
  .masthead nav { font-size: .875rem; justify-content: space-between; width: 100%; }
  .hero { background-image: linear-gradient(90deg, #0c2238f9 2%, #0c2238de 64%, #0c2238bc 100%), url("roof.webp"); }
  .hero-content { min-height: 26rem; }
  .desktop-break, .process li + li::before { display: none; }
  .process, .plans, .services, .contact-grid { grid-template-columns: 1fr; }
  .services > section + section { border-left: 0; border-top: 1px solid var(--border); padding: 1.8rem 0 0; }
}
@media (max-width: 28rem) {
  h1 { font-size: clamp(2.65rem, 12vw, 3.1rem); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .arrive { animation: none; }
}
