:root {
  --ink: #102338;
  --muted: #526273;
  --blue: #0b69e3;
  --blue-dark: #084da7;
  --ice: #eef6ff;
  --line: #d9e3ed;
  --white: #ffffff;
  --page: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.demo-strip {
  padding: .55rem 1rem;
  color: #394958;
  background: #e8eef4;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .02em;
}
.demo-strip a { color: #084da7; font-weight: 800; text-underline-offset: 3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1rem clamp(1.1rem, 4vw, 2.5rem);
  background: rgba(248, 250, 252, .94);
  backdrop-filter: blur(12px);
}
.brand { display: flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: white; background: var(--blue); border-radius: 4px; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .75rem 1.2rem;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(11, 105, 227, .2);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}
.button:hover, .button:focus-visible { background: var(--blue-dark); }
.button-small { min-height: 2.55rem; padding: .58rem .9rem; }
.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 620px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.1rem, 4vw, 2.5rem);
}
.eyebrow { margin: 0 0 .85rem; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 1.25rem; font-size: clamp(2.7rem, 6.3vw, 5.5rem); line-height: .98; letter-spacing: -.06em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.lede { max-width: 650px; margin-bottom: 1.8rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; gap: 1.25rem; align-items: center; }
.text-link { font-weight: 800; text-underline-offset: 4px; }
.trust-list { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin: 2.2rem 0 0; padding: 0; color: var(--muted); font-size: .88rem; font-weight: 700; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: .45rem; color: var(--blue); }
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 2rem;
  background: linear-gradient(145deg, #ddecff, #f5fbff 55%, #bfdcff);
  border: 1px solid #cbddee;
  border-radius: 6px;
}
.hero-visual::before { content: ""; position: absolute; inset: auto -12% -32% -12%; height: 60%; background: #b7c7d6; transform: rotate(-4deg); }
.sun { position: absolute; top: 2.2rem; right: 2.2rem; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #ffd45c; }
.house { position: absolute; left: 12%; right: 12%; bottom: 22%; height: 46%; background: #fefefe; box-shadow: 0 22px 48px rgba(31, 62, 92, .18); }
.roof { position: absolute; left: -7%; top: -35%; width: 114%; height: 38%; background: #193551; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.window { position: absolute; top: 25%; width: 18%; height: 24%; border: 8px solid #fff; background: #95c9ef; box-shadow: 0 0 0 1px #a9bdcf; }
.window-one { left: 13%; }
.window-two { right: 13%; }
.door { position: absolute; left: 43%; bottom: 0; width: 18%; height: 45%; background: var(--blue); }
.wash-line { position: absolute; z-index: 2; right: 5%; bottom: 8%; width: 58%; height: 12px; background: var(--white); transform: rotate(-7deg); box-shadow: 0 0 20px rgba(255,255,255,.9); }
.hero-visual p { position: absolute; z-index: 3; left: 2rem; bottom: 1.5rem; margin: 0; font-size: 1.05rem; }
.section { width: min(1180px, 100%); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.1rem, 4vw, 2.5rem); }
.section-heading { max-width: 700px; margin-bottom: 2.4rem; }
.section-heading > p:last-child, .section-copy { color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 240px; padding: 1.6rem; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article > span { display: block; margin-bottom: 3rem; color: var(--blue); font-size: .75rem; font-weight: 900; }
.service-grid p { color: var(--muted); font-size: .92rem; }
.estimator-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.estimator { padding: clamp(1.35rem, 4vw, 2.2rem); background: var(--white); border: 1px solid var(--line); }
.estimator h3 { margin-bottom: 1.2rem; font-size: 1.35rem; }
.estimate-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.estimate-options label { display: flex; align-items: center; gap: .6rem; padding: .8rem; color: var(--ink); background: var(--ice); border: 1px solid #d7e8fa; border-radius: 3px; font-size: .88rem; cursor: pointer; }
.estimate-options input { width: 1.05rem; height: 1.05rem; margin: 0; }
.size-label { margin-top: 1rem; color: var(--muted); }
.estimate-result { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.estimate-result span { color: var(--muted); font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.estimate-result strong { color: var(--blue); font-size: clamp(1.35rem, 3vw, 2rem); }
.estimate-note { margin: .7rem 0 0; color: var(--muted); font-size: .78rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: var(--white); background: var(--ink); border-radius: 50%; font-weight: 850; }
.steps strong { display: block; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--muted); }
.quote-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 7rem); background: var(--ink); color: var(--white); }
.quote-section .eyebrow { color: #82bdff; }
.quote-section > div > p { color: #c7d2dd; }
.contact-lines { display: grid; gap: .55rem; margin-top: 2rem; font-weight: 800; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .45rem; color: #dce5ec; font-size: .82rem; font-weight: 750; }
label:nth-of-type(3), label:nth-of-type(4), form .button, .form-status { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #7890a6; border-radius: 3px; padding: .8rem; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.form-status { min-height: 1.4rem; margin: 0; color: #c7d2dd; font-size: .85rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem max(1.1rem, calc((100% - 1100px) / 2)); color: var(--muted); background: #e8eef4; font-size: .8rem; }
footer a { color: var(--blue-dark); font-weight: 800; }

@media (max-width: 820px) {
  nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3.5rem; }
  .hero-visual { min-height: 390px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .split, .quote-section, .estimator-section { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .demo-strip { align-items: flex-start; flex-direction: column; gap: .2rem; text-align: left; }
  .site-header { padding-block: .75rem; }
  .brand small { display: none; }
  .brand-mark { width: 2rem; height: 2rem; }
  .button-small { font-size: .78rem; }
  .hero { gap: 2.7rem; padding-top: 2.7rem; }
  h1 { font-size: clamp(2.55rem, 14vw, 3.65rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .hero-visual { min-height: 330px; padding: 1.2rem; }
  .hero-visual p { left: 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 190px; }
  .service-grid article > span { margin-bottom: 1.7rem; }
  .estimate-options { grid-template-columns: 1fr; }
  .estimate-result { align-items: flex-start; flex-direction: column; }
  form { grid-template-columns: 1fr; }
  label, label:nth-of-type(3), label:nth-of-type(4), form .button, .form-status { grid-column: 1; }
  footer { flex-direction: column; }
}

/* Local review fixes: visible focus, reachable anchors, reduced motion. */
:focus-visible { outline: 3px solid #a84d00; outline-offset: 4px; }
section[id], #demo-contact { scroll-margin-top: 6rem; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 30; padding: .7rem 1rem; background: white; color: #102338; }
.skip-link:focus { top: .5rem; }
button:disabled { opacity: .65; cursor: default; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
