/* ============================================================
   ProstoLLM — Editorial design system
   Тёмная «журнальная» тема: Inter / Inter Tight, крупная
   типографика, тонкие борды, bento-сетки, номерные разделы.
   ============================================================ */

:root {
    --ed-bg: #06060a;
    --ed-panel: #0a0a0c;
    --ed-card: #101013;
    --ed-line: rgba(255, 255, 255, 0.07);
    --ed-line-2: rgba(255, 255, 255, 0.12);
    --ed-line-3: rgba(255, 255, 255, 0.18);
    --ed-text: #ffffff;
    --ed-muted: rgba(255, 255, 255, 0.62);
    --ed-faint: rgba(255, 255, 255, 0.4);
    --ed-ghost: rgba(255, 255, 255, 0.28);
    --ed-accent: #d4ff00;
    --ed-green: #22c55e;
    --ed-red: #ef4444;
    --ed-radius: 24px;
    --ed-radius-lg: 28px;
    --ed-pill: 999px;

    /* совместимость со старыми шаблонами (var(--bg) и т.п.) */
    --bg: #06060a;
    --bg-card: #101013;
    --bg-card-hover: #141418;
    --border: var(--ed-line);
    --border-hover: var(--ed-line-2);
    --text: #ffffff;
    --text-secondary: var(--ed-muted);
    --text-muted: var(--ed-faint);
    --accent: #d4ff00;
    --accent-light: rgba(212, 255, 0, 0.1);
    --green: #22c55e;
    --red: #ef4444;
    --header-bg: rgba(6, 6, 10, 0.72);
    --surface-1: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.055);
    --surface-3: rgba(255, 255, 255, 0.08);
    --surface-4: rgba(255, 255, 255, 0.12);
    --input-bg: rgba(255, 255, 255, 0.05);
    --code-bg: rgba(0, 0, 0, 0.35);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ---------- База ---------- */
html { scroll-behavior: smooth; }
body.editorial-body, .editorial-root {
    background: var(--ed-bg);
    color: var(--ed-text);
    font-family: Inter, Inter Tight, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    position: relative;
    z-index: 1;
}
body.editorial-body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
.editorial-root img { -webkit-user-drag: none; }

/* фоновая сетка + амбиент, как в референсе */
.editorial-grid-bg {
    pointer-events: none; z-index: 0; position: fixed; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 70%);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 70%);
}
.editorial-ambient {
    pointer-events: none; z-index: 0; position: fixed; inset: 0;
    background: radial-gradient(80% 40% at 50% -10%, rgba(255,255,255,0.10) 0%, transparent 70%),
                radial-gradient(60% 40% at 50% 110%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.main-shell { position: relative; z-index: 1; }

/* ---------- Заголовки ---------- */
.ed-display {
    font-family: "Inter Tight", Inter, sans-serif;
    font-weight: 600;
    letter-spacing: -0.045em;
    text-wrap: balance;
}
.ed-h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.055em; }
.ed-h2 {
    font-family: "Inter Tight", Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.ed-h3 { font-family: "Inter Tight", Inter, sans-serif; font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; }
.ed-lead { color: var(--ed-muted); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.65; }
.ed-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--ed-faint);
}
.ed-eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ed-accent); flex: 0 0 6px;
}
.ed-eyebrow--plain::before { display: none; }

/* ---------- Липкая навигация-пилюля ---------- */
.m-nav { position: sticky; top: 14px; z-index: 60; padding: 0 14px; }
.m-nav-pill {
    width: 100%; max-width: 1820px; margin: 0 auto;
    display: flex; align-items: center; gap: 10px;
    background: rgba(10, 10, 14, 0.72);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-pill);
    padding: 7px 9px 7px 16px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.m-nav-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 550; }
.m-nav-brand .brand-mark {
    width: 26px; height: 26px; border-radius: 8px; background: #fff; color: #06060a;
    display: flex; align-items: center; justify-content: center;
    font-family: "Inter Tight", Inter, sans-serif; font-weight: 800; font-size: 13px;
}
.m-nav-brand span.brand-name { font-family: "Inter Tight", Inter, sans-serif; font-size: 14.5px; letter-spacing: -0.01em; }
.m-nav-items { display: flex; align-items: center; gap: 2px; margin-left: 14px; flex-wrap: wrap; }
.m-nav-items a, .m-nav-items button {
    display: inline-block; padding: 7px 12px; border-radius: var(--ed-pill);
    font-size: 13px; color: var(--ed-muted); background: none; border: none;
    cursor: pointer; font-family: inherit; white-space: nowrap; transition: color .2s, background .2s;
}
.m-nav-items a:hover, .m-nav-items button:hover { color: #fff; background: rgba(255,255,255,0.06); }
.m-nav-items a.active { color: #fff; background: rgba(255,255,255,0.09); }
.m-nav-divider { width: 1px; height: 18px; background: var(--ed-line-2); margin: 0 6px; }
.m-nav-spacer { flex: 1; }
.m-nav-signin, .m-nav-cta {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 9px 16px; border-radius: var(--ed-pill); font-size: 13px; font-weight: 550;
    border: none; cursor: pointer; background: none; color: var(--ed-muted); font-family: inherit;
    transition: background .2s, color .2s;
}
.m-nav-signin:hover { background: rgba(255,255,255,0.07); color: #fff; }
.m-nav-cta { background: #fff; color: #06060a; font-weight: 600; }
.m-nav-cta:hover { background: #e8e8e8; color: #06060a; }
.m-nav-burger {
    display: none; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--ed-line-2); background: rgba(255,255,255,0.04);
    color: #fff; cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- Masthead ---------- */
.m-masthead-row {
    max-width: 1820px; margin: 0 auto; padding: 10px 18px 0;
    display: flex; align-items: center; gap: 18px;
    font-size: 11px; letter-spacing: 0.05em; color: var(--ed-ghost);
    text-transform: none;
}
.m-masthead-row .sep { flex: 0 0 1px; height: 10px; background: var(--ed-line-2); }
.m-masthead-extra { color: var(--ed-ghost); }
.m-masthead-right { margin-left: auto; display: flex; gap: 16px; }

/* ---------- Hero ---------- */
.m-hero-ed { padding: 40px 0 0; }
.m-hero-ed-grid {
    max-width: 1820px; margin: 0 auto; padding: 0 14px;
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
    gap: 14px; align-items: stretch;
}
.m-hero-ed-card {
    position: relative; overflow: hidden; border-radius: var(--ed-radius-lg);
    background:
        radial-gradient(120% 90% at 85% -20%, rgba(212,255,0,0.07) 0%, transparent 55%),
        linear-gradient(160deg, #101015 0%, #0a0a0e 60%, #08080c 100%);
    border: 1px solid var(--ed-line);
    padding: 56px 52px 44px; min-height: 520px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.m-hero-ed-card::after {
    content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 65%);
    pointer-events: none;
}
.m-hero-ed-meta {
    display: flex; align-items: center; gap: 14px;
    font-family: Inter, sans-serif; font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ed-faint); margin-bottom: 44px;
}
.m-hero-ed-meta .rule { flex: 1; height: 1px; background: var(--ed-line-2); }
.live-dot {
    display: inline-flex; align-items: center; gap: 7px; color: #fff;
}
.live-dot::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ed-accent); box-shadow: 0 0 10px var(--ed-accent);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.m-hero-ed-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 40px; }
.m-hero-ed-bottom > p { max-width: 400px; font-size: 15.5px; line-height: 1.6; color: var(--ed-muted); }
.m-hero-ed-cta-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.m-hero-ed-free-note { font-size: 12px; color: var(--ed-ghost); letter-spacing: 0.01em; }
.ed-note-strong { color: var(--ed-muted); }

/* кнопки */
.ed-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border-radius: var(--ed-pill); font-size: 14.5px; font-weight: 600;
    padding: 14px 26px; cursor: pointer; border: none; font-family: inherit;
    transition: background .2s, border-color .2s, color .2s, transform .2s, opacity .2s;
    white-space: nowrap;
}
.ed-btn-primary { background: #fff; color: #06060a; }
.ed-btn-primary:hover { background: #e6e6e6; }
.ed-btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--ed-line-2); }
.ed-btn-secondary:hover { background: rgba(255,255,255,0.09); border-color: var(--ed-line-3); }
.ed-btn-ghost { background: none; color: var(--ed-muted); padding: 14px 18px; }
.ed-btn-ghost:hover { color: #fff; }
.ed-btn-sm { padding: 9px 16px; font-size: 13px; }
.ed-btn-lg { padding: 16px 32px; font-size: 15.5px; }
.ed-btn .arrow { transition: transform .2s; }
.ed-btn:hover .arrow { transform: translateX(3px); }

/* правая колонка героя */
.m-hero-ed-right {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto; /* видео тянется на всю высоту, лента — подвал */
    gap: 10px;
    min-width: 0;
}
.m-hero-feature {
    position: relative; overflow: hidden; border-radius: var(--ed-radius-lg);
    min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; border: 1px solid var(--ed-line); background: var(--ed-panel);
}
.m-hero-feature > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.m-hero-feature::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(rgba(6,6,10,0) 20%, rgba(6,6,10,0.86) 78%, #06060a 100%);
}
.m-hero-feature > * { position: relative; z-index: 2; }
.m-hero-badge {
    display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--ed-pill);
    background: rgba(10,10,14,0.55); border: 1px solid rgba(255,255,255,0.35);
    font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); align-self: flex-start;
}
.m-hero-feature-title { font-family: "Inter Tight", Inter, sans-serif; font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.03em; }
.m-hero-feature-link { font-size: 13.5px; color: var(--ed-muted); margin-top: 6px; }
/* компактная лента статов под видео */
.m-hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); box-sizing: border-box;
    background: rgba(255,255,255,0.03); border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius-lg); overflow: hidden;
}
.m-hero-stat {
    box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: center; gap: 3px;
    padding: 11px 18px; min-height: 64px; min-width: 0;
}
.m-hero-stat + .m-hero-stat { border-left: 1px solid var(--ed-line); }
.m-hero-stat > span:first-child { font-size: 11.5px; color: var(--ed-faint); letter-spacing: .03em; }
.m-hero-stat > span:last-child {
    font-family: "Inter Tight", Inter, sans-serif; font-weight: 600;
    font-size: 18px; letter-spacing: -0.02em; white-space: nowrap;
}

/* ---------- Марки (бегущая строка лого) ---------- */
.m-hero-marquee { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); overflow: hidden; }
.m-hero-marquee-wrap { max-width: 1820px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.m-hero-marquee-row {
    display: inline-flex; gap: 48px; white-space: nowrap;
    animation: editorialMarquee 34s linear infinite;
    --hero-marquee-duration: 34s;
}
.m-hero-marquee-item { display: inline-flex; align-items: center; gap: 11px; font-family: "Inter Tight", Inter, sans-serif; font-size: 19px; color: rgba(255,255,255,0.55); }
.m-hero-marquee-item .logo-chip {
    width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.06);
    display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 28px;
}
.m-hero-marquee-item .logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.m-hero-marquee-item .logo-chip svg { width: 15px; height: 15px; }
@keyframes editorialMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Нумерованные разделители ---------- */
.ed-divider {
    max-width: 1820px; margin: 40px auto 8px; padding: 0 18px;
    display: flex; align-items: baseline; gap: 18px;
    font-family: "Inter Tight", Inter, sans-serif; text-transform: uppercase;
    letter-spacing: 0.06em; font-size: 12.5px; color: var(--ed-faint);
}
.ed-divider .num { color: #fff; font-weight: 700; }
.ed-divider .rule { flex: 1; height: 1px; background: var(--ed-line); align-self: center; }
.ed-divider .meta { color: var(--ed-ghost); }

/* ---------- Общий spacing секций ---------- */
.m-showcase { padding: 44px 14px; }
.m-showcase-card {
    max-width: 1820px; margin: 0 auto; border-radius: var(--ed-radius-lg);
    background: var(--ed-panel); border: 1px solid var(--ed-line); overflow: hidden;
    display: flex; align-items: stretch;
}
.m-showcase-intro {
    flex: 0 0 380px; padding: 44px 36px; display: flex; flex-direction: column;
    border-right: 1px solid var(--ed-line); gap: 0; position: relative;
}
.m-showcase-kicker { font-family: Inter, sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ed-accent); font-weight: 600; }
.m-showcase-intro h2, .m-showcase-intro .ed-h2 { margin: 18px 0 14px; }
.m-showcase-intro p { color: var(--ed-muted); font-size: 14.5px; line-height: 1.6; }
.m-showcase-try {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #06060a; font-weight: 600; font-size: 14px;
    padding: 12px 22px; border-radius: var(--ed-pill); border: none; cursor: pointer; margin-top: 28px;
    transition: background .2s;
}
.m-showcase-try:hover { background: #e6e6e6; }
.m-showcase-bento-wrap { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; }
.m-showcase-bento {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    padding: 10px 10px 0; align-content: start; flex: 1;
}
.m-showcase-tile {
    position: relative; overflow: hidden; border-radius: 12px; background: var(--ed-card);
    border: 1px solid rgba(255,255,255,0.06); display: block; aspect-ratio: 1 / 1;
    transition: transform .28s, box-shadow .28s;
}
.m-showcase-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.55); }
.m-showcase-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-showcase-vignette { position: absolute; inset: 0; background: linear-gradient(rgba(6,6,10,0) 55%, rgba(6,6,10,0.55) 100%); opacity: 0.6; transition: opacity .3s; }
.m-showcase-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 110px; z-index: 2; background: linear-gradient(rgba(10,10,12,0) 0%, rgba(10,10,12,0.88) 65%, #0a0a0c 100%); pointer-events: none; }
.m-showcase-viewall {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
    background: rgba(10,10,14,0.7); border: 1px solid var(--ed-line-2); color: #fff;
    padding: 10px 20px; border-radius: var(--ed-pill); font-size: 13.5px; font-weight: 550; backdrop-filter: blur(8px);
    transition: background .2s;
}
.m-showcase-viewall:hover { background: rgba(20,20,26,0.85); }

/* ---------- Анимация витрины Nano Banana: пульсация фона + волна картинок ---------- */
.m-showcase--banana .m-showcase-card { position: relative; animation: bananaGlow 5.5s ease-in-out infinite; }
.m-showcase--banana .m-showcase-card::before {
    content: ""; position: absolute; left: -80px; top: -120px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(212,255,0,0.14) 0%, rgba(212,255,0,0.04) 45%, transparent 70%);
    pointer-events: none; z-index: 0;
    animation: bananaPulse 5.5s ease-in-out infinite;
}
@keyframes bananaGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212,255,0,0); }
    50% { box-shadow: 0 0 46px rgba(212,255,0,0.10); }
}
@keyframes bananaPulse {
    0%, 100% { transform: scale(1); opacity: .55; }
    50% { transform: scale(1.18); opacity: 1; }
}
/* волна слева направо: лёгкий дрейф картинок с задержкой по колонкам */
.m-showcase--banana .m-showcase-tile { overflow: hidden; }
.m-showcase--banana .m-showcase-tile img {
    animation: bananaDrift 9s ease-in-out infinite;
    will-change: transform;
}
.m-showcase--banana .m-showcase-tile:nth-child(4n+2) img { animation-delay: .5s; }
.m-showcase--banana .m-showcase-tile:nth-child(4n+3) img { animation-delay: 1s; }
.m-showcase--banana .m-showcase-tile:nth-child(4n+4) img { animation-delay: 1.5s; }
.m-showcase--banana .m-showcase-tile:nth-child(5) img { animation-delay: 2s; }
.m-showcase--banana .m-showcase-tile:nth-child(6) img { animation-delay: 2.5s; }
.m-showcase--banana .m-showcase-tile:nth-child(7) img { animation-delay: 3s; }
.m-showcase--banana .m-showcase-tile:nth-child(8) img { animation-delay: 3.5s; }
@keyframes bananaDrift {
    0%, 100% { transform: scale(1.10) translateX(-3%); }
    50% { transform: scale(1.10) translateX(3%); }
}
@media (prefers-reduced-motion: reduce) {
    .m-showcase--banana .m-showcase-card,
    .m-showcase--banana .m-showcase-card::before,
    .m-showcase--banana .m-showcase-tile img { animation: none; }
}

/* ---------- Карточки провайдеров/моделей ---------- */
.m-models-bento-grid {
    max-width: 1820px; margin: 0 auto; padding: 0 14px 60px;
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.m-model-card {
    position: relative; overflow: hidden; border-radius: 26px; min-height: 280px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 26px; isolation: isolate;
    transition: transform .3s, border-color .3s;
    border: 1px solid rgba(255,255,255,0.08);
}
.m-model-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.m-model-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.m-model-card:hover > img.bg { transform: scale(1.05); }
.m-model-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(4,4,7,0.12) 0%, rgba(4,4,7,0.45) 55%, rgba(4,4,7,0.88) 100%); }
.m-model-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.m-model-card-logo { font-family: "Inter Tight", Inter, sans-serif; font-weight: 650; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: -0.02em; }
.m-model-card-list { display: flex; flex-direction: column; gap: 9px; }
.m-model-card-name { color: rgba(255,255,255,0.98); font-family: "Inter Tight", Inter, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2; }
.m-model-card-desc { color: rgba(255,255,255,0.65); font-size: 12.5px; line-height: 1.3; }
.grid-span-3 { grid-column: span 3; }
.grid-span-2 { grid-column: span 2; }

/* ---------- Функциональные карточки (fcards) ---------- */
.m-fcards-grid {
    max-width: 1820px; margin: 0 auto; padding: 0 14px 54px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.m-fcard {
    position: relative; overflow: hidden; border-radius: 18px;
    background: var(--ed-panel); border: 1px solid var(--ed-line);
    padding: 18px; min-height: 0; display: flex; flex-direction: column; gap: 14px;
    transition: border-color .25s, transform .25s;
}
.m-fcard:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.m-fcard--hero {
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(212,255,0,0.10) 0%, transparent 55%),
        linear-gradient(165deg, #14141a, #0a0a0e 70%);
    border-color: rgba(212,255,0,0.22);
}
.m-fcard-icon {
    width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06);
    border: 1px solid var(--ed-line); display: flex; align-items: center; justify-content: center; color: #fff;
    flex-shrink: 0;
}
.m-fcard-icon svg { width: 17px; height: 17px; }
.m-fcard h3, .m-fcard h4 {
    margin: 0 0 6px; font-family: "Inter Tight", Inter, sans-serif;
    font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.m-fcard .tag {
    display: inline-flex; padding: 3px 8px; border-radius: var(--ed-pill);
    font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
    background: rgba(212,255,0,0.12); color: var(--ed-accent); border: 1px solid rgba(212,255,0,0.25);
}
.m-fcard p { color: var(--ed-muted); font-size: 13px; line-height: 1.55; margin: 0; }
.m-fcard .m-features-hero-cta {
    position: static; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    background: var(--ed-accent); color: #06060a; font-weight: 600; font-size: 12.5px;
    padding: 9px 16px; border-radius: var(--ed-pill); margin-top: auto;
}
.m-fcard p { color: var(--ed-muted); font-size: 14px; line-height: 1.6; }
.m-fcard .m-features-hero-cta {
    position: static; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    background: #fff; color: #06060a; font-weight: 600; font-size: 13.5px;
    padding: 10px 18px; border-radius: var(--ed-pill); margin-top: 8px;
}
.m-features-hero-cta--ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--ed-line-2); }

/* ---------- Приложения ---------- */
.m-apps-row {
    max-width: 1820px; margin: 0 auto; padding: 0 14px 60px;
    display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 14px; overflow-x: auto;
    scrollbar-width: none;
}
.m-apps-row::-webkit-scrollbar { display: none; }
.m-app-card {
    position: relative; overflow: hidden; border-radius: 20px; min-height: 300px;
    background: var(--ed-card); border: 1px solid rgba(255,255,255,0.07);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
    transition: transform .25s, border-color .25s;
}
.m-app-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.m-app-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .4s; }
.m-app-card:hover > img { transform: scale(1.05); }
.m-app-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(6,6,10,0) 25%, rgba(6,6,10,0.9) 90%, #06060a 100%); }
.m-app-card > *:not(img) { position: relative; z-index: 2; }
.m-app-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    padding: 3px 9px; border-radius: var(--ed-pill); font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
}
.m-app-badge.pro { background: rgba(212,255,0,0.15); color: var(--ed-accent); border: 1px solid rgba(212,255,0,0.3); }
.m-app-badge.new { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.m-app-card h3 { margin: 0; font-family: "Inter Tight", Inter, sans-serif; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.m-app-card p { margin: 5px 0 0; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.45; }

/* ---------- Видео-showcase ---------- */
.m-video-showcase-card {
    max-width: 1820px; margin: 0 auto; border-radius: var(--ed-radius-lg);
    background: var(--ed-panel); border: 1px solid var(--ed-line); overflow: hidden;
    display: grid; grid-template-columns: 360px minmax(0, 1fr);
}
.m-video-showcase-intro { padding: 44px 36px; display: flex; flex-direction: column; gap: 0; border-right: 1px solid var(--ed-line); }
/* Фоновая 3D-иконка бренда в intro (по мотивам эталона) */
.m-showcase-intro { position: relative; overflow: hidden; }
.m-showcase-orb {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 78%;
    opacity: 0.45; user-select: none; pointer-events: none; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,1) 60%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,1) 60%);
}
.m-showcase-intro > :not(.m-showcase-orb) { z-index: 1; position: relative; }
.m-video-title { font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.02em; line-height: 1.05; margin: 18px 0 16px; }
.m-video-desc { color: var(--ed-muted); font-size: 14.5px; line-height: 1.6; }
.m-video-cta {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #06060a; font-size: 14px; font-weight: 600;
    padding: 12px 22px; border-radius: var(--ed-pill);
}
.m-video-bento-wrap { position: relative; }
.m-video-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 150px); gap: 8px; padding: 10px; }
.m-video-bento-tile {
    position: relative; overflow: hidden; border-radius: 14px; background: #0d0d12;
    border: 1px solid rgba(255,255,255,0.06);
}
.m-video-bento-tile video, .m-video-bento-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-video-bento-tile--wide { grid-column: span 2; }
.m-video-bento-tile--tall { grid-row: span 2; }

/* Голливуд-слоты под наши видео (2 больших слейта) */
.m-video-hero-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 8px; padding: 10px; }
.m-video-hero-tile {
    position: relative; overflow: hidden; border-radius: 14px; min-height: 380px;
    background: #0a0a0c; border: 1px solid rgba(255,255,255,0.06);
}
.m-video-hero-tile video { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.m-video-slate {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    align-items: flex-start; gap: 6px; padding: 22px;
    background:
        radial-gradient(120% 90% at 85% 8%, rgba(212,255,0,0.13), transparent 55%),
        radial-gradient(80% 60% at 100% 100%, rgba(212,255,0,0.05), transparent 60%),
        linear-gradient(180deg, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.85) 78%);
}
.m-video-slate::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
}
.m-slate-scene { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(212,255,0,0.85); font-weight: 600; }
.m-slate-title { font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.01em; line-height: 1.1; color: #fff; }
.m-slate-meta { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: .06em; text-transform: uppercase; }
.m-slate-badge {
    position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
    color: #06060a; background: var(--ed-accent); border-radius: 999px; padding: 5px 11px;
}

/* ---------- Тарифы ---------- */
.m-pricing-grid {
    max-width: 1820px; margin: 0 auto; padding: 0 14px 30px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.m-pricing-card {
    position: relative; border-radius: 28px; padding: 30px 28px;
    background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
    display: flex; flex-direction: column; gap: 0;
    transition: border-color .25s, transform .25s, background .25s;
}
.m-pricing-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.m-pricing-card--featured {
    background: linear-gradient(180deg, rgba(212,255,0,0.10), rgba(212,255,0,0.02));
    border-color: rgba(212,255,0,0.35);
}
.m-pricing-card h3 { font-family: "Inter Tight", Inter, sans-serif; font-size: 16px; font-weight: 600; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.m-pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.m-pricing-price .new { font-family: "Inter Tight", Inter, sans-serif; font-size: clamp(30px, 3.4vw, 44px); font-weight: 650; letter-spacing: -0.03em; }
.m-pricing-price .cur { font-size: 17px; color: var(--ed-muted); font-weight: 550; }
.m-pricing-oldrow { display: flex; gap: 10px; font-size: 13px; color: var(--ed-faint); margin-bottom: 22px; align-items: center; }
.m-pricing-oldrow s { text-decoration-color: rgba(239,68,68,0.6); }
.m-pricing-oldrow .save { color: var(--ed-green); background: rgba(34,197,94,0.12); padding: 2px 9px; border-radius: var(--ed-pill); font-weight: 600; font-size: 12px; }
.m-pricing-list { list-style: none; margin: 0 0 26px; padding: 14px 0 0; border-top: 1px solid var(--ed-line); display: flex; flex-direction: column; gap: 11px; flex: 1; }
.m-pricing-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ed-muted); line-height: 1.45; }
.m-pricing-list li svg { flex: 0 0 15px; margin-top: 3px; color: var(--ed-green); }
.m-pricing-list li.off { color: var(--ed-ghost); }
.m-pricing-list li.off svg { color: var(--ed-ghost); opacity: .5; }
.m-pricing-card .ed-btn { margin-top: auto; }
.m-pricing-pop {
    position: absolute; top: -13px; left: 28px; padding: 5px 14px; border-radius: var(--ed-pill);
    background: var(--ed-accent); color: #06060a; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Таблица сравнения цен ---------- */
.m-rates-card {
    max-width: 1820px; margin: 0 auto; padding: 0 14px 60px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.m-rates-cat { border-radius: 24px; background: var(--ed-panel); border: 1px solid var(--ed-line); padding: 24px 22px; display: flex; flex-direction: column; }
.m-rates-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.m-rates-cat-head .em { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid var(--ed-line); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.m-rates-cat-head h3 { font-family: "Inter Tight", Inter, sans-serif; font-size: 15.5px; font-weight: 600; margin: 0; }
.m-rates-cat-head .off-badge { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ed-green); background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--ed-pill); padding: 3px 9px; white-space: nowrap; }
.m-rates-cols { display: flex; padding: 0 10px 8px; border-bottom: 1px solid var(--ed-line); margin-bottom: 8px; color: var(--ed-ghost); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.m-rates-cols span { width: 78px; text-align: center; flex: 0 0 auto; }
.m-rates-cols span.name { flex: 1; text-align: left; }
.m-rates-cols span.disc { width: 86px; text-align: right; }
.m-rate-row { display: flex; align-items: center; padding: 9px 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 11px; margin-bottom: 6px; }
.m-rate-row .name { flex: 1; font-size: 12px; font-weight: 550; }
.m-rate-row .offs { width: 78px; text-align: center; font-size: 11px; color: var(--ed-ghost); text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.4); }
.m-rate-row .ours { width: 78px; text-align: center; font-size: 12px; font-weight: 650; color: var(--ed-green); }
.m-rate-row .disc { width: 86px; text-align: right; font-size: 10px; font-weight: 600; color: var(--ed-green); background: rgba(34,197,94,0.09); padding: 2px 7px; border-radius: var(--ed-pill); white-space: nowrap; }
.m-rates-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ed-line); display: flex; justify-content: space-between; align-items: center; }
.m-rates-foot .lbl { font-size: 12px; color: var(--ed-faint); }
.m-rates-foot .val { font-family: "Inter Tight", Inter, sans-serif; font-size: 21px; font-weight: 700; color: var(--ed-green); }

/* ---------- Платформы / интеграции ---------- */
.m-platforms-grid {
    max-width: 1180px; margin: 0 auto; padding: 0 14px 60px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.m-platform-card {
    border-radius: 22px; border: 1px solid var(--ed-line); background: rgba(255,255,255,0.03);
    padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 190px;
    transition: border-color .25s, background .25s;
}
.m-platform-card:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); }
.m-platform-card .ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #06060a; display: flex; align-items: center; justify-content: center; }
.m-platform-card .ico svg { width: 20px; height: 20px; }
.m-platform-card h3 { margin: 0; font-family: "Inter Tight", Inter, sans-serif; font-size: 17px; font-weight: 600; }
.m-platform-card p { margin: 0; color: var(--ed-muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Отзывы ---------- */
.m-reviews-head { text-align: center; padding: 40px 16px 36px; }
.m-reviews-head h2 { margin: 0 0 12px; }
.m-reviews-head p { color: var(--ed-muted); font-size: 15px; max-width: 620px; margin: 0 auto; }
.m-reviews-scroller { overflow: hidden; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.m-reviews-track { display: flex; gap: 14px; width: max-content; animation: reviewsScroll 52s linear infinite; }
.m-reviews-scroller:hover .m-reviews-track { animation-play-state: paused; }
@keyframes reviewsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.m-review-card {
    width: 400px; flex: 0 0 400px; padding: 24px; border-radius: 24px;
    background: #131317; border: 1px solid rgba(255,255,255,0.07);
    display: flex; flex-direction: column; gap: 14px; position: relative;
}
.m-review-card .head { display: flex; align-items: center; gap: 12px; }
.m-review-card .ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.m-review-card .who { display: flex; flex-direction: column; }
.m-review-card .who b { font-size: 14.5px; font-weight: 600; }
.m-review-card .who span { font-size: 12.5px; color: var(--ed-faint); }
.m-review-card p { margin: 0; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.6; }

/* ---------- Финальный CTA ---------- */
.m-final-cta { text-align: center; padding: 88px 20px 90px; position: relative; }
.m-final-cta h2 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 64px); }
.m-final-cta p { color: var(--ed-muted); font-size: 16px; margin: 0 0 30px; }
.m-final-cta .row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.m-final-note { font-size: 12px; color: var(--ed-ghost); margin-top: 16px; }

/* ---------- FAQ ---------- */
.m-faq-wrap { max-width: 900px; margin: 0 auto; padding: 0 14px 80px; display: flex; flex-direction: column; gap: 10px; }
.m-faq-item {
    border: 1px solid rgba(255,255,255,0.09); border-radius: 18px;
    overflow: hidden; background: rgba(255,255,255,0.02);
    transition: border-color .25s;
}
.m-faq-item[open] { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.035); }
.m-faq-item summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 19px 22px; cursor: pointer; font-size: 16.5px; font-weight: 550;
    -webkit-user-select: none; user-select: none;
}
.m-faq-item summary::-webkit-details-marker { display: none; }
.m-faq-plus { position: relative; flex: 0 0 24px; width: 24px; height: 24px; }
.m-faq-plus::before, .m-faq-plus::after {
    content: ""; position: absolute; background: rgba(255,255,255,0.5); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.m-faq-plus::before { width: 16px; height: 2px; left: 4px; top: 11px; }
.m-faq-plus::after { width: 2px; height: 16px; left: 11px; top: 4px; }
.m-faq-item[open] .m-faq-plus::after { transform: scaleY(0); opacity: 0; }
.m-faq-answer { padding: 0 22px 22px; color: var(--ed-muted); font-size: 15px; line-height: 1.7; }
.m-faq-answer a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 3px; }
.m-faq-answer a:hover { color: #fff; }

/* ---------- Футер ---------- */
.ed-footer {
    margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.06);
    background: #050508; padding: 56px 0 34px;
}
.ed-footer-inner { max-width: 1820px; margin: 0 auto; padding: 0 18px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ed-footer-brand { max-width: 340px; }
.ed-footer-brand .brand { font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ed-footer-brand .brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; background: #fff; color: #06060a; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.ed-footer-brand p { color: var(--ed-muted); font-size: 13.5px; line-height: 1.65; }
.ed-footer-brand p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ed-footer-socials { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.ed-footer-social { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--ed-line); border-radius: 13px; background: rgba(255,255,255,0.02); font-size: 13.5px; color: var(--ed-muted); transition: border-color .2s, color .2s; }
.ed-footer-social:hover { border-color: var(--ed-line-2); color: #fff; }
.ed-footer-social svg { width: 17px; height: 17px; flex: 0 0 17px; }
.ed-footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.ed-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.ed-footer-col h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ed-faint); font-weight: 600; }
.ed-footer-col a, .ed-footer-col span { color: var(--ed-muted); font-size: 13.5px; transition: color .2s; }
.ed-footer-col a:hover { color: #fff; }
.ed-footer-bottom { max-width: 1820px; margin: 40px auto 0; padding: 22px 18px 0; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ed-ghost); font-size: 12px; }

/* ---------- Модалки / формы (общие) ---------- */
.ed-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(3,3,6,0.72); backdrop-filter: blur(8px);
    align-items: center; justify-content: center; padding: 20px;
}
.ed-modal-overlay.active { display: flex; }
.ed-modal {
    width: 100%; max-width: 420px; background: #0d0d12; border: 1px solid var(--ed-line-2);
    border-radius: 24px; padding: 30px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.ed-modal-close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: rgba(255,255,255,0.05); border: 1px solid var(--ed-line); color: var(--ed-muted);
    font-size: 14px; transition: color .2s, background .2s;
}
.ed-modal-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.ed-modal h2 { font-family: "Inter Tight", Inter, sans-serif; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 6px; }
.ed-modal .modal-sub { color: var(--ed-muted); font-size: 13.5px; margin: 0 0 22px; line-height: 1.55; }
.ed-field { margin-bottom: 14px; }
.ed-field label { display: block; font-size: 12px; font-weight: 550; color: rgba(255,255,255,0.55); margin-bottom: 7px; }
.ed-field input, .ed-field select, .ed-field textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; outline: none;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
    color: #fff; font-size: 14px; font-family: inherit; transition: border-color .2s, background .2s;
}
.ed-field input:focus, .ed-field select:focus, .ed-field textarea:focus { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.07); }
.ed-field input::placeholder, .ed-field textarea::placeholder { color: rgba(255,255,255,0.28); }
.ed-field select option { background: #12121a; color: #fff; }
.ed-msg { padding: 11px 14px; border-radius: 12px; font-size: 13px; margin-bottom: 14px; }
.ed-msg.err { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.ed-msg.ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.ed-switch { text-align: center; font-size: 13px; color: var(--ed-faint); margin-top: 16px; }
.ed-switch a { color: #fff; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ed-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ed-muted); margin-bottom: 16px; }
.ed-check input { accent-color: var(--ed-accent); width: 16px; height: 16px; margin-top: 2px; }
.ed-check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookie ---------- */
.ed-cookie {
    position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(120%);
    z-index: 200; max-width: min(720px, calc(100vw - 24px));
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: rgba(16,16,20,0.9); border: 1px solid var(--ed-line-2); border-radius: 18px;
    padding: 14px 18px; backdrop-filter: blur(14px);
    transition: transform .4s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ed-cookie.show { transform: translateX(-50%) translateY(0); }
.ed-cookie p { margin: 0; font-size: 13px; color: var(--ed-muted); flex: 1; min-width: 220px; }
.ed-cookie button { cursor: pointer; font-family: inherit; }
.ed-cookie .decl { background: none; border: 1px solid var(--ed-line-2); color: var(--ed-muted); padding: 9px 16px; border-radius: var(--ed-pill); font-size: 13px; }
.ed-cookie .decl:hover { color: #fff; }
.ed-cookie .acc { background: #fff; color: #06060a; border: none; padding: 9px 20px; border-radius: var(--ed-pill); font-size: 13px; font-weight: 600; }

/* ---------- Мобильное меню ---------- */
.m-mobile-menu {
    display: none; position: fixed; top: 74px; left: 14px; right: 14px; z-index: 80;
    background: rgba(12,12,16,0.96); border: 1px solid var(--ed-line-2); border-radius: 22px;
    padding: 10px; backdrop-filter: blur(18px);
    flex-direction: column; gap: 2px;
}
.m-mobile-menu.open { display: flex; }
.m-mobile-menu a, .m-mobile-menu button {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px; border-radius: 14px; font-size: 15px; font-weight: 500;
    color: var(--ed-muted); background: none; border: none; cursor: pointer; text-align: left; font-family: inherit;
}
.m-mobile-menu a:hover, .m-mobile-menu button:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* ---------- Аутентификация (standalone-страницы) ---------- */
.ed-auth-body {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 28px 18px; position: relative; z-index: 1;
}
.ed-auth-card {
    width: 100%; max-width: 400px;
    background: var(--ed-card); border: 1px solid var(--ed-line);
    border-radius: 24px; padding: 34px 30px 30px;
}
.ed-auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ed-auth-brand .brand-mark {
    width: 28px; height: 28px; border-radius: 9px; background: #fff; color: #06060a;
    display: flex; align-items: center; justify-content: center;
    font-family: "Inter Tight", Inter, sans-serif; font-weight: 800; font-size: 14px;
}
.ed-auth-brand span { font-family: "Inter Tight", Inter, sans-serif; font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.ed-auth-title { font-family: "Inter Tight", Inter, sans-serif; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 6px; }
.ed-auth-sub { color: var(--ed-muted); font-size: 14px; line-height: 1.55; margin: 0 0 22px; }
.ed-auth-footer { text-align: center; font-size: 13px; color: var(--ed-faint); margin: 16px 0 0; }
.ed-auth-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ed-code input { letter-spacing: 8px !important; text-align: center; font-size: 22px !important; }

/* ---------- Анимации появления ---------- */
.ed-reveal { opacity: 0; transform: translateY(26px); animation: edFadeUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes edFadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1280px) {
    .m-hero-ed-grid { grid-template-columns: 1fr; }
    .m-hero-feature { min-height: 230px; }
    .m-stats-incard { display: none; }
    .m-models-bento-grid, .m-fcards-grid, .m-pricing-grid, .m-rates-card { grid-template-columns: repeat(2, 1fr); }
    .grid-span-3, .grid-span-2 { grid-column: span 2; }
    .m-platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .m-showcase-intro, .m-video-showcase-intro { border-right: 0; border-bottom: 1px solid var(--ed-line); flex: none; }
    .m-showcase-card, .m-video-showcase-card { flex-direction: column; display: flex; }
    .m-nav-items .hide-md { display: none; }
}
@media (max-width: 980px) {
    .m-nav-items, .m-nav-divider { display: none !important; }
    .m-nav-burger { display: flex; }
    .m-nav .m-nav-cta { padding: 8px 14px; font-size: 12.5px; }
    .m-masthead-extra, .ed-divider .meta { display: none; }
    .m-masthead-row { font-size: 10px; gap: 10px; }
    .m-hero-ed-card { padding: 40px 34px 34px; min-height: 0; }
    .m-hero-ed-card h1 { font-size: clamp(38px, 8.2vw, 64px) !important; }
    .m-hero-ed-right { grid-template-columns: 1fr; }
    .m-hero-feature { grid-column: auto; }
    .m-hero-ed-bottom { flex-direction: column; align-items: stretch; gap: 22px; }
    .m-models-bento-grid, .m-pricing-grid, .m-rates-card, .m-platforms-grid { grid-template-columns: 1fr; }
    .grid-span-3, .grid-span-2 { grid-column: span 1; }
    .m-review-card { width: 320px; flex: 0 0 320px; }
    .m-video-bento { grid-template-rows: repeat(6, 130px); }
    .m-video-hero-grid { grid-template-columns: 1fr 1fr; }
    .m-video-hero-tile { min-height: 260px; }
    .m-nav-signin { display: none !important; }
}
@media (max-width: 620px) {
    .m-hero-ed-grid { gap: 10px; padding: 0 10px; }
    .m-hero-ed { padding: 26px 0 0; }
    .m-hero-ed-card { border-radius: 20px; padding: 30px 22px 26px; }
    .m-hero-ed-card h1 { font-size: clamp(30px, 10.2vw, 42px) !important; }
    .m-hero-ed-bottom { margin-top: 20px; }
    .m-hero-ed-bottom > p { font-size: 14px; }
    .m-hero-ed-cta-stack .ed-btn { width: 100%; justify-content: center; }
    .m-hero-stats { border-radius: 16px; }
    .m-hero-stat { padding: 9px 11px; min-height: 56px; gap: 2px; }
    .m-hero-stat > span:first-child { font-size: 10.5px; }
    .m-hero-stat > span:last-child { font-size: 15.5px; }
    .m-model-card { border-radius: 20px; min-height: 240px; }
    .m-models-bento-grid, .m-fcards-grid, .m-video-bento, .m-pricing-grid, .m-rates-card { padding: 0 10px 40px; }
    .m-models-bento-grid, .m-fcards-grid, .m-pricing-grid, .m-rates-card, .m-platforms-grid { gap: 10px; }
    .m-video-bento { padding: 8px; grid-template-rows: repeat(6, 100px); grid-template-columns: repeat(2, 1fr); }
    .m-video-hero-grid { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
    .m-video-hero-tile { min-height: 0; aspect-ratio: 16 / 10; }
    .m-video-bento-wrap .m-showcase-viewall { position: static; transform: none; display: block; width: max-content; margin: 4px auto 14px; }
    .m-showcase-card, .m-video-showcase-card { border-radius: 20px; }
    .m-showcase-bento { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 8px 8px 0; }
    .m-showcase-fade { height: 90px; }
    .m-showcase-intro, .m-video-showcase-intro { padding: 30px 24px; }
    .m-showcase-try { width: 100%; justify-content: center; align-self: stretch; }
    .m-final-cta { padding: 60px 14px; }
    .ed-footer-cols { gap: 30px; }
    .ed-footer-inner { flex-direction: column; gap: 30px; }
    .m-hero-marquee-item { font-size: 15px; }
    .m-review-card { width: 280px; flex: 0 0 280px; }
    .m-mobile-menu { top: 70px; left: 10px; right: 10px; }
    .m-masthead-row { padding: 8px 12px 0; }
    .m-nav { padding: 0 10px; }
}

/* Утилиты */
.ed-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ed-section-pad { padding: 70px 0 0; }
.no-scroll { overflow: hidden; }
