:root {
  --bg: #020617;
  --bg-light: #0f172a;
  --bg-tint: #1e293b;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.4);
  --blue: #2563eb;
  --blue-hover: #3b82f6;
  --blue-text: #93c5fd;
  --blue-strong: #60a5fa;
  --container: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: var(--text);
}

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

.btn--sm {
  padding: 0.5rem 1.25rem;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.header__logo img {
  height: 2rem;
  width: auto;
}

.header__desktop {
  display: none;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 1.125rem;
}

.header__nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.header__nav a:not(.btn):hover {
  color: var(--blue-text);
}

.header__more {
  display: none;
  position: relative;
}

.header__more summary,
.header__menu summary {
  list-style: none;
  cursor: pointer;
}

.header__more summary::-webkit-details-marker,
.header__menu summary::-webkit-details-marker {
  display: none;
}

.header__more summary {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.header__more summary:hover {
  color: var(--blue-text);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 14rem;
  padding: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.header__menu {
  position: static;
}

.header__menu-toggle {
  display: block;
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.mobile-nav hr {
  margin: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 0.5rem;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.25), transparent 75%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 0.5rem;
}

.hero__logo {
  height: 7.5rem;
  margin: 0 auto 1rem;
  width: auto;
}

.hero h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.hero__lead {
  margin: 1rem 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.features {
  display: grid;
  gap: 1rem;
  max-width: 36.25rem;
}

.feature {
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.feature__title {
  font-size: 1.5rem;
  font-weight: 600;
}

.feature__text {
  margin-top: 0.25rem;
  font-size: 1rem;
  color: var(--text-dim);
}

.hero__note {
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.8);
}

.services {
  padding: 1.5rem;
  background: var(--bg-light);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 1.5rem;
}

.services__label {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.service {
  padding: 1rem;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 1rem;
}

.service + .service {
  margin-top: 1rem;
}

.service__name {
  font-size: 1rem;
  color: var(--text-dim);
}

.service__desc {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.section {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 4.5rem;
}

.section--tinted {
  background: rgba(30, 41, 59, 0.6);
}

.section--darker {
  background: rgba(15, 23, 42, 0.7);
}

.section__heading h2 {
  margin: 0.75rem 0 0;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.section__lead {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.section__note {
  margin: 0.75rem 0 0;
  color: var(--text-dim);
}

.eyebrow {
  font-size: 1.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.plans {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 22.5rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan:hover {
  transform: scale(1.04);
  box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.plan__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.plan__price {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue-strong);
}

.plan__desc {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.plan__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.broadband-label {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.broadband-label__header {
  border-bottom: 6px solid #000000;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.broadband-label__header h2 {
  margin: 0 0 0.1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  border-bottom: 1px solid #000000;
}

.broadband-label__header p {
  margin: 0.1rem 0 0;
  color: #000000;
}

.broadband-label__provider {
  font-size: 0.85rem;
  font-weight: 700;
}

.broadband-label__plan {
  font-size: 0.8rem;
  font-weight: 700;
}

.broadband-label__type {
  font-size: 0.7rem;
}

.broadband-label__section {
  border-bottom: 1px solid #000000;
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

.broadband-label__section-title {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.broadband-label__item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.1rem 0 0;
  padding-left: 0.5rem;
}

.broadband-label__value {
  font-weight: 700;
  text-align: right;
}

.broadband-label__section p {
  margin: 0.2rem 0 0;
  color: #000000;
}

.broadband-label a {
  color: #007bff;
  text-decoration: underline;
}

.broadband-label__footer {
  font-size: 0.7rem;
}

.broadband-label__footer p {
  margin: 0.1rem 0 0;
  color: #000000;
}

.plan .broadband-label {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal__content {
  position: relative;
  width: min(90%, 420px);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000000;
  cursor: pointer;
}

.modal__body .broadband-label {
  margin-top: 0;
}

.plans__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.coverage__map {
  display: block;
  margin-top: 1.5rem;
}

.coverage__towns {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.contact__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-faint);
}

.contact__form textarea {
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
}

.contact__info h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact__info-lead {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.contact__value {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.contact__value a {
  text-decoration: none;
  word-break: break-all;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
  text-align: center;
}

.footer__brand img {
  height: 3rem;
  margin-inline: auto;
  width: auto;
}

.footer__brand p {
  max-width: 28rem;
  margin: 1rem auto 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer__col h4 {
  margin: 0;
  font-weight: 600;
}

.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--blue-text);
}

.footer__bottom {
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.footer__bottom-inner p {
  margin: 0;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .hero__card {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 768px) {
  .header__logo img {
    height: 3rem;
  }

  .header__nav {
    display: flex;
  }

  .header__more {
    display: block;
  }

  .header__menu {
    display: none;
  }

  .header__desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .hero {
    padding-block: 0.5rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 0.5rem;
  }

  .hero__card {
    align-self: start;
  }

  .hero__logo {
    height: 12rem;
  }

  .hero h1 {
    max-width: 36rem;
    font-size: 2.8125rem;
  }

  .hero__lead {
    margin-block: 1.5rem;
    font-size: 1.125rem;
  }

  .features {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .section {
    padding-block: 2.5rem;
  }

  .section__heading h2 {
    font-size: 1.5rem;
  }

  .eyebrow {
    font-size: 1.875rem;
  }

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

  .contact__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    text-align: left;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__brand img {
    margin-inline: 0;
  }

  .footer__brand p {
    margin-inline: 0;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
