@font-face {
  font-family: "Saira Condensed";
  src: url("assets/fonts/saira-condensed-extra-bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("assets/fonts/saira-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0d1b2a;
  --navy-soft: #152b40;
  --red: #d32f2f;
  --red-dark: #a91f26;
  --white: #ffffff;
  --mist: #f5f7fa;
  --steel: #5c6670;
  --charcoal: #1e2933;
  --border: #d9dee5;
  --focus-on-light: #0d1b2a;
  --focus-on-dark: #f2b705;
  --shadow: 0 18px 55px rgb(13 27 42 / 12%);
  --shell: 72rem;
  --radius: 0.375rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid var(--focus-on-light);
  outline-offset: 0.2rem;
}

.process-section :focus-visible,
.estimate-copy :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-on-dark);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.narrow {
  max-width: 47rem;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  line-height: 0.98;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 14vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.65rem;
  font-weight: 700;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--red);
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ff8b8b;
}

.lead {
  font-size: clamp(1.125rem, 4vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 0.125rem solid var(--red);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--red);
  box-shadow: 0 0.5rem 1.25rem rgb(211 47 47 / 18%);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button:focus-visible {
  outline-color: var(--focus-on-light);
  box-shadow: 0 0 0 0.3rem rgb(13 27 42 / 18%);
}

.button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.button-small {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.875rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 0.0625rem solid var(--border);
  background: rgb(255 255 255 / 96%);
}

.header-inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 2.75rem;
  align-items: center;
}

.brand img {
  width: 9rem;
  height: auto;
}

.desktop-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 6.5rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0 71%, var(--mist) 71% 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 6.5rem);
  max-width: 52rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 2rem 2.5rem;
}

.hero h1 span {
  display: block;
}

.hero-eyebrow span {
  display: block;
}

.hero-eyebrow span + span {
  margin-top: 0.2rem;
}

.hero h1 .hero-payoff {
  font-size: clamp(1.45rem, 7.8vw, 4.8rem);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.hero-clarifier {
  max-width: 42rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
  font-size: clamp(1rem, 4.4vw, 1.25rem);
  font-weight: 500;
}

.hero-cta {
  width: 100%;
}

.price-line {
  max-width: 37rem;
  margin: 0.9rem 0 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.hero-lines {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border: 1.5rem solid rgb(211 47 47 / 8%);
  transform: rotate(45deg);
}

.intro {
  position: relative;
}

.intro::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2rem), 72rem);
  height: 0.3rem;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--red) 0 5rem, var(--navy) 5rem 100%);
  content: "";
}

.process-section {
  color: var(--white);
  background: var(--navy);
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-grid {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 13rem;
  padding: 1.5rem;
  border: 0.0625rem solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  background: var(--navy-soft);
}

.process-grid p {
  color: #dce4ec;
}

.step-number {
  display: block;
  margin-bottom: 2rem;
  color: #ff8b8b;
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.services-section {
  background: var(--mist);
}

.section-heading {
  display: grid;
  gap: 1rem;
}

.service-grid {
  display: grid;
  margin-top: 2rem;
  gap: 1rem;
}

.service-grid article {
  padding: 1.5rem;
  border: 0.0625rem solid var(--border);
  border-top: 0.25rem solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
}

.service-mark {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 0.125rem solid var(--navy);
  color: var(--navy);
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
}

.illustration-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.illustration-section figure {
  margin: 0;
}

.illustration-section img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.illustration-section figcaption {
  margin-top: 0.65rem;
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 600;
}

.faq-section {
  background: var(--mist);
}

.faq-grid {
  display: grid;
  gap: 2rem;
}

.faq-list details {
  border-bottom: 0.0625rem solid var(--border);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 3rem 1rem 0;
  color: var(--navy);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 0.25rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 0.125rem solid var(--navy);
  border-radius: 50%;
  content: "+";
  font-size: 1.25rem;
  line-height: 1.4rem;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 42rem;
  padding: 0 2rem 1.25rem 0;
}

.estimate-section {
  color: var(--white);
  background: var(--navy);
}

.estimate-grid {
  display: grid;
  gap: 2rem;
}

.estimate-copy h2 {
  color: var(--white);
}

.estimate-copy > p:not(.eyebrow) {
  color: #dce4ec;
}

.estimate-note {
  display: grid;
  margin-top: 2rem;
  padding: 1.25rem;
  border-left: 0.3rem solid var(--red);
  background: rgb(255 255 255 / 8%);
  gap: 0.25rem;
}

.lead-form {
  padding: 1.25rem;
  border-radius: var(--radius);
  color: var(--charcoal);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field,
.contact-fields {
  margin: 0 0 1.15rem;
}

.field label,
.contact-fields legend {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-fields {
  padding: 0;
  border: 0;
}

.contact-fields legend {
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 0.125rem solid var(--steel);
  border-radius: 0.25rem;
  color: var(--charcoal);
  background: var(--white);
  font-size: 1rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input[type="file"] {
  min-height: 3.5rem;
  padding: 0.55rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--navy);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  outline: 0.2rem solid var(--focus-on-light);
  outline-offset: 0.05rem;
}

[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 0.15rem rgb(211 47 47 / 12%);
}

.field-help,
.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.field-help {
  color: var(--steel);
}

.field-error {
  color: #a31e25;
  font-weight: 700;
}

.group-error {
  margin-top: -0.65rem;
}

.two-column {
  display: grid;
  gap: 0;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: start;
  margin-top: 0.25rem;
}

.checkbox-field input {
  width: 1.5rem;
  min-height: 1.5rem;
  margin: 0.2rem 0 0;
}

.checkbox-field label {
  min-height: 2.75rem;
  padding-top: 0.15rem;
  color: var(--navy);
  font-weight: 700;
}

.consent-help {
  margin: -0.6rem 0 1.25rem 2.75rem;
}

.form-submit {
  width: 100%;
}

.form-privacy {
  margin: 0.85rem 0 0;
  color: var(--steel);
  font-size: 0.75rem;
}

.form-privacy a {
  color: var(--navy);
  font-weight: 700;
}

.form-summary {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 0.125rem solid var(--red);
  border-radius: 0.25rem;
  color: #7c151b;
  background: #fdecec;
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  width: 0.0625rem !important;
  height: 0.0625rem !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.site-footer {
  padding-block: 3.5rem 1.5rem;
  color: #dce4ec;
  background: #08121d;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-grid img {
  width: 9rem;
  height: auto;
  margin-bottom: 1rem;
}

.footer-grid h2 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-grid a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--white);
}

.legal-line {
  display: grid;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid rgb(255 255 255 / 18%);
  color: #aebac5;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.compact-footer {
  padding-top: 1.5rem;
}

.compact-footer .legal-line {
  margin-top: 0;
}

.legal-page {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background: var(--mist);
}

.legal-content {
  max-width: 48rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-top: 0.35rem solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--navy);
  font-size: clamp(3rem, 12vw, 5rem);
}

.legal-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
}

.updated {
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 600;
}

.confirmation-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
  background: var(--mist);
}

.confirmation-card {
  width: min(100%, 40rem);
  padding: clamp(1.5rem, 7vw, 4rem);
  border-top: 0.35rem solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.confirmation-logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.confirmation-logo img {
  width: 12rem;
  height: auto;
}

.confirmation-card h1 {
  color: var(--navy);
  font-size: clamp(2.5rem, 11vw, 4.5rem);
}

@media (min-width: 34rem) {
  .shell {
    width: min(100% - 3rem, var(--shell));
  }

  .hero-cta {
    width: auto;
  }

  .lead-form {
    padding: 2rem;
  }

  .process-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .header-inner {
    min-height: 6rem;
  }

  .brand img {
    width: 12rem;
  }

  .hero,
  .hero-inner {
    min-height: calc(100svh - 7rem);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    align-items: end;
    gap: 3rem;
  }

  .illustration-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 8vw, 6rem);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(11rem, 0.75fr));
  }

  .legal-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-line > :last-child {
    text-align: right;
  }
}

@media (min-width: 62rem) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .desktop-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }

  .desktop-nav a:hover {
    color: var(--red);
  }

  .process-grid,
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .estimate-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(34rem, 1.15fr);
    align-items: start;
    gap: clamp(4rem, 8vw, 7rem);
  }

  .estimate-copy {
    position: sticky;
    top: 2rem;
  }
}

@media (min-width: 80rem) {
  .hero::after {
    position: absolute;
    top: 50%;
    right: max(2rem, calc((100vw - var(--shell)) / 2));
    width: 24rem;
    height: 24rem;
    border: 2rem solid rgb(13 27 42 / 4%);
    transform: translateY(-50%) rotate(45deg);
    content: "";
  }
}

@media (max-height: 42rem) and (max-width: 48rem) {
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 2rem 2.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button,
  .lead-form {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
