:root {
  --blue-900: #053c50;
  --blue-800: #07536d;
  --blue-600: #0794bd;
  --blue-500: #08a6d5;
  --green-500: #b7d331;
  --green-600: #94ba20;
  --ink: #1d2730;
  --muted: #677480;
  --line: #dfe8ed;
  --surface: #ffffff;
  --soft: #f4f8fa;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(4, 39, 54, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Aptos, Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: linear-gradient(179deg, #003951 0%, #008abb 100%) !important;
  /* background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.18) 75%, transparent 75%, transparent),
    url(data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjE5KSIgaGVpZ2h0PSI2NHB4IiB3aWR0aD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zMiwwLDAsMzJWMFptMCw2NEw2NCwzMlYwTDAsNjRaIi8+PC9zdmc+); */
  /* background-size: 44px 44px, 64px 64px; */
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  background: var(--surface);
  border-top: 8px solid var(--green-500);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  display: block;
  width: 174px;
  height: auto;
}

.site-header__title {
  justify-self: center;
  margin: 0;
  color: var(--blue-800);
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.site-link,
.link-button {
  border: 0;
  background: transparent;
  color: var(--blue-800);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.site-link {
  justify-self: end;
  padding: 10px 0;
}

.site-link:hover,
.link-button:hover {
  color: var(--blue-500);
}

.coverage-page {
  min-height: 680px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjE5KSIgaGVpZ2h0PSI2NHB4IiB3aWR0aD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zMiwwLDAsMzJWMFptMCw2NEw2NCwzMlYwTDAsNjRaIi8+PC9zdmc+);
}

.coverage-hero {
  padding: 36px 0 72px;
}

.coverage-hero__inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.coverage-titlebar {
  color: #fff;
  text-align: center;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.coverage-kicker,
.step-eyebrow,
.result-kicker,
.offer-provider {
  margin: 0 0 4px;
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coverage-titlebar h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
}

.coverage-tool {
  overflow: visible;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.audience-step,
.search-step,
.result-step {
  padding: 28px;
}

.audience-step {
  display: block;
}

.audience-step h2,
.search-step h2,
.result-summary h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.audience-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.audience-button,
.primary-button {
  min-height: 46px;
  border: 1px solid var(--blue-600);
  border-radius: 6px;
  background: var(--surface);
  color: var(--blue-800);
  font-weight: 800;
  cursor: pointer;
}

.audience-button {
  position: relative;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f5fbfd);
  box-shadow: 0 10px 24px rgba(7, 83, 109, 0.08);
  line-height: 1.22;
  text-align: left;
  white-space: normal;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.audience-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.audience-button__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 148, 189, 0.3);
  border-radius: 50%;
  background: #eaf8fc;
  color: var(--blue-800);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.audience-button__icon svg {
  width: 27px;
  height: 27px;
}

.audience-button__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-button__text {
  display: block;
  min-width: 0;
}

.audience-button:hover,
.audience-button.is-selected {
  border-color: var(--green-600);
  background: linear-gradient(180deg, #ffffff, #eef9fb);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 83, 109, 0.16);
  transform: translateY(-2px);
}

.audience-button:hover {
  color: var(--blue-800);
}

.audience-button:hover::after,
.audience-button.is-selected::after {
  opacity: 1;
}

.audience-button:hover .audience-button__icon,
.audience-button.is-selected .audience-button__icon {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
  transform: scale(1.03);
}

.audience-button.is-selected {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.primary-button {
  min-width: 210px;
  padding: 0 24px;
  background: var(--blue-600);
  color: #fff;
}

.primary-button:hover {
  background: var(--blue-800);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.step-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.coverage-form {
  width: 100%;
}

.search-step.is-locked .coverage-form {
  opacity: 0.72;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.45fr) minmax(130px, 0.45fr);
  gap: 16px;
  align-items: end;
}

.field-grid.has-cap {
  grid-template-columns: minmax(230px, 1.15fr) minmax(110px, 0.42fr) minmax(330px, 1.42fr) minmax(110px, 0.42fr);
}

.field-block {
  min-width: 0;
  display: block;
}

.field-block > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.is-hidden {
  display: none !important;
}

fieldset.selectv2 {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset.selectv2 input:not(.selectv2inputval) {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid #b9c8d0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

fieldset.selectv2 input:not(.selectv2inputval):focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(8, 166, 213, 0.16);
}

fieldset.selectv2 .frselect {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--blue-600);
  pointer-events: none;
}

fieldset.selectv2 .frselect::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.25' fill='none' stroke='%230794bd' stroke-width='1.7'/%3E%3Cpath d='M8 10l4 4 4-4' fill='none' stroke='%230794bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

fieldset.selectv2 .frselect.is-selected {
  color: var(--green-600);
}

fieldset.selectv2 .frselect.is-selected::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.25' fill='none' stroke='%2394ba20' stroke-width='1.7'/%3E%3Cpath d='M7.8 12.2l2.8 2.8 5.6-6' fill='none' stroke='%2394ba20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

fieldset.selectv2 .frselect.is-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(7, 148, 189, 0.26);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  vertical-align: middle;
}

ul.selectv2box {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 38, 50, 0.18);
}

ul.selectv2box a,
ul.selectv2box span {
  display: block;
}

ul.selectv2box a {
  padding: 10px 11px;
  border-radius: 5px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

ul.selectv2box a:hover,
ul.selectv2box a.is-selected,
ul.selectv2box a[selected] {
  background: #eaf8fc;
  color: var(--blue-800);
}

ul.selectv2box a small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

ul.selectv2box span {
  padding: 10px 11px 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-step {
  background: #fff;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.result-heading {
  margin-bottom: 18px;
}

.result-heading h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.result-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.result-address {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.technology-list span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7da;
  color: #425610;
  font-size: 0.86rem;
  font-weight: 800;
}

.result-map-card {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.result-map {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft);
}

.result-map-loading,
.result-map-link {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.result-map-link {
  color: var(--blue-800);
  text-decoration: none;
}

.result-map-note {
  margin: 9px 2px 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.offers-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--blue-500);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 148, 189, 0.15);
}

.offer-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
}

.offer-card__side {
  min-width: 150px;
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
}

.offer-speed {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 9px solid var(--blue-600);
  border-radius: 50%;
  color: var(--ink);
  text-align: center;
}

.offer-speed strong {
  display: block;
  font-size: 1.18rem;
}

.offer-speed span {
  display: block;
  margin-top: -22px;
  font-size: 0.75rem;
  font-weight: 700;
}

.offer-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.offer-cta:hover {
  background: var(--blue-800);
}

.notice-card,
.loading-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.loading-card {
  display: grid;
  gap: 12px;
}

.loading-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5f2f7;
}

.loading-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(8, 166, 213, 0), var(--blue-500), rgba(183, 211, 49, 0.95), rgba(8, 166, 213, 0));
  animation: loading-pulse 1.15s ease-in-out infinite;
}

.notice-card.is-warning {
  border-color: #f6c96f;
  background: #fff9e9;
  color: #805b00;
}

.notice-card.is-error {
  border-color: #ffd3ce;
  background: #fff4f2;
  color: var(--danger);
}

.result-reset {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
}

.result-reset__icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.result-reset__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  background: #8f8f8f;
  color: #f5f5f5;
}

.site-footer__inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.site-footer p {
  margin: 0 0 14px;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.75rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 16px;
  padding: 20px 16px;
  background: #777;
  font-size: 0.86rem;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading-pulse {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(280%);
  }
}

@media (max-width: 860px) {
  .coverage-hero {
    padding: 28px 0 48px;
  }

  .audience-step,
  .search-step,
  .result-step {
    padding: 20px;
  }

  .audience-step,
  .field-grid,
  .offer-card,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .field-grid.has-cap {
    grid-template-columns: 1fr;
  }

  .audience-toggle {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .primary-button {
    width: 100%;
  }

  .offer-card__side {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 16px;
    padding-bottom: 10px;
  }

  .site-header__title {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
  }

  .site-link {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    min-height: 70px;
  }

  .site-logo img {
    width: 128px;
  }

  .site-header__title {
    font-size: 1rem;
  }

  .site-link {
    font-size: 0.9rem;
  }

  .coverage-titlebar h1 {
    font-size: 1.65rem;
  }

  .audience-toggle {
    grid-template-columns: 1fr;
  }

  .step-heading {
    display: block;
  }

  .step-heading .link-button {
    margin-top: 10px;
  }
}
