@font-face {
  font-family: 'Elastre';
  src: url('./resources/Elastre.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nuqun';
  src: url('./resources/Nuqun-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src:
    local('SF Pro Display Regular'),
    local('SFProDisplay-Regular');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src:
    local('SF Pro Display Medium'),
    local('SFProDisplay-Medium');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --panel: #141414;
  --panel2: #101010;
  --text: #e9e9e9;
  --muted: #bdbdbd;
  --muted2: #8b8b8b;
  --stroke: rgba(232, 232, 232, .35);
  --stroke2: rgba(232, 232, 232, .18);
  --lime: #d7ff41;
  --brand-a: #2c9aff;
  --brand-b: #2051ed;
  --radius: 34px;
  --page-pad: 28px;
  --panel-pad-x: 40px;
  --panel-pad-y: 50px;
  --section-gap: 100px;
  --control-h: 44px;
  --anchor-offset: 100px;
  --reveal-speed: .55s;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
  --safe-right: env(safe-area-inset-right);
}

@property --feature-reveal {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}

@property --feature-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 100%;
}

@property --feature-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 100%;
}

@property --circle-reveal {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}

@property --circle-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --circle-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --plan-reveal {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 18%;
}

@property --plan-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --plan-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --pill-reveal {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}

@property --pill-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --pill-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --accordion-reveal {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}

@property --accordion-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --accordion-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --newsletter-reveal {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

@property --newsletter-cursor-x {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --newsletter-cursor-y {
  syntax: '<length-percentage>';
  inherits: true;
  initial-value: 50%;
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "SF Pro Display", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

html.preload-lock,
body.preload-lock {
  overflow: hidden;
}

body.is-site-loading .page {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.preload-fading .page,
body.site-ready .page {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-site-loading .page,
body.is-site-loading .page * {
  animation-play-state: paused !important;
}

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

/* Offset для якорей, чтобы контент не перекрывался header'ом */
section[id] {
  scroll-margin-top: var(--anchor-offset);
}

h1,
h2,
h3 {
  font-family: 'Elastre', 'Nuqun', "SF Pro Display", system-ui, sans-serif;
}

h2 {
  margin: 0;
  font-size: clamp(44px, 5.7vw, 78px);
  /* letter-spacing: .02em; */
}

.heroWord {
  position: relative;
  display: inline-block;
}

.heroSide {
  position: absolute;
  left: calc(100% + 18px);
  /* отступ от слова */
  bottom: 0.5em;
  /* выравнивание по базовой линии */
  width: 500px;

  font-family: "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(12px, 4.3vw, 12px);
  /* line-height: 1.6; */
  color: var(--muted2);
}


/* grain/noise overlay — only on body background, behind all content */
.noise-filter {
  position: absolute;
  width: 0;
  height: 0;
}

.noise-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  filter: url(#noiseFilter);
  opacity: 0.08;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

.site-preloader.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__logo {
  width: 104px;
  height: 104px;
}

.site-preloader__logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-preloader__white {
  fill: var(--text);
}

.site-preloader__blue {
  fill: var(--brand-a);
  transform-origin: right bottom;
}


.page {
  width: min(1220px, calc(100% - (var(--page-pad) * 2)));
  margin: 34px auto 40px;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility 0s linear 0s;
}

.section {
  margin: var(--section-gap) 0;
}

.panel {
  /* background: linear-gradient(180deg, rgba(232, 232, 232, .03), rgba(232, 232, 232, .01)); */
  background-color: var(--panel);
  border-radius: var(--radius);
  padding: var(--panel-pad-y) var(--panel-pad-x);
  position: relative;
  overflow: hidden;
  /* box-shadow:
    0 30px 80px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(232, 232, 232, .05); */
}

/* subtle inner vignette */
.panel::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 40% 0%, rgba(232, 232, 232, .06), transparent 45%);
  opacity: .35;
  pointer-events: none;
}

.heroCards>*,
.valuesGrid>*,
.featuresTop>*,
.cardRow>*,
.deviceGrid>*,
.reviewsHeader>*,
.footerTop>*,
.footerLinks>*,
.plansRow>*,
.mapGrid>* {
  min-width: 0;
}

/* buttons */
.btn {
  --btn-bg: transparent;
  --btn-color: currentColor;
  --btn-border: transparent;
  --btn-hover-bg: var(--btn-bg);
  --btn-hover-color: var(--btn-color);
  --btn-hover-border: var(--btn-border);
  --btn-transform: none;
  --btn-hover-transform: translateY(-1px);
  --btn-active-transform: translateY(0);
  --btn-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transform: var(--btn-transform);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.btn:hover {
  transform: var(--btn-hover-transform);
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  color: var(--btn-hover-color);
}

.btn:active {
  transform: var(--btn-active-transform);
  opacity: .9;
  animation: btnClickBlink .22s ease-out 1;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-a);
  outline-offset: 2px;
}

.btn-icon {
  --btn-radius: 50%;
  --btn-hover-transform: translateY(0);
  --btn-active-transform: scale(.96);
  padding: 0;
  width: var(--btn-size, 44px);
  height: var(--btn-size, 44px);
}

.btn-ghost {
  --btn-border: currentColor;
  --btn-color: currentColor;
}

.btn-white {
  --btn-bg: #e8e8e8;
  --btn-color: #101010;
  --btn-border: transparent;
}

.btn-lime {
  --btn-bg: var(--brand-a);
  --btn-color: #101010;
  --btn-border: rgba(0, 0, 0, .15);
}

.btn-dark {
  --btn-bg: #0c0c0c;
  --btn-color: var(--brand-a);
  --btn-border: rgba(0, 0, 0, .3);
}

@keyframes btnClickBlink {
  0% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 8px var(--brand-a), inset 0 0 6px var(--brand-a);
  }

  100% {
    box-shadow: none;
  }
}

.muted {
  color: var(--muted2);
  line-height: 1.55;
}

.small {
  font-size: 14px;
  color: #4a4a4a;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* TOPBAR */
.topbarWrap {
  position: relative;
  height: var(--topbar-h, 64px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  position: relative;
  z-index: 6;
  border-radius: 34px;
  border: 1px solid transparent;
  background: transparent;
  transition:
    transform .35s cubic-bezier(.4, 0, .2, 1),
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    opacity .35s ease;
}

.topbarActions {
  /* margin-left: auto; */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbarActions .btn {
  margin-left: 0;
}

.topbarWrap.is-sticky .topbar {
  border-top: none;
  padding: 15px 30px;
  border-radius: 0 0 34px 34px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(0);
  width: min(1320px, calc(100% - (var(--page-pad) * 2)));
  background: rgba(12, 12, 12, .82);
  border-color: rgba(232, 232, 232, .12);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(232, 232, 232, .05);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  animation: topbarPop .35s cubic-bezier(.4, 0, .2, 1);
}

@keyframes scribbleDraw {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes topbarPop {
  from {
    opacity: 0;
    transform: translateY(-110%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brandLogo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brandMark {
  width: 44px;
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.brandMark span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand-a);
  /* box-shadow: 0 0 22px rgba(216, 255, 63, .25); */
}

.nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}

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

/* HERO */
.hero {
  padding: var(--panel-pad-y) var(--panel-pad-x);
}

.heroGrid {
  position: relative;
}

.heroTitle {
  position: relative;
  padding: 18px 0 8px;
}

.heroTitle h1 {
  margin: 18px 0 0;
  font-size: clamp(44px, 5.7vw, 78px);
  /* line-height: .92; */
  letter-spacing: .04em;
  /* font-weight: 400; */
}



.scribble {
  height: 14%;
  z-index: 1;
  position: absolute;
  left: 23%;
  top: 38%;
  /* width: 62%; */
  opacity: .95;
  /* filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); */
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}

.heroCards {
  justify-items: end;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
  position: relative;
  padding-bottom: 10px;
}

.imgCard {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid rgba(232, 232, 232, .06);
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, .35); */
  height: 260px;
  position: relative;
}

.imgCard-left {
  position: relative;
  border-radius: 20px 20px 20px 100%;
  width: 50%;
}

.imgCard-leftMask {
  position: absolute;
  inset: 0;
  clip-path: ellipse(58% 96% at 0% 52%);
  background: transparent;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.imgPlaceholder {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  /* background:
    radial-gradient(circle at 30% 30%, rgba(232, 232, 232, .18), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(232, 232, 232, .12), transparent 40%),
    linear-gradient(135deg, #1b1b1b, #0f0f0f); */
}

img.imgPlaceholder,
.imgPlaceholder>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.1);
}


.ph-3 {
  background:
    radial-gradient(circle at 70% 35%, rgba(232, 232, 232, .18), transparent 40%),
    linear-gradient(135deg, #2b2b2b, #0e0e0e);
  transform: scale(1.05);
}

.heroFoot {
  position: absolute;
  left: 0;
  bottom: -2px;
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
}

.faq-btn {
  max-width: 300px;
  width: 100%;
}

/* VALUES */
.valuesGrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.valuesLeft h2 {
  margin-bottom: 14px;
}

.valuesLeft p {
  max-width: 300px;
}

.valuesRight {
  position: relative;
  min-height: 240px;
}

.pill {
  --pill-reveal: 0%;
  --pill-base-bg: rgba(0, 0, 0, .12);
  --pill-reveal-bg: var(--lime);
  --pill-text-base: rgba(232, 232, 232, .88);
  --pill-text-reveal: #101010;
  --pill-cursor-x: 50%;
  --pill-cursor-y: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 55px;
  border-radius: 999px;
  font-size: 34px;
  letter-spacing: .02em;
  font-weight: 400;
  color: var(--pill-text-base);
  border: 1px solid var(--stroke);
  background: radial-gradient(circle at var(--pill-cursor-x) var(--pill-cursor-y),
      var(--pill-reveal-bg) 0 var(--pill-reveal),
      var(--pill-base-bg) calc(var(--pill-reveal) + .5%));
  position: relative;
  overflow: hidden;
  transition: --pill-reveal .55s ease, color .3s ease, border-color .3s ease;
  cursor: pointer;
  isolation: isolate;
}

.pill:hover {
  --pill-reveal: 160%;
  color: var(--pill-text-reveal);
}

.pill-outline {
  --pill-base-bg: rgba(0, 0, 0, 0);
}

.accordion-faq {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0px 0px 0px;
  background: transparent;
  border: none;
  /* cursor: pointer; */
  text-align: left;
  font-family: inherit;
  transition: background .2s ease;
}

.pill-lime {
  z-index: 1;
  --pill-base-bg: var(--brand-a);
  --pill-reveal-bg: var(--lime);
  --pill-text-base: #101010;
  --pill-text-reveal: #101010;
  border-color: rgba(0, 0, 0, .15);
  /* box-shadow: 0 18px 60px rgba(216, 255, 63, .18); */
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pill {
    background-image:
      radial-gradient(circle at var(--pill-cursor-x) var(--pill-cursor-y),
        var(--pill-text-reveal) 0 var(--pill-reveal),
        var(--pill-text-base) calc(var(--pill-reveal) + .5%)),
      radial-gradient(circle at var(--pill-cursor-x) var(--pill-cursor-y),
        var(--pill-reveal-bg) 0 var(--pill-reveal),
        var(--pill-base-bg) calc(var(--pill-reveal) + .5%));
    background-clip: text, padding-box;
    -webkit-background-clip: text, padding-box;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.pill-rot1 {
  position: absolute;
  right: -6px;
  top: 41px;
  transform: rotate(35deg);
}

.pill-rot2 {
  position: absolute;
  right: 183px;
  top: 103px;
  transform: rotate(-18deg);
}

.pillRow {
  position: absolute;
  right: 0;
  bottom: -35px;
  display: flex;
  gap: 14px;
}

/* FEATURES */
.featuresTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}


.smallRight {
  max-width: 330px;
  margin-top: 14px;
}

.chipRow {
  margin-top: 60px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  /* margin: 14px 0 18px; */
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .02em;
}

.chip-outline {
  border: 1px solid var(--stroke);
  color: var(--muted);
  background: rgba(0, 0, 0, .12);
}

.cardRow {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.featureCard {
  --feature-reveal: 0%;
  --feature-base: #e8e8e8;
  --feature-reveal-bg: var(--lime);
  --feature-text-base: #101010;
  --feature-text-reveal: #0c0c0c;
  --feature-line-base: rgba(0, 0, 0, 1);
  --feature-line-reveal: rgba(0, 0, 0, 1);
  --btn-bg-base: #0c0c0c;
  --btn-bg-reveal: #101010;
  --btn-text-base: #f7f7f7;
  --btn-text-reveal: #f7f7f7;
  --btn-border-base: rgba(0, 0, 0, .45);
  --btn-border-reveal: rgba(0, 0, 0, .85);
  --feature-text-color: var(--feature-text-base);
  --feature-line-color: var(--feature-line-base);
  --btn-bg-color: var(--btn-bg-base);
  --btn-text-color: var(--btn-text-base);
  --btn-border-color: var(--btn-border-base);
  --feature-offset-x: 0px;
  --feature-offset-y: 0px;
  --feature-cursor-x: 50%;
  --feature-cursor-y: 50%;
  font-family: "SF Pro Display", system-ui, sans-serif;
  background: radial-gradient(circle at var(--feature-cursor-x) var(--feature-cursor-y),
      var(--feature-reveal-bg) 0 var(--feature-reveal),
      var(--feature-base) calc(var(--feature-reveal) + .5%));
  color: var(--feature-text-base);
  border-radius: 20px;
  padding: 20px 20px 18px;
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: --feature-reveal .55s ease;
}

.featureCard>* {
  position: relative;
  z-index: 1;
}

.featureCard-lime {
  --feature-base: var(--brand-a);
  --feature-reveal-bg: var(--lime);
  --feature-text-base: #f7f9ff;
  --feature-text-reveal: #101010;
  --feature-line-base: rgba(232, 232, 232, 1);
  --feature-line-reveal: rgba(0, 0, 0, 1);
  --btn-bg-base: rgba(232, 232, 232, .92);
  --btn-bg-reveal: #0c0c0c;
  --btn-text-base: #0c0c0c;
  --btn-text-reveal: #f7f7f7;
  --btn-border-base: rgba(0, 0, 0, .2);
  --btn-border-reveal: rgba(255, 255, 255, .55);
}

.featureCard .num {
  font-size: 13px;
  opacity: .7;
  transition: opacity .3s ease;
}

.featureCard h3 {
  margin: 10px 0 50px;
  font-size: 38px;
  line-height: 1.55;
  padding-top: 2px;
  /* letter-spacing: .02em; */
  font-weight: 500;
  /* font-family: inherit; */
}

.featureCard .line {
  height: 2px;
  width: 100%;
  background: var(--feature-line-color);
  /* margin: 8px 0 14px; */
  /* opacity: .45; */
}

.featureCard p {
  margin: 20px 0px;
}

.featureCard:hover {
  --feature-reveal: 170%;
  --feature-text-color: var(--feature-text-reveal);
  --feature-line-color: var(--feature-line-reveal);
  --btn-bg-color: var(--btn-bg-reveal);
  --btn-text-color: var(--btn-text-reveal);
  --btn-border-color: var(--btn-border-reveal);
}

.featureCard .num,
.featureCard h3,
.featureCard p {
  color: var(--feature-text-color);
}

.featureCard .small {
  color: var(--feature-text-color);
}

.featureActions {
  /* margin-top: auto; */
  display: flex;
  gap: 10px;
}

.featureActions .btn {
  width: 100%;
  font-family: inherit;
  --btn-border: var(--btn-border-color);
  --btn-bg: var(--btn-bg-color);
  --btn-color: var(--btn-text-color);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {

  .featureCard .num,
  .featureCard h3,
  .featureCard p {
    background-image: radial-gradient(circle at calc(var(--feature-cursor-x) - var(--feature-offset-x)) calc(var(--feature-cursor-y) - var(--feature-offset-y)),
        var(--feature-text-reveal) 0 var(--feature-reveal),
        var(--feature-text-base) calc(var(--feature-reveal) + .5%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .featureCard .small {
    color: transparent;
  }

  .featureCard .line {
    background: radial-gradient(circle at calc(var(--feature-cursor-x) - var(--feature-offset-x)) calc(var(--feature-cursor-y) - var(--feature-offset-y)),
        var(--feature-line-reveal) 0 var(--feature-reveal),
        var(--feature-line-base) calc(var(--feature-reveal) + .5%));
  }

  .featureActions .btn {
    border: 1px solid transparent;
    background-image:
      radial-gradient(circle at calc(var(--feature-cursor-x) - var(--feature-offset-x)) calc(var(--feature-cursor-y) - var(--feature-offset-y)),
        var(--btn-text-reveal) 0 calc(var(--feature-reveal) * 1),
        var(--btn-text-base) calc(var(--feature-reveal) * 1 )),
      radial-gradient(circle at calc(var(--feature-cursor-x) - var(--feature-offset-x)) calc(var(--feature-cursor-y) - var(--feature-offset-y)),
        var(--btn-bg-reveal) 0 calc(var(--feature-reveal)),
        var(--btn-bg-base) calc(var(--feature-reveal) * 1 )),
      radial-gradient(circle at calc(var(--feature-cursor-x) - var(--feature-offset-x)) calc(var(--feature-cursor-y) - var(--feature-offset-y)),
        var(--btn-border-reveal) 0 calc(var(--feature-reveal) * 1),
        var(--btn-border-base) calc(var(--feature-reveal) * 1 ));
    background-clip: text, padding-box, border-box;
    -webkit-background-clip: text, padding-box, border-box;
    background-origin: border-box;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* DEVICES */
.devicesTop {
  position: relative;
  padding-bottom: 10px;
}


.devicesTop .muted {
  max-width: 340px;
  margin-top: 18px;
}

.scribble2 {
  height: 50%;
  position: absolute;
  left: 0;
  top: 95%;
  /* width: 50%; */
  pointer-events: none;
  opacity: .95;
  /* filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35)); */
  clip-path: inset(0 100% 0 0);
}

.deviceGrid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.circle {
  --circle-reveal: 0%;
  --circle-base-bg: transparent;
  --circle-reveal-bg: #ffffff;
  --circle-cursor-x: 50%;
  --circle-cursor-y: 50%;
  --platform-icon-color: #e8e8e8;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at var(--circle-cursor-x) var(--circle-cursor-y),
      var(--circle-reveal-bg) 0 var(--circle-reveal),
      var(--circle-base-bg) calc(var(--circle-reveal) + .5%));
  background-color: var(--circle-base-bg);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .3s linear, --circle-reveal .75s ease;
}

.circle-lime {
  border: 2px solid var(--lime);
  --circle-base-bg: transparent;
  --circle-reveal-bg: var(--lime);
  --btn-bg: #e8e8e8;
  --platform-icon-color: var(--btn-bg);
}

.circle-white {
  border: 2px solid rgba(232, 232, 232, .6);
  --circle-base-bg: transparent;
  --circle-reveal-bg: #e8e8e8;
  --platform-icon-color: var(--lime);
}

.circle.is-hovered {
  --circle-reveal: 160%;
}

.circle-white.is-hovered {
  border-color: rgba(232, 232, 232, .9);
}

.circle-lime.is-hovered,
.circle-white.is-hovered {
  --platform-icon-color: #101010;
}

.label {
  font-size: 28px;
  letter-spacing: .02em;
  color: rgba(232, 232, 232, .9);
  transition: color .2s linear .2s;
}

.label-lime {
  color: var(--lime);
}

.circle-lime.is-hovered .label {
  color: #101010;
}

.circle-white.is-hovered .label {
  color: #101010;
}

.circle-white.is-hovered .label-lime {
  color: #101010;
}

.platform-icon {
  width: 72px;
  height: 72px;
  display: block;
  background-color: var(--platform-icon-color);
  -webkit-mask: var(--platform-icon-mask) center / contain no-repeat;
  mask: var(--platform-icon-mask) center / contain no-repeat;
  transition: background-color .3s ease;
}

.platform-icon-apple {
  --platform-icon-mask: url("/resources/apple.svg");
}

.platform-icon-macos {
  --platform-icon-mask: url("/resources/macOs.svg");
}

.platform-icon-linux {
  --platform-icon-mask: url("/resources/linux.svg");
}

.platform-icon-windows {
  --platform-icon-mask: url("/resources/windows.svg");
}

.platform-icon-android {
  --platform-icon-mask: url("/resources/android.svg");
}

.icon {
  width: 86px;
  height: 86px;
  opacity: .95;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: filter .2s linear .2s;
}

.circle-lime.is-hovered .icon {
  /* filter: brightness(0) drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); */
}

.circle-white.is-hovered .icon {
  /* filter: brightness(0) drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); */
}

/* simple inline SVG icons via data-uri */
.icon-apple {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 24 24'%3E%3Cpath fill='%23eaeaea' d='M16.7 13.2c0-2 1.6-3 1.7-3.1-1-.1-2 .6-2.6.6-.7 0-1.6-.6-2.6-.6-1.4 0-2.8.8-3.6 2.1-1.5 2.6-.4 6.4 1.1 8.5.7 1 1.5 2.2 2.6 2.1 1 0 1.4-.6 2.7-.6 1.2 0 1.6.6 2.6.6 1.1 0 1.8-1 2.5-2 1-1.5 1.4-3 1.4-3.1-.1 0-2.2-.9-2.2-3.5ZM15.4 6.4c.6-.8 1-1.9.9-3-1 .1-2.1.7-2.7 1.5-.6.7-1.1 1.8-1 2.9 1.1.1 2.2-.6 2.8-1.4Z'/%3E%3C/svg%3E");
}

.icon-windows {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 24 24'%3E%3Cpath fill='%23eaeaea' d='M3 5.2 10.1 4v7H3V5.2Zm0 13.6V13h7.1v7L3 18.8ZM11 3.9 21 2.6V11H11V3.9Zm0 19.2V13h10v8.4l-10 1.3Z'/%3E%3C/svg%3E");
}

.icon-android {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 24 24'%3E%3Cpath fill='%23d8ff3f' d='M17.6 9.48 19.3 6.5c.1-.2 0-.4-.2-.5-.2-.1-.4 0-.5.2l-1.7 3c-1-.5-2-.8-3.2-.8s-2.2.3-3.2.8l-1.7-3c-.1-.2-.4-.3-.5-.2-.2.1-.3.3-.2.5l1.7 3C8.3 10.3 7.4 11.7 7.2 13.3h9.6c-.2-1.6-1.1-3-2.2-3.82ZM9.6 12.1c-.3 0-.6-.3-.6-.6s.3-.6.6-.6.6.3.6.6-.3.6-.6.6Zm5 0c-.3 0-.6-.3-.6-.6s.3-.6.6-.6.6.3.6.6-.3.6-.6.6ZM7 14v6c0 .6.4 1 1 1h1v-6h2v6h2v-6h2v6h1c.6 0 1-.4 1-1v-6H7Z'/%3E%3C/svg%3E");
}

/* PLANS */
.plansRow {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
}

.planLeft {
  --plan-reveal: 18%;
  --plan-base-bg: #e9e9e9;
  --plan-reveal-bg: var(--lime);
  --plan-text-base: #101010;
  --plan-text-reveal: #101010;
  --plan-muted-base: #2f2f2f;
  --plan-muted-reveal: #2f2f2f;
  --plan-cursor-x: 100%;
  --plan-cursor-y: 100%;
  background: radial-gradient(circle at var(--plan-cursor-x) var(--plan-cursor-y),
      var(--plan-reveal-bg) 0 var(--plan-reveal),
      var(--plan-base-bg) calc(var(--plan-reveal) + .5%));
  color: var(--plan-text-base);
  min-height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: --plan-reveal .6s ease, color .3s ease;
}

.plansTitle {
  margin: 10px 0 10px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: .02em;
}

.arrow {
  font-weight: 400;
  margin-left: 6px;
}

.planLeft .muted {
  color: var(--plan-muted-base);
  max-width: 320px;
}

.planLeft .btn {
  --btn-bg: #0c0c0c;
  --btn-color: #f7f7f7;
  --btn-border: #0c0c0c;
  margin-top: auto;
}

.planLeft:hover {
  --plan-reveal: 200%;
  color: var(--plan-text-reveal);
}

.planLeft:hover .muted {
  color: var(--plan-muted-reveal);
}

.planRight {
  padding: 0;
  min-height: 350px;
}

.planRight .imgPlaceholder {
  filter: contrast(0.9);
  height: 100%;
}

/* MAP */
.mapPanel {
  padding: 26px 28px;
}

.mapGrid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: center;
}

.mapText h2 {
  margin-bottom: 10px;
}

.mapWrap {
  position: relative;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  /* background: linear-gradient(135deg, #131313, #0f0f0f); */
  border: 1px solid rgba(232, 232, 232, .06);
}

.world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}

.land {
  fill: #6b6b6b;
}

.dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand-a);
  /* box-shadow:
    0 0 0 3px rgba(216, 255, 63, .2),
    0 0 30px rgba(216, 255, 63, .5),
    0 0 80px rgba(216, 255, 63, .18); */
  transform: translate(-50%, -50%);
}

/* NEWSLETTER */
.newsletter {
  background: var(--brand-a);
  color: #101010;
  padding: 34px 34px 42px;
  --newsletter-reveal: 0px;
  --newsletter-cursor-x: 50%;
  --newsletter-cursor-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: --newsletter-reveal .6s cubic-bezier(.4, 0, .2, 1);
}

.newsletter p {
  color: black;
}

.newsletter h2 {
  margin-bottom: 100px;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--newsletter-cursor-x) var(--newsletter-cursor-y),
      var(--lime) 0 var(--newsletter-reveal),
      rgba(215, 255, 65, 0) calc(var(--newsletter-reveal) + 0.5px));
  pointer-events: none;
  z-index: 0;
}

.newsletter.is-hovered {
  --newsletter-reveal: 300px;
}

.newsletter::after {
  z-index: 1;
}

.newsletter>* {
  position: relative;
  z-index: 2;
}

.newsForm {
  display: flex;
  gap: 16px;
  align-items: center;
}

.input {
  width: min(420px, 100%);
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .55);
  background: transparent;
  padding: 0 18px;
  outline: none;
  font-size: 14px;
}

.input::placeholder {
  color: rgba(0, 0, 0, .65);
}

/* FOOTER */
.footer {
  margin-top: 60px;
  padding: 40px 32px 24px;
  /* background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01)); */
  background-color: var(--panel);
  border-radius: var(--radius) var(--radius) 0 0;
  /* border-top: 1px solid var(--stroke2); */
}

.footerTop {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--stroke2);
}

.footerBrand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footerBrand .brand {
  gap: 12px;
}

.brandName {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .02em;
}

.footerBrand .muted {
  font-size: 14px;
  max-width: 280px;
}

.footerLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footerCol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footerCol h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}

.footerCol a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}

.footerCol a:hover {
  color: var(--brand-a);
}

.footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}

.footerBottom .muted {
  font-size: 13px;
}

.footerLegal {
  display: flex;
  gap: 24px;
}

.footerLegal a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s ease;
}

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

/* REVIEWS CAROUSEL */
.reviewsPanel {
  padding: 28px 32px 32px;
  overflow: hidden;
}

.reviewsHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}


.reviewsNav {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.carousel-btn {
  --btn-size: 44px;
  --btn-bg: rgba(0, 0, 0, .2);
  --btn-border: var(--stroke);
  --btn-color: var(--text);
  --btn-hover-bg: rgba(44, 154, 255, .1);
  --btn-hover-border: var(--brand-a);
  --btn-hover-color: var(--brand-a);
}

.carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  padding: 8px;
}

.review-card {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 280px;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--stroke2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.review-card:hover {
  border-color: var(--brand-a);
  transform: translateY(-4px);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, .4); */
}

.review-card:hover img {
  transform: scale(1.05);
}

.review-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  color: var(--brand-a);
}

.review-card:hover .review-overlay {
  opacity: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stroke);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}

.carousel-dot:hover {
  background: var(--muted);
}

.carousel-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--brand-a);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  /* box-shadow: 0 30px 80px rgba(0, 0, 0, .6); */
  transform: scale(.9);
  opacity: 0;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}

.lightbox.is-open .lightbox-content img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  --btn-size: 40px;
  --btn-bg: rgba(0, 0, 0, .5);
  --btn-border: var(--stroke);
  --btn-color: var(--text);
  --btn-hover-bg: rgba(44, 154, 255, .15);
  --btn-hover-border: var(--brand-a);
  --btn-hover-color: var(--brand-a);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  --btn-size: 48px;
  --btn-bg: rgba(0, 0, 0, .5);
  --btn-border: var(--stroke);
  --btn-color: var(--text);
  --btn-hover-bg: rgba(44, 154, 255, .15);
  --btn-hover-border: var(--brand-a);
  --btn-hover-color: var(--brand-a);
  --btn-transform: translateY(-50%);
  --btn-hover-transform: translateY(-50%);
  --btn-active-transform: translateY(-50%) scale(.96);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}


/* FAQ ACCORDION */
.faqPanel {
  padding: 28px 32px 38px;
}

.faqHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}


.faqHeader .muted {
  max-width: 320px;
  margin-top: 14px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  --accordion-title-base: #e8e8e8;
  --accordion-body-base: #e8e8e8;
  --accordion-icon-base: #e8e8e8;
  --accordion-title-color: var(--accordion-title-base);
  --accordion-body-color: var(--accordion-body-base);
  --accordion-icon-color: var(--accordion-icon-base);
  border: 1px solid var(--stroke2);
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  transition: border-color .3s ease;
}

.accordion-item.is-hovered:not(.is-open) {
  border-color: var(--brand-a);
}

.accordion-item.is-open {
  border-color: var(--brand-a);
  background: var(--brand-a);
  --accordion-title-base: #f7f9ff;
  --accordion-body-base: #f7f9ff;
  --accordion-text-reveal: #f7f9ff;
  --accordion-icon-base: #f7f9ff;
  --accordion-icon-reveal: #f7f9ff;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .2s ease;
}

.accordion-trigger:hover {
  background: transparent;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--brand-a);
  outline-offset: -2px;
}

.accordion-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--accordion-title-color);
  letter-spacing: .01em;
  transition: color .2s ease;
}

.accordion-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--accordion-icon-color);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
}

.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.accordion-item.is-open .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1);
}

.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-body {
  overflow: hidden;
}

.accordion-body p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--accordion-body-color);
  font-size: 15px;
  line-height: 1.65;
  transition: color .2s ease;
}

/* PAYMENT SHEET */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 9998;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .5s;
}

.sheet.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .5s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .5s;
}

.sheet.is-open .sheet-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .5s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 0s;
}

.sheet-panel {
  position: absolute;
  left: 50%;
  bottom: var(--safe-bottom);
  transform: translate(-50%, calc(100% + 20px + var(--safe-bottom)));
  width: min(1220px, calc(100% - (var(--page-pad) * 2)));
  background: var(--panel);
  /* border: 1px solid var(--stroke2); */
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: min(80vh, 720px);
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform .5s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .5s;
}

.sheet.is-open .sheet-panel {
  transform: translate(-50%, 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform .5s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 0s;
}

.sheet-handle {
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(232, 232, 232, .2);
  margin: 2px auto 10px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stroke2);
}

.sheet-header h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: .01em;
}

.sheet-close {
  --btn-size: 36px;
  --btn-bg: rgba(0, 0, 0, .4);
  --btn-border: var(--stroke);
  --btn-color: var(--text);
  --btn-hover-bg: rgba(44, 154, 255, .15);
  --btn-hover-border: var(--brand-a);
  --btn-hover-color: var(--brand-a);
}

.sheet-body {
  padding: 0;
  flex: 1;
  overflow: auto;
}

#paymentSheet [data-payment-layout][hidden] {
  display: none !important;
}

/* Promo sheet */
.sheet-panel--promo {
  max-width: 1220px;
  width: min(1220px, calc(100% - (var(--page-pad) * 2)));
  padding: 20px;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.promoClose {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  --btn-bg: rgba(0, 0, 0, .45);
  --btn-border: rgba(255, 255, 255, .15);
  --btn-color: #fff;
  --btn-hover-bg: rgba(0, 0, 0, .65);
  --btn-hover-border: rgba(255, 255, 255, .3);
  --btn-hover-color: #fff;
}

.promoLayout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.2fr);
  min-height: 420px;
  border-radius: calc(var(--radius) - 14px);
  overflow: hidden;
}

/* Left: blue card */
.promoLeft {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: linear-gradient(165deg, var(--brand-a) 0%, var(--brand-b) 100%);
  color: #fff;
}

.promoLeft-price {
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.03em;
  font-style: italic;
}

.promoLeft-period {
  font-size: 16px;
  margin-top: 6px;
  opacity: .9;
}

.promoLeft-divider {
  height: 1.5px;
  background: rgba(255, 255, 255, .25);
  margin: 20px 0;
}

.promoLeft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.promoLeft-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
}

.promoLeft-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.promoLeft-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.promoChip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  line-height: 1.3;
}

/* Right: hero image + overlay */
.promoRight {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 20px;
}

.promoRight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.55);
}

.promoRight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
}

.promoRight-content {
  border-radius: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 40px;
  height: 100%;
}

.promoRight-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.3;
  /* letter-spacing: -.01em; */
  text-align: right;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.promoRight-scribble {
  display: block;
  width: 400px;
  height: auto;
  margin-top: 8px;
  align-self: flex-end;
  object-fit: contain;
}

.promoRight-cta {
  margin-top: auto;
  min-width: 220px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 999px;
}

.planCard-cta {
  text-align: center;
}

.promoRight .sheet-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #ff6b6b;
  text-align: right;
  align-self: flex-end;
}

.promoRight .sheet-hint:empty {
  display: none;
}

/* Registered payment sheet (copied from open.html all-servers modal) */
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-panel {
  /* padding: 0; */
  gap: 0;
  overflow: hidden;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body>.sheet-grid[data-settings-layout="all-servers"] {
  height: 100%;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  gap: 0;
  align-content: stretch;
  background: var(--brand-a);
  -webkit-overflow-scrolling: touch;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-grid[data-settings-layout="all-servers"] {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-grid[data-settings-layout="all-servers"] .sheet-block {
  margin: 0;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 154px;
  padding: 26px 24px 22px;
  background: linear-gradient(165deg, var(--brand-a) 0%, var(--brand-b) 100%);
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  --btn-bg: rgba(0, 0, 0, .22);
  --btn-border: rgba(255, 255, 255, .26);
  --btn-color: #fff;
  --btn-hover-bg: rgba(0, 0, 0, .4);
  --btn-hover-border: rgba(255, 255, 255, .4);
  --btn-hover-color: #fff;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose--mobile {
  display: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose--body {
  display: inline-flex;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroTitle {
  margin: 0;
  color: #0f1217;
  font-family: "Nuqun", "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(28px, 8.5vw, 42px);
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroOperators {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroOperators::-webkit-scrollbar {
  display: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .all-option {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .opt-all-servers {
  background: #fff;
  color: var(--brand-a);
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .op-option {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, .18); */
  /* padding: 6px; */
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .op-option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBody {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 64px 22px calc(22px + var(--safe-bottom, 0px));
  background: var(--panel);
  border-radius: 34px 34px 0 0;
  box-sizing: border-box;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersDesktopTop,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBottom,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersTariffs {
  display: block;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedLabel,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPrice,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedScribble,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPeriod,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersProvider {
  display: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHint {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHint li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHint li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin-top: .45em;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlans {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitle {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.32;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitleDesktop {
  display: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitleMobile {
  display: inline;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 52px;

  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);

  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(232, 232, 232, .72);
  box-sizing: border-box;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanPrice,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanTerm {
  color: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanPriceWrap {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanOld {
  color: var(--muted2);
  font-size: 13px;
  text-decoration: line-through;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanTerm {
  justify-self: start;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem[aria-selected="true"],
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem:has(input:checked) {
  border: 2px solid;
  border-color: var(--brand-a);
  color: var(--brand-a);
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem[aria-selected="true"]::before,
body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem:has(input:checked)::before {
  border-color: var(--brand-a);
  box-shadow:
    inset 0 0 0 3px var(--panel),
    inset 0 0 0 8px var(--brand-a);
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem:focus-within {
  outline: 2px solid rgba(44, 154, 255, .5);
  outline-offset: 2px;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersActions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPaymentNote {
  margin: 0;
  color: var(--muted2);
  font-size: 15px;
  line-height: 1.32;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPayCta {
  --btn-hover-transform: none;
  --btn-active-transform: translateY(0);
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border-color: var(--brand-a);
  background: var(--brand-a);
  color: #fff;
  font-size: 16px;
  letter-spacing: .01em;
}

body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPayCta:hover {
  border-color: rgba(44, 154, 255, .92);
  background: rgba(44, 154, 255, .92);
  color: #fff;
}

@media (min-width: 721px) {
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body>.sheet-grid[data-settings-layout="all-servers"] {
    gap: 14px;
    background: transparent;
    grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    overflow: visible;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHero {
    min-height: 100%;
    padding: 34px 30px 30px;
    border-radius: 22px;
    justify-content: space-between;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroTitle {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.02;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose {
    top: 14px;
    right: 14px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBody {
    border: 2px solid var(--stroke2);
    min-height: 100%;
    padding: 56px 24px 20px;
    border-radius: 22px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    align-content: normal;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersDesktopTop {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(0, .52fr);
    gap: 20px;
    align-items: stretch;
    /* border-bottom: 1px solid var(--stroke2); */
    /* padding-bottom: 14px; */
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelected {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 18px;
    border-right: 1px solid var(--stroke2);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedLabel,
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPrice,
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedScribble,
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPeriod {
    display: block;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedLabel {
    margin: 0;
    font-size: 15px;
    color: var(--text);
    line-height: 1.2;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPrice {
    margin: 0;
    font-size: clamp(40px, 3.4vw, 52px);
    line-height: 1;
    font-weight: 700;
    color: var(--brand-a);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedScribble {
    /* width: 260px; */
    max-width: 100%;
    margin-top: -6px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelectedPeriod {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.25;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHint {
    margin: 40px 0 40px 0;
    flex: 1 1 auto;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersTariffs {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitle {
    margin: 0;
    font-size: 15px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitleDesktop {
    display: inline;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSubtitleMobile {
    display: none;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlans {
    margin-top: 0;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem {
    min-height: 50px;
    padding: 0 14px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--stroke2);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersActions {
    margin: 0;
    justify-items: start;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPaymentNote {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPayCta {
    max-width: 320px;
    min-height: 52px;
    border-color: #f3f3f3;
    background: #f3f3f3;
    color: #111;
    font-size: 20px;
    /* font-family: "Nuqun", "SF Pro Display", system-ui, sans-serif; */
    text-transform: none;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPayCta:hover {
    border-color: #dedede;
    background: #dedede;
    color: #111;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersProvider {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersProviderLogo {
    display: block;
    width: 132px;
    height: auto;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body>.sheet-grid[data-settings-layout="all-servers"] {
    grid-template-columns: 1fr;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHero {
    display: none;
  }
}

@media (max-width: 720px) {
  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-panel {
    width: 100%;
    max-width: 100%;
    bottom: 0;
    /* padding: 0 !important; */
    max-height: none;
    height: calc(100vh - var(--safe-top, 0px));
    height: calc(100dvh - var(--safe-top, 0px));
    display: flex;
    flex-direction: column;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .sheet-body>.sheet-grid[data-settings-layout="all-servers"] {
    min-height: 100%;
    height: auto;
    overflow: visible;
    grid-template-rows: auto minmax(240px, 1fr);
    border-radius: var(--radius);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHero {
    position: relative;
    padding: 22px ;
    background: var(--brand-a);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose {
    top: 12px;
    right: 12px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose--mobile {
    display: inline-flex;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersHeroClose--body {
    display: none;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBody {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px 18px calc(20px + var(--safe-bottom, 0px));
    border-radius: 28px 28px 0 0;
    gap: 14px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersDesktopTop {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersSelected {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersTariffs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlans {
    margin-top: 0;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersBottom {
    margin-top: auto;
    position: sticky;
    bottom: calc(8px + var(--safe-bottom, 0px));
    z-index: 2;
    padding-top: 8px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, .95) 30%, var(--panel) 100%);
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersActions {
    margin-top: 0;
    position: static;
    padding-top: 0;
    background: transparent;
  }

  body:not(.open-live-page) #paymentSheet[data-payment-mode="paid"] .allServersPlanItem {
    min-height: 50px;
    padding: 0 18px;
  }
}


/* Shared sheet/plan styles (used in open_live.html) */
.sheet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.sheet-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sheet-block-right {
  gap: 14px;
}

.sheet-subtitle {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 600;
}

.planGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.planOption {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke2);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.planOption:hover {
  border-color: rgba(44, 154, 255, .55);
  transform: translateY(-1px);
}

.planOption:focus-within {
  border-color: var(--brand-a);
}

.planOption input {
  accent-color: var(--brand-a);
}

.planMeta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.planTitle {
  font-weight: 600;
  font-size: 16px;
}

.planNote {
  display: block;
  color: var(--muted2);
  font-size: 13px;
}

.planPrice {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
}

.payGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.payOption {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke2);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.payOption:hover {
  border-color: rgba(44, 154, 255, .55);
}

.payOption:focus-within {
  border-color: var(--brand-a);
}

.payOption input {
  accent-color: var(--brand-a);
}

.payTitle {
  font-weight: 600;
  font-size: 16px;
}

.payTitle svg,
.payTitle svg * {
  fill: #fff;
  stroke: #fff;
}

.payNote {
  display: block;
  color: var(--muted2);
  font-size: 13px;
  margin-top: 2px;
  grid-column: 2;
}

.sheet-hint {
  margin: 4px 0 0;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
}

.no-scroll {
  overflow: hidden;
}

/* LOGIN MODAL */
.sheet-panel--login {
  max-width: 440px;
  width: min(440px, calc(100% - (var(--page-pad) * 2)));
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.login-input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(0, 0, 0, .3);
  padding: 0 16px;
  outline: none;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.login-input::placeholder {
  color: var(--muted2);
}

.login-input:focus {
  border-color: var(--brand-a);
  box-shadow: 0 0 0 3px rgba(44, 154, 255, .15);
}

.login-submit {
  width: 100%;
  margin-top: 6px;
}

.login-forgot {
  text-align: center;
  font-size: 14px;
  color: var(--brand-a);
  text-decoration: none;
  transition: opacity .2s ease;
}

.login-forgot:hover {
  opacity: .75;
}

@media (min-width: 981px) {
  .sheet-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .accordion-faq {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .sheet-panel {
    padding: 18px 18px 20px;
    max-height: 85vh;
  }

  .sheet-grid {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .sheet-block {
    border-radius: 18px;
    flex: 1;
    min-height: 0;
  }

  .sheet-block-right {
    flex: 0 0 auto;
  }

  .sheet-panel--promo {
    max-width: 100%;
    width: 100%;
    bottom: 0;
    padding: 12px 10px calc(10px + var(--safe-bottom));
    max-height: none;
    height: calc(100vh - var(--safe-top));
    height: calc(100dvh - var(--safe-top));
    display: flex;
    flex-direction: column;
  }

  .promoLayout {
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(220px, 1fr);
    min-height: 100%;
    height: 100%;
    flex: 1 0 auto;
    align-content: stretch;
  }

  .promoLeft {
    padding: 24px 20px 20px;
  }

  .promoLeft-price {
    font-size: 44px;
  }

  .promoLeft-list li {
    font-size: 14px;
  }

  .promoLeft-divider {
    margin: 16px 0;
  }

  .promoLeft-chips {
    margin-top: 18px;
  }

  .promoRight {
    min-height: 220px;
    height: 100%;
  }

  .promoRight-title {
    font-size: 36px;
  }

  .promoRight-content {
    padding: 20px 20px calc(20px + var(--safe-bottom));
  }

  .promoRight-cta {
    min-width: unset;
    width: 100%;
    position: sticky;
    bottom: calc(8px + var(--safe-bottom));
    z-index: 2;
  }

  .planOption {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .planPrice {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    font-size: 16px;
    margin-top: 0;
  }

  .promoRight-scribble {
    width: 290px;
    margin-bottom: 24px;
  }
}

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

  .topbarWrap.is-sticky .topbar {
    animation: none;
  }

}

@media (max-width: 1100px) and (min-width: 981px) {
  .nav {
    gap: 22px;
  }

  .smallRight {
    max-width: 360px;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  :root {
    --page-pad: 22px;
    --panel-pad-x: 28px;
    --panel-pad-y: 32px;
    --section-gap: 70px;
    --anchor-offset: calc(var(--topbar-h, 64px) + 12px + var(--safe-top));
    --radius: 28px;
  }


  .topbarActions .btn {
    margin-right: -10px;
  }

  .faq-btn {
    max-width: 100%;
  }

  .valuesLeft p {
    max-width: 100%;
  }

  .topbar {
    padding: 8px 10px;
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .topbarWrap.is-sticky .topbar {
    padding: 8px 20px;
    border-radius: 0 0 24px 24px;
  }

  .nav {
    display: none;
  }

  .topbar .btn {
    display: inline-flex;
    margin-left: auto;
  }

  .topbarActions {
    margin-left: auto;
    justify-content: flex-end;
  }

  .topbarActions .btn {
    margin-left: 0;
  }

  .heroTitle {
    padding: 10px 0 0;
  }

  .heroTitle h1 {
    font-size: clamp(38px, 7.5vw, 56px);
    letter-spacing: .02em;
  }

  .heroSide {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .heroCards {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 14px;
    justify-items: stretch;
    padding-bottom: 0;
  }

  .imgCard {
    height: clamp(200px, 52vw, 260px);
  }

  .imgCard-left {
    width: 100%;
    border-radius: 22px;
  }

  .imgCard-leftMask {
    display: none;
  }

  .heroFoot {
    position: static;
    margin-top: 10px;
    font-size: 14px;
  }

  .scribble {
    height: auto;
    width: clamp(140px, 45vw, 260px);
    left: 38%;
    top: 141px;
  }

  .valuesGrid {
    grid-template-columns: 1fr;
  }

  .valuesRight {
    min-height: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pill {
    font-size: 26px;
    height: 56px;
    padding: 0 22px;
  }

  .pill-rot1,
  .pill-rot2 {
    position: static;
    transform: rotate(0deg);
  }

  .pillRow {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .featuresTop {
    flex-direction: column;
    align-items: flex-start;
  }

  .smallRight {
    max-width: none;
    margin-top: 8px;
  }

  .chipRow {
    margin-top: 15px;
  }

  .cardRow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .featureCard {
    min-height: 0;
    gap: 5px;
  }

  .featureActions {
    flex-direction: column;
    /* margin-top: 30px; */
  }

  .deviceGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
  }

  .deviceGrid>.muted {
    grid-column: 1 / -1;
  }

  .circle {
    width: 100%;
    max-width: 160px;
    justify-self: center;
  }

  .platform-icon {
    width: 64px;
    height: 64px;
  }

  .plansRow {
    grid-template-columns: 1fr;
  }

  .mapGrid {
    grid-template-columns: 1fr;
  }

  .mapWrap {
    height: 320px;
  }

  .newsletter {
    padding: 28px 28px 34px;
  }

  .newsletter h2 {
    margin-bottom: 100px;
  }

  .newsForm {
    flex-wrap: wrap;
  }

  .newsForm .input {
    flex: 1 1 100%;
    width: 100%;
  }

  .newsForm .btn {
    flex: 1 1 100%;
  }

  .reviewsHeader {
    flex-direction: column;
    gap: 16px;
  }

  .reviewsNav {
    margin-top: 0;
  }

  .review-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 200px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: calc(10px + var(--safe-top));
    right: 10px;
  }

  .faqHeader {
    flex-direction: column;
    gap: 10px;
  }

  .faqHeader .muted {
    max-width: none;
    margin-top: 0;
  }

  .accordion-trigger {
    padding: 16px 18px;
    min-height: var(--control-h);
  }

  .accordion-title {
    font-size: 16px;
  }

  .accordion-body p {
    padding: 0 18px 20px;
    font-size: 14px;
  }

  .btn:not(.btn-icon),
  .input {
    min-height: var(--control-h);
  }

  .footer {
    padding: 32px 20px 20px;
  }

  .footerTop {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footerLinks {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footerBottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footerLegal {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-pad: 20px;
    --panel-pad-x: 24px;
    --panel-pad-y: 28px;
    --section-gap: 56px;
    --radius: 26px;
  }

  .heroTitle h1 {
    font-size: clamp(36px, 8vw, 52px);
  }

  .deviceGrid {
    gap: 14px;
  }

  .circle {
    max-width: 150px;
  }

  .platform-icon {
    width: 60px;
    height: 60px;
  }

  .reviewsPanel {
    padding: 24px 24px 28px;
  }

  .faqPanel {
    padding: 24px 24px 30px;
  }

  .newsletter {
    padding: 26px 24px 30px;
  }
}

@media (max-width: 480px) {
  :root {
    --page-pad: 16px;
    --panel-pad-x: 18px;
    --panel-pad-y: 22px;
    --section-gap: 35px;
    --radius: 22px;
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .topbar {
    padding: 6px 8px;
  }

  .brandLogo {
    width: 26px;
    height: 26px;
  }

  .topbar .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .heroTitle h1 {
    font-size: clamp(30px, 10.5vw, 44px);
  }

  .scribble {
    height: auto;
    width: clamp(140px, 65vw, 300px);
    left: 27%;
    top: 190px;
  }

  .heroCards {
    margin-top: 24px;
    gap: 12px;
  }

  .imgCard {
    height: clamp(190px, 50vw, 230px);
  }

  .featureCard {
    padding: 16px;
  }

  .featureCard h3 {
    font-size: clamp(26px, 8.8vw, 32px);
    line-height: 1.45;
  }

  .valuesRight {
    min-height: auto;
    gap: 10px;
  }

  .pill {
    font-size: 22px;
    height: 48px;
    padding: 0 18px;
  }

  .pillRow {
    gap: 8px;
  }

  .featureActions {
    flex-direction: column;
  }

  .chip {
    height: auto;
    padding: 8px 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .deviceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .circle {
    max-width: 150px;
  }

  .platform-icon {
    width: 56px;
    height: 56px;
  }

  .reviewsPanel {
    padding: 22px 18px 24px;
  }

  .review-card {
    flex: 0 0 100%;
    min-width: 0;
  }

  .cardRow {
    gap: 18px;
  }

  .carousel-btn {
    --btn-size: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    --btn-size: 40px;
  }

  .faqPanel {
    padding: 22px 18px 24px;
  }

  .accordion-trigger {
    padding: 14px 16px;
  }

  .accordion-title {
    font-size: 15px;
  }

  .footerLinks {
    grid-template-columns: 1fr;
  }

  .footerLegal {
    flex-direction: column;
    gap: 10px;
  }

  .footerLegal a {
    text-align: center;
  }

  .heroTitle h1,
  .featureCard h3,
  .accordion-title,
  .footerLegal a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  :root {
    --page-pad: 14px;
    --panel-pad-x: 16px;
    --panel-pad-y: 20px;
    --section-gap: 36px;
    --radius: 20px;
  }

  h2 {
    font-size: clamp(28px, 9.5vw, 36px);
  }

  .heroTitle h1 {
    font-size: clamp(28px, 11vw, 40px);
  }

  .topbar .btn {
    padding: 7px 10px;
  }

  .featureCard h3 {
    font-size: clamp(24px, 9vw, 30px);
  }

  .platform-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 430px) {
  .plansTitle {
    font-size: clamp(30px, 9vw, 40px);
  }
}

.hero-cta {
  position: absolute;
  left: 0;
  bottom: 45px;
  /* box-shadow: 0 18px 60px rgba(217, 255, 63, 0.39); */
  padding: 16px 28px;
  font-size: 18px;
  color: white;
}

.heroCards .imgCard:nth-of-type(2) {
  position: static;
}

@media (max-width: 980px) {
  .heroCards .imgCard:nth-of-type(2) {
    position: relative;
  }

  .featureCard h3 {
    margin-bottom: 30px;
  }

  .imgCard .imgPlaceholder.ph-2 {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
  }

  .imgCard .imgPlaceholder.ph-2>img {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .imgCard .imgPlaceholder.ph-2>.hero-cta {
    position: relative;
    z-index: 1;
    margin: 0 0 16px 16px;
    bottom: 0;
  }
}

/* ================================================
   PAYMENT PAGE
   ================================================ */

/* Lock scroll on payment page */
.payPage {
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Hero override for payment — vertically centered */
.payHero {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.payTopbar {
  flex-shrink: 0;
}

/* Two-column grid, vertically centered in remaining space */
.payWrap {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  flex: 1;
  align-content: center;
}

/* Left: text block */
.payLeft {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.payTitle {
  display: flex;
  font-family: 'Elastre', 'Nuqun', "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(35px, 5.7vw, 78px);
  margin: 0;
  letter-spacing: .04em;
  line-height: 1.05;
  animation: paySlideUp .8s cubic-bezier(.4, 0, .2, 1) both;
}

.payLead {
  max-width: 420px;
  font-size: 15px;
  animation: paySlideUp .7s .12s cubic-bezier(.4, 0, .2, 1) both;
}

/* Right: spinner + caption */
.payRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: paySlideLeft .8s .2s cubic-bezier(.4, 0, .2, 1) both;
}

/* Spinner */
.paySpinner {
  position: relative;
  width: clamp(220px, 26vw, 320px);
  height: clamp(220px, 26vw, 320px);
}

.paySpinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--lime);
  border-bottom-color: var(--lime);
  animation: paySpin 2.4s linear infinite;
}

.paySpinner-glow {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
      rgba(232, 232, 232, .06) 0%,
      transparent 60%);
  border: 1px solid var(--stroke2);
}

/* Spinner cross (error state) */
.paySpinner-cross {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.paySpinner-crossLine {
  position: absolute;
  width: 4px;
  height: 38%;
  border-radius: 3px;
  background: #ff4444;
  transform-origin: center center;
  transform: scaleY(0);
}

.paySpinner-crossLine:nth-child(1) {
  rotate: 45deg;
}

.paySpinner-crossLine:nth-child(2) {
  rotate: -45deg;
}

/* Error state */
.paySpinner.is-error .paySpinner-ring {
  animation: paySpinStop .8s cubic-bezier(.4, 0, .2, 1) forwards;
  border-top-color: #ff4444;
  border-bottom-color: #ff4444;
}

.paySpinner.is-error .paySpinner-cross {
  opacity: 1;
  transition: opacity .1s .6s;
}

.paySpinner.is-error .paySpinner-crossLine {
  animation: payDrawCrossLine .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

.paySpinner.is-error .paySpinner-crossLine:nth-child(1) {
  animation-delay: .65s;
}

.paySpinner.is-error .paySpinner-crossLine:nth-child(2) {
  animation-delay: .8s;
}

@keyframes paySpinStop {
  0% {
    opacity: 1;
    border-width: 4px;
  }

  60% {
    opacity: .6;
    border-width: 3px;
    transform: rotate(180deg);
  }

  100% {
    opacity: 0;
    border-width: 0px;
    transform: rotate(270deg);
  }
}

@keyframes payDrawCrossLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Caption under spinner */
.payCaption {
  font-size: 14px;
  color: var(--muted2);
  letter-spacing: .02em;
  text-align: center;
  transition: color .4s ease;
  animation: paySlideUp .5s .4s cubic-bezier(.4, 0, .2, 1) both;
}

.payCaption--highlight {
  color: var(--lime);
}

.dots {
  display: inline-block;
  min-width: 1.2em;
  text-align: left;
}

/* Keyframes */
@keyframes paySpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes paySlideUp {
  from {
    clip-path: inset(0 0 100% 0);
    filter: blur(6px);
  }

  to {
    clip-path: inset(0 0 0% 0);
    filter: blur(0px);
  }
}

@keyframes paySlideLeft {
  from {
    clip-path: inset(0 0 0 100%);
    filter: blur(6px);
  }

  to {
    clip-path: inset(0 0 0 0%);
    filter: blur(0px);
  }
}

/* Responsive: mobile stacks to single column */
@media (max-width: 760px) {
  .payPage {
    justify-content: flex-start;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .payWrap {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .payLeft {
    align-items: center;
  }

  .payLead {
    max-width: 100%;
  }

  .payRight {
    order: 1;
  }

  .paySpinner {
    width: clamp(180px, 45vw, 240px);
    height: clamp(180px, 45vw, 240px);
  }
}

.payOrderId {
  position: fixed;
  bottom: 12px;
  right: 16px;
  font-size: 11px;
  font-family: "SF Pro Display", system-ui, sans-serif;
  color: var(--muted2);
  opacity: .45;
  pointer-events: none;
  z-index: 1;
}

.payTrialSteps {
  position: fixed;
  bottom: 12px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "SF Pro Display", system-ui, sans-serif;
  pointer-events: none;
  z-index: 1;
  opacity: .62;
}

.payTrialStep {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted2);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease, opacity .2s ease;
}

.payTrialStep-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.payTrialStep.is-active {
  color: var(--text);
  opacity: .9;
}

.payTrialStep.is-active .payTrialStep-dot {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.payTrialStep.is-done {
  color: var(--muted2);
  opacity: .85;
}

.payTrialStep.is-done .payTrialStep-dot {
  border-color: rgba(99, 212, 152, .7);
  background: rgba(99, 212, 152, .55);
}

.payTrialStep.is-error {
  color: #ffb8b8;
}

.payTrialStep.is-error .payTrialStep-dot {
  border-color: rgba(255, 130, 130, .8);
  background: rgba(255, 130, 130, .62);
  box-shadow: 0 0 0 2px rgba(255, 130, 130, .12);
}

/* Reduced motion: disable intro animations and slow/stop spinner */
@media (prefers-reduced-motion: reduce) {

  .payTitle,
  .payLead,
  .payRight,
  .payCaption {
    animation: none;
  }

  .paySpinner-ring {
    animation: paySpin 12s linear infinite;
  }
}

@media (max-width: 680px) {
  .payTrialSteps {
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }

  .payTrialStep-label {
    font-size: 9px;
    letter-spacing: .03em;
  }
}
