/* VEKTOR — «Поиск человека», вариант 02 (v4 «ember»): тёмная сцена, стеклянная пилюля-навигация,
   радар в логотипе, закреплённая scroll-сцена «апертура», бенто-сценарии с фото, демо-досье,
   поиск по фото, тарифы. Палитра — угольная база + ember-акцент. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --bg: #0c0907;
  --bg-2: #120e0b;
  --surface: #17120f;
  --surface-2: #1f1814;
  --line: rgba(255, 214, 190, 0.08);
  --line-strong: rgba(255, 214, 190, 0.16);
  --text-primary: #f7f1ec;
  --text-secondary: #cbbfb5;
  --text-muted: #8f837a;
  --accent: #ff5a2e;
  --accent-2: #ffa25a;
  --accent-soft: rgba(255, 90, 46, 0.14);
  --ok: #7ee0a1;
  --bad: #ff6b6b;
  --radius: 28px;
  --radius-sm: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --p: 0; /* scroll progress апертуры, 0..1 — из JS */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- фон ---------- */
.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(255, 90, 46, .16), transparent 70%),
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 18%, transparent 82%, rgba(0,0,0,.55));
}
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff7a3d);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(255, 90, 46, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255, 90, 46, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text-primary); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent-2); background: var(--accent-soft); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 9, 7, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark {
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill-nav { display: none; }
@media (min-width: 1024px) {
  .pill-nav {
    display: flex; gap: 2px; padding: 5px;
    border-radius: 999px; border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .pill-nav a {
    padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--text-muted);
    text-decoration: none; transition: color .25s, background .25s;
  }
  .pill-nav a:hover, .pill-nav a.is-current { color: var(--text-primary); background: rgba(255,255,255,.07); }
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.tg-link { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text-secondary); }
.tg-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.tg-link:hover { color: var(--text-primary); }
@media (min-width: 640px) { .tg-link { display: inline-flex; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - 68px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 0 96px; overflow: hidden; text-align: center;
}
.hero-beams { position: absolute; inset: 0; pointer-events: none; }
.hero-beams span {
  position: absolute; top: -20%; left: 50%; width: 38vw; height: 140%;
  background: linear-gradient(180deg, rgba(255,90,46,.0), rgba(255,90,46,.12) 45%, transparent 90%);
  filter: blur(30px); transform-origin: 50% 0;
  animation: beam 14s ease-in-out infinite alternate;
}
.hero-beams span:nth-child(1) { transform: translateX(-50%) rotate(18deg); }
.hero-beams span:nth-child(2) { transform: translateX(-50%) rotate(-16deg); animation-delay: -5s; background: linear-gradient(180deg, transparent, rgba(255,162,90,.1) 50%, transparent 90%); }
.hero-beams span:nth-child(3) { transform: translateX(-50%) rotate(2deg); width: 22vw; animation-delay: -9s; }
@keyframes beam {
  0% { opacity: .45; translate: -4vw 0; }
  100% { opacity: 1; translate: 4vw 0; }
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-kicker {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
  margin-bottom: 28px;
}
@media (max-width: 480px) { .hero-kicker { font-size: 11px; letter-spacing: .08em; } }
.hero-logo {
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(3.6rem, 15vw, 10.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  user-select: none;
}
.hl-letter {
  display: inline-block;
  background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.35) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40%) scale(.96); filter: blur(10px);
  animation: letterIn 1s var(--ease) forwards;
}
.hl-letter:nth-child(1) { animation-delay: .05s; }
.hl-letter:nth-child(2) { animation-delay: .12s; }
.hl-letter:nth-child(3) { animation-delay: .19s; }
.hl-letter:nth-child(4) { animation-delay: .26s; }
.hl-letter:nth-child(6) { animation-delay: .40s; }
@keyframes letterIn { to { opacity: 1; transform: none; filter: none; } }

/* «O» заменена радаром */
.hl-radar {
  position: relative; display: inline-block;
  width: .82em; height: .82em; margin: 0 .03em;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,46,.18), rgba(255,90,46,.02) 70%);
  box-shadow: 0 0 0 .05em rgba(255,255,255,.9) inset, 0 0 60px rgba(255,90,46,.45);
  opacity: 0; animation: letterIn 1s var(--ease) .33s forwards;
  overflow: hidden;
}
.hl-radar svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,210,190,.25); stroke-width: 1; }
.hl-radar .sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,90,46,.85), rgba(255,90,46,0) 70deg, transparent 360deg);
  animation: spin 3.2s linear infinite;
}
.hl-radar .blip {
  position: absolute; width: .09em; height: .09em; left: 64%; top: 30%; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2);
  animation: blip 3.2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 8% { opacity: 0; } 12% { opacity: 1; } 60%, 100% { opacity: 0; } }

.hero-tag { margin-top: 18px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text-secondary); letter-spacing: .01em; }

.search-pill {
  position: relative; margin-top: 44px; width: 100%; max-width: 620px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: linear-gradient(rgba(23,18,15,.75), rgba(23,18,15,.75)) padding-box,
              linear-gradient(120deg, rgba(255,255,255,.28), rgba(255,90,46,.5) 50%, rgba(255,255,255,.12)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(255,90,46,.55);
}
.sp-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; display: block; }
.search-pill input {
  flex: 1; min-width: 0; height: 48px; background: none; border: 0; outline: none;
  color: var(--text-primary); font: inherit; font-size: 16px;
}
.search-pill input::placeholder { color: var(--text-muted); }
.search-pill .btn { flex-shrink: 0; }
@media (max-width: 480px) {
  .search-pill { flex-wrap: wrap; border-radius: 26px; padding: 8px; }
  .sp-icon { display: none; }
  .search-pill input { padding-left: 12px; }
  .search-pill .btn { width: 100%; }
}
.input-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.input-chips li { font-size: 13px; color: var(--text-muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-strong); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- aperture: закреплённая сцена ---------- */
.aperture { position: relative; height: 320vh; }
.aperture-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent);
}
.aperture-core {
  position: absolute; left: 50%; top: 50%;
  width: 140vmax; height: 140vmax; translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,120,60,.95) 0%, rgba(255,90,46,.55) 18%, rgba(160,40,20,.25) 38%, transparent 62%);
  transform: scale(calc(.08 + var(--p) * 1.05));
  opacity: calc(.35 + var(--p) * .65);
  will-change: transform;
}
.aperture-rings i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(255,200,170,.14);
  translate: -50% -50%;
  width: calc(20vmin + var(--p) * 90vmin); height: calc(20vmin + var(--p) * 90vmin);
}
.aperture-rings i:nth-child(2) { width: calc(34vmin + var(--p) * 110vmin); height: calc(34vmin + var(--p) * 110vmin); opacity: .7; }
.aperture-rings i:nth-child(3) { width: calc(50vmin + var(--p) * 130vmin); height: calc(50vmin + var(--p) * 130vmin); opacity: .5; }
.aperture-rings i:nth-child(4) { width: calc(68vmin + var(--p) * 150vmin); height: calc(68vmin + var(--p) * 150vmin); opacity: .3; border-style: dashed; }
.aperture-copy { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.ap-line {
  position: absolute; left: 50%; top: 50%; width: max-content; max-width: 92vw;
  translate: -50% -50%;
  font-size: clamp(2rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
  opacity: 0; transform: translateY(30px) scale(.97); filter: blur(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
  text-shadow: 0 10px 60px rgba(0,0,0,.35);
}
.ap-line.is-on { opacity: 1; transform: none; filter: none; }
.ap-line--accent span { background: linear-gradient(180deg, #fff 30%, #ffd6c2); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(120,20,0,.6)); }
.aperture-orbit {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(calc(var(--p) * 140deg));
  opacity: clamp(0, calc((var(--p) - .25) * 4), 1);
}
.aperture-orbit span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: rgba(12,9,7,.55); border: 1px solid rgba(255,220,200,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: rotate(var(--a)) translateX(min(40vw, 380px)) rotate(calc(-1 * var(--a) - var(--p) * 140deg)) translate(-50%, -50%);
}
@media (max-width: 640px) {
  .ap-line { font-size: clamp(1.7rem, 8.5vw, 2.4rem); max-width: 70vw; text-align: center; width: auto; }
  .aperture-orbit span { font-size: 11px; padding: 5px 10px; transform: rotate(var(--a)) translateX(43vw) rotate(calc(-1 * var(--a) - var(--p) * 140deg)) translate(-50%, -50%); }
}

/* ---------- секции ---------- */
.section { position: relative; padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.section h2 em {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 18px; color: var(--text-secondary); font-size: 17px; line-height: 1.65; max-width: 620px; }
.section-head--center .lead { margin-inline: auto; }
.lead a { color: var(--accent-2); }

/* ---------- reveal ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- бенто-сценарии ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s;
}
.tile:hover { border-color: rgba(255,120,60,.35); box-shadow: 0 30px 80px -40px rgba(255,90,46,.5); }
.tile::after { /* блик под курсором */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,160,110,.12), transparent 60%);
}
.tile:hover::after { opacity: 1; }
.tile-media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.tile-media > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: saturate(.85) contrast(1.05); }
.tile:hover .tile-media > img { transform: scale(1.12); }
.tile-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface-2) 100%); pointer-events: none; }
.tile-body { position: relative; padding: 4px 24px 28px; }
@media (min-width: 768px) { .tile-body { padding: 4px 32px 34px; } }
.tile-num { font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: .08em; }
.tile h3 { margin: 8px 0 10px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.tile p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; }
@media (min-width: 900px) {
  .tile--wide { grid-column: span 1; }
  .tile--car, .tile--friends { flex-direction: column; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--caller { grid-column: span 5; }
  .tile--date { grid-column: span 7; }
  .tile--car { grid-column: span 7; }
  .tile--friends { grid-column: span 5; }
  .tile--date .tile-media, .tile--car .tile-media { aspect-ratio: 16 / 10; }
  .tile--caller .tile-media, .tile--friends .tile-media { aspect-ratio: 4 / 3.6; }
}

/* UI-накладки на фото */
.call-ui, .check-ui, .vin-ui, .fuzzy-ui {
  position: absolute; z-index: 2;
  background: rgba(14,10,8,.72); border: 1px solid rgba(255,220,200,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; font-size: 13px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
}
.call-ui { left: 16px; right: 16px; top: 16px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 4px 12px; align-items: center; }
.call-pulse { width: 38px; height: 38px; border-radius: 50%; background: var(--ok); position: relative; grid-row: span 1; }
.call-pulse::before, .call-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); animation: ring 2s ease-out infinite; }
.call-pulse::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(2); opacity: 0; } }
.call-meta b { display: block; font-size: 15px; }
.call-meta small { color: var(--text-muted); }
.call-found { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; }
.call-found i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

.check-ui { right: 16px; bottom: 20px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.check-ui li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-ui li::before {
  content: ''; width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tile.is-visible .check-ui li { animation: tick .6s var(--ease) backwards; animation-delay: calc(.5s + var(--d) * .18s); }
@keyframes tick { from { opacity: 0; transform: translateX(14px); } }

.vin-ui { left: 16px; bottom: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; max-width: calc(100% - 32px); }
.vin-row small { display: block; color: var(--text-muted); font-size: 11px; }
.vin-row code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; letter-spacing: .04em; }
.vin-row b { color: var(--ok); }
.vin-row--bad b { color: var(--bad); background: rgba(255,107,107,.15); border-radius: 3px; padding: 0 2px; }
.vin-flag { font-size: 12px; color: var(--bad); font-weight: 600; }

.fuzzy-ui { right: 16px; top: 16px; left: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .fuzzy-ui { left: auto; width: 300px; } }
.fz-input { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.fz-input span:last-child { color: var(--text-muted); }
.fz-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.fz-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); animation: scanbar 1.8s ease-in-out infinite; }
@keyframes scanbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.fz-res { display: flex; flex-direction: column; gap: 6px; }
.fz-res span { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.03); }
.fz-res img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* ---------- ticker ---------- */
.ticker { padding: 24px 0; display: flex; flex-direction: column; gap: 14px; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.ticker-row { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 14px; flex-shrink: 0; padding-right: 14px; animation: marquee 40s linear infinite; }
.ticker-row--rev .ticker-track { animation-direction: reverse; animation-duration: 52s; }
.ticker-track span {
  white-space: nowrap; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-strong); background: var(--surface);
}
.ticker-row:first-child .ticker-track span:nth-child(3n+1) { background: var(--accent-soft); border-color: rgba(255,90,46,.35); color: #ffd3bd; }
.ticker-row--rev .ticker-track span { color: var(--text-muted); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 500; font-size: 14px; background: transparent; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- досье ---------- */
.dossier-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .dossier-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.rep-list { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
@media (min-width: 560px) { .rep-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rep-list button {
  width: 100%; text-align: left; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--text-secondary);
  transition: background .3s, color .3s;
}
.rep-list button span { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rep-list button small { width: 100%; padding-left: 26px; margin-top: -4px; font-weight: 400; font-size: 12.5px; color: var(--text-muted); }
.rep-list button:hover { background: rgba(255,255,255,.04); color: var(--text-primary); }
.rep-list li.is-active button { background: var(--accent-soft); color: #fff; }
.rep-list li.is-active button span { color: var(--accent-2); }

.dossier {
  position: relative; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(160deg, rgba(255,120,60,.1), transparent 40%), var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -50px rgba(255,90,46,.55);
  transform-style: preserve-3d;
}
@media (min-width: 768px) { .dossier { padding: 30px; } }
.dossier-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dossier-top > img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; }
.dossier-top b { display: block; font-size: 18px; }
.dossier-top span { font-size: 14px; color: var(--text-muted); }
.demo-note { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.score { position: relative; width: 60px; height: 60px; display: grid; place-items: center; }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 3.5; }
.score circle { stroke: rgba(255,255,255,.08); }
.score .score-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.6s var(--ease); }
.dossier.is-visible .score-fill { stroke-dashoffset: 0; }
.score b { font-size: 18px; line-height: 1; }
.score small { position: absolute; bottom: 12px; right: 9px; font-size: 10px; color: var(--text-muted); }
.dossier-panels { position: relative; min-height: 210px; padding-top: 18px; }
.panel { position: absolute; inset: 18px 0 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 14.5px; }
.kv span { color: var(--text-muted); }
.kv b { text-align: right; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 100px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: bottom; }
.panel.is-active .bars i { animation: grow .8s var(--ease) backwards; }
.panel.is-active .bars i:nth-child(2) { animation-delay: .06s; } .panel.is-active .bars i:nth-child(3) { animation-delay: .12s; } .panel.is-active .bars i:nth-child(4) { animation-delay: .18s; } .panel.is-active .bars i:nth-child(5) { animation-delay: .24s; } .panel.is-active .bars i:nth-child(6) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.avatars { display: flex; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.avatars img, .avatars span { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--accent); font-weight: 700; font-size: 14px; }
.map {
  position: relative; height: 130px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 40% 60%, rgba(255,90,46,.12), transparent 60%), var(--bg-2);
}
.map i { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,90,46,.2); }
.map i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ring 2.2s ease-out infinite; }
.dossier-progress { margin-top: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.dossier-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.dossier-progress i.is-running { animation: fill 4.2s linear forwards; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 480px) { .dossier-panels { min-height: 230px; } .kv { flex-direction: column; gap: 2px; } .kv b { text-align: left; } }

/* ---------- поиск по фото ---------- */
.photo-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: 32px 20px;
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255,90,46,.22), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(255,162,90,.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
}
@media (min-width: 768px) { .photo-card { padding: 56px; } }
@media (min-width: 1024px) { .photo-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; padding: 64px; } }
.photo-prices { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.photo-prices div { flex: 1 1 160px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.photo-prices b { display: block; font-size: 1.8rem; letter-spacing: -0.03em; }
.photo-prices span { font-size: 14px; color: var(--text-muted); }
.photo-demo { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pd-query { position: relative; border-radius: 22px; overflow: hidden; }
.pd-query img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pd-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255,120,60,.45) 85%, var(--accent-2) 100%); mix-blend-mode: screen; }
.photo-demo.is-visible .pd-scan { animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.pd-frame { position: absolute; left: 26%; top: 16%; width: 48%; height: 46%; border-radius: 14px;
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) top left / 18px 2px no-repeat, linear-gradient(var(--accent-2), var(--accent-2)) top left / 2px 18px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) top right / 18px 2px no-repeat, linear-gradient(var(--accent-2), var(--accent-2)) top right / 2px 18px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom left / 18px 2px no-repeat, linear-gradient(var(--accent-2), var(--accent-2)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom right / 18px 2px no-repeat, linear-gradient(var(--accent-2), var(--accent-2)) bottom right / 2px 18px no-repeat;
  animation: frame 2.6s ease-in-out infinite;
}
@keyframes frame { 50% { transform: scale(1.06); opacity: .7; } }
.pd-results { display: flex; flex-direction: column; gap: 10px; }
.pd-res { flex: 1; display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 16px; background: rgba(12,9,7,.5); border: 1px solid var(--line); opacity: 0; transform: translateX(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.photo-demo.is-visible .pd-res { opacity: 1; transform: none; }
.photo-demo.is-visible .pd-res:nth-child(2) { transition-delay: .15s; }
.photo-demo.is-visible .pd-res:nth-child(3) { transition-delay: .3s; }
.pd-res img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pd-res div { font-size: 1.15rem; font-weight: 800; }
.pd-res div i { display: block; margin-top: 6px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.pd-res div i::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform 1.4s var(--ease) .3s; }
.photo-demo.is-visible .pd-res div i::after { transform: scaleX(var(--m)); }
.photo-demo .demo-note { position: absolute; left: 12px; top: 12px; margin: 0; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.5); color: #ddd; }

/* ---------- тарифы ---------- */
.plans { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan-term { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.plan-price { font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -0.03em; margin-top: 18px; }
.plan-day { font-size: 13px; color: var(--text-secondary); }
.plan-badge { align-self: flex-start; margin: -6px 0 4px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text-secondary); }
.plan--hot { background: linear-gradient(160deg, var(--accent), #c9391a); border-color: transparent; box-shadow: 0 30px 70px -30px rgba(255,90,46,.8); }
.plan--hot .plan-term, .plan--hot .plan-day { color: rgba(255,255,255,.85); }
.plan--hot .plan-badge { background: rgba(0,0,0,.25); color: #fff; }
.plan--forever { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, var(--accent-2), transparent 60%) border-box; border: 1px solid transparent; }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- один аккаунт ---------- */
.duo {
  display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  padding: 32px 20px; border-radius: 32px; border: 1px solid var(--line); background: var(--bg-2);
}
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 200px) 120px minmax(0, 200px) minmax(0, 1fr); padding: 44px 48px; gap: 28px; } }
.duo-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.duo-side b { font-size: 16px; }
.duo-side span:last-child { font-size: 13px; color: var(--text-muted); }
.duo-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(255,90,46,.3); margin-bottom: 6px; }
.duo-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.duo-link { display: flex; gap: 8px; justify-content: center; }
.duo-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: dot 1.4s ease-in-out infinite; }
.duo-link i:nth-child(2) { animation-delay: .2s; } .duo-link i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.duo-copy { grid-column: 1 / -1; }
@media (min-width: 900px) { .duo-copy { grid-column: auto; padding-left: 20px; border-left: 1px solid var(--line); } }
.duo-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem) !important; }
.duo-copy p { margin-top: 10px; color: var(--text-secondary); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .faq-grid .section-head { position: sticky; top: 110px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: rgba(255,90,46,.35); background: linear-gradient(180deg, rgba(255,90,46,.06), transparent), var(--surface); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.06); transition: transform .4s var(--ease), background .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px; border-radius: 2px; background: currentColor; }
.faq-item summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] summary i { background: var(--accent); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { padding: 0 22px 22px; color: var(--text-secondary); line-height: 1.7; font-size: 15.5px; }

/* ---------- финальный CTA ---------- */
.final-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 20px; border-radius: 40px;
  background: radial-gradient(90% 120% at 50% 110%, rgba(255,90,46,.55), rgba(255,90,46,.08) 55%, transparent 75%), var(--surface);
  border: 1px solid var(--line-strong);
}
@media (min-width: 768px) { .final-card { padding: 104px 56px; } }
.final-rings i { position: absolute; left: 50%; bottom: -60%; width: 60%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 1px solid rgba(255,200,170,.15); animation: pulse 6s ease-out infinite; }
.final-rings i:nth-child(2) { animation-delay: 2s; } .final-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.final-card h2 { position: relative; max-width: 820px; margin: 0 auto; }
.final-card p { position: relative; margin: 18px auto 0; max-width: 560px; color: var(--text-secondary); font-size: 17px; }
.final-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer-brand p { margin-top: 16px; max-width: 380px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--accent-2); }
.legal-block { margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.age { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-secondary); margin-bottom: 14px; }
.legal-block p { color: var(--text-muted); font-size: 12.5px; line-height: 1.7; max-width: 920px; margin-bottom: 10px; }
.legal-block a { color: var(--text-secondary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-muted); }

/* ---------- служебные страницы (legal) ---------- */
.bg-orbs, .grid-overlay { display: none; }
.simple-page { padding: 64px 0 96px; }
.simple-page .container { max-width: 760px; }
.simple-page h1 { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.simple-page h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.simple-page p, .simple-page li { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }
.simple-page ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.simple-page ul li::before { content: '— '; color: var(--text-muted); }
.simple-page .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--accent-2); text-decoration: none; font-size: 14px; }
.simple-page .back-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .footer-bottom:only-child { border-top: 0; padding-top: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hl-letter, .hl-radar { opacity: 1; transform: none; filter: none; }
  .aperture { height: auto; }
  .aperture-stage { position: relative; height: 80svh; }
  .ap-line { position: relative; left: auto; top: auto; translate: none; opacity: 1; transform: none; filter: none; display: block; margin: 6px auto; font-size: clamp(1.6rem, 5vw, 3rem); }
  .aperture-orbit { display: none; }
  .ticker-track { animation: none; }
}
@media (max-width: 480px) { .photo-demo .demo-note { font-size: 9px; left: 8px; top: 8px; padding: 3px 6px; letter-spacing: .03em; } }
