/* Only Wallet: стили страниц. Шапка, секции, карточки, списки, цены, вопросы, подвал.
   Общие для всех страниц сайта; тона секций и кнопки лежат в base.css. */

:root {
  --hdr-h: 58px;
  --sec-y: 56px;
  --sheet-r: 32px; /* радиус верхних углов белого «листа» */
}
@media (min-width: 768px) { :root { --sec-y: 80px; --sheet-r: 40px; } } /* шапка 54 px на всех ширинах, как у Tangem */
@media (min-width: 1200px) { :root { --sec-y: 96px; --sheet-r: 48px; } }

html { scroll-padding-top: calc(var(--hdr-h) + 12px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[hidden] { display: none !important; }

.skip {
  position: fixed; left: 12px; top: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: #fff; color: #000; font-size: 15px; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .35s var(--ease);
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Типографика страниц (в духе Tangem: крупно, плотно, вес 500) ---------- */
.display {
  font-size: clamp(40px, 11.3vw, 64px);
  line-height: 1.09;
  letter-spacing: -.048em;
  font-weight: 500;
}
@media (min-width: 768px) { .display { line-height: 1.02; } }
.h2 {
  font-size: clamp(34px, 9.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 500;
}
.lead { font-size: clamp(18px, 5.1vw, 21px); line-height: 1.24; letter-spacing: -.016em; }
.eyebrow { font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; }
.eyebrow-green { color: #30d158; }
section[data-tone="light"] .eyebrow { color: var(--blue-lo); }

.btn-dark { padding: 16px 28px; }

/* ---------- Шапка ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--fg);
  font-family: "Inter Hdr", var(--font);
  background-color: rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
/* почти непрозрачная: над темными «островами» в белой части шапка остается белой, а не серой */
html[data-tone="light"] .hdr { background-color: rgb(255 255 255 / .92); }
/* линии под шапкой нет, как у Tangem */
.hdr-in { position: relative; height: var(--hdr-h); display: flex; align-items: center; gap: 12px; }
/* на телефоне поля 24 px, как у Tangem; с 768 px шапка по ширине содержимого страницы (.wrap) */
@media (max-width: 767.98px) { .hdr .hdr-in { padding: 0 24px; } }
/* логотип без плитки: знак кошелька и надпись одним цветом (белые в черной части, черные в белой) */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; color: inherit; }
.brand-glyph { flex: none; width: 25px; height: auto; aspect-ratio: 436 / 367; margin-top: -1px; }
.brand-name { font-size: 19px; font-weight: 680; letter-spacing: -.02em; }
.hdr-nav { display: none; }
@media (min-width: 900px) {
  /* меню как у Tangem: 14 px, 500, цвет #ededed (над белым #1e1e1e), отступы ссылок 7 x 16 px */
  .hdr-nav { display: flex; gap: 0; position: absolute; left: 50%; transform: translateX(-50%); }
  .hdr-nav a { padding: 7px 16px; font-size: 15px; line-height: 1.2; font-weight: 620; letter-spacing: .005em; text-decoration: none; color: #fff; transition: color .3s var(--ease), opacity .3s var(--ease); }
  .hdr-nav a:hover { opacity: .7; }
  html[data-tone="light"] .hdr-nav a { color: #111; }
  .hdr-btn { padding: 8px 17px; }
}

/* ---------- Секции ---------- */
.sec { padding: var(--sec-y) 0; }
/* соседние секции одного тона: шва нет, лишний воздух не нужен */
.sec[data-tone="dark"] + .sec[data-tone="dark"],
.sec[data-tone="light"] + .sec[data-tone="light"] { padding-top: calc(var(--sec-y) * .5); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.sec-head .lead { margin: 16px auto 0; max-width: 30em; }
.sec-cta { display: flex; justify-content: center; margin-top: 32px; }
.sec-cta .btn { width: min(100%, 320px); }
@media (min-width: 768px) {
  .sec-head { margin-bottom: 44px; }
  .sec-cta { margin-top: 44px; }
  .sec-cta .btn { width: auto; padding-inline: 36px; }
}
.date { margin: 12px 0 0; font-size: 15px; color: var(--s-fg-2); }

/* Переход из черного в белое как в iOS: светлая секция поднимается листом.
   Лист наезжает на темную секцию на величину радиуса, у него большие скругленные
   верхние углы (squircle через site.js, без скрипта обычный border-radius).
   Темная секция перед листом заканчивается крупным объектом без нижнего отступа:
   лист срезает его, и граница выглядит задуманной. Градиентов и теней на краю нет. */
.sec-before-sheet { position: relative; padding-bottom: 0; }
/* Лист обрезан clip-path, и его нижний край сглаживается на дробном пикселе, а следующая белая секция
   начинается с целого: при масштабе экрана 125% в стык просвечивал черный фон body серой полоской
   (владелец 20.10.2026: «убери эту полоску»). Следующая секция заходит под лист на 1 px. */
.sec-sheet + .sec { margin-top: -1px; }
.sec-sheet {
  --sq-r: var(--sheet-r);
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--sheet-r));
  padding-top: calc(var(--sec-y) + var(--sheet-r) * .5);
}

/* Появление первого экрана без ожидания скрипта */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }

/* ---------- 1. Первый экран ---------- */
.hero { position: relative; padding-top: 36px; text-align: center; overflow: hidden; overflow: clip; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { max-width: 10em; margin: 0 auto; }
.hero-lead { margin: 18px auto 0; max-width: 23em; }
.hero-actions { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-cta { width: min(100%, 304px); }

/* главные цены сразу на первом экране: и бесплатное, и то, за что платят */
.hero-prices { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; width: min(100%, 360px); }
.facts li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.facts li + li { box-shadow: inset 1px 0 0 var(--s-line); }
.facts b { font-size: 24px; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; color: var(--s-fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts span { margin-top: 4px; font-size: 13px; line-height: 1.28; letter-spacing: -.005em; color: var(--s-fg-2); }
.facts-link {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 6px 4px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  color: var(--s-fg-2);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.facts-link:hover { color: var(--s-fg); }
.facts-chev { width: 16px; height: 16px; margin-top: 1px; }

@media (min-width: 768px) {
  .hero { padding-top: 56px; }
  .hero-lead { margin-top: 22px; max-width: 30em; }
  .hero-actions { margin-top: 36px; gap: 28px; }
  .hero-cta { width: auto; padding: 18px 40px; }
  .facts { width: min(100%, 520px); }
  .facts b { font-size: 28px; }
  .facts span { font-size: 14px; }
  .facts span br { display: none; }
}

/* ---------- Сцена с картой ---------- */
.stage {
  --cw: min(86vw, 600px);
  --ch: calc(var(--cw) * .6297);
  --top: calc(var(--cw) * .1);
  --gap: calc(var(--cw) * .06);
  position: relative;
  height: calc(var(--top) + var(--ch) + var(--gap) + var(--cw) * .22);
  margin-top: 8px;
  pointer-events: none;
}
/* студийный свет сверху: мягкий нейтральный конус, к краям уходит в чистый черный */
.stage-light {
  position: absolute;
  left: 50%; top: -30%;
  width: calc(var(--cw) * 1.9);
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 255 255 / .10), rgb(255 255 255 / .035) 55%, transparent);
}
/* пол: светлое пятно и тень там, где стоит карта */
.stage-floor {
  position: absolute;
  left: 50%;
  top: calc(var(--top) + var(--ch) + var(--gap) - var(--cw) * .1);
  width: calc(var(--cw) * 1.25);
  height: calc(var(--cw) * .2);
  transform: translateX(-50%);
}
.floor-pool, .floor-shadow { position: absolute; inset: 0; border-radius: 50%; }
.floor-pool { background: radial-gradient(closest-side, rgb(255 255 255 / .06), rgb(255 255 255 / .02) 52%, transparent); }
.floor-shadow {
  inset: 30% 17%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .7), rgb(0 0 0 / .2) 60%, transparent);
}
.card-scene {
  position: absolute;
  left: 50%; top: var(--top);
  width: var(--cw);
  transform: translateX(-50%);
  perspective: calc(var(--cw) * 2.7);
  perspective-origin: 50% 10%;
  pointer-events: auto;
  cursor: pointer;
  border-radius: calc(var(--cw) * .045);
  -webkit-tap-highlight-color: transparent;
}
.card-scene:focus-visible { outline-offset: 10px; }
html.js .card-scene { animation: scene-in 1.6s var(--ease) .12s both; }
@keyframes scene-in {
  from { opacity: 0; transform: translate3d(-50%, 70px, 0); }
  to { opacity: 1; transform: translate3d(-50%, 0, 0); }
}
.card-float { transform-style: preserve-3d; animation: card-float 7s var(--ease-io) infinite alternate; }
@keyframes card-float { from { transform: translate3d(0, -6px, 0); } to { transform: translate3d(0, 6px, 0); } }
.floor-pool { animation: pool 7s var(--ease-io) infinite alternate; }
@keyframes pool { from { opacity: 1; transform: scale(1.03); } to { opacity: .8; transform: scale(.95); } }

.card3d {
  --r: calc(var(--cw) * .045);
  position: relative;
  aspect-ratio: 1715 / 1080;
  transform-style: preserve-3d;
  /* поза до запуска скрипта совпадает с позой при p = 0 */
  transform: translate3d(0, -14%, 0) scale(.93) rotateX(54deg) rotateY(0deg) rotateZ(-12deg);
}
html:not(.js) .card3d { transform: rotateX(6deg) rotateY(-10deg) rotateZ(-5deg); }
.card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  overflow: hidden;
  clip-path: inset(0 round var(--r));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
}
.card-face img { width: 100%; height: auto; }
.card-front { transform: translateZ(1.8px); }
.card-back { transform: rotateY(180deg) translateZ(1.8px); }
/* свет сверху: верх чуть светлее, низ уходит в тень */
.card-face::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgb(255 255 255 / .13) 0%, rgb(255 255 255 / .03) 30%, rgb(255 255 255 / 0) 50%, rgb(0 0 0 / .24));
  pointer-events: none;
}
/* кромка: верхний край ловит свет */
.card-front::before {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), inset 0 0 0 1px rgb(255 255 255 / .06);
  pointer-events: none;
}
/* торец: тонкие слои дают толщину при наклоне */
.card-edge {
  position: absolute; inset: 0;
  border-radius: var(--r);
  background: linear-gradient(180deg, #34343a, #18181b 55%, #6a6a72);
  transform: translateZ(calc(1.8px - var(--i) * .9px));
}
.card-sheen {
  position: absolute;
  top: -40%; bottom: -40%; left: -100%;
  width: 300%;
  background: linear-gradient(108deg, transparent 36%, rgb(255 255 255 / .05) 42.5%, rgb(255 255 255 / .16) 47.5%, rgb(255 255 255 / .05) 52.5%, transparent 59%);
  pointer-events: none;
  z-index: 1;
}
.card-sweep {
  position: absolute;
  top: -30%; bottom: -30%; left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .08) 40%, rgb(255 255 255 / .22) 50%, rgb(255 255 255 / .08) 60%, transparent);
  transform: translate3d(-140%, 0, 0) skewX(-16deg);
  animation: sweep 9s var(--ease-io) 2s infinite;
  pointer-events: none;
  z-index: 2;
}
/* вне экрана бесконечные анимации стоят (класс is-off ставит site.js) */
.hero.is-off * { animation-play-state: paused !important; }
@keyframes sweep {
  0% { transform: translate3d(-140%, 0, 0) skewX(-16deg); }
  20%, to { transform: translate3d(360%, 0, 0) skewX(-16deg); }
}

@media (min-width: 768px) {
  .stage { --cw: min(52vw, 620px); margin-top: 20px; height: calc(var(--top) + var(--ch) + var(--gap) + var(--cw) * .14); }
}

/* ---------- Значки сервисов: иконки приложений iOS ----------
   Форма squircle iOS (маска), фон и знак в цветах бренда (src/components/app-icons.mjs).
   Без бликов поверх, как настоящие иконки на телефоне. */
.app-ico {
  --size: 52px;
  --s: .56;
  position: relative;
  flex: none;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  background: var(--bg, #1c1c1f);
  -webkit-mask: var(--app-mask) center / 100% 100% no-repeat;
  mask: var(--app-mask) center / 100% 100% no-repeat;
}
/* без бликов поверх: иконки выглядят как настоящие (просьба владельца).
   Только у белых иконок тонкая серая кромка, иначе на белом фоне они теряют форму. */
.app-ico.is-light::after { content: ""; position: absolute; inset: 0; background: var(--app-rim-l) center / 100% 100% no-repeat; pointer-events: none; }
.app-g { width: calc(var(--s) * 100%); height: calc(var(--s) * 100%); overflow: visible; }
.app-img { width: 100%; height: 100%; object-fit: cover; }
.app-mono { font-size: calc(var(--size) * .46); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
:root {
  --app-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M64 0c12.6 0 18.9 0 23.71 2.45a22.5 22.5 0 0 1 9.83 9.83c2.45 4.81 2.45 11.11 2.45 23.71L100 64c0 12.6 0 18.9 -2.45 23.71a22.5 22.5 0 0 1 -9.83 9.83c-4.81 2.45 -11.11 2.45 -23.71 2.45L36 100c-12.6 0 -18.9 0 -23.71 -2.45a22.5 22.5 0 0 1 -9.83 -9.83c-2.45 -4.81 -2.45 -11.11 -2.45 -23.71L0 36c0 -12.6 0 -18.9 2.45 -23.71a22.5 22.5 0 0 1 9.83 -9.83c4.81 -2.45 11.11 -2.45 23.71 -2.45Z'/%3E%3C/svg%3E");
  --app-rim-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='1.6' d='M64.48 0.8c12.15 0 18.23 0 22.87 2.37a21.7 21.7 0 0 1 9.48 9.48c2.37 4.64 2.37 10.72 2.37 22.87L99.2 64.48c0 12.15 0 18.23 -2.37 22.87a21.7 21.7 0 0 1 -9.48 9.48c-4.64 2.37 -10.72 2.37 -22.87 2.37L35.52 99.2c-12.15 0 -18.23 0 -22.87 -2.37a21.7 21.7 0 0 1 -9.48 -9.48c-2.37 -4.64 -2.37 -10.72 -2.37 -22.87L0.8 35.52c0 -12.15 0 -18.23 2.37 -22.87a21.7 21.7 0 0 1 9.48 -9.48c4.64 -2.37 10.72 -2.37 22.87 -2.37Z'/%3E%3C/svg%3E");
  --app-rim-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23000' stroke-opacity='.1' stroke-width='1.6' d='M64.48 0.8c12.15 0 18.23 0 22.87 2.37a21.7 21.7 0 0 1 9.48 9.48c2.37 4.64 2.37 10.72 2.37 22.87L99.2 64.48c0 12.15 0 18.23 -2.37 22.87a21.7 21.7 0 0 1 -9.48 9.48c-4.64 2.37 -10.72 2.37 -22.87 2.37L35.52 99.2c-12.15 0 -18.23 0 -22.87 -2.37a21.7 21.7 0 0 1 -9.48 -9.48c-2.37 -4.64 -2.37 -10.72 -2.37 -22.87L0.8 35.52c0 -12.15 0 -18.23 2.37 -22.87a21.7 21.7 0 0 1 9.48 -9.48c4.64 -2.37 10.72 -2.37 22.87 -2.37Z'/%3E%3C/svg%3E");
}

/* Иконки в стиле Tangem (src/icons-tangem.mjs, сетка 64): серые линии на 60% цвета и белый главный знак,
   прямо на фоне, без подложки и бликов. Размер как у Tangem: 48 px на телефоне, 64 px на компьютере.
   Тон серого: .ti .t2 { opacity: ... } */
.ti { flex: none; color: var(--s-fg); }

/* ---------- 2. Где пригодится карта ---------- */
/* Плитки как витрина карт в мини-аппе (webapp/css/cards.css кошелька): ровная темная поверхность
   без градиента и обводки (просьба владельца 19.10.2026, как плитки Tangem),
   слева сверху заголовок и серый список, в правом нижнем углу картинка владельца из мини-аппа.
   Картинки нарисованы под плитки кошелька. Квадратная: кадр 600 x 646, картинка шириной 82% плитки
   (--img) прижата к правому нижнему углу. Широкая: кадр 1027 x 468 на всю плитку, вписан и прижат
   вправо вниз, текст колонкой слева (поле справа 46%). Предметы уходят за край кадра, плитка их срезает.
   До 960 px две колонки, как в кошельке на телефоне: широкая на весь ряд в пропорциях кадра,
   квадратные по две. С 960 px четыре: широкая на две колонки, высота ряда от квадратных.
   --img повторена в sizes (src/pages/home.mjs).
   overflow: clip, а не hidden: плитка не становится областью прокрутки. */
.uses-sec { padding-top: calc(var(--sec-y) * .6); }
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.use {
  --pad: 15px;
  --img: 82%;
  --sq-r: 26px;
  position: relative;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  padding: var(--pad) var(--pad) 0;
  background: var(--d-card);
}
/* поле справа 48%: на 360 px список «Нейросетей» переносится после «ChatGPT,», а не упирается в значок Claude */
.use-wide { --pad: 18px; grid-column: 1 / -1; aspect-ratio: 1027 / 468; padding: var(--pad) 48% var(--pad) var(--pad); }
/* как в мини-аппе: у «Работы и учебы» заголовок в две строки, картинка чуть меньше;
   iPhone в «Приложениях» стоит вдоль правого края, список узкой колонкой слева от него */
.use[data-img="work"] { --img: 76%; }
.use[data-img="apps"] .use-p { max-width: 60%; }
.use-txt { position: relative; z-index: 1; }
.use-t { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 500; letter-spacing: -.016em; text-wrap: balance; }
.use-p { margin: 3px 0 0; font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: -.004em; color: var(--s-fg-2); text-wrap: pretty; }
.use-art { position: absolute; right: 0; bottom: 0; width: var(--img); pointer-events: none; }
.use-img { display: block; width: 100%; height: auto; }
.use-wide .use-art { top: 0; left: 0; width: auto; }
.use-wide .use-img { height: 100%; object-fit: contain; object-position: right bottom; }
.uses-more { margin: 16px 0 0; text-align: center; }
/* Узкие телефоны. До 340 px квадратные по одной в ряд: в двух колонках плитка меньше 140 px,
   и предметы ложились на список. С 340 до 359 px две колонки, картинка и текст мельче.
   С 360 до 389 px картинка 78%: между списком и предметами запас, если текст крупнее (масштаб на Android).
   Верхние границы .98: при масштабе страницы ширина бывает дробной (339,5 px) и не должна выпадать из правил */
@media (max-width: 339.98px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use-t { font-size: 17px; }
  .use-p { font-size: 14px; }
  .use-wide { --pad: 14px; }
}
@media (max-width: 319.98px) {
  .use-wide .use-t { font-size: 15px; }
  .use-wide .use-p { font-size: 12px; }
}
@media (min-width: 340px) and (max-width: 359.98px) {
  .use { --pad: 12px; --img: 72%; }
  .use[data-img="work"] { --img: 66%; }
  .use-wide { --pad: 14px; }
  .use-t { font-size: 15px; }
  .use-p { font-size: 12px; }
}
@media (min-width: 360px) and (max-width: 389.98px) {
  .use { --img: 78%; }
  .use[data-img="work"] { --img: 72%; }
}
@media (min-width: 390px) {
  .use-t { font-size: 17px; }
  .use-p { font-size: 14px; }
}
@media (min-width: 640px) {
  .uses { gap: 16px; }
  .use { --pad: 24px; --sq-r: 32px; }
  .use-wide { --pad: 24px; }
  .use-t { font-size: 22px; }
  .use-p { margin-top: 5px; font-size: 16px; }
  .uses-more { margin-top: 24px; }
}
@media (min-width: 960px) {
  .uses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .use { --pad: 20px; }
  /* широкая на две колонки чуть площе кадра (2,06 : 1 против 2,19 : 1): кадр по высоте плитки (cover),
     иначе Grab срезался бы ровной линией внутри плитки; слева уходит только прозрачное поле.
     Верхнее поле как у квадратных, чтобы заголовки в ряду стояли на одной линии */
  .use-wide { --pad: 24px; grid-column: span 2; aspect-ratio: auto; padding-top: 20px; }
  .use-wide .use-img { object-fit: cover; }
  /* с 960 до 1199 px плитка 212-272 px: iPhone чуть меньше, иначе он вплотную к «Google Play» */
  .use[data-img="apps"] { --img: 78%; }
  .use-t { font-size: 19px; }
  .use-p { margin-top: 4px; font-size: 15px; }
  .use-wide .use-t { font-size: 22px; }
  .use-wide .use-p { font-size: 16px; }
}
@media (min-width: 1200px) {
  .use { --pad: 24px; }
  .use-wide { --pad: 28px; padding-top: 24px; }
  .use[data-img="apps"] { --img: 82%; }
  .use-t { font-size: 20px; }
  .use-wide .use-t { font-size: 24px; }
  .use-wide .use-p { font-size: 17px; }
}

/* Появление: картинка чуть выезжает из правого нижнего угла и мягко вырастает (только transform и opacity).
   При наведении на компьютере чуть растет от правого нижнего угла: края кадра, где предметы срезаны,
   остаются за краем плитки (сдвиг показал бы срез). Без бликов и свечения.
   Задержка --d идет по ряду: до 960 px вторая квадратная в паре на .06 s позже,
   с 960 px в ряду широкая, потом две квадратные. */
@media (max-width: 959.98px) {
  .use:nth-child(3n) { --d: .06s; }
}
@media (min-width: 960px) {
  .use:nth-child(3n + 2) { --d: .06s; }
  .use:nth-child(3n) { --d: .12s; }
}
html.js .use-art {
  opacity: 0;
  transform: translate3d(7%, 9%, 0) scale(.94);
  transform-origin: 100% 100%;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0s) + .1s);
}
html.js .use.is-in .use-art { opacity: 1; transform: none; }
.use-img { transform-origin: 100% 100%; transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .use:hover .use-img { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .use-art { opacity: 1; transform: none; transition: none; }
  .use-img, .use:hover .use-img { transform: none; transition: none; }
}

/* ---------- 2½. Европейская карта: флаг ЕС во весь экран, как кадры Tangem Pay ----------
   Кадр на всю ширину, края уходят в черный (::before, ::after), поэтому швов с соседними секциями нет.
   В центре кольца звезд заголовок и строка про Claude и ChatGPT, внизу кадра ряд цифр .facts (первый экран).
   Кадр медленно приближается при прокрутке: только transform, 120 Гц; без prefers-reduced-motion стоит. */
.eu {
  position: relative;
  overflow: hidden;
  overflow: clip;
  height: clamp(640px, 64vw, 960px);
}
.eu-ph, .eu-ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.eu-ph img { object-fit: cover; object-position: 56% 46%; transform-origin: 56% 46%; }
.eu::before, .eu::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.eu::before { top: 0; height: 22%; background: linear-gradient(#000, rgb(0 0 0 / .55) 35%, rgb(0 0 0 / 0)); }
/* низ темнее и выше: на нем стоит ряд цифр */
.eu::after { bottom: 0; height: 40%; background: linear-gradient(rgb(0 0 0 / 0), rgb(0 0 0 / .62) 55%, #000); }
.eu-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  text-align: center;
  padding: 0 var(--gutter) clamp(36px, 6vw, 72px);
}
.eu-main { align-self: center; display: flex; flex-direction: column; align-items: center; padding-top: 4%; }
.eu-t { margin: 0; max-width: 11em; font-size: clamp(34px, 8.8vw, 58px); line-height: 1.05; font-weight: 600; letter-spacing: -.042em; text-wrap: balance; }
.eu-p { margin: 12px 0 0; max-width: 22em; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -.012em; color: rgb(255 255 255 / .74); text-wrap: balance; }
.eu-ai { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.25; font-weight: 600; letter-spacing: -.016em; }
.eu-ai-ico { display: inline-flex; flex: none; }
.eu-ai-ico img { width: 30px; height: 30px; border-radius: 7px; }
.eu-ai-ico img + img { margin-left: -6px; box-shadow: -2px 0 0 0 rgb(0 0 0 / .35); }
/* цифры на фото: линии и подписи светлее, чем на черном */
.eu .facts { width: min(100%, 380px); }
.eu .facts li + li { box-shadow: inset 1px 0 0 rgb(255 255 255 / .22); }
.eu .facts b { color: #fff; }
.eu .facts span { color: rgb(255 255 255 / .7); }
@media (min-width: 768px) {
  .eu .facts { width: min(100%, 640px); }
  .eu .facts b { font-size: 36px; }
  .eu .facts span { font-size: 15px; margin-top: 8px; }
}
@media (max-width: 699.98px) {
  .eu { height: min(100svh, 700px); }
  .eu-ph img { object-position: 50% 44%; transform-origin: 50% 44%; }
  .eu-t { max-width: 7.6em; }
  .eu-p { max-width: 17em; }
  /* строка не помещается в ширину: значки над ней, по центру */
  .eu-ai { flex-direction: column; gap: 10px; max-width: 15em; text-wrap: balance; }
  .eu-ai-ico img { width: 34px; height: 34px; border-radius: 8px; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .eu-ph img { animation: eu-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes eu-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
  }
}

/* ---------- 3. Почему Only Wallet: вкладки и сцены в iPhone, как ECOSYSTEM у Tangem ---------- */
/* Телефон и узкие окна (до 960 px): сверху iPhone, под ним ряд вкладок-капсул по центру (два ряда)
   и текст активной (.eco-now); телефон и вкладки помещаются на экран вместе. Активная капсула белая, по ней
   слева направо идет заливка времени (--p от 0 до 1, ставит site.js).
   С 960 px как у Tangem: слева столбик вкладок, справа iPhone. Свернутая вкладка по ширине заголовка
   (--cw, меряет site.js), активная раскрывается на всю ширину столбца, под заголовком появляется
   текст (ширина текста --tw задана сразу, чтобы строки не переносились во время раскрытия),
   внизу тонкая полоска времени. Фон вкладок ровный --d-card, без обводки (как плитки выше).
   Смена сцены: экран на миг размывается и чуть уменьшается (как у Tangem, мягче), потом новая сцена. */
.eco { --eco-w: clamp(230px, 64vw, 300px); display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 28px; }
/* на телефоне сначала iPhone (главная картинка), под ним вкладки и текст, как в мобильной версии Tangem */
.eco-stage { order: -1; }
.eco-side { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.eco-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 440px; }
.eco-tab {
  --p: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--d-card);
  color: var(--s-fg);
  font: inherit;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.eco-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.eco-tab.is-on { background: #fff; color: #000; }
.eco-tab-t { position: relative; z-index: 1; white-space: nowrap; }
/* на телефоне текст вкладки читают только экранные чтецы, глазами он виден в .eco-now */
.eco-tab-p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eco-tab-bar { position: absolute; inset: 0; background: rgb(0 0 0 / .1); transform: scaleX(var(--p)); transform-origin: 0 50%; opacity: 0; pointer-events: none; }
.eco-tab.is-on .eco-tab-bar { opacity: 1; }
.eco-now { min-height: calc(2 * 1.35em); max-width: 360px; margin: 0; text-align: center; font-size: 16px; line-height: 1.35; font-weight: 500; letter-spacing: -.012em; color: var(--s-fg-2); text-wrap: balance; }
.eco-stage { flex: none; }
.eco-screen { position: absolute; inset: 0; transition: filter .2s ease, transform .2s ease, opacity .2s ease; }
.eco.is-switching .eco-screen { filter: blur(10px); transform: scale(.96); opacity: .7; }
.eco-pane { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.eco-pane.is-on { opacity: 1; }
.eco-poster, .eco-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* видео видно, только когда пошли кадры: до этого обложка (тот же первый кадр), без черной вспышки */
.eco-video { opacity: 0; }
.eco-video.is-ready { opacity: 1; }
@media (min-width: 390px) {
  .eco-tab { font-size: 16px; padding: 10px 16px; }
  .eco-now { font-size: 17px; }
}
@media (min-width: 640px) {
  .eco { --eco-w: 300px; margin-top: 36px; }
  .eco-tabs { max-width: 560px; }
}
@media (min-width: 960px) {
  .eco { --eco-w: clamp(290px, 26vw, 330px); flex-direction: row; align-items: center; justify-content: center; gap: clamp(48px, 7vw, 112px); margin-top: 56px; }
  .eco-side { flex: 0 1 520px; align-items: stretch; gap: 0; }
  .eco-stage { order: 0; }
  .eco-tabs { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 12px; max-width: none; }
  .eco-tab {
    width: var(--cw, auto);
    max-width: 100%;
    padding: 18px 26px;
    border-radius: 32px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
    transition: width .35s var(--ease), background-color .3s var(--ease), padding-bottom .35s var(--ease);
  }
  .eco-tab:hover { background: #1b1b1f; }
  .eco-tab.is-on { width: 100%; padding-bottom: 26px; background: var(--d-card); color: var(--s-fg); }
  .eco-tab-p {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.012em;
    color: var(--s-fg-2);
    transition: grid-template-rows .35s var(--ease), margin-top .35s var(--ease), opacity .2s ease;
  }
  .eco-tab-p > span { min-height: 0; overflow: hidden; width: var(--tw, auto); text-wrap: pretty; }
  .eco-tab.is-on .eco-tab-p { grid-template-rows: 1fr; margin-top: 8px; opacity: 1; transition-delay: 0s, 0s, .12s; }
  /* полоска времени внизу раскрытой вкладки: дорожка (::before) и заливка (сама полоска, scaleX = --p) */
  .eco-tab-bar { inset: auto 26px 12px; height: 2px; border-radius: 1px; background: rgb(255 255 255 / .85); transform: none; }
  .eco-tab-bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(255 255 255 / .14); }
  .eco-tab-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: scaleX(var(--p)); transform-origin: 0 50%; }
  .eco-tab-bar { background: none; }
  .eco-now { display: none; }
}
@media (min-width: 1200px) {
  .eco-tab { font-size: 24px; padding: 20px 28px; }
  .eco-tab.is-on { padding-bottom: 28px; }
  .eco-tab-bar { inset: auto 28px 13px; }
  .eco-tab-p { font-size: 18px; }
}
/* без JS: все вкладки раскрыты списком, в телефоне обложка первой сцены */
html:not(.js) .eco-tab-p { position: static; width: auto; height: auto; clip: auto; white-space: normal; display: block; margin-top: 6px; opacity: 1; color: var(--s-fg-2); }
html:not(.js) .eco-tab { width: 100%; border-radius: 24px; }
html:not(.js) .eco-now { display: none; }

/* Экран блокировки во вкладке «Коды» (iOS 27, iPhone 17 Pro, Apple iOS 27 UI Kit). Размеры в pt экрана
   402 x 874 через var(--u) из iphone.css. На экране блокировки слева в строке статуса вместо времени имя
   оператора («Only-Wallet», Semibold, по центру левого «уха» x 67,25); под значками справа полоска Пункта
   управления. Дата SF Pro Semibold 22 на y 79. Часы - цифры набора Apple, вытянутые как «Fluid Time»
   (205,08 x 267,41 в масштабе 1,21 = 248,15 x 323,57 pt, ровный верх цифр на y 116,5): стекло - размытые
   и осветленные обои под маской цифр, кромка - тонкий блик внутри контура. Уведомления по снимку набора:
   поля 16 (ширина 370), радиус 23, значок 38,33, текст с x 62,33, строки по 18, заголовок Semibold 15,
   время 15 справа (поле 13,5); список прижат к низу (низ последнего на 745,7), между карточками 8. Приходят
   снизу из 15 % размера за 0,35 с, первое через 0,5 с, второе (об оплате) через 2,8 с встает над ним; низ
   экрана при этом темнеет. Кнопки фонарика и камеры 58 pt на x 46 и 298, верх 766. Стекло карточек и кнопок -
   размытие фона, белая заливка и светлые края сверху и снизу. */
.eco:has(.eco-lock.is-on) .ip-time { opacity: 0; }
.lk-carrier { top: calc(var(--u) * 21.5); left: calc(var(--u) * 7.25); width: calc(var(--u) * 120); text-align: center; font-size: calc(var(--u) * 16.5); line-height: calc(var(--u) * 22); font-weight: 600; letter-spacing: calc(var(--u) * -0.3); white-space: nowrap; }
.eco-lock { background: #1a1a1c; color: #fff; overflow: hidden; }
.eco-lock > * { position: absolute; }
.lk-wall { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lk-scrim { inset: auto 0 0; height: calc(var(--u) * 430); background: linear-gradient(to top, rgb(0 0 0 / .45), rgb(0 0 0 / .3) 70%, rgb(0 0 0 / 0)); opacity: 0; }
.lk-grab { left: calc(var(--u) * 309.75); top: calc(var(--u) * 47); width: calc(var(--u) * 48); height: calc(var(--u) * 2.33); border-radius: calc(var(--u) * 1.17); background: rgb(255 255 255 / .3); }
.lk-date { top: calc(var(--u) * 79); left: 0; right: 0; text-align: center; font-size: calc(var(--u) * 22); line-height: calc(var(--u) * 26); font-weight: 600; letter-spacing: calc(var(--u) * -0.26); color: rgb(255 255 255 / .74); }
/* маска цифр - файл lock-time.svg, адрес с ?v= приходит из разметки (style="--lk-mask: url(...)") */
.lk-clock {
  left: calc(var(--u) * 76.93);
  top: calc(var(--u) * 114.68);
  width: calc(var(--u) * 248.15);
  height: calc(var(--u) * 323.57);
}
.lk-glass {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / .2);
  -webkit-backdrop-filter: blur(calc(var(--u) * 6)) saturate(1.3) brightness(1.35);
  backdrop-filter: blur(calc(var(--u) * 6)) saturate(1.3) brightness(1.35);
  -webkit-mask: var(--lk-mask) center / 100% 100% no-repeat;
  mask: var(--lk-mask) center / 100% 100% no-repeat;
}
.lk-rim { position: absolute; inset: 0; width: 100%; height: 100%; }
.lk-notes { left: calc(var(--u) * 16); right: calc(var(--u) * 16); bottom: calc(var(--u) * 128.3); display: flex; flex-direction: column; gap: calc(var(--u) * 8); margin: 0; padding: 0; list-style: none; }
.lk-note {
  position: relative;
  min-height: calc(var(--u) * 62.33);
  padding: calc(var(--u) * 12) calc(var(--u) * 13.5) calc(var(--u) * 12) calc(var(--u) * 62.33);
  border-radius: calc(var(--u) * 23);
  background: rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(calc(var(--u) * 10)) saturate(1.5) brightness(1.06);
  backdrop-filter: blur(calc(var(--u) * 10)) saturate(1.5) brightness(1.06);
  box-shadow:
    inset 0 calc(var(--u) * 1) 0 rgb(255 255 255 / .32), inset 0 calc(var(--u) * -1) 0 rgb(255 255 255 / .3),
    inset 0 0 0 calc(var(--u) * 1) rgb(255 255 255 / .07),
    inset 0 calc(var(--u) * 40) calc(var(--u) * 20) calc(var(--u) * -40) rgb(255 255 255 / .12),
    0 0 0 calc(var(--u) * .5) rgb(0 0 0 / .14);
}
.lk-ico { position: absolute; left: calc(var(--u) * 14); top: 50%; width: calc(var(--u) * 38.33); height: calc(var(--u) * 38.33); margin-top: calc(var(--u) * -19.17); border-radius: calc(var(--u) * 8.6); }
.lk-main { display: flex; flex-direction: column; min-width: 0; }
.lk-hd { display: flex; justify-content: space-between; align-items: baseline; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 15); line-height: calc(var(--u) * 18); letter-spacing: calc(var(--u) * -0.23); }
.lk-hd b { font-weight: 600; }
.lk-hd time { flex: none; letter-spacing: calc(var(--u) * -0.23); color: rgb(255 255 255 / .62); }
.lk-tx { font-size: calc(var(--u) * 15); line-height: calc(var(--u) * 18); letter-spacing: calc(var(--u) * -0.23); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-btn {
  top: calc(var(--u) * 766);
  display: grid;
  place-items: center;
  width: calc(var(--u) * 58);
  height: calc(var(--u) * 58);
  border-radius: 50%;
  background: rgb(248 248 248 / .12);
  -webkit-backdrop-filter: blur(calc(var(--u) * 4)) saturate(1.4);
  backdrop-filter: blur(calc(var(--u) * 4)) saturate(1.4);
  box-shadow: inset 0 calc(var(--u) * 1) 0 rgb(255 255 255 / .22), inset 0 calc(var(--u) * -1) 0 rgb(255 255 255 / .14);
  color: #fff;
}
.lk-torch { left: calc(var(--u) * 46); }
.lk-torch svg { width: calc(var(--u) * 11); height: calc(var(--u) * 26.5); }
.lk-cam { left: calc(var(--u) * 298); }
.lk-cam svg { width: calc(var(--u) * 27.5); height: calc(var(--u) * 21.5); }
html.js .eco-lock .lk-note { opacity: 0; transform: translateY(calc(var(--u) * 20)) scale(.15); transform-origin: 50% 100%; }
.eco-lock.is-play .lk-n1 { animation: lk-in .35s cubic-bezier(.32, .72, 0, 1) .5s both; }
.eco-lock.is-play .lk-n2 { animation: lk-in .35s cubic-bezier(.32, .72, 0, 1) 2.8s both; }
.eco-lock.is-play .lk-scrim { animation: lk-scrim .15s linear .5s both; }
@keyframes lk-in {
  0% { opacity: 0; transform: translateY(calc(var(--u) * 20)) scale(.15); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes lk-scrim { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.js .eco-lock .lk-note { opacity: 1; transform: none; animation: none; }
  .eco-lock .lk-scrim { opacity: 1; animation: none; }
  .eco-screen, .eco-pane, .eco-tab, .eco-tab-p { transition: none; }
}

/* ---------- Разделы «текст и картинка» ---------- */
.split { display: grid; }
.split-text { text-align: center; max-width: 640px; margin: 0 auto; }
.split-text .lead { margin: 16px auto 0; max-width: 28em; }
.split-vis { margin-top: 44px; }
.split .feat { margin-top: 40px; }
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "vis ." "vis text" "vis feat" "vis .";
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: clamp(56px, 7vw, 104px);
  }
  .split.is-rev { grid-template-areas: ". vis" "text vis" "feat vis" ". vis"; }
  .split-text { grid-area: text; text-align: left; margin: 0; }
  .split-text .lead { margin-left: 0; }
  .split-vis { grid-area: vis; margin: 0; }
  .split .feat { grid-area: feat; margin-top: 40px; }
}

/* Список с иконками как у Tangem: знак 48 px на телефоне и 64 px с 960 px прямо на черном, без плитки;
   столбец по ширине иконки, первая строка текста по центру иконки; начало строки белое полужирное,
   продолжение серое */
.feat { --ico: 48px; list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; text-align: left; max-width: 560px; margin-inline: auto; }
.feat li { display: grid; grid-template-columns: var(--ico) 1fr; gap: 16px; align-items: start; }
.feat-ico { width: var(--ico); height: var(--ico); }
.feat p { margin: 0; padding-top: calc((var(--ico) - 1.3em) / 2); font-size: clamp(17px, 4.9vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -.016em; color: var(--s-fg-2); text-wrap: pretty; }
.feat b { color: var(--s-fg); font-weight: 600; }
.feat a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .feat li { gap: 20px; }
}
@media (min-width: 960px) {
  .feat { --ico: 64px; margin-inline: 0; gap: 28px; }
}

/* ---------- 4. Apple Pay: iPhone уходит под белый лист ---------- */
.ap-vis {
  --pw: min(76vw, 320px);
  position: relative;
  height: calc(var(--pw) * 1.58 + var(--sheet-r));
  margin: 48px calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}
/* сцена как у Tangem: нейтральный мягкий свет сверху на телефон, к краям чистый черный, без цветного ореола */
.ap-vis::before {
  content: "";
  position: absolute; left: 50%; top: -6%;
  width: calc(var(--pw) * 2.4); height: 92%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 255 255 / .11), rgb(255 255 255 / .04) 52%, transparent);
  pointer-events: none;
}
/* экран с подсветкой (только здесь): на нем видны черная кромка стекла и Dynamic Island */
.ap-vis .ip-glass { background: linear-gradient(116deg, rgb(255 255 255 / .12) 0%, rgb(255 255 255 / .03) 24%, rgb(255 255 255 / 0) 40%); }
.ap-rise { position: absolute; left: 50%; top: 18px; width: var(--pw); margin-left: calc(var(--pw) / -2); }
/* С 960 px телефон крупный (430 px) и стоит справа во всю высоту секции: верх на уровне надзаголовка,
   низ уходит под белый лист (секцию обрезает overflow ниже). Колонка с картинкой тянется по высоте текста. */
@media (min-width: 960px) {
  .ap-split { align-items: start; }
  .ap-vis { --pw: 430px; align-self: stretch; margin: 0; height: auto; min-height: 480px; overflow: visible; }
  .ap-vis::before { top: -16%; width: calc(var(--pw) * 2.5); height: 86%; }
  .ap-rise { top: 4px; }
  .ap-split .feat { padding-bottom: calc(var(--sheet-r) + 64px); }
}
/* на широком экране низ секции обрезает телефон сама секция */
@media (min-width: 960px) { .ap-sec { overflow: hidden; overflow: clip; } }

/* Знаки Apple Pay и Google Pay в виде официальных знаков приема оплаты (как наклейки на кассе):
   невысокий прямоугольник 36 px со скруглением и тонкой кромкой, не кнопка (без наведения и курсора).
   На черном черные с серой кромкой, на белом белые с серой. */
.pay-marks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.pay-mark {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  min-width: 72px; height: 36px; padding: 0 12px;
  border-radius: 8px;
  background: #000; color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3);
  font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: -.02em;
  white-space: nowrap;
  cursor: default;
  -webkit-user-select: none; user-select: none;
}
.pay-apple { flex: none; width: 16px; height: 16px; margin-top: -2px; }
.pay-g { flex: none; width: 15px; height: 15px; margin-right: 4px; }
.pay-g + span { font-weight: 500; }
section[data-tone="light"] .pay-mark { background: #fff; color: #000; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .16); }
section[data-tone="light"] .pay-g + span { color: #5f6368; }
@media (min-width: 960px) {
  .ap-split .pay-marks { justify-content: flex-start; margin-top: 28px; }
}

/* ---------- 5. Цены ---------- */
.prices-grid { display: grid; gap: 40px; }
.list-title { margin: 0 0 14px; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; text-align: center; }
@media (min-width: 1024px) {
  .prices-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
  .list-title { text-align: left; margin: 8px 0 16px 4px; font-size: 26px; }
}

/* Карточка тарифа: витрина карты, знаки, таблица, галочки, гарантия, цена, кнопка */
/* Углы концентричны: у кнопки радиус 27 (половина высоты), отступ карточки со всех сторон одинаковый,
   радиус карточки = 27 + отступ. Обычные дуги, а не squircle: только так скругления идут ровно параллельно. */
.tariff {
  --tp: 10px;
  --tr-in: 27px;
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--tp);
  border-radius: calc(var(--tr-in) + var(--tp));
  background: var(--l-card);
  text-align: center;
}
/* витрина как предметная съемка у Tangem: темная сцена, мягкий свет сверху, черная карта с серебряной
   кромкой крупно, ее угол уходит за край витрины */
.tariff-vis {
  position: relative;
  overflow: hidden;
  border-radius: var(--tr-in) var(--tr-in) 18px 18px;
  aspect-ratio: 4 / 3.1;
  background:
    radial-gradient(60% 55% at 58% 26%, rgb(255 255 255 / .13), rgb(255 255 255 / .04) 55%, transparent 80%),
    radial-gradient(75% 65% at 50% 0%, rgb(255 255 255 / .08), transparent 70%),
    linear-gradient(180deg, #232326 0%, #121214 55%, #0a0a0b 100%);
}
/* Карта крупно, ее верхний угол решительно срезан верхним краем витрины (почти половина верхней
   кромки уходит за кадр, как у Tangem). Логотип и VISA остаются в кадре, низ карты стоит выше
   ряда значков (между ними 18-24 px на 360-390). Карта в кадре рендера: 16-84% ширины, 7-84% высоты. */
.tariff-img { position: absolute; left: -16%; top: -35%; width: 132%; max-width: none; height: auto; }
.tariff-apps { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.tariff-stack { display: flex; gap: 4px; }
.tariff-stack .app-ico { --size: 32px; }
.tariff-more {
  padding: 7px 12px;
  border-radius: 99px;
  background: rgb(255 255 255 / .2);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .3);
  color: #fff;
  font-size: 13px; line-height: 1.2; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tariff-t { margin: 22px 16px 0; font-size: 25px; line-height: 1.12; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.tariff-marks { margin-top: 14px; gap: 8px; }
.tariff-marks .pay-mark { min-width: 74px; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 16px; }
.tariff-marks .pay-apple { width: 16px; height: 16px; }
.tariff-marks .pay-g { width: 14px; height: 14px; margin-right: 4px; }
.tariff-table, .checks, .tariff-price { background: #fff; border-radius: 18px; text-align: left; }
.tariff-table { margin: 18px 0 0; padding: 0 16px; }
.tariff-table div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; }
.tariff-table div + div { box-shadow: inset 0 1px 0 var(--l-line); }
/* подпись в одну строку, длинное значение («Дебетовая, не предоплаченная») переносится справа */
.tariff-table dt { flex: none; font-size: 16px; line-height: 1.3; color: var(--l-fg-2); white-space: nowrap; }
.tariff-table dd { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; text-wrap: balance; }
.checks { list-style: none; margin: 8px 0 0; padding: 4px 16px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 16px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.check-ico { flex: none; width: 22px; height: 22px; color: var(--blue); }
.tariff-g {
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #e3edff;
  background: color-mix(in srgb, var(--blue) 12%, #fff);
  text-align: left;
}
/* На голубом подложка на 60% слишком бледная (2:1), а стрелка и говорит «возврат»:
   монета #2466e6 (4,4:1 к фону), подложка на 75% (3:1) */
.tariff-g-ico { width: 48px; height: 48px; color: var(--blue-lo); }
.tariff-g-ico .t2 { opacity: .75; }
@media (max-width: 389px) {
  .tariff-g { gap: 10px; padding: 14px 14px; }
  .tariff-g p { font-size: 15px; }
}
.tariff-g p { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; color: var(--l-fg); text-wrap: balance; }
.tariff-g b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--blue-lo); }
.tariff-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 16px; }
.tariff-price p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.tariff-price small { flex-basis: 100%; margin-bottom: 4px; font-size: 14px; line-height: 1.2; color: var(--l-fg-2); }
.tariff-price b { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.tariff-price span { font-size: 15px; line-height: 1.2; color: var(--l-fg-2); }
.tariff-btn { width: 100%; margin-top: 8px; border-radius: var(--tr-in); }
@media (max-width: 374px) { .tariff-price span { font-size: 14px; } }
@media (min-width: 1024px) {
  .tariff { max-width: none; --tp: 12px; }
  .tariff-t { font-size: 28px; }
}

/* Все цены: сгруппированный список iOS */
.glist { margin: 0; padding: 4px 20px; background: var(--s-card); }
.glist-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
.glist-row + .glist-row { box-shadow: inset 0 1px 0 var(--s-line); }
.glist dt { font-size: 16px; line-height: 1.3; }
.glist dt small { display: block; margin-top: 2px; font-size: 14px; color: var(--s-fg-2); }
.glist dd { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.glist dd.is-free { color: #248a3d; }
@media (max-width: 389px) { .glist dt, .glist dd { font-size: 15px; } .glist { padding-inline: 18px; } }
@media (min-width: 900px) { .glist { padding: 6px 28px; } .glist-row { padding: 16px 0; } .glist dt, .glist dd { font-size: 17px; } }

/* Пример расчета: темный остров в белой части */
.calc {
  margin-top: 12px;
  padding: 24px 22px 14px;
  color: var(--s-fg);
  background:
    radial-gradient(90% 70% at 50% 0%, rgb(255 255 255 / .09), transparent 70%),
    #000;
}
.calc-title { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--s-fg-2); }
.calc-steps { list-style: none; margin: 0; padding: 0; counter-reset: calc; }
.calc-steps li {
  position: relative;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 13px 0 13px 42px;
  counter-increment: calc;
}
.calc-steps li::before {
  content: counter(calc);
  position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / .12);
  color: #fff;
  font-size: 14px; font-weight: 500;
}
.calc-steps li + li::after {
  content: "";
  position: absolute; left: 13.5px; top: -11px;
  width: 1px; height: 22px;
  background: rgb(255 255 255 / .16);
}
.calc-steps li.is-total { counter-increment: none; margin-top: 6px; padding-top: 19px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14); }
.calc-steps li.is-total::before { content: "="; top: 18px; background: #30d158; color: #000; font-weight: 600; }
.calc-steps li.is-total::after { display: none; }
.calc-steps li.is-total .calc-l { font-weight: 600; }
.calc-l { font-size: 16px; line-height: 1.3; }
.calc-note { margin: 2px 0 6px; font-size: 14px; line-height: 1.35; color: var(--s-fg-2); }
.calc-l small { display: block; margin-top: 2px; font-size: 14px; color: var(--s-fg-2); }
.calc-v { font-size: 28px; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 389px) { .calc-v { font-size: 24px; } .calc-l { font-size: 15px; } .calc-l small { font-size: 13px; } }
@media (min-width: 900px) {
  .calc { padding: 30px 32px 20px; }
  .calc-l { font-size: 17px; }
  .calc-v { font-size: 30px; }
}

/* ---------- 6. Какие сервисы можно оплатить ---------- */
.svc-tools { max-width: 720px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 14px; }
.svc-search { position: relative; display: block; }
.svc-search input {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 16px 0 46px;
  border: 0;
  border-radius: 16px;
  background: rgb(118 118 128 / .12);
  color: var(--l-fg);
  font: inherit;
  font-size: 17px;
  letter-spacing: -.012em;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-search input::placeholder { color: rgb(60 60 67 / .6); opacity: 1; }
.svc-search input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgb(52 123 246 / .15); }
.svc-search input::-webkit-search-decoration { -webkit-appearance: none; }
.svc-search-ico { position: absolute; left: 15px; top: 50%; width: 21px; height: 21px; margin-top: -10.5px; color: rgb(60 60 67 / .6); pointer-events: none; }
.svc-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cat {
  margin: 0;
  padding: 9px 15px;
  border: 0;
  border-radius: 99px;
  background: var(--l-card);
  color: var(--l-fg);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.cat:hover { background: #e7e7ec; }
.cat:active { transform: scale(.96); }
.cat[aria-pressed="true"] { background: var(--l-fg); color: #fff; }
/* сетка как на экране «Домой» в iOS: столбцы ровные, неполная последняя строка прижата влево */
.svc-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; row-gap: 22px; }
.svc-i { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.svc-i .app-ico { --size: 60px; transition: transform .4s var(--ease); }
.svc-i:hover .app-ico { transform: scale(1.04); }
.svc-n { max-width: 100%; font-size: 13px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes svc-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.svc.is-filtered .svc-i { animation: svc-in .45s var(--ease) both; }
@media (max-width: 389px) {
  .svc-cats { gap: 6px; }
  .cat { padding: 8px 13px; font-size: 14px; }
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .svc-i .app-ico { --size: 68px; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); row-gap: 30px; }
  .svc-i { gap: 11px; }
  .svc-i .app-ico { --size: 76px; }
  .svc-n { font-size: 14px; }
}
.svc-also { max-width: 30em; margin: 28px auto 0; text-align: center; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--s-fg-2); text-wrap: balance; }
.svc-empty { margin: 0; padding: 20px 0 4px; text-align: center; font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--s-fg-2); }
.svc-more {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 18px 20px;
  background: var(--l-card);
}
.svc-more-ico { width: 48px; height: 48px; }
.svc-more p { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 500; color: var(--s-fg-2); }
.svc-more b { color: var(--s-fg); font-weight: 500; }
.svc-more-link { grid-column: 2; justify-self: start; margin: 4px 0 -6px -4px; color: var(--blue-lo); }
.svc-more-link:hover { color: var(--blue); }
@media (min-width: 768px) {
  .svc-more { grid-template-columns: 48px 1fr auto; margin-top: 48px; padding: 20px 24px; }
  .svc-more-link { grid-column: 3; margin: 0; }
}

/* ---------- 7. Выпуск карты за минуту ----------
   Все четыре карточки устроены одинаково на любой ширине (как карточки у Tangem): текст сверху,
   снизу зона картинки одной высоты --vh. Телефон шага 4 выходит за нижний край карточки и срезается им.
   На телефоне карточки идут столбиком, картинки шагов 1-3 стоят по центру зоны (так ровнее поля);
   с 768 px карточки стоят рядом, и картинки встают на общую линию по низу зоны.
   Текст тянется (flex: 1), поэтому в ряду из четырех карточек зоны картинок стоят ровно. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step {
  --vh: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 0;
  background: var(--s-card);
}
.step-txt { flex: 1 0 auto; }
.step-n {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgb(52 123 246 / .12);
  color: var(--blue-lo);
  font-size: 14px; line-height: 1.2; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-t { margin: 16px 0 0; font-size: 21px; line-height: 1.18; font-weight: 500; letter-spacing: -.024em; text-wrap: balance; }
.step-p { margin: 8px 0 0; font-size: 16px; line-height: 1.4; color: var(--s-fg-2); text-wrap: pretty; }
.step-p a { color: var(--s-fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.step-vis { position: relative; flex: none; height: var(--vh); margin: 14px -22px 0; }
.sv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 0 14px; }
/* 1: аватарка бота, как в Telegram: синий фон и белый знак кошелька (src/brand.mjs), форма squircle.
   Рядом логотип Telegram: голубой круг и белый самолетик. Под ними имя бота. */
.sv-app { position: relative; width: 108px; height: 108px; }
.sv-ava {
  display: block; width: 100%; height: 100%;
  background: #0d76f6;
  -webkit-mask: var(--app-mask) center / 100% 100% no-repeat;
  mask: var(--app-mask) center / 100% 100% no-repeat;
}
.sv-ava svg { display: block; width: 100%; height: 100%; }
.sv-app::before { content: ""; position: absolute; inset: 18% 12% -8%; z-index: -1; border-radius: 30%; background: rgb(13 118 246 / .42); filter: blur(16px); }
.sv-tg {
  position: absolute; right: -10px; bottom: -8px;
  width: 38px; height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--s-card), 0 4px 10px -2px rgb(0 0 0 / .18);
}
.sv-handle { margin-top: 18px; padding: 5px 11px; border-radius: 99px; background: #fff; font-size: 13px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .25); }
/* 2: монеты двумя рядами по три, соседние чуть заходят друг на друга */
.sv-coin-row { --c: 62px; display: grid; grid-template-columns: repeat(3, calc(var(--c) - 5px)); grid-auto-rows: calc(var(--c) - 6px); padding: 0 5px 6px 0; }
.sv-coin-row .coin { width: var(--c); height: var(--c); box-shadow: 0 0 0 3px var(--s-card), 0 6px 12px -6px rgb(0 0 0 / .3); }
.sv-pill { padding: 5px 10px; border-radius: 99px; font-size: 12px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.sv-pill-green { background: rgb(52 199 89 / .16); color: #248a3d; }
/* 3: рендер карты (card-hero-angle). Карта в кадре занимает 16-84% по ширине и 7-84% по высоте,
   правый нижний угол кадра пустой: там плашка «Готово», она не задевает надписи карты.
   Под картой в кадре 16% прозрачного поля с тенью, поэтому отступ снизу меньше, чем у других шагов:
   нижний угол карты встает на ту же линию, что низ аватарки и монет. */
.sv.sv-card { padding: 0; }
.sv-card-box { position: relative; display: block; width: 264px; }
.sv-card-img { display: block; width: 100%; height: auto; }
.sv-ready { position: absolute; right: 7%; bottom: 12%; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 7px; background: #fff; box-shadow: 0 8px 18px -8px rgb(0 0 0 / .35); }
.sv-check { width: 15px; height: 15px; color: #248a3d; }
/* 4: iPhone с экраном приложения поднимается из нижнего края карточки, край его срезает.
   Видна верхняя часть экрана: «Кошелек», баланс и верх карты. Фон экрана не чисто черный,
   чтобы на нем читался Dynamic Island. */
.sv-phone { padding: 0; --sw: min(62vw, 236px); }
.sv-phone .iphone { position: absolute; left: 50%; top: 12px; margin-left: calc(var(--sw) / -2); }
.sv-phone .ip-wl { background: linear-gradient(180deg, #19191c 0%, #111113 45%, #0c0c0e 100%); }
.sv-phone .iphone .ip-frame { box-shadow: inset 0 0 0 calc(var(--u) * .4) rgb(0 0 0 / .5), inset 0 0 calc(var(--u) * 1.4) calc(var(--u) * 1.4) rgb(0 0 0 / .38), 0 calc(var(--u) * 30) calc(var(--u) * 60) calc(var(--u) * -18) rgb(0 0 0 / .35); }

/* общие монеты: актуальный логотип монеты целиком (coinIcon), сверху тонкий ободок и мягкий объем,
   чтобы светлая монета (ETH) не терялась на светлом фоне */
.coin {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
}
.coin-svg { display: block; width: 100%; height: 100%; }
.coin::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .18), rgb(255 255 255 / 0) 48%);
  box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .12), inset 0 -3px 6px rgb(0 0 0 / .1);
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { --vh: 232px; padding: 24px 24px 0; }
  .step-t { margin-top: 14px; }
  .step-vis { margin: 18px -24px 0; }
  .sv { justify-content: flex-end; padding: 0 0 28px; }
  .sv-app { width: 124px; height: 124px; }
  .sv-tg { width: 44px; height: 44px; right: -12px; bottom: -10px; }
  .sv-coin-row { --c: 62px; }
  .sv.sv-card { padding: 0 0 6px; }
  .sv-card-box { width: 264px; }
  .sv-phone { padding: 0; --sw: 250px; }
  .sv-phone .iphone { top: 18px; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .sv-phone { --sw: clamp(212px, 17.2vw, 244px); }
}

/* ---------- 7. Вопросы ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { overflow: hidden; border-radius: 26px; background: var(--s-card); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 22px 22px 24px;
  border-radius: 26px;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: 22px; }
.faq-q { margin: 0; font-size: 19px; line-height: 1.32; font-weight: 500; letter-spacing: -.02em; }
.faq-plus { width: 24px; height: 24px; flex: none; margin-top: 1px; transition: transform .5s var(--ease); }
.faq-item[open]:not(.is-closing) .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 24px 24px; }
.faq-a p { margin: 0; max-width: 40em; font-size: 17px; line-height: 1.45; color: var(--s-fg-2); text-wrap: pretty; }
.faq-a a { color: var(--s-fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .faq-item summary { padding: 26px 28px 26px 32px; }
  .faq-q { font-size: 21px; }
  .faq-a { padding: 0 32px 28px; }
  .faq-a p { font-size: 18px; }
}
.faq-more { margin: 48px auto 0; max-width: 520px; text-align: center; }
.faq-more-ico { width: 56px; height: 56px; margin: 0 auto 14px; }
.faq-more-t { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.faq-more p { margin: 10px 0 24px; font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--s-fg-2); }

/* ---------- 8. Финальный призыв: темный остров ---------- */
.sec-last { padding-bottom: calc(var(--sec-y) * .8); }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 48px 24px 0;
  text-align: center;
  color: var(--s-fg);
  background:
    radial-gradient(90% 60% at 50% 100%, rgb(255 255 255 / .09), transparent 70%),
    #000;
}
.cta-card .h2 { font-size: clamp(32px, 8.8vw, 52px); max-width: 11em; margin: 0 auto; }
.cta-card .lead { margin: 16px auto 0; max-width: 22em; }
.cta-btn { margin-top: 28px; width: min(100%, 304px); }
/* рендер карты крупно, его срезает нижний край острова; без синего отлива, как черная карта наверху */
.cta-img {
  position: relative;
  width: 120%;
  max-width: none;
  height: auto;
  margin: 8px -10% -34%;
  filter: saturate(0) brightness(.96) drop-shadow(0 30px 40px rgb(0 0 0 / .7));
}
@media (min-width: 640px) { .cta-img { width: 100%; max-width: 520px; margin: 8px auto -30%; } }
@media (min-width: 900px) {
  .cta-card { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; text-align: left; padding: 88px 0 88px 72px; }
  .cta-card .h2 { max-width: 9.5em; }
  .cta-card .h2, .cta-card .lead { margin-left: 0; }
  .cta-btn { width: auto; padding-inline: 36px; }
  .cta-img { width: 100%; max-width: 640px; margin: -40px -10% -180px -2%; justify-self: end; }
}

/* ---------- Подвал ---------- */
.ftr { padding: 8px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.ftr-in { padding-top: 48px; border-top: 1px solid var(--s-line); }
.ftr.sec-sheet { padding-top: 0; }
.ftr.sec-sheet .ftr-in { border-top: 0; }
.ftr-top { display: flex; flex-direction: column; gap: 14px; }
.ftr .brand { margin-right: 0; align-self: flex-start; }
.ftr-tag { margin: 0; max-width: 28em; font-size: 15px; line-height: 1.4; color: var(--s-fg-2); }
.ftr-cols { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; margin-top: 40px; }
/* третья колонка (Telegram) на телефоне под первыми двумя */
.ftr-cols > :nth-child(3) { grid-column: 1 / -1; }
.ftr-h { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.ftr-col a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.3; color: var(--s-fg-2); text-decoration: none; overflow-wrap: anywhere; transition: color .25s var(--ease); }
.ftr-col a:hover { color: var(--s-fg); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 44px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--s-line); font-size: 13px; color: var(--s-fg-2); }
.ftr-bottom p { margin: 0; }
.ftr-lang { color: inherit; text-decoration: none; }
.ftr-lang:hover { color: var(--s-fg); }
@media (min-width: 900px) {
  .ftr-in { display: grid; grid-template-columns: 1fr auto; column-gap: 64px; padding-top: 64px; }
  .ftr-cols { margin-top: 0; grid-template-columns: auto auto auto; gap: 64px; }
  .ftr-cols > :nth-child(3) { grid-column: auto; }
  .ftr-bottom { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.nf {
  min-height: calc(100vh - var(--hdr-h));
  min-height: calc(100svh - var(--hdr-h));
  display: flex; align-items: center;
  text-align: center;
  padding-bottom: calc(var(--sec-y) + var(--sheet-r));
  background: radial-gradient(closest-side at 50% 40%, rgb(255 255 255 / .07), transparent), #000;
}
.nf-code {
  margin: 0 0 4px;
  font-size: clamp(96px, 32vw, 200px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.06em;
  color: #1c1c1f;
}
.nf-title { margin: 0 auto; max-width: 10em; }
.nf-lead { margin: 18px auto 0; max-width: 24em; }
.nf-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  .rise, .card-float, .floor-pool, html.js .card-scene { animation: none !important; }
  .card-sweep { display: none; }
  .card3d { transform: rotateX(6deg) rotateY(-10deg) rotateZ(-5deg); }
}

/* Кнопка в шапке: на черном с бликами Tangem, над белым секциями одноцветная синяя (как «Order» у Tangem) */
.hdr-btn { font-size: 15px; font-weight: 620; }
.hdr-btn.btn-primary { transition: --btn-glow .3s, background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
html[data-tone="light"] .hdr-btn.btn-primary { background: var(--btn-c); box-shadow: none; }
@media (hover: hover) { html[data-tone="light"] .hdr-btn.btn-primary:hover { background: #008ae6; } }
