/* SpaceWithYou — marketing site v2.
   Fonts mirror lib/theme/app_text_styles.dart: display = CalSans (Latin) / Manrope ExtraBold (Cyrillic),
   content = Montserrat. Colors mirror lib/theme/app_colors.dart. */

@font-face { font-family: "CalSans"; src: url("../fonts/CalSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype-variations"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F8F9FF;
  --bg-2: #F2F3FA;
  --surface: #FFFFFF;
  --ink: #0B0B14;
  --ink-2: rgba(11, 11, 20, 0.66);
  --ink-3: rgba(11, 11, 20, 0.44);
  --primary: #5269FF;
  --primary-2: #6A65FF;
  --primary-deep: #675CE6;
  --primary-tint: #BAC4FF;
  --primary-soft: #E9ECFF;
  --pink-soft: #FFE5F8;
  --orange: #FF8002;
  --green: #34C759;
  --border: #E0E4FF;
  --shadow: 0 10px 30px rgba(82, 105, 255, 0.08);
  --shadow-cta: 0 10px 24px rgba(82, 105, 255, 0.32);
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "CalSans", "Manrope", var(--font-body);
  --display-weight: 400;
  --display-tracking: -0.01em;
  --container: 1120px;
  --gutter: 16px;
}
html[lang="ru"] { --font-display: "Manrope", var(--font-body); --display-weight: 800; --display-tracking: -0.025em; }
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 500;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.1; }
h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: var(--shadow-cta); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(82, 105, 255, 0.42); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary-tint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22223a; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 14px; background: var(--ink); color: #fff; transition: transform .18s ease, background .18s ease;
}
.store-badge:hover { background: #22223a; transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 500; opacity: .8; }
.store-badge b { font-size: 18px; font-weight: 700; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(224, 228, 255, 0.8);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: none; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink-3); }
.lang-switch a.on { background: var(--ink); color: #fff; }
.lang-switch a:not(.on):hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; display: none; }
.burger { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, background .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; padding: 8px 0 18px; }
.mobile-menu a { display: block; padding: 12px 0; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--border); }
.mobile-menu .store-badges { margin-top: 16px; }
.mobile-menu a.store-badge { display: inline-flex; padding: 8px 20px 8px 16px; border-bottom: 0; font-size: 16px; }
.nav.open .mobile-menu { display: block; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(82, 105, 255, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}
.portraits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 880px; margin: 0 auto; perspective: 1000px; }
.portrait {
  position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #ddd;
  box-shadow: 0 14px 34px rgba(11, 11, 20, 0.14); cursor: pointer;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease; will-change: transform; transform-style: preserve-3d;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.portrait span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); text-align: left; transform: translateY(4px); transition: transform .4s ease; }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.32), transparent 55%); }
.portrait:hover, .portrait.tilt { z-index: 2; box-shadow: 0 34px 70px rgba(82, 105, 255, 0.36); }
.portrait:hover { transform: translateY(-12px) scale(1.06) rotate(-1.5deg); }
.portrait:hover img, .portrait.tilt img { transform: scale(1.1); }
.portrait:hover span, .portrait.tilt span { transform: none; }
.portrait.tilt::after { opacity: 1; }
@media (min-width: 720px) and (prefers-reduced-motion: no-preference) {
  .portrait { animation: pfloat 7s ease-in-out infinite; }
  .portrait:nth-child(2) { animation-delay: -1.2s; } .portrait:nth-child(3) { animation-delay: -2.4s; }
  .portrait:nth-child(4) { animation-delay: -3.6s; } .portrait:nth-child(5) { animation-delay: -4.8s; } .portrait:nth-child(6) { animation-delay: -6s; }
  .portrait:hover, .portrait.tilt { animation-play-state: paused; }
  @keyframes pfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}
.hero h1 { font-size: clamp(36px, 6.8vw, 68px); max-width: 900px; margin: 36px auto 0; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), #8E8CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .portraits { position: relative; }
.hero .portraits::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; height: 120%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(82, 105, 255, 0.22), transparent 70%); z-index: -1; filter: blur(20px); }
.hero .lead { max-width: 760px; margin: 18px auto 0; font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); }
.hero .store-badges { justify-content: center; margin-top: 28px; }
.hero .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.hero .trust b { color: var(--ink); font-weight: 700; }
.hero .trust .stars { display: inline-flex; gap: 2px; color: var(--orange); vertical-align: -3px; }
.hero .trust .stars .ic { width: 15px; height: 15px; }
@media (min-width: 720px) {
  .hero { padding: 64px 0 72px; }
  .portraits { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .portrait { border-radius: 20px; }
  .portrait:nth-child(even) { margin-top: 14px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), #EEF0FA 60%, var(--bg-2)); }
@media (min-width: 900px) { .section { padding: 92px 0; } }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.6vw, 46px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: clamp(16px, 1.9vw, 18px); }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 22px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow); }
.stat .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin: 0 auto 10px; }
.stat b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 34px; line-height: 1.1; background: linear-gradient(90deg, var(--primary-deep), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 4px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } .stat { padding: 28px 20px; } .stat b { font-size: 40px; } }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 14px; margin-top: 16px; }
.card-f { padding: 24px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid rgba(224, 228, 255, 0.7); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card-f:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(82, 105, 255, 0.14); }
.card-f .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.card-f h3 { margin-top: 16px; font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: 0; }
.card-f p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .card-f { padding: 28px 26px; } }

/* ---------- How it works (text + phone) ---------- */
.how { display: grid; gap: 36px; align-items: center; }
.steps { display: grid; gap: 14px; margin-top: 28px; }
.step { display: flex; gap: 16px; padding: 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); }
.step .num { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 800; font-size: 17px; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: 0; }
.step p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 28px 0 0; }
.phone-wrap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(82, 105, 255, 0.28), transparent 70%); z-index: 0; }
.phone { position: relative; z-index: 1; width: 280px; aspect-ratio: 9 / 18.6; border-radius: 42px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px rgba(11, 11, 20, 0.22); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
@media (min-width: 900px) { .how { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } .phone { width: 320px; } .phone-wrap { padding: 0; } }

/* ---------- Safety ---------- */
.safety { display: grid; gap: 14px; }
.safe { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); }
.safe .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.safe b { display: block; font-size: 16px; }
.safe p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
@media (min-width: 720px) { .safety { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .safety { grid-template-columns: repeat(4, 1fr); } .safe { flex-direction: column; gap: 12px; padding: 24px; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 14px; }
.review { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid rgba(224, 228, 255, 0.7); border-radius: var(--r-md); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.review:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(82, 105, 255, 0.14); }
.review .top { display: flex; align-items: center; gap: 12px; }
.review .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--primary-deep); background: var(--primary-soft); flex: 0 0 auto; }
.review .top b { display: block; font-size: 15px; }
.review .top small { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.review .stars { display: inline-flex; gap: 2px; color: var(--orange); margin-top: 12px; }
.review .stars .ic { width: 16px; height: 16px; }
.review p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* Reviews marquee (built by main.js from .reviews-pool) */
.reviews-pool[hidden] { display: none; }
.marquee { display: grid; gap: 16px; height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.mcol { overflow: hidden; }
.mtrack { display: flex; flex-direction: column; gap: 16px; animation: mup var(--dur, 40s) linear infinite; }
.mtrack.rev { animation-name: mdown; }
.marquee:hover .mtrack { animation-play-state: paused; }
.marquee .review { flex: 0 0 auto; }
.marquee .review:hover { transform: none; }
@keyframes mup { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes mdown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@media (min-width: 720px) { .marquee { grid-template-columns: repeat(2, 1fr); height: 640px; } }
@media (min-width: 1000px) { .marquee { grid-template-columns: repeat(3, 1fr); height: 700px; } }
@media (prefers-reduced-motion: reduce) { .mtrack { animation: none; } .marquee { height: auto; mask-image: none; -webkit-mask-image: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 6px 22px; box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.faq .a a { color: var(--primary); font-weight: 700; }

/* ---------- About + Support ---------- */
.two { display: grid; gap: 16px; }
@media (min-width: 960px) { .two { grid-template-columns: 1.1fr 0.9fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow); }
.card h2 { font-size: clamp(26px, 4vw, 36px); }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-top: 22px; letter-spacing: 0; }
.card p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.card .company { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg-2); font-size: 14.5px; line-height: 1.7; }
.card .company b { color: var(--ink); }
.card .company a { color: var(--primary); font-weight: 700; }
.support-btn { margin-top: 20px; width: 100%; max-width: 420px; font-size: 15px; }
.support-btn .ic { width: 20px; height: 20px; }
.helps { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.help { padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.help:hover { background: #fff; border-color: var(--border); }
.help .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--primary); }
.help:hover .ic { background: var(--primary-soft); }
.help b { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink); }
.help span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.help a { color: var(--primary); font-weight: 700; }
@media (min-width: 480px) { .helps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .card { padding: 36px 34px; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 24px; align-items: stretch; }
.contact-head h2 { font-size: clamp(30px, 5vw, 50px); }
.contact-head p { margin-top: 14px; color: var(--ink-2); font-size: clamp(16px, 1.9vw, 19px); max-width: 560px; }
.contact-card { margin-top: 26px; background: #fff; border: 1px solid rgba(224, 228, 255, 0.7); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow); }
.contact-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--primary-deep); letter-spacing: 0; }
.contact-card .sub { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.form { display: grid; gap: 12px; margin-top: 18px; }
.form input, .form textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-3); }
.form input:focus, .form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(82, 105, 255, 0.14); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { width: 100%; min-height: 54px; }
.form .btn[disabled] { opacity: .7; cursor: default; }
.form-note { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.form-note a { color: var(--primary); font-weight: 700; }
.form-note.ok { color: var(--green); font-weight: 700; }
.form-note.err { color: #DC2626; font-weight: 600; }
.contact-visual { position: relative; display: none; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.contact-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(82, 105, 255, 0.35)); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.15fr 0.85fr; gap: 40px; } .contact-visual { display: block; } .contact-card { padding: 32px 30px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 44px 26px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 55%, #8E8CFF 100%); color: #fff; text-align: center; box-shadow: var(--shadow-cta); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-band::before { width: 300px; height: 300px; left: -120px; bottom: -160px; }
.cta-band::after { width: 220px; height: 220px; right: -80px; top: -110px; }
.cta-band h2 { font-size: clamp(28px, 4.6vw, 48px); position: relative; }
.cta-band p { margin: 14px auto 0; max-width: 560px; color: rgba(255,255,255,.88); font-size: 16px; position: relative; }
.cta-band .store-badges { justify-content: center; margin-top: 26px; position: relative; }
.cta-band .store-badge { background: #fff; color: var(--ink); }
.cta-band .store-badge:hover { background: #f3f3ff; }
@media (min-width: 720px) { .cta-band { padding: 64px 48px; } }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 32px; color: var(--ink-2); font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer .brand { color: var(--ink); }
.footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer ul li { margin-bottom: 8px; }
.footer a:hover { color: var(--ink); }
.footer .disclaimer { margin-top: 12px; font-size: 13px; color: var(--ink-3); max-width: 520px; }
.footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.footer .lang-switch { order: 3; }
@media (min-width: 720px) { .footer .lang-switch { order: 0; } }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal-page { padding: 32px 0 72px; }
.legal-page article { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 22px; box-shadow: var(--shadow); }
.legal-page h1 { font-size: clamp(32px, 5.4vw, 48px); }
.legal-page .updated { margin-top: 10px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.legal-page .switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legal-page .switch a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.legal-page .switch a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.legal-page h2 { font-family: var(--font-body); font-weight: 700; font-size: 20px; margin-top: 34px; letter-spacing: 0; }
.legal-page h2 + p, .legal-page p + p, .legal-page ul + p, .legal-page p + ul { margin-top: 12px; }
.legal-page p, .legal-page li { color: var(--ink-2); font-size: 16px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal-page li { margin-bottom: 8px; }
.legal-page address { font-style: normal; margin-top: 12px; line-height: 1.7; color: var(--ink-2); }
.legal-page a { color: var(--primary); font-weight: 700; }
@media (min-width: 720px) { .legal-page article { padding: 48px 56px; } }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
