:root {
  --teal: #087f7d;
  --aqua: #20c9c2;
  --ink: #10213a;
  --muted: #687886;
  --page-bg: #eef9fc;
  --line: #d7e6e9;
  --shadow: 0 25px 60px rgba(10, 65, 80, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(32, 201, 194, 0.4);
  outline-offset: 3px;
}


/* HERO */

.site-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: white;

  background:
    radial-gradient(
      circle at 82% 25%,
      rgba(40, 208, 201, 0.42),
      transparent 22%
    ),
    radial-gradient(
      circle at 10% 75%,
      rgba(18, 139, 137, 0.55),
      transparent 29%
    ),
    linear-gradient(
      135deg,
      #061d2c,
      #0b3040 50%,
      #086469
    );
}

.site-hero::after {
  content: "";

  position: absolute;
  right: -8%;
  bottom: -110px;
  left: -8%;

  height: 175px;

  border-radius: 50% 50% 0 0;
  background: var(--page-bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2, 19, 32, 0.72),
      transparent 75%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;

  width: min(100% - 32px, 760px);
  margin: auto;
  padding-top: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;

  color: white;

  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -2px;
  text-decoration: none;
}

.brand strong {
  color: var(--aqua);
}

.brand-mark {
  width: 49px;
  height: 43px;
}

.brand-mark svg {
  width: 49px;
  height: 43px;

  fill: none;
  stroke: var(--aqua);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 9px 13px;

  border: 1px solid rgba(32, 201, 194, 0.65);
  border-radius: 999px;

  background: rgba(0, 30, 40, 0.34);

  font-size: 11px;
  white-space: nowrap;
}

.secure-badge span {
  color: var(--aqua);
  font-size: 16px;
}

.hero-tagline {
  margin: 35px 0 34px 66px;

  color: #eaffff;
  font-size: clamp(17px, 3vw, 24px);
}

.site-hero h1 {
  margin: 0 0 13px 66px;

  font-size: clamp(39px, 7vw, 61px);
  letter-spacing: -3px;
  line-height: 1;
}

.hero-description {
  margin: 0 0 0 66px;

  color: rgba(255, 255, 255, 0.9);

  font-size: clamp(16px, 2.8vw, 22px);
  line-height: 1.4;
}


/* MAIN CARD */

.page-content {
  position: relative;
  z-index: 3;

  width: min(100% - 18px, 760px);
  margin: -94px auto 0;
}

.content-card {
  padding: 29px 32px 27px;

  border: 1px solid #d3e5e8;
  border-radius: 29px;

  background: white;
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 17px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 7px;

  color: #778794;

  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 37px);
}

.heading-rule {
  display: block;

  width: 61px;
  height: 4px;
  margin: auto;

  border-radius: 99px;
  background: var(--teal);
}


/* PURCHASE GUIDE */

.purchase-guide {
  padding: 17px 22px;
  border-radius: 18px;
  background: #f6f8fb;
}

.purchase-guide h3 {
  margin: 0 0 7px;

  color: #17615f;
  font-size: 21px;
}

.purchase-guide ol {
  margin: 0;
  padding-left: 23px;

  font-size: 15px;
  line-height: 1.62;
}

.customer-care {
  margin: 12px 0 0;

  color: #17615f;

  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.customer-care a {
  color: inherit;
  text-decoration: none;
}


/* WIFI PACKAGES */

.package-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.package-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 10px;

  width: 100%;
  padding: 8px;

  border: 2px solid transparent;
  border-radius: 17px;

  color: var(--ink);
  text-align: left;

  transition: 0.18s ease;
}

.package-card:hover,
.package-card[aria-pressed="true"] {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.package-card--mint {
  background: #e9faf6;
}

.package-card--blue {
  background: #edf7ff;
}

.package-card--yellow {
  background: #fff8e8;
}

.package-card--purple {
  background: #f6efff;
}

.package-card--pink {
  background: #fff0f4;
}

.package-icon {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  color: var(--teal);
  background: rgba(255, 255, 255, 0.65);

  font-size: 26px;
}

.package-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.package-copy strong {
  font-size: 20px;
}

.package-copy small {
  overflow: hidden;

  color: var(--muted);

  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package-price {
  padding: 9px 16px;

  border-radius: 999px;

  color: #145c5d;
  background: rgba(255, 255, 255, 0.58);

  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
}

.package-arrow {
  color: #536070;
  font-size: 27px;
}


/* PAYMENT BUTTONS */

.selection-message {
  min-height: 18px;
  margin: 14px 0 8px;

  color: var(--muted);

  font-size: 12px;
  text-align: center;
}

.wifi-payment-fields {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 14px;
}

.primary-button,
.tv-pay-button,
.recovery-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 55px;

  border: 0;
  border-radius: 15px;

  color: white;

  font-size: 17px;
  font-weight: bold;

  transition: 0.18s ease;
}

.primary-button:disabled,
.tv-pay-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.primary-button {
  background: linear-gradient(135deg, #087f7d, #09615f);
}

.primary-button .button-arrow {
  margin-left: auto;
  font-size: 24px;
}

.primary-button:hover,
.tv-pay-button:hover,
.recovery-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.payment-note {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 13px 0 17px;

  color: #6c7985;

  font-size: 12px;
  text-align: center;
}

.payment-note span:first-child,
.payment-note span:last-child {
  height: 1px;
  flex: 1;
  background: #d0d9dc;
}

.payment-note b {
  color: var(--teal);
}


/* TV BUTTON */

.tv-launcher {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 11px;

  width: 100%;
  min-height: 70px;
  padding: 10px 15px;

  border: 2px solid #147e7c;
  border-radius: 17px;

  color: #105b59;
  background: #f0fffe;

  text-align: left;
}

.tv-launcher:hover {
  background: #e5fbf9;
}

.tv-launcher-icon,
.tv-panel-icon {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  border-radius: 14px;

  color: var(--teal);
  background: #d8f5f1;

  font-size: 15px;
  font-weight: bold;
}

.tv-launcher-copy {
  display: grid;
  gap: 3px;
}

.tv-launcher-copy strong {
  font-size: 18px;
}

.tv-launcher-copy small {
  color: #668080;
  font-size: 12px;
}

.tv-launcher-arrow {
  font-size: 27px;
  text-align: right;
}


/* TV PANEL */

.tv-panel[hidden],
.recovery-panel[hidden] {
  display: none;
}

.tv-panel {
  margin-top: 18px;
  padding: 23px;

  border: 1px solid #cce6e4;
  border-radius: 21px;

  background: linear-gradient(145deg, #fff, #f1fbfb);
}

.tv-panel-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 13px;
}

.panel-kicker {
  margin: 0 0 4px;

  color: #718090;

  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}

.tv-panel-header h2 {
  margin: 0;
  font-size: 28px;
}

.panel-close {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 50%;

  color: #567277;
  background: #eaf5f5;

  font-size: 25px;
}

.tv-panel-intro {
  margin: 16px 0;

  color: #536474;

  font-size: 14px;
  line-height: 1.5;
}

.tv-help-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;

  padding: 16px;

  border-left: 4px solid #20b5ab;
  border-radius: 14px;

  color: #365566;
  background: #e7f7f5;

  font-size: 13px;
  line-height: 1.5;
}

.help-icon {
  display: grid;
  place-items: center;

  width: 31px;
  height: 31px;

  border: 2px solid #0b8984;
  border-radius: 50%;

  color: #0b8984;

  font-size: 18px;
  font-weight: bold;
}

.tv-help-card h3 {
  margin: 0;

  color: #0d706b;
  font-size: 17px;
}

.tv-help-card p {
  margin: 4px 0 6px;
}

.tv-help-card ol {
  margin: 0;
  padding-left: 20px;
}


/* FORMS */

.tv-payment-form {
  margin-top: 19px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label,
.tv-plan-list legend {
  color: #354c5c;

  font-size: 12px;
  font-weight: bold;
}

.field-group label span {
  color: #7e8c96;
  font-weight: normal;
}

.field-group input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;

  border: 1px solid #c6d8dc;
  border-radius: 11px;
  outline: none;

  color: var(--ink);
  background: white;

  font-size: 14px;
}

.field-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 125, 0.13);
}


/* TV PLAN ROWS */

.tv-plan-list {
  display: grid;
  gap: 9px;

  width: 100%;
  margin: 17px 0 8px;
  padding: 0;

  border: 0;
}

.tv-plan-list legend {
  width: 100%;
  margin-bottom: 3px;
}

.tv-plan-option {
  position: relative;

  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;

  width: 100%;
  min-height: 58px;
  padding: 9px 12px;

  border: 2px solid transparent;
  border-radius: 13px;

  cursor: pointer;
  overflow: hidden;
}

.tv-plan-option--mint {
  background: #e9faf6;
}

.tv-plan-option--blue {
  background: #edf7ff;
}

.tv-plan-option--yellow {
  background: #fff8e8;
}

.tv-plan-option--purple {
  background: #f6efff;
}

.tv-plan-option--pink {
  background: #fff0f4;
}

.tv-plan-option > input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}

.tv-plan-option > .plan-dot {
  display: block;

  width: 11px;
  height: 11px;

  border: 2px solid #719095;
  border-radius: 50%;

  background: white;
}

.tv-plan-option:has(input:checked) {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(8, 127, 125, 0.1);
}

.tv-plan-option:has(input:checked) .plan-dot {
  border: 3px solid white;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.tv-plan-option > .plan-copy {
  display: grid;
  gap: 3px;

  min-width: 0;
  overflow: hidden;
}

.tv-plan-option > .plan-copy strong {
  overflow: hidden;

  color: #203b4b;

  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-plan-option > .plan-copy small {
  overflow: hidden;

  color: #71818b;

  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-plan-option > b {
  display: block;

  min-width: 78px;
  padding: 8px 10px;

  border-radius: 999px;

  color: #0c7470;
  background: rgba(255, 255, 255, 0.65);

  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.tv-pay-button {
  background: #117f7d;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;

  color: #0c706d;

  font-size: 12px;
  font-weight: bold;
  text-align: center;
}


/* RECEIPT RECOVERY */

.recovery-section {
  margin-top: 20px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.recovery-launcher {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;

  width: 100%;
  min-height: 62px;
  padding: 9px 13px;

  border: 1px solid #c3dade;
  border-radius: 15px;

  color: #185e61;
  background: #f4fbfb;

  text-align: left;
}

.recovery-launcher:hover {
  background: #e9f8f7;
}

.recovery-icon {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  color: white;
  background: var(--teal);

  font-size: 22px;
}

.recovery-launcher > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.recovery-launcher strong {
  font-size: 15px;
}

.recovery-launcher small {
  color: #668080;
  font-size: 11px;
}

.recovery-panel {
  margin-top: 12px;
  padding: 18px;

  border: 1px solid #d4e4e7;
  border-radius: 16px;

  background: #f8fcfc;
}

.recovery-panel h2 {
  margin: 0;

  font-size: 21px;
  text-align: center;
}

.recovery-panel > p {
  margin: 8px 0 15px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.recovery-submit {
  margin-top: 13px;
  background: #2f79e6;
}


/* FOOTER */

.site-footer {
  width: min(100% - 30px, 760px);
  margin: 24px auto;
  padding-bottom: 22px;

  color: #6a7b85;

  font-size: 12px;
  text-align: center;
}

.site-footer p {
  margin: 5px 0;
}

.site-footer span {
  color: var(--teal);
}

.site-footer a {
  color: var(--teal);
  font-weight: bold;
  text-decoration: none;
}


/* MOBILE */

@media (max-width: 620px) {
  .site-hero {
    min-height: 410px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding-top: 16px;
  }

  .brand {
    font-size: 26px;
  }

  .brand-mark {
    width: 38px;
    height: 36px;
  }

  .brand-mark svg {
    width: 39px;
    height: 35px;
  }

  .secure-badge {
    padding: 8px 9px;
    font-size: 9px;
  }

  .hero-tagline {
    margin: 31px 0 33px 42px;
    font-size: 16px;
  }

  .site-hero h1 {
    margin-left: 42px;

    font-size: 39px;
    letter-spacing: -2px;
  }

  .hero-description {
    margin-left: 42px;
    font-size: 15px;
  }

  .page-content {
    width: calc(100% - 18px);
    margin-top: -91px;
  }

  .content-card {
    padding: 25px 14px 20px;
    border-radius: 24px;
  }

  .purchase-guide {
    padding: 16px;
  }

  .purchase-guide h3 {
    font-size: 19px;
  }

  .purchase-guide ol {
    font-size: 13px;
  }

  .package-card {
    grid-template-columns: 40px minmax(0, 1fr) auto 14px;
    gap: 7px;
    padding: 7px 6px;
  }

  .package-icon {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .package-copy strong {
    font-size: 16px;
  }

  .package-copy small {
    font-size: 10px;
  }

  .package-price {
    padding: 7px 9px;
    font-size: 12px;
  }

  .package-arrow {
    font-size: 21px;
  }

  .tv-launcher {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    min-height: 63px;
    padding: 8px 10px;
  }

  .tv-launcher-icon {
    width: 41px;
    height: 41px;
  }

  .tv-launcher-copy strong {
    font-size: 16px;
  }

  .tv-launcher-copy small {
    font-size: 10px;
  }

  .tv-panel {
    padding: 16px 13px;
  }

  .tv-panel-header {
    grid-template-columns: 45px minmax(0, 1fr) 32px;
    gap: 10px;
  }

  .tv-panel-icon {
    width: 43px;
    height: 43px;
  }

  .tv-panel-header h2 {
    font-size: 23px;
  }

  .tv-help-card {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 9px;
    padding: 13px;

    font-size: 12px;
  }

  .tv-help-card h3 {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tv-plan-option {
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 7px;

    min-height: 55px;
    padding: 8px 9px;
  }

  .tv-plan-option > .plan-copy strong {
    font-size: 13px;
  }

  .tv-plan-option > .plan-copy small {
    font-size: 10px;
  }

  .tv-plan-option > b {
    min-width: 68px;
    padding: 7px;
    font-size: 12px;
  }

  .recovery-launcher {
    grid-template-columns: 37px minmax(0, 1fr) 17px;
    gap: 8px;
    padding: 8px 9px;
  }

  .recovery-icon {
    width: 33px;
    height: 33px;
  }

  .recovery-launcher strong {
    font-size: 13px;
  }

  .recovery-launcher small {
    font-size: 10px;
  }
}
