/* ==========================================================================
   AuraStash site — design system (vanilla CSS, no external requests)
   Sections: tokens · base · layout · nav · buttons · hero · mockup · sections
             · legal · support · delete · footer · motion · responsive
   ========================================================================== */

/* ---------- Fonts (Manrope variable, self-hosted, Latin + Cyrillic) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #030712;
  --bg-soft: #060b17;
  --surface: rgba(9, 15, 30, 0.72);
  --surface-2: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #38bdf8;
  --cyan-2: #7dd3fc;
  --indigo: #6366f1;
  --teal: #00d4b4;
  --purple: #7b2fbe;
  --amber: #fbbf24;
  --danger: #f43f5e;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --glow: 0 0 40px rgba(56, 189, 248, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 68px;
  --wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(56, 189, 248, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: #04121c; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; text-decoration: none; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.page-top { padding-top: calc(var(--nav-h) + 56px); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.grad { background: linear-gradient(100deg, var(--cyan) 0%, var(--cyan-2) 40%, #818cf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass {
  background: var(--surface);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
}

/* ---------- Header / nav ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 60; padding: 0 clamp(12px, 3vw, 24px); }
.nav {
  max-width: var(--wrap); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 14px 0 18px; border-radius: 22px;
  background: rgba(6, 11, 23, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled .nav { background: rgba(6, 11, 23, 0.86); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 14px; border-radius: 12px;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: var(--surface-2); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 13px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.lang a { padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); transition: all 0.2s; }
.lang a:hover { color: #fff; text-decoration: none; }
.lang a[aria-current="true"] { background: linear-gradient(135deg, var(--cyan), var(--indigo)); color: #fff; box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35); }
.burger { display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); align-items: center; justify-content: center; font-size: 22px; }
.burger .ico { stroke-width: 2; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mobile-menu {
  display: none; max-width: var(--wrap); margin: 8px auto 0; padding: 12px; border-radius: 22px;
  background: rgba(6, 11, 23, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: 16px; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--surface-2); color: var(--cyan); text-decoration: none; }
.mobile-menu .lang { margin: 8px 8px 4px; display: flex; }
.mobile-menu .lang a { flex: 1; text-align: center; padding: 10px; font-size: 13px; }

/* ---------- Buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 800; font-size: 14px; letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: rgba(12, 20, 39, 0.82); border-color: rgba(56, 189, 248, 0.6); color: #fff; box-shadow: 0 0 26px rgba(56, 189, 248, 0.22); }
.btn-ghost:hover { border-color: var(--cyan-2); box-shadow: 0 0 40px rgba(56, 189, 248, 0.42); }
.btn-ghost .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: #04121c; display: grid; place-items: center; font-size: 9px; }
.btn-solid { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35); }
.btn-solid:hover { box-shadow: 0 14px 40px rgba(99, 102, 241, 0.5); }
.btn-danger { background: linear-gradient(135deg, #f43f5e, #be123c); color: #fff; box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3); }
.btn-danger:hover { box-shadow: 0 14px 40px rgba(244, 63, 94, 0.5); }
.btn-quiet { background: var(--surface-2); border-color: var(--line-2); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn .ico { font-size: 18px; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 14px;
  border-radius: 16px; background: rgba(8, 14, 28, 0.9); border: 1px solid var(--line-2); color: #fff;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
a.store:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25); }
.store .ico { font-size: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.store b { font-size: 15px; font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 16px) 0 24px; }
.hero-bg {
  position: absolute; inset: -4% 0 0 0; z-index: -2;
  background: url("../img/hero.webp") 70% 20% / cover no-repeat;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.05);
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.9) 0%, rgba(3, 7, 18, 0.55) 38%, rgba(3, 7, 18, 0.05) 100%),
    linear-gradient(to bottom, rgba(3, 7, 18, 0.45) 0%, rgba(3, 7, 18, 0.15) 35%, rgba(3, 7, 18, 0.85) 85%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(20px, 3.2vw, 44px); align-items: center; }
.hero-copy { display: grid; gap: 16px; min-width: 0; }
.hero h1, .hero .lead, .section-head h2, .banner h2 { overflow-wrap: anywhere; hyphens: auto; }
.hero h1 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.hero h1 .grad { display: block; }
.hero h1:lang(ru), .hero h1:lang(uk), :lang(ru) .hero h1, :lang(uk) .hero h1 { font-size: clamp(26px, 3.3vw, 44px); letter-spacing: -0.025em; line-height: 1.1; }
.hero .lead { font-size: 16px; color: var(--ink-2); max-width: 440px; line-height: 1.55; }
.hero-cta { display: grid; gap: 14px; padding-top: 2px; }
.hero-cta .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- App mockup (HTML/CSS, 3D tilt, widescreen neon edge) ---------- */
.stage { position: relative; perspective: 1600px; padding: 12px 0 12px 20px; min-width: 0; }
.aura-ring {
  position: absolute; width: min(780px, 110%); aspect-ratio: 1.4 / 1; right: -6%; top: -20%; border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 180, 0.35);
  box-shadow: 0 0 90px rgba(0, 212, 180, 0.22), inset 0 0 70px rgba(123, 47, 190, 0.16);
  pointer-events: none; animation: ringPulse 6s ease-in-out infinite;
}
.phone-island { display: none; }
.mobile-stories { display: none; }
.tablet {
  position: relative; z-index: 2; padding: 22px 24px 20px; border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(8, 14, 28, 0.92), rgba(4, 9, 20, 0.97)) padding-box,
    linear-gradient(135deg, #00d4b4 0%, #38bdf8 25%, #7b2fbe 55%, #ff2a85 80%, #ffb703 100%) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    -16px 28px 70px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(0, 212, 180, 0.28),
    0 0 75px rgba(123, 47, 190, 0.2),
    0 0 120px rgba(56, 189, 248, 0.12);
  transform: rotateY(calc(-8deg + var(--ry, 0deg))) rotateX(calc(4.5deg + var(--rx, 0deg))) rotateZ(0.5deg);
  transition: transform 0.6s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}
.tablet::before {
  content: ""; position: absolute; inset: -2px; border-radius: 30px;
  background: linear-gradient(135deg, #00d4b4, #38bdf8 25%, #7b2fbe 55%, #ff2a85 80%, #ffb703);
  filter: blur(14px); opacity: 0.45; z-index: -1; pointer-events: none;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.tablet:hover::before { opacity: 0.75; filter: blur(20px); }
.tablet::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 25%, transparent 40%, rgba(0, 212, 180, 0.04) 75%, transparent 100%);
}
.stage.tilting .tablet { transition: transform 0.12s linear; }
.tb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.tb-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.tb-brand img { width: 20px; height: 20px; border-radius: 6px; }
.tb-live { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 800; color: var(--teal); background: rgba(0, 212, 180, 0.12); padding: 2px 7px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.dot-live { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(30, 41, 59, 0.8); border: 1px solid rgba(71, 85, 105, 0.7); color: var(--ink-2); white-space: nowrap; }
.chip b { color: var(--cyan); }
.chip-gold { background: rgba(245, 158, 11, 0.18); border-color: rgba(245, 158, 11, 0.45); color: #fcd34d; }
.mock { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding-top: 10px; }
.mock-side { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding-right: 14px; border-right: 1px solid var(--line); font-size: 11.5px; font-weight: 600; }
.mock-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mock-side li { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; color: var(--muted); }
.mock-side li.on { background: rgba(0, 212, 180, 0.16); color: var(--teal); font-weight: 700; box-shadow: 0 0 12px rgba(0, 212, 180, 0.2); }
.mock-days { padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.mock-days h4 { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.mock-days li { padding: 0; gap: 6px; font-size: 11px; }
.mock-days li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #475569; flex: none; }
.mock-days li.on { background: none; color: var(--cyan); }
.mock-days li.on::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.mock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: start; }
.ph { position: relative; overflow: hidden; border-radius: 12px; background: #0b1220; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.08); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tablet:hover .ph img { transform: scale(1.05); }
.ph.big { grid-column: span 3; grid-row: span 2; aspect-ratio: 1.55 / 1; border: 1.5px solid rgba(251, 191, 36, 0.7); box-shadow: 0 0 22px rgba(251, 191, 36, 0.25); }
.ph .tag { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 10px; font-weight: 800; color: #fcd34d; background: rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ph .count { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ph-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: linear-gradient(135deg, rgba(14, 25, 45, 0.85), rgba(8, 14, 28, 0.95)); border: 1px dashed rgba(0, 212, 180, 0.5); }
.more-num { font-size: 15px; font-weight: 800; color: var(--teal); line-height: 1; }
.more-lbl { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.mock-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 8px; }
.rules { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ink-2); background: rgba(8, 14, 28, 0.92); border: 1px solid rgba(71, 85, 105, 0.7); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.rules .ico { color: var(--cyan); }
.avatars { position: absolute; z-index: 3; right: -36px; top: 16%; display: flex; flex-direction: column; gap: 14px; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transition: transform 0.3s var(--ease); }
.avatars img:nth-child(1) { border: 2px solid var(--teal); box-shadow: 0 0 18px rgba(0, 212, 180, 0.5); animation: floaty 6s ease-in-out infinite; }
.avatars img:nth-child(2) { border: 2px solid var(--purple); box-shadow: 0 0 18px rgba(123, 47, 190, 0.5); animation: floaty 7s ease-in-out -1s infinite; transform-origin: center; margin-left: 10px; }
.avatars img:nth-child(3) { border: 2px solid var(--danger); box-shadow: 0 0 18px rgba(244, 63, 94, 0.5); animation: floaty 6.5s ease-in-out -2s infinite; margin-left: 10px; }
.avatars img:nth-child(4) { border: 2px solid var(--amber); box-shadow: 0 0 18px rgba(251, 191, 36, 0.5); animation: floaty 7.5s ease-in-out -3s infinite; }
.avatars img:hover { transform: scale(1.15); }

/* ---------- Home sections ---------- */
section.block { padding-block: clamp(48px, 7vw, 96px); position: relative; }
section.block-flush { padding-top: 0; }
.block-features { padding-top: 10px; padding-bottom: 32px; position: relative; z-index: 3; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.feature {
  position: relative; padding: 22px 20px; border-radius: var(--r-md); text-align: center; display: grid; justify-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(14, 22, 42, 0.75), rgba(6, 11, 23, 0.85)); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(0, 212, 180, 0.45); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 212, 180, 0.16); }
.neon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: rgba(15, 23, 42, 0.85); border: 1.5px solid rgba(56, 189, 248, 0.55); box-shadow: 0 0 20px rgba(56, 189, 248, 0.22); }
.feature:nth-child(1) .neon { color: var(--teal); border-color: rgba(0, 212, 180, 0.55); box-shadow: 0 0 20px rgba(0, 212, 180, 0.25); }
.feature:nth-child(2) .neon { color: var(--cyan); border-color: rgba(56, 189, 248, 0.55); box-shadow: 0 0 20px rgba(56, 189, 248, 0.25); }
.feature:nth-child(3) .neon { color: #a855f7; border-color: rgba(168, 85, 247, 0.55); box-shadow: 0 0 20px rgba(168, 85, 247, 0.25); }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 320px; }

.trust { padding-block: 0; margin-top: 6px; margin-bottom: 24px; position: relative; z-index: 3; }
.trust ul { list-style: none; margin: 0 auto; max-width: 900px; padding: 10px 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; border-radius: 999px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.trust .ico { color: var(--teal); font-size: 16px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; display: grid; gap: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(15, 23, 42, 0.5); border: 1px solid var(--line); counter-increment: step; transition: transform 0.4s var(--ease), border-color 0.4s; }
.step:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.4); }
.step::before { content: "0" counter(step); display: block; font-size: 13px; font-weight: 800; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 12px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  background: linear-gradient(120deg, rgba(14, 22, 42, 0.92), rgba(9, 15, 30, 0.7)); border: 1px solid var(--line-2);
  isolation: isolate;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/hero-m.webp") center / cover; opacity: 0.22; }
.banner::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%); }
.banner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.banner p { color: var(--ink-2); max-width: 520px; }
.banner .note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.banner .note a { font-weight: 700; }

/* ---------- Page header (inner pages) ---------- */
.page-head { display: grid; gap: 14px; max-width: 760px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
.page-head h1 em { font-style: normal; color: var(--cyan); }
.page-head .lead { font-size: 18px; color: var(--ink-2); }
.page-head .meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.page-bg { position: relative; isolation: isolate; }
.page-bg::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; background: url("../img/hero.webp") 75% 30% / cover; opacity: 0.55; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 96px; }
.legal-side { position: sticky; top: 96px; display: grid; gap: 28px; }
.toc { padding: 22px; border-radius: var(--r-md); counter-reset: toc; }
.toc h2 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all 0.2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--faint); font-weight: 800; font-size: 11px; padding-top: 2px; }
.toc a:hover { color: #fff; background: var(--surface-2); text-decoration: none; }
.toc a.on { background: rgba(56, 189, 248, 0.15); color: var(--cyan-2); }
.toc a.on::before { color: var(--cyan); }
.float-card {
  position: relative; padding: 28px; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(56, 189, 248, 0.3);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.6), rgba(30, 27, 75, 0.35)); box-shadow: 15px 25px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
  transform: perspective(800px) rotateY(14deg) rotateX(-6deg) rotateZ(-2deg); transition: transform 0.6s var(--ease);
}
.float-card:hover { transform: perspective(800px) rotateY(4deg) rotateX(-2deg); }
.float-card::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-m.webp") center / cover; opacity: 0.35; }
.float-card p { position: relative; font-style: italic; font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 16px; }
.float-card img { position: relative; width: 34px; height: 34px; border-radius: 10px; }
.doc { display: grid; gap: 20px; counter-reset: sec; }
.sec { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); counter-increment: sec; }
.sec h2 { font-size: 22px; font-weight: 800; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec h2::before { content: counter(sec, decimal-leading-zero); color: var(--cyan); font-size: 16px; font-weight: 800; }
.sec p, .sec li { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.sec p + p, .sec p + ul, .sec p + ol, .sec ul + p, .sec ol + p { margin-top: 14px; }
.sec ul, .sec ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.sec li::marker { color: var(--cyan); }
.sec strong { color: #fff; }
.sec code { padding: 2px 7px; border-radius: 7px; background: rgba(56, 189, 248, 0.12); color: var(--cyan-2); font-size: 0.92em; }
.sec a { font-weight: 700; }

/* ---------- Support ---------- */
.search { position: relative; max-width: 560px; margin-top: 10px; }
.search input {
  width: 100%; height: 56px; padding: 0 20px 0 52px; border-radius: 18px; font: inherit; font-size: 15px; color: #fff;
  background: rgba(9, 15, 30, 0.88); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18), var(--shadow); }
.search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faq-title { font-size: 22px; font-weight: 800; margin: 12px 0 20px; }
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.faq { padding: 24px; border-radius: var(--r-md); display: grid; gap: 12px; align-content: start; transition: transform 0.35s var(--ease), border-color 0.35s; }
.faq:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.4); }
.faq .ib { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: rgba(56, 189, 248, 0.12); color: var(--cyan); }
.faq:nth-child(2) .ib { background: rgba(99, 102, 241, 0.14); color: #a5b4fc; }
.faq:nth-child(3) .ib { background: rgba(0, 212, 180, 0.12); color: var(--teal); }
.faq:nth-child(4) .ib { background: rgba(251, 191, 36, 0.12); color: var(--amber); }
.faq h3 { font-size: 16.5px; }
.faq p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.faq a { font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.no-results { display: none; padding: 20px; border-radius: var(--r-md); color: var(--muted); margin-top: 18px; }
.no-results.show { display: block; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.bigcard { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); display: grid; gap: 16px; align-content: start; }
.bigcard .ib { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: rgba(56, 189, 248, 0.12); color: var(--cyan); }
.bigcard h2 { font-size: 22px; font-weight: 800; }
.bigcard p { color: var(--muted); font-size: 14.5px; }
.bigcard .mail { font-weight: 800; font-size: 17px; display: inline-flex; gap: 8px; align-items: center; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.cats li { display: flex; align-items: center; gap: 10px; }
.cats .ico { color: var(--teal); }
.cta-strip { margin: 28px 0 96px; padding: 22px 26px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta-strip .t { display: flex; align-items: center; gap: 16px; }
.cta-strip h2 { font-size: 17px; font-weight: 800; }
.cta-strip p { font-size: 13px; color: var(--muted); }
.cta-strip .ib { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: rgba(56, 189, 248, 0.14); color: var(--cyan); }

/* ---------- Delete account ---------- */
.narrow { max-width: 860px; }
.delete-doc { display: grid; gap: 20px; padding-bottom: 96px; counter-reset: sec; }
.delete-doc .sec h2::before { content: none; }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid rgba(244, 63, 94, 0.28); background: linear-gradient(180deg, rgba(40, 14, 28, 0.55), rgba(9, 15, 30, 0.75)); box-shadow: var(--shadow); }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card .warn { font-size: 13px; color: #fda4af; margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { flex: 1; min-height: 42px; padding: 0 12px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; transition: all 0.2s; }
.tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.panel[hidden] { display: none; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input { height: 52px; padding: 0 16px; border-radius: 14px; font: inherit; color: #fff; background: rgba(2, 6, 14, 0.7); border: 1px solid var(--line-2); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16); }
.field input::placeholder { color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 24px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.status.ok { color: var(--teal); }
.status.err { color: #fda4af; }
.status a { text-decoration: underline; }
.center-card { max-width: 560px; margin: 0 auto; padding-bottom: 120px; display: grid; gap: 22px; text-align: center; justify-items: center; }
.center-card .bigcard { justify-items: center; text-align: center; width: 100%; }
.center-card .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.e404 .code { font-size: clamp(96px, 18vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: #02050c; border-top: 1px solid var(--line); padding: 44px 0 36px; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.foot nav a { color: var(--muted); font-size: 13.5px; font-weight: 600; transition: color 0.2s; }
.foot nav a:hover { color: var(--cyan); text-decoration: none; }
.foot .right { display: grid; gap: 10px; justify-items: end; }
.foot .copy { font-size: 12.5px; color: var(--faint); }
.foot .tag { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 4px; }

/* ---------- Motion ---------- */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes ringPulse { 0%, 100% { opacity: 0.85; scale: 1; } 50% { opacity: 1; scale: 1.025; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: scale(1.05); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .lead { max-width: 560px; }
  .stage { padding-left: 0; margin-top: 12px; }
  .tablet { transform: rotateY(-4deg) rotateX(3deg); }
  .avatars { right: -6px; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ph-more { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .lang { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-side { position: static; }
  .float-card { display: none; }
  .grid3, .steps { grid-template-columns: minmax(0, 1fr); }
  .banner { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot .right { justify-items: center; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .hero { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; }
  .hero-bg { background-image: url("../img/hero-m.webp"); background-position: 30% 10%; }
  .hero::after { background: linear-gradient(to bottom, rgba(3, 7, 18, 0.5) 0%, rgba(3, 7, 18, 0.55) 40%, rgba(3, 7, 18, 0.9) 85%, var(--bg) 100%); }
  .stage { padding: 8px 0; display: flex; justify-content: center; width: 100%; }
  .avatars { display: none; }
  .aura-ring { display: none; }
  .tablet {
    width: min(340px, 94vw); margin: 0 auto; padding: 14px 14px 18px; border-radius: 38px;
    border: 2px solid transparent; transform: none;
    background:
      linear-gradient(135deg, rgba(8, 14, 28, 0.94), rgba(4, 9, 20, 0.98)) padding-box,
      linear-gradient(135deg, #00d4b4 0%, #38bdf8 25%, #7b2fbe 55%, #ff2a85 80%, #ffb703 100%) border-box;
    box-shadow: 0 0 35px rgba(0, 212, 180, 0.35), 0 0 70px rgba(123, 47, 190, 0.25);
  }
  .tablet::before { border-radius: 40px; }
  .tablet::after { border-radius: 38px; }
  .phone-island {
    display: flex; align-items: center; justify-content: space-between;
    width: 86px; height: 18px; border-radius: 12px; background: #000; margin: 0 auto 10px; padding: 0 10px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  }
  .island-cam { width: 7px; height: 7px; border-radius: 50%; background: #131b2e; border: 1px solid #24314c; }
  .island-mic { width: 4px; height: 4px; border-radius: 50%; background: #131b2e; }
  .tb-head { padding-bottom: 8px; margin-bottom: 8px; justify-content: space-between; }
  .chip.opt { display: none; }
  .mobile-stories {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 0 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line);
  }
  .story-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--ink-2); }
  .story-ring { display: grid; place-items: center; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, #00d4b4, #7b2fbe, #ff2a85); box-shadow: 0 0 10px rgba(0, 212, 180, 0.3); }
  .story-ring img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #060b17; object-fit: cover; }
  .mock { display: block; padding-top: 0; }
  .mock-side { display: none; }
  .mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ph { aspect-ratio: 1; border-radius: 10px; }
  .ph.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.35 / 1; border-radius: 16px; margin-bottom: 2px; }
  .ph-more { display: flex; aspect-ratio: 1; }
  .mock-foot { justify-content: center; padding-top: 10px; }
  .faq-grid { grid-template-columns: 1fr; }
  .btn, .store { width: 100%; max-width: 100%; }
  .stores { width: 100%; }
  .stores .store { flex: 1 1 100%; }
  .hero-cta .row { flex-direction: column; align-items: stretch; }
  .nav-right .btn { display: none; }
  .tabs { flex-direction: column; }
  .trust ul { justify-content: flex-start; padding: 14px 18px; border-radius: 16px; }
}
