/* MniaPOS Hub's public pages (core/mniapos/lib/HubSite.php): the app's look on the web — the pink theme's blue,
   violet and pink, glass panels, phones with the app's real screens, and motion that respects "reduce motion". */
:root {
  --primary: #1d62d8;
  --violet: #8e5bd0;
  --accent: #f46c98;
  --ink: #141834;
  --muted: #5b6075;
  --line: rgba(20, 24, 52, .09);
  --page: #f4f6fc;
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .85);
  --night: #0e1230;
  --brand: linear-gradient(135deg, #1d62d8 0%, #6d5bd8 48%, #f46c98 100%);
  --brand-soft: linear-gradient(135deg, rgba(29, 98, 216, .12), rgba(244, 108, 152, .14));
  --shadow: 0 24px 60px -24px rgba(20, 24, 52, .35);
  --radius: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--page); overflow-x: hidden;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 20px; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- The sky: drifting colour behind every page ------------------------------------------------------------ */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.sky .b1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: #c9dcff; }
.sky .b2 { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: #ffd3e3; animation-duration: 32s; animation-delay: -8s; }
.sky .b3 { width: 34vw; height: 34vw; left: 30vw; bottom: -14vw; background: #e5d7ff; animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }

/* ---- Top bar ----------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.top.scrolled, .page-privacy .top, .page-support .top { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand .tile { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(29, 98, 216, .25); }
.brand .mark { width: 26px; height: 26px; }
.page-index .top:not(.scrolled) .brand { color: #fff; }
nav.links { display: flex; align-items: center; gap: 4px; }
nav.links a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s; }
nav.links a.lang .short { display: none; }
nav.links a:hover { background: rgba(29, 98, 216, .08); color: var(--ink); }
nav.links a[aria-current] { color: #fff; background: var(--brand); box-shadow: 0 8px 20px -8px rgba(109, 91, 216, .8); }
nav.links a.lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
nav.links a.lang .icon { width: 16px; height: 16px; }
.page-index .top:not(.scrolled) nav.links a:not([aria-current]) { color: rgba(255, 255, 255, .88); }
.page-index .top:not(.scrolled) nav.links a:not([aria-current]):hover { background: rgba(255, 255, 255, .16); color: #fff; }
.page-index .top:not(.scrolled) nav.links a.lang { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.page-index .top:not(.scrolled) nav.links a[aria-current] { background: #fff; color: var(--primary); box-shadow: none; }

/* ---- Heroes ------------------------------------------------------------------------------------------------ */
.hero { position: relative; color: #fff; background: var(--brand); overflow: hidden; isolation: isolate; }
.page-index .hero { margin-top: -68px; padding: 116px 0 120px; }
.band { padding: 54px 0 92px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: drift 22s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; left: -160px; top: -200px; background: rgba(120, 200, 255, .55); }
.hero::after { width: 560px; height: 560px; right: -180px; bottom: -260px; background: rgba(255, 150, 200, .6); animation-delay: -9s; }
.hero .grain { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill .live { width: 9px; height: 9px; border-radius: 50%; background: #5be39a; box-shadow: 0 0 0 0 rgba(91, 227, 154, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 154, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 850; margin: 18px 0 18px; letter-spacing: -.035em; }
.hero h1 .shine { display: inline-block; background: linear-gradient(90deg, #fff 0%, #ffe0ec 30%, #fff 50%, #d9e6ff 70%, #fff 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% center; } }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .9); max-width: 34em; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 16px; color: #fff; text-decoration: none;
  background: rgba(10, 12, 30, .82); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); transition: transform .25s var(--ease); }
a.store:hover { transform: translateY(-2px); }
.store .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.store small { display: block; font-size: 11.5px; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 650; color: rgba(255, 255, 255, .92); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { width: 18px; height: 18px; color: #fff; }

/* ---- Phones: the app's real screens ------------------------------------------------------------------------ */
.phone { --w: 260px; position: relative; width: var(--w); aspect-ratio: 598 / 1300; flex: none; margin: 0;
  padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .17);
  background: linear-gradient(155deg, #4a5070 0%, #161a2e 38%, #0a0c18 100%);
  box-shadow: 0 40px 80px -30px rgba(12, 16, 50, .65), 0 0 0 1.5px rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(0, 0, 0, .5); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .14); background: #dfe6f7; }
.phone::after { content: ""; position: absolute; inset: calc(var(--w) * .034); border-radius: calc(var(--w) * .14); pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 32%); mix-blend-mode: screen; }
.phones { position: relative; height: 640px; display: grid; place-items: center; perspective: 1400px; }
.phones .tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.phones .phone { position: absolute; left: 50%; top: 50%; }
.phones .front { --w: 290px; z-index: 3; transform: translate(-50%, -50%); animation: floatA 7s ease-in-out infinite; }
.phones .left { --w: 236px; z-index: 2; transform: translate(-112%, -44%) rotate(-9deg); animation: floatB 8s ease-in-out infinite; opacity: .96; }
.phones .right { --w: 236px; z-index: 1; transform: translate(12%, -56%) rotate(8deg); animation: floatC 9s ease-in-out infinite; opacity: .96; }
@keyframes floatA { 50% { transform: translate(-50%, calc(-50% - 14px)); } }
@keyframes floatB { 50% { transform: translate(-112%, calc(-44% + 12px)) rotate(-7deg); } }
@keyframes floatC { 50% { transform: translate(12%, calc(-56% - 10px)) rotate(10deg); } }
.toast { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; min-width: 210px;
  color: var(--ink); background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(20, 24, 52, .55); opacity: 0; transform: translateY(16px) scale(.92); }
.toast.on { animation: toastIn .7s var(--ease) forwards, bob 6s ease-in-out .7s infinite; }
@keyframes toastIn { to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.toast b { display: block; font-size: 14.5px; line-height: 1.25; }
.toast small { display: block; font-size: 12.5px; color: var(--muted); }
.toast .bubble { width: 38px; height: 38px; }
.toast.t1 { left: -4%; top: 40%; }
.toast.t2 { right: -4%; top: 22%; }
.toast.t3 { left: 0; bottom: 6%; }
.bubble { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; flex: none; background: var(--brand); box-shadow: 0 10px 22px -10px rgba(109, 91, 216, .9); }
.bubble.green { background: linear-gradient(135deg, #22b573, #5be39a); box-shadow: 0 10px 22px -10px rgba(34, 181, 115, .9); }
.bubble.gold { background: linear-gradient(135deg, #f5a524, #ffcf5c); box-shadow: 0 10px 22px -10px rgba(245, 165, 36, .9); }
.bubble.blue { background: linear-gradient(135deg, #1d62d8, #5b9bff); }
.bubble.pink { background: linear-gradient(135deg, #e0457b, #f99bbd); }
.bubble.violet { background: linear-gradient(135deg, #7c5cff, #b39cff); }
.bubble .icon { width: 22px; height: 22px; }
.sparkle { position: absolute; z-index: 4; width: 18px; height: 18px; color: #fff; opacity: 0; animation: twinkle 3.6s ease-in-out infinite; pointer-events: none; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }

/* ---- Sections ---------------------------------------------------------------------------------------------- */
section.block { padding: 96px 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); background: var(--brand-soft); padding: 7px 14px; border-radius: 999px; }
.kicker .icon { width: 16px; height: 16px; }
.head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 850; margin: 16px 0 14px; }
.head p { font-size: 18px; color: var(--muted); margin: 0; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin: 0 0 120px; }
.row:last-child { margin-bottom: 0; }
.row.flip .copy { order: 2; }
.copy h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 850; margin: 16px 0 14px; }
.copy p { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.ticks .ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft); color: var(--primary); flex: none; }
.ticks .ok .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.visual { position: relative; height: 600px; display: grid; place-items: center; }
.visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); opacity: .2; filter: blur(50px); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .3; } }
.visual .main { --w: 270px; z-index: 2; }
.visual .second { --w: 210px; position: absolute; z-index: 1; right: 6%; bottom: 4%; transform: rotate(7deg); }
.row.flip .visual .second { right: auto; left: 6%; transform: rotate(-7deg); }
.visual .badge { position: absolute; z-index: 3; left: 8%; top: 12%; animation: bob 5s ease-in-out infinite; }
.row.flip .visual .badge { left: auto; right: 8%; }
.visual .badge .bubble { width: 64px; height: 64px; border-radius: 20px; }
.visual .badge .icon { width: 30px; height: 30px; }

/* Owners: the night band */
.night { background: radial-gradient(900px 500px at 15% 0%, rgba(29, 98, 216, .45), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(244, 108, 152, .38), transparent 60%), var(--night); color: #fff; overflow: hidden; }
.night .head p, .night .copy p { color: rgba(255, 255, 255, .74); }
.night .kicker { color: #ffd0e0; background: rgba(255, 255, 255, .1); }
.night .ticks .ok { background: rgba(255, 255, 255, .12); color: #ffc2d7; }
.night .grad { background: linear-gradient(90deg, #9cc2ff, #ffb3cd); -webkit-background-clip: text; background-clip: text; }
.night .visual::before { opacity: .35; }
.night .stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px); background-size: 46px 46px; opacity: .25; }

/* Private by design */
.private { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.scan { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.scan .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(109, 91, 216, .25); animation: ripple 3.2s ease-out infinite; }
.scan .ring:nth-child(2) { animation-delay: 1.06s; }
.scan .ring:nth-child(3) { animation-delay: 2.13s; }
@keyframes ripple { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.05); opacity: 0; } }
.scan .tile { position: relative; width: 58%; aspect-ratio: 1; border-radius: 30%; background: var(--brand); display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(109, 91, 216, .8), 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.scan .tile .icon { width: 52%; height: 52%; color: #fff; stroke-width: 1.6; }
.scan .tile::after { content: ""; position: absolute; left: 10%; right: 10%; height: 3px; border-radius: 3px; top: 15%;
  background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 16px 4px rgba(255, 255, 255, .7); animation: scanline 2.6s ease-in-out infinite; }
@keyframes scanline { 50% { top: 82%; } }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.card { padding: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -28px rgba(20, 24, 52, .45); }
.card h3 { font-size: 19px; margin: 16px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.intro h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 850; margin: 16px 0 14px; }
.intro p { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.narrow { width: min(900px, 100%); }
.after { padding-top: 56px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 750; text-decoration: none; }
.more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover .icon { transform: translateX(4px); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps .line { position: absolute; left: 18%; right: 18%; top: 66px; height: 3px; z-index: 0; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 12px, transparent 12px 22px), var(--brand-soft); transform-origin: left; }
.step { position: relative; z-index: 1; text-align: center; padding: 30px 24px; }
.step .num { position: relative; width: 74px; height: 74px; margin: 0 auto; border-radius: 24px; display: grid; place-items: center; color: #fff; background: var(--brand);
  box-shadow: 0 18px 36px -16px rgba(109, 91, 216, .9); }
.step .num .icon { width: 32px; height: 32px; }
.step .num em { position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--violet);
  font-style: normal; font-weight: 850; font-size: 14px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(20, 24, 52, .2); }
.step h3 { font-size: 20px; margin: 22px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Gallery: a moving row of screens */
.gallery { overflow: hidden; padding: 10px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 28px; width: max-content; padding: 20px 0; }
.track.loop { animation: marquee 70s linear infinite; }
.track.back.loop { animation-direction: reverse; animation-duration: 80s; }
.gallery:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }
.track figure { margin: 0; text-align: center; }
.track .phone { --w: 200px; }
.track figcaption { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }

/* Call to action */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: 64px 40px; text-align: center; color: #fff; background: var(--brand); box-shadow: 0 40px 80px -30px rgba(109, 91, 216, .8); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .22), transparent 30%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; margin: 0 0 12px; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .9); margin: 0 auto 28px; max-width: 34em; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 16px; font-weight: 750; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.button .icon { width: 20px; height: 20px; }
.button.light { background: #fff; color: var(--ink); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); }
.button.clear { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.button.fill { color: #fff; background: var(--brand); box-shadow: 0 16px 30px -16px rgba(109, 91, 216, .9); }
.button:hover { transform: translateY(-2px); }

/* ---- Privacy policy and help ------------------------------------------------------------------------------- */
.band .wrap { position: relative; }
.band-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.band h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 850; margin: 18px 0 14px; letter-spacing: -.035em; }
.band .lead { margin-bottom: 8px; }
.band .updated { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: rgba(255, 255, 255, .85); }
.band .updated .icon { width: 16px; height: 16px; }
.shield { position: relative; justify-self: center; width: 210px; aspect-ratio: 1; display: grid; place-items: center; }
.shield .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: ripple 3.2s ease-out infinite; }
.shield .ring:nth-child(2) { animation-delay: 1.6s; }
.shield .core { width: 120px; height: 120px; border-radius: 36px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); animation: bob 5s ease-in-out infinite; }
.shield .core .icon { width: 58px; height: 58px; color: #fff; stroke-width: 1.6; }
.band .phone { --w: 230px; justify-self: center; transform: rotate(6deg); animation: floatHelp 7s ease-in-out infinite; }
@keyframes floatHelp { 50% { transform: rotate(4deg) translateY(-12px); } }

.lift { margin-top: -56px; position: relative; z-index: 2; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.glance .card { padding: 22px; }
.glance h3 { font-size: 17px; margin: 14px 0 4px; }
.glance p { font-size: 14.5px; }
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 64px 0 40px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 18px; }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 4px 8px 10px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: background .2s, color .2s; }
.toc a .icon { width: 17px; height: 17px; color: var(--muted); }
.toc a:hover { background: rgba(29, 98, 216, .07); }
.toc a.active { background: var(--brand-soft); color: var(--primary); }
.toc a.active .icon { color: var(--violet); }
.policy { display: grid; gap: 18px; }
.policy section { padding: 30px 32px; scroll-margin-top: 92px; }
.policy h2 { display: flex; align-items: center; gap: 14px; font-size: 23px; font-weight: 800; margin: 0 0 14px; }
.policy h2 .bubble { width: 42px; height: 42px; border-radius: 13px; }
.policy h2 .bubble .icon { width: 20px; height: 20px; }
.policy p { margin: 0 0 12px; color: #2c3150; }
.policy p:last-child { margin-bottom: 0; }
.policy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.policy li { position: relative; padding: 14px 16px 14px 46px; border-radius: 16px; background: rgba(29, 98, 216, .05); color: #2c3150; }
.policy li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(109, 91, 216, .15); }
.contact { display: flex; align-items: center; gap: 22px; padding: 30px 32px; color: #fff; background: var(--brand); border: 0; overflow: hidden; position: relative; }
.contact .bubble { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .2); box-shadow: none; }
.contact h2 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.contact p { color: rgba(255, 255, 255, .9); margin: 0; }
.contact a { color: #fff; font-weight: 750; }

.help-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-steps .card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.help-steps h3 { margin: 2px 0 4px; font-size: 17px; }
.help-steps p { font-size: 14.5px; }
.search { position: relative; margin: 0 0 22px; }
.search .icon { position: absolute; z-index: 1; left: 20px; top: 50%; transform: translateY(-50%); color: var(--violet); pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 17px; padding: 18px 20px 18px 54px; border-radius: 20px; border: 1px solid var(--glass-line); background: var(--glass);
  box-shadow: var(--shadow); outline: none; color: var(--ink); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: box-shadow .25s; }
.search input:focus { box-shadow: 0 0 0 4px rgba(109, 91, 216, .25), var(--shadow); }
.faq { display: grid; gap: 14px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 750; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .bubble { width: 42px; height: 42px; border-radius: 13px; }
.faq summary .bubble .icon { width: 20px; height: 20px; }
.faq summary .chev { margin-left: auto; color: var(--muted); transition: transform .35s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 22px 80px; color: #2c3150; overflow: hidden; }
.faq .answer p { margin: 0; }
.faq .none { display: none; text-align: center; color: var(--muted); padding: 20px; }
.faq.empty .none { display: block; }
mark { background: rgba(244, 108, 152, .25); color: inherit; border-radius: 4px; padding: 0 2px; }

/* ---- Footer ------------------------------------------------------------------------------------------------ */
footer.foot { margin-top: 40px; padding: 40px 0 46px; color: rgba(255, 255, 255, .78); background: var(--night); font-size: 14.5px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer.foot .brand { color: #fff; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
footer.foot a:hover { color: #fff; }

/* ---- Scroll reveal ----------------------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.zoom.in { transform: none; }
.js .steps .line { transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.js .steps.in .line { transform: none; }

/* ---- Phones and tablets ------------------------------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid, .row, .private, .band-grid { grid-template-columns: 1fr; }
  .row { gap: 28px; margin-bottom: 90px; }
  .row.flip .copy { order: 0; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .stores, .trust { justify-content: center; }
  .phones { height: 560px; }
  .visual { height: 520px; }
  .glance { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; padding-top: 40px; }
  .toc { display: none; }
  .help-steps { grid-template-columns: 1fr; }
  .band .phone, .shield { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { min-height: 60px; }
  .brand span { display: none; }
  nav.links { gap: 2px; }
  nav.links a { padding: 7px 9px; font-size: 13.5px; }
  nav.links a.lang { padding: 7px 10px; }
  nav.links a.lang .long { display: none; }
  nav.links a.lang .short { display: inline; }
  .brand .tile { width: 34px; height: 34px; }
  .page-index .hero { padding: 96px 0 90px; margin-top: -60px; }
  .phones { height: 470px; }
  .phones .front { --w: 220px; }
  .phones .left, .phones .right { --w: 170px; }
  .toast { min-width: 0; padding: 9px 12px 9px 9px; gap: 9px; }
  .toast .bubble { width: 30px; height: 30px; border-radius: 10px; }
  .toast .bubble .icon { width: 16px; height: 16px; }
  .toast b { font-size: 13px; } .toast small { font-size: 11.5px; }
  .toast.t1 { left: 0; top: 6%; } .toast.t2 { right: 0; top: 52%; } .toast.t3 { display: none; }
  section.block { padding: 72px 0; }
  .head { margin-bottom: 44px; }
  .visual { height: 450px; }
  .visual .main { --w: 210px; }
  .visual .second { --w: 160px; right: 0; }
  .row.flip .visual .second { left: 0; }
  .visual .badge { left: 2%; }
  .cards, .steps, .glance { grid-template-columns: 1fr; }
  .steps .line { display: none; }
  .cta { padding: 48px 22px; border-radius: 28px; }
  .policy section { padding: 24px 20px; }
  .faq .answer { padding: 0 20px 20px; }
  .contact { flex-direction: column; text-align: center; }
  .track .phone { --w: 160px; }
}

/* ---- Less motion when the person asks for it --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .toast { opacity: 1; transform: none; }
  .gallery { overflow-x: auto; }
}
