:root {
  color-scheme: light;
  --ink: #243042;
  --muted: #657184;
  --line: #d9e1e7;
  --paper: #ffffff;
  --wash: #eef7f5;
  --navy: #071d37;
  --blue: #174d92;
  --accent: #236b63;
  --accent-dark: #174d47;
  --green: #73a91f;
  --gold: #d9903d;
  --error: #a23434;
  --shadow: 0 24px 70px rgba(39, 55, 77, .16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(241, 247, 246, .95), rgba(247, 250, 253, .92)),
    #f7fafb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.page-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.brand-lockup,
.phone-link {
  color: var(--navy);
  text-decoration: none;
}

.brand-lockup {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 4px;
  align-items: end;
  height: 32px;
}

.brand-mark span {
  display: block;
  border-radius: 999px 999px 3px 3px;
  background: var(--blue);
}

.brand-mark span:nth-child(1) {
  height: 18px;
}

.brand-mark span:nth-child(2) {
  height: 30px;
  background: var(--green);
}

.brand-mark span:nth-child(3) {
  height: 22px;
  background: var(--gold);
}

.brand-lockup strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.brand-lockup strong span {
  color: var(--green);
}

.brand-lockup small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 3px;
}

.phone-link {
  border: 1px solid rgba(7, 29, 55, .18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(39, 55, 77, .08);
  font-weight: 800;
  padding: 11px 14px;
}

.hero {
  display: block;
  padding: 16px 0 30px;
}

.hero__media {
  min-width: 0;
}

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #ffffff;
  min-height: 430px;
  padding: 46px 58px;
}

.brand-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -145px;
  width: 230px;
  height: calc(100% + 80px);
  border-left: 8px solid var(--green);
  background: #ffffff;
  transform: rotate(-11deg);
}

.brand-card > * {
  position: relative;
  z-index: 1;
}

.brand-card h1 {
  border-bottom: 2px solid var(--green);
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  padding-bottom: 10px;
  max-width: 86%;
}

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

.brand-card__tagline {
  color: #dfe8f1;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 12px 0 20px;
  max-width: 92%;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-card__copy {
  color: #e9f0f4;
  font-size: 1.24rem;
  line-height: 1.45;
  margin: 22px 0 18px;
  max-width: 960px;
}

.brand-card .plan-list {
  margin: 0 0 28px;
}

.brand-card .plan-list span {
  background: rgba(255, 255, 255, .94);
}

.coverage-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.coverage-icons span {
  border-left: 1px solid rgba(255, 255, 255, .34);
  color: #ffffff;
  font-size: .82rem;
  font-weight: 800;
  min-height: 54px;
  padding: 8px 6px 0 10px;
  text-transform: uppercase;
}

.coverage-icons span:first-child {
  border-left: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 16px 28px;
  list-style: none;
  margin: 0 0 24px;
  max-width: 980px;
  padding: 0;
}

.trust-list li {
  color: #eff5f7;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.trust-list li::before {
  content: "✓";
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  color: var(--green);
  font-size: 1.45rem;
  line-height: 1;
  margin-right: 10px;
  transform: none;
  vertical-align: -.12em;
}

.brand-card > strong {
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  font-size: .94rem;
  letter-spacing: .12em;
  padding: 12px 18px;
  text-transform: uppercase;
}

.hero__content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  color: var(--navy);
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.hero__copy,
.contact-panel__intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__copy {
  max-width: 590px;
  margin: 22px 0;
}

.plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-list span {
  border: 1px solid rgba(23, 77, 146, .18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(39, 55, 77, .06);
  font-weight: 700;
  padding: 9px 14px;
}

.carrier-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  padding: 26px;
}

.section-intro {
  display: block;
  margin-bottom: 18px;
}

.section-intro h2 {
  max-width: none;
}

.section-intro p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 1120px;
  margin: 14px 0 0;
}

.carrier-eyebrow {
  margin: 24px 0 10px;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.carrier-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #f8fbfb;
  color: #1f3765;
  font-size: .94rem;
  font-weight: 800;
  padding: 12px;
  text-align: center;
}

.coverage-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  background: #cfdceb;
  margin-top: 18px;
  overflow: hidden;
}

.coverage-lines article {
  background: #f8fbfb;
  padding: 18px;
}

.coverage-lines strong,
.coverage-lines span {
  display: block;
}

.coverage-lines strong {
  color: var(--navy);
  text-transform: uppercase;
}

.coverage-lines span {
  color: #315071;
  margin-top: 6px;
}

.contact-panel {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  padding: 34px;
}

.contact-panel__intro {
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 20px;
  width: 100%;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.contact-fields .field-group {
  min-width: 0;
}

.field-group {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.hidden {
  display: none;
}

.bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label,
legend {
  color: #334055;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfccd6;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(35, 107, 99, .14);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(162, 52, 52, .14);
}

.checkbox-grid.is-invalid,
.consent.is-invalid {
  border: 1px solid var(--error);
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(162, 52, 52, .14);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-grid label,
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 12px;
  font-weight: 600;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  color: var(--error);
  font-size: .9rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 22px;
  transition: background .15s ease, transform .15s ease;
}

button:hover {
  background: var(--accent-dark);
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  background: #8da19e;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 22px, 620px);
    padding: 18px 0;
  }

  .hero,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
    min-height: auto;
    padding: 10px 0 28px;
  }

  .carrier-grid,
  .coverage-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-panel {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .field-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.25rem;
  }

  .form-actions {
    align-items: stretch;
  }

  .site-header,
  .trust-list,
  .coverage-icons,
  .carrier-grid,
  .coverage-lines {
    grid-template-columns: 1fr;
  }

  .brand-card__tagline {
    white-space: normal;
  }

  .trust-list li {
    white-space: normal;
  }

  .site-header {
    display: grid;
  }

  .brand-card {
    padding: 24px;
  }

  .brand-card::after {
    display: none;
  }

  .coverage-icons span,
  .carrier-grid span {
    border-right: 0;
  }

  button {
    width: 100%;
  }
}
