/* CyberPay 2026 — complete public visual system. */
:root {
  --cp-ink: #0a1020;
  --cp-ink-soft: #151d32;
  --cp-blue: #4f74ff;
  --cp-blue-deep: #315cff;
  --cp-cyan: #18bfd1;
  --cp-paper: #f4f7fc;
  --cp-surface: #ffffff;
  --cp-muted: #697386;
  --cp-line: #dfe6f1;
  --cp-success: #1fa97a;
  --cp-danger: #dd5a67;
  --cp-shadow: 0 24px 70px rgba(28, 43, 77, .11);
}

html { background: var(--cp-paper); scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 88% 3%, rgba(79, 116, 255, .10), transparent 26rem),
    radial-gradient(circle at 4% 18%, rgba(24, 191, 209, .07), transparent 22rem),
    var(--cp-paper);
  color: var(--cp-ink);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.page-glow { display: none; }

.topbar {
  top: 18px;
  width: min(1320px, calc(100% - 40px));
  height: 78px;
  padding: 11px 14px 11px 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(10,16,32,.94);
  box-shadow: 0 18px 48px rgba(10,16,32,.18);
  backdrop-filter: blur(22px);
}
.topbar .brand-lockup { width: 188px; height: 50px; }
.topbar .brand-lockup img { width: 100%; height: auto; filter: none; }
.topbar nav { gap: 4px; }
.topbar nav a {
  padding: 11px 14px;
  border-radius: 12px;
  color: #cfd7e6;
  font-size: 13px;
  font-weight: 700;
}
.topbar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.profile {
  min-width: 126px;
  height: 52px;
  padding: 0 16px 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: #fff;
  color: var(--cp-ink);
  box-shadow: 0 8px 20px rgba(0,0,0,.13);
}
.profile:hover { transform: translateY(-1px); background: #f8faff; }
.profile .avatar { width: 38px; height: 38px; border-radius: 12px; background: #edf1ff; color: var(--cp-blue-deep); }

main { width: 100%; }
.hero {
  width: min(1400px, calc(100% - 56px));
  min-height: 680px;
  padding: 146px 48px 62px;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .82fr);
  gap: clamp(44px, 6vw, 94px);
  align-items: center;
}
.hero-copy { max-width: 700px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #5a6680;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
}
.hero-kicker span { width: 28px; height: 2px; border-radius: 9px; background: linear-gradient(90deg, var(--cp-blue), var(--cp-cyan)); }
.hero h1 {
  max-width: 720px;
  color: var(--cp-ink);
  font-size: clamp(62px, 6.2vw, 96px);
  font-weight: 820;
  line-height: .91;
  letter-spacing: -.075em;
}
.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--cp-blue-deep), #6556f4 52%, var(--cp-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}
.hero-copy > p {
  max-width: 640px;
  margin-top: 26px;
  color: #5c667a;
  font-size: 17px;
  line-height: 1.62;
}
.hero-hello { display: inline-block; margin-right: .12em; }
.hero-brand-word { color: transparent; background: linear-gradient(100deg, var(--cp-cyan), rgb(105 145 255) 55%, rgb(154 103 255)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 16px rgba(0,229,255,.18)); }
.hero-copy-mobile { display: none; }
.hero-search { max-width: 650px; margin-top: 30px; }
.hero-search-box {
  height: 66px;
  padding: 7px 8px 7px 20px;
  border: 1px solid var(--cp-line);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 50px rgba(28,43,77,.10);
}
.hero-search-box:focus-within { border-color: rgba(79,116,255,.7); box-shadow: 0 0 0 4px rgba(79,116,255,.10), 0 20px 54px rgba(28,43,77,.12); }
.hero-search-box > span { color: #778198; }
.hero-search-box input { color: var(--cp-ink); font-size: 15px; }
.hero-search-box input::placeholder { color: #929bad; }
.hero-search-box button {
  height: 50px;
  padding-inline: 24px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--cp-blue-deep), var(--cp-blue));
  box-shadow: 0 10px 24px rgba(49,92,255,.24);
}
.hero-search-box button:hover { background: linear-gradient(120deg, #244def, #4169fa); }
.hero-suggestions button {
  border-color: #dce3ef;
  background: rgba(255,255,255,.72);
  color: #5d687c;
}
.hero-suggestions button:hover { border-color: rgba(79,116,255,.45); background: #eef2ff; color: #2949bd; }
.hero-actions { margin-top: 24px; }
.hero-actions .primary {
  min-width: 220px;
  background: var(--cp-ink);
  box-shadow: 0 16px 34px rgba(10,16,32,.17);
}
.hero-actions .primary:hover { background: #182239; }

.hero-panel {
  position: relative;
  min-height: 530px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 12%, rgba(79,116,255,.56), transparent 42%),
    radial-gradient(circle at 5% 82%, rgba(24,191,209,.18), transparent 38%),
    linear-gradient(145deg, #17223b 0%, #0a1020 58%, #11182c 100%);
  color: #fff;
  box-shadow: 0 42px 86px rgba(10,16,32,.26), inset 0 1px 0 rgba(255,255,255,.12);
  transform: none;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 40%);
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -125px;
  bottom: -170px;
  z-index: -2;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 116px rgba(255,255,255,.014);
}
.hero-panel:hover { transform: translateY(-4px); box-shadow: 0 50px 100px rgba(10,16,32,.30), inset 0 1px 0 rgba(255,255,255,.15); }
.panel-top { display: flex; align-items: center; justify-content: space-between; }
.panel-brand { width: 168px; height: 42px; display: flex; align-items: center; }
.panel-brand img { width: 100%; height: auto; }
.panel-status {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 99px;
  background: rgba(0,0,0,.18);
  color: #eef3ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}
.panel-status i { background: #54e0b0; box-shadow: 0 0 0 4px rgba(84,224,176,.12), 0 0 18px rgba(84,224,176,.5); }
.panel-welcome { margin-top: 68px; }
.panel-welcome small { color: #9eadd0; font-size: 10px; letter-spacing: .18em; }
.panel-welcome strong { margin-top: 14px; color: #fff; font-size: clamp(38px, 3.1vw, 50px); line-height: .98; letter-spacing: -.06em; }
.panel-tags { margin-top: 24px; }
.panel-tags span { border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.07); color: #dce5f5; }
.panel-tags span:first-child { border-color: rgba(79,116,255,.35); background: rgba(79,116,255,.17); color: #dce3ff; }
.panel-balance {
  margin-top: 28px;
  padding: 18px 19px;
  border-color: rgba(255,255,255,.13);
  border-radius: 19px;
  background: linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
}
.panel-balance small { color: #aeb9d0; }
.panel-balance b { color: #fff; }
.panel-balance > i { background: #fff; color: var(--cp-blue-deep); }
.panel-shortcuts span { border-color: rgba(255,255,255,.07); background: rgba(0,0,0,.16); color: #c4cee1; }
.panel-shortcuts span:first-child { border-color: rgba(79,116,255,.28); background: rgba(79,116,255,.18); }

.catalog, .how {
  width: min(1400px, calc(100% - 56px));
  padding-inline: 48px;
}
.catalog { padding-top: 80px; padding-bottom: 80px; }
.eyebrow { color: #667087; font-size: 10px; letter-spacing: .18em; }
.eyebrow span { background: linear-gradient(180deg, var(--cp-blue), var(--cp-cyan)); }
.catalog h2, .how h2 { color: var(--cp-ink); font-size: clamp(42px, 4.2vw, 64px); letter-spacing: -.065em; }
.catalog-description { color: var(--cp-muted); }
.catalog-search { width: 330px; }
.search { border: 1px solid var(--cp-line); background: #fff; box-shadow: 0 12px 32px rgba(28,43,77,.07); }
.search:focus-within { border-color: rgba(79,116,255,.62); box-shadow: 0 0 0 4px rgba(79,116,255,.09); }
.search-clear { background: #edf1fb; color: #56627a; }
.catalog-meta { color: #7b8598; }
.tabs button { border-color: #dce3ef; background: #fff; color: #5b667b; }
.tabs button:hover, .tabs button.active { border-color: rgba(79,116,255,.45); background: #edf2ff; color: #2949bd; }
.product-grid { gap: 16px; }

.group-card,
.group-card.mint,
.group-card.sand,
.group-card.blue,
.group-card.violet,
.group-card.coral,
.group-card.lime {
  min-height: 286px;
  padding: 26px;
  border: 1px solid #e1e7f0;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f7f9fd);
  color: var(--cp-ink);
  box-shadow: 0 12px 36px rgba(28,43,77,.06);
}
.group-card:nth-child(3n+2) { background: linear-gradient(145deg, #f8faff, #eef3ff); }
.group-card:nth-child(3n+3) { background: linear-gradient(145deg, #f6fcfd, #ebf8fa); }
.group-card:hover, .group-card:focus-visible { border-color: rgba(79,116,255,.34); box-shadow: 0 20px 48px rgba(28,43,77,.11); }
.group-card .product-icon { background: #edf2ff; color: var(--cp-blue-deep); }
.group-card:nth-child(3n+3) .product-icon { background: #e5f8fa; color: #128a99; }
.group-card > small { color: #8a94a7; }
.group-card h3 { color: var(--cp-ink); }
.group-card p, .group-card .product-bottom { color: #6d778a; }
.group-card .product-bottom > b { background: var(--cp-ink); color: #fff; }

.service-card,
.service-card.mint,
.service-card.sand,
.service-card.blue,
.service-card.violet,
.service-card.coral,
.service-card.lime,
.product-card,
.product-card.mint,
.product-card.sand,
.product-card.blue,
.product-card.violet,
.product-card.coral,
.product-card.lime {
  border: 1px solid #e1e7f0;
  background: #fff;
  color: var(--cp-ink);
  box-shadow: 0 10px 30px rgba(28,43,77,.055);
}
.service-card:hover, .product-card:hover { border-color: rgba(79,116,255,.36); box-shadow: 0 18px 42px rgba(28,43,77,.10); }
.service-card .product-icon, .product-card .product-icon { background: #edf2ff; color: var(--cp-blue-deep); }
.service-copy small, .product-card > small { color: #7a869b; }
.service-copy h3, .product-card h3 { color: var(--cp-ink); }
.service-copy h3 { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.25; }
.service-copy p, .product-card p { color: #697589; }
.service-arrow, .product-card .product-bottom > b { background: var(--cp-ink); color: #fff; }

.how { padding-top: 80px; padding-bottom: 84px; }
.steps { gap: 16px; }
.steps article,
.steps article:nth-child(2),
.steps article:nth-child(3) {
  min-height: 300px;
  padding: 28px;
  border: 1px solid #e1e7f0;
  border-radius: 28px;
  background: #fff;
  color: var(--cp-ink);
  box-shadow: 0 12px 36px rgba(28,43,77,.055);
}
.steps article:nth-child(2) { background: #f5f8ff; }
.steps article:nth-child(3) { background: #f1fafb; }
.steps article > span { color: #8792a6; }
.step-icon { background: #edf2ff; color: var(--cp-blue-deep); }
.steps article:nth-child(3) .step-icon { background: #e5f8fa; color: #128a99; }
.steps h3 { color: var(--cp-ink); }
.steps p { color: #697589; }

.assurance {
  width: min(1304px, calc(100% - 96px));
  margin: 18px auto 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 20%, rgba(79,116,255,.52), transparent 38%),
    linear-gradient(135deg, #17223b, #0a1020 64%);
  box-shadow: 0 28px 70px rgba(10,16,32,.18);
}
.assurance-copy > p { color: #bcc7db; }
.assurance-copy a { color: #fff; border-color: rgba(255,255,255,.35); }
.assurance-list, .assurance-list span { border-color: rgba(255,255,255,.12); }
.assurance-list span { color: #edf3ff; }
.assurance-list i { color: #65d7e2; }

footer {
  min-height: 180px;
  padding: 46px max(48px, calc((100% - 1304px)/2));
  border-top: 0;
  background: #0a1020;
  color: #fff;
}
.footer-brand img { width: 190px; height: auto; }
footer > div:last-child a { color: #aeb9cd; }
footer > div:last-child a:hover { color: #fff; }

.mobile-nav { border-color: rgba(223,230,241,.9); background: rgba(255,255,255,.94); box-shadow: 0 16px 46px rgba(10,16,32,.18); }
.mobile-nav a, .mobile-nav button { color: #778195; }
.mobile-nav .active { background: #edf2ff; color: var(--cp-blue-deep); }
.mobile-nav svg { stroke: currentColor; }

.scrim { background: rgba(8,13,26,.52); backdrop-filter: blur(6px); }
.drawer { background: #f8faff; color: var(--cp-ink); box-shadow: -28px 0 80px rgba(10,16,32,.24); }
.close { border-color: #dce3ef; background: #fff; color: var(--cp-ink); }
.checkout-head, .orders-head { border-color: #e1e7f0; }
.checkout-head small, .orders-head small { color: var(--cp-blue-deep); }
.checkout-head h2, .orders-head h2 { color: var(--cp-ink); }
.checkout-head p, .orders-head p { color: #697589; }
.checkout-price { border-color: #dfe6f1; background: linear-gradient(135deg, #fff, #eef3ff); }
.checkout-price small { color: #6d778b; }
.checkout-price strong { color: var(--cp-ink); }
.field span { color: #364158; }
.field input, .field select, .field textarea { border-color: #dce3ef; background: #fff; color: var(--cp-ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cp-blue); box-shadow: 0 0 0 4px rgba(79,116,255,.09); }
.checkout-button { background: linear-gradient(120deg, var(--cp-blue-deep), var(--cp-blue)); box-shadow: 0 14px 30px rgba(49,92,255,.22); }
.checkout-trust span, .drawer-note { background: #edf2ff; color: #53617a; }
.order-card { border-color: #dfe6f1; background: #fff; box-shadow: 0 10px 28px rgba(28,43,77,.06); }
.order-card h3 { color: var(--cp-ink); }
.order-status { background: #edf2ff; color: #3157cc; }
.order-card[data-status="completed"] .order-status { background: #e4f7f0; color: #167d5d; }
.order-card[data-status="failed"] .order-status { background: #fff0f2; color: #b74452; }
.orders-empty button, .empty button, .catalog-retry button { background: var(--cp-ink); color: #fff; }

.product:focus-visible, .tabs button:focus-visible, .search-clear:focus-visible,
.load-more:focus-visible, .profile:focus-visible, .mobile-nav a:focus-visible,
.mobile-nav button:focus-visible, .close:focus-visible, .primary:focus-visible,
.text-action:focus-visible, .hero-search-box button:focus-visible,
.hero-suggestions button:focus-visible {
  outline: 3px solid var(--cp-cyan);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 780px; }
  .hero-panel { width: min(650px, 100%); }
  .catalog, .how { padding-inline: 24px; }
  .assurance { width: calc(100% - 56px); }
}

@media (max-width: 720px) {
  body { padding-bottom: 92px; }
  .topbar, body.telegram .topbar {
    top: 8px;
    width: calc(100% - 20px);
    height: 64px;
    padding: 7px 8px 7px 14px;
    border-radius: 19px;
  }
  body.telegram .topbar { height: calc(64px + env(safe-area-inset-top)); padding-top: max(7px, env(safe-area-inset-top)); }
  .topbar .brand-lockup { width: 142px; height: 42px; }
  .topbar nav { display: none; }
  .profile { min-width: 48px; width: 48px; height: 48px; padding: 5px; border-radius: 15px; }
  .profile .avatar { width: 36px; height: 36px; }
  .profile > span:last-child { display: none; }

  .hero { width: 100%; padding: 104px 16px 34px; gap: 28px; }
  .hero-kicker { margin-bottom: 18px; font-size: 9px; }
  .hero h1 { font-size: clamp(46px, 13.2vw, 64px); line-height: .93; }
  .hero-copy > p { margin-top: 20px; font-size: 14px; line-height: 1.55; }
  .hero-search { margin-top: 22px; }
  .hero-search-box { height: 58px; padding: 6px 6px 6px 15px; grid-template-columns: 21px minmax(0,1fr) auto; gap: 8px; border-radius: 17px; }
  .hero-search-box input { height: 44px; font-size: 14px; }
  .hero-search-box button { height: 46px; padding-inline: 16px; border-radius: 13px; }
  .hero-suggestions { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .hero-suggestions button { flex: 0 0 auto; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .primary { min-width: 196px; }

  .hero-panel { min-height: 390px; padding: 21px; border-radius: 28px; }
  .hero-panel::before { inset: 9px; border-radius: 21px; }
  .panel-brand { width: 134px; }
  .panel-status { padding: 7px 9px; font-size: 8px; }
  .panel-welcome { margin-top: 48px; }
  .panel-welcome strong { font-size: 34px; }
  .panel-tags { margin-top: 17px; }
  .panel-balance { margin-top: 20px; padding: 15px; }
  .panel-balance b { font-size: 13px; }
  .panel-shortcuts { margin-top: 10px; gap: 7px; }
  .panel-shortcuts span { padding: 9px 3px; font-size: 8px; }

  .catalog, .how { width: 100%; padding-inline: 16px; }
  .catalog { padding-top: 46px; padding-bottom: 54px; }
  .catalog h2, .how h2 { font-size: 40px; }
  .catalog-search { top: 74px; width: 100%; background: linear-gradient(180deg, var(--cp-paper) 72%, rgba(244,247,252,.92) 88%, rgba(244,247,252,0)); }
  .product-grid { gap: 10px; }
  .product-grid:has(.group-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid:has(.group-card) .group-card,
  .product-grid:has(.group-card) .group-card.mint,
  .product-grid:has(.group-card) .group-card.sand,
  .product-grid:has(.group-card) .group-card.blue,
  .product-grid:has(.group-card) .group-card.violet,
  .product-grid:has(.group-card) .group-card.coral,
  .product-grid:has(.group-card) .group-card.lime {
    min-height: 180px;
    padding: 15px;
    border-radius: 20px;
  }
  .product-grid:has(.group-card) .group-card h3 { margin-top: 16px; color: var(--cp-ink); font-size: 17px; }
  .product-grid:has(.group-card) .group-card .product-bottom { font-size: 9px; }
  .product-grid:has(.group-card) .group-card .product-bottom > b { width: 30px; height: 30px; flex-basis: 30px; }

  .how { padding-top: 54px; padding-bottom: 58px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .steps article, .steps article:nth-child(2), .steps article:nth-child(3) { min-height: 172px; padding: 14px 11px; border-radius: 20px; }
  .steps h3 { margin-top: 25px; font-size: 15px; }
  .steps p { font-size: 10px; line-height: 1.35; }

  .assurance { width: calc(100% - 32px); margin: 0 16px 18px; border-radius: 28px; }
  footer { min-height: 190px; padding: 38px 22px 112px; }
  .footer-brand img { width: 170px; }
  .mobile-nav { height: calc(70px + env(safe-area-inset-bottom)); bottom: 8px; }
}

@media (max-width: 380px) {
  .topbar .brand-lockup { width: 128px; }
  .hero { padding-inline: 13px; }
  .hero h1 { font-size: 44px; }
  .panel-brand { width: 120px; }
  .catalog, .how { padding-inline: 13px; }
  .assurance { width: calc(100% - 26px); margin-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Cyber interface — high-contrast public theme and Telegram Mini App. */
:root {
  --cp-ink: #eefcff;
  --cp-ink-soft: #11182a;
  --cp-blue: #7357ff;
  --cp-blue-deep: #5637ff;
  --cp-cyan: #00e5ff;
  --cp-paper: #050811;
  --cp-surface: #0b1020;
  --cp-muted: #8f9bb3;
  --cp-line: rgba(129, 153, 192, .22);
  --cp-success: #41f2a4;
  --cp-danger: #ff5470;
  --cp-shadow: 0 26px 80px rgba(0, 0, 0, .52);
}

html { background: #050811; }
body,
.legal-body {
  position: relative;
  background:
    radial-gradient(circle at 82% 4%, rgba(86,55,255,.24), transparent 30rem),
    radial-gradient(circle at 7% 24%, rgba(0,229,255,.12), transparent 27rem),
    linear-gradient(180deg, #050811 0%, #080c17 46%, #04070d 100%);
  color: #eefcff;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(95,130,180,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,130,180,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.page-glow {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 48%, rgba(0,229,255,.035) 48.2%, transparent 48.6%);
}

.topbar,
body.telegram .topbar {
  border: 1px solid rgba(0,229,255,.22);
  border-radius: 12px;
  background: rgba(5,8,17,.84);
  box-shadow: 0 0 0 1px rgba(115,87,255,.08), 0 16px 48px rgba(0,0,0,.55), 0 0 34px rgba(0,229,255,.06);
}
.topbar::after {
  content: "СИСТЕМА // В СЕТИ";
  position: absolute;
  right: 164px;
  bottom: -19px;
  padding: 3px 9px;
  border: 1px solid rgba(0,229,255,.22);
  background: #050811;
  color: #58ddea;
  font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}
.topbar nav a { color: #9caac2; text-transform: uppercase; letter-spacing: .08em; }
.topbar nav a:hover { background: rgba(0,229,255,.08); color: var(--cp-cyan); }
.profile {
  border-color: rgba(0,229,255,.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,229,255,.13), rgba(86,55,255,.16));
  color: #f4feff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 0 25px rgba(0,229,255,.08);
}
.profile:hover { background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(86,55,255,.24)); }
.profile .avatar { border-radius: 6px; background: rgba(0,229,255,.1); color: var(--cp-cyan); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 92px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 6px;
  background: rgba(0,229,255,.05);
  color: #9caac2;
  cursor: pointer;
}
.theme-toggle span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--cp-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,229,255,.35);
}
.theme-toggle b { font-size: 10px; font-weight: 750; }
.theme-toggle:hover { border-color: rgba(0,229,255,.48); color: #eefdff; }

.hero {
  min-height: 670px;
  padding-top: 118px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(0,229,255,.12);
}
.hero-copy { position: relative; }
.hero-copy::before {
  content: "01 / ТЕРМИНАЛ ВЫБОРА";
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  border-left: 2px solid var(--cp-cyan);
  background: rgba(0,229,255,.06);
  color: #6eeaf5;
  font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
}
.hero-kicker { color: #8290aa; }
.hero-kicker span { border-radius: 0; background: var(--cp-cyan); box-shadow: 0 0 18px rgba(0,229,255,.72); }
.hero h1 { color: #f3fdff; text-shadow: 0 0 42px rgba(0,229,255,.08); }
.hero h1 em {
  background: linear-gradient(100deg, #00e5ff 4%, #5e8bff 48%, #9a67ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(0,229,255,.18));
}
.hero-copy > p { color: #9ca9c1; }
.hero-search-box {
  border-color: rgba(0,229,255,.22);
  border-radius: 8px;
  background: rgba(7,12,24,.82);
  box-shadow: inset 0 0 0 1px rgba(115,87,255,.08), 0 18px 48px rgba(0,0,0,.3);
}
.hero-search-box:focus-within { border-color: var(--cp-cyan); box-shadow: 0 0 0 2px rgba(0,229,255,.12), 0 0 34px rgba(0,229,255,.1); }
.hero-search-box > span { color: var(--cp-cyan); }
.hero-search-box input { color: #eefcff; }
.hero-search-box input::placeholder { color: #65738e; }
.hero-search-box button,
.checkout-button {
  border-radius: 5px;
  background: linear-gradient(120deg, #00bad0, #365fff 54%, #6d48ff);
  box-shadow: 0 0 28px rgba(0,229,255,.18);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-suggestions button,
.tabs button {
  border-color: rgba(115,142,184,.26);
  border-radius: 4px;
  background: rgba(10,16,31,.75);
  color: #91a0ba;
}
.hero-suggestions button:hover,
.tabs button:hover,
.tabs button.active { border-color: rgba(0,229,255,.55); background: rgba(0,229,255,.09); color: var(--cp-cyan); }
.hero-actions .primary {
  border: 1px solid rgba(0,229,255,.38);
  border-radius: 6px;
  background: rgba(0,229,255,.08);
  color: #eafdff;
  box-shadow: inset 0 0 24px rgba(0,229,255,.04), 0 0 28px rgba(0,229,255,.07);
}
.hero-actions .primary:hover { background: rgba(0,229,255,.15); }

.hero-panel {
  min-height: 570px;
  border-color: rgba(0,229,255,.28);
  border-radius: 12px;
  background:
    linear-gradient(rgba(96,132,183,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,132,183,.07) 1px, transparent 1px),
    radial-gradient(circle at 84% 12%, rgba(86,55,255,.48), transparent 42%),
    linear-gradient(145deg, #10182c, #050811 66%);
  background-size: 30px 30px, 30px 30px, auto, auto;
  box-shadow: 0 36px 90px rgba(0,0,0,.56), 0 0 48px rgba(0,229,255,.08), inset 0 0 50px rgba(115,87,255,.05);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.hero-panel::before { inset: 14px; border-color: rgba(0,229,255,.14); border-radius: 4px; }
.hero-panel::after { border-color: rgba(0,229,255,.13); border-radius: 0; transform: rotate(45deg); box-shadow: 0 0 0 58px rgba(86,55,255,.025), 0 0 0 116px rgba(0,229,255,.018); }
.panel-status { border-color: rgba(65,242,164,.32); border-radius: 3px; background: rgba(65,242,164,.07); color: #a5ffd3; }
.panel-welcome small { color: #73dbe6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.panel-tags span { border-radius: 3px; background: rgba(10,16,31,.72); }
.panel-balance { border-color: rgba(0,229,255,.18); border-radius: 4px; background: linear-gradient(120deg, rgba(0,229,255,.08), rgba(86,55,255,.08)); }
.panel-balance > i { border-radius: 4px; background: var(--cp-cyan); color: #050811; box-shadow: 0 0 24px rgba(0,229,255,.34); }
.panel-shortcuts span { border-radius: 4px; background: rgba(6,10,19,.7); }

.catalog,
.how { position: relative; }
.catalog {
  border-top: 1px solid rgba(0,229,255,.1);
  border-bottom: 1px solid rgba(115,87,255,.12);
  background:
    radial-gradient(circle at 8% 18%, rgba(0,229,255,.055), transparent 25rem),
    linear-gradient(180deg, rgba(7,11,21,.96), rgba(4,7,13,.98));
}
.empty,
.catalog-retry {
  border: 1px solid rgba(105,136,181,.22);
  border-radius: 7px;
  background: rgba(10,15,28,.82);
  color: #dbeaf5;
}
.empty p,
.catalog-retry p { color: #7f8da4; }
.empty-icon { color: var(--cp-cyan); }
.cyber-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1304px, calc(100% - 96px));
  margin: -4px auto 16px;
  border: 1px solid rgba(0,229,255,.18);
  background: rgba(5,8,17,.72);
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
}
.cyber-strip > span {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 18px 20px;
  border-right: 1px solid rgba(0,229,255,.13);
}
.cyber-strip > span:last-child { border-right: 0; }
.cyber-strip small { color: #62718b; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.cyber-strip b { color: #c9faff; font: 750 12px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.cyber-strip i { position: absolute; top: 20px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #41f2a4; box-shadow: 0 0 14px rgba(65,242,164,.8); }
.catalog::before,
.how::before {
  content: "";
  position: absolute;
  top: 79px;
  right: 48px;
  width: 82px;
  height: 8px;
  border-top: 1px solid rgba(0,229,255,.35);
  border-bottom: 1px solid rgba(115,87,255,.35);
}
.eyebrow { color: #77869f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.eyebrow span { border-radius: 0; background: var(--cp-cyan); box-shadow: 0 0 16px rgba(0,229,255,.6); }
.catalog h2,
.how h2 { color: #f2fcff; }
.catalog-description,
.catalog-meta { color: #8390a8; }
.catalog-search { background: transparent; }
.search {
  border-color: rgba(0,229,255,.22);
  border-radius: 6px;
  background: rgba(7,12,24,.86);
  box-shadow: none;
}
.search input { color: #eafcff; }
.search:focus-within { border-color: var(--cp-cyan); box-shadow: 0 0 24px rgba(0,229,255,.09); }
.search-clear { background: rgba(0,229,255,.1); color: var(--cp-cyan); }

.group-card,
.group-card.mint,
.group-card.sand,
.group-card.blue,
.group-card.violet,
.group-card.coral,
.group-card.lime,
.service-card,
.service-card.mint,
.service-card.sand,
.service-card.blue,
.service-card.violet,
.service-card.coral,
.service-card.lime,
.product-card,
.product-card.mint,
.product-card.sand,
.product-card.blue,
.product-card.violet,
.product-card.coral,
.product-card.lime {
  border-color: rgba(105,136,181,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0,229,255,.045), transparent 42%),
    linear-gradient(160deg, #10172a, #080c17 68%);
  color: #eefcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 16px 40px rgba(0,0,0,.22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.group-card:nth-child(3n+2),
.group-card:nth-child(3n+3) { background: linear-gradient(135deg, rgba(115,87,255,.06), transparent 42%), linear-gradient(160deg, #10172a, #080c17 68%); }
.group-card:hover,
.group-card:focus-visible,
.service-card:hover,
.product-card:hover { border-color: rgba(0,229,255,.52); box-shadow: 0 0 0 1px rgba(0,229,255,.08), 0 20px 50px rgba(0,0,0,.38), 0 0 32px rgba(0,229,255,.07); transform: translateY(-3px); }
.group-card .product-icon,
.group-card:nth-child(3n+3) .product-icon,
.service-card .product-icon,
.product-card .product-icon { border: 1px solid rgba(0,229,255,.24); border-radius: 5px; background: rgba(0,229,255,.08); color: var(--cp-cyan); }
.group-card > small,
.service-copy small,
.product-card > small { color: #6ee4ef; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.group-card h3,
.service-copy h3,
.product-card h3 { color: #f3fdff; }
.group-card p,
.group-card .product-bottom,
.service-copy p,
.product-card p { color: #8795ad; }
.product-card .product-bottom { color: #a3b0c4; }
.product-card .product-bottom strong {
  color: #f4fdff;
  text-shadow: 0 0 18px rgba(0,229,255,.18);
}
.group-card .product-bottom > b,
.service-arrow,
.product-card .product-bottom > b { border-radius: 3px; background: var(--cp-cyan); color: #050811; box-shadow: 0 0 22px rgba(0,229,255,.24); }

.steps article,
.steps article:nth-child(2),
.steps article:nth-child(3) {
  border-color: rgba(105,136,181,.24);
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(115,87,255,.06), rgba(8,12,23,.94));
  color: #eefcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.steps article > span { color: var(--cp-cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.step-icon,
.steps article:nth-child(3) .step-icon { border: 1px solid rgba(0,229,255,.25); border-radius: 5px; background: rgba(0,229,255,.07); color: var(--cp-cyan); }
.steps h3 { color: #f3fdff; }
.steps p { color: #8492aa; }

.assurance {
  border-color: rgba(0,229,255,.25);
  border-radius: 10px;
  background:
    linear-gradient(rgba(96,132,183,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,132,183,.055) 1px, transparent 1px),
    radial-gradient(circle at 88% 20%, rgba(86,55,255,.4), transparent 38%),
    linear-gradient(135deg, #11192d, #050811 67%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 40px rgba(0,229,255,.055);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.assurance-list,
.assurance-list span { border-color: rgba(0,229,255,.15); }
.assurance-list i { color: var(--cp-cyan); }

footer,
.legal-footer { border-top: 1px solid rgba(0,229,255,.14); background: #03050a; }
.footer-system { color: #52617a; font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.mobile-nav { border-color: rgba(0,229,255,.22); border-radius: 9px; background: rgba(5,8,17,.94); box-shadow: 0 0 32px rgba(0,229,255,.09), 0 18px 50px rgba(0,0,0,.55); }
.mobile-nav a,
.mobile-nav button { color: #6f7e98; }
.mobile-nav .active { border-radius: 5px; background: rgba(0,229,255,.09); color: var(--cp-cyan); }

.drawer { border-left: 1px solid rgba(0,229,255,.24); background: #080d19; color: #eefcff; box-shadow: -28px 0 80px rgba(0,0,0,.65); }
.close { min-width: 44px; border-color: rgba(0,229,255,.25); border-radius: 4px; background: rgba(0,229,255,.07); color: var(--cp-cyan); }
.checkout-head small, .orders-head small { font-size: 11px; letter-spacing: .06em; }
.terms-check { color: #acb9cb; font-size: 12px; }
.terms-check a { color: #72e8f5; }
.checkout-trust { display: flex; flex-wrap: wrap; overflow: visible; }
.checkout-trust span { flex: 1 1 130px; white-space: normal; font-size: 11px; }
.order-number { min-width: 0; max-width: 65%; min-height: 44px; padding: 0; border: 0; background: transparent; color: #acb9cb; font: inherit; font-size: 12px; text-align: left; overflow-wrap: anywhere; user-select: text; cursor: pointer; }
.order-number:focus-visible { outline: 2px solid var(--cp-cyan); outline-offset: 3px; }
.legal-body .topbar { background: rgba(6,11,21,.96); border-color: rgba(0,229,255,.2); }
.result { background: radial-gradient(circle at 50% 0,rgba(0,229,255,.07),transparent 42%),#050811; color: #f2fcff; }
.result main { border-color: rgba(0,229,255,.2); background: #0b1120; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.result h1 { color: #f2fcff; overflow-wrap: anywhere; }
.result p { color: #acb9cb; }
.result small, .result main>a:last-child { color: #72e8f5; }
.result #icon { border-color: rgba(0,229,255,.2); background: rgba(0,229,255,.08); color: #72e8f5; }
.checkout-head,
.orders-head { border-color: rgba(105,136,181,.2); }
.checkout-head small,
.orders-head small { color: var(--cp-cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.checkout-head h2,
.orders-head h2,
.order-card h3,
.checkout-price strong { color: #f2fcff; }
.checkout-head p,
.orders-head p { color: #8492aa; }
.checkout-price { border-color: rgba(0,229,255,.2); border-radius: 6px; background: linear-gradient(135deg, rgba(0,229,255,.07), rgba(115,87,255,.08)); }
.checkout-price small { color: #8a99b1; }
html:not([data-theme="light"]) .checkout-price strong { color: #f4fdff; text-shadow: 0 0 18px rgba(0,229,255,.14); }
.product-instructions { border-color: rgba(0,229,255,.2); border-radius: 6px; background: rgba(5,10,20,.78); }
.product-instructions summary { color: var(--cp-cyan); }
.product-instructions p { color: #aab8cc; }
.field span { color: #aebbd0; }
.field input,
.field select,
.field textarea { border-color: rgba(105,136,181,.28); border-radius: 5px; background: #060b15; color: #effdff; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--cp-cyan); box-shadow: 0 0 0 2px rgba(0,229,255,.1), 0 0 22px rgba(0,229,255,.07); }
.checkout-trust span,
.drawer-note { border: 1px solid rgba(0,229,255,.12); border-radius: 4px; background: rgba(0,229,255,.05); color: #8ea0b8; }
.order-card { border-color: rgba(105,136,181,.24); border-radius: 6px; background: #0b1120; box-shadow: none; }
.order-card[data-order-id] { cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.order-card[data-order-id]:hover { border-color: rgba(0,229,255,.62); background: #0d1525; transform: translateY(-1px); }
.order-card[aria-busy="true"] { cursor: wait; opacity: .72; }
.order-card-action { display: block; margin-top: 14px; padding: 0; border: 0; background: transparent; color: var(--cp-cyan); cursor: pointer; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 750; }
.order-card-action:focus-visible { outline: 2px solid var(--cp-cyan); outline-offset: 4px; }
.order-status { border: 1px solid rgba(0,229,255,.18); border-radius: 3px; background: rgba(0,229,255,.07); color: var(--cp-cyan); }
.order-card[data-status="completed"] .order-status { background: rgba(65,242,164,.08); color: #69f7b5; }
.order-card[data-status="failed"] .order-status { background: rgba(255,84,112,.08); color: #ff7f94; }
.orders-empty button,
.empty button,
.catalog-retry button { border: 1px solid rgba(0,229,255,.35); border-radius: 4px; background: rgba(0,229,255,.08); color: var(--cp-cyan); }

.legal-main { color: #eefdff; }
.legal-hero,
.legal-content section,
.legal-callout { border-color: rgba(105,136,181,.22); background: rgba(9,14,26,.84); color: #dce9f5; }
.legal-hero h1,
.legal-content h2 { color: #f2fcff; }
.legal-hero p,
.legal-content p,
.legal-content li { color: #97a6bd; }
.legal-content a,
.legal-back { color: var(--cp-cyan); }

html[data-theme="light"] { background: #edf3fa; }
html[data-theme="light"] body,
html[data-theme="light"] .legal-body {
  background:
    radial-gradient(circle at 84% 4%, rgba(86,55,255,.12), transparent 30rem),
    radial-gradient(circle at 7% 24%, rgba(0,184,209,.1), transparent 27rem),
    linear-gradient(180deg, #f6f9fd 0%, #edf3fa 52%, #f7f9fc 100%);
  color: #09101e;
}
html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(45,82,128,.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,82,128,.085) 1px, transparent 1px);
}
html[data-theme="light"] .page-glow { background: linear-gradient(115deg, transparent 48%, rgba(0,151,177,.045) 48.2%, transparent 48.6%); }
html[data-theme="light"] .topbar,
html[data-theme="light"] body.telegram .topbar {
  border-color: rgba(0,145,168,.22);
  background: rgba(248,251,255,.9);
  box-shadow: 0 16px 46px rgba(36,65,100,.13), 0 0 28px rgba(0,184,209,.05);
}
html[data-theme="light"] .topbar::after { border-color: rgba(0,145,168,.22); background: #f4f8fc; color: #087c8d; }
html[data-theme="light"] .topbar nav a { color: #586a82; }
html[data-theme="light"] .topbar nav a:hover { background: rgba(0,164,187,.08); color: #087c8d; }
html[data-theme="light"] .profile { border-color: rgba(0,145,168,.24); background: linear-gradient(135deg, rgba(0,184,209,.08), rgba(86,55,255,.08)); color: #14243a; }
html[data-theme="light"] .theme-toggle { border-color: rgba(0,145,168,.22); background: rgba(0,164,187,.05); color: #53677f; }
html[data-theme="light"] .theme-toggle:hover { border-color: rgba(0,145,168,.48); color: #10213b; }
html[data-theme="light"] .hero { border-color: rgba(27,85,128,.12); }
html[data-theme="light"] .hero-copy::before { background: rgba(0,164,187,.08); color: #087c8d; }
html[data-theme="light"] .hero-kicker { color: #61718a; }
html[data-theme="light"] .hero h1 { color: #09101e; text-shadow: none; }
html[data-theme="light"] .hero h1 em { background: linear-gradient(100deg, #008fa5 2%, #396cff 52%, #7246ef 90%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .hero-copy > p { color: #52627a; }
html[data-theme="light"] .hero-search-box {
  border-color: rgba(33,83,126,.2);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 45px rgba(33,62,96,.11);
}
html[data-theme="light"] .hero-search-box input { color: #10192a; }
html[data-theme="light"] .hero-search-box input::placeholder { color: #79869a; }
html[data-theme="light"] .hero-suggestions button,
html[data-theme="light"] .tabs button { border-color: rgba(38,76,117,.18); background: rgba(255,255,255,.75); color: #5c6b82; }
html[data-theme="light"] .hero-suggestions button:hover,
html[data-theme="light"] .tabs button:hover,
html[data-theme="light"] .tabs button.active { border-color: rgba(0,160,183,.42); background: rgba(0,184,209,.08); color: #087c8d; }
html[data-theme="light"] .hero-actions .primary { border-color: rgba(0,153,177,.36); background: rgba(255,255,255,.72); color: #10213b; box-shadow: 0 14px 36px rgba(31,67,106,.1); }
html[data-theme="light"] .hero-actions .primary:hover { background: #fff; }
html[data-theme="light"] .cyber-strip { border-color: rgba(27,85,128,.15); background: rgba(255,255,255,.78); box-shadow: 0 14px 40px rgba(31,67,106,.08); }
html[data-theme="light"] .cyber-strip > span { border-color: rgba(27,85,128,.12); }
html[data-theme="light"] .cyber-strip small { color: #718198; }
html[data-theme="light"] .cyber-strip b { color: #153047; }
html[data-theme="light"] .catalog {
  border-color: rgba(27,85,128,.11);
  background: radial-gradient(circle at 8% 18%, rgba(0,184,209,.06), transparent 25rem), linear-gradient(180deg, rgba(249,251,254,.96), rgba(237,243,250,.98));
}
html[data-theme="light"] .eyebrow { color: #65768e; }
html[data-theme="light"] .catalog h2,
html[data-theme="light"] .how h2 { color: #09101e; }
html[data-theme="light"] .catalog-description,
html[data-theme="light"] .catalog-meta { color: #607087; }
html[data-theme="light"] .search { border-color: rgba(34,76,116,.18); background: rgba(255,255,255,.9); }
html[data-theme="light"] .search input { color: #10192a; }
html[data-theme="light"] .empty,
html[data-theme="light"] .catalog-retry { border-color: rgba(34,76,116,.17); background: rgba(255,255,255,.78); color: #17243a; }
html[data-theme="light"] .empty p,
html[data-theme="light"] .catalog-retry p { color: #68788e; }
html[data-theme="light"] .group-card,
html[data-theme="light"] .group-card.mint,
html[data-theme="light"] .group-card.sand,
html[data-theme="light"] .group-card.blue,
html[data-theme="light"] .group-card.violet,
html[data-theme="light"] .group-card.coral,
html[data-theme="light"] .group-card.lime,
html[data-theme="light"] .service-card,
html[data-theme="light"] .service-card.mint,
html[data-theme="light"] .service-card.sand,
html[data-theme="light"] .service-card.blue,
html[data-theme="light"] .service-card.violet,
html[data-theme="light"] .service-card.coral,
html[data-theme="light"] .service-card.lime,
html[data-theme="light"] .product-card,
html[data-theme="light"] .product-card.mint,
html[data-theme="light"] .product-card.sand,
html[data-theme="light"] .product-card.blue,
html[data-theme="light"] .product-card.violet,
html[data-theme="light"] .product-card.coral,
html[data-theme="light"] .product-card.lime {
  border-color: rgba(37,78,119,.16);
  background: linear-gradient(135deg, rgba(0,184,209,.04), transparent 42%), linear-gradient(160deg, #fff, #f2f6fb 70%);
  color: #10192a;
  box-shadow: 0 15px 40px rgba(31,67,106,.09);
}
html[data-theme="light"] .group-card:nth-child(3n+2),
html[data-theme="light"] .group-card:nth-child(3n+3) { background: linear-gradient(135deg, rgba(86,55,255,.045), transparent 42%), linear-gradient(160deg, #fff, #f2f6fb 70%); }
html[data-theme="light"] .group-card h3,
html[data-theme="light"] .service-copy h3,
html[data-theme="light"] .product-card h3 { color: #10192a; }
html[data-theme="light"] .group-card p,
html[data-theme="light"] .group-card .product-bottom,
html[data-theme="light"] .service-copy p,
html[data-theme="light"] .product-card p { color: #69788e; }
html[data-theme="light"] .product-card .product-bottom { color: #69788e; }
html[data-theme="light"] .product-card .product-bottom strong { color: #10192a; text-shadow: none; }
html[data-theme="light"] .steps article,
html[data-theme="light"] .steps article:nth-child(2),
html[data-theme="light"] .steps article:nth-child(3) { border-color: rgba(37,78,119,.16); background: linear-gradient(155deg, rgba(86,55,255,.035), rgba(255,255,255,.92)); color: #10192a; box-shadow: 0 15px 40px rgba(31,67,106,.08); }
html[data-theme="light"] .steps h3 { color: #10192a; }
html[data-theme="light"] .steps p { color: #69788e; }
html[data-theme="light"] .mobile-nav { border-color: rgba(34,76,116,.18); background: rgba(255,255,255,.94); box-shadow: 0 14px 40px rgba(31,67,106,.16); }
html[data-theme="light"] .mobile-nav a,
html[data-theme="light"] .mobile-nav button { color: #718096; }
html[data-theme="light"] .mobile-nav .active { background: rgba(0,184,209,.09); color: #087f91; }
html[data-theme="light"] .drawer { border-color: rgba(0,153,177,.24); background: #f3f7fc; color: #10192a; box-shadow: -28px 0 80px rgba(31,53,85,.25); }
html[data-theme="light"] .close,
html[data-theme="light"] .checkout-head small,
html[data-theme="light"] .orders-head small { color: #086f80; }
html[data-theme="light"] .terms-check,
html[data-theme="light"] .order-number { color: #43536a; }
html[data-theme="light"] .terms-check a { color: #086f80; }
html[data-theme="light"] .legal-body .topbar { background: rgba(255,255,255,.96); border-color: rgba(37,78,119,.2); }
html[data-theme="light"] .legal-content a,
html[data-theme="light"] .legal-back,
html[data-theme="light"] .result small,
html[data-theme="light"] .result main>a:last-child { color: #086f80; }
html[data-theme="light"] .checkout-head h2,
html[data-theme="light"] .orders-head h2,
html[data-theme="light"] .order-card h3,
html[data-theme="light"] .checkout-price strong { color: #10192a; }
html[data-theme="light"] .checkout-head p,
html[data-theme="light"] .orders-head p { color: #65758b; }
html[data-theme="light"] .checkout-price { background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(230,239,251,.92)); }
html[data-theme="light"] .product-instructions { border-color: rgba(37,78,119,.18); background: #fff; }
html[data-theme="light"] .product-instructions summary { color: #087f91; }
html[data-theme="light"] .product-instructions p { color: #5e6e84; }
html[data-theme="light"] .field span { color: #43536a; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { border-color: rgba(37,78,119,.2); background: #fff; color: #10192a; }
html[data-theme="light"] .checkout-trust span,
html[data-theme="light"] .drawer-note { background: rgba(0,153,177,.055); color: #53657d; }
html[data-theme="light"] .order-card { border-color: rgba(37,78,119,.17); background: #fff; }
html[data-theme="light"] .order-card[data-order-id]:hover { border-color: rgba(0,151,177,.55); background: #fafdff; }
html[data-theme="light"] .legal-main { color: #10192a; }
html[data-theme="light"] .legal-hero,
html[data-theme="light"] .legal-content section,
html[data-theme="light"] .legal-callout { border-color: rgba(37,78,119,.16); background: rgba(255,255,255,.84); color: #27364a; }
html[data-theme="light"] .legal-hero h1,
html[data-theme="light"] .legal-content h2 { color: #10192a; }
html[data-theme="light"] .legal-hero p,
html[data-theme="light"] .legal-content p,
html[data-theme="light"] .legal-content li { color: #5e6e84; }
html[data-theme="light"] footer,
html[data-theme="light"] .legal-footer { border-color: rgba(27,85,128,.14); background: #e8eff7; color: #53657d; }
html[data-theme="light"] footer a,
html[data-theme="light"] .legal-footer a { color: #52657c; }
html[data-theme="light"] .result { background: radial-gradient(circle at 50% 0,rgba(0,184,209,.11),transparent 42%),#eef4fa; color:#10192a; }
html[data-theme="light"] .result main { border-color:rgba(37,78,119,.16); background:#fff; box-shadow:0 20px 60px rgba(31,67,106,.14); }
html[data-theme="light"] .result h1 { color:#10192a; }
html[data-theme="light"] .result p { color:#607087; }
.result-theme-toggle { position:fixed; top:20px; right:20px; z-index:5; }

/* Checkout emphasis pass: make the final amount and activation help unmistakable. */
.checkout-price {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  padding: 20px 22px 20px 27px;
  border: 1px solid rgba(0,229,255,.32);
  background: linear-gradient(118deg, rgba(0,229,255,.12), rgba(53,95,255,.12) 54%, rgba(115,87,255,.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 34px rgba(0,0,0,.22);
}
.checkout-price::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--cp-cyan), #6f53ff);
  box-shadow: 0 0 18px rgba(0,229,255,.58);
}
.checkout-price span { display: grid; gap: 5px; }
.checkout-price small {
  color: #9eadc4;
  font: 750 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.checkout-price strong,
html:not([data-theme="light"]) .checkout-price strong {
  color: #fff;
  font-size: clamp(31px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
  text-shadow: 0 0 24px rgba(0,229,255,.24);
}
.checkout-price i {
  align-self: center;
  padding: 7px 9px;
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 4px;
  background: rgba(0,229,255,.055);
  color: #91a6be;
  font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-instructions {
  overflow: hidden;
  border: 1px solid rgba(0,229,255,.3);
  background: linear-gradient(180deg, rgba(0,229,255,.07), rgba(5,10,20,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.product-instructions summary {
  padding: 15px 17px;
  color: #6ef1ff;
  font-size: 11px;
  letter-spacing: .025em;
}
.product-instructions[open] summary { border-bottom: 1px solid rgba(0,229,255,.16); }
.product-instructions p {
  max-height: 220px;
  padding: 13px 17px 16px;
  color: #bac7d9;
  font-size: 12px;
  line-height: 1.72;
}
html[data-theme="light"] .checkout-price {
  border-color: rgba(0,151,177,.34);
  background: linear-gradient(118deg, #fff, #eaf5fb 54%, #eef0ff);
  box-shadow: 0 14px 34px rgba(31,67,106,.1);
}
html[data-theme="light"] .checkout-price small { color: #587087; }
html[data-theme="light"] .checkout-price strong { color: #081524; text-shadow: none; }
html[data-theme="light"] .checkout-price i { border-color: rgba(0,151,177,.2); background: rgba(0,151,177,.07); color: #3f6872; }
html[data-theme="light"] .product-instructions {
  border-color: rgba(0,151,177,.28);
  background: linear-gradient(180deg, rgba(0,174,202,.055), #fff);
  box-shadow: 0 9px 24px rgba(31,67,106,.06);
}
html[data-theme="light"] .product-instructions summary { color: #086f80; }
html[data-theme="light"] .product-instructions[open] summary { border-color: rgba(0,151,177,.16); }
html[data-theme="light"] .product-instructions p { color: #43576d; }

@media (max-width: 720px) {
  .topbar,
  body.telegram .topbar { border-radius: 8px; }
  .topbar::after { display: none; }
  .theme-toggle { min-width: 44px; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .theme-toggle b { display: none; }
  .hero { min-height: auto; padding-top: 24px; }
  .hero h1 { margin-block: 17px 22px; font-size: clamp(36px, 10.3vw, 40px); line-height: 1.06; letter-spacing: -.045em; }
  .hero-copy > p { margin-top: 16px; line-height: 1.56; }
  .hero-copy-desktop { display: none; }
  .hero-copy-mobile { display: inline; }
  .hero-search { margin-top: 16px; }
  .hero-actions, .hero-search + .hero-actions { margin-top: 12px; }
  .hero-copy::before { margin-bottom: 13px; font-size: 7px; }
  .hero-panel { min-height: 414px; border-radius: 8px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
  .hero-search-box { border-radius: 6px; }
  .hero-search-box button { border-radius: 4px; }
  .catalog-search { background: linear-gradient(180deg, #050811 72%, rgba(5,8,17,.94) 88%, rgba(5,8,17,0)); }
  html[data-theme="light"] .catalog-search { background: linear-gradient(180deg, #f6f9fd 72%, rgba(246,249,253,.94) 88%, rgba(246,249,253,0)); }
  .cyber-strip { grid-template-columns: repeat(2, 1fr); width: calc(100% - 32px); margin: 0 16px 4px; }
  .cyber-strip > span { min-height: 62px; padding: 14px; }
  .cyber-strip > span:nth-child(2) { border-right: 0; }
  .cyber-strip > span:nth-child(-n+2) { border-bottom: 1px solid rgba(0,229,255,.13); }
  .product-grid:has(.group-card) .group-card,
  .product-grid:has(.group-card) .group-card.mint,
  .product-grid:has(.group-card) .group-card.sand,
  .product-grid:has(.group-card) .group-card.blue,
  .product-grid:has(.group-card) .group-card.violet,
  .product-grid:has(.group-card) .group-card.coral,
  .product-grid:has(.group-card) .group-card.lime,
  .steps article,
  .steps article:nth-child(2),
  .steps article:nth-child(3) { border-radius: 6px; }
  .product-grid:has(.group-card) .group-card h3 { color: inherit; }
  .assurance { border-radius: 8px; }
  .checkout-price { min-height: 88px; padding: 17px 17px 17px 21px; }
  .checkout-price strong,
  html:not([data-theme="light"]) .checkout-price strong { font-size: 31px; }
  .checkout-price i { justify-self: end; text-align: right; }
  .product-instructions p { max-height: 180px; }
  footer { background: #03050a; }

  .steps article,
  .steps article:nth-child(2),
  .steps article:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .steps article > span {
    position: static;
    order: 0;
    min-height: 20px;
    white-space: nowrap;
  }
  .step-icon { order: 1; margin-top: 12px; }
  .steps h3 { order: 2; margin-top: 16px; }
  .steps p { order: 3; }
}

/* Keep the first screen visually connected to the navigation on desktop. */
@media (min-width: 721px) {
  .hero {
    min-height: auto;
    padding-top: 62px;
    align-items: start;
  }
}

.catalog-skeleton-status {
  min-height: 96px;
  margin: 0 0 10px;
  padding: 19px 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(0,229,255,.24);
  border-radius: 7px;
  background: linear-gradient(115deg, rgba(0,229,255,.09), transparent 42%), linear-gradient(160deg, rgba(16,23,42,.96), rgba(8,12,23,.96));
  color: #effcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 42px rgba(0,0,0,.2), 0 0 32px rgba(0,229,255,.055);
  overflow: hidden;
}
.catalog-skeleton-status > span:nth-child(2) { display: grid; gap: 5px; }
.catalog-skeleton-status b { font-size: 16px; line-height: 1.2; }
.catalog-skeleton-status small { color: #8d9bb2; font-size: 12px; line-height: 1.45; }
.catalog-skeleton-status > em { color: #61e9f5; font: 750 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.catalog-loader-orbit { position: relative; width: 48px; height: 48px; border: 1px solid rgba(0,229,255,.26); border-radius: 50%; box-shadow: inset 0 0 18px rgba(0,229,255,.07), 0 0 22px rgba(0,229,255,.08); animation: catalog-orbit 1.35s linear infinite; }
.catalog-loader-orbit::before,
.catalog-loader-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.catalog-loader-orbit::before { inset: 9px; border: 1px solid rgba(115,87,255,.5); }
.catalog-loader-orbit::after { width: 7px; height: 7px; top: -4px; left: 20px; background: var(--cp-cyan); box-shadow: 0 0 13px rgba(0,229,255,.9); }
.catalog-loader-orbit i { position: absolute; inset: 19px; border-radius: 50%; background: var(--cp-cyan); box-shadow: 0 0 15px rgba(0,229,255,.8); }
@keyframes catalog-orbit { to { transform: rotate(360deg); } }

html[data-theme="light"] .catalog-skeleton-status { border-color: rgba(0,151,177,.25); background: linear-gradient(115deg, rgba(0,174,202,.08), transparent 42%), rgba(255,255,255,.9); color: #102036; box-shadow: 0 15px 36px rgba(31,67,106,.08); }
html[data-theme="light"] .catalog-skeleton-status small { color: #64748b; }
html[data-theme="light"] .catalog-skeleton-status > em { color: #087f91; }

@media (max-width: 720px) {
  body.telegram .hero { padding-top: 18px; }
  .catalog-skeleton-status { min-height: 104px; padding: 15px; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .catalog-loader-orbit { width: 42px; height: 42px; }
  .catalog-loader-orbit::after { left: 17px; }
  .catalog-loader-orbit i { inset: 17px; }
  .catalog-skeleton-status > em { grid-column: 2; margin-top: -3px; }
}

@media (prefers-reduced-motion: reduce) { .catalog-loader-orbit { animation: none; } }

/* Compact first screen for short Telegram and mobile viewports. */
@media (max-width: 720px) and (max-height: 820px) {
  .hero { padding-top: 16px; }
  .hero-kicker { display: flex; margin-bottom: 10px; }
  .hero-copy::before { margin-bottom: 8px; }
  .hero h1 { margin-block: 13px 18px; font-size: clamp(33px, 9.3vw, 36px); line-height: 1.05; letter-spacing: -.045em; }
  .hero-copy > p { margin-top: 13px; font-size: 13px; line-height: 1.5; }
  .hero-search { margin-top: 12px; }
  .hero-suggestions { margin-top: 7px; }
  .hero-actions,
  .hero-search + .hero-actions { margin-top: 8px; }
  .hero-actions .primary { min-height: 52px; }
}

.promo-field > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.promo-field button { min-height: 51px; padding: 0 15px; border: 1px solid var(--cp-cyan); border-radius: 5px; background: rgba(0,229,255,.1); color: var(--cp-cyan); font-weight: 800; cursor: pointer; }
.promo-field button:disabled { opacity: .55; cursor: wait; }
.promo-field small { min-height: 14px; color: #8fa0b9; }
.promo-field.applied small { color: #43efaa; }
html[data-theme="light"] .promo-field button { background: rgba(0,129,155,.08); color: #007f99; }

@media (max-width: 370px) {
  .promo-field > div { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  html:not([data-theme="light"]) .hero h1 em {
    color: #f3fdff;
    background: none;
    -webkit-text-fill-color: #f3fdff;
    filter: none;
  }
  html[data-theme="light"] .hero h1 em {
    color: #09101e;
    background: none;
    -webkit-text-fill-color: #09101e;
    filter: none;
  }
}

/* Premium cyber typography for the mobile terminal intro. */
@media (max-width: 720px) {
  .hero h1 {
    text-wrap: balance;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 850;
    text-shadow: 0 0 28px rgba(0,229,255,.055);
  }
  html:not([data-theme="light"]) .hero h1 em {
    padding-bottom: 5px;
    background: linear-gradient(90deg, var(--cp-cyan), #7857ff) left bottom / 34% 2px no-repeat;
  }
  .hero-copy > p {
    max-width: 620px;
    padding: 9px 12px;
    border-left: 2px solid rgba(0,229,255,.72);
    background: linear-gradient(90deg, rgba(0,229,255,.065), rgba(86,55,255,.025) 68%, transparent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: .008em;
  }
  html[data-theme="light"] .hero h1 { text-shadow: none; }
  html[data-theme="light"] .hero h1 em {
    padding-bottom: 5px;
    background: linear-gradient(90deg, #008fa5, #6547ef) left bottom / 34% 2px no-repeat;
  }
  html[data-theme="light"] .hero-copy > p {
    border-left-color: rgba(0,151,177,.58);
    background: linear-gradient(90deg, rgba(0,174,202,.075), rgba(86,55,255,.025) 68%, transparent);
  }
}

/* Keep the complete greeting visible in short Telegram Mini App viewports. */
.delivery-content { min-width: 0; text-align: left; }
.delivery-content dl { display: grid; gap: 10px; margin: 14px 0; }
.delivery-content dl > div { padding: 12px; border: 1px solid var(--cp-line); border-radius: 8px; background: #0b1425; }
.delivery-content dt { margin-bottom: 5px; font-size: 12px; color: #a1b4ce; }
.delivery-content dd { margin: 0; color: #effaff; font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.delivery-content dd a { color: #63eaf7; text-decoration: underline; overflow-wrap: anywhere; }
.delivery-copy { min-height: 44px; width: 100%; padding: 10px 14px; border: 1px solid #16869b; border-radius: 6px; background: #0a2332; color: #b5f4fc; font-family: inherit; font-weight: 700; font-size: 12px; line-height: 1.4; cursor: pointer; }
html[data-theme="light"] .delivery-content dl > div { background: #f0f5fb; border-color: #c6d5e5; }
html[data-theme="light"] .delivery-content dt { color: #50627b; }
html[data-theme="light"] .delivery-content dd { color: #142239; }
html[data-theme="light"] .delivery-content dd a { color: #006d85; }
html[data-theme="light"] .delivery-copy { background: #e5f4f7; color: #006378; }
.order-result > summary { color: #78e9f5; min-height: 40px; }
html[data-theme="light"] .order-result > summary { color: #006d85; }
.result #ordersButton { background: linear-gradient(110deg,#007b9d,#6340df); color: #fff; }
@media (max-width: 720px) { .delivery-content dd { font-size: 12px; } }

@media (max-width: 720px) {
  .hero-copy,
  .hero h1,
  .hero h1 em { overflow: visible; }
}

@media (max-width: 720px) and (max-height: 820px) {
  .hero h1 {
    margin-block: 12px 16px;
    font-size: clamp(30px, 8.4vw, 34px);
    line-height: 1.08;
  }
}

/* Checkout stays in document flow, including above the iOS keyboard. */
.checkout-button { position: static; box-shadow: none; }
.checkout-fields:empty { display: none; }
#checkoutInstructions { margin-top: 16px; }
.payment-ready #checkoutForm > :not(.checkout-button):not(.form-error),
.payment-ready #checkoutInstructions, .payment-ready .checkout-trust { display: none; }
@media (max-width: 720px) {
  .drawer {
    top: calc(var(--sheet-top, 0px) + 8px); bottom: auto;
    height: calc(var(--sheet-height, 100dvh) - 8px);
    max-height: calc(var(--sheet-height, 100dvh) - 8px);
  }
  .checkout-drawer { overflow: hidden; }
  .checkout-scroll { height: 100%; overflow-y: auto; overscroll-behavior-y: contain; padding: 56px 18px calc(20px + env(safe-area-inset-bottom)); scroll-padding-block: 64px 24px; }
  .checkout-head { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 0 0 16px; }
  .checkout-head .drawer-icon { width: 44px; height: 44px; border-radius: 12px; }
  .checkout-head h2 { font-size: 23px; line-height: 1.15; margin: 4px 0; }
  .checkout-head small { font-size: 10px; }
  .checkout-head p { font-size: 12px; line-height: 1.45; }
  .checkout-price { padding: 14px 16px; margin-bottom: 18px; }
  .checkout-price strong { font-size: 30px; }
  .checkout-price i, .checkout-trust { display: none; }
  .checkout-drawer .field input, .checkout-drawer .field select, .checkout-drawer .field textarea { font-size: 16px; min-height: 48px; }
  .checkout-button { position: static; min-height: 54px; margin-top: 8px; font-size: 14px; }
  .checkout-drawer .close { z-index: 4; top: 8px; right: 12px; }
  .checkout-drawer .terms-check { align-items: flex-start; line-height: 1.5; }
}
