/* Happ.market v2 — app.css (NO-CONFLICT CLEAN BUILD)
 
/* =========================
   THEME TOKENS (ONE ROOT)
   ========================= */
:root{
  /* header controls sizing (cabinet + language button) */
  --header-ctrl-h: 46px;

  /* language dropdown */
  --ui-lang-radius: 16px;
  --ui-flag: 28px;
  --ui-flag-radius: 9px;

  --bg0:#050506;
  --bg1:#111216;

  --glass:  rgba(255,255,255,.070);
  --stroke: rgba(156,163,175,.22);

  --text: rgba(245,245,245,.96);
  --muted: rgba(212,212,216,.76);
  --muted2: rgba(161,161,170,.62);

  --shadow1: 0 10px 28px rgba(0,0,0,.28);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --shadow3: 0 26px 85px rgba(0,0,0,.62);

  --radius1: 20px;
  --radius2: 28px;

  /* Happ.market palette: black, graphite and silver */
  --accent:  #f4f4f5;
  --accent2: #a1a1aa;
  --pAccent: #52525b;

  --btn: rgba(255,255,255,.09);
  --btnHover: rgba(255,255,255,.14);
  --chip: rgba(255,255,255,.09);

  --ok: rgba(244,244,245,.92);
  /* error / destructive */
  --bad: rgba(255,59,48,.96);
}

*{box-sizing:border-box}
html,body{height:100%}

html{
  scroll-behavior:smooth;
  text-rendering: geometricPrecision;
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
}

body{
  margin:0;
  color:var(--text);

  /* фон у тебя в wallpaper.css */
  background: transparent;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.35;
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;

  position: relative;

  /* Layout: sticky footer without hacks */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Make the main content take the remaining viewport height so the footer stays at the bottom on short pages */
body > main{ flex: 1 0 auto; }
body > footer{ flex: 0 0 auto; }

::selection{ background: rgba(244,244,245,.24); color: rgba(232,247,255,.96); }

::-webkit-scrollbar{ width: 12px; height: 12px; }
::-webkit-scrollbar-track{ background: rgba(255,255,255,.04); }
::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.14);
  border: 3px solid rgba(0,0,0,0);
  background-clip: padding-box;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover{ background: rgba(255,255,255,.20); background-clip: padding-box; }

a{color:inherit; text-decoration:none}
.wrap{max-width:1180px; margin:0 auto; padding:0 18px}
.row{display:flex; gap:14px; align-items:center}
/* Unified body copy (keep headings untouched)
   Target look: like the text in the "Скачать для iOS" blocks, but a bit larger */
.tiny{font-size:14px; line-height:1.45; color:var(--muted2); text-align:justify; text-justify:inter-word; hyphens:auto; -webkit-hyphens:auto; -ms-hyphens:auto;}

/* =========================
   GLASS / CARDS
   ========================= */
.glass{
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* neon rim + glow */
  box-shadow:
    0 16px 48px rgba(0,0,0,.50),
    0 0 0 1px rgba(161,161,170,.10),
    0 0 22px rgba(161,161,170,.12),
    0 0 22px rgba(82,82,91,.10);
}
.glass.soft{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card{ padding:16px; }
/* Credentials card (cabinet) */
.cred-title{
  font-weight: 900;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 14px;
  text-align: center;
}
.cred-grid{
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.cred-label{
  font-size: 14px;
  font-weight: 700;
  color: var(--muted2);
  opacity: .85;
  margin-bottom: 6px;
}
.cred-value{
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cred-note{
  margin-top: 10px;
  opacity: .75;
}


.glass:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  opacity:.40;
  background: radial-gradient(900px 260px at 20% 0%, rgba(255,255,255,.18), transparent 55%);
  mix-blend-mode: screen;
}

/* тонкая “цветная кромка” внутри */
.glass:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(135deg,
    rgba(161,161,170,.22),
    rgba(244,244,245,.14),
    rgba(82,82,91,.18));
  opacity:.52;
  mix-blend-mode: screen;

  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* =========================
   HEADER
   ========================= */
header{
  position:sticky;
  top:0;
  z-index:50;
  padding: 10px 0;

  /* ближе к "плитке" корпоративного тарифа (glass) */
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));


  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,.06);

  /* мягкая подсветка вниз */
  box-shadow:
    0 10px 26px rgba(82,82,91,.10),
    0 16px 46px rgba(161,161,170,.06);
}

/* можно оставить верхнюю тонкую линию (очень слабую) */
header:before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(161,161,170,.22), rgba(82,82,91,.18), transparent);
  opacity:.35;
  pointer-events:none;
}

/* НЕОН ТОЛЬКО СНИЗУ */
header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  pointer-events:none;

  background: linear-gradient(90deg,
    transparent,
    rgba(82,82,91,.88),
    rgba(161,161,170,.40),
    rgba(82,82,91,.70),
    transparent);

  box-shadow:
    0 0 14px rgba(82,82,91,.26),
    0 0 22px rgba(161,161,170,.14);
  opacity: .95;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position: relative;
}

/* Бренд слева (только логотип) */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:780;
  letter-spacing:-.03em;
  text-transform:uppercase;
}

/* Happ.market wordmark */
.logo{
  width:54px;
  height:54px;
  border-radius:0;
  border:none;
  box-shadow:none;
  overflow:visible;
  position:relative;

  background-image: url("../img/logo.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}
.logo:after{ display:none; }

/* Нав */
nav{display:flex; gap:18px; color:var(--muted); font-size:14px;}
nav a:hover{color:rgba(232,247,255,.92)}

/* Кнопка языка по центру (если есть .langBtn в HTML) */
.langBtn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(161,161,170,.22);
}
.langBtn:active{ transform: translateY(1px); }

/* Правый блок */
.actions{display:flex; gap:10px; align-items:center}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: var(--btn);
  color: var(--text);
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
  user-select:none;
  font-weight:720;
  font-size:14px;
  white-space:nowrap;
  box-shadow: var(--shadow1);
}
.btn:hover{background:var(--btnHover); border-color: rgba(255,255,255,.22)}
.btn:active{transform: translateY(1px)}
.btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(82,82,91,.18),
    var(--shadow1);
  border-color: rgba(161,161,170,.22);
}

/* Disabled / non-clickable state (used e.g. when email is being typed on checkout) */
.btn:disabled,
.btn.is-disabled,
.btn[aria-disabled="true"]{
  opacity: .45;
  filter: grayscale(1);
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.btn.primary{
  background:
    radial-gradient(140px 120px at 30% 20%, rgba(255,255,255,.22), transparent 58%),
    linear-gradient(135deg, rgba(82,82,91,.92), rgba(161,161,170,.55));
  border-color: rgba(255,255,255,.22);
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 0 34px rgba(161,161,170,.14),
    0 0 34px rgba(82,82,91,.14);
}

.btn.secondary{
  background:
    radial-gradient(140px 120px at 30% 20%, rgba(255,255,255,.14), transparent 64%),
    linear-gradient(135deg, rgba(82,82,91,.26), rgba(161,161,170,.16));
  border-color: rgba(161,161,170,.18);
  box-shadow:
    0 16px 44px rgba(0,0,0,.42),
    0 0 18px rgba(161,161,170,.08),
    0 0 18px rgba(82,82,91,.07);
}
.btn.secondary:hover{
  background:
    radial-gradient(160px 140px at 30% 20%, rgba(255,255,255,.18), transparent 66%),
    linear-gradient(135deg, rgba(82,82,91,.32), rgba(161,161,170,.20));
  border-color: rgba(161,161,170,.22);
}

.btn.ghost{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow:none; }
.btn.full{width:100%}
.btn.small{padding:9px 12px; border-radius:14px}

/* =========================
   HERO
   ========================= */
.hero{padding: 0px 0 14px;}
.heroGrid{display:grid; grid-template-columns: 1.18fr .82fr; gap: 14px; align-items: stretch;}
.hTitle{font-size: 44px; line-height: 1.04; letter-spacing: -.05em; margin: 0; font-weight: 860;}
.heroBrandTitle{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
  margin:0 8px 6px 0;
}
.heroBrandLogo{
  width:72px;
  height:72px;
  object-fit:contain;
  flex:0 0 auto;
  transform: translateY(58px);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.28));
}
.hSub{margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 58ch;}

/* CTA buttons in hero: equal size + centered */
.heroCtas{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.heroCtas .btn{width:100%; justify-content:center;}

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

@media (max-width: 520px){
  .heroCtas{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .heroCtas .btn{padding: 10px 12px; font-size: 15px;}
}

.heroBullets{
  margin: 14px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
  color: rgba(232,247,255,.78);
  font-size: 13.5px;
}
.heroBullets li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.heroBullets li:before{
  content:"";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 2px;
  flex: 0 0 14px;

  background:
    radial-gradient(8px 8px at 28% 28%,
      rgba(255,255,255,.92),
      rgba(255,255,255,.22) 45%,
      transparent 72%),
    radial-gradient(12px 12px at 70% 78%,
      rgba(52,199,89,.40),
      transparent 62%),
    linear-gradient(135deg,
      rgba(52,199,89,.96),
      rgba(86,255,170,.60));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 3px rgba(52,199,89,.10),
    0 0 0 6px rgba(52,199,89,.08),
    0 10px 22px rgba(0,0,0,.34);
}

.chips{display:flex; flex-wrap:wrap; gap:9px; margin-top: 14px;}
.chip{
  padding: 8px 11px; border-radius: 999px;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(232,247,255,.84); font-size: 12.5px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* =========================
   BADGES / PROMO INPUT
   ========================= */
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding: 7px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  font-size: 12px; color: rgba(232,247,255,.84);
  width:max-content;
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
}
.badge.pop{
  border-color: rgba(82,82,91,.44);
  background: rgba(82,82,91,.12);
  color: rgba(232,247,255,.96);
}
.badge.tier{
  border-color: rgba(161,161,170,.28);
  background: rgba(161,161,170,.09);
  color: rgba(232,247,255,.96);
}

.promoBox{
  border-radius: var(--radius2);
  padding: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.promoRow{display:flex; gap: 10px; align-items:center; margin-top: 10px;}

input[type="text"],
input[type="email"]{
  width:100%;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder{color: rgba(232,247,255,.42)}

input[type="text"]:focus,
input[type="email"]:focus{
  border-color: rgba(161,161,170,.42);
  background: rgba(0,0,0,.26);
  box-shadow: 0 0 0 3px rgba(161,161,170,.10);
}

.status{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease;
}
.status.show{ opacity: 1; visibility: visible; }
.status.ok{color: var(--ok)}
.status.bad{color: var(--bad)}

/* make error notifications clearly "red" (used across checkout/cabinet forms) */
.status.bad.show{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,59,48,.12);
  border: 1px solid rgba(255,59,48,.30);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

/* ПРОМО (как ты просил: постоянный пурпурный glow + пульсация) */
#promoInput{
  border-color: rgba(82,82,91,.58) !important;
  box-shadow:
    0 0 0 2px rgba(82,82,91,.22),
    0 0 24px rgba(82,82,91,.16),
    0 0 48px rgba(82,82,91,.10) !important;
  animation: promoGlowPulse 2.8s ease-in-out infinite;
}
#promoInput:focus{
  border-color: rgba(82,82,91,.78) !important;
  box-shadow:
    0 0 0 3px rgba(82,82,91,.30),
    0 0 28px rgba(82,82,91,.20),
    0 0 60px rgba(82,82,91,.12) !important;
  animation: promoGlowPulseFocus 1.9s ease-in-out infinite;
}
@keyframes promoGlowPulse{
  0%, 100%{
    box-shadow:
      0 0 0 2px rgba(82,82,91,.20),
      0 0 22px rgba(82,82,91,.14),
      0 0 44px rgba(82,82,91,.08);
  }
  50%{
    box-shadow:
      0 0 0 2px rgba(82,82,91,.30),
      0 0 30px rgba(82,82,91,.20),
      0 0 60px rgba(82,82,91,.12);
  }
}
@keyframes promoGlowPulseFocus{
  0%, 100%{
    box-shadow:
      0 0 0 3px rgba(82,82,91,.26),
      0 0 28px rgba(82,82,91,.18),
      0 0 60px rgba(82,82,91,.10);
  }
  50%{
    box-shadow:
      0 0 0 3px rgba(82,82,91,.36),
      0 0 36px rgba(82,82,91,.24),
      0 0 76px rgba(82,82,91,.14);
  }
}
@media (prefers-reduced-motion: reduce){
  #promoInput{ animation: none; }
}

/* =========================
   SECTIONS / GRIDS
   ========================= */
.sectionTitle{margin: 0; font-size: 28px; letter-spacing: -.03em; font-weight: 840;}
.pricingTitle{font-size:24px; line-height:1.22; letter-spacing:-.025em;}
.sectionSub{margin: 8px 0 0; color: var(--muted); font-size: 14px;}
.grid3{margin-top: 14px; display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; align-items: stretch;}
.blockSection{ padding: 14px 0; }

/* =========================
   TICKER / MARQUEE
   ========================= */
.ticker{
  margin: 0 0 0px;
  padding: 10px 0;
  border-radius: 999px;
}
.tickerTrack{
  display:flex;
  align-items:center;
  width:max-content;
  white-space:nowrap;
  will-change: transform;
  animation: tickerMove 22s linear infinite;
}
.tickerItem{
  font-size: 14px;
  font-weight: 820;
  letter-spacing: -.02em;
  padding: 0 28px;
  padding-right: 84px;
  color: var(--text);
}
@keyframes tickerMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .tickerTrack{ animation: none; }
}

/* ticker: transparent container (only moving text visible) */
.glass.ticker{
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.glass.ticker:before,
.glass.ticker:after{
  content: none !important;
}

/* =========================
   CHECKOUT / PAYMENT / CABINET (DESKTOP COMPACT)
   Fix: remove "blow up" on desktop + unify these pages
   ========================= */

/* layout helpers used by checkout.php */
.checkoutInner{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}
.checkoutCol{min-width:0;}
.checkoutSubTitle{
  font-weight: 860;
  letter-spacing: -.02em;
  opacity: .92;
}
.checkoutPriceLine{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 10px;
  flex-wrap:wrap;
}
.checkoutPrice{
  font-size: 18px;
  font-weight: 860;
}

/* Checkout: access input + Telegram alternative */
.checkoutAltBlock{ margin-top: 12px; }
.checkoutAltLabel{ font-size: 12px; opacity: .75; margin-bottom: 6px; }
.checkoutTgHint{ font-size: 12px; opacity: .7; margin-top: 6px; }

/* Checkout: remove inline styles from checkout.php */
.checkoutOrderMeta{ margin-top: 8px; }
.checkoutPriceWrap{ margin-top: 14px; }
.checkoutNextStepHint{ margin-top: 10px; opacity: .9; }
.checkoutForm{ margin-top: 12px; }
.checkoutAgreeRow{ margin-top: 12px; }
.checkoutAgreeRow .agreeText{
  font-size: 12px;
  font-weight: 500; /* чуть жирнее */
  text-align: justify;
}
.checkoutFormStatus{ margin-top: 6px; min-height: 0; }
.checkoutPayBtn{ margin-top: 8px; }
.checkoutSupport{ margin-top: 10px; }
.checkoutMobileBack{ margin-top: 12px; }

@media (min-width: 981px){
  /* desktop: keep these pages compact + consistent (single column, sane width) */
  body.checkoutPage main .wrap > .glass.card{
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  body.checkoutPage .hTitle{
    font-size: 34px;
  }
  body.checkoutPage .hSub{
    font-size: 14px;
    margin-top: 8px;
  }

  /* tighter spacing for desktop */
  body.checkoutPage .card{
    padding: 14px;
  }

  /* always single column (user asked) */
  .checkoutInner{
    grid-template-columns: 1fr;
  }

  /* cabinet auth form: match checkout width */
  body.cabinetPage.authMode main.wrap{
    max-width: 760px !important;
  }
  body.cabinetPage.authMode .authCard{
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 980px){
  .checkoutInner{
    grid-template-columns: 1fr;
  }
}

/* cabinet OTP timer (slightly bigger, requested) */
.otp-timer{
  font-size: 16px;
  font-weight: 900;
}

/* =========================
   PLANS
   ========================= */
.planWrap{ height: 100%; display: flex; }
.plan{ height: 100%; flex: 1; }

.planWrap{
  border-radius: var(--radius2);
  position: relative;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease;
  transform: translateZ(0);
  will-change: transform;
  overflow: visible;
}
.planWrap:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow3);
}
.planWrap:active{ transform: translateY(-1px); }

.plan{
  padding: 18px;
  position:relative;
  overflow:hidden;
  min-height: 460px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 12px;
  transform: translateZ(0);
  transition: border-color .18s ease;
  box-shadow: none !important;
}
.planWrap:hover .plan{ border-color: rgba(255,255,255,.18); }

.plan:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-radius:inherit;
  padding:0;
  -webkit-mask:none !important;
  mask:none !important;
  mix-blend-mode:normal;
  background:
    url("../img/tariff-card-wallpaper-visible.png") center 48% / 82% auto no-repeat,
    radial-gradient(360px 220px at 50% 45%, rgba(244,244,245,.16), transparent 60%),
    radial-gradient(260px 150px at 16% 12%, rgba(82,82,91,.14), transparent 62%),
    radial-gradient(280px 160px at 88% 18%, rgba(161,161,170,.10), transparent 62%),
    radial-gradient(300px 200px at 50% 110%, rgba(244,244,245,.08), transparent 60%),
    radial-gradient(260px 160px at 40% 0%, rgba(82,82,91,.06), transparent 62%);
  opacity:1;
  filter: contrast(1.12) brightness(1.08);
  pointer-events:none;
}

.plan:after{
  content:"";
  position:absolute;
  z-index:0;
  top:-40%;
  left:-60%;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.12) 45%, transparent 70%);
  transform: rotate(18deg);
  opacity:0;
  transition: opacity .18s ease, left .38s ease;
  pointer-events:none;
  mix-blend-mode: screen;
}
.planWrap:hover .plan:after{ opacity:.45; left:-10%; }
.plan > *{position:relative; z-index:1}

.planCardImage{ display:none; }
@media (max-width: 640px){
  .plan:before{
    background-size: 108% auto, auto, auto, auto, auto, auto;
    background-position: center 44%, 50% 45%, 16% 12%, 88% 18%, 50% 110%, 40% 0%;
  }
}

.planName{font-size:14px; color:rgba(232,247,255,.78)}
.priceLine{margin-top: 10px; display:flex; align-items:baseline; gap: 10px; flex-wrap:wrap;}
.price{font-size: 40px; letter-spacing: -.04em; font-weight: 860; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;}
.per{color:var(--muted); font-size: 14px; font-weight:700}

/* Promo compare prices (old vs new) */
.price{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;}
.priceOld{
  color:#ff4d4f;
  text-decoration: line-through;
  font-size: 18px;
  font-weight: 860;
  opacity: .9;
}
.priceNew{display:inline-flex; align-items:baseline; gap:6px;}

/* Old price animation: slide-in then pulse 3 times */
.priceOld.animOld{
  animation:
    oldSlideIn 600ms cubic-bezier(.2,.9,.2,1) both,
    oldPulse 260ms ease-in-out 3 650ms;
  transform-origin: right center;
  will-change: transform, opacity;
}

@keyframes oldSlideIn{
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: .95; transform: translateX(0); }
}

@keyframes oldPulse{
  0%   { transform: translateX(0) scale(1); }
  50%  { transform: translateX(0) scale(1.12); }
  100% { transform: translateX(0) scale(1); }
}

@media (prefers-reduced-motion: reduce){
  .priceOld.animOld{ animation: none; }
}



.payInfo{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(232,247,255,.74);
  display:grid;
  gap: 6px;
}
.payInfo b{color: rgba(232,247,255,.92)}

/* Trial: emphasize the "Потом" line (bigger text as requested) */
.payInfo .payLaterBig{
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.01em;
  color: rgba(232,247,255,.92);
}

/* Seg */
.seg{
  margin-top: 12px;
  display:flex;
  width:max-content;
  max-width:100%;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.11);
  gap: 6px;
  flex-wrap:wrap;
}
.segBtn{
  appearance:none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(232,247,255,.78);
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -.01em;
  transition: background .12s ease, border-color .12s ease, transform .12s ease, box-shadow .12s ease;
  user-select:none;
  line-height: 1;
  white-space:nowrap;
}
.segBtn:hover{background: rgba(255,255,255,.07)}
.segBtn:active{transform: translateY(1px)}
.segBtn.active{
  background:
    radial-gradient(120px 60px at 20% 20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(82,82,91,.55), rgba(161,161,170,.26));
  border-color: rgba(255,255,255,.18);
  color: rgba(232,247,255,.97);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* Features list */
.features{
  margin: 14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 9px;
  color: rgba(232,247,255,.78);
  font-size: 13px;
}
.features li{display:flex; gap:10px; align-items:flex-start;}
.supernetwork-line{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  white-space:normal;
}
.supernetwork-label{white-space:nowrap;}
.supernetwork-value{white-space:nowrap;}
.check{
  width:18px; height:18px; flex:0 0 18px;
  border-radius: 9px;
  background: rgba(161,161,170,.12);
  border:1px solid rgba(161,161,170,.22);
  display:inline-flex; align-items:center; justify-content:center;
  margin-top: 1px;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.check svg{width:12px; height:12px; fill: rgba(232,247,255,.95)}

/* Trial */
.trialPill{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap:14px;
  padding: 14px 14px;
  border-radius: 26px;
  border: 1px solid rgba(82,82,91,.30);
  background:
    radial-gradient(240px 140px at 12% 50%, rgba(82,82,91,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  box-shadow: 0 16px 44px rgba(0,0,0,.30);
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

/* Hide trial toggle + text for non-RU locale */
html:not([lang="ru"]) .trialPill .trialTexts,
html:not([lang="ru"]) .trialPill .trialSwitch{
  display:none !important;
}
html:not([lang="ru"]) .trialPill{ cursor: default; }
html:not([lang="ru"]) .trialPill:hover{ transform: none; }
html:not([lang="ru"]) .trialPill:active{ transform: none; }
.trialPill:hover{
  border-color: rgba(82,82,91,.44);
  box-shadow: 0 18px 52px rgba(0,0,0,.34);
  transform: translateY(-1px);
}
.trialPill:active{ transform: translateY(0px); }

.trialOrb{
  width:34px; height:34px; border-radius: 999px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.58), rgba(255,255,255,.10)),
    radial-gradient(18px 18px at 65% 65%, rgba(82,82,91,.42), transparent 60%),
    linear-gradient(135deg, rgba(82,82,91,.30), rgba(161,161,170,.16));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 28px rgba(0,0,0,.30);
  flex: 0 0 auto;
}

/* Trial ON: make the orb green (same green as hero bullets) */
.trialPill.on .trialOrb{
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.58), rgba(255,255,255,.10)),
    radial-gradient(18px 18px at 65% 65%, rgba(52,199,89,.40), transparent 60%),
    linear-gradient(135deg, rgba(52,199,89,.96), rgba(86,255,170,.60));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 3px rgba(52,199,89,.10),
    0 0 0 6px rgba(52,199,89,.08),
    0 14px 28px rgba(0,0,0,.30);
}

.trialTexts{flex:1; min-width:0;}
.trialTitle{
  font-weight: 860;
  letter-spacing: -.02em;
  font-size: 15px;
  line-height: 1.15;
  display: inline-block;
  will-change: transform, filter;
  animation: trialPulse 1.6s ease-in-out infinite;
}

/* Trial ON: give the title a subtle neon-green tint */
.trialPill.on .trialTitle{
  color: rgba(196,255,224,.92);
  text-shadow: 0 0 14px rgba(52,199,89,.22);
}

@keyframes trialPulse{
  0%, 100%{ transform: translateZ(0) scale(1); filter: brightness(1); }
  50%{ transform: translateZ(0) scale(1.05); filter: brightness(1.18); }
}

@media (prefers-reduced-motion: reduce){
  .trialTitle{ animation: none; }
}
.trialSub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(232,247,255,.72);
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  display: none;
}
/* Hide the trial duration subtext under "Попробовать за 10 ₽" (e.g., "2 дня") */
.trialPill.on .trialSub{ display:none; }

.trialSwitch{
  width: 62px;
  height: 34px;
  border-radius: 999px;
  padding: 3px;
  background: rgba(82,82,91,.16);
  border: 1px solid rgba(82,82,91,.26);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  transition: background .12s ease, border-color .12s ease;
  flex: 0 0 auto;
}
.trialKnob{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.62), rgba(255,255,255,.12)),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 14px 28px rgba(0,0,0,.34);
  transition: transform .12s ease;
}

.trialPill.on{
  border-color: rgba(82,82,91,.52);
  background:
    radial-gradient(240px 140px at 18% 50%, rgba(82,82,91,.24), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.04));
  box-shadow: 0 20px 60px rgba(0,0,0,.38);
}
.trialPill.on .trialSwitch{
  justify-content:flex-end;
  background: rgba(82,82,91,.26);
  border-color: rgba(82,82,91,.44);
}

/* Business seats */
.seatsBox{
  margin-top: 12px;
  border-radius: 20px;
  padding: 14px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.10);
}
.seatsTop{
  display:flex; justify-content:space-between; gap: 10px; align-items:center;
  font-size:13px; color: rgba(232,247,255,.82);
}
.rangeWrap{
  position:relative;
  margin-top: 12px;
  padding: 14px 10px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
  clip-path: inset(0 round 18px);
  transform: translateZ(0);
  isolation: isolate;
}
.rangeTrackGlow{
  position:absolute;
  left:10px; right:10px;
  top:50%;
  height:12px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(82,82,91,.22), rgba(161,161,170,.16), rgba(244,244,245,.14));
  opacity:.85;
  pointer-events:none;
  box-shadow:
    0 0 18px rgba(82,82,91,.14),
    0 0 28px rgba(161,161,170,.10),
    0 0 36px rgba(244,244,245,.08);
}

#seatPos{ --fill: 0%; }

input[type="range"]{
  width:100%;
  background: transparent;
  margin: 0;
  padding: 0;
  -webkit-appearance:none;
  appearance:none;
  height: 38px;
  position: relative;
  z-index: 1;
}
input[type="range"]:focus{ outline:none; }

#seatPos::-webkit-slider-runnable-track{
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(82,82,91,.46) 0%,
      rgba(161,161,170,.28) var(--fill),
      rgba(255,255,255,.10) var(--fill),
      rgba(255,255,255,.06) 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:
    radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,.60), rgba(255,255,255,.12)),
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 14px 28px rgba(0,0,0,.38);
  margin-top: -8px;
}

#seatPos::-moz-range-track{
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
#seatPos::-moz-range-progress{
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(82,82,91,.46), rgba(161,161,170,.28));
}
input[type="range"]::-moz-range-thumb{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 14px 28px rgba(0,0,0,.38);
}

.tierRow{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.tierBtn{
  appearance:none;
  width: calc(50% - 4px);
  flex: 1 0 calc(50% - 4px);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(232,247,255,.82);
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 12px;
  font-weight: 760;
  transition: background .12s ease, border-color .12s ease, transform .12s ease, box-shadow .12s ease;
  user-select:none;
  line-height: 1;
  white-space:nowrap;
}
.tierBtn:hover{ background: rgba(255,255,255,.08); box-shadow: 0 14px 32px rgba(0,0,0,.22); }
.tierBtn:active{ transform: translateY(1px); }
.tierBtn.active{
  background:
    radial-gradient(120px 60px at 20% 20%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, rgba(82,82,91,.30), rgba(161,161,170,.16));
  border-color: rgba(255,255,255,.20);
  color: rgba(232,247,255,.96);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

/* =========================
   TABLES / TWO COLS / FOOTER
   ========================= */
table{width:100%; border-collapse: collapse; margin-top: 12px; font-size: 14px;}
thead th{
  text-align:left; font-weight:720; color: rgba(232,247,255,.72);
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
tbody td{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(232,247,255,.84);
}
tbody tr:last-child td{border-bottom:none}
tbody tr:hover td{ background: rgba(255,255,255,.03); }

.two{margin-top: 14px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px;}
.step{padding: 16px; border-radius: var(--radius2);}
.step h4{margin:0; font-size:15px}
.step p{margin:8px 0 0; color: var(--muted); font-size:13px}

footer{
  margin-top: 18px;
  padding: 18px 0 14px;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(232,247,255,.62);
  font-size: 13px;
  line-height: 1.25;
}

.footerSupport__title{
  margin: 0;
  color: rgba(245,245,245,.96);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 860;
}
.footerSupport__sub{
  margin: 8px auto 0;
  max-width: 680px;
  color: rgba(232,247,255,.72);
  font-size: 14px;
  line-height: 1.45;
}
.footerSupport__body{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footerSupport__btn{
  width: min(520px, 100%);
  justify-content: center;
  gap: 10px;
}
.footerSupport__line,
.footerSupport__email{
  width: min(720px, 100%);
  color: rgba(232,247,255,.74);
  font-weight: 600;
  line-height: 1.4;
}
.footerSupport__emailLabel{
  opacity: .92;
}
.footerSupport__emailLink{
  color: rgba(245,245,245,.94);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 820px){
  .footerSupport{
    padding: 20px 24px;
  }
  .footerSupport__emailLink{
    margin-left: 8px;
  }
}
@media (max-width: 520px){
  .footerSupport{
    padding: 16px 14px;
    border-radius: 18px;
  }
  .footerSupport__emailLabel,
  .footerSupport__emailLink{
    display: block;
  }
  .footerSupport__emailLink{
    margin-top: 6px;
  }
}
.foot{display:flex; justify-content:space-between; gap: 10px; flex-wrap:wrap; align-items:center;}
.links{display:flex; gap: 10px; flex-wrap:wrap}
.links a{color: rgba(232,247,255,.62)}
.links a:hover{color: rgba(232,247,255,.90)}

/* ===========================
   Checkout / Return additions
   =========================== */
.formGrid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .formGrid{grid-template-columns: 1fr;}
}

.field{ display:grid; gap:8px; }
.field label{
  font-weight:760;
  font-size: 13px;
  color: rgba(232,247,255,.84);
}
.help{
  font-size: 12px;
  color: rgba(232,247,255,.62);
  line-height: 1.35;
}

.checkboxRow{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top: 12px;
}
.checkboxRow input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pAccent);
}

.notice{
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  color: rgba(232,247,255,.82);
  font-size: 13px;
}
.notice.ok{ border-color: rgba(161,161,170,.26); background: rgba(161,161,170,.07); }
.notice.bad{ border-color: rgba(251,113,133,.26); background: rgba(251,113,133,.07); }

.kv{
  margin-top: 12px;
  display:grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(232,247,255,.80);
}
.kvRow{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}
.kvRow b{ color: rgba(232,247,255,.94); }
.kvRow span{ color: rgba(232,247,255,.72); }

.appBtns{
  margin-top: 12px;
  display:grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px){
  .appBtns{grid-template-columns: 1fr 1fr;}
}
@media (max-width: 520px){
  .appBtns{grid-template-columns: 1fr;}
}

hr.sep{
  border:0;
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .heroGrid{grid-template-columns: 1fr;}
  .grid3{grid-template-columns: 1fr;}
  .two{grid-template-columns: 1fr;}
  nav{display:none}
  .pricingTitle{font-size:20px; line-height:1.24;}
}

@media (max-width: 520px){
  .hTitle{font-size: 36px;}
  .heroBrandTitle{justify-content:flex-end; margin:0 4px 4px 0;}
  .heroBrandLogo{width:58px; height:58px; transform: translateY(32px);}
  .price{font-size: 34px;}
  .pricingTitle{font-size:18px; line-height:1.26;}

  /* Личный кабинет НЕ скрываем, а делаем компактнее */
  .actions .btn.ghost{
    display:inline-flex;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  /* чтобы центр (langBtn) не раздувал шапку */
  .trialPill{padding: 12px 12px; gap:12px;}
  .trialTitle{font-size:14px;}
}

@media (prefers-reduced-motion: reduce){
  .planWrap, .btn, .trialPill, .segBtn, .tierBtn{
    transition:none !important;
  }
  .plan:after{ display:none; }
}


/* ==========================================================================
   LANG DROPDOWN (single, clean)
   Language button = same HEIGHT as cabinet button (.cabBtn)
   ========================================================================== */

/* Hide legacy language icon button if it exists */
.langBtn{ display:none !important; }

/* Make cabinet + language button same height */
.cabBtn,
.langDD__btn{
  height: var(--header-ctrl-h) !important;
  min-height: var(--header-ctrl-h) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Dropdown wrapper */
.langDD{
  position: relative;
  display:flex;
  align-items:center;
  margin-left: 12px;
}

/* Button uses .btn.ghost from HTML; tune spacing */
.langDD__btn{
  border-radius: var(--ui-lang-radius) !important;
  gap: 10px !important;
  padding-left: 10px !important;
  padding-right: 12px !important;
}

/* Code label */
.langDD__code{
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 12px;
  opacity: .92;
  white-space: nowrap;
}

/* Chevron */
.langDD__chev{
  font-size: 12px;
  opacity: .75;
  margin-left: 2px;
  transform: translateY(-1px);
}

/* Menu */
.langDD__menu{
  position:absolute;
  right:0;
  top: calc(100% + 10px);

  width: 240px;
  padding: 10px;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(18, 16, 28, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display:none;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.langDD.is-open .langDD__menu{ display:block; }

/* Menu items */
.langDD__item{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;

  border:0;
  background: transparent;
  color: inherit;

  padding: 10px 10px;
  border-radius: 14px;
  cursor:pointer;
  text-align:left;
}
.langDD__item:hover{ background: rgba(255,255,255,.08); }
.langDD__item.is-active{ background: rgba(192,59,255,.18); }

/* Flags */
.langDD .flag{
  width: var(--ui-flag) !important;
  height: var(--ui-flag) !important;
  border-radius: var(--ui-flag-radius) !important;
  display:block !important;
  background-size: cover !important;
  background-position:center !important;
  flex: 0 0 auto;
}

/* Paths (app.css lives in assets/css; flags in assets/img/flags) */
.flag-ru{ background-image:url("../img/flags/ru.svg") !important; }
.flag-en{ background-image:url("../img/flags/gb.svg") !important; } /* swap to us.svg if needed */
.flag-tm{ background-image:url("../img/flags/tm.svg") !important; }
.flag-cn{ background-image:url("../img/flags/cn.svg") !important; }
.flag-kp{ background-image:url("../img/flags/kp.svg") !important; }
.flag-ir{ background-image:url("../img/flags/ir.svg") !important; }

/* Mobile tweaks */
@media (max-width: 920px){
  .langDD{ margin-left: 8px; }
}
@media (max-width: 520px){
  :root{ --header-ctrl-h: 42px; }
  .langDD__menu{ width: 220px; }
}


/* ==========================================================================
   LANG DROPDOWN — when placed next to Cabinet (inside .actions)
   ========================================================================== */
.actions{ position: relative; }
.actions .langDD{ margin-left: 0 !important; }
.actions .langDD__menu{ right: 0 !important; left: auto !important; }


/* ==========================================================================
   FLAGS: rectangular with nice rounded corners (recommended)
   ========================================================================== */
:root{
  --ui-flag-w: 36px;
  --ui-flag-h: 24px;
  --ui-flag-radius: 7px; /* soft corners, not capsule */
}

.langDD .flag{
  width: var(--ui-flag-w) !important;
  height: var(--ui-flag-h) !important;
  border-radius: var(--ui-flag-radius) !important;
  overflow: hidden !important;

  /* looks natural for flags; if any flag crops too much, switch to contain */
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  /* subtle border so it looks premium */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}


/* ==========================================================================
   INDEX refresh: non-clickable info lists (Features / Devices / HowTo)
   Keeps glass aesthetic but removes "tile button" feeling.
   ========================================================================== */

.infoList{
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.infoItem{
  display: flex;
  gap: 12px;
  align-items: flex-start;

  padding: 14px 14px;
  border-radius: 18px;

  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);

  /* Important: looks like content, not a button */
  cursor: default;
  user-select: text;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
}

.infoDot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 6px;
  flex: 0 0 12px;

  background: linear-gradient(135deg, rgba(82,82,91,.95), rgba(161,161,170,.55));
  box-shadow: 0 0 0 3px rgba(161,161,170,.10), 0 10px 22px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.22);
}

.infoBody h4{
  margin: 0;
  font-size: 15px;
  letter-spacing: -.01em;
}
.infoBody p{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.deviceList{
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.deviceItem{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  cursor: default;
  user-select: text;
}

.deviceIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 26px rgba(0,0,0,.20);
  font-size: 18px;
}

.deviceBody h4{ margin: 0; font-size: 15px; }
.deviceBody p{ margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.howList{
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.howItem{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;

  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);

  cursor: default;
  user-select: text;
}

.howN{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 860;
  color: rgba(232,247,255,.96);

  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.18), transparent 62%),
    linear-gradient(135deg, rgba(82,82,91,.45), rgba(161,161,170,.22));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

.howBody h4{ margin: 0; font-size: 15px; }
.howBody p{ margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.supportGrid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.supportCard{
  padding: 16px;
  cursor: default;
  user-select: text;
}
.supportCard h4{ margin: 0; font-size: 15px; }
.supportCard p{ margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.supportContacts{
  padding: 16px;
}

@media (max-width: 980px){
  .infoList{ grid-template-columns: 1fr; }
  .deviceList{ grid-template-columns: 1fr; }
  .supportGrid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   INDEX — SINGLE TILES (FEATURES / DEVICES / HOWTO)
   One big glass tile per section (no "clickable cards" feeling)
   ========================================================================== */

.infoTile{
  margin-top: 14px;
  padding: 18px;
  box-shadow: var(--shadow2);
}

/* 6 feature rows inside one tile */
.infoGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.infoItem{
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.10);
}
.infoTitle{
  font-weight: 840;
  letter-spacing: -.02em;
  font-size: 15px;
}
.infoText{
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Devices list inside one tile */
.deviceList{
  display:grid;
  gap: 12px;
}
.deviceRow{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.10);
}
.deviceIco{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
  flex: 0 0 34px;
  font-size: 18px;
  line-height: 1;
}
.deviceTitle{
  font-weight: 840;
  letter-spacing: -.02em;
  font-size: 15px;
}
.deviceText{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Howto steps inside one tile */
.stepsOneTile{
  list-style:none;
  padding: 0;
  margin: 0;
  display:grid;
  gap: 12px;
}
.stepLine{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.10);
}
.stepNum{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing: -.02em;

  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.20), transparent 62%),
    linear-gradient(135deg, rgba(82,82,91,.40), rgba(161,161,170,.18));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  flex: 0 0 34px;
}
.stepTitle{
  font-weight: 860;
  letter-spacing: -.02em;
  font-size: 15px;
}
.stepText{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 980px){
  .infoGrid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   INDEX — FEATURES BULLETS (NO MINI TILES)
   One big tile; bullet orbs like in .heroBullets (no inner mini-cards)
   ========================================================================== */
.tileBullets{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(232,247,255,.86);
  font-size: 14px;
  line-height: 1.4;
}
.tileBullets li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tileBullets li::before{
  content:"";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 4px;
  flex: 0 0 14px;

  background:
    radial-gradient(8px 8px at 28% 28%,
      rgba(255,255,255,.92),
      rgba(255,255,255,.22) 45%,
      transparent 72%),
    radial-gradient(12px 12px at 70% 78%,
      rgba(161,161,170,.40),
      transparent 62%),
    linear-gradient(135deg,
      rgba(82,82,91,.96),
      rgba(161,161,170,.60));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 3px rgba(161,161,170,.10),
    0 0 0 6px rgba(82,82,91,.08),
    0 10px 22px rgba(0,0,0,.34);
}
.tileBullets b{
  color: rgba(232,247,255,.96);
  font-weight: 860;
}


/* ==========================================================================
   INDEX — SUPPORT LINES (TITLE ON TOP, TEXT UNDER)
   Like "Как подключить", but without numbered tiles.
   ========================================================================== */
.supportLines{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

/* New (2026-01): Support block — clean stacked layout (desktop + mobile) */
.supportStack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  padding: 22px 18px;
}

.supportBtn{
  width: min(520px, 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-align:center;
}

.supportEmail{
  width: min(720px, 100%);
  text-align:center;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}

.supportEmailLabel{
  opacity: .92;
  font-weight: 600;
  margin-bottom: 6px;
}

.supportEmailLink{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 820px){
  .supportStack{
    padding: 26px 24px;
    gap: 16px;
  }
  .supportEmailLabel{
    display:inline;
    margin: 0;
  }
  .supportEmailLink{
    display:inline;
    margin-left: 8px;
  }
}

/* ==========================================================================
   INDEX — SUPPORT MERGE (TELEGRAM ICON)
   Telegram icon inside button + spacing
   ========================================================================== */


/* ==========================================================================
   CABINET — BUTTON GRIDS (equal widths)
   ========================================================================== */
.cab-btns{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:10px;
  align-items: stretch;
}
.cab-btns.cab-btns-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cab-btns .btn{
  width:100%;
  justify-content:center;
}
.cab-btns .btn.cab-center{
  justify-content:center;
  text-align:center;
}
@media (max-width: 520px){
  .cab-btns{ grid-template-columns: 1fr; }
  .cab-btns.cab-btns-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px){
  .cab-btns.cab-btns-2{ grid-template-columns: 1fr; }
}

.btnIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.btnIcon svg{
  width: 18px;
  height: 18px;
  display:block;
}
.btnIcon img{
  width: 18px;
  height: 18px;
  display:block;
}

/* When icon goes after the text (e.g. Telegram button on checkout) */
.btnIcon--after{
  margin-left: 6px;
  margin-right: 0;
}

/* ==========================================================================
   INDEX — SUPPORT LINKS + TG SVG
   - inline link styling for "личного кабинета" + mail
   - telegram.svg icon inside button
   ========================================================================== */
.tgIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 20px;
  height: 20px;
}
.tgIcon img{
  width: 18px;
  height: 18px;
  display:block;
}

.supportMail{
  width: 100%;
  text-align: center;

  color: rgba(232,247,255,.82);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 2px;
}

/* Desktop: one line, centered block, left-aligned text */
@media (min-width: 521px){
  .supportMail{
    white-space: nowrap;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 860px){
  .supportLayout{ grid-template-columns: 1fr; gap: 16px; }
  .supportLeft, .supportRight{ grid-column: auto; }
  .supportRight{ border-right: 0; padding-right: 0; }
  .supportRight{
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 14px;
  }
}

@media (max-width: 520px){
  .tgRow{ flex-direction: column; align-items: center; }
  .supportHintWrap{ justify-content: center; }
}


/* ==========================================================================
   INDEX — INLINE LINK WHITE UNDERLINE
   ========================================================================== */
.inlineLink{
  color: rgba(232,247,255,.95);
  text-decoration: underline;
  text-decoration-color: rgba(232,247,255,.92);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.inlineLink:hover{
  text-decoration-color: rgba(232,247,255,1);
}

/* ==========================================================================
   INDEX — DEVICE LIST WITH SVG ICONS
   ========================================================================== */
.deviceList{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.deviceList li{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 12px;
  /* Не создаём ощущение "кнопок" — элементы не кликаются */
  border-radius: 18px;
  border: none;
  background: transparent;
  cursor: default;
  user-select: text;
}
.deviceList li:hover{
  background: transparent;
}


/* Dividers between device items */
.deviceList li{ position: relative; }
.deviceList li:not(:nth-child(4n+1))::before{
  content: "";
  position: absolute;
  left: -6px; /* half of 12px gap */
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255,255,255,.12);
}

@media (max-width: 980px){
  .deviceList li::before{ content: none; }
  .deviceList li + li::before{
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: -6px; /* half of 12px gap */
    height: 1px;
    background: rgba(255,255,255,.12);
  }
}
.devIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(135deg, rgba(82,82,91,.16), rgba(161,161,170,.10));
  border: 1px solid rgba(255,255,255,.14);
  flex: 0 0 34px;
}
.devIcon img{
  width: 18px;
  height: 18px;
  display: block;
}
.devTitle{
  font-weight: 860;
  letter-spacing: -.02em;
}
.devSub{
  margin-top: 6px;
  color: rgba(232,247,255,.72);
  font-size: 13px;
  line-height: 1.35;
}

/* ==========================================================================
   FEATURES — RESPONSIVE GRID
   ========================================================================== */
.featuresTile{
  padding: 18px;
}
.featureGrid{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.featureItem{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.featureIcon{
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 20px;
  line-height: 1;
}
.featureIcon::before{
  content: "✅";
}
.featureBody{min-width: 0;}
.featureTitle{
  color: rgba(232,247,255,.96);
  font-weight: 860;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 1.2;
}
.featureDesc{
  color: rgba(232,247,255,.78);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 6px;
}
@media (max-width: 860px){
  .featureGrid{grid-template-columns: 1fr;}
}
@media (max-width: 420px){
  .featuresTile{padding: 14px;}
  .featureItem{padding: 12px; border-radius: 16px;}
  .featureIcon{width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px;}
  .featureTitle{font-size: 15px;}
  .featureDesc{font-size: 13px;}
}


.devText{ text-align: center; }


/* Roblox special offer */
.plan.roblox{
  border-color: rgba(255, 59, 59, .32) !important;
  position: relative;
  overflow: hidden;

  /* Roblox background image (kept visible) + readable overlay */
  background-image:
    /* stronger tint so text stays readable */
    linear-gradient(90deg, rgba(10,12,20,.55), rgba(10,12,20,.92)),
    url("../img/roblox-bg.png");
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
}

/* Roblox: reduce glass rim overlays so background image is visible */
.plan.roblox.glass:before{ opacity: .22; }
.plan.roblox.glass:after{ opacity: .18; }

/* subtle dark overlay for readability (lighter than before) */
.plan.roblox::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.82));
  opacity: .62;
  z-index: 1;
  pointer-events: none;
}

/* extra readability on busy image */
.plan.roblox .planName,
.plan.roblox .price,
.plan.roblox .per,
.plan.roblox .payInfo,
.plan.roblox .features li{
  text-shadow: 0 2px 14px rgba(0,0,0,.72);
}

/* keep content above overlays */
.plan.roblox > *{
  position: relative;
  z-index: 2;
}

.badge.roblox{
  background: rgba(255, 59, 59, .22);
  border: 1px solid rgba(255, 59, 59, .36);
  color: rgba(255,255,255,.92);
}

.btn.roblox{
  background: linear-gradient(90deg, rgba(255, 59, 59, .86), rgba(30,30,34,.80));
  border: 1px solid rgba(255, 59, 59, .38);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.btn.roblox:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
/* (removed) .robloxCta banner */

/* Messengers special offer (WhatsApp green) */
.plan.messengers{
  border-color: rgba(37, 211, 102, .34) !important;
  position: relative;
  overflow: hidden;

  /* subtle WhatsApp-green glow */
  background-image:
    radial-gradient(820px 320px at 78% 12%, rgba(37, 211, 102, .22), rgba(10,12,20,0) 60%),
    linear-gradient(180deg, rgba(10,12,20,.55), rgba(10,12,20,.92));
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.plan.messengers.glass:before{ opacity: .22; }
.plan.messengers.glass:after{ opacity: .18; }

.badge.messengers{
  background: rgba(37, 211, 102, .18);
  border: 1px solid rgba(37, 211, 102, .34);
  color: rgba(255,255,255,.92);
}

.btn.messengers{
  background: linear-gradient(90deg, rgba(37, 211, 102, .88), rgba(30,30,34,.80));
  border: 1px solid rgba(37, 211, 102, .38);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.btn.messengers:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.messengersLeft{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(232,247,255,.92);
}
.messengersSvg{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
.messengersLabel{
  font-size: 14px;
  line-height: 1.1;
  opacity: .92;
  white-space: nowrap;
}


/* ==========================================================================
   MOBILE: force visible dividers in "Устройства"
   (Some mobile layouts hide the old ::before line because it was drawn in the grid gap.)
   ========================================================================== */
@media (max-width: 980px){
  .deviceList{ gap: 0 !important; }

  .deviceList li{
    position: relative !important;
  }

  /* disable previous divider implementation */
  .deviceList li::before{
    content: none !important;
  }

  /* add spacing and draw divider for every item except the first */
  .deviceList li + li{
    padding-top: 22px !important;
    margin-top: 0 !important;
  }

  .deviceList li + li::after{
    content: "" !important;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 10px;
    height: 1px;
    background: rgba(255,255,255,.22);
  }
}

/* === CSP inline-style migration (auto-generated) === */
.cspis-01382aca4c{opacity: .7 !important; margin-top: 12px !important;}
.cspis-02f2793c12{max-width: 820px !important; margin: 0 auto !important;}
.cspis-0312a93af8{opacity: .75 !important;}
.cspis-040cf38267{margin-top: 6px !important; font-weight: 800 !important;}
.cspis-0413867b13{text-align: left !important;}
.cspis-0479e12d01{margin-top: 16px !important; font-weight: 800 !important;}
.cspis-05afb585c5{margin-top: 8px !important; opacity: .8 !important;}
.cspis-081ddf5e63{white-space: pre-wrap !important; word-break: break-word !important; margin: 0 !important;}
.cspis-0ab4e3b941{min-width: 1200px !important;}
.cspis-0abe2060dc{margin-top: 10px !important; overflow: auto !important;}
.cspis-108f204842{opacity: .85 !important; margin-top: 12px !important;}
.cspis-1294519fc5{margin-top: 0 !important;}
.cspis-1acdb699f4{min-height: 52px !important; display: flex !important; align-items: center !important;}
.cspis-1d436efc1f{margin-top: 6px !important;}
.cspis-23d4760314{color: rgba(232,247,255,.62) !important;}
.cspis-28d892f857{margin-top: 12px !important; color: #d0ffd8 !important;}
.cspis-2a322c913a{padding-top: 18px !important;}
.cspis-2beed09c8a{grid-template-columns: 1.05fr .95fr !important;}
.cspis-2c9f246c3b{opacity: .9 !important;}
.cspis-2eae471dc6{padding: 18px !important;}
.cspis-32fb29efb8{white-space: nowrap !important;}
.cspis-3453dc204d{opacity: .8 !important; margin-top: 8px !important;}
.cspis-35bbbb43b7{padding: 14px !important; border-radius: 18px !important;}
.cspis-378df99290{margin-top: 14px !important; flex-wrap: wrap !important; gap: 10px !important;}
.cspis-38965f9b18{margin: 0 !important;}
.cspis-3b6fad0b29{margin-top: 10px !important;}
.cspis-3d620ed207{font-size: 24px !important;}
.cspis-41e985d994{margin: 0 0 12px 0 !important;}
.cspis-42bd935787{flex-wrap: wrap !important;}
.cspis-452a9f4287{opacity: .9 !important; margin: 0 0 14px 0 !important;}
.cspis-455d25e665{margin-top: 14px !important; opacity: .85 !important;}
.cspis-4632c2738a{grid-template-columns: 1fr 1fr !important; gap: 12px !important;}
.cspis-46f7a8d53f{font-size: 36px !important;}
.cspis-4a8881b090{white-space: pre-wrap !important; margin: 0 !important;}
.cspis-4c689949ef{cursor: pointer !important; font-weight: 720 !important;}
.cspis-4d4786f525{margin-top: 10px !important; opacity: .8 !important;}
.cspis-50b3eb7300{display: flex !important; flex-wrap: wrap !important; gap: 10px !important;}
.cspis-52c5f9a9cc{margin-top: 8px !important; opacity: .75 !important;}
.cspis-5393c03b99{opacity: .75 !important; margin-top: 12px !important;}
.cspis-56b46b6cb2{margin-top: 14px !important; opacity: .9 !important;}
.cspis-5799f494bd{font-size: 34px !important;}
.cspis-5af0915d9e{margin-top: 14px !important; gap: 10px !important; flex-wrap: wrap !important;}
.cspis-5bc300d7d8{margin-top: 14px !important; opacity: .75 !important;}
.cspis-5bd0075bb5{margin: 0 0 10px 0 !important;}
.cspis-5d44f1e511{display: flex !important; gap: 10px !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important;}
.cspis-61c233c154{max-width: 900px !important;}
.cspis-65ecfb2811{width: 100% !important; border-collapse: collapse !important;}
.cspis-6637a24e8f{margin-top: 14px !important; display: flex !important; flex-direction: column !important; gap: 12px !important;}
.cspis-665abdb762{margin-top: 12px !important; opacity: .8 !important;}
.cspis-67c6a41882{margin-top: 16px !important; display: flex !important; gap: 10px !important; flex-wrap: wrap !important;}
.cspis-690438074f{display: flex !important; gap: 10px !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important;}
.cspis-69fef17225{padding: 18px 0 42px !important; max-width: 1040px !important;}
.cspis-6aa34d7432{display: none !important;}
.cspis-6c2c614033{font-weight: 780 !important; letter-spacing: -.02em !important;}
.cspis-6e44927894{opacity: .75 !important; margin-bottom: 6px !important;}
.cspis-726e8b317f{margin-top: 10px !important;}
.cspis-76977cc9f2{margin-top: 16px !important;}
.cspis-7a5dc3814d{margin-top: 12px !important; flex-wrap: wrap !important;}
.cspis-7b590caf29{overflow: auto !important;}
.cspis-7c705a023d{border-color: rgba(192,59,255,.26) !important;}
.cspis-81153223a2{margin-top: 8px !important; opacity: .85 !important;}
.cspis-83c9d02713{margin: 0 0 8px 0 !important;}
.cspis-83e4089a6f{opacity: .8 !important; align-self: end !important;}
.cspis-8a11ce997c{min-width: 1150px !important;}
.cspis-8b08d7c0b5{opacity: .8 !important;}
.cspis-8d84299030{margin-top: 14px !important;}
.cspis-924c2bc8ab{margin-top: 10px !important; opacity: .85 !important;}
.cspis-93168a8178{min-width: 1400px !important;}
.cspis-94e38569bc{margin-top: 18px !important; font-weight: 800 !important;}
.cspis-975f35ebf6{grid-template-columns: 1fr 1fr !important; gap: 12px !important; margin-top: 12px !important;}
.cspis-98f89124b2{padding: 10px 0 !important;}
.cspis-9c170d8708{display: flex !important; gap: 8px !important; align-items: center !important;}
.cspis-9d739e76a6{margin-top: 14px !important; width: 100% !important;}
.cspis-9dd58f7d18{margin-top: 12px !important; color: #ffd0d0 !important;}
.cspis-9df48d8459{margin-top: 10px !important; opacity: .75 !important;}
.cspis-9f3e665f13{text-align: left !important; padding: 8px !important;}
.cspis-a316f635ff{display: flex !important; gap: 10px !important; align-items: center !important;}
.cspis-a33b8fc2ff{margin-top: 8px !important;}
.cspis-a5c08637c0{margin-top: 10px !important; opacity: .85 !important; overflow-wrap: anywhere !important; word-break: break-word !important;}
.cspis-a82ded65f7{margin-top: 12px !important; display: flex !important; flex-direction: column !important; gap: 10px !important;}
.cspis-a8f4c415e6{margin-top: 14px !important; padding: 16px !important;}
.cspis-a929b4ad9f{font-weight: 820 !important; letter-spacing: -.02em !important;}
.cspis-a9372db2cf{font-weight: 860 !important;}
.cspis-ac3f3b9cd5{opacity: .92 !important;}
.cspis-afbf76b6e4{padding: 8px !important;}
.cspis-b0026d62af{max-width: 720px !important;}
.cspis-b173614f4f{margin-top: 6px !important; opacity: .78 !important; line-height: 1.35 !important;}
.cspis-b463101861{min-height: auto !important;}
.cspis-b576d23f38{opacity: .85 !important;}
.cspis-b6d781cbbc{margin-top: 12px !important;}
.cspis-b75c73e4e5{opacity: .85 !important; padding-top: 8px !important;}
.cspis-b7dadba4bd{margin-left: 6px !important; margin-right: 0 !important;}
.cspis-bfe7d87618{margin-top: 12px !important; opacity: .85 !important;}
.cspis-bfe7e0caaa{display: flex !important; flex-wrap: wrap !important; gap: 12px !important; margin-top: 8px !important;}
.cspis-c1f5f4fd1f{font-weight: 900 !important; font-size: 20px !important;}
.cspis-c3911981f9{margin-top: 8px !important; opacity: .7 !important;}
.cspis-c4583533cb{padding: 8px !important; white-space: nowrap !important;}
.cspis-c5057b322b{margin-top: 12px !important; opacity: .9 !important;}
.cspis-c676e9dfe9{justify-content: space-between !important;}
.cspis-c88ced3433{margin-bottom: 10px !important; opacity: .92 !important;}
.cspis-cb91589295{margin-top: 14px !important; display: flex !important; gap: 10px !important; flex-wrap: wrap !important;}
.cspis-cd7ea8a4c9{font-family: system-ui !important; padding: 24px !important;}
.cspis-ce2a0497b4{grid-column: 1 / -1 !important;}
.cspis-d2a2a65088{opacity: .6 !important;}
.cspis-d7c66466e2{margin-top: 6px !important; opacity: .85 !important;}
.cspis-defeae6db5{display: flex !important; gap: 10px !important; flex-wrap: wrap !important; align-items: center !important;}
.cspis-e165e74c1e{font-weight: 800 !important; font-size: 28px !important; margin-top: 6px !important;}
.cspis-e584df785f{max-width: 520px !important; padding-top: 30px !important;}
.cspis-e88cf4380c{opacity: .6 !important; cursor: not-allowed !important;}
.cspis-f133ab1f18{margin: 0 0 6px 0 !important;}
.cspis-f32e242224{display: none !important; margin-top: 10px !important; opacity: .85 !important; color: #d00 !important; font-weight: 600 !important;}
.cspis-f506ec1ad7{opacity: .7 !important;}
.cspis-f6a15e7536{display: flex !important; gap: 10px !important; flex-wrap: wrap !important; align-items: center !important;}
.cspis-fb734633da{max-width: 760px !important; margin: 0 auto !important; padding: 20px !important;}
.cspis-fc02aeeb37{font-weight: 900 !important; font-size: 18px !important; text-align:center !important;}
/* === /CSP inline-style migration === */

.cab-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  min-width:40px;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:var(--text, rgba(232,247,255,.94));
  font-size:28px;
  line-height:1;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.cab-modal-close:hover,
.cab-modal-close:focus-visible{
  background:
    radial-gradient(circle at 0 0, rgba(82,82,91,.22), transparent 60%),
    rgba(255,255,255,.08);
  border-color: rgba(161,161,170,.22);
  outline:none;
}
.cab-modal-close:active{transform:translateY(1px);}

.csp-inline-flex{display: inline-flex !important;}

.cab-manual-help{margin-top:10px;}
.cab-manual-help__summary{list-style:none; cursor:pointer;}
.cab-manual-help__summary::-webkit-details-marker{display:none;}
.cab-manual-help__btn{display:flex; width:100%; justify-content:center;}
.cab-manual-help[open] .cab-manual-help__btn{background:var(--btnHover); border-color: rgba(255,255,255,.22);}

.cab-manual-help__panel{margin-top:10px;opacity:.85;color:#d00;font-weight:600;}



/* Cabinet affiliate banner */
body.cabinetPage .cab-aff-wrap{
  margin:18px 0 24px;
}
body.cabinetPage .cab-aff-banner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px;
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(135deg, #0B1F2C 0%, #173A4E 58%, #2A5D86 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 50px rgba(5,15,23,.34);
}
body.cabinetPage .cab-aff-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(560px 220px at 0% 0%, rgba(107,201,168,.14), transparent 42%),
    radial-gradient(520px 240px at 100% 100%, rgba(159,227,204,.10), transparent 44%);
  pointer-events:none;
}
body.cabinetPage .cab-aff-banner::after{
  content:"";
  position:absolute;
  left:24px;
  top:0;
  bottom:0;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(107,201,168,0), rgba(107,201,168,.95) 35%, rgba(159,227,204,.85) 72%, rgba(107,201,168,0));
  box-shadow:0 0 18px rgba(107,201,168,.24);
  pointer-events:none;
}
body.cabinetPage .cab-aff-copy{
  position:relative;
  z-index:1;
  max-width:860px;
  padding-left:18px;
}
body.cabinetPage .cab-aff-text{
  display:block;
  color:#F5F7F7;
  font-size:17px;
  line-height:1.68;
  font-weight:800;
}
body.cabinetPage .cab-aff-btn.btn{
  position:relative;
  z-index:1;
  min-height:52px;
  padding:0 20px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:#2A5D86;
  color:#F5F7F7;
  box-shadow:0 14px 28px rgba(10,27,40,.24);
  font-weight:800;
  white-space:nowrap;
}
body.cabinetPage .cab-aff-btn.btn:hover{
  background:#3472A3;
  transform:translateY(-1px);
  box-shadow:0 16px 32px rgba(10,27,40,.28);
}
@media (max-width: 840px){
  body.cabinetPage .cab-aff-banner{
    flex-direction:column;
    align-items:flex-start;
  }
  body.cabinetPage .cab-aff-copy{
    padding-left:16px;
  }
  body.cabinetPage .cab-aff-btn.btn{
    width:100%;
    justify-content:center;
  }
}


@media (max-width: 720px){
  .logo{width:42px;height:42px;}
}

/* =========================================================
   Tariff cards — refined wallpaper treatment
   More premium, subtle, and readable than a full-size icon.
   ========================================================= */
.plan{
  isolation:isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.020)),
    radial-gradient(120% 100% at 100% 0%, rgba(168,85,247,.07), transparent 42%),
    radial-gradient(100% 90% at 0% 100%, rgba(255,255,255,.05), transparent 38%),
    rgba(255,255,255,.04);
}

.plan > div:first-child{
  width:min(100%, calc(100% - clamp(210px, 30%, 300px)));
}

.plan:before{
  background:
    linear-gradient(90deg, rgba(15,15,20,.82) 0%, rgba(15,15,20,.68) 34%, rgba(15,15,20,.34) 58%, rgba(15,15,20,.14) 74%, rgba(15,15,20,.08) 100%),
    radial-gradient(95% 80% at 82% 48%, rgba(255,255,255,.055), transparent 58%),
    radial-gradient(48% 32% at 20% 0%, rgba(255,255,255,.085), transparent 70%),
    radial-gradient(55% 45% at 100% 100%, rgba(168,85,247,.08), transparent 72%);
  opacity:1;
  filter:none;
}

.plan:after{
  content:"";
  position:absolute;
  z-index:0;
  top:auto;
  left:auto;
  right:-3%;
  bottom:12%;
  width: clamp(190px, 42%, 330px);
  height: clamp(190px, 42%, 330px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 48%, transparent 72%),
    url("../img/tariff-card-watermark.png") center / contain no-repeat;
  opacity:.15;
  transform:none;
  mix-blend-mode:screen;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events:none;
  filter: drop-shadow(0 10px 34px rgba(255,255,255,.04));
}

.planWrap:hover .plan:after{
  opacity:.20;
  transform: translateY(-4px) scale(1.015);
}

@media (max-width: 1100px){
  .plan > div:first-child{
    width:min(100%, calc(100% - 190px));
  }
  .plan:after{
    width: 220px;
    height: 220px;
    right:-16px;
    bottom:80px;
    opacity:.13;
  }
}

@media (max-width: 640px){
  .plan > div:first-child{
    width:100%;
  }
  .plan:before{
    background:
      linear-gradient(180deg, rgba(15,15,20,.62) 0%, rgba(15,15,20,.54) 28%, rgba(15,15,20,.20) 60%, rgba(15,15,20,.34) 100%),
      radial-gradient(85% 70% at 50% 72%, rgba(255,255,255,.055), transparent 60%),
      radial-gradient(45% 28% at 14% 0%, rgba(255,255,255,.08), transparent 72%);
  }
  .plan:after{
    right:-10px;
    bottom:84px;
    width: 56%;
    height: 56%;
    opacity:.10;
  }
}

/* =========================================================
   Tariff cards — static top-right logo watermark (no hover jump)
   ========================================================= */
.planWrap,
.planWrap:hover,
.planWrap:active{
  transform: none !important;
}
.planWrap:hover{
  box-shadow: none !important;
}

.planWrap:hover .plan{
  border-color: rgba(255,255,255,.14) !important;
}

.plan{
  transition: none !important;
}

.plan > div:first-child{
  width: min(100%, calc(100% - clamp(180px, 26%, 230px)));
}

.plan:after{
  top: 74px;
  right: 22px;
  bottom: auto;
  left: auto;
  width: clamp(130px, 22%, 185px);
  height: clamp(130px, 22%, 185px);
  opacity: .14;
  transform: none !important;
  transition: none !important;
  filter: drop-shadow(0 8px 24px rgba(255,255,255,.035));
}

.planWrap:hover .plan:after{
  top: 74px;
  right: 22px;
  left: auto;
  bottom: auto;
  opacity: .14;
  transform: none !important;
}

@media (max-width: 1100px){
  .plan > div:first-child{
    width: min(100%, calc(100% - 170px));
  }
  .plan:after,
  .planWrap:hover .plan:after{
    top: 62px;
    right: 18px;
    width: 132px;
    height: 132px;
    opacity: .13;
  }
}

@media (max-width: 640px){
  .plan > div:first-child{
    width: 100%;
  }
  .plan:after,
  .planWrap:hover .plan:after{
    top: 50px;
    right: 14px;
    width: 104px;
    height: 104px;
    opacity: .11;
  }
}

/* Pricing plan badges: keep Plus / Ultra / Corp pinned to the card's top-right corner */
#pricing .plan .planBadgeTop{
  position: absolute !important;
  top: 22px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: max-content;
  min-width: 56px;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 9999px;
  line-height: 1;
  font-size: 11px;
  white-space: nowrap;
  transform: none !important;
  box-sizing: border-box;
}

#pricing .plan .cspis-c676e9dfe9{
  padding-right: 82px;
}

@media (max-width: 640px){
  #pricing .plan .planBadgeTop{
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    width: auto !important;
    min-width: 52px;
    min-height: 24px;
    padding: 0 10px;
    font-size: 10.5px;
    transform: none !important;
  }
  #pricing .plan .cspis-c676e9dfe9{
    padding-right: 74px;
  }
}


/* Split hero and promo into two separate top cards */
.heroGrid{
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  align-items: stretch;
}
.heroMainCard,
.heroPromo{
  min-width: 0;
}
.heroMainCard{
  position: relative;
  padding-top: 14px;
  padding-bottom: 14px;
}
.heroMainCard .heroBrandTitle{
  position: absolute;
  top: 18px;
  right: 18px;
  width: auto;
  margin: 0;
}
.heroMainCard .heroBrandLogo{
  width: 64px;
  height: 64px;
  transform: none;
}
.heroMainCard .heroBullets{
  margin-top: 0;
  gap: 8px;
}
.heroMainCard .heroCtas{
  margin-top: 10px !important;
}
.heroPromo{
  align-self: stretch;
  padding-top: 16px;
  padding-bottom: 14px;
}
.heroPromo .promoBox{
  padding: 10px;
}
.heroPromo .promoRow{
  margin-top: 8px;
}
.heroPromo .status{
  min-height: 14px;
  margin-top: 8px;
}

@media (max-width: 980px){
  .heroGrid{
    grid-template-columns: 1fr;
  }
  .heroPromo{
    padding-top: 14px;
  }
}

@media (max-width: 520px){
  .heroMainCard{
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .heroMainCard .heroBrandTitle{
    top: 14px;
    right: 14px;
  }
  .heroMainCard .heroBrandLogo{
    width: 52px;
    height: 52px;
  }
}


/* Hero left card — wallpaper wordmark */
.heroMainCard{
  min-height: 224px;
  padding: 22px 22px 18px;
  background:
    radial-gradient(420px 220px at 18% 12%, rgba(255,255,255,.16), transparent 56%),
    radial-gradient(360px 240px at 86% 88%, rgba(82,82,91,.34), transparent 62%),
    linear-gradient(135deg, rgba(8,8,10,.82), rgba(18,18,22,.66)),
    url("../img/wallpaper.png") center center / cover no-repeat !important;
}
.heroMainCard .heroBrandTitle.heroWallpaperBrand{
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: auto;
  margin: 0 0 14px 0;
  min-height: 82px;
}
.heroWallpaperMark{
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 50px;
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.94);
  background:
    radial-gradient(58px 54px at 32% 24%, rgba(255,255,255,.18), transparent 64%),
    linear-gradient(145deg, rgba(43,43,48,.96), rgba(13,13,16,.96));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 18px 44px rgba(0,0,0,.52);
  text-shadow: 0 2px 18px rgba(255,255,255,.18);
}
.heroWallpaperText{
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: .92;
  font-weight: 1000;
  letter-spacing: -.055em;
  text-transform: none;
  text-shadow:
    0 2px 0 rgba(0,0,0,.34),
    0 16px 42px rgba(0,0,0,.62);
}
.heroWallpaperTextMain{
  color: rgba(255,255,255,.96);
}
.heroWallpaperTextAccent{
  color: rgba(185,185,194,.92);
}
.heroMainCard .heroBullets,
.heroMainCard .heroCtas{
  max-width: 620px;
}
.heroMainCard .heroBullets{
  color: rgba(244,244,245,.86);
}
@media (max-width: 520px){
  .heroMainCard{
    min-height: 214px;
    padding: 18px 16px 16px;
    background-position: center top !important;
  }
  .heroMainCard .heroBrandTitle.heroWallpaperBrand{
    gap: 10px;
    min-height: 62px;
    margin-bottom: 12px;
  }
  .heroWallpaperMark{
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 19px;
    font-size: 38px;
  }
  .heroWallpaperText{
    font-size: clamp(29px, 11vw, 42px);
    gap: 5px;
  }
}


/* Left top hero card: wallpaper-style banner with Happ Market wordmark */
.heroMainCard{
  isolation: isolate;
  overflow: hidden;
  min-height: 236px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(118deg, rgba(8,8,10,.92) 0%, rgba(12,12,16,.82) 42%, rgba(18,18,24,.70) 100%),
    radial-gradient(120% 100% at 100% 0%, rgba(255,255,255,.08), transparent 48%),
    radial-gradient(80% 90% at 0% 100%, rgba(168,85,247,.10), transparent 54%),
    url("../img/wallpaper-cyber-pulses.svg") center / cover no-repeat,
    url("../img/wallpaper-cyber-links.svg") center / cover no-repeat,
    url("../img/wallpaper-cyber-grid.svg") center / cover no-repeat,
    rgba(255,255,255,.05);
}

.heroMainCard::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(6,6,8,.82) 0%, rgba(6,6,8,.55) 40%, rgba(6,6,8,.22) 72%, rgba(6,6,8,.08) 100%),
    radial-gradient(65% 55% at 88% 20%, rgba(255,255,255,.09), transparent 58%),
    radial-gradient(46% 36% at 80% 78%, rgba(113,113,122,.16), transparent 72%);
}

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

.heroMainCard .heroBrandTitle{
  position: relative;
  top: auto;
  right: auto;
  width: auto;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.heroWallpaperBrand{
  max-width: 100%;
}

.heroWallpaperMark{
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.26);
  color: #f8fafc;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .06em;
}

.heroWallpaperText{
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: baseline;
}

.heroWallpaperTextMain,
.heroWallpaperTextAccent{
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.heroWallpaperTextMain{
  color: #f8fafc;
}

.heroWallpaperTextAccent{
  color: rgba(255,255,255,.74);
}

.heroMainCard .hSub{
  margin: 0 0 14px;
  max-width: 540px;
  color: rgba(255,255,255,.84);
}

.heroMainCard .heroBullets{
  margin-top: 0;
  gap: 8px;
  max-width: 560px;
}

.heroMainCard .heroCtas{
  margin-top: 12px !important;
}

@media (max-width: 980px){
  .heroMainCard{
    min-height: auto;
  }
}

@media (max-width: 640px){
  .heroMainCard{
    padding: 16px 16px 14px;
  }

  .heroMainCard .heroBrandTitle{
    gap: 12px;
    align-items: flex-start;
  }

  .heroWallpaperMark{
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 16px;
    font-size: 30px;
  }

  .heroWallpaperTextMain,
  .heroWallpaperTextAccent{
    font-size: clamp(24px, 8vw, 32px);
  }
}

/* 2026-04-27: left top hero card matched to tariff cards, with H watermark */
.heroMainCard{
  isolation:isolate;
  overflow:hidden;
  min-height:236px;
  padding:18px 18px 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.020)),
    radial-gradient(120% 100% at 100% 0%, rgba(168,85,247,.07), transparent 42%),
    radial-gradient(100% 90% at 0% 100%, rgba(255,255,255,.05), transparent 38%),
    rgba(255,255,255,.04) !important;
}
.heroMainCard::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-radius:inherit;
  padding:0;
  pointer-events:none;
  -webkit-mask:none !important;
  mask:none !important;
  mix-blend-mode:normal;
  background:
    linear-gradient(90deg, rgba(15,15,20,.82) 0%, rgba(15,15,20,.68) 34%, rgba(15,15,20,.34) 58%, rgba(15,15,20,.14) 74%, rgba(15,15,20,.08) 100%),
    radial-gradient(95% 80% at 82% 48%, rgba(255,255,255,.055), transparent 58%),
    radial-gradient(48% 32% at 20% 0%, rgba(255,255,255,.085), transparent 70%),
    radial-gradient(55% 45% at 100% 100%, rgba(168,85,247,.08), transparent 72%);
  opacity:1;
  filter:none;
}
.heroMainCard::after{
  display:none !important;
}
.heroMainCard > *{
  position:relative;
  z-index:1;
}
.heroMainCard .heroBullets,
.heroMainCard .heroCtas,
.heroMainCard .heroWordmark{
  max-width:560px;
}
.heroWordmark{
  margin: 2px 0 14px;
  line-height: .9;
  white-space: nowrap;
}
.heroWordmarkText{
  display:flex;
  align-items:flex-end;
  gap:.16em;
  font-family: Tahoma, "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(34px, 5.1vw, 60px);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.12em;
  text-rendering: geometricPrecision;
  filter: drop-shadow(0 7px 16px rgba(0,0,0,.12));
}
.heroWordmarkHapp,
.heroWordmarkMarket{
  display:inline-block;
  transform-origin:left bottom;
}
.heroWordmarkHapp{
  color: rgba(248,250,252,.98);
  transform: skewX(-20deg) scaleX(.98);
  text-shadow: 0 1px 0 rgba(255,255,255,.15), 0 8px 18px rgba(255,255,255,.035);
}
.heroWordmarkInitial{
  display:inline-block;
  font-weight: 980;
  transform: scaleX(1.18);
  transform-origin: left bottom;
  margin-right: .004em;
  letter-spacing: -.045em;
}
.heroWordmarkMarket{
  color: rgba(112,116,124,.98);
  transform: skewX(-20deg) scaleX(.98);
  letter-spacing: -.07em;
  margin-left: 0;
  -webkit-text-stroke: .35px rgba(255,255,255,.04);
  text-shadow: 0 1px 0 rgba(255,255,255,.05), 0 6px 14px rgba(0,0,0,.12);
}
.heroMainCard .heroBullets{
  margin-top:0;
}
@media (max-width: 640px){
  .heroMainCard{
    min-height:auto;
    padding:16px 16px 14px;
  }
  .heroMainCard::before{
    background:
      linear-gradient(180deg, rgba(15,15,20,.62) 0%, rgba(15,15,20,.54) 28%, rgba(15,15,20,.20) 60%, rgba(15,15,20,.34) 100%),
      radial-gradient(85% 70% at 50% 72%, rgba(255,255,255,.055), transparent 60%),
      radial-gradient(45% 28% at 14% 0%, rgba(255,255,255,.08), transparent 72%);
  }
  .heroMainCard .heroBullets,
  .heroMainCard .heroCtas,
  .heroMainCard .heroWordmark{
    max-width:100%;
  }
  .heroWordmark{
    margin: 0 0 12px;
  }
  .heroWordmarkText{
    font-size: clamp(30px, 8vw, 40px);
    gap:.16em;
  }
}

/* 2026-04-27: keep old text brand block hidden if it exists */
.heroMainCard .heroBrandTitle,
.heroMainCard .hSub:empty{
  display:none !important;
}
