/* Bimo Pets — сайт. Тёмная сцена, шрифт приложения (Golos Text), цвета бренда. */

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #06090F;
  --bg-2: #0B111C;
  --card: #0F1726;
  --card-2: #142034;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #F2F5FA;
  --ink-2: #C3CCDA;
  --muted: #8592A8;
  --mint: #8FD3BF;
  --green: #2E6B5E;
  --green-2: #3E8A78;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(96px, 13vw, 180px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.6 "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Hiragino Sans", "Apple SD Gothic Neo", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--mint); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 10px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.i { flex: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
:lang(ja), :lang(ko), :lang(zh-Hans) { line-height: 1.75; }
:lang(ko) { word-break: keep-all; }
:lang(ja) { line-break: strict; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--card); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 12px; }

/* ---------- Шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 30;
  background: rgba(6, 9, 15, 0.55);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.brand b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--line); }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--line); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 60px -20px #000; min-width: 220px; display: grid; }
.lang a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang a:hover { background: var(--line); }
.lang a[aria-current] { color: var(--mint); font-weight: 600; }
.top-cta { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 14px; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: 999px; white-space: nowrap; transition: transform 0.2s var(--ease); }
.top-cta:hover { transform: translateY(-1px); }
@media (max-width: 1020px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 480px) { .lang summary span { display: none; } }

.suggest {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 8px 6px 8px 16px;
  border-radius: 18px; border: 1px solid var(--line-2); background: rgba(15, 23, 38, 0.88); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 24px 50px -16px #000; font-size: 15px; line-height: 1.35;
}
.suggest[hidden] { display: none; }
.suggest span { min-width: 0; text-wrap: balance; }
.suggest a { flex: none; color: var(--bg); background: var(--mint); font-weight: 700; padding: 8px 14px; border-radius: 12px; text-decoration: none; white-space: nowrap; }
.suggest button { flex: none; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 6px 8px; }

/* ---------- Общее ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
:lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: 0.04em; }
.display { font-size: clamp(40px, 6.4vw, 88px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
:lang(ja) .display, :lang(ko) .display, :lang(zh-Hans) .display,
:lang(ja) .h2, :lang(ko) .h2, :lang(zh-Hans) .h2 { letter-spacing: -0.01em; line-height: 1.2; }
.grad { background: linear-gradient(100deg, #FFFFFF 10%, var(--mint) 60%, #5FB39F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); max-width: 48ch; }
.text-link { font-weight: 600; text-decoration: none; display: inline-block; margin-top: 22px; }
.text-link:hover { text-decoration: underline; }
section { position: relative; scroll-margin-top: 72px; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Телефон: рамка вокруг настоящего экрана ---------- */
/* Высота — от экрана внутри рамки, а не от рамки целиком: иначе снимок обрезался по бокам и отступы приложения врали. */
.ph {
  position: relative; width: var(--w, 300px); height: calc(var(--w, 300px) * (0.93 * 2622 / 1206 + 0.07)); padding: calc(var(--w, 300px) * 0.035);
  border-radius: calc(var(--w, 300px) * 0.16);
  background: linear-gradient(150deg, #3A4558, #12161F 35%, #0A0D13 65%, #333D4F);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), inset 0 0 0 4px #05070B;
}
.ph > img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 300px) * 0.125); background: #F4F6F9; }
.ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 30%); }

/* ---------- Первый экран ---------- */
.hero { min-height: 100svh; padding: 120px 0 0; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 70%, rgba(62, 138, 120, 0.35), transparent 70%),
              radial-gradient(40% 30% at 85% 15%, rgba(143, 211, 191, 0.12), transparent 70%);
}
.hero-copy { position: relative; z-index: 6; text-align: center; display: grid; justify-items: center; }
.hero h1 { font-size: clamp(48px, 9vw, 132px); line-height: 0.92; font-weight: 800; letter-spacing: -0.055em; max-width: 12ch; }
:lang(ja) .hero h1, :lang(ko) .hero h1, :lang(zh-Hans) .hero h1 { font-size: clamp(40px, 7vw, 100px); letter-spacing: -0.02em; line-height: 1.1; max-width: 14ch; }
.hero .lead { margin: 28px auto 34px; text-align: center; }
.cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-sub { font-size: 14px; color: var(--muted); margin-top: 16px; }
.badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; transition: transform 0.25s var(--ease); }
.badge img { height: 56px; width: auto; }
a.badge:hover { transform: translateY(-2px) scale(1.02); }
.badge.is-soon img { opacity: 0.6; }
.badge .soon { order: -1; background: rgba(143, 211, 191, 0.14); color: var(--mint); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { color: var(--mint); }

/* Веер телефонов: при прокрутке раскрывается и выпрямляется (переменная --p от 0 до 1). */
.fan { position: relative; height: clamp(520px, 62vw, 760px); margin-top: clamp(40px, 6vw, 72px); perspective: 1600px; --p: 0; }
.fan .ph { position: absolute; left: 50%; top: 0; --w: clamp(220px, 24vw, 330px); will-change: transform; }
.fan .ph-c { z-index: 3; transform: translateX(-50%) translateY(calc(var(--p) * -40px)) rotateX(calc(14deg - var(--p) * 14deg)); }
.fan .ph-l { z-index: 2; transform: translateX(calc(-50% - 78% - var(--p) * 18%)) translateY(calc(60px - var(--p) * 30px)) rotateY(calc(28deg - var(--p) * 14deg)) rotateZ(-5deg) scale(0.9); }
.fan .ph-r { z-index: 2; transform: translateX(calc(-50% + 78% + var(--p) * 18%)) translateY(calc(60px - var(--p) * 30px)) rotateY(calc(-28deg + var(--p) * 14deg)) rotateZ(5deg) scale(0.9); }
.fan .ph-l > img, .fan .ph-r > img { filter: brightness(calc(0.72 + var(--p) * 0.2)); }
.fan::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, var(--bg)); z-index: 4; pointer-events: none; }
.chip { position: absolute; z-index: 5; background: #FFFFFF; color: #16233D; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); will-change: transform; }
.chip-note { left: calc(50% - clamp(300px, 30vw, 430px)); top: 34%; width: 290px; padding: 14px 16px; font-size: 14px; line-height: 1.35; }
.chip-note-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #5B6880; margin-bottom: 8px; }
.chip-note-top img { border-radius: 6px; }
.chip-note-top time { margin-left: auto; font-weight: 400; letter-spacing: 0; }
.chip-note b { display: block; font-size: 15px; }
.chip-note p { color: #33415C; }
.chip-actions { display: flex; gap: 6px; margin-top: 12px; }
.chip-actions span { flex: 1 1 auto; text-align: center; font-size: 12.5px; font-weight: 600; padding: 7px 6px; border-radius: 10px; background: #EEF1F5; white-space: nowrap; }
.chip-actions span:first-child { background: var(--green); color: #fff; }
.chip-food { right: calc(50% - clamp(290px, 29vw, 420px)); top: 12%; display: flex; gap: 10px; align-items: center; padding: 12px 18px 12px 12px; background: var(--green); color: #fff; }
.chip-food .i { background: rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 6px; width: 32px; height: 32px; }
.chip-food b { display: block; font-size: 16px; line-height: 1.2; }
.chip-food small { font-size: 13px; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .chip-note { animation: float 7s ease-in-out infinite; }
  .chip-food { animation: float 6s ease-in-out -2s infinite; }
  @keyframes float { 50% { transform: translateY(-12px); } }
}
@media (max-width: 760px) {
  .hero { padding-top: 104px; }
  .fan { height: 128vw; }
  .fan .ph { --w: 52vw; }
  .fan .ph-l { transform: translateX(calc(-50% - 62%)) translateY(40px) rotateY(24deg) rotateZ(-5deg) scale(0.86); }
  .fan .ph-r { transform: translateX(calc(-50% + 62%)) translateY(40px) rotateY(-24deg) rotateZ(5deg) scale(0.86); }
  .chip-note { left: 3%; top: 46%; width: 250px; padding: 12px; font-size: 13px; }
  .chip-actions span { font-size: 11px; padding: 6px 3px; }
  .chip-food { right: 3%; top: 6%; padding: 10px 14px 10px 10px; }
  .chip-food b { font-size: 14px; }
  .chip-food small { font-size: 12px; }
}

/* ---------- Знакомо? ---------- */
.hook { padding: var(--space) 0; }
.hook-quote { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; color: var(--muted); max-width: 22ch; }
.hook-quote b { color: var(--ink); font-weight: 700; }
:lang(ja) .hook-quote, :lang(ko) .hook-quote, :lang(zh-Hans) .hook-quote { letter-spacing: 0; line-height: 1.45; }
.hook-sub { margin-top: 32px; color: var(--ink-2); font-size: clamp(18px, 1.8vw, 22px); max-width: 52ch; }

/* ---------- Луна и Мэвис ---------- */
.pets { padding: 0 0 var(--space); }
.pets-head { display: grid; gap: 32px; margin-bottom: clamp(48px, 7vw, 96px); }
.pets-head .display { max-width: 16ch; }
.pets blockquote { margin: 0 0 0 auto; max-width: 52ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); border-left: 2px solid var(--mint); padding-left: 20px; }
.pets blockquote footer { margin-top: 12px; color: var(--muted); font-size: 15px; }
/* Три колонки, средняя ниже и при прокрутке едет навстречу крайним. */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); --p: 0; }
.shot { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--card); --k: 70px; }
.shot:nth-child(3n + 2) { top: 120px; --k: -90px; }
.shot > img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.12) translateY(calc((var(--p) - 0.5) * var(--k) * 0.5)); }
.collage { padding-bottom: 120px; }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(6, 9, 15, 0.72); font-size: 14px; font-weight: 600; line-height: 1.3; }
@media (max-width: 760px) {
  .pets blockquote { margin-left: 0; }
  .collage { grid-template-columns: 1fr 1fr; padding-bottom: 56px; }
  .shot:nth-child(3n + 2) { top: 0; }
  .shot:nth-child(even) { top: 56px; }
}

/* ---------- Демонстрация ---------- */
.demo { padding: var(--space) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.section-head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lead { margin-top: 22px; }
.demo-stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(12px, 3vw, 44px); max-width: 920px; margin-inline: auto; }
.demo-stage > * { min-width: 0; }
.mock { justify-self: center; width: min(300px, 100%); }
.mock-owner { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; font-size: 15px; }
.mock-screen { position: relative; background: #EEF2F6; color: #16233D; border-radius: 40px; padding: 14px 14px 18px; border: 9px solid #0A0D13; box-shadow: 0 40px 80px -30px #000, 0 0 0 1.5px rgba(255, 255, 255, 0.14); overflow: hidden; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; padding: 0 10px 14px; }
.mock-island { width: 74px; height: 22px; border-radius: 999px; background: #0A0D13; }
.mock-sig { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: 0.7; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 16px; }
.mock-head img { border-radius: 50%; object-fit: cover; }
.mock-head b { font-size: 22px; font-weight: 800; }
.mock-row { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; }
.mock-row b { display: block; font-size: 15px; line-height: 1.3; }
.mock-status { display: block; color: #5B6880; font-size: 13px; margin-top: 2px; }
.mock-check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #DDE3EC; display: grid; place-items: center; flex: none; color: transparent; transition: background 0.35s var(--ease), border-color 0.35s, color 0.35s; }
.mock.is-given .mock-check { background: var(--green); border-color: var(--green); color: #fff; }
.mock.is-given .mock-status { color: var(--green); font-weight: 600; }
.mock-btn { margin-top: 14px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 0; border-radius: 16px; padding: 14px; font-weight: 700; font-size: 15px; background: var(--green); color: #fff; transition: transform 0.15s, background 0.3s; }
.mock-btn:active { transform: scale(0.97); }
.mock.is-given .mock-btn { background: #DDE3EC; color: #5B6880; }
.mock-warn { min-height: 2.8em; margin-top: 10px; font-size: 13px; line-height: 1.4; color: #B8433A; text-align: center; }
.mock-banner { position: absolute; left: 10px; right: 10px; top: 8px; z-index: 2; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: 0 12px 30px -12px rgba(22, 35, 61, 0.5); font-size: 13px; line-height: 1.3; transform: translateY(-140%); transition: transform 0.6s var(--ease); }
.mock-banner img { border-radius: 5px; }
.mock-banner b { display: block; }
.mock-banner span { color: #33415C; }
.mock.is-pinged .mock-banner { transform: none; }
.mock.is-shake .mock-screen { animation: shake 0.45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sync { display: grid; justify-items: center; gap: 10px; color: var(--mint); align-self: center; }
.sync-line { position: relative; width: 2px; height: 120px; background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px); }
.sync-line i { position: absolute; left: -5px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); opacity: 0; }
.demo-stage.is-syncing .sync-line i { animation: travel 0.7s var(--ease) forwards; }
@keyframes travel { 0% { top: 0; opacity: 1; } 100% { top: 108px; opacity: 0; } }
.demo-foot { text-align: center; margin-top: 22px; }
.link-btn { border: 0; background: none; color: var(--mint); font-weight: 600; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.link-btn:hover { background: var(--line); }
@media (max-width: 720px) {
  .demo-stage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sync { display: none; }
  .mock-screen { border-width: 6px; border-radius: 30px; padding: 10px 10px 14px; }
  .mock-head b { font-size: 18px; }
  .mock-head img { width: 34px; height: 34px; }
  .mock-row { padding: 10px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .mock-check { width: 24px; height: 24px; }
  .mock-row b { font-size: 13px; hyphens: auto; }
  .mock-status { font-size: 12px; }
  .mock-btn { font-size: 13px; padding: 11px 6px; }
  .mock-btn .i { display: none; }
  .mock-banner { font-size: 12px; padding: 8px 10px; }
  .mock-island { width: 52px; height: 16px; }
}

/* ---------- Возможности: телефон закреплён по центру, текст слева и справа ---------- */
.steps { padding: var(--space) 0 0; }
.steps-grid { display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; column-gap: clamp(24px, 4vw, 64px); }
.steps-phone { grid-column: 2; grid-row: 1 / span 5; }
.steps-phone .ph { position: sticky; top: calc((100vh - min(74vh, 720px)) / 2 + 24px); --w: min(330px, calc(min(74vh, 720px) * 1206 / 2622)); margin-inline: auto; }
.steps-phone .ph > img { position: absolute; inset: calc(var(--w) * 0.035); width: calc(100% - var(--w) * 0.07); height: calc(100% - var(--w) * 0.07); opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.steps-phone .ph > img.is-on { opacity: 1; transform: none; }
.step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; grid-row: var(--row); }
.step-l { grid-column: 1; text-align: right; align-items: flex-end; }
.step-r { grid-column: 3; }
.step h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; max-width: 14ch; }
:lang(ja) .step h3, :lang(ko) .step h3, :lang(zh-Hans) .step h3 { letter-spacing: 0; line-height: 1.3; }
.step p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 34ch; }
.step .ph { display: none; }
@media (max-width: 899px) {
  .steps-grid { grid-template-columns: 1fr; row-gap: 96px; }
  .steps-phone { display: none; }
  .step, .step-l, .step-r { grid-column: 1; grid-row: auto; min-height: 0; text-align: left; align-items: flex-start; }
  .step .ph { display: block; --w: min(280px, 66vw); margin: 0 auto 36px; align-self: center; }
  .step h3 { max-width: none; }
}

/* ---------- Мелочи ---------- */
.more { padding: var(--space) 0 0; }
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento li { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; }
.bento li:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bento li::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 211, 191, 0.16), transparent); }
.tile-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(143, 211, 191, 0.12); color: var(--mint); margin-bottom: 22px; }
.bento h3 { font-size: 21px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.01em; }
.bento p { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Приватность ---------- */
.promise { padding: var(--space) 0; }
.promise-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.lock { width: clamp(80px, 9vw, 120px); height: auto; color: var(--mint); filter: drop-shadow(0 0 40px rgba(143, 211, 191, 0.45)); margin-bottom: 30px; }
.promise .lead { margin-top: 24px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 18px; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.points .i { color: var(--mint); width: 28px; height: 28px; }
.points h3 { font-size: 19px; margin-bottom: 6px; }
.points p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .promise-in { grid-template-columns: 1fr; } }

/* ---------- Цена ---------- */
.pricing { padding: 0 0 var(--space); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(30px, 3.6vw, 48px); }
.plan h3 { font-size: 30px; font-weight: 800; margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--ink-2); }
.plan li .i { color: var(--mint); margin-top: 3px; }
.plan-plus { background: radial-gradient(120% 90% at 100% 0%, rgba(62, 138, 120, 0.45), transparent 60%), var(--card-2); border-color: rgba(143, 211, 191, 0.3); }
.plan-plus h3 { margin-bottom: 6px; }
.plan-note { color: var(--mint); font-weight: 600; margin-bottom: 24px; }
.fine { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 80ch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */
.faq { padding: 0 0 var(--space); max-width: 900px; }
.faq h2 { margin-bottom: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--mint); transition: transform 0.35s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 17px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Установка ---------- */
.get { padding: var(--space) 0; overflow: clip; }
.get::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 75% 50%, rgba(62, 138, 120, 0.3), transparent 70%); }
.get-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.get-copy .lead { margin-top: 22px; }
.get-copy .cta { justify-content: flex-start; margin-top: 34px; }
.get-copy .badge { align-items: flex-start; }
.qr { margin: 0; justify-self: center; text-align: center; }
.qr-code { position: relative; width: 250px; padding: 18px; background: #fff; border-radius: 32px; box-shadow: 0 40px 80px -24px #000; }
.qr-code > img:first-child { width: 100%; height: auto; }
/* Значок не шире пустого центра кода (7 из 33 модулей), иначе код не прочитается. */
.qr-logo { position: absolute; left: 50%; top: 50%; width: 17%; height: auto; transform: translate(-50%, -50%); border-radius: 22%; }
.qr figcaption { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .get-in { grid-template-columns: 1fr; } }
@media (hover: none) and (pointer: coarse) and (max-width: 760px) { .qr { display: none; } }

/* ---------- Отдельные страницы: политика и поддержка ---------- */
.doc { max-width: 820px; padding: clamp(110px, 12vw, 150px) 0 var(--space); }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; margin-left: -4px; margin-bottom: 28px; }
.back:hover { text-decoration: underline; }
.doc h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
:lang(ja) .doc h1, :lang(ko) .doc h1, :lang(zh-Hans) .doc h1 { letter-spacing: 0; line-height: 1.2; }
.doc-updated { color: var(--muted); margin-top: 14px; }
.doc-body { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 14px; }
.doc-body section { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; }
.doc-body h2 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.doc-body p { color: var(--ink-2); max-width: 68ch; }
.doc-lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); margin-top: 18px; max-width: 52ch; }
.doc .mail { margin-top: 26px; }
.doc-faq { padding: clamp(56px, 7vw, 96px) 0 0; max-width: none; }
.doc-faq h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.doc-links { margin-top: 36px; color: var(--muted); font-size: 15px; }

/* ---------- Подвал ---------- */
.foot { padding: clamp(64px, 8vw, 110px) 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; }
.foot-support h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; letter-spacing: -0.02em; }
.foot-support p { color: var(--ink-2); max-width: 44ch; }
.mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); }
.foot-langs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.foot-langs a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: var(--mint); }
.foot-base { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.foot-base a:not(.brand) { color: var(--muted); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

.notfound { min-height: 80vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; }
.notfound h1 { font-size: 80px; font-weight: 800; }
.notfound img { border-radius: 20px; }
