/*
 * Project: NextToYou Public Site
 * File: public/assets/css/site.css
 * Author: Beck Sarbassov
 * Version: 1.4.0
 * Release date: 2026-07-19
 * Last updated: 2026-07-22
 * Copyright: © Beck Sarbassov. All rights reserved.
 *
 * EN: Public responsive design system based on the approved NextToYou concept.
 * RU: Публичная адаптивная дизайн-система по утверждённому концепту NextToYou.
 */

:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-elevated: #f4f8fb;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.94);
    --text: #17212b;
    --muted: #5b6d80;
    --muted-2: #718197;
    --subtle: #718197;
    --line: #e1e9f0;
    --line-strong: #cbd8e3;
    --violet: #1769e8;
    --violet-light: #0f65cf;
    --cyan: #00a891;
    --rose: #ff5a45;
    --amber: #c87900;
    --success: #008f7a;
    --danger: #d83e36;
    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 30px;
    --shadow: 0 24px 64px rgba(40, 70, 98, 0.14);
    --container: 1180px;
    --header-height: 76px;
    --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 82% 8%, rgba(23, 105, 232, 0.07), transparent 28%), radial-gradient(circle at 10% 52%, rgba(0, 168, 145, 0.055), transparent 30%), radial-gradient(circle at 96% 72%, rgba(255, 90, 69, 0.04), transparent 24%); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--violet); color: #fff; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 1000; transform: translateY(-150%); border-radius: var(--radius-xs); background: var(--cyan); color: #04110f; font-weight: 800; padding: 10px 16px; }
.skip-link:focus { transform: translateY(0); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; padding: 0 20px; font-size: 14px; font-weight: 750; line-height: 1; transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease); cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #00a891, #1769e8); color: #fff; box-shadow: 0 12px 28px rgba(23, 105, 232, 0.2); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(0, 143, 122, 0.24); }
.button-secondary { background: #ffffff; border-color: var(--line-strong); color: var(--text); }
.button-secondary:hover { border-color: var(--cyan); background: #eefbf8; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; margin-top: 20px; color: var(--violet-light); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-height); border-bottom: 1px solid transparent; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); transition: border-color var(--ease), background var(--ease); }
.site-header.is-scrolled { border-color: var(--line); background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 24px rgba(40,70,98,.06); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 850; letter-spacing: -0.03em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-group { position: relative; }
.nav-trigger, .language-switcher > button { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; border: 0; border-radius: 10px; background: transparent; padding: 0 11px; color: var(--muted); font-size: 13px; font-weight: 680; cursor: pointer; }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .language-switcher > button:hover, .language-switcher > button[aria-expanded="true"] { background: #eef8fa; color: var(--text); }
.nav-trigger svg, .language-switcher svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mega-panel, .language-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; display: grid; gap: 3px; visibility: hidden; opacity: 0; transform: translateY(-7px); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.99); box-shadow: var(--shadow); padding: 10px; transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.mega-panel.is-open, .language-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.mega-panel a, .language-menu a { border-radius: 9px; padding: 9px 11px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.mega-panel a small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 11px; }
.mega-panel a:hover, .language-menu a:hover, .language-menu a[aria-current="page"] { background: #edf8f7; color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-link { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--muted); }
.search-link:hover { background: #eef8fa; color: var(--text); }
.search-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.language-switcher { position: relative; }
.language-menu { right: 0; left: auto; min-width: 150px; }
.header-cta { min-height: 40px; padding-inline: 16px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform var(--ease); }

.hero-section { min-height: calc(100svh - var(--header-height)); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 30px; align-items: center; padding-block: 72px 64px; }
.hero-copy h1, .page-hero h1 { max-width: 790px; margin: 0; font-size: clamp(3rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero-copy h1 { max-width: 700px; font-size: clamp(3rem, 5.35vw, 5.25rem); }
.hero-copy > p { max-width: 620px; margin: 28px 0 30px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.trust-line { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 28px 0 0; padding: 0; color: var(--subtle); list-style: none; font-size: 13px; }
.trust-line li { position: relative; padding-left: 15px; }
.trust-line li::before { content: ""; position: absolute; top: .62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.radar-visual { position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto; }
.radar-visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.16), rgba(13,16,32,.05) 43%, transparent 68%); filter: blur(2px); }
.radar-orbit { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; aspect-ratio: 1; border: 1px solid rgba(207,216,255,.16); border-radius: 50%; }
.orbit-1 { width: 30%; }.orbit-2 { width: 58%; }.orbit-3 { width: 86%; }
.radar-center { position: absolute; top: 50%; left: 50%; display: grid; width: 88px; height: 88px; place-items: center; translate: -50% -50%; border: 1px solid rgba(168,146,255,.55); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #aa95ff, var(--violet) 55%, #4023ad); box-shadow: 0 0 42px rgba(124,92,255,.52); }
.radar-center svg { width: 45px; fill: none; stroke: #fff; stroke-width: 1.7; }
.radar-dot { position: absolute; width: 13px; height: 13px; border: 3px solid var(--bg); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px rgba(32,231,199,.65); }
.dot-a { top: 20%; left: 57%; }.dot-b { top: 56%; left: 11%; background: var(--violet-light); }.dot-c { top: 76%; left: 66%; }.dot-d { top: 31%; right: 12%; background: var(--violet); }
.radar-label { position: absolute; color: var(--subtle); font-size: 12px; }.label-near { top: 37%; left: 51%; }.label-mid { top: 21%; left: 41%; }
.radar-card { position: absolute; right: 0; bottom: 3%; width: 220px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(13,16,32,.94); box-shadow: var(--shadow); padding: 17px; }
.radar-card span, .radar-card small { display: block; color: var(--subtle); font-size: 11px; }.radar-card strong { display: block; margin-block: 4px; font-size: 14px; }

.section { padding-block: 100px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 38px; }
.section-heading.centered { display: block; max-width: 750px; margin-inline: auto; text-align: center; }
.section-heading h2, .flow-section h2, .final-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p { color: var(--muted); }
.section-heading > a { color: var(--violet-light); font-weight: 700; white-space: nowrap; }
.flow-section { padding-block: 50px 66px; border-bottom: 1px solid var(--line); background: rgba(10,12,25,.7); }
.flow-section h2 { margin-bottom: 40px; font-size: clamp(1.8rem, 3vw, 2.6rem); text-align: center; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.flow-list li { position: relative; padding: 0 20px; text-align: center; }
.flow-list li:not(:last-child)::after { content: "→"; position: absolute; top: 38px; right: -7px; color: var(--subtle); }
.flow-number { position: absolute; top: 0; left: calc(50% - 38px); z-index: 1; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--violet); font-size: 11px; font-weight: 800; }
.feature-icon { display: grid; width: 72px; height: 72px; margin: 0 auto 16px; place-items: center; border: 1px solid rgba(124,92,255,.55); border-radius: 50%; background: rgba(124,92,255,.08); box-shadow: inset 0 0 30px rgba(124,92,255,.08); }
.feature-icon::before { color: var(--violet-light); font-size: 27px; line-height: 1; }
.icon-radar::before { content: "◎"; }.icon-knock::before { content: "↟"; }.icon-accept::before, .icon-verification::before { content: "✓"; color: var(--cyan); }.icon-chat::before { content: "…"; color: var(--cyan); }.icon-meeting::before { content: "☕"; }.icon-availability::before { content: "◐"; color: var(--cyan); }.icon-moderation::before { content: "⚑"; color: var(--rose); }
.flow-list h3 { margin: 0 0 7px; font-size: 17px; }.flow-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 58px 1fr 18px; gap: 16px; align-items: center; min-height: 158px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background var(--ease); }
.feature-item:nth-child(3n) { border-right: 0; }.feature-item:nth-last-child(-n+3) { border-bottom: 0; }.feature-item:hover { background: rgba(124,92,255,.055); }
.feature-item .feature-icon { width: 58px; height: 58px; margin: 0; }.feature-item h3 { margin: 0 0 5px; font-size: 18px; }.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }.feature-item > svg, .related-links svg { width: 18px; fill: none; stroke: var(--subtle); stroke-width: 1.8; }
.safety-band { background: linear-gradient(180deg, rgba(13,16,32,.72), rgba(7,8,18,.25)); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.safety-grid > a { padding: 34px 28px; border-right: 1px solid var(--line); text-align: center; }.safety-grid > a:last-child { border-right: 0; }.safety-grid > a:hover .safety-symbol { transform: translateY(-3px); color: var(--cyan); }
.safety-symbol { display: block; color: var(--violet-light); font-size: 34px; transition: color var(--ease), transform var(--ease); }.safety-grid h3 { margin: 12px 0 8px; font-size: 17px; }.safety-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-promise { margin-top: 24px; color: var(--muted); text-align: center; font-size: 14px; }.privacy-promise a { margin-left: 10px; color: var(--violet-light); }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use-case-grid a { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(160deg, rgba(124,92,255,.11), rgba(13,16,32,.8) 55%); padding: 22px; transition: transform var(--ease), border-color var(--ease); }
.use-case-grid a:nth-child(even) { background: linear-gradient(160deg, rgba(32,231,199,.08), rgba(13,16,32,.8) 55%); }.use-case-grid a:hover { transform: translateY(-5px); border-color: var(--line-strong); }.use-case-grid span { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: auto; border-radius: 50%; background: rgba(124,92,255,.16); color: var(--violet-light); font-size: 24px; }.use-case-grid h3 { margin: 24px 0 4px; }.use-case-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.pricing-section { background: rgba(10,12,25,.45); }.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin-inline: auto; }.plan { position: relative; display: flex; flex-direction: column; min-height: 400px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); padding: 30px; }.plan.recommended { border-color: var(--violet); box-shadow: 0 18px 50px rgba(124,92,255,.13); }.plan-label { position: absolute; top: 0; right: 20px; translate: 0 -50%; border-radius: 999px; background: var(--violet); padding: 5px 10px; font-size: 11px; font-weight: 800; }.plan h3 { margin: 0; font-size: 21px; }.price { margin: 18px 0; font-size: 42px; font-weight: 800; letter-spacing: -.04em; }.price small { color: var(--muted); font-size: 13px; font-weight: 500; }.plan ul { margin: 0 0 28px; padding-left: 20px; color: var(--muted); }.plan li { margin: 8px 0; }.plan .button { margin-top: auto; }.pricing-note { color: var(--subtle); font-size: 13px; text-align: center; }
.resource-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }.accordion-list { display: grid; gap: 9px; }.accordion-list details { border: 1px solid var(--line); border-radius: 10px; background: rgba(13,16,32,.65); }.accordion-list summary { position: relative; list-style: none; padding: 15px 44px 15px 17px; font-weight: 680; cursor: pointer; }.accordion-list summary::after { content: "+"; position: absolute; top: 13px; right: 16px; color: var(--violet-light); font-size: 20px; }.accordion-list details[open] summary::after { content: "−"; }.accordion-list p { margin: 0; border-top: 1px solid var(--line); padding: 14px 17px 17px; color: var(--muted); font-size: 14px; }.resource-list { display: grid; gap: 0; border-top: 1px solid var(--line); }.resource-list a { padding: 17px 8px; border-bottom: 1px solid var(--line); }.resource-list span, .content-card > span, .search-results span { color: var(--cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.resource-list h3 { margin: 4px 0; font-size: 17px; }.resource-list p { margin: 0; color: var(--muted); font-size: 14px; }
.final-cta { padding-block: 86px; text-align: center; background: radial-gradient(circle at 50% 120%, rgba(124,92,255,.3), transparent 52%), linear-gradient(120deg, rgba(124,92,255,.1), rgba(32,231,199,.045)); border-bottom: 1px solid var(--line); }.final-cta .container { max-width: 850px; }.final-cta p { margin: 20px auto 28px; color: var(--muted); font-size: 18px; }.final-cta .button-row { justify-content: center; }.final-cta.compact { padding-block: 64px; }

.page-hero { padding-block: 90px 72px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 74% 0%, rgba(124,92,255,.13), transparent 38%); }.page-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }.page-hero > .container > p { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }.breadcrumbs { display: flex; gap: 9px; align-items: center; margin-bottom: 30px; color: var(--subtle); font-size: 13px; }.breadcrumbs a:hover { color: var(--text); }.article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--subtle); font-size: 13px; }.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; padding-block: 72px 100px; }.prose { min-width: 0; }.prose > :first-child { margin-top: 0; }.prose p { margin: 0 0 24px; color: #c4cbdb; font-size: 17px; }.prose h2 { margin: 52px 0 18px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.16; letter-spacing: -.035em; }.prose h3 { font-size: 1.35rem; }.prose ul, .prose ol { margin-block: 20px 30px; padding-left: 24px; color: #c4cbdb; }.prose li { margin: 9px 0; }.check-list { display: grid; gap: 8px; padding: 0 !important; list-style: none; }.check-list li { position: relative; margin: 0; border-bottom: 1px solid var(--line); padding: 11px 0 11px 30px; }.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }.notice { margin-block: 40px; border-left: 3px solid var(--cyan); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(32,231,199,.065); padding: 22px 24px; }.notice strong { font-size: 18px; }.notice p { margin: 7px 0 0; font-size: 15px; }.content-aside { display: grid; align-content: start; gap: 16px; position: sticky; top: 100px; align-self: start; }.aside-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); padding: 22px; }.aside-card h2 { margin: 0 0 8px; font-size: 17px; }.aside-card p { margin: 0 0 15px; color: var(--muted); font-size: 14px; }.aside-card a { color: var(--violet-light); font-weight: 700; font-size: 14px; }.timeline { display: grid; gap: 0; margin-block: 35px; border-left: 1px solid var(--line-strong); }.timeline article { position: relative; padding: 4px 0 32px 30px; }.timeline article::before { content: ""; position: absolute; top: 7px; left: -6px; width: 11px; height: 11px; border: 2px solid var(--bg); border-radius: 50%; background: var(--cyan); }.timeline span { color: var(--cyan); font-size: 12px; font-weight: 800; }.timeline h3 { margin: 5px 0; }.timeline p { margin: 0; color: var(--muted); font-size: 14px; }.embedded-pricing { margin-block: 30px; }.embedded-pricing .plan { min-height: 210px; }
.related-section { padding-block: 70px; }.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.content-card { min-height: 220px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); padding: 24px; transition: border-color var(--ease), transform var(--ease); }.content-card:hover { transform: translateY(-3px); border-color: var(--violet); }.content-card h3 { margin: 10px 0; font-size: 19px; line-height: 1.25; }.content-card p { color: var(--muted); font-size: 14px; }.content-card strong { margin-top: auto; color: var(--violet-light); font-size: 13px; }.related-links { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }.related-links a { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 12px; }.related-links a:nth-child(odd) { border-right: 1px solid var(--line); }.related-links a:hover { background: rgba(124,92,255,.05); }

.contact-form { display: grid; gap: 20px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 36px; }.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.contact-form label { display: grid; gap: 7px; }.contact-form label > span { color: var(--muted); font-size: 13px; font-weight: 700; }.contact-form input, .contact-form select, .contact-form textarea, .search-form input, .search-form select { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: #0a0d1b; color: var(--text); padding: 12px 14px; transition: border-color var(--ease), box-shadow var(--ease); }.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .search-form input:focus, .search-form select:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(124,92,255,.18); }.check-field { grid-template-columns: 20px 1fr; align-items: start; }.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); }.honeypot { position: absolute !important; left: -9999px !important; }.form-status { min-height: 24px; margin: 0 !important; font-size: 14px !important; }.alert { border-radius: 10px; padding: 14px 16px; }.alert.success { border: 1px solid rgba(57,229,168,.35); background: rgba(57,229,168,.08); color: var(--success); }
.search-hero { padding-bottom: 50px; }.search-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 10px; margin-top: 30px; }.result-count { color: var(--subtle); }.search-results { display: grid; }.search-results a { border-bottom: 1px solid var(--line); padding: 24px 0; }.search-results h2 { margin: 5px 0; font-size: 23px; }.search-results p { margin: 0; color: var(--muted); }.empty-state { padding-block: 70px; text-align: center; }.empty-state > span { color: var(--violet-light); font-size: 70px; }.empty-state h2 { font-size: 28px; }.empty-state p { color: var(--muted); }
.error-page { min-height: 65vh; display: grid; place-items: center; padding-block: 80px; text-align: center; }.error-page .container > span { color: var(--violet-light); font-size: clamp(5rem, 18vw, 12rem); font-weight: 900; line-height: .8; opacity: .4; }.error-page h1 { margin: 30px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); }.error-page p { color: var(--muted); }.error-page .button-row { justify-content: center; margin-top: 28px; }

.site-footer { padding-top: 70px; background: #060710; }.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 50px; }.footer-brand p { max-width: 310px; color: var(--muted); font-size: 14px; }.footer-contact a:hover { color: var(--cyan); }.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }.footer-column h2 { margin: 4px 0 8px; font-size: 13px; }.footer-column a { color: var(--muted); font-size: 13px; }.footer-column a:hover { color: var(--text); }.footer-bottom { display: flex; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding-block: 22px; color: var(--subtle); font-size: 12px; }.footer-bottom p { margin-right: auto; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 500; max-width: 360px; border: 1px solid var(--line-strong); border-radius: 12px; background: #101426; box-shadow: var(--shadow); padding: 14px 18px; }

/* EN: Light NextToYou brand surfaces shared by every public content type. */
/* RU: Светлые фирменные поверхности NextToYou для всех типов публичного контента. */
.hero-section { background: linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f4f9fc 100%); }
.hero-copy h1 { color: #17212b; }
.radar-visual::before { background: radial-gradient(circle, rgba(23,105,232,.12), rgba(238,247,252,.72) 43%, transparent 69%); }
.radar-orbit { border-color: #cfdeea; }
.radar-center { border-color: rgba(23,105,232,.36); background: radial-gradient(circle at 35% 30%, #55a4ff, #1769e8 55%, #0c4cb6); box-shadow: 0 0 42px rgba(23,105,232,.24); }
.radar-dot { border-color: #ffffff; box-shadow: 0 0 18px rgba(0,168,145,.36); }
.dot-b { background: var(--rose); }.dot-d { background: var(--violet); }
.radar-card { background: rgba(255,255,255,.96); }
.flow-section, .pricing-section { background: #f6f9fc; }
.flow-number, .plan-label { color: #ffffff; }
.feature-icon { border-color: rgba(23,105,232,.28); background: rgba(23,105,232,.07); box-shadow: inset 0 0 30px rgba(23,105,232,.04); }
.feature-item:hover, .related-links a:hover { background: #f5f9fc; }
.safety-band { background: linear-gradient(180deg, #f5fbfa, #ffffff); }
.use-case-grid a { background: linear-gradient(160deg, rgba(23,105,232,.08), #ffffff 58%); box-shadow: 0 14px 38px rgba(40,70,98,.06); }
.use-case-grid a:nth-child(even) { background: linear-gradient(160deg, rgba(0,168,145,.08), #ffffff 58%); }
.use-case-grid span { background: rgba(23,105,232,.1); }
.plan { background: #ffffff; box-shadow: 0 14px 38px rgba(40,70,98,.06); }
.plan.recommended { box-shadow: 0 18px 50px rgba(23,105,232,.12); }
.accordion-list details, .content-card, .aside-card { background: #ffffff; }
.final-cta { background: radial-gradient(circle at 50% 120%, rgba(23,105,232,.15), transparent 52%), linear-gradient(120deg, rgba(0,168,145,.08), rgba(255,90,69,.055)); }
.page-hero { background: radial-gradient(circle at 78% 0%, rgba(23,105,232,.09), transparent 40%), #f8fbfd; }
.prose p, .prose ul, .prose ol { color: #405267; }
.notice { background: #eefbf8; }
.contact-form input, .contact-form select, .contact-form textarea, .search-form input, .search-form select { background: #ffffff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .search-form input:focus, .search-form select:focus { box-shadow: 0 0 0 3px rgba(23,105,232,.12); }
.site-footer { background: #f3f7fa; }
.toast { background: #ffffff; }

/* EN: Detailed product knowledge base and fast, accessible vector illustrations. */
/* RU: Подробная база знаний о продукте и быстрые доступные векторные иллюстрации. */
.mega-panel { max-height: calc(100svh - 100px); overflow: auto; }
.product-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 86% 4%, rgba(0,168,145,.11), transparent 28%), radial-gradient(circle at 4% 92%, rgba(255,90,69,.07), transparent 26%), #f8fbfd; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); gap: 58px; align-items: center; min-height: 640px; padding-block: 70px; }
.product-hero-copy { position: relative; z-index: 1; }
.product-hero-copy .breadcrumbs { flex-wrap: wrap; margin-bottom: 30px; }
.eyebrow, .product-section-heading > span { margin: 0 0 14px; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.product-hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 5.5vw, 5.7rem); line-height: .98; letter-spacing: -.064em; text-wrap: balance; }
.product-lead { max-width: 720px; margin: 28px 0 30px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.7; }
.product-figure { min-width: 0; margin: 0; }
.product-figure figcaption { max-width: 500px; margin: 12px auto 0; color: var(--muted-2); font-size: 12px; line-height: 1.5; text-align: center; }
.product-visual { width: 100%; height: auto; overflow: visible; }
.product-visual .visual-backdrop { stroke: #d6e3ec; stroke-width: 1.5; }
.product-visual .visual-orb { opacity: .16; }.product-visual .visual-orb-teal { fill: var(--cyan); }.product-visual .visual-orb-coral { fill: var(--rose); }
.product-visual path, .product-visual circle, .product-visual rect { vector-effect: non-scaling-stroke; }
.visual-mini-card rect, .visual-profile-card > rect, .visual-chat > rect, .visual-plans > rect, .visual-hidden > rect, .visual-verification > rect, .visual-referrals > rect, .visual-support > rect { fill: #fff; stroke: #cbdbe7; stroke-width: 2; }
.visual-mini-card circle, .visual-profile-card circle, .visual-chat circle, .visual-verification circle, .visual-referrals > circle, .visual-support > circle { fill: #dcecff; }
.visual-mini-card path, .visual-profile-card path, .visual-chat path:not(.chat-bubble), .visual-plans path, .visual-hidden path:not(.visual-eye):not(.visual-slash), .visual-verification path:not(.visual-shield):not(.visual-check), .visual-referrals path, .visual-support path { fill: none; stroke: #9db1c2; stroke-width: 8; stroke-linecap: round; }
.visual-flow > path { fill: none; stroke: #bbcad7; stroke-width: 4; stroke-dasharray: 8 10; }
.visual-flow circle { fill: #fff; stroke: #1769e8; stroke-width: 3; }.visual-flow circle:nth-of-type(even) { stroke: #00a891; }.visual-flow text { fill: #1769e8; font: 800 28px Inter, sans-serif; text-anchor: middle; }
.visual-radar > circle { fill: none; stroke: #b8ccdc; stroke-width: 2; stroke-dasharray: 7 9; }.visual-radar > path { fill: none; stroke: #1769e8; stroke-width: 3; }.visual-radar .visual-user-center { fill: #1769e8; stroke: #fff; stroke-width: 8; }
.visual-avatar circle { fill: #dcf8f2; stroke: #00a891; stroke-width: 3; }.visual-avatar path { fill: none; stroke: #007d6d; stroke-width: 5; stroke-linecap: round; }.visual-avatar-coral circle { fill: #fff0ed; stroke: #ff5a45; }.visual-avatar-coral path { stroke: #c43f2e; }
.visual-profile-card circle { fill: #dcf8f2; }.visual-profile-card rect:last-child { fill: #1769e8; stroke: none; }.visual-knock-waves circle { fill: none; stroke: #1769e8; stroke-width: 3; opacity: .24; }.visual-knock-waves circle:first-child { fill: #fff; opacity: 1; }.visual-knock-waves path { fill: none; stroke: #00a891; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.visual-chat .chat-bubble { stroke: none; }.chat-bubble-teal { fill: #dcf8f2; }.chat-bubble-blue { fill: #e2edff; }
.visual-plans > rect.is-recommended { fill: #f4f9ff; stroke: #1769e8; stroke-width: 3; }.visual-plans circle { fill: #00a891; }.visual-plans rect:nth-of-type(2) circle { fill: #1769e8; }.visual-plans rect:nth-of-type(3) circle { fill: #ff5a45; }.visual-plans rect:not(.is-recommended) + circle { fill: #00a891; }.visual-plans rect[rx="14"] { fill: #e8f1f8; stroke: none; }
.visual-hidden circle { fill: #dcecff; }.visual-hidden .visual-eye { fill: #edf4f9; stroke: #1769e8; stroke-width: 3; }.visual-hidden .visual-slash { fill: none; stroke: #ff5a45; stroke-width: 12; stroke-linecap: round; }.visual-hidden .visual-restore { fill: #dcf8f2; stroke: #00a891; stroke-width: 2; }
.visual-verification .visual-shield { fill: #e2edff; stroke: #1769e8; stroke-width: 4; }.visual-verification .visual-check, .visual-support .visual-check { fill: none; stroke: #00a891; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.visual-referrals .visual-links { stroke: #9eb3c4; stroke-width: 4; }.visual-referrals > circle { fill: #1769e8; }.visual-person circle { stroke-width: 3; }.visual-person path { fill: none; stroke-width: 16; stroke-linecap: round; }.visual-person-teal circle { fill: #dcf8f2; stroke: #00a891; }.visual-person-teal path { stroke: #00a891; }.visual-person-blue circle { fill: #e2edff; stroke: #1769e8; }.visual-person-blue path { stroke: #1769e8; }.visual-person-coral circle { fill: #fff0ed; stroke: #ff5a45; }.visual-person-coral path { stroke: #ff5a45; }
.visual-support .support-ticket { fill: #f7fafc; stroke: #d5e1ea; stroke-width: 2; }.visual-support .support-status { fill: #dcf8f2; stroke: #00a891; stroke-width: 3; }
.visual-overview > circle:first-child { fill: none; stroke: #c1d3df; stroke-width: 3; stroke-dasharray: 8 10; }.visual-overview > circle:nth-child(2) { fill: #e2edff; }.visual-overview .visual-pin { fill: #fff; stroke: #1769e8; stroke-width: 4; }.visual-overview .visual-pin-center { fill: #1769e8; }
.product-anchor-nav { position: sticky; top: var(--header-height); z-index: 45; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.product-anchor-nav .container { display: flex; gap: 4px; overflow-x: auto; padding-block: 9px; scrollbar-width: thin; }
.product-anchor-nav a { flex: 0 0 auto; border-radius: 9px; padding: 9px 13px; color: var(--muted); font-size: 13px; font-weight: 720; }
.product-anchor-nav a:hover { background: #edf8f7; color: var(--text); }
.product-section { scroll-margin-top: calc(var(--header-height) + 70px); padding-block: 94px; border-bottom: 1px solid var(--line); }
.product-section-soft { background: #f6f9fc; }
.product-copy-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 86px; align-items: start; }
.product-section-heading { position: sticky; top: calc(var(--header-height) + 84px); align-self: start; }
.product-section-heading-wide { position: static; max-width: 800px; margin-bottom: 38px; }
.product-section-heading h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.45rem); line-height: 1.08; letter-spacing: -.047em; text-wrap: balance; }
.product-section-heading > p { margin: 20px 0 0; color: var(--muted); }
.product-prose p { margin: 0 0 25px; color: #405267; font-size: 18px; line-height: 1.78; }
.product-prose p:last-child { margin-bottom: 0; }
.product-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-benefit-grid article { min-height: 280px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(40,70,98,.06); padding: 28px; }
.product-card-number { color: var(--cyan); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.product-benefit-grid h3 { margin: auto 0 12px; font-size: 22px; line-height: 1.2; }.product-benefit-grid p { margin: 0; color: var(--muted); }
.product-plan-section { background: linear-gradient(180deg, #fff, #f6f9fc); }.product-pricing-grid .plan { min-height: 350px; }.product-pricing-grid .plan > p:not(.price) { color: var(--muted); }.product-pricing-grid .button { margin-top: auto; }
.product-step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: product-step; }
.product-step-list li { position: relative; border-top: 1px solid var(--line); padding: 26px 12px 30px 86px; }
.product-step-list li:last-child { border-bottom: 1px solid var(--line); }
.product-step-list li::before { content: counter(product-step); counter-increment: product-step; position: absolute; top: 27px; left: 14px; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #e8f2ff; color: #1769e8; font-size: 14px; font-weight: 850; }
.product-step-list li > span { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.product-step-list h3 { margin: 5px 0 8px; font-size: 22px; }.product-step-list p { margin: 0; color: var(--muted); }
.product-note-section { padding-block: 28px; border-bottom: 1px solid var(--line); background: #fff; }
.product-note { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; border: 1px solid #bfe3dc; border-radius: var(--radius); background: #eefbf8; padding: 30px; }
.product-note > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #00a891; color: #fff; font-size: 24px; font-weight: 900; }
.product-note h2 { margin: 2px 0 8px; font-size: 22px; }.product-note p { margin: 0; color: #365d58; }
.product-faq { min-width: 0; }.product-faq details { background: #fff; }.product-faq summary { font-size: 17px; }.product-faq p { font-size: 16px; line-height: 1.7; }
.product-related-section { background: #fff; }
.product-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-related-grid > a { min-height: 250px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(155deg, #f3f8fc, #fff 64%); padding: 24px; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.product-related-grid > a:hover { transform: translateY(-4px); border-color: #9bc8c0; box-shadow: 0 16px 40px rgba(40,70,98,.08); }
.product-related-symbol { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #e5f1ff; color: #1769e8; font-size: 21px; }
.product-related-grid h3 { margin: 22px 0 8px; font-size: 19px; }.product-related-grid p { margin: 0; color: var(--muted); font-size: 14px; }.product-related-grid strong { margin-top: auto; padding-top: 24px; color: var(--cyan); font-size: 13px; }
.product-final-cta { border-top: 0; }

@media (max-width: 1080px) {
    .primary-nav { position: fixed; inset: var(--header-height) 16px auto; display: none; max-height: calc(100svh - var(--header-height) - 20px); overflow: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.99); box-shadow: var(--shadow); padding: 12px; }
    .primary-nav.is-open { display: block; }.nav-toggle { display: block; }.nav-group { border-bottom: 1px solid var(--line); }.nav-trigger { width: 100%; justify-content: space-between; min-height: 50px; }.mega-panel { position: static; display: none; min-width: 0; max-height: none; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 12px 10px; }.mega-panel.is-open { display: grid; }.header-actions { margin-left: 0; }.search-link, .language-switcher { display: none; }.hero-grid { grid-template-columns: 1fr 1fr; }.flow-list { grid-template-columns: repeat(3, 1fr); gap: 35px 0; }.flow-list li:nth-child(3)::after { display: none; }.feature-list { grid-template-columns: repeat(2, 1fr); }.feature-item:nth-child(3n) { border-right: 1px solid var(--line); }.feature-item:nth-child(2n) { border-right: 0; }.feature-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }.feature-item:nth-last-child(-n+2) { border-bottom: 0; }.use-case-grid { grid-template-columns: repeat(3, 1fr); }.footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }.content-layout { gap: 44px; }
    .product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 30px; }.product-copy-grid { gap: 50px; }.product-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    :root { --header-height: 68px; }.container { width: min(calc(100% - 28px), var(--container)); }.header-inner { min-height: var(--header-height); }.header-cta { display: none; }.hero-section { min-height: auto; }.hero-grid { grid-template-columns: 1fr; padding-block: 62px 40px; }.hero-copy h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }.radar-visual { max-width: 520px; }.section { padding-block: 72px; }.flow-list { grid-template-columns: 1fr; gap: 0; }.flow-list li { display: grid; grid-template-columns: 68px 1fr; gap: 3px 18px; padding: 16px 0; text-align: left; }.flow-list li:not(:last-child)::after { content: ""; display: block; top: auto; right: auto; bottom: 0; left: 34px; width: 1px; height: 15px; background: var(--line-strong); }.flow-list .feature-icon { grid-row: span 2; width: 60px; height: 60px; margin: 0; }.flow-number { top: 10px; left: 44px; }.flow-list h3 { margin-top: 4px; }.feature-list { grid-template-columns: 1fr; }.feature-item, .feature-item:nth-child(3n), .feature-item:nth-child(2n), .feature-item:nth-last-child(-n+3), .feature-item:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }.feature-item:last-child { border-bottom: 0; }.safety-grid { grid-template-columns: repeat(2, 1fr); }.safety-grid > a:nth-child(2) { border-right: 0; }.safety-grid > a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.use-case-grid { grid-template-columns: repeat(2, 1fr); }.pricing-grid, .resource-columns, .content-grid { grid-template-columns: 1fr; }.plan { min-height: auto; }.content-layout { grid-template-columns: 1fr; padding-block: 55px 70px; }.content-aside { position: static; grid-template-columns: 1fr 1fr; }.related-links { grid-template-columns: 1fr; }.related-links a:nth-child(odd) { border-right: 0; }.field-grid { grid-template-columns: 1fr; }.search-form { grid-template-columns: 1fr; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1 / -1; }.page-hero { padding-block: 65px 50px; }
    .product-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 54px 42px; }.product-hero-copy { order: 1; }.product-figure { order: 2; max-width: 620px; margin-inline: auto; }.product-copy-grid { grid-template-columns: 1fr; gap: 36px; }.product-section-heading { position: static; }.product-benefit-grid { grid-template-columns: 1fr; }.product-benefit-grid article { min-height: 220px; }.product-related-grid { grid-template-columns: 1fr; }.product-section { padding-block: 70px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }.brand { font-size: 17px; }.hero-copy h1, .page-hero h1 { font-size: clamp(2.45rem, 12.8vw, 3.45rem); }.hero-copy > p { margin-block: 20px 24px; }.button-row { align-items: stretch; }.button-row .button { flex: 1 1 100%; }.trust-line { display: grid; gap: 8px; }.radar-visual { margin-top: 20px; }.radar-card { width: 190px; }.section-heading { display: block; }.section-heading > a { display: inline-flex; margin-top: 12px; }.safety-grid { grid-template-columns: 1fr; }.safety-grid > a, .safety-grid > a:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }.safety-grid > a:last-child { border-bottom: 0; }.use-case-grid { grid-template-columns: 1fr; }.use-case-grid a { min-height: 158px; padding: 20px; }.use-case-grid span { width: 46px; height: 46px; font-size: 21px; }.use-case-grid h3 { margin-top: 16px; line-height: 1.25; }.content-aside { grid-template-columns: 1fr; }.footer-grid { grid-template-columns: 1fr; }.footer-brand { grid-column: auto; }.footer-bottom { flex-wrap: wrap; }.footer-bottom p { width: 100%; }.prose p { font-size: 16px; }.feature-item { grid-template-columns: 50px 1fr 16px; padding: 20px 10px; }.feature-item .feature-icon { width: 48px; height: 48px; }.search-results h2 { font-size: 20px; }
    .product-hero h1 { font-size: clamp(2.5rem, 13vw, 3.7rem); }.product-visual { width: calc(100% + 16px); margin-left: -8px; }.product-anchor-nav a { padding-inline: 10px; }.product-prose p { font-size: 16px; }.product-benefit-grid article { min-height: 200px; padding: 22px; }.product-step-list li { padding-left: 70px; }.product-step-list li::before { left: 4px; }.product-note { grid-template-columns: 1fr; padding: 22px; }.product-note > span { width: 46px; height: 46px; }.product-related-grid > a { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
    .site-header, .site-footer, .final-cta, .content-aside, .button-row { display: none !important; }
    :root { color-scheme: light; }.body, body { background: #fff; color: #111; }.page-hero, .section { border-color: #ddd; }.prose p { color: #222; }.content-layout { display: block; }
}
