.ext-gate[hidden],
[data-extension-page][hidden] {
  display: none;
}

.ext-page {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-bottom: 5rem;
}

.ext-kicker {
  color: var(--ice, var(--neon, #6fcdec));
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.ext-gate {
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border: 1px solid rgba(111, 205, 236, .25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(111, 205, 236, .16), transparent 38%),
    var(--panel, var(--surface));
}

.ext-gate h1 {
  margin: .4rem 0 .5rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -.05em;
}

.ext-gate p,
.ext-section-head p,
.ext-hero > p,
.ext-access-card p {
  color: var(--muted);
  line-height: 1.65;
}

.ext-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.25rem;
}

.ext-hero {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: hidden;
  min-height: 540px;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid rgba(111, 205, 236, .26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 112%, rgba(111, 205, 236, .2), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(101, 104, 244, .15), transparent 32%),
    linear-gradient(155deg, rgba(13, 18, 22, .98), rgba(7, 9, 11, .99));
  text-align: center;
  isolation: isolate;
}

.ext-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, #6fcdec 48%, #8991ff 72%, transparent 94%);
}

.ext-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(111, 205, 236, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 205, 236, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 42%, transparent);
}

.ext-hero-orbit {
  position: absolute;
  z-index: -1;
  top: 52%;
  left: 50%;
  width: min(760px, 90vw);
  aspect-ratio: 2.4;
  border: 1px solid rgba(111, 205, 236, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 50px rgba(111, 205, 236, .025),
    0 0 0 100px rgba(111, 205, 236, .018);
}

.ext-member-chip {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .5rem .78rem;
  border: 1px solid rgba(111, 205, 236, .24);
  border-radius: 999px;
  background: rgba(111, 205, 236, .075);
  color: #bceefa;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.ext-member-chip i {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #6fcdec;
  box-shadow: 0 0 12px rgba(111, 205, 236, .9);
}

.ext-hero h1 {
  margin: 1.35rem 0 .95rem;
  color: #6fcdec;
  font-size: clamp(2.7rem, 7.4vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.07em;
  text-shadow: 0 0 32px rgba(111, 205, 236, .14);
}

.ext-hero h1 span {
  color: #f8fbfd;
}

.ext-hero > p {
  max-width: 710px;
  margin: 0;
  font-size: clamp(.97rem, 2vw, 1.12rem);
}

.ext-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .72rem;
  margin-top: 1.65rem;
}

.ext-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  min-height: 3.15rem;
  padding: .82rem 1.25rem;
  border: 1px solid #9ce9ff;
  border-radius: 999px;
  background: linear-gradient(180deg, #9eeaff, #62c4e4);
  box-shadow:
    0 10px 28px rgba(111, 205, 236, .2),
    inset 0 1px rgba(255, 255, 255, .55);
  color: #061016;
  font-size: .87rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.ext-install-button:not(.is-pending):hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(111, 205, 236, .3),
    inset 0 1px rgba(255, 255, 255, .65);
  filter: brightness(1.04);
}

.ext-install-button:focus-visible {
  outline: 3px solid rgba(156, 233, 255, .95);
  outline-offset: 4px;
}

.ext-install-button b {
  font-size: 1.08rem;
  line-height: 1;
}

.ext-install-button.is-pending {
  border-color: rgba(111, 205, 236, .26);
  background: rgba(111, 205, 236, .085);
  box-shadow: none;
  color: #a4dceb;
  cursor: default;
  pointer-events: none;
}

.ext-install-button.compact {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: .68rem 1rem;
  font-size: .78rem;
}

.ext-store-note {
  margin-top: .85rem !important;
  font-size: .75rem !important;
}

.ext-hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 1.2rem;
  margin-top: 2rem;
  color: #8e9ba3;
  font-size: .72rem;
}

.ext-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.ext-hero-facts i {
  color: #6fcdec;
  font-style: normal;
  font-weight: 900;
}

.ext-section {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3.2vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel, var(--surface));
  scroll-margin-top: 6rem;
}

.ext-section-head {
  margin-bottom: 1.4rem;
}

.ext-section h2 {
  margin: .42rem 0 .55rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -.05em;
}

.ext-section-head p {
  max-width: 760px;
  margin: 0;
}

.ext-feature-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(111, 205, 236, .08), transparent 34%),
    var(--panel, var(--surface));
}

.ext-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.ext-auto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: clamp(1.3rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(111, 205, 236, .32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 205, 236, .18), transparent 38%),
    linear-gradient(150deg, #11191e, #090c0e 70%);
}

.ext-auto-card::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -76px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(111, 205, 236, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(111, 205, 236, .025);
}

.ext-auto-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8f9aa0;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.ext-auto-topline b {
  padding: .3rem .55rem;
  border: 1px solid rgba(111, 205, 236, .3);
  border-radius: 999px;
  background: rgba(111, 205, 236, .12);
  color: #6fcdec;
  font-size: .58rem;
  letter-spacing: .08em;
}

.ext-auto-icon {
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 5.25rem;
  margin: 2.2rem 0 1.35rem;
  border: 1px solid rgba(111, 205, 236, .35);
  border-radius: 24px;
  background: rgba(111, 205, 236, .095);
  box-shadow: 0 0 28px rgba(111, 205, 236, .12);
  color: #8de3fb;
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: -.05em;
}

.ext-auto-card h3 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  letter-spacing: -.05em;
}

.ext-auto-card > p {
  max-width: 490px;
  margin: .65rem 0 0;
  color: #a7b1b7;
  line-height: 1.62;
}

.ext-auto-card > p strong {
  color: #f3f7f9;
}

.ext-offer-flow {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.ext-offer-flow span {
  padding: .46rem .58rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: #aeb8be;
  font-size: .62rem;
  white-space: nowrap;
}

.ext-offer-flow i {
  color: #6fcdec;
  font-style: normal;
}

.ext-auto-card small {
  max-width: 520px;
  margin-top: .85rem;
  color: #68767e;
  font-size: .64rem;
  line-height: 1.5;
}

.ext-feature-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ext-feature-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .14);
}

.ext-feature-list li > i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(111, 205, 236, .24);
  border-radius: 10px;
  background: rgba(111, 205, 236, .09);
  color: #6fcdec;
  font-style: normal;
  font-weight: 950;
}

.ext-feature-list strong {
  color: #f0f4f6;
  font-size: .92rem;
}

.ext-feature-list p {
  margin: .28rem 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.ext-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.ext-tool-grid article {
  position: relative;
  min-height: 205px;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .14);
}

.ext-tool-grid article > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #536069;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.ext-tool-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(111, 205, 236, .2);
  border-radius: 10px;
  background: rgba(111, 205, 236, .075);
  color: #6fcdec;
  font-size: 1.08rem;
  font-weight: 900;
}

.ext-tool-grid h3 {
  margin: 1.6rem 0 .45rem;
  font-size: 1rem;
}

.ext-tool-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.56;
}

.ext-setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1rem;
  align-items: stretch;
}

.ext-steps {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ext-steps li {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .14);
}

.ext-steps li > span {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 11px;
  background: rgba(111, 205, 236, .11);
  color: #6fcdec;
  font-weight: 950;
}

.ext-steps strong {
  font-size: .92rem;
}

.ext-steps p {
  margin: .24rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.52;
}

.ext-access-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
  border: 1px solid rgba(111, 205, 236, .25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 205, 236, .15), transparent 38%),
    linear-gradient(150deg, rgba(111, 205, 236, .06), rgba(0, 0, 0, .1));
}

.ext-access-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  border: 2px solid #6fcdec;
  border-radius: 16px;
  background: #071018;
}

.ext-access-mark strong {
  color: #f4fbff;
  font-size: 1rem;
  letter-spacing: -.05em;
}

.ext-access-mark span {
  position: absolute;
  top: -.45rem;
  right: -.45rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #6fcdec;
  color: #071018;
  font-weight: 950;
}

.ext-access-card h3 {
  margin: .42rem 0 .5rem;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.ext-access-card p {
  margin: 0;
  font-size: .79rem;
}

.ext-device-note {
  max-width: 840px;
  margin: 1.2rem auto 0;
  color: #68757c;
  font-size: .7rem;
  line-height: 1.6;
  text-align: center;
}

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

@media (max-width: 900px) {
  .ext-feature-layout,
  .ext-setup-layout {
    grid-template-columns: 1fr;
  }

  .ext-auto-card {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .ext-page {
    padding-inline: .7rem;
  }

  .ext-hero {
    min-height: 500px;
  }

  .ext-hero,
  .ext-section,
  .ext-gate {
    border-radius: 16px;
  }

  .ext-hero-actions,
  .ext-hero-actions .btn,
  .ext-hero-actions .ext-install-button {
    width: 100%;
  }

  .ext-hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .ext-tool-grid {
    grid-template-columns: 1fr;
  }

  .ext-offer-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .ext-offer-flow i {
    transform: rotate(90deg);
  }

  .ext-offer-flow span {
    text-align: center;
  }

  .ext-auto-card {
    min-height: 520px;
  }

  .ext-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ext-install-button {
    transition: none;
  }
}
