/* Only home.html loads these additions. Legacy pages keep their shared styles. */
.hero-dots button[aria-pressed='true'] {
  width: 24px;
  background: #2bd1b0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid #0b8f7a;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.home-greeting {
  margin: 0 0 12px;
  color: #087a69;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.home-start-actions {
  width: 100%;
  max-width: 560px;
}
.home-start {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 7px;
  border-radius: 99px;
  background: #fff;
  box-shadow:
    0 14px 34px -12px rgba(40, 60, 120, 0.22),
    0 0 0 1px rgba(15, 20, 36, 0.04);
}
.home-start input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #0f1424;
  font: inherit;
  font-size: 16px;
}
.home-start button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3eddc0;
  color: #0f1424;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}
.home-start button:hover {
  background: #5be6cc;
}
.home-start input:focus-visible,
.home-start button:focus-visible {
  outline: 2px solid #0b8f7a;
  outline-offset: 2px;
}
.home-start input[aria-invalid='true'] {
  outline: 2px solid #b03434;
  outline-offset: -2px;
}
.home-start-label {
  display: none;
}
.home-signup-error {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #b03434;
  font-size: 13px;
  line-height: 1.5;
}
.home-signup-error:empty {
  display: none;
}
#main-content,
#devices,
#download {
  scroll-margin-top: 84px;
}
a.device-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
a.device-plan-cta:hover {
  color: #fff;
  background: #263547;
}
.device-plan-card[data-plan='ULTRA'] a.device-plan-cta:hover {
  color: #0c1b25;
  background: #3edcc0;
}
.home-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #89929f;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}
.home-footer {
  position: relative;
  margin: 88px 0 -72px;
  padding: 56px 0 48px;
  background: #06111f;
  box-shadow: 0 0 0 100vmax #06111f;
  clip-path: inset(0 -100vmax);
  color: #9fb3c8;
  font-size: 12px;
  line-height: 1.8;
}
.home-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.home-footer img {
  display: block;
  object-fit: contain;
  object-position: left center;
}
.home-footer a {
  color: #b9c8d8;
}
.home-footer a:hover {
  color: #fff;
}
.home-footer p {
  margin: 12px 0;
}
.home-company {
  font-size: 13px;
}
.home-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #233344;
}
.home-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  background: #2bd1b0;
  color: #0f1b24;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}
@media (max-width: 959px) {
  .home-footer {
    margin: 56px -20px -40px;
    padding: 40px 20px 110px;
  }
  .home-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .home-start {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .home-start input {
    flex: none;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e7e9ec;
    border-radius: 14px;
    background: #fff;
  }
  .home-start button {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: #0f1b24;
    color: #fff;
    font-size: 20px;
  }
  .home-start button:hover {
    background: #263547;
  }
  .home-start-label {
    display: inline;
    font-size: 14px;
    font-weight: 700;
  }
  .home-footer {
    margin-top: 64px;
  }
}

/* Preserve the existing lead sizes and derive attribution from the same value. */
.home-page {
  --home-hero-lead-size: 28px;
}
.home-page .hero-content .hero-static-lead {
  font-size: var(--home-hero-lead-size) !important;
}
.home-referral-notice {
  margin: 0 0 12px;
  color: #0f1424;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.home-referral-notice[data-referral-state='valid'] {
  font-size: calc(var(--home-hero-lead-size) * 0.88);
  font-weight: 300;
  letter-spacing: -0.04em;
}
.home-referral-notice[hidden] {
  display: none;
}
.home-referral-notice button {
  border: 0;
  padding: 2px 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.home-referral-notice button[hidden] {
  display: none;
}
@media (min-width: 960px) {
  .home-page {
    --home-hero-lead-size: 21.6px;
  }
}
@media (min-width: 1100px) {
  .home-page {
    --home-hero-lead-size: clamp(45.6px, 2.88vw, 54px);
  }
}

.home-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-member-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid #0f1424;
  border-radius: 999px;
  background: #0f1424;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.home-member-actions [data-home-watch] {
  background: #fff;
  color: #0f1424;
}

.home-member-actions a:focus-visible {
  outline: 2px solid #087a69;
  outline-offset: 3px;
}

.home-coupon-action {
  flex-basis: 100%;
}

.home-coupon-trigger {
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #087a69;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.home-coupon-trigger:focus-visible {
  outline: 2px solid #087a69;
  outline-offset: 2px;
}

.home-coupon-dialog {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.home-coupon-dialog::backdrop {
  background: rgb(15 23 42 / 40%);
}

.home-coupon-dialog[data-ready]::backdrop {
  background: transparent;
}

.home-coupon-loading {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.home-coupon-loading button {
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  background: #fff;
  color: #0f1424;
  font: inherit;
  cursor: pointer;
}

.home-coupon-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  visibility: hidden;
}

.home-coupon-dialog[data-ready] iframe {
  visibility: visible;
}

.home-coupon-dialog[data-ready] .home-coupon-loading {
  display: none;
}

body:has(.home-coupon-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 767px) {
  .home-member-actions a {
    flex: 1 1 auto;
  }
}
