:root {
  --navy: #084887;
  --navy-dark: #063767;
  --green: #37ca37;
  --green-dark: #2aa82a;
  --white: #ffffff;
  --ink: #10243e;
  --muted: #5d6b7c;
  --surface: #f4f8fc;
  --shadow: 0 18px 45px rgba(5, 42, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: var(--white);
  background: linear-gradient(135deg, #0a5795 0%, var(--navy) 58%, #063665 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, transparent 72%, rgba(255, 255, 255, 0.18) 72%),
    linear-gradient(0deg, transparent 74%, rgba(255, 255, 255, 0.13) 74%);
  background-size: 220px 220px, 310px 250px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: 620px;
  gap: 32px;
  padding-block: 42px;
}

.brand {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.brand::after {
  color: var(--green);
  content: ".";
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--green);
}

.hero__intro {
  max-width: 550px;
  margin: 20px 0 28px;
  font-size: 1.05rem;
}

.zip-form {
  display: flex;
  width: min(100%, 500px);
  overflow: hidden;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.zip-form input,
.zip-form button {
  min-height: 58px;
  border: 0;
  font: inherit;
}

.zip-form input {
  min-width: 0;
  flex: 1;
  padding: 0 20px;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.zip-form input:focus {
  box-shadow: inset 0 0 0 3px rgba(55, 202, 55, 0.45);
}

.zip-form button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--green);
  transition: background 160ms ease, transform 160ms ease;
}

.zip-form button:hover,
.button:hover {
  background: var(--green-dark);
}

.zip-form button:active,
.button:active {
  transform: translateY(1px);
}

.form-message {
  min-height: 25px;
  margin: 10px 0 0;
  font-weight: 600;
}

.form-message.is-error {
  color: #ffd4d4;
}

.form-message.is-success {
  color: #c9ffc9;
}

.hero__note {
  margin: 5px 0 0;
  color: #dceaf7;
  font-size: 0.76rem;
}

.hero__visual img {
  width: min(100%, 650px);
  margin-inline: auto;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.28));
}

.section {
  padding-block: 82px;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h2,
.qualify h2,
.cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-heading span {
  display: block;
  width: 150px;
  height: 5px;
  margin: 18px auto 0;
  background: var(--navy);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  min-height: 205px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card > div:last-child {
  padding: 24px;
}

.benefit-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--green);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit-icon strong {
  font-size: 3rem;
  line-height: 0.95;
}

.benefit-icon span {
  font-size: 1rem;
  font-weight: 800;
}

.benefit-card h3 {
  margin: 0 0 9px;
  font-size: 1.25rem;
}

.benefit-card p,
.qualify p,
.cta p {
  margin: 0;
}

.qualify {
  background: var(--surface);
}

.qualify__grid,
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.qualify h2,
.cta h2 {
  margin-bottom: 20px;
}

.qualify p,
.cta p {
  color: var(--muted);
  font-size: 1.06rem;
}

.qualify img,
.cta img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.cta__grid {
  grid-template-columns: 0.9fr 1fr;
}

.button {
  min-height: 54px;
  margin-top: 28px;
  border-radius: 7px;
}

.footer {
  padding-block: 28px;
  color: #dceaf7;
  background: var(--navy-dark);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand--footer {
  margin: 0;
  font-size: 1.35rem;
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .hero__grid,
  .qualify__grid,
  .cta__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding-top: 30px;
    text-align: center;
  }

  .brand {
    margin-bottom: 30px;
  }

  .hero__intro,
  .zip-form {
    margin-inline: auto;
  }

  .hero__visual img {
    width: min(100%, 520px);
  }

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

  .qualify__grid,
  .cta__grid {
    gap: 32px;
    text-align: center;
  }

  .cta__grid img {
    order: 2;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .zip-form {
    flex-direction: column;
    overflow: visible;
    box-shadow: none;
  }

  .zip-form input,
  .zip-form button {
    border-radius: 7px;
  }

  .zip-form button {
    margin-top: 10px;
  }

  .section {
    padding-block: 60px;
  }

  .benefit-card {
    grid-template-columns: 105px 1fr;
  }

  .benefit-card > div:last-child {
    padding: 20px 16px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
