:root {
  --navy: #102a43;
  --blue: #1769aa;
  --blue-dark: #0d4f86;
  --orange: #f26b38;
  --orange-dark: #d94e1d;
  --sky: #edf6fc;
  --mist: #f5f7f9;
  --ink: #172b3a;
  --muted: #526575;
  --line: #d8e1e8;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font:
    16px/1.62 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.55rem, 5.5vw, 4.9rem);
  max-width: 850px;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1.15em;
}
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
a {
  color: inherit;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}
.utility {
  background: var(--navy);
  color: #fff;
  padding: 8px max(20px, calc((100% - var(--max)) / 2));
  font-size: 0.82rem;
}
.utility a {
  float: right;
  color: #fff;
  font-weight: 800;
  text-underline-offset: 3px;
}
header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(20px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
}
.brand strong {
  font-weight: 850;
  font-size: 0.91rem;
  color: var(--navy);
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.91rem;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav-cta,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--orange);
  color: #fff;
  padding: 14px 21px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 850;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(242, 107, 56, 0.18);
}
.nav-cta:hover,
.button:hover {
  background: var(--orange-dark);
  text-decoration: none;
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.menu {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font: 700 inherit;
}
.hero {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(237, 246, 252, 0.98) 0%,
      rgba(237, 246, 252, 0.94) 46%,
      rgba(237, 246, 252, 0.28) 72%
    ),
    url('/assets/window-well-hero.jpg') center right/cover no-repeat;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  padding: 84px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 55px;
  align-items: end;
  min-height: 610px;
}
.eyebrow,
.kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 850;
  font-size: 0.75rem;
  color: var(--blue-dark);
  margin-bottom: 18px;
}
.lead {
  font-size: 1.18rem;
  max-width: 720px;
  color: #334e62;
}
.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
.text-link {
  font-weight: 800;
  color: var(--blue-dark);
  text-underline-offset: 5px;
}
.disclosure {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
}
.hero aside {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 28px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}
.hero aside b {
  color: var(--blue-dark);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}
.hero aside ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.hero aside li {
  margin: 9px 0;
}
.section {
  padding: 82px 0;
}
.tint {
  background: var(--mist);
}
.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-head span {
  color: var(--blue-dark);
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 42, 67, 0.06);
}
.card p {
  color: var(--muted);
}
.card b {
  margin-top: auto;
  color: var(--blue-dark);
}
.prose {
  display: grid;
  grid-template-columns: 80px minmax(0, 800px);
  gap: 30px;
}
.num {
  border-top: 4px solid var(--orange);
  padding-top: 10px;
  color: var(--blue-dark);
  font-weight: 900;
}
.prose p {
  font-size: 1.06rem;
  color: #405568;
}
.advantage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.advantage div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 7px 22px rgba(16, 42, 67, 0.05);
}
.advantage div:before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}
.faq details {
  max-width: 880px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  color: var(--navy);
}
.cta {
  background: var(--blue-dark);
  color: #fff;
  padding: 58px 0;
}
.cta h2 {
  color: #fff;
}
.cta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta .button {
  background: var(--orange);
}
footer {
  background: var(--navy);
  color: #d8e4ec;
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 35px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid .brand strong {
  color: #fff;
}
.footer-grid a {
  text-decoration: none;
  color: #d8e4ec;
}
.legal {
  border-top: 1px solid #38546a;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #b5c6d2;
}
.intake-shell {
  max-width: 860px;
  margin: auto;
}
.progress {
  height: 9px;
  background: #e2e8ed;
  border-radius: 9px;
  overflow: hidden;
  margin: 20px 0 35px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  width: 10%;
  transition: 0.3s;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.upload {
  border: 2px dashed #8ca2b3;
  background: #f8fbfd;
  padding: 24px;
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  border-radius: 9px;
}
.upload input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.upload:focus-within {
  outline: 3px solid #76b8e6;
  outline-offset: 3px;
}
.upload.has {
  border-style: solid;
  border-color: var(--blue);
  background: var(--sky);
}
.upload img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 6px;
}
.field {
  display: grid;
  gap: 7px;
  margin: 17px 0;
  font-weight: 750;
}
.field input,
.field textarea,
.field select {
  padding: 13px;
  border: 1px solid #91a4b1;
  border-radius: 6px;
  font: inherit;
  width: 100%;
}
.choices {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.choice {
  display: block;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  background: white;
  text-align: left;
  cursor: pointer;
}
.choice:hover {
  border-color: var(--blue);
}
.chat {
  background: var(--sky);
  border-left: 4px solid var(--blue);
  padding: 22px;
  margin: 18px 0;
}
.chat b {
  display: block;
  color: var(--blue-dark);
  margin-bottom: 5px;
}
.status {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.5em;
}
.error {
  color: #a4261d;
}
.success {
  background: #edf8f0;
  border-left: 5px solid #2e8540;
  padding: 24px;
  border-radius: 6px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.privacy-note {
  font-size: 0.82rem;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #76b8e6;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 22px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  nav.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .hero {
    background:
      linear-gradient(rgba(237, 246, 252, 0.94), rgba(237, 246, 252, 0.94)),
      url('/assets/window-well-hero.jpg') center/cover;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 68px 0;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .advantage {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .cards,
  .photo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .prose {
    grid-template-columns: 1fr;
  }
  .advantage,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 21px;
  }
  .section {
    padding: 60px 0;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    text-align: center;
  }
  .utility a {
    float: none;
    margin-left: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
