:root {
  --background: #F8FAFC;
  --steel-blue: #1E3A5F;
  --body-ink: #0F172A;
  --cobalt: #2563EB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--body-ink);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 2px solid var(--steel-blue);
  background: var(--background);
}

.top-bar {
  background: var(--steel-blue);
  color: var(--background);
  font-size: 14px;
  font-weight: 700;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
}

.top-bar a,
.banner-phone {
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
}

.top-bar a {
  font-size: 17px;
  white-space: nowrap;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.wordmark,
h1,
h2,
blockquote {
  font-family: Georgia, serif;
}

.wordmark {
  color: var(--steel-blue);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  color: var(--body-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cobalt);
  text-decoration: underline;
}

.call-button,
.primary-button {
  display: inline-block;
  border: 2px solid var(--cobalt);
  background: var(--cobalt);
  color: var(--background);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.call-button {
  padding: 11px 15px;
  white-space: nowrap;
}

.call-button:hover,
.call-button:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  background: var(--steel-blue);
  border-color: var(--steel-blue);
}

.steps-section,
.guarantee-section,
.quote-section,
.hero-section,
.contact-section {
  padding: 58px 0;
}

.section-kicker,
.banner-label {
  margin: 0 0 7px;
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--steel-blue);
  line-height: 1.22;
}

h1 {
  max-width: 790px;
  margin: 0 0 28px;
  font-size: 36px;
}

h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

p {
  margin: 0 0 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--steel-blue);
  border-left: 2px solid var(--steel-blue);
}

.step-card {
  min-width: 0;
  padding: 22px 18px;
  border-right: 2px solid var(--steel-blue);
  border-bottom: 2px solid var(--steel-blue);
  background: var(--background);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
  background: var(--cobalt);
  color: var(--background);
  font-weight: 700;
}

.step-card h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

.step-card p {
  margin: 0;
  font-size: 15px;
}

.response-banner {
  background: var(--steel-blue);
  color: var(--background);
  border-top: 2px solid var(--steel-blue);
  border-bottom: 2px solid var(--steel-blue);
}

.response-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.response-inner .banner-label {
  color: var(--background);
}

.response-inner strong,
.response-inner span {
  display: block;
}

.response-inner strong {
  font-size: 19px;
}

.response-inner span {
  font-size: 14px;
}

.banner-phone {
  border: 2px solid var(--background);
  padding: 12px 18px;
  font-size: 24px;
  white-space: nowrap;
}

.banner-phone:hover,
.banner-phone:focus-visible {
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.guarantee-panel {
  border: 2px solid var(--cobalt);
  padding: 34px;
  background: var(--background);
}

.guarantee-panel p:last-child {
  margin-bottom: 0;
}

.quote-section {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--steel-blue);
  border-bottom: 1px solid var(--steel-blue);
}

.quote-wrap {
  max-width: 820px;
}

blockquote {
  margin: 0 0 16px;
  color: var(--steel-blue);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
}

.quote-role {
  margin: 0;
  font-weight: 700;
}

.hero-section {
  padding-top: 64px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr);
  gap: 34px;
  align-items: stretch;
  border: 2px solid var(--steel-blue);
  padding: 32px;
  background: var(--background);
}

.hero-copy h2 {
  font-size: 31px;
}

.trust-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.trust-checks span {
  border: 1px solid var(--steel-blue);
  padding: 7px 10px;
  color: var(--steel-blue);
  font-size: 14px;
  font-weight: 700;
}

.trust-checks span::before {
  content: "✓ ";
  color: var(--cobalt);
}

.primary-button {
  padding: 14px 19px;
}

.letter-close {
  margin-top: 28px;
  margin-bottom: 0;
}

.signature {
  margin: 0;
  color: var(--steel-blue);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
}

.hero-image-wrap {
  margin: 0;
  min-height: 100%;
  border: 2px solid var(--steel-blue);
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact-section {
  padding-bottom: 68px;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  gap: 34px;
  border: 2px solid var(--steel-blue);
  padding: 32px;
}

.contact-details {
  border-left: 1px solid var(--steel-blue);
  padding-left: 28px;
}

.contact-details p {
  margin-bottom: 18px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details strong,
.contact-details a,
.contact-details span {
  display: block;
}

.contact-details strong {
  color: var(--steel-blue);
  font-size: 14px;
}

.contact-details a {
  color: var(--cobalt);
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
}

.privacy-policy {
  margin-top: 26px;
  border-top: 2px solid var(--steel-blue);
  padding-top: 22px;
}

.privacy-policy h2 {
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.privacy-policy p {
  margin-bottom: 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  .top-bar-inner,
  .main-header,
  .response-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-bar-inner {
    justify-content: center;
    gap: 2px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .main-header {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  h1 {
    font-size: 30px;
  }

  .steps-section,
  .guarantee-section,
  .quote-section,
  .hero-section,
  .contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .response-inner {
    gap: 15px;
  }

  .banner-phone {
    font-size: 21px;
  }

  .hero-panel,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .hero-image-wrap img {
    min-height: 240px;
  }

  .contact-details {
    border-top: 1px solid var(--steel-blue);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }
}

@media (max-width: 460px) {
  .top-bar a {
    font-size: 16px;
  }

  .wordmark {
    font-size: 25px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  h1,
  .hero-copy h2 {
    font-size: 27px;
  }

  blockquote {
    font-size: 23px;
  }

  .guarantee-panel,
  .hero-panel,
  .contact-box {
    padding: 20px;
  }
}
