:root {
  --brand: #377789;
  --brand-dark: #245969;
  --brand-soft: #dcebed;
  --brand-pale: #edf5f6;
  --charcoal: #424243;
  --ink: #20292d;
  --muted: #66757c;
  --line: #d9e1e3;
  --surface: #ffffff;
  --page: #f5f8f8;
  --shadow: 0 18px 50px rgba(32, 41, 45, 0.09);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(66, 66, 67, 0.11);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  width: min(260px, 52vw);
  height: auto;
}

.site-header__label {
  padding: 8px 13px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border: 1px solid rgba(55, 119, 137, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(118deg, rgba(31, 75, 89, 0.98), rgba(55, 119, 137, 0.92)),
    var(--brand-dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.13);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 260px;
  display: grid;
  align-content: center;
  padding-block: 32px 12px;
}

.hero__glow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.hero__glow--one {
  width: 440px;
  height: 440px;
  right: -110px;
  top: -210px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.hero__glow--two {
  width: 170px;
  height: 170px;
  right: 24%;
  bottom: -110px;
  background: rgba(255, 255, 255, 0.035);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--brand);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.3vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.26rem);
}

.state-section {
  padding-block: clamp(14px, 9vw, 28px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading__note {
  max-width: 320px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.state-card {
  position: relative;
  min-height: 264px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 24px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 0 rgba(32, 41, 45, 0.015);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.state-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  background: var(--brand);
  border-radius: 0 0 8px 8px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.state-card--wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr);
  grid-template-rows: 1fr;
  align-items: center;
}

.state-card--wide .state-card__icon {
  grid-column: 1;
  grid-row: 1;
}

.state-card--wide .state-card__content {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding-bottom: 12px;
}

.state-card__icon {
  min-height: 136px;
  display: grid;
  place-items: center;
  padding: 4px 10px 14px;
}

.state-shape {
  width: 100%;
  max-width: 212px;
  height: 142px;
  overflow: visible;
  color: var(--brand);
}

.state-shape path {
  fill: var(--brand-soft);
  fill-rule: evenodd;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 220ms ease, stroke 220ms ease, transform 220ms ease;
  transform-origin: center;
}

.state-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding-right: 48px;
}

.state-card__name {
  color: var(--charcoal);
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -0.018em;
}

.state-card__action {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
}

.state-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-pale);
  border-radius: 50%;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.state-card__arrow svg {
  width: 18px;
  height: 18px;
}

.state-card:hover,
.state-card:focus-visible {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(55, 119, 137, 0.55);
  box-shadow: var(--shadow);
}

.state-card:hover::before,
.state-card:focus-visible::before {
  transform: scaleX(1);
}

.state-card:hover .state-shape path,
.state-card:focus-visible .state-shape path {
  fill: var(--brand);
  stroke: var(--brand-dark);
  transform: scale(1.025);
}

.state-card:hover .state-card__arrow,
.state-card:focus-visible .state-card__arrow {
  color: #fff;
  background: var(--brand);
  transform: translateX(3px);
}

.state-card:focus-visible {
  outline: 3px solid rgba(55, 119, 137, 0.24);
  outline-offset: 4px;
}

.site-footer {
  color: #fff;
  background: var(--charcoal);
}

.site-footer__inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.site-footer__mark {
  width: 170px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

@media (max-width: 980px) {
  .state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 690px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header__inner {
    min-height: 82px;
  }

  .site-header__label {
    display: none;
  }

  .site-logo {
    width: 218px;
  }

  .hero__inner {
    min-height: 330px;
    padding-block: 60px 70px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading__note {
    margin-top: 14px;
  }

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

  .state-card,
  .state-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 244px;
  }

  .state-card--wide .state-card__icon,
  .state-card--wide .state-card__content {
    grid-column: 1;
  }

  .state-card--wide .state-card__icon {
    grid-row: 1;
  }

  .state-card--wide .state-card__content {
    grid-row: 2;
    padding-bottom: 0;
  }

  .state-card__icon {
    min-height: 128px;
  }

  .site-footer__inner {
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

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