:root {
  --page-bg: #eff6ff;
  --ink: #071a35;
  --muted: #4a5f7c;
  --blue: #0f5bd8;
  --deep-blue: #073178;
  --green: #7ac943;
  --line: rgba(15, 91, 216, .2);
  --shadow: rgba(7, 26, 53, .16);
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(100% - 36px, 1320px);
  margin: 0 auto;
  padding: 14px 18px;
  border: 3px solid var(--blue);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(7, 26, 53, .09);
  backdrop-filter: blur(10px);
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px 8px;
  align-items: end;
  min-width: 214px;
}

.brand-script {
  color: var(--blue);
  font-family: "Comic Sans MS", "Trebuchet MS", Arial, sans-serif;
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 700;
  line-height: .9;
}

.brand-mark {
  align-self: center;
  padding: 5px 9px;
  transform: rotate(2deg);
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-line {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.primary-nav,
.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-nav {
  justify-content: center;
  flex-wrap: wrap;
  color: #243b60;
  font-size: .9rem;
  font-weight: 800;
}

.primary-nav a {
  position: relative;
  padding: 9px 7px;
  transition: color .18s ease;
}

.primary-nav a::after {
  position: absolute;
  right: 7px;
  bottom: 3px;
  left: 7px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transition: transform .18s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  justify-content: flex-end;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid var(--blue);
  border-radius: 7px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
}

.button.solid {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(15, 91, 216, .2);
}

.button.ghost {
  background: var(--white);
  color: var(--deep-blue);
}

.button.large {
  min-height: 50px;
  padding-inline: 24px;
}

.button.green {
  border-color: var(--green);
  background: var(--green);
  color: #14330b;
}

.light-button {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.solid:hover,
.button.solid:focus-visible {
  border-color: #0a46b0;
  background: #0a46b0;
  box-shadow: 0 16px 30px rgba(15, 91, 216, .28);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: #eef5ff;
  box-shadow: 0 12px 22px rgba(15, 91, 216, .14);
}

.button.green:hover,
.button.green:focus-visible {
  border-color: #8cde51;
  background: #8cde51;
  box-shadow: 0 16px 30px rgba(122, 201, 67, .24);
}

.light-button:hover,
.light-button:focus-visible {
  border-color: rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(122, 201, 67, .75);
  outline-offset: 3px;
}

.hero,
.quote-panel,
.carrier-strip,
.feature-grid,
.why-band,
.workflow-band,
.about-band,
.contact-band {
  width: min(100% - 36px, 1024px);
  margin: 0 auto;
}

.hero,
.quote-panel,
.carrier-strip,
.feature-grid,
.why-band,
.workflow-band,
.about-band,
.contact-band {
  width: min(100% - 36px, 1320px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(420px, 1.05fr);
  gap: 20px;
  min-height: 600px;
  margin-top: 18px;
  overflow: hidden;
  border: 3px solid var(--blue);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(105deg, #fff 0%, #fff 44%, rgba(255, 255, 255, .6) 58%, rgba(255, 255, 255, .12) 100%);
  box-shadow: 0 24px 70px var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 54px) 0 clamp(26px, 5vw, 54px) clamp(28px, 5vw, 52px);
}

.badge,
.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 7px;
  background: #dceaff;
  color: var(--deep-blue);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 510px;
  margin: 0;
  color: var(--deep-blue);
  font-family: "Comic Sans MS", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-style: italic;
  line-height: .96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 420px;
  margin: 26px 0 0;
  color: #203a60;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 26px;
}

.quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.quick-points li {
  display: grid;
  grid-template-columns: 58px auto;
  gap: 13px;
  align-items: center;
  min-width: 170px;
  color: var(--deep-blue);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.quick-points svg {
  width: 56px;
  height: 44px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.3;
}

.hero-art {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero-art img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.hero-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .26) 26%, rgba(255, 255, 255, 0) 58%);
  content: "";
}

.quote-panel {
  padding: clamp(20px, 2vw, 24px);
  border-inline: 3px solid var(--blue);
  background: var(--deep-blue);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
}

.section-heading.light {
  color: var(--white);
}

.section-heading.light .eyebrow {
  border: 2px solid rgba(122, 201, 67, .9);
  background: rgba(255, 255, 255, .96);
  color: var(--deep-blue);
  box-shadow: 0 10px 22px rgba(7, 26, 53, .18);
}

.section-heading .eyebrow,
.about-band .eyebrow,
.contact-band .eyebrow {
  margin-bottom: 12px;
}

.contact-band .section-heading.light .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  box-shadow: none;
  letter-spacing: .08em;
}

.section-heading h2,
.about-band h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.about-band p,
.contact-band p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.section-heading.light p,
.contact-band p {
  color: rgba(255, 255, 255, .82);
}

.quote-frame {
  overflow: hidden;
  min-height: 720px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: #eff6ff;
}

.quote-frame iframe {
  display: block;
  width: 100%;
  min-width: 1180px;
  min-height: 720px;
  border: 0;
}

.carrier-strip {
  padding: 28px 34px 30px;
  border: 3px solid var(--blue);
  border-top: 0;
  background: var(--white);
}

.carrier-card {
  max-width: 1260px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(15, 91, 216, .18);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(7, 26, 53, .08);
  transition: box-shadow .18s ease, transform .18s ease;
}

.carrier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(7, 26, 53, .12);
}

.carrier-card p {
  margin: 0 0 20px;
  color: var(--deep-blue);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.carrier-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  align-items: stretch;
}

.carrier-list span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 12px 10px;
  border: 1px solid rgba(15, 91, 216, .18);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  color: var(--deep-blue);
  font-size: clamp(.82rem, 1vw, .98rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.carrier-list img {
  display: block;
  width: 100%;
  max-width: 118px;
  max-height: 46px;
  object-fit: contain;
}

.carrier-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 201, 67, .75);
  box-shadow: 0 12px 24px rgba(7, 26, 53, .08);
}

.carrier-list .more-carriers {
  border-color: rgba(122, 201, 67, .55);
  background: #f5ffef;
  color: #24520f;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 48px 34px;
  border-inline: 3px solid var(--blue);
  background: var(--white);
}

.feature-grid .section-heading,
.why-band .section-heading {
  grid-column: 1 / -1;
}

.feature-card,
.capability-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 8px 20px rgba(7, 26, 53, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.feature-card:hover,
.capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 91, 216, .32);
  box-shadow: 0 18px 34px rgba(7, 26, 53, .1);
}

.feature-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.why-band {
  padding: 54px 34px;
  border-inline: 3px solid var(--blue);
  background: #f8fbff;
}

.faq-band {
  padding: 54px 34px;
  border-inline: 3px solid var(--blue);
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.faq-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 8px 20px rgba(7, 26, 53, .04);
}

.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.capability-card {
  display: grid;
  gap: 12px;
  min-height: 218px;
  background: var(--white);
}

.mini-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(15, 91, 216, .22);
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.capability-card:hover .mini-icon {
  border-color: rgba(122, 201, 67, .75);
  background: #f2ffe9;
  color: var(--deep-blue);
}

.capability-card h3 {
  margin: 0;
  color: var(--deep-blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
  padding: 46px 34px;
  border-inline: 3px solid var(--blue);
  background: var(--deep-blue);
  color: var(--white);
}

.workflow-copy .eyebrow {
  background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .88);
}

.workflow-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.workflow-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.workflow-steps article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.workflow-steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-steps p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  line-height: 1.48;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  padding: 52px 34px;
  border-inline: 3px solid var(--blue);
  background: #f8fbff;
}

.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stats-panel div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(7, 26, 53, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stats-panel div:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 91, 216, .3);
  box-shadow: 0 18px 34px rgba(7, 26, 53, .1);
}

.stats-panel strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
}

.stats-panel span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.contact-band {
  display: grid;
  gap: 24px;
  padding: 42px 34px;
  border: 3px solid var(--blue);
  border-radius: 0 0 18px 18px;
  background: var(--deep-blue);
  color: var(--white);
  margin-bottom: 34px;
}

.contact-actions {
  flex-wrap: wrap;
}

.contact-modal {
  width: min(92vw, 680px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
}

.contact-modal::backdrop {
  background: rgba(7, 26, 53, .56);
}

.contact-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 3px solid var(--blue);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 26, 53, .28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--deep-blue);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: rotate(90deg);
  border-color: var(--blue);
  background: #eef5ff;
  color: var(--blue);
}

.modal-eyebrow {
  margin: 0;
}

.contact-card h2 {
  margin: 0;
  padding-right: 42px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 7px;
  color: var(--deep-blue);
  font-size: .88rem;
  font-weight: 900;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 2px solid #c8d8f3;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.contact-card textarea {
  resize: vertical;
}

.website-field {
  position: absolute;
  left: -9999px;
}

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

.modal-email {
  color: var(--blue);
  font-weight: 900;
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--deep-blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .primary-nav,
  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 34px 28px 0;
  }

  .hero-art {
    min-height: 360px;
  }

  .carrier-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-grid,
  .capability-grid,
  .faq-grid,
  .workflow-band,
  .about-band {
    grid-template-columns: 1fr;
  }

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

  .stats-panel {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .quote-panel,
    .carrier-strip,
    .feature-grid,
    .why-band,
    .faq-band,
    .workflow-band,
    .about-band,
    .contact-band {
    width: 100%;
    border-inline: 0;
    border-radius: 0;
  }

  .site-header {
    position: static;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-script {
    font-size: 1.9rem;
  }

  .brand-line {
    font-size: .78rem;
  }

  .primary-nav {
    justify-content: flex-start;
    gap: 6px 14px;
    font-size: .84rem;
  }

  .primary-nav a {
    padding: 4px 0;
  }

  .header-actions {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero {
    margin-top: 0;
    border-top: 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.6rem);
  }

  .hero-art {
    min-height: 280px;
  }

  .quote-panel,
  .carrier-strip,
  .feature-grid,
  .why-band,
  .faq-band,
  .workflow-band,
  .about-band,
  .contact-band {
    padding-inline: 18px;
  }

  .quote-frame,
  .quote-frame iframe {
    min-height: 820px;
  }

  .capability-grid,
  .faq-grid,
  .carrier-list,
  .workflow-steps,
  .stats-panel {
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .button:hover,
  .button:focus-visible,
  .carrier-card:hover,
  .carrier-list span:hover,
  .feature-card:hover,
  .capability-card:hover,
  .stats-panel div:hover,
  .modal-close:hover,
  .modal-close:focus-visible {
    transform: none;
  }
}
