/* =========================================================================
   ЕХАЙ — Telemetry landing · DARK CINEMATIC (v3)
   Dark-premium app-landing convention. Live map glows as the centerpiece;
   light app screenshots pop. Brand identity preserved (app theme.ts).
   ========================================================================= */

:root {
  /* Brand core */
  --blue:      #00AFEC;    /* Небо — основной цвет бренда */
  --blue-2:    #00AFEC;
  --blue-dark: #0071BA;    /* Трасса */
  --blue-deep: #0071BA;
  --teal:      #00AFEC;    /* teal изъят из бренда → Небо */
  --green:     #00B359;    /* Выгода — дужка, дёшево, успех */
  --amber:     #FAAC39;    /* Янтарь — средние цены */
  --red:       #D0021B;    /* Стоп — дорого */
  --red-hot:   #D0021B;

  /* Dark neutrals — near-black navy */
  --bg:        #14181D;    /* Ночь */
  --bg-2:      #1F242B;    /* Гараж */
  --canvas:    #14181D;
  --surface:   #1F242B;    /* Гараж */
  --surface-2: #2A3038;    /* Бетон */
  --ink:       #EAF0F6;
  --ink-2:     #9AA4AF;
  --ink-3:     #7d8792;
  --line:      rgba(255,255,255,0.1);
  --line-2:    rgba(255,255,255,0.18);
  --glass:     rgba(31,36,43,0.6);

  /* Type */
  --display: "Unbounded", "Montserrat", sans-serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --mono: "Montserrat", "Segoe UI", system-ui, sans-serif; /* цифры цен: Montserrat 800 tnum */

  --text-hero: clamp(2rem, 0.9rem + 4.6vw, 4.4rem);
  --text-h2:   clamp(1.5rem, 1rem + 2.4vw, 2.6rem);
  --text-h3:   clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  --text-lead: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);

  /* Space */
  --wrap: 1220px;
  --gutter: clamp(1.15rem, 0.5rem + 3vw, 3rem);
  --section-y: clamp(5rem, 3rem + 8vw, 10rem);

  --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --r-xl: 40px; --r-pill: 999px;

  /* Elevation + glow */
  --sh-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -30px rgba(0,0,0,.8);
  --sh-float: 0 30px 80px -30px rgba(0,0,0,.85);
  --sh-phone: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05);
  --glow-blue: 0 0 60px -10px rgba(0,175,236,.45);
  --glow-green: 0 0 50px -10px rgba(0,179,89,.5);

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-in:  cubic-bezier(0.4, 0, 1, 1);
  --d-fast: 200ms; --d-med: 420ms;

  --z-progress: 200; --z-header: 120; --z-cue: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(0,113,186,.28), transparent 55%),
    radial-gradient(90% 60% at 10% 8%, rgba(0,175,236,.10), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, canvas { display: block; max-width: 100%; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h3, h4 { margin: 0; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* lead paragraphs — tightened rhythm for editorial contrast against 1.6 body */
.hero-sub, .problem-lead, .savings-copy p, .community-copy p, .cta-copy > p, .spine-step p, .step p { line-height: 1.5; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--blue-dark); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top var(--d-fast) var(--e-out); }
.skip-link:focus { top: 12px; }

:where(a, button, [role="slider"]):focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 8px;
}


/* render lazily below the fold (spine/cta исключены: ScrollTrigger-pin и canvas-resize) */
.problem, .savings, .how, .whatsnew, .community, .cta, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* фирменный паттерн — дорожные пиктограммы (брендбук гл.08) */
.brand-pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczNDAnIGhlaWdodD0nMzQwJyB2aWV3Qm94PScwIDAgMzQwIDM0MCc+IDxnIGZpbGw9J25vbmUnIHN0cm9rZT0nIzJBMzAzOCcgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnIG9wYWNpdHk9Jy45Jz4gPHBhdGggZD0nTTQwIDkwYzMwIDAgMTAtMzUgNDAtMzUgMjIgMCAyMC0yNSAxMC0zMicvPjxjaXJjbGUgY3g9JzQwJyBjeT0nOTAnIHI9JzcnLz48Y2lyY2xlIGN4PSc5MicgY3k9JzE4JyByPSc5Jy8+IDxnIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDIxMCA0MCknPjxyZWN0IHg9JzAnIHk9JzAnIHdpZHRoPSczNCcgaGVpZ2h0PSc1Nicgcng9JzYnLz48cmVjdCB4PSc3JyB5PSc4JyB3aWR0aD0nMjAnIGhlaWdodD0nMTUnIHJ4PSczJy8+PHBhdGggZD0nTTQwIDE2aDVhNSA1IDAgMCAxIDUgNXYyNWE0IDQgMCAxIDAgOCAwVjI2bC02LTgnLz48L2c+IDxnIHRyYW5zZm9ybT0ndHJhbnNsYXRlKDcwIDIwMCknPjxwYXRoIGQ9J00yMiAwYTIyIDIyIDAgMCAwLTIyIDIyYzAgMTYgMjIgNDAgMjIgNDBzMjItMjQgMjItNDBBMjIgMjIgMCAwIDAgMjIgMHonLz48Y2lyY2xlIGN4PScyMicgY3k9JzIxJyByPSc4Jy8+PC9nPiA8ZyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgyMzAgMjIwKSc+PGNpcmNsZSBjeD0nMjYnIGN5PScyNicgcj0nMTInLz48cGF0aCBkPSdNMjYgMnY5TTI2IDQxdjlNMiAyNmg5TTQxIDI2aDlNOSA5bDYuNCA2LjRNMzYuNiAzNi42IDQzIDQzTTQzIDlsLTYuNCA2LjRNMTUuNCAzNi42IDkgNDMnLz48L2c+IDxwYXRoIGQ9J00xNjAgMzIwYzI4IDAgMTItMzAgMzgtMzAgMjAgMCAxOC0yMiA4LTI4JyAvPiA8L2c+PC9zdmc+'); background-size: 340px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(110% 90% at 50% 10%, #000 0%, transparent 70%); }

/* film grain */
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: var(--z-progress); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--green), var(--amber) 55%, var(--red-hot)); box-shadow: 0 0 12px rgba(0,175,236,.6); }

/* ---------- Логотип «ехай» (брендбук, гл. 03) ---------- */
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 900; letter-spacing: -.015em; line-height: 1; white-space: nowrap; color: #fff; text-decoration: none; }
.logo .i { position: relative; display: inline-block; }
.logo .i svg { position: absolute; left: 52%; transform: translateX(-50%); bottom: 72%; width: .56em; height: .3em; overflow: visible; }
.logo .i svg path { stroke: var(--green); stroke-width: 26; fill: none; stroke-linecap: round; }
.logo .i svg { transition: transform 180ms var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .logo:hover .i svg { transform: translateX(-50%) translateY(-2px) rotate(-4deg); }
}

/* ---------- Гусь ---------- */
.goose { position: absolute; z-index: 4; pointer-events: none; }
.goose img { display: block; width: 100%; height: auto; }
.goose-bubble { position: absolute; white-space: nowrap; font-family: var(--sans); font-weight: 800; font-size: .78rem; color: var(--bg); background: var(--green); padding: .45em .8em; border-radius: 999px 999px 999px 4px; }
.hero-goose { right: clamp(1rem, 5vw, 5.5rem); bottom: clamp(3.2rem, 5vw, 4.4rem); width: clamp(96px, 11vw, 168px); transform: rotate(-3deg); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.hero-goose .goose-bubble { top: -2.1em; right: 70%; }
.spine-goose { left: -64px; bottom: 6%; width: 118px; transform: rotate(4deg); z-index: 0; filter: drop-shadow(0 14px 24px rgba(0,0,0,.4)); }
.cta-goose { position: relative; display: inline-block; width: 128px; }
.cta-goose img { width: 100%; height: auto; display: block; }
.cta-goose-x { position: relative; display: inline-block; width: 128px; margin-top: 1.2rem; transform: rotate(-3deg); pointer-events: none; filter: drop-shadow(0 16px 28px rgba(0,0,0,.45)); }
.cta-goose .goose-bubble { top: -1.4em; left: 78%; }
html.motion .hero-goose { animation: gooseSway 6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes gooseSway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(2deg); } }
@media (max-width: 860px) { .hero-goose { display: none; } .spine-goose { left: -34px; width: 64px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; font-family: var(--sans); font-weight: 800; font-size: .98rem; padding: .85em 1.4em; border-radius: var(--r-pill); text-decoration: none; cursor: pointer; border: 0; transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out), background var(--d-fast) var(--e-out); }
.btn-sm { padding: .58em 1.05em; font-size: .95rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn-primary { background: var(--blue); color: var(--bg); box-shadow: 0 8px 20px -8px rgba(0,175,236,.55); }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
/* hover effects gated: touch devices get sticky hover on tap */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,175,236,.7); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); color: #fff; background: rgba(0,175,236,.08); }
}
.on-dark-ghost { color: var(--ink); }
.rustore-mark { display: inline-grid; place-items: center; }
.rustore-label { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; font-size: 1.15em; font-weight: 800; letter-spacing: -.01em; }
.rustore-label small { font-size: .62em; font-weight: 700; opacity: .8; }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0,179,89,.6), 0 0 10px rgba(0,179,89,.8); animation: livepulse 2s var(--e-out) infinite; }
html:not(.motion) .live-dot, html:not(.motion) .scan-pulse { animation: none; }
.scan-pulse { animation: none; }                               /* статичная точка-маркер */
.cta-note .live-dot, .footer-status .live-dot { animation: none; } /* один живой сигнал на страницу */
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(0,179,89,.6), 0 0 10px rgba(0,179,89,.8); } 70%,100% { box-shadow: 0 0 0 7px rgba(0,179,89,0), 0 0 10px rgba(0,179,89,.4); } }

/* =========================================================================
   HEADER + TICKER
   ========================================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid transparent; transition: border-color var(--d-med) var(--e-out), background var(--d-med) var(--e-out); }
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); }
.header-inner { display: flex; align-items: center; gap: 1.4rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 900; }
.brand-pin { color: var(--blue); display: inline-grid; place-items: center; filter: drop-shadow(0 0 8px rgba(0,175,236,.6)); }
.brand-word { font-size: 1.3rem; letter-spacing: -.04em; color: #fff; }
.header-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.header-nav a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink-2); white-space: nowrap; position: relative; padding: 4px 0; transition: color var(--d-fast) var(--e-out); }
.header-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--d-med) var(--e-out); box-shadow: 0 0 10px var(--blue); }
@media (hover: hover) and (pointer: fine) {
  .header-nav a:hover { color: #fff; } .header-nav a:hover::after { transform: scaleX(1); }
}

.ticker { overflow: hidden; border-top: 1px solid var(--line); background: rgba(255,255,255,.02); height: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5.5%, #000 94.5%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5.5%, #000 94.5%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; }
html.motion .ticker-track { animation: tickerScroll 40s linear infinite; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.15rem; height: 34px; font-family: var(--mono); font-size: .775rem; font-weight: 600; color: var(--ink-2); }
.ticker-item b { color: var(--ink); font-weight: 700; }
.ticker-item .tk-dot { width: 7px; height: 7px; border-radius: 50%; }
.ticker-item .tk-dn { color: var(--green); } .ticker-item .tk-up { color: var(--red); }

/* =========================================================================
   HERO — luminous live map + left scrim
   ========================================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding-top: clamp(6rem, 5rem + 4vw, 8rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* scrim: dark on the left (text side) fading to reveal the glowing map on the right */
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 8%, rgba(7,12,20,.72) 38%, rgba(7,12,20,.1) 66%, transparent 88%),
    radial-gradient(120% 120% at 50% 120%, rgba(7,12,20,.7), transparent 60%),
    linear-gradient(180deg, rgba(7,12,20,.7), transparent 22%); }
.hero .grain { z-index: 2; opacity: .3; }

.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-plate { max-width: 620px; margin-top: clamp(0.75rem, 2vw, 2rem); } /* eyebrow clears the ticker rail comfortably */
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; color: var(--ink); background: rgba(0,175,236,.1); padding: .5rem .95rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(0,175,236,.28); margin-bottom: 1.5rem; backdrop-filter: blur(6px); text-decoration: none; transition: box-shadow var(--d-fast) var(--e-out), background var(--d-fast) var(--e-out); }
.eyebrow-arrow { opacity: .65; transition: transform var(--d-fast) var(--e-out), opacity var(--d-fast) var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-eyebrow:hover { background: rgba(0,175,236,.16); box-shadow: inset 0 0 0 1px rgba(0,175,236,.55); }
  .hero-eyebrow:hover .eyebrow-arrow { opacity: 1; transform: translate(2px, -2px); }
}

.hero-h1 { font-size: var(--text-hero); font-weight: 900; letter-spacing: -.015em; color: #fff; margin-bottom: 1.4rem; text-wrap: balance; }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h1 .line-in { display: inline-block; }
.hero-h1 .cheap { color: var(--green); position: relative; white-space: nowrap; text-shadow: 0 0 30px rgba(0,179,89,.6); }
.hero-h1 .cheap::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .09em; border-radius: 3px; box-shadow: 0 0 14px var(--green); background: var(--green); }
/* light sweep along the underline — transform+opacity only */
html.motion .hero-h1 .cheap::before { content: ""; position: absolute; left: 0; bottom: .04em; height: .09em; width: 34%; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); opacity: 0;
  animation: sweepX 3.4s ease-in-out infinite; }
@keyframes sweepX { 0% { transform: translateX(-40%); opacity: 0; } 18% { opacity: .9; } 60% { opacity: .9; } 100% { transform: translateX(240%); opacity: 0; } }

.hero-sub { font-size: var(--text-lead); color: var(--ink-2); max-width: 40ch; margin-bottom: 2rem; font-weight: 500; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.7rem; }
.hero-scan { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.hero-scan b { color: #fff; }
.scan-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: livepulse 1.8s var(--e-out) infinite; }

.heat-legend { position: absolute; left: var(--gutter); bottom: clamp(1.5rem, 3vw, 2.6rem); z-index: 3; display: flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 600; color: var(--ink-2); background: var(--glass); padding: .45rem .7rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.heat-bar { width: 108px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--amber) 55%, var(--red-hot)); box-shadow: 0 0 14px rgba(208,2,27,.4); }

.hero-scrollcue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: var(--z-cue); color: var(--blue); opacity: .85; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); }
html.motion .hero-scrollcue { animation: bob 2.4s var(--e-out) 2.4s 3; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem { position: relative; padding-block: var(--section-y); background: radial-gradient(66% 42% at 50% 0%, rgba(0,175,236,.06), transparent 72%); }
.problem-inner { max-width: 980px; margin-inline: auto; text-align: center; }
.statement { font-size: var(--text-h2); font-weight: 800; color: #fff; line-height: 1.08; text-wrap: balance; }
.statement [data-split] { display: block; }
.hl-expensive { color: var(--red); text-shadow: 0 0 26px rgba(208,2,27,.45); }
.problem-lead { margin-top: 1.7rem; font-size: var(--text-lead); color: var(--ink-2); max-width: 56ch; margin-inline: auto; text-wrap: pretty; }
.problem-lead b { color: #fff; }

/* reusable section kicker + top hairline rhythm */
.section-tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.35rem; }
.section-tag.center { display: flex; justify-content: center; }
.section-tag .tag-tick { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), transparent); box-shadow: 0 0 10px rgba(0,175,236,.6); flex: none; }
.problem::before, .how::before, .community::before, .spine::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1120px, 84%); height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* price-spread device — telemetry anchor for the problem statement */
.spread { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(.6rem, 1.6vw, 1.2rem); margin-top: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
/* faint dashed connector node → badge → node, echoing the canvas route (3/7 dash) */
.spread::before { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; transform: translateY(-50%); z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(0,175,236,.34) 0 3px, transparent 3px 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.spread-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.15rem 1.6rem; min-width: 186px; background: var(--glass); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.spread-price { display: inline-flex; align-items: baseline; gap: .18em; font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1; letter-spacing: -.03em; }
.spread-price i { font-style: normal; font-size: .4em; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.spread-price.lo { color: var(--green); text-shadow: 0 0 26px rgba(0,179,89,.4); }
.spread-price.hi { color: var(--red); text-shadow: 0 0 26px rgba(208,2,27,.32); }
.spread-cap { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.spread-link { position: relative; z-index: 1; display: flex; align-items: center; gap: .6rem; }
/* stubs stay as spacers; the .spread::before route line is the visible connector now */
.spread-link::before, .spread-link::after { content: ""; width: clamp(18px, 3.2vw, 46px); height: 2px; }
.spread-delta { font-weight: 800; font-size: .84rem; color: #fff; padding: .42rem .82rem; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: var(--glow-blue), 0 0 0 1px rgba(255,255,255,.1) inset; white-space: nowrap; }
/* spread comes alive on reveal: route line draws itself, delta badge pops after it */
html.motion .spread::before { clip-path: inset(0 100% 0 0); transition: clip-path 900ms var(--e-out) 650ms; }
html.motion .spread.in::before { clip-path: inset(0 0 0 0); }
html.motion .spread .spread-delta { opacity: 0; transform: scale(.6); transition: opacity 320ms var(--e-out) 1300ms, transform 420ms cubic-bezier(.34,1.56,.64,1) 1300ms; }
html.motion .spread.in .spread-delta { opacity: 1; transform: scale(1); }

/* =========================================================================
   STICKY-PHONE SPINE
   ========================================================================= */
.spine { position: relative; background: radial-gradient(72% 40% at 50% 0%, rgba(0,175,236,.055), transparent 70%); }
.spine-sticky { position: relative; z-index: 1; display: flex; align-items: center; padding-block: clamp(3rem, 6vh, 5rem); }
.spine-grid { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: clamp(2rem, 4vw, 5rem); align-items: center; width: 100%; }

/* карусель: обычная секция, скролл страницы не захватывается */


/* per-screen colored aura: solid bg-color transitions smoothly, blur makes it a glow */
/* device idle levitation */
html.motion .spine-phone { animation: phoneFloat 6.5s ease-in-out infinite; }
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* glass sheen over the screen */
.phone-screens::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: 34px;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.025) 24%, transparent 38%); }
.spine-nav { display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .spine-arrow:hover { background: var(--blue); color: var(--bg); } }
@media (hover: hover) and (pointer: fine) {
  .spine-arrow.prev:hover svg { transform: translateX(-2px); }
  .spine-arrow.next:hover svg { transform: translateX(2px); }
}
/* decorative step-progress rail threading the dots (dots stay the accessible controls) */
@media (hover: hover) and (pointer: fine) { .spine-dots .dot:hover { background-color: var(--ink-3); } }

/* ── интерактивный список фич ── */
.spine-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 6vw, 6rem); }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.feat { display: flex; gap: .95rem; align-items: flex-start; width: 100%; text-align: left; background: transparent; border: 0; border-radius: var(--r-md); padding: .85rem 1rem; cursor: pointer; transition: background var(--d-fast) var(--e-out); }
.feat-num { flex: none; font-size: .8rem; font-weight: 800; color: var(--ink-3); padding-top: .2rem; transition: color var(--d-fast) var(--e-out); }
.feat h3 { font-size: 1.06rem; color: var(--ink-2); margin: 0 0 .15rem; transition: color var(--d-fast) var(--e-out); }
.feat p { font-size: .92rem; color: var(--ink-3); line-height: 1.45; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 320ms var(--e-out), opacity 320ms var(--e-out); }
.feat.is-active { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -22px rgba(0,0,0,.8); }
.feat.is-active .feat-num { color: var(--blue); }
.feat.is-active h3 { color: #fff; }
.feat.is-active p { max-height: 4.5em; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .feat:hover h3 { color: #fff; } }

/* ── веер телефонов ── */
.phone-fan { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.fan-aura { position: absolute; width: 70%; height: 60%; border-radius: 50%; background-color: #0071BA; opacity: .5; filter: blur(70px); transition: background-color 600ms var(--e-out); pointer-events: none; }
.phone-fan .phone { box-shadow: var(--sh-phone); }
.fan-main { position: relative; z-index: 3; width: min(300px, 60vw); transition: transform 500ms var(--e-out); transform-style: preserve-3d; }
.fan-side { position: absolute; top: 50%; left: 50%; z-index: 1; width: min(240px, 46vw); aspect-ratio: 1080 / 1920; background: #05090f; border-radius: 38px; padding: 8px; filter: brightness(.45) saturate(.8); }
.fan-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.fan-l { transform: translate(-108%, -50%) rotate(-9deg) scale(.9); }
.fan-r { transform: translate(8%, -50%) rotate(9deg) scale(.9); }
.spine-goose { left: auto; right: -8px; bottom: -14px; width: 128px; z-index: 4; transform: rotate(4deg); }
.spine-goose img { width: 100%; height: auto; display: block; }

@media (max-width: 980px) {
  .spine-grid { grid-template-columns: 1fr; }
  .phone-fan { order: -1; min-height: 440px; }
  .fan-side { width: 38vw; }
  .fan-main { width: min(260px, 52vw); }
}
@media (max-width: 640px) {
  .fan-l { transform: translate(-102%, -50%) rotate(-9deg) scale(.85); }
  .fan-r { transform: translate(2%, -50%) rotate(9deg) scale(.85); }
  .spine-goose { width: 96px; right: -4px; }
  .feat p { display: none; }
  .feat { padding: .6rem .8rem; }
}

/* phone frame */
.phone { position: relative; z-index: 1; width: min(330px, 78vw); aspect-ratio: 1080 / 1920; background: linear-gradient(155deg, #0f1824 0%, #05090f 62%); border-radius: 44px; padding: 10px; box-shadow: var(--sh-phone), inset 0 1.5px 0 rgba(255,255,255,.14), inset 0 0 0 1.5px rgba(255,255,255,.045); }
/* side buttons: volume rocker (left) + power (right) */
.phone::after { content: ""; position: absolute; left: -3px; top: 21%; width: 3px; height: 92px; border-radius: 3px 0 0 3px; background: linear-gradient(180deg, #24384a, #0a1119); box-shadow: -1px 0 2px rgba(0,0,0,.55); }
.phone::before { content: ""; position: absolute; right: -3px; top: 30%; width: 3px; height: 58px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #24384a, #0a1119); box-shadow: 1px 0 2px rgba(0,0,0,.55); }
.phone-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 32%; height: 20px; background: #05090f; border-radius: 0 0 14px 14px; z-index: 6; }
.phone-screens { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0b1220; }
.phone-screens .screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.04) translateX(12px); filter: blur(6px); transition: opacity 380ms var(--e-out), transform 480ms var(--e-out), filter 380ms var(--e-out); }
.phone-screens .screen.is-active { opacity: 1; transform: scale(1) translateX(0); filter: blur(0); }
.phone-screens .screen img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   SAVINGS / FLING-TO-SAVE — lit band
   ========================================================================= */
.savings { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--section-y); }
.savings::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 85% 15%, rgba(0,113,186,.45), transparent 60%), radial-gradient(70% 90% at 8% 90%, rgba(0,175,236,.18), transparent 60%); }
.savings-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.savings-copy h2 { font-size: var(--text-h2); color: #fff; margin-bottom: 1.1rem; text-wrap: balance; max-width: 16ch; }
.savings-copy p { font-size: var(--text-lead); color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.savings-copy b { color: #fff; }

.calc { position: relative; z-index: 2; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); box-shadow: var(--sh-float); backdrop-filter: blur(14px); }
.calc-readout { text-align: center; margin-bottom: 2rem; }
.calc-label { font-size: .82rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; }
.calc-amount { display: flex; align-items: baseline; justify-content: center; gap: .2rem; margin: .4rem 0 .3rem; }
.calc-nowrap { display: inline-flex; align-items: baseline; gap: .2rem; white-space: nowrap; }
.calc-amount #calc-value { font-family: var(--mono); font-weight: 800; font-size: clamp(2.6rem, 1.5rem + 6vw, 4.6rem); color: #fff; line-height: 1; letter-spacing: -.03em; text-shadow: 0 0 30px rgba(0,179,89,.4); }
.calc-cur { font-family: var(--mono); font-weight: 800; font-size: clamp(1.6rem, 1rem + 3vw, 2.4rem); color: var(--green); }
.calc-sub { font-family: var(--mono); font-size: .84rem; color: var(--ink-2); }
.calc-sub .mono { color: #fff; }
.calc-track::before { content: ""; position: absolute; inset: -14px 0; } /* тач-зона шире визуальных 14px */
.calc-track { position: relative; height: 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); margin-top: 2.6rem; }
.calc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left center; transform: scaleX(.3); border-radius: var(--r-pill); background: linear-gradient(90deg, var(--green), #6ff0a6); box-shadow: 0 0 18px rgba(0,179,89,.6); will-change: transform; }
.calc-knob { position: absolute; top: 50%; left: 0; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 16px -4px rgba(0,0,0,.7), inset 0 0 0 6px var(--green), 0 0 20px rgba(0,179,89,.5); cursor: grab; touch-action: pan-y; will-change: transform; transition: box-shadow var(--d-fast) var(--e-out); }
.calc-knob:active { cursor: grabbing; }
.calc-end { position: absolute; top: 24px; font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.calc-end-l { left: 0; } .calc-end-r { right: 0; }
/* decorative measurement scale + average-tank reference (aria-hidden) */
.calc-ticks { position: absolute; left: 2px; right: 2px; bottom: calc(100% + 7px); height: 5px; pointer-events: none; opacity: .45;
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 5%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.calc-mark { position: absolute; left: 10.5%; bottom: calc(100% + 16px); pointer-events: none; font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.calc-mark::before { content: ""; position: absolute; left: 0; top: calc(100% + 2px); width: 1px; height: 15px; background: linear-gradient(180deg, var(--teal), rgba(0,175,236,.15)); box-shadow: 0 0 6px rgba(0,175,236,.45); }
.calc-mark span { display: inline-block; transform: translateX(-2px); }
.confetti { position: absolute; inset: 0; z-index: 3; pointer-events: none; width: 100%; height: 100%; }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how { position: relative; overflow: hidden; padding-block: var(--section-y); background: radial-gradient(78% 48% at 50% 0%, rgba(0,175,236,.05), transparent 72%); }
.section-title { font-size: var(--text-h2); text-align: center; color: #fff; max-width: 20ch; margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4rem); text-wrap: balance; }
.how .section-tag { margin-bottom: 1rem; }
.route-ribbon { display: block; width: 100%; height: clamp(44px, 6vw, 90px); margin-bottom: -6px; }
@media (max-width: 860px) { .route-ribbon { display: none; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 1rem + 2vw, 3rem); }
.step { position: relative; overflow: hidden; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-card); transition: transform var(--d-med) var(--e-out), box-shadow var(--d-med) var(--e-out), border-color var(--d-med) var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .step:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--sh-float), var(--glow-blue); }
}
/* telemetry identity: top accent rail + faint scan-lines + mono index */
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2; }
.step::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6; background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px); }
.step > * { position: relative; z-index: 1; }
.step:nth-child(1)::before { background: linear-gradient(90deg, var(--green), transparent 78%); }
.step:nth-child(2)::before { background: linear-gradient(90deg, var(--amber), transparent 78%); }
.step:nth-child(3)::before { background: linear-gradient(90deg, var(--blue), transparent 78%); }
.step-idx { position: absolute; top: 1.5rem; right: 1.6rem; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 1.3rem; }
.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--green), #00934e); box-shadow: 0 0 26px -6px var(--green); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--amber), #e0951f); box-shadow: 0 0 26px -6px var(--amber); color: #2a1e00; }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 0 26px -6px var(--blue); }
.step h3 { font-size: var(--text-h3); color: #fff; margin-bottom: .6rem; }
.step p { color: var(--ink-2); font-size: 1.05rem; text-wrap: pretty; }

/* =========================================================================
   WHAT'S NEW v1.2
   ========================================================================= */
.whatsnew { position: relative; padding-block: var(--section-y); }
.whatsnew::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.whatsnew::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, rgba(0,175,236,.12), transparent 70%); }
.whatsnew .section-tag { justify-content: center; }
.wn-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(1.2rem, 1rem + 1.5vw, 2rem); }
.wn-ai { grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, rgba(0,175,236,.14), var(--surface) 55%); overflow: hidden; position: relative; }
.wn-ai::after { content: ""; position: absolute; right: -34px; top: -30px; width: 210px; height: 230px;
  background: url('../assets/brand/g2-map.webp') center/contain no-repeat; opacity: .95;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.45)); transform: rotate(6deg); pointer-events: none; }
.wn-ai h3 { max-width: 12ch; }
@media (max-width: 860px) { .wn-grid { grid-template-columns: 1fr; } .wn-ai { grid-row: auto; min-height: 300px; } }
.wn-card { position: relative; padding: 1.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-card); transition: transform var(--d-med) var(--e-out), box-shadow var(--d-med) var(--e-out), border-color var(--d-med) var(--e-out); }
.wn-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.2rem; }
.wn-ai .wn-icon { color: var(--teal); background: rgba(0,175,236,.1); box-shadow: inset 0 0 0 1px rgba(0,175,236,.3), 0 0 26px -8px var(--teal); }
.wn-offline .wn-icon { color: var(--green); background: rgba(0,179,89,.1); box-shadow: inset 0 0 0 1px rgba(0,179,89,.3), 0 0 26px -8px var(--green); }
.wn-map .wn-icon { color: var(--blue); background: rgba(0,175,236,.1); box-shadow: inset 0 0 0 1px rgba(0,175,236,.3), 0 0 26px -8px var(--blue); }
.wn-card h3 { font-size: var(--text-h3); color: #fff; margin-bottom: .6rem; text-wrap: balance; }
.wn-card p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) {
  .wn-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--sh-float); }
}

/* =========================================================================
   AVAILABILITY
   ========================================================================= */
.community { position: relative; padding-block: var(--section-y); background: radial-gradient(66% 44% at 50% 0%, rgba(0,113,186,.06), transparent 72%); }
.community-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.community-copy h2 { font-size: var(--text-h2); color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.community-copy p { font-size: var(--text-lead); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.markers { list-style: none; margin: 0; padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-card); border: 1px solid var(--line); }
.marker { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .98rem; color: var(--ink); padding: .8rem 1rem; border-radius: var(--r-md); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
/* mini map-pin glyph — same teardrop identity as the live-map canvas pins */
.marker-dot { position: relative; width: 14px; height: 14px; flex: none; border-radius: 50% 50% 50% 0; transform: rotate(45deg); }
.marker-dot::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: rgba(255,255,255,.94); }
.m-ok .marker-dot { background: var(--green); box-shadow: 0 0 10px -1px var(--green); }
.m-limit .marker-dot { background: var(--amber); box-shadow: 0 0 10px -1px var(--amber); }
.m-queue .marker-dot { background: var(--blue); box-shadow: 0 0 10px -1px var(--blue); }
.m-out .marker-dot { background: var(--red); box-shadow: 0 0 10px -1px var(--red); }
/* staggered pop-in + one-shot sonar ping when the card reveals */
html.motion .markers .marker { opacity: 0; transform: translateY(14px) scale(.96); }
html.motion .markers.in .marker { animation: markerPop 520ms var(--e-out) forwards; }
html.motion .markers.in .marker:nth-child(1) { animation-delay: .05s; }
html.motion .markers.in .marker:nth-child(2) { animation-delay: .13s; }
html.motion .markers.in .marker:nth-child(3) { animation-delay: .21s; }
html.motion .markers.in .marker:nth-child(4) { animation-delay: .29s; }
@keyframes markerPop { to { opacity: 1; transform: none; } }
html.motion .markers.in .marker-dot::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; animation: sonar 900ms var(--e-out) 1; }
html.motion .markers.in .marker:nth-child(1) .marker-dot::before { animation-delay: .45s; color: var(--green); }
html.motion .markers.in .marker:nth-child(2) .marker-dot::before { animation-delay: .53s; color: var(--amber); }
html.motion .markers.in .marker:nth-child(3) .marker-dot::before { animation-delay: .61s; color: var(--blue); }
html.motion .markers.in .marker:nth-child(4) .marker-dot::before { animation-delay: .69s; color: var(--red); }
@keyframes sonar { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* =========================================================================
   CTA FINALE
   ========================================================================= */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(5rem, 3rem + 6vw, 10rem); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 50% 120%, rgba(0,113,186,.5), transparent 60%); }
.cta-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.cta .grain { z-index: 1; opacity: .25; }
.cta-inner { position: relative; z-index: 2; display: grid; place-items: center; text-align: center; }
.cta-icon { position: relative; display: inline-block; margin-bottom: 1.5rem; }
.cta-icon img { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 20px 44px -14px rgba(0,0,0,.7), var(--glow-blue); }
/* live-signal ring around the app icon (same semantics family as .live-dot) */
html.motion .cta-icon::after { content: ""; position: absolute; inset: -2px; border-radius: 22px; border: 2px solid rgba(0,175,236,.7); animation: iconPing 2.6s var(--e-out) 3; pointer-events: none; }
@keyframes iconPing { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.cta-qr { transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out); }
@media (hover: hover) and (pointer: fine) { .cta-qr:hover { transform: translateY(-3px); box-shadow: var(--sh-card); } }
.cta-copy h2 { font-size: var(--text-h2); color: #fff; margin-bottom: .9rem; text-wrap: balance; max-width: 16ch; }
.cta-copy > p { font-size: var(--text-lead); color: var(--ink-2); margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 1.6rem; }
.cta-qr { display: inline-flex; align-items: center; gap: .95rem; margin-bottom: 1.4rem; padding: .85rem 1.1rem; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cta-qr img { width: 88px; height: 88px; flex: none; }
.cta-qr span { font-size: .82rem; font-weight: 500; color: var(--ink-2); text-align: left; line-height: 1.45; }
@media (max-width: 860px) { .cta-qr { display: none; } } /* on phones the button IS the install path */

.cta-note { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-2); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { position: relative; overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1120px, 84%); height: 1px; background: linear-gradient(90deg, transparent, rgba(0,175,236,.55), transparent); box-shadow: 0 0 22px rgba(0,175,236,.4); }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; background: radial-gradient(60% 90% at 50% -10%, rgba(0,113,186,.12), transparent 62%); }
.footer-inner, .footer-legal { position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-word { color: #fff; } .footer-brand .brand-pin { color: var(--blue); }
.footer-brand p { margin-top: 1rem; max-width: 32ch; color: var(--ink-2); }
.footer-status { margin-top: .95rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-2); letter-spacing: .01em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; text-decoration: none; color: var(--ink-2); margin-bottom: .7rem; font-weight: 500; white-space: nowrap; transition: color var(--d-fast) var(--e-out); }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }

/* =========================================================================
   REVEAL
   ========================================================================= */
[data-reveal] { opacity: 1; }
html.motion [data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 600ms var(--e-out), transform 600ms var(--e-out), filter 600ms var(--e-out); }
html.motion [data-reveal].in { opacity: 1; transform: none; filter: none; }
/* карточки: hover-переходы + reveal в одном владельце (иначе shorthand reveal их убивает) */
html.motion .step[data-reveal], html.motion .wn-card[data-reveal] {
  transition: transform var(--d-med) var(--e-out), box-shadow var(--d-med) var(--e-out),
              border-color var(--d-med) var(--e-out), opacity 600ms var(--e-out), filter 600ms var(--e-out);
}
/* текстовые reveal — без блюра (лид должен читаться сразу) */
html.motion .problem-lead[data-reveal], html.motion .section-tag[data-reveal] { filter: none; }
html.motion .reveal-soft[data-reveal] { transform: none; filter: none; } /* parents of kinetic headings */

/* kinetic headings: words rise from under a mask, staggered (split by JS, motion only) */
.kw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.kw-in { display: inline-block; }
html.motion .kinetic:not(.kin-in) .kw-in { transform: translateY(115%); }
html.motion .kinetic .kw-in { transition: transform 700ms var(--e-out); transition-delay: calc(var(--ki, 0) * 60ms); }
html.motion .kinetic.kin-in .kw-in { transform: translateY(0); }

/* screenshot cap */
html.capshot .hero { min-height: 680px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) { .savings-inner, .community-inner { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .header-nav { display: none; }
  .hero-scrollcue { display: none; }
  .hero-vignette { background: linear-gradient(180deg, rgba(7,12,20,.55), rgba(7,12,20,.82) 60%, var(--bg)); }
  .spine-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .spine-sticky { min-height: auto; padding-block: 2rem; }
  .spine-visual { order: -1; }
  .spine-copy { text-align: center; }
  .spine-step p { margin-inline: auto; }
  .step-kicker { margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; max-width: 460px; margin-inline: auto; }
  .markers { grid-template-columns: 1fr; }
  .community-copy { text-align: center; }
}
@media (max-width: 560px) {
  .spread { flex-direction: column; gap: .8rem; }
  .spread-node { width: 100%; max-width: 320px; }
  .spread-link::before, .spread-link::after { display: none; }
  .spread::before { display: none; } /* column layout — horizontal connector off */
}
@media (max-width: 520px) {
  .hero-cta { width: 100%; } .hero-cta .btn { flex: 1; justify-content: center; }
  .calc-amount { flex-wrap: wrap; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.motion [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-scrollcue, .live-dot, .scan-pulse { animation: none !important; }
  .phone-screens .screen { transition: none !important; }
}

/* ── override: .phone{position:relative} объявлен позже и перебивал absolute у боковин веера ── */
.phone-fan .fan-side { position: absolute; top: 50%; left: 50%; }
.phone-fan .fan-l { transform: translate(-108%, -50%) rotate(-9deg) scale(.9); }
.phone-fan .fan-r { transform: translate(8%, -50%) rotate(9deg) scale(.9); }
@media (max-width: 640px) {
  .phone-fan .fan-l { transform: translate(-102%, -50%) rotate(-9deg) scale(.85); }
  .phone-fan .fan-r { transform: translate(2%, -50%) rotate(9deg) scale(.85); }
}
