/* === PUBLIC-LANDING.CSS ===
 * assets/css/public-landing.css
 * НАЗНАЧЕНИЕ: Editorial Psycho-Analytics landing Mindway
 * Эстетика: editorial + bloomberg terminal + научный журнал
 * СВЯЗИ: index.php, themes.css
 * РАЗМЕР: ~700 строк
 */

/* === БАЗОВЫЕ ТОКЕНЫ === */
:root {
    --landing-max: 1320px;
    --landing-pad: clamp(16px, 4vw, 48px);
    --landing-gutter: clamp(16px, 2vw, 28px);

    --font-editorial: "Fraunces", Georgia, serif;
    --font-sans: "IBM Plex Sans Condensed", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html[data-theme-mode="dark"] {
    --l-bg: oklch(14% 0.02 246);
    --l-bg-deep: oklch(11% 0.025 246);
    --l-surface: oklch(19% 0.025 246);
    --l-surface-2: oklch(23% 0.03 246);
    --l-line: oklch(32% 0.03 246);
    --l-line-strong: oklch(42% 0.04 246);
    --l-text: oklch(96% 0.008 255);
    --l-text-soft: oklch(78% 0.015 255);
    --l-text-mute: oklch(58% 0.02 255);
    --l-accent: oklch(78% 0.18 168);
    --l-accent-ink: oklch(14% 0.05 170);
    --l-accent-2: oklch(70% 0.2 45);
    --l-grid: oklch(24% 0.03 246 / 0.4);
}

html[data-theme-mode="light"] {
    --l-bg: oklch(97% 0.004 246);
    --l-bg-deep: oklch(99% 0.002 246);
    --l-surface: oklch(100% 0 0);
    --l-surface-2: oklch(95% 0.006 246);
    --l-line: oklch(85% 0.008 246);
    --l-line-strong: oklch(68% 0.015 246);
    --l-text: oklch(16% 0.02 252);
    --l-text-soft: oklch(32% 0.018 252);
    --l-text-mute: oklch(52% 0.015 252);
    --l-accent: oklch(58% 0.17 170);
    --l-accent-ink: oklch(99% 0.01 170);
    --l-accent-2: oklch(55% 0.2 35);
    --l-grid: oklch(60% 0.015 246 / 0.15);
}

/* === RESET ДЛЯ ЛЕНДИНГА === */
.landing-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--l-text);
    background: var(--l-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, oklch(from var(--l-accent) l c h / 0.12), transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 0%, oklch(from var(--l-accent-2) l c h / 0.08), transparent 60%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.landing-body * { box-sizing: border-box; }

.landing-body a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease-out-quart);
}

.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4,
.landing-body p {
    margin: 0;
    font-weight: inherit;
}

.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.landing-body p { text-wrap: pretty; }

::selection {
    background: var(--l-accent);
    color: var(--l-accent-ink);
}

/* === ФОН: ГРИД + НОЙЗ === */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--l-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--l-grid) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 90%);
    opacity: 0.5;
}

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

html[data-theme-mode="light"] .noise-overlay { opacity: 0.28; mix-blend-mode: multiply; }

/* === TOPBAR === */
.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: oklch(from var(--l-bg) l c h / 0.72);
    border-bottom: 1px solid var(--l-line);
}

.landing-topbar__inner {
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 14px var(--landing-pad);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--landing-gutter);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

.brand__mark {
    display: inline-flex;
    align-self: center;
}

.brand__name {
    font-family: var(--font-editorial);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 48, "SOFT" 50;
}

.brand__mono {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--l-text-mute);
    letter-spacing: 0.02em;
}

.landing-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.landing-nav a {
    padding: 8px 14px;
    color: var(--l-text-soft);
    border-radius: 999px;
    transition: all 0.25s var(--ease-out-quart);
    position: relative;
}

.landing-nav a::before {
    content: "·";
    margin-right: 6px;
    color: var(--l-text-mute);
    opacity: 0.4;
}

.landing-nav a:hover {
    color: var(--l-text);
    background: var(--l-surface);
}

.landing-topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === КНОПКА ТЕМЫ === */
.theme-switch {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--l-line);
    border-radius: 50%;
    color: var(--l-text-soft);
    cursor: pointer;
    transition: all 0.25s var(--ease-out-quart);
}

.theme-switch:hover {
    color: var(--l-text);
    border-color: var(--l-line-strong);
    background: var(--l-surface);
    transform: rotate(-20deg);
}

.theme-switch__icon { transition: all 0.3s var(--ease-out-quart); }
.theme-switch__icon--sun { display: none; }
.theme-switch__icon--moon { display: block; }
html[data-theme-mode="dark"] .theme-switch__icon--sun { display: block; }
html[data-theme-mode="dark"] .theme-switch__icon--moon { display: none; }

/* === КНОПКИ === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-quart);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--l-accent);
    color: var(--l-accent-ink);
    border-color: var(--l-accent);
}

.btn--primary:hover {
    background: oklch(from var(--l-accent) calc(l - 0.05) c h);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px oklch(from var(--l-accent) l c h / 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--l-text-soft);
    border-color: var(--l-line);
}

.btn--ghost:hover {
    color: var(--l-text);
    border-color: var(--l-line-strong);
    background: var(--l-surface);
}

.btn--lg {
    padding: 12px 22px;
    font-size: 0.96rem;
}

.btn--xl {
    padding: 16px 28px;
    font-size: 1.04rem;
}

.btn__arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* === MAIN LAYOUT === */
.landing-main {
    position: relative;
    z-index: 2;
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 0 var(--landing-pad);
}

/* === HERO === */
.hero {
    position: relative;
    padding: clamp(32px, 6vw, 64px) 0 clamp(56px, 8vw, 100px);
}

.hero__signal {
    position: absolute;
    top: clamp(12px, 3vw, 24px);
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--l-line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--l-text-mute);
    background: oklch(from var(--l-surface) l c h / 0.6);
    backdrop-filter: blur(8px);
}

.hero__signal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--l-accent);
    box-shadow: 0 0 0 0 oklch(from var(--l-accent) l c h / 0.4);
    animation: signal-pulse 2.4s ease-out infinite;
}

@keyframes signal-pulse {
    0% { box-shadow: 0 0 0 0 oklch(from var(--l-accent) l c h / 0.5); }
    70% { box-shadow: 0 0 0 10px oklch(from var(--l-accent) l c h / 0); }
    100% { box-shadow: 0 0 0 0 oklch(from var(--l-accent) l c h / 0); }
}

.hero__pulse {
    width: 100px;
    height: 18px;
    color: var(--l-accent);
}

.hero__pulse-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 0;
    animation: pulse-run 3s linear infinite;
}

@keyframes pulse-run {
    from { stroke-dashoffset: 500; }
    to { stroke-dashoffset: 0; }
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 56px);
    align-items: start;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 480px);
        gap: clamp(40px, 4vw, 72px);
    }
}

@media (min-width: 1200px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) 500px;
    }
}

/* === HERO COPY === */
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 clamp(20px, 2.5vw, 28px);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--l-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__eyebrow-num {
    color: var(--l-accent);
    font-weight: 600;
}

.hero__eyebrow-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--l-line-strong), transparent);
}

.landing-body h1.hero__title {
    font-family: var(--font-editorial);
    font-size: clamp(2.6rem, 6.2vw, 4.8rem);
    font-weight: 500;
    font-variation-settings: "opsz" 96, "SOFT" 30;
    line-height: 1.08;
    letter-spacing: -0.038em;
    margin: 0 0 clamp(40px, 4.5vw, 56px);
    max-width: 16ch;
    padding-bottom: 0.08em;
}

.hero__title-line {
    display: block;
    margin-bottom: 0.08em;
}

.hero__title-line:last-of-type { margin-bottom: 0; }

.hero__title-line--italic {
    font-style: italic;
    font-weight: 400;
    color: var(--l-text-soft);
    font-variation-settings: "opsz" 96, "SOFT" 100;
}

.hero__title-line--accent {
    color: var(--l-accent);
    display: inline;
}

.hero__title-dot {
    color: var(--l-accent);
    display: inline;
}

.landing-body p.hero__lead {
    font-size: clamp(1.02rem, 1.15vw, 1.14rem);
    line-height: 1.65;
    color: var(--l-text-soft);
    max-width: 48ch;
    margin: 0 0 clamp(32px, 3.5vw, 40px);
    font-weight: 400;
}

.hero__lead em {
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 500;
    color: var(--l-text);
    font-variation-settings: "opsz" 14, "SOFT" 100;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 clamp(40px, 5vw, 56px);
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 0;
    margin: 0;
    padding-top: 28px;
    border-top: 1px dashed var(--l-line);
    max-width: 560px;
}

.metric {
    padding: 0 24px 0 0;
    border-right: 1px dashed var(--l-line);
    margin-right: 24px;
}

.metric:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.metric dt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--l-text-mute);
    margin: 0 0 6px;
}

.metric dd {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.metric__val {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--l-text);
    font-variation-settings: "opsz" 96;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.metric__unit {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--l-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* === TERMINAL (правая колонка hero) === */
.hero__terminal {
    position: relative;
    background: var(--l-surface);
    border: 1px solid var(--l-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 1px 0 0 oklch(from var(--l-surface-2) l c h) inset,
        0 40px 100px -40px oklch(0% 0 0 / 0.3),
        0 10px 30px -10px oklch(from var(--l-accent) l c h / 0.15);
}

html[data-theme-mode="light"] .hero__terminal {
    box-shadow:
        0 1px 0 0 oklch(100% 0 0) inset,
        0 40px 80px -30px oklch(50% 0.05 246 / 0.18),
        0 10px 30px -10px oklch(from var(--l-accent) l c h / 0.2);
}

.terminal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--l-line);
    background: var(--l-surface-2);
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.terminal__dots {
    display: flex;
    gap: 6px;
}

.terminal__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--l-line-strong);
}

.terminal__dots span:first-child { background: oklch(70% 0.2 25); }
.terminal__dots span:nth-child(2) { background: oklch(82% 0.15 85); }
.terminal__dots span:last-child { background: oklch(75% 0.18 150); }

.terminal__path {
    color: var(--l-text-mute);
    flex: 1;
}

.terminal__badge {
    padding: 2px 8px;
    border: 1px solid var(--l-line);
    border-radius: 4px;
    color: var(--l-text-soft);
    font-variant-numeric: tabular-nums;
}

.terminal__body {
    padding: 20px;
}

.terminal__prompt {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--l-text-soft);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--l-line);
}

.terminal__prompt em {
    color: var(--l-accent);
    font-style: normal;
}

.terminal__prompt strong {
    color: var(--l-text);
    font-weight: 500;
}

.terminal__arrow {
    color: var(--l-accent);
    margin-right: 6px;
}

.terminal__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
    counter-reset: none;
}

.terminal__step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 14px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.25s var(--ease-out-quart);
    opacity: 0;
    transform: translateX(-8px);
    animation: step-in 0.6s var(--ease-out-expo) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes step-in {
    to { opacity: 1; transform: translateX(0); }
}

.terminal__step:hover {
    background: var(--l-surface-2);
}

.terminal__step-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--l-text-mute);
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
}

.terminal__step strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--l-text);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.terminal__step p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--l-text-mute);
    line-height: 1.45;
}

.terminal__check {
    font-size: 0.92rem;
    color: var(--l-accent);
    padding-top: 2px;
    font-family: var(--font-mono);
}

.terminal__check--live {
    color: var(--l-accent);
    animation: live-blink 1.6s ease-in-out infinite;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.terminal__step--pending .terminal__check { color: var(--l-text-mute); }
.terminal__step--pending strong { color: var(--l-text-soft); }

.terminal__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--l-line);
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.terminal__label {
    color: var(--l-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.terminal__value { color: var(--l-text-soft); }

/* === SECTION EYEBROW (универсальный) === */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 clamp(16px, 2vw, 24px);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--l-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-eyebrow__num {
    color: var(--l-accent);
    font-weight: 600;
}

.section-eyebrow__line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--l-line-strong), transparent);
}

.section-eyebrow--light { color: oklch(from var(--l-accent-ink) l c h / 0.8); }
.section-eyebrow--light .section-eyebrow__line { background: linear-gradient(90deg, oklch(from var(--l-accent-ink) l c h / 0.3), transparent); }
.section-eyebrow--light .section-eyebrow__num { color: var(--l-accent-ink); }

.section-title {
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 4vw, 3rem);
    font-variation-settings: "opsz" 72, "SOFT" 50;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 22ch;
    margin: 0 0 clamp(16px, 2vw, 24px);
}

.accent-text {
    color: var(--l-accent);
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--l-text-soft);
    max-width: 62ch;
    line-height: 1.6;
    margin: 0;
}

/* === CONCEPT === */
.concept {
    padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
    border-top: 1px solid var(--l-line);
}

.concept__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(32px, 4vw, 50px);
}

.concept__card {
    position: relative;
    padding: clamp(24px, 3vw, 36px);
    background: var(--l-surface);
    border: 1px solid var(--l-line);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 14px;
    align-content: start;
    transition: all 0.3s var(--ease-out-quart);
    overflow: hidden;
}

.concept__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, oklch(from var(--l-accent) l c h / 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-quart);
    pointer-events: none;
}

.concept__card:hover {
    border-color: var(--l-line-strong);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -30px oklch(0% 0 0 / 0.3);
}

.concept__card:hover::before { opacity: 1; }

.concept__card--accent {
    background: linear-gradient(145deg, oklch(from var(--l-accent) l c h / 0.12), var(--l-surface) 70%);
    border-color: oklch(from var(--l-accent) l c h / 0.3);
}

.concept__index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--l-accent);
    letter-spacing: 0.12em;
    font-weight: 600;
}

.concept__card h3 {
    font-family: var(--font-editorial);
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    font-variation-settings: "opsz" 48, "SOFT" 50;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.concept__card p {
    color: var(--l-text-soft);
    font-size: 1rem;
    line-height: 1.55;
}

.concept__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-top: 4px;
    justify-self: start;
    border: 1px solid var(--l-line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--l-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.concept__tag::before {
    content: "◆";
    color: var(--l-accent);
    font-size: 0.6rem;
}

/* === METHOD === */
.method {
    padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
    border-top: 1px solid var(--l-line);
}

.method__header {
    max-width: 820px;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.method__rows {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--l-line);
}

.method__row {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(18px, 2.5vw, 28px) 0;
    border-bottom: 1px solid var(--l-line);
    align-items: center;
    transition: background 0.25s var(--ease-out-quart);
}

.method__row:hover {
    background: linear-gradient(90deg, oklch(from var(--l-accent) l c h / 0.04), transparent);
}

.method__label {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.method__label-num {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--l-accent);
    line-height: 1;
    font-variation-settings: "opsz" 72, "SOFT" 100;
}

.method__label strong {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--l-text-soft);
}

.method__value {
    font-family: var(--font-editorial);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-variation-settings: "opsz" 72, "SOFT" 50;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--l-text);
}

.method__row--final .method__value { color: var(--l-accent); }

.method__value--flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    font-variation-settings: normal;
}

.method__value--flow > span:not(.method__arrow) {
    padding: 6px 14px;
    border: 1px solid var(--l-accent);
    border-radius: 999px;
    background: oklch(from var(--l-accent) l c h / 0.08);
    color: var(--l-accent);
    font-size: 0.9rem;
    letter-spacing: 0;
}

.method__arrow {
    color: var(--l-accent);
    opacity: 0.6;
    font-family: var(--font-mono);
}

@media (max-width: 719px) {
    .method__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* === CTA === */
.cta {
    padding: clamp(60px, 10vw, 100px) 0;
}

.cta__inner {
    position: relative;
    padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 60px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, oklch(from var(--l-accent-2) l c h / 0.4), transparent 60%),
        linear-gradient(135deg, var(--l-accent), oklch(from var(--l-accent) calc(l - 0.1) c calc(h + 20)));
    color: var(--l-accent-ink);
    overflow: hidden;
    isolation: isolate;
}

.cta__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, oklch(from var(--l-accent-ink) l c h / 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, oklch(from var(--l-accent-ink) l c h / 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 120% 80% at 0% 100%, black 30%, transparent 80%);
}

.cta__inner::after {
    content: "∞";
    position: absolute;
    top: -30px;
    right: -10px;
    font-family: var(--font-editorial);
    font-size: clamp(10rem, 18vw, 18rem);
    line-height: 1;
    font-weight: 300;
    color: oklch(from var(--l-accent-ink) l c h / 0.12);
    z-index: -1;
    transform: rotate(-15deg);
    font-variation-settings: "opsz" 144;
}

.cta__title {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-variation-settings: "opsz" 96, "SOFT" 40;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 clamp(28px, 4vw, 44px);
    max-width: 26ch;
}

.cta__title em {
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta .btn--primary {
    background: var(--l-accent-ink);
    color: var(--l-accent);
    border-color: var(--l-accent-ink);
}

.cta .btn--primary:hover {
    background: oklch(from var(--l-accent-ink) calc(l + 0.05) c h);
    box-shadow: 0 8px 24px oklch(from var(--l-accent-ink) l c h / 0.4);
}

.cta .btn--ghost {
    color: var(--l-accent-ink);
    border-color: oklch(from var(--l-accent-ink) l c h / 0.3);
}

.cta .btn--ghost:hover {
    background: oklch(from var(--l-accent-ink) l c h / 0.08);
    border-color: oklch(from var(--l-accent-ink) l c h / 0.5);
}

/* === FOOTER === */
.landing-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--l-line);
    padding: 30px 0;
}

.landing-footer__inner {
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 0 var(--landing-pad);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.landing-footer__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.landing-footer__nav {
    display: flex;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.landing-footer__nav a { color: var(--l-text-soft); }
.landing-footer__nav a:hover { color: var(--l-text); }

/* === REVEAL ANIMATIONS === */
/* JS помечает body.js-ready когда observer готов - только тогда скрываем */
.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.7s var(--ease-out-expo),
        transform 0.7s var(--ease-out-expo);
}

.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === МОБИЛКА === */
@media (max-width: 859px) {
    .landing-nav { display: none; }

    .landing-topbar__inner {
        grid-template-columns: auto 1fr;
    }

    .hero__signal { position: static; margin-bottom: 24px; }
    .hero__pulse { display: none; }

    .hero__actions .btn {
        flex: 1;
        min-width: 140px;
    }

    .hero__metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .metric {
        padding: 0;
        margin: 0;
        border: 0;
    }
}

@media (max-width: 479px) {
    .landing-topbar__actions .btn--ghost { display: none; }

    .brand__mono { display: none; }

    .hero__metrics {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .metric {
        border-bottom: 1px dashed var(--l-line);
        padding-bottom: 14px;
    }

    .metric:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
// sync test 1776435500
