/* DYOR design kit — CSS @layers порядок.
   tokens < components < (page CSS вне layer'а — выше всех)
   Page-стили автоматически перекрывают kit без необходимости в !important. */
@layer tokens, components;

@layer tokens {
:root {
    /* Color System */
    --bg-dark: #181A20;
    --bg-darker: #12151A;
    --bg-table: #1E2026;
    --bg-forest: #011B0F;        /* dashboard sub-theme: card bg (16 use) */
    --bg-forest-light: #013520;  /* dashboard sub-theme: hover/lighter forest (7 use) */
    --text-primary: #ECF5FF;
    --text-secondary: #B0BEC5;
    --text-tertiary: #8A9BAE;
    --text-inverse: #020302; /* тёмный текст на ярких/светлых фонах (9 use) */
    --accent-primary: #3AFFA3;
    --accent-primary-pressed: #29ba6d;
    --accent-secondary: #00C8FF;
    --border-color: #2B3139;
    --negative: #FF5E5E;
    --negative-pressed: #b34242;

    /* Accent-primary с прозрачностью (числа справа — частота в проекте) */
    --accent-primary-bg-faint: rgba(58, 255, 163, 0.05);  /* 29 */
    --accent-primary-bg: rgba(58, 255, 163, 0.1);         /* 63 */
    --accent-primary-bg-strong: rgba(58, 255, 163, 0.15); /* 37 */
    --accent-primary-bg-heavy: rgba(58, 255, 163, 0.3);   /* 34 */

    /* Negative с прозрачностью */
    --negative-bg: rgba(255, 94, 94, 0.1);                /* 17 */
    --negative-bg-strong: rgba(255, 94, 94, 0.15);        /* 12 */
    --negative-bg-heavy: rgba(255, 94, 94, 0.3);          /* 9 */

    /* Semantic aliases — отдельное имя для семантики, value делится с другим токеном */
    --positive: var(--accent-primary);     /* price-gain — то же что accent, но семантически другой */
    --highlight: var(--accent-primary-bg); /* alias для accent-primary-bg */

    /* Семантические цвета (Material-style, используются хардкодом в dialog/admin) */
    --warning: #FFC107;  /* 14 */
    --error: #F44336;    /* 15 */
    --success: #4CAF50;  /* 11 */
    --alert: #FF6723;    /* 5, оранжевый для "expiring"/"about to fail" между warning и error */

    /* Brand цвета бирж/партнёров */
    --brand-binance: #F0B90B; /* 17 */

    /* Typography System */
    /* Font Families */
    --font-body: 'Onest', 'Inter', sans-serif;
    --font-heading: 'Onest', sans-serif;

    /* Font Sizes - Desktop */
    --font-h1-desktop: 48px;
    --font-h2-desktop: 32px;
    --font-h3-desktop: 24px;
    --font-h4-desktop: 20px;
    --font-lg-desktop: 18px;
    --font-body-desktop: 16px;
    --font-small-desktop: 14px;
    --font-xs-desktop: 13px;
    --font-2xs-desktop: 12px;
    --font-3xs-desktop: 11px;
    --font-button-desktop: 16px;

    /* Font Sizes - Mobile */
    --font-h1-mobile: 32px;
    --font-h2-mobile: 28px;
    --font-h3-mobile: 24px;
    --font-body-mobile: 14px;
    --font-small-mobile: 12px;
    --font-button-mobile: 14px;

    /* Font Weights */
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-medium: 500;
    --font-weight-regular: 400;
    --font-weight-light: 300;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;

    /* Letter Spacing */
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.5px;
    --letter-spacing-button: 0.5px;
}}

@layer tokens {
:root {
    /* Spacing scale — 4px grid.
       Используется для padding, margin, gap.
       Числа в имени = шаг × 4px. */
    --space-0: 0;
    --space-px: 1px;
    --space-0-5: 2px;
    --space-1: 4px;
    --space-1-5: 6px;
    --space-2: 8px;
    --space-2-5: 10px;
    --space-3: 12px;
    --space-3-5: 14px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-15: 60px;
    --space-20: 80px;
}
}

@layer tokens {
:root {
    /* Border radius scale. */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-sm-plus: 6px;
    --radius-md: 8px;
    --radius-md-plus: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    --radius-circle: 50%;
}
}

@layer tokens {
:root {
    /* Нейтральные тени для elevation на тёмном фоне.
       Числа справа — частота встречаемости в проекте. */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);              /* 3 */
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);            /* 5 */
    --shadow-md-strong: 0 4px 12px rgba(0, 0, 0, 0.3);      /* 5 */
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);             /* 5 */
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);            /* 9, modal */

    /* Accent-glow: подсветка в фирменный зелёный. */
    --shadow-accent-sm: 0 4px 12px rgba(58, 255, 163, 0.1); /* 12, subtle */
    --shadow-accent-md: 0 4px 12px rgba(58, 255, 163, 0.3); /* 5, button hover */
    --shadow-accent-lg: 0 8px 24px rgba(58, 255, 163, 0.3); /* 4, card hover */

    /* Focus rings — для :focus-visible. */
    --shadow-focus: 0 0 0 3px rgba(58, 255, 163, 0.1);      /* 9, input focus */
    --shadow-focus-thin: 0 0 0 2px rgba(58, 255, 163, 0.1); /* 5 */
    --shadow-focus-strong: 0 0 0 2px rgba(58, 255, 163, 0.3); /* 4 */

    /* Danger glow для красных кнопок. */
    --shadow-danger: 0 4px 12px rgba(255, 94, 94, 0.3);     /* 4 */
}
}

@layer tokens {
:root {
    /* Длительности transition. */
    --duration-fast: 0.15s;
    --duration-base: 0.2s;
    --duration-slow: 0.3s;
    --duration-slower: 0.35s;

    /* Easing. */
    --ease-default: ease;
    --ease-in-out: ease-in-out;
}
}

@layer tokens {
:root {
    /* Семантическая шкала z-index — чтобы избежать гонки слоёв.
       Между значениями оставлен запас на промежуточные элементы. */
    --z-base: 0;
    --z-raised: 1;
    --z-dropdown: 100;
    --z-sticky: 800;
    --z-fixed: 1000;
    --z-modal-backdrop: 9000;
    --z-modal: 9999;
    --z-toast: 10000;
    --z-tooltip: 10001;
}
}

@layer tokens {
:root {
    /* Icon font sizes — для FontAwesome <i> и .icon-классов.
       Меньшие иконки используют типографические токены (--font-* desktop). */
    --icon-md: 32px;  /* 6 use — средние иконки в карточках */
    --icon-lg: 48px;  /* ~14 use — empty-state, error-icon, upload-icon */
    --icon-xl: 64px;  /* ~5 use — empty-state крупные */
}
}

@layer components {
/* Typography utility classes.
   Используют токены из colors.css, чтобы страницам не нужно было
   хардкодить размеры/семейство/вес. */

.h1 {
    font-family: var(--font-heading);
    font-size: var(--font-h1-desktop);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-normal);
    margin: 0;
}

.h2 {
    font-family: var(--font-heading);
    font-size: var(--font-h2-desktop);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-normal);
    margin: 0;
}

.h3 {
    font-family: var(--font-heading);
    font-size: var(--font-h3-desktop);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-normal);
    margin: 0;
}

.body {
    font-family: var(--font-body);
    font-size: var(--font-body-desktop);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-normal);
}

.body-sm {
    font-family: var(--font-body);
    font-size: var(--font-small-desktop);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-normal);
}

.button-text {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-button);
}

/* Табличные (моноширинные) цифры — для цен, таймеров, счётчиков. */
.mono-num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" on, "lnum" on;
}

@media (max-width: 768px) {
    .h1 {
        font-size: var(--font-h1-mobile);
    }

    .h2 {
        font-size: var(--font-h2-mobile);
    }

    .h3 {
        font-size: var(--font-h3-mobile);
    }

    .body {
        font-size: var(--font-body-mobile);
    }

    .body-sm {
        font-size: var(--font-small-mobile);
    }

    .button-text {
        font-size: var(--font-button-mobile);
    }
}
}

@layer components {
/* DYOR button kit.
   API: одиночные классы (.button-primary, .button-error, ...). Размер
   маркируется суффиксом (-small). Все размеры/радиусы/переходы/цвета
   приходят из tokens. */

.button-primary {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--accent-primary);
    color: var(--bg-darker);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-2-5) var(--space-4);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-primary:hover {
        background-color: var(--accent-primary-pressed);
        color: var(--bg-darker);
    }
}

.button-primary-small {
    font-family: var(--font-body);
    font-size: var(--font-button-mobile);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--accent-primary);
    color: var(--bg-darker);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-1-5) var(--space-3);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-primary-small:hover {
        background-color: var(--accent-primary-pressed);
        color: var(--bg-darker);
    }
}

.button-error {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--negative);
    color: var(--bg-darker);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-2-5) var(--space-4);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-error:hover {
        background-color: var(--negative-pressed);
        color: var(--bg-darker);
    }
}

.button-error-small {
    font-family: var(--font-body);
    font-size: var(--font-button-mobile);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--negative);
    color: var(--bg-darker);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-1-5) var(--space-3);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-error-small:hover {
        background-color: var(--negative-pressed);
        color: var(--bg-darker);
    }
}

.button-warning-small {
    font-family: var(--font-body);
    font-size: var(--font-button-mobile);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--warning);
    color: var(--bg-darker);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-1-5) var(--space-3);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
}

@media (hover: hover) and (pointer: fine) {
    .button-warning-small:hover {
        background-color: #FF8C00;
        color: var(--bg-darker);
    }
}

.button-close {
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-circle);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-close:hover {
        background-color: var(--highlight);
        color: var(--accent-primary);
    }
}

.button-back {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    position: absolute;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    top: var(--space-5);
    left: var(--space-5);
    padding: var(--space-2-5) var(--space-4);
    color: var(--text-primary);
    z-index: var(--z-raised);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
    align-items: center;
    gap: var(--space-2);
}

@media (hover: hover) and (pointer: fine) {
    .button-back:hover {
        background-color: var(--highlight);
        color: var(--accent-primary);
        border-color: var(--accent-primary);
    }

    .button-back:hover svg path {
        stroke: var(--accent-primary);
    }
}

.button-icon {
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-circle);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-icon:hover {
        background-color: var(--highlight);
        color: var(--accent-primary);
    }
}

.button-link {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: transparent;
    color: var(--accent-primary-pressed);
    border: none;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-link:hover {
        color: var(--accent-primary);
        text-decoration: underline;
    }
}

/* SVG icon button (fill) */
.button-svg-icon {
    background: transparent;
    border: none;
    padding: var(--space-1-5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-svg-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: fill var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-svg-icon:hover svg {
        fill: var(--accent-primary);
    }
}

.sidebar .button-svg-icon.active svg {
    fill: var(--accent-primary);
}

/* SVG icon button (stroke) */
.button-svg-icon-stroke {
    background: transparent;
    border: none;
    padding: var(--space-1-5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: fill var(--duration-slow) var(--ease-default);
}

.button-svg-icon-stroke svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
}

@media (hover: hover) and (pointer: fine) {
    .button-svg-icon-stroke:hover svg {
        stroke: var(--accent-primary);
    }
}

.sidebar .button-svg-icon-stroke.active svg {
    stroke: var(--accent-primary);
}

.button-secondary {
    font-family: var(--font-body);
    font-size: var(--font-button-desktop);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-2-5) var(--space-4);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

@media (hover: hover) and (pointer: fine) {
    .button-secondary:hover {
        background-color: var(--highlight);
        border-color: var(--accent-primary);
        color: var(--accent-primary);
    }
}

.button-secondary-small {
    font-family: var(--font-body);
    font-size: var(--font-button-mobile);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: var(--border-color);
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-1-5) var(--space-3);
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-secondary-small:hover {
        background-color: var(--accent-primary-pressed);
        color: var(--bg-darker);
    }
}

.button-text-small {
    font-family: var(--font-body);
    font-size: var(--font-button-mobile);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--space-1) var(--space-2);
    cursor: pointer;
    transition: color var(--duration-base) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
    .button-text-small:hover {
        color: var(--accent-primary-pressed);
    }
}

/* === Global states ===
   Применяются ко всем .button-* классам сразу. */

.button-primary,
.button-primary-small,
.button-secondary,
.button-secondary-small,
.button-error,
.button-error-small,
.button-warning-small,
.button-close,
.button-back,
.button-icon,
.button-link,
.button-svg-icon,
.button-svg-icon-stroke,
.button-text-small {
    /* hook for shared states (focus-visible / disabled). Empty by design. */
}

.button-primary:focus,
.button-primary-small:focus,
.button-secondary:focus,
.button-secondary-small:focus,
.button-error:focus,
.button-error-small:focus,
.button-warning-small:focus,
.button-close:focus,
.button-back:focus,
.button-icon:focus,
.button-link:focus,
.button-svg-icon:focus,
.button-svg-icon-stroke:focus,
.button-text-small:focus {
    outline: none;
}

/* Keyboard-only focus ring (не показывается при click). */
.button-primary:focus-visible,
.button-primary-small:focus-visible,
.button-secondary:focus-visible,
.button-secondary-small:focus-visible,
.button-error:focus-visible,
.button-error-small:focus-visible,
.button-warning-small:focus-visible,
.button-close:focus-visible,
.button-back:focus-visible,
.button-icon:focus-visible,
.button-link:focus-visible,
.button-svg-icon:focus-visible,
.button-svg-icon-stroke:focus-visible,
.button-text-small:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

/* Disabled state — единый для всех кнопок kit'а. */
.button-primary:disabled,
.button-primary-small:disabled,
.button-secondary:disabled,
.button-secondary-small:disabled,
.button-error:disabled,
.button-error-small:disabled,
.button-warning-small:disabled,
.button-close:disabled,
.button-back:disabled,
.button-icon:disabled,
.button-link:disabled,
.button-svg-icon:disabled,
.button-svg-icon-stroke:disabled,
.button-text-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
}

@layer components {
.modal-content {
    color: white;
    background-color: #181A20;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-header,
.modal-footer {
    border-color: #6c757d;
}

/* Dark‐mode form controls inside any .modal-content */
.modal-content .form-control {
    background-color: #181A20;
    border-color: #495057;
    color: #cdcdcd;
}

/* Placeholder text */
.modal-content .form-control::placeholder {
    color: #393939; /* lighter gray */
    opacity: 1; /* ensure full visibility */
}

/* For older WebKit browsers */
.modal-content .form-control::-webkit-input-placeholder {
    color: #393939;
}

.modal-content .form-control:-ms-input-placeholder {
    color: #393939;
}

.modal-content .form-control::-ms-input-placeholder {
    color: #393939;
}}

@layer components {
.dyor-switch {
    /* —— CONFIGURABLE VARS —— */
    --switch-width: 30px;
    --switch-height: 15px;
    --knob-size: 13px;
    --knob-offset: 1px;
    /* ———————————————— */

    position: relative;
    display: inline-block;
    width: var(--switch-width);
    height: var(--switch-height);
}

.dyor-switch-container {
    display: inline-flex;
    align-items: center;
}

.dyor-switch-text {
    margin-right: 0.5em; /* space between text and switch */
    user-select: none;
    font-size: 0.9em;
    color: var(--text-primary);
}

.dyor-switch .dyor-switch-input {
    /* hide the native checkbox */
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.dyor-switch .dyor-switch-label {
    /* the track */
    display: block;
    width: 100%;
    height: 100%;
    background-color: #6c757d;
    border-radius: calc(var(--switch-height) / 2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dyor-switch .dyor-switch-label::before {
    /* the knob */
    content: "";
    position: absolute;
    width: var(--knob-size);
    height: var(--knob-size);
    left: var(--knob-offset);
    top: var(--knob-offset);
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* checked = active state */
.dyor-switch .dyor-switch-input:checked ~ .dyor-switch-label {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.dyor-switch .dyor-switch-input:checked ~ .dyor-switch-label::before {
    transform: translateX(calc(var(--switch-width) - var(--knob-size) - 2 * var(--knob-offset)));
}}

@layer components {
/* Адаптивная сетка-примитив.
   Кол-во колонок задаётся через --dyor-grid-cols (по умолчанию одна колонка),
   gap — через --dyor-grid-gap. На узких экранах сворачивается в одну колонку. */

.dyor-grid {
    display: grid;
    grid-template-columns: var(--dyor-grid-cols, 1fr);
    gap: var(--dyor-grid-gap, var(--space-5));
    align-items: start;
}

/* Грид-элементы по умолчанию имеют min-width:auto и не сжимаются ниже
   min-content потомков — это раздувает fr-треки. Разрешаем сжатие. */
.dyor-grid > * {
    min-width: 0;
}

@media (max-width: 900px) {
    .dyor-grid {
        grid-template-columns: 1fr;
    }
}

/* Вертикальный стек одинаковых отступов — частый случай внутри колонок. */
.dyor-stack {
    display: flex;
    flex-direction: column;
    gap: var(--dyor-stack-gap, var(--space-5));
}
}

@layer components {
/* Карточка-поверхность. Нейтральный фон по умолчанию, forest-вариант — для
   дашборд-саб-темы. Паддинг можно переопределить через --dyor-card-pad. */

.dyor-card {
    background: var(--bg-table);
    border-radius: var(--radius-2xl);
    padding: var(--dyor-card-pad, var(--space-5));
    box-shadow: var(--shadow-md);
}

.dyor-card--forest {
    background: var(--bg-forest);
}

.dyor-card--glow {
    box-shadow: var(--shadow-accent-sm);
}
}

@layer components {
/* Бейдж/пилюля. По умолчанию — акцентный приглушённый. Для произвольного цвета
   страница задаёт background/color инлайном. Solid-вариант — заливка. */

.dyor-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 3px var(--space-2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--font-3xs-desktop);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    background: var(--accent-primary-bg-strong);
    color: var(--accent-primary);
}

.dyor-tag--solid {
    background: var(--accent-primary);
    color: var(--bg-darker);
}
}

@layer components {
/* Полоса прогресса. Высота — через --dyor-progress-h. Ширину заполнения
   (__bar) выставляет страница инлайном. */

.dyor-progress {
    position: relative;
    height: var(--dyor-progress-h, var(--space-4));
    background: var(--bg-forest-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.dyor-progress__bar {
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    transition: width var(--duration-slow) cubic-bezier(.2, .8, .2, 1);
}
}

@layer components {
/* Skeleton-плейсхолдер с shimmer. Размеры/радиус выставляет страница инлайном. */

.dyor-skeleton {
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.04) 30%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.04) 70%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-sm-plus);
    animation: dyorShimmer 1.3s var(--ease-in-out) infinite;
}

@keyframes dyorShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dyor-skeleton { animation: none; }
}
}

@layer components {
/* Пустое состояние блока: иконка-кружок + заголовок + описание + действие. */

.dyor-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2-5);
    padding: var(--space-3-5) var(--space-4) var(--space-1-5);
}

.dyor-empty__icon {
    width: var(--space-12);
    height: var(--space-12);
    display: grid;
    place-items: center;
    border-radius: var(--radius-circle);
    background: var(--accent-primary-bg);
    color: var(--accent-primary);
    font-size: var(--font-h3-desktop);
}

.dyor-empty__title {
    font-family: var(--font-body);
    font-size: var(--font-body-desktop);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.dyor-empty__desc {
    font-family: var(--font-body);
    font-size: var(--font-xs-desktop);
    line-height: var(--line-height-normal);
    color: var(--text-tertiary);
    max-width: 320px;
}
}

@layer components {
.auth-error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 26, 32, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.auth-error-dialog {
    background-color: var(--bg-darker, #12151A);
    border: 1px solid var(--border-color, #2B3139);
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-error-title {
    color: var(--negative, #FF5E5E);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-error-message {
    color: var(--text-primary, #ECF5FF);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.auth-error-warning {
    background-color: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth-error-warning > div {
    color: var(--text-primary, #ECF5FF);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.auth-error-warning-link {
    color: var(--accent-primary, #3AFFA3);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.auth-error-warning-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.auth-error-details {
    margin-bottom: 24px;
}

.auth-error-details summary {
    color: var(--text-secondary, #B0BEC5);
    font-size: 14px;
    cursor: pointer;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    user-select: none;
    transition: background-color 0.2s;
}

.auth-error-details summary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.auth-error-details-content {
    color: var(--text-secondary, #B0BEC5);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2B3139);
    border-radius: 6px;
    padding: 16px;
    margin-top: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
}

.auth-error-copy-button {
    margin-top: 12px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #ECF5FF);
    border: 1px solid var(--border-color, #2B3139);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.auth-error-copy-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.auth-error-copy-button.copied {
    background-color: rgba(58, 255, 163, 0.2);
    border-color: var(--accent-primary, #3AFFA3);
    color: var(--accent-primary, #3AFFA3);
}

.auth-error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.auth-error-actions button {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-weight: 500;
}

@media (max-width: 600px) {
    .auth-error-dialog {
        padding: 24px;
        width: 95%;
    }

    .auth-error-title {
        font-size: 20px;
    }

    .auth-error-message {
        font-size: 14px;
    }

    .auth-error-actions {
        flex-direction: column;
    }

    .auth-error-actions button {
        width: 100%;
    }
}
}

/* Global focus-ring policy.
   No focus ring on pointer interaction (click / press-and-hold) — the keyboard
   ring is kept via :focus-visible (see buttons.css).

   This lives OUTSIDE @layer on purpose: the design-kit focus rules are layered
   (@layer components) and lose to Bootstrap's unlayered reboot + UA defaults,
   which is why a browser outline leaked onto every button across the app. An
   unlayered !important rule wins everywhere, on every page that loads the kit. */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Keyboard focus ring — brand accent (mint), never the ugly UA blue. Unlayered +
   !important so it wins over Bootstrap's reboot and the UA default on every element
   that doesn't already define its own focus style. */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-primary) !important;
    outline-offset: 2px;
}

/* New landing page — design tokens + component classes + responsive.
   Custom sub-theme palette (not the global kit): hex/px are intentional and
   the strict-value/color-no-hex rules are relaxed for landingNew in stylelint. */

:root {
    --ln-bg: #0A0B0D;
    --ln-surface: #181A20;
    --ln-surface-2: #12151A;
    --ln-surface-3: #1E2026;
    --ln-panel: #15181E;
    --ln-ink: #0B0E12;
    --ln-ink-2: #0E1014;
    --ln-line: #2B3139;
    --ln-line-soft: #1c1f26;
    --ln-accent: #3AFFA3;
    --ln-green-deep: #011B0F;
    --ln-green-border: #013520;
    --ln-green-tint: #0B1F14;
    --ln-white: #F9FAFB;
    --ln-t1: #F4F6F8;
    --ln-t2: #C9CFD8;
    --ln-t3: #E5E7EB;
    --ln-muted: #A6ADBA;
    --ln-muted-2: #8B939F;
    --ln-muted-3: #6B7280;
    --ln-muted-4: #5B616B;
    --ln-red: #FF5E5E;
    --ln-amber: #FFC107;
    --ln-btn-ink: #12151A;
    --ln-head: 'Exo 2', sans-serif;
    --ln-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--ln-bg);
    font-family: var(--ln-body);
    color: var(--ln-t3);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: clip;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.loaded { opacity: 1; }
::selection { background: rgba(58, 255, 163, 0.25); }

@keyframes dyor-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dyor-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes dyor-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dyor-glow { 0%, 100% { box-shadow: 0 0 40px 0 rgba(58, 255, 163, 0.18); } 50% { box-shadow: 0 0 70px 6px rgba(58, 255, 163, 0.30); } }
@keyframes ln-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(58, 255, 163, 0.1);
    border-top-color: var(--ln-accent);
    border-radius: 50%;
    animation: ln-spin 0.8s linear infinite;
    z-index: 9999;
}

/* ===== Utilities ===== */
.ln-kw { font-weight: 600; background: linear-gradient(100deg, #3affa3 8%, #8effd0 48%, #5cc8ff 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln-strong { color: var(--ln-t1); }
.ln-up { color: var(--ln-accent); }
.ln-down { color: var(--ln-red); }
.ln-dim { color: var(--ln-muted-3); }
.ln-tnum { font-variant-numeric: tabular-nums; }

/* ===== Section scaffolding ===== */
.ln-section { padding: 74px 56px; border-top: 1px solid var(--ln-line-soft); position: relative; }
.ln-section--surface { background: var(--ln-surface); }
.ln-section--surface2 { background: var(--ln-surface-2); }
.ln-section--ink { background: var(--ln-ink); overflow: hidden; }
.ln-head-center { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ln-split { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: 56px; align-items: center; }

.ln-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--ln-accent); }
.ln-h2 { font-family: var(--ln-head); font-weight: 800; font-size: clamp(38px, 3.3vw, 52px); line-height: 1.08; color: var(--ln-white); margin: 14px 0 16px; letter-spacing: -0.03em; }
.ln-lead { font-size: 16px; line-height: 1.6; color: var(--ln-muted); margin: 0; }
.ln-lead--narrow { max-width: 500px; margin-bottom: 24px; }

.ln-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--ln-accent); background: rgba(58, 255, 163, 0.1); border: 1px solid rgba(58, 255, 163, 0.3); border-radius: 6px; padding: 4px 10px; margin-bottom: 14px; }

/* ===== Buttons ===== */
.ln-btn { font-family: var(--ln-body); font-weight: 600; cursor: pointer; border-radius: 12px; border: none; transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease; }
.ln-btn--primary { color: var(--ln-btn-ink); background: var(--ln-accent); box-shadow: 0 0 0 1px rgba(58, 255, 163, 0.25), 0 8px 30px -8px rgba(58, 255, 163, 0.5); }
.ln-btn--ghost { color: var(--ln-t1); background: transparent; border: 1px solid var(--ln-line); }
.ln-btn--lg { font-size: 16px; padding: 15px 30px; }
.ln-btn--md { font-size: 15px; padding: 13px 24px; }
.ln-btn--block { width: 100%; padding: 13px; border-radius: 11px; font-size: 14.5px; }

/* ===== Feature rows ===== */
.ln-features { display: flex; flex-direction: column; gap: 13px; }
.ln-feature { display: flex; gap: 12px; align-items: flex-start; }
.ln-feature > i { color: var(--ln-accent); margin-top: 3px; width: 18px; }
.ln-feature > span { font-size: 15px; color: var(--ln-t2); }
.ln-feature--sm > span { font-size: 14.5px; }

/* ===== Header / nav ===== */
.ln-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: max(16px, env(safe-area-inset-top)) max(34px, env(safe-area-inset-right)) 16px max(34px, env(safe-area-inset-left)); background: rgba(24, 26, 32, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln-line-soft); }
.ln-header__left { display: flex; align-items: center; gap: 40px; }
.ln-logo { display: flex; align-items: center; gap: 10px; }
.ln-logo__badge { width: 30px; height: 30px; border-radius: 9px; background: var(--ln-green-deep); border: 1px solid var(--ln-green-border); display: flex; align-items: center; justify-content: center; }
.ln-logo__badge span { font-family: var(--ln-head); font-weight: 800; font-size: 16px; color: var(--ln-accent); }
.ln-logo__word { font-family: var(--ln-head); font-weight: 700; font-size: 19px; letter-spacing: .5px; }
.ln-logo__word b { font-weight: 700; }
.ln-logo__d { color: var(--ln-white); }
.ln-logo__yor { color: var(--ln-accent); }
.ln-nav-links { display: flex; gap: 26px; }
.ln-nav-link { font-size: 14px; color: var(--ln-muted); cursor: pointer; }
.ln-header__right { display: flex; align-items: center; gap: 14px; }
.ln-signin { font-size: 14px; color: var(--ln-muted); cursor: pointer; }
.ln-nav-cta { font-size: 14px; padding: 10px 20px; border-radius: 10px; }
.ln-logo { display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.ln-logo-img { height: 28px; display: block; }
.ln-burger { display: none; background: none; border: none; color: var(--ln-muted); font-size: 18px; cursor: pointer; padding: 4px 6px; }
.ln-only-mobile { display: none; }
.ln-mobile-menu { display: none; }
.ln-mobile-menu.is-open { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 63px; z-index: 19; background: rgba(11, 14, 18, 0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln-line-soft); padding: 12px max(18px, env(safe-area-inset-right)) 16px max(18px, env(safe-area-inset-left)); }
.ln-mm-link { font-size: 15px; color: var(--ln-t2); cursor: pointer; padding: 11px 4px; border-bottom: 1px solid var(--ln-line-soft); }
.ln-mm-lang { margin: 10px 0 0; }

/* Hero mobile stats (mobile only) */
.ln-hero__stats { display: none; justify-content: space-between; border-top: 1px solid var(--ln-line-soft); padding-top: 18px; margin-top: 4px; }
.ln-hero__stat-num { font-family: var(--ln-head); font-weight: 800; font-size: 22px; color: var(--ln-white); }
.ln-hero__stat-lbl { font-size: 10.5px; color: var(--ln-muted-3); }

/* ===== Hero ===== */
.ln-hero { position: relative; overflow: visible; z-index: 3; background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 28%, #161b26 55%, #1e2331 78%, #0f1419 100%); }
/* Backgrounds keep their own clip so the laptop may travel out of the hero */
.ln-hero__bgwrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ln-hero__glow { position: absolute; top: -140px; right: -40px; width: 620px; height: 480px; background: radial-gradient(ellipse at center, rgba(58, 255, 163, 0.13), transparent 70%); filter: blur(14px); }
/* Dot grid behind the hero (masked to the center, 21st.dev style) */
.ln-hero__dots { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, #000 25%, transparent 74%); mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, #000 25%, transparent 74%); }

/* Cursor spotlight on cards (class added by JS) */
.ln-spot { position: relative; transition: transform 0.25s ease; }
.ln-spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.3s ease; background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(58, 255, 163, 0.13), transparent 68%); pointer-events: none; }
.ln-spot:hover::before { opacity: 1; }

/* Indicator names marquee */
.ln-marq { overflow: hidden; margin-top: 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ln-marq__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: dyor-marquee 36s linear infinite; }
.ln-marq__track span { font-family: var(--ln-head); font-weight: 700; font-size: 15px; letter-spacing: 2.5px; color: var(--ln-muted-3); white-space: nowrap; }
.ln-marq__track i { font-style: normal; color: var(--ln-accent); font-size: 10px; }

/* Aurora: two slow-drifting blurred color fields behind the hero */
/* No filter:blur here — re-blurring animated blobs each frame kills FPS;
   the radial gradients are already soft */
/* Static aurora: infinite animations here kept full-screen layers blending
   every frame and dragged the whole hero/tour zone below 60fps */
.ln-hero__aurora { position: absolute; inset: -15%; pointer-events: none; opacity: 0.6; }
.ln-hero__aurora::before { content: ''; position: absolute; width: 52%; aspect-ratio: 1.2; border-radius: 50%; top: 2%; left: 42%; background: radial-gradient(ellipse at center, rgba(58, 255, 163, 0.11) 0%, rgba(58, 255, 163, 0.05) 38%, transparent 68%); }
.ln-hero__aurora::after { content: ''; position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; bottom: -6%; right: 0; background: radial-gradient(ellipse at center, rgba(92, 200, 255, 0.07) 0%, rgba(92, 200, 255, 0.03) 40%, transparent 68%); }
@keyframes ln-aur1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-11%, 12%) scale(1.18); } }
@keyframes ln-aur2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(9%, -9%) scale(1.12); } }
/* Shimmer sweep on the hero primary CTA */
.ln-hero__cta .ln-btn--primary { position: relative; overflow: hidden; }
.ln-hero__cta .ln-btn--primary::after { content: ''; position: absolute; top: 0; bottom: 0; width: 42%; left: -62%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent); animation: ln-shimmer 5.5s ease-in-out 1.6s infinite; }
/* transform-only sweep: animating `left` forces layout every frame */
@keyframes ln-shimmer { 0%, 72% { transform: translateX(0) skewX(-18deg); } 88%, 100% { transform: translateX(470%) skewX(-18deg); } }
.ln-w { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
    .ln-hero__aurora::before, .ln-hero__aurora::after, .ln-hero__cta .ln-btn--primary::after { animation: none; }
}
.ln-hero__grid { position: relative; display: grid; grid-template-columns: 46% 54%; align-items: center; gap: 24px; padding: 64px 56px 60px; }
.ln-pill-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(58, 255, 163, 0.3); background: rgba(58, 255, 163, 0.06); border-radius: 999px; padding: 7px 14px; margin-bottom: 24px; }
.ln-pill-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ln-accent); animation: dyor-pulse 1.6s ease-in-out infinite; }
.ln-pill-badge__text { font-size: 11.5px; font-weight: 600; letter-spacing: 1.8px; color: var(--ln-accent); }
.ln-h1 { font-family: var(--ln-head); font-weight: 800; font-size: clamp(56px, 5.4vw, 90px); line-height: 1.01; color: var(--ln-white); margin: 0 0 24px; letter-spacing: -0.04em; }
.ln-hero__p1 { font-size: 17.5px; line-height: 1.6; color: var(--ln-muted); margin: 0 0 14px; max-width: 480px; }
.ln-hero__p2 { font-size: 15px; line-height: 1.6; color: var(--ln-muted-3); margin: 0 0 30px; max-width: 470px; }
.ln-hero__cta { display: flex; gap: 13px; margin-bottom: 26px; flex-wrap: wrap; }
.ln-checks { display: flex; gap: 22px; flex-wrap: wrap; }
.ln-check { font-size: 13px; color: var(--ln-muted-2); }
.ln-check > i { color: var(--ln-accent); margin-right: 6px; }
.ln-hero__media { position: relative; }
.ln-browser { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--ln-line); }
.ln-browser--glow { animation: dyor-glow 5s ease-in-out infinite; }
.ln-browser__bar { height: 28px; background: var(--ln-panel); display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--ln-line); }
.ln-dot { width: 8px; height: 8px; border-radius: 50%; }
.ln-dot--r { background: var(--ln-red); }
.ln-dot--y { background: var(--ln-amber); }
.ln-dot--g { background: var(--ln-accent); }
.ln-float-tag { position: absolute; bottom: 24px; left: -16px; background: var(--ln-btn-ink); border: 1px solid rgba(58, 255, 163, 0.35); border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); animation: dyor-float 5s ease-in-out infinite; }
.ln-float-tag__label { font-size: 10px; color: var(--ln-muted-3); letter-spacing: 1px; }
.ln-float-tag__val { font-size: 15px; font-weight: 700; color: var(--ln-accent); font-variant-numeric: tabular-nums; }
.ln-float-tag__sub { font-size: 10px; color: var(--ln-muted-3); margin-top: 2px; }

/* ===== Media frames ===== */
.ln-media-frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px -24px rgba(0, 0, 0, 0.75), 0 60px 140px -50px rgba(58, 255, 163, 0.12); }
.ln-media-frame--lg { border-radius: 16px; max-width: 1000px; margin: 0 auto 36px; }
.ln-media-video { display: block; width: 100%; object-fit: cover; background: var(--ln-ink); }
.ln-media-img { display: block; width: 100%; object-fit: cover; }
.ln-img-h330 { height: 330px; }
.ln-vid-h400 { height: 400px; }
.ln-vid-h380 { height: 380px; }
.ln-vid-h340 { height: 340px; }

/* ===== Ticker ===== */
.ln-ticker { border-top: 1px solid var(--ln-line-soft); border-bottom: 1px solid var(--ln-line-soft); height: 46px; display: flex; align-items: center; overflow: hidden; background: var(--ln-surface-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ln-ticker__track { display: flex; width: max-content; animation: dyor-marquee 40s linear infinite; }
.ln-ticker__item { display: flex; align-items: center; gap: 8px; padding: 0 22px; border-right: 1px solid var(--ln-line-soft); white-space: nowrap; }
.ln-ticker__sym { font-weight: 700; font-size: 13px; color: var(--ln-t2); }
.ln-ticker__price { font-size: 13px; font-variant-numeric: tabular-nums; }
.ln-ticker__chg { font-size: 11.5px; }

/* ===== Stat cards ===== */
.ln-stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.ln-stat { background: var(--ln-surface-3); border-radius: 12px; padding: 16px 14px; text-align: center; }
.ln-stat__num { font-family: var(--ln-head); font-weight: 800; font-size: 26px; color: var(--ln-accent); }
.ln-stat__label { font-size: 11.5px; color: var(--ln-muted-2); margin-top: 3px; }

/* ===== Indicator cards ===== */
.ln-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1080px; margin: 0 auto; }
.ln-icard { background: var(--ln-green-deep); border: 1px solid var(--ln-green-border); border-radius: 12px; padding: 18px 16px; }
.ln-icard > i { color: var(--ln-accent); font-size: 18px; }
.ln-icard__text { font-size: 13.5px; color: var(--ln-t2); margin-top: 12px; line-height: 1.4; }

/* ===== Metrics Builder ===== */
.ln-mb-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(58, 255, 163, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 255, 163, 0.035) 1px, transparent 1px); background-size: 46px 46px; }
.ln-mb-split { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.ln-mb-pipe { display: flex; align-items: stretch; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.ln-mb-step { flex: 1; min-width: 120px; background: var(--ln-surface-2); border: 1px solid var(--ln-line); border-radius: 12px; padding: 15px; }
.ln-mb-step--accent { background: var(--ln-green-deep); border-color: var(--ln-green-border); }
.ln-mb-step__label { font-size: 11px; color: var(--ln-muted-3); letter-spacing: 1px; margin-bottom: 8px; }
.ln-mb-step__val { font-size: 14px; font-weight: 600; color: var(--ln-t1); }
.ln-mb-step__val--accent { color: var(--ln-accent); }
.ln-mb-step__hint { font-size: 12px; color: var(--ln-muted-2); margin-top: 3px; line-height: 1.4; }
.ln-mb-arrow { display: flex; align-items: center; color: var(--ln-accent); font-size: 15px; }
.ln-mb-panel { background: var(--ln-panel); border: 1px solid var(--ln-line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.ln-mb-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ln-line); }
.ln-mb-panel__title { font-family: var(--ln-head); font-weight: 700; font-size: 17px; color: var(--ln-t1); }
.ln-mb-panel__sub { font-size: 12px; color: var(--ln-muted-3); margin-top: 2px; }
.ln-mb-reset { font-size: 12px; color: var(--ln-muted-2); border: 1px solid var(--ln-line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.ln-mb-panel__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ln-mb-flabel { font-size: 12px; color: var(--ln-muted-2); margin-bottom: 7px; }
.ln-mb-select { display: flex; align-items: center; justify-content: space-between; background: var(--ln-ink-2); border: 1px solid var(--ln-line); border-radius: 10px; padding: 12px 14px; }
.ln-mb-select span { font-size: 14px; color: var(--ln-t1); }
.ln-mb-select i { color: var(--ln-muted-3); font-size: 12px; }
.ln-mb-explain { font-size: 12px; color: var(--ln-accent); background: rgba(58, 255, 163, 0.06); border-left: 2px solid var(--ln-accent); border-radius: 0 6px 6px 0; padding: 8px 12px; margin-top: 8px; line-height: 1.5; }
.ln-mb-box { background: var(--ln-ink-2); border: 1px solid var(--ln-line); border-radius: 12px; padding: 14px; }
.ln-mb-box__title { font-size: 12px; color: var(--ln-muted-2); margin-bottom: 12px; }
.ln-mb-kv { display: flex; align-items: center; justify-content: space-between; }
.ln-mb-kv + .ln-mb-kv { margin-top: 12px; }
.ln-mb-kv__k { font-size: 13px; color: var(--ln-t2); }
.ln-mb-chip { display: flex; align-items: center; gap: 18px; background: var(--ln-panel); border: 1px solid var(--ln-line); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--ln-t1); }
.ln-mb-chip i { color: var(--ln-muted-3); font-size: 11px; }
.ln-mb-pill { background: var(--ln-panel); border: 1px solid var(--ln-line); border-radius: 8px; padding: 8px 18px; font-size: 13px; color: var(--ln-t1); font-variant-numeric: tabular-nums; }
.ln-mb-preview { background: var(--ln-ink-2); border: 1px dashed var(--ln-line); border-radius: 10px; padding: 14px; font-family: 'SF Mono', Menlo, monospace; font-size: 13px; color: var(--ln-t2); line-height: 1.5; }

/* ===== Pills / tags ===== */
.ln-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ln-pill { font-size: 13px; color: var(--ln-t2); background: var(--ln-surface-3); border: 1px solid var(--ln-line); border-radius: 999px; padding: 8px 15px; }

/* ===== Screeners ===== */
.ln-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.ln-tab { font-size: 13.5px; font-weight: 500; color: var(--ln-muted); background: var(--ln-surface-3); border: 1px solid var(--ln-line); border-radius: 9px; padding: 9px 18px; cursor: pointer; }
.ln-tab.is-active { font-weight: 600; color: var(--ln-btn-ink); background: var(--ln-accent); border-color: transparent; }
.ln-scr-img-wrap { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); max-width: 1040px; margin: 0 auto 30px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px -24px rgba(0, 0, 0, 0.75), 0 60px 140px -50px rgba(58, 255, 163, 0.12); }
.ln-scr-img { display: block; width: 100%; height: auto; }
.ln-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.ln-tcard { background: var(--ln-surface-3); border-radius: 14px; padding: 22px; }
.ln-tcard__title { font-family: var(--ln-head); font-weight: 700; font-size: 18px; color: var(--ln-t1); margin-bottom: 8px; }
.ln-tcard__desc { font-size: 13.5px; line-height: 1.55; color: var(--ln-muted-2); margin: 0; }
.ln-lock { text-align: center; font-size: 13px; color: var(--ln-muted-3); margin: 26px 0 0; }
.ln-lock i { margin-right: 6px; }

/* ===== Alerts ===== */
.ln-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ln-mini { background: var(--ln-surface-3); border-radius: 12px; padding: 16px; }
.ln-mini > i { color: var(--ln-accent); }
.ln-mini__title { font-size: 14px; font-weight: 600; color: var(--ln-t1); margin: 9px 0 4px; }
.ln-mini__desc { font-size: 12.5px; color: var(--ln-muted-2); line-height: 1.45; }
.ln-builder { background: var(--ln-surface-3); border: 1px solid var(--ln-line); border-radius: 16px; padding: 22px; }
.ln-builder__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ln-builder__title { font-family: var(--ln-head); font-weight: 700; font-size: 15px; color: var(--ln-t1); }
.ln-beta { font-size: 11px; color: var(--ln-accent); background: rgba(58, 255, 163, 0.1); border: 1px solid rgba(58, 255, 163, 0.3); border-radius: 6px; padding: 3px 9px; }
.ln-builder__rows { display: flex; flex-direction: column; gap: 10px; }
.ln-brow { display: flex; align-items: center; gap: 10px; }
.ln-brow__k { font-size: 11px; color: var(--ln-muted-3); width: 74px; }
.ln-brow__v { flex: 1; background: var(--ln-surface-2); border: 1px solid var(--ln-line); border-radius: 8px; padding: 9px 12px; font-size: 13px; color: var(--ln-t2); }
.ln-brow__v--accent { border-color: rgba(58, 255, 163, 0.3); color: var(--ln-accent); }
.ln-builder__foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ln-line); }
.ln-builder__foot > i { color: var(--ln-accent); }
.ln-builder__foot span { font-size: 13px; color: var(--ln-t2); }
.ln-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ln-accent); }
.ln-status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ln-accent); animation: dyor-pulse 1.6s ease-in-out infinite; }

/* ===== Dashboard ===== */
.ln-dash { max-width: 1040px; margin: 0 auto; background: #0b0d10; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 20px; padding: 24px; }
.ln-dash__col { display: flex; flex-direction: column; gap: 16px; }
.ln-dcard { background: #14171c; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 16px; }
.ln-dcard--glow { border-color: rgba(58, 255, 163, 0.28); box-shadow: 0 0 26px rgba(58, 255, 163, 0.07), inset 0 0 18px rgba(58, 255, 163, 0.03); }
.ln-dcard__cap { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; font-family: var(--ln-head); font-weight: 700; font-size: 14px; color: var(--ln-t1); }
.ln-dcard__ic { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(58, 255, 163, 0.09); border: 1px solid rgba(58, 255, 163, 0.2); }
.ln-dcard__ic i { color: var(--ln-accent); font-size: 11px; }
.ln-dcard__cap .ln-dash__count, .ln-dcard__cap .ln-live { margin-left: auto; }
.ln-dash__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ln-dash__welcome { font-family: var(--ln-head); font-weight: 700; font-size: 17px; color: var(--ln-t1); }
.ln-dash__trial { font-size: 12px; color: var(--ln-accent); border: 1px solid rgba(58, 255, 163, 0.3); border-radius: 999px; padding: 5px 12px; }
.ln-dash__cap { font-size: 11px; color: var(--ln-muted-3); letter-spacing: 1px; }
.ln-dash__cap--mt { margin: 20px 0 10px; }
.ln-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ln-quick__item { position: relative; background: linear-gradient(180deg, #13271c 0%, #0d1e15 100%); border: 1px solid rgba(58, 255, 163, 0.16); border-radius: 14px; padding: 15px 10px 13px; text-align: center; }
.ln-quick__ic { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 auto; border-radius: 50%; background: rgba(58, 255, 163, 0.09); border: 1px solid rgba(58, 255, 163, 0.22); }
.ln-quick__ic i { color: var(--ln-accent); font-size: 15px; }
.ln-quick__item > span:last-child { display: block; font-size: 11.5px; color: var(--ln-t2); margin-top: 9px; }
.ln-new { position: absolute; top: -8px; right: 10px; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: var(--ln-btn-ink); background: var(--ln-accent); border-radius: 999px; padding: 2px 8px; }

.ln-dash__sub { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12px; color: var(--ln-accent); }
.ln-dash__badge { font-size: 11px; letter-spacing: 1.2px; color: var(--ln-muted-3); border: 1px solid var(--ln-line); border-radius: 999px; padding: 5px 12px; }
.ln-dash__caprow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ln-dash__cap--mt.ln-dash__caprow { margin-top: 20px; }
.ln-dash__count { font-size: 11px; color: var(--ln-muted-3); }
.ln-dash__count b { color: var(--ln-accent); font-weight: 700; }

.ln-tagchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ln-chip { font-size: 10.5px; font-weight: 600; color: var(--ln-t2); background: #1a1e24; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 7px; padding: 4px 9px; }
.ln-chip--y { color: #ffd75e; border-color: rgba(255, 215, 94, 0.35); background: rgba(255, 215, 94, 0.08); }
.ln-chip--more { color: var(--ln-muted-3); }
.ln-notes { display: flex; flex-direction: column; gap: 8px; }
.ln-notes__row { display: flex; align-items: center; gap: 10px; background: #0e1114; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 10px 12px; }
.ln-notes__name { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--ln-t2); }
.ln-notes__name i { font-style: normal; font-weight: 400; color: var(--ln-muted-3); margin-left: 6px; }
.ln-notes__meta { font-size: 11px; color: var(--ln-muted-3); }

.ln-wl { background: #0e1114; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; overflow: hidden; }
.ln-wl__row { display: flex; align-items: center; gap: 10px; padding: 10px 13px; }
.ln-wl__row + .ln-wl__row { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ln-wl__av { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(58, 255, 163, 0.1); border: 1px solid rgba(58, 255, 163, 0.25); font-size: 12px; font-weight: 800; color: var(--ln-accent); }
.ln-wl__names { flex: 1; display: flex; flex-direction: column; }
.ln-wl__names b { font-size: 12.5px; color: var(--ln-t2); }
.ln-wl__names i { font-style: normal; font-size: 10px; color: var(--ln-muted-3); letter-spacing: 0.4px; }
.ln-wl__nums { display: flex; flex-direction: column; align-items: flex-end; }
.ln-wl__nums b { font-size: 12.5px; color: var(--ln-t1); font-variant-numeric: tabular-nums; }
.ln-wl__nums i { font-style: normal; font-size: 11px; }

.ln-live { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--ln-accent); }
.ln-feed__trig { color: var(--ln-accent); font-weight: 600; }
.ln-addons { display: flex; flex-direction: column; gap: 8px; }
.ln-addons__row { display: flex; align-items: center; gap: 10px; background: #0e1114; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--ln-t2); }
.ln-addons__row i { color: var(--ln-accent); font-size: 13px; }
.ln-addons__row span { flex: 1; }
.ln-addons__row em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ln-btn-ink); background: var(--ln-accent); border-radius: 8px; padding: 4px 12px; }
.ln-fav { background: var(--ln-green-tint); border: 1px solid var(--ln-green-border); border-radius: 12px; overflow: hidden; }
.ln-fav__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; }
.ln-fav__row + .ln-fav__row { border-top: 1px solid var(--ln-green-border); }
.ln-fav__sym { font-weight: 700; font-size: 13px; color: var(--ln-t2); }
.ln-fav__price { font-size: 13px; color: var(--ln-t2); font-variant-numeric: tabular-nums; }
.ln-fav__chg { font-size: 12px; }
.ln-feed { display: flex; flex-direction: column; gap: 9px; }
.ln-feed__item { background: #0e1114; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 11px 13px; }
.ln-feed__text { font-size: 12.5px; color: var(--ln-t2); }
.ln-feed__time { font-size: 11px; color: var(--ln-muted-3); margin-top: 3px; }
.ln-progress { background: var(--ln-green-tint); border: 1px solid var(--ln-green-border); border-radius: 10px; height: 8px; overflow: hidden; }
.ln-progress__bar { width: 60%; height: 100%; background: var(--ln-accent); }

/* ===== API ===== */
.ln-code { background: var(--ln-ink); border: 1px solid var(--ln-line); border-radius: 14px; overflow: hidden; }
.ln-code__bar { height: 34px; background: var(--ln-panel); display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--ln-line); }
.ln-code__path { margin-left: 10px; font-size: 11.5px; color: var(--ln-muted-3); font-family: monospace; }
.ln-code pre { margin: 0; padding: 20px; font-family: 'SF Mono', Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: var(--ln-t2); overflow-x: auto; }
.ln-code pre .c-comment { color: var(--ln-muted-3); }
.ln-code pre .c-accent { color: var(--ln-accent); }
.ln-code pre .c-str { color: var(--ln-amber); }

/* ===== Community ===== */
#ln-community { overflow: hidden; }
.ln-glow-tl { position: absolute; top: -80px; left: -40px; width: 480px; height: 380px; background: radial-gradient(ellipse at center, rgba(58, 255, 163, 0.08), transparent 70%); filter: blur(12px); }
.ln-chan-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ln-chan { display: flex; gap: 13px; align-items: center; }
.ln-chan__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--ln-green-deep); border: 1px solid var(--ln-green-border); display: flex; align-items: center; justify-content: center; }
.ln-chan__icon i { color: var(--ln-accent); }
.ln-chan__name { font-size: 14.5px; font-weight: 600; color: var(--ln-t1); }
.ln-chan__desc { font-size: 12.5px; color: var(--ln-muted-2); }
.ln-cta-row { display: flex; gap: 13px; flex-wrap: wrap; }
.ln-phone { justify-self: center; width: 330px; max-width: 100%; background: var(--ln-ink); border: 1px solid var(--ln-line); border-radius: 26px; padding: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.ln-phone__head { display: flex; align-items: center; gap: 10px; padding: 6px 6px 14px; border-bottom: 1px solid var(--ln-line-soft); }
.ln-phone__ava { width: 36px; height: 36px; border-radius: 50%; background: var(--ln-green-deep); border: 1px solid var(--ln-green-border); display: flex; align-items: center; justify-content: center; }
.ln-phone__ava span { font-family: var(--ln-head); font-weight: 800; font-size: 16px; color: var(--ln-accent); }
.ln-phone__name { font-size: 14px; font-weight: 600; color: var(--ln-t1); }
.ln-phone__sub { font-size: 11px; color: var(--ln-muted-3); }
.ln-phone__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 4px 6px; }
.ln-msg { background: var(--ln-panel); border-radius: 12px 12px 12px 4px; padding: 13px; }
.ln-msg__title { font-size: 13px; font-weight: 700; color: var(--ln-t1); margin-bottom: 7px; }
.ln-msg__body { font-size: 12px; line-height: 1.7; color: var(--ln-t2); }
.ln-msg__foot { font-size: 11px; color: var(--ln-muted-3); margin-top: 8px; }
.ln-phone__foot { font-size: 10.5px; color: var(--ln-muted-3); text-align: center; padding-top: 8px; }

/* ===== Education ===== */
.ln-edu-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--ln-surface-3); border-radius: 18px; padding: 36px 40px; }
.ln-edu-banner__body { max-width: 560px; }
.ln-edu-banner h2 { font-family: var(--ln-head); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--ln-white); margin: 12px 0; }
.ln-edu-banner p { font-size: 15.5px; line-height: 1.6; color: var(--ln-muted); margin: 0; }
.ln-edu-banner .ln-btn { white-space: nowrap; padding: 14px 28px; font-size: 15px; }

/* ===== Pricing ===== */
.ln-bill-toggle { display: flex; justify-content: center; margin-bottom: 34px; }
.ln-bill-toggle__inner { display: inline-flex; background: var(--ln-surface-2); border: 1px solid var(--ln-line); border-radius: 11px; padding: 4px; }
.ln-bill-btn { font-family: var(--ln-body); font-weight: 600; font-size: 13.5px; border: none; border-radius: 8px; padding: 9px 20px; cursor: pointer; background: transparent; color: var(--ln-muted); }
.ln-bill-btn.is-active { background: var(--ln-accent); color: var(--ln-btn-ink); }
.ln-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.ln-price-card { position: relative; background: var(--ln-surface-3); border: 1px solid var(--ln-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.ln-price-card--popular { background: var(--ln-green-deep); border-color: var(--ln-accent); box-shadow: 0 0 0 1px rgba(58, 255, 163, 0.2), 0 20px 50px rgba(0, 0, 0, 0.4); }
.ln-price-card__name { font-family: var(--ln-head); font-weight: 700; font-size: 20px; color: var(--ln-t1); }
.ln-price-card__price { margin: 14px 0 6px; }
.ln-price-card__price b { font-family: var(--ln-head); font-weight: 800; font-size: 42px; color: var(--ln-white); }
.ln-price-card__price b.is-accent { color: var(--ln-accent); }
.ln-price-card__per { font-size: 15px; color: var(--ln-muted-2); }
.ln-price-card__note { font-size: 12.5px; color: var(--ln-muted-3); margin-bottom: 20px; }
.ln-price-card__list { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.ln-pf { font-size: 13.5px; color: var(--ln-t2); }
.ln-pf--bright { color: var(--ln-t3); }
.ln-pf > i { margin-right: 9px; color: var(--ln-accent); }
.ln-price-card .ln-btn { margin-top: 22px; }
.ln-price-card__old { font-family: var(--ln-head); font-weight: 800; font-size: 26px; color: var(--ln-muted-3); text-decoration-thickness: 2px; }
.ln-price-card__arrow { font-family: var(--ln-head); font-weight: 800; font-size: 26px; color: var(--ln-muted-2); margin: 0 8px; }
.ln-price-card__crosslink { display: block; margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--ln-muted-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ln-line); transition: color 0.15s ease; }
.ln-price-card__crosslink:hover { color: var(--ln-accent); text-decoration-color: var(--ln-accent); }
.ln-price-card__ctanote { display: block; margin-top: 12px; text-align: center; font-size: 12px; color: var(--ln-muted-2); }
.ln-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--ln-btn-ink); background: var(--ln-accent); border-radius: 999px; padding: 5px 14px; }

/* ===== Roadmap ===== */
.ln-roadmap-grid { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ln-rm-card { background: var(--ln-surface-3); border-radius: 14px; padding: 22px; border-top: 2px solid var(--ln-line); }
.ln-rm-card--now { background: var(--ln-green-deep); border: 1px solid var(--ln-green-border); border-top: 2px solid var(--ln-accent); }
.ln-rm-card__year { font-family: var(--ln-head); font-weight: 800; font-size: 22px; color: var(--ln-muted-3); }
.ln-rm-card__year--mid { color: var(--ln-muted-2); }
.ln-rm-card__year--now { color: var(--ln-accent); }
.ln-rm-card p { font-size: 13px; line-height: 1.55; color: var(--ln-muted-2); margin: 10px 0 0; }
.ln-rm-card--now p { color: var(--ln-t2); }

/* ===== Partners ===== */
.ln-partners { padding: 54px 56px; background: var(--ln-surface); border-top: 1px solid var(--ln-line-soft); }
.ln-partners__label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--ln-muted-3); margin-bottom: 26px; }
.ln-partners__logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ln-partners__logos img { opacity: 0.7; height: 28px; }
.ln-partners__logos .ln-logo-bingx { height: 30px; width: auto; opacity: 0.7; }

/* ===== Footer ===== */
.ln-footer { padding: 56px max(56px, env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(56px, env(safe-area-inset-left)); background: var(--ln-ink-2); border-top: 1px solid var(--ln-line-soft); }
.ln-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.ln-footer__tagline { font-size: 13.5px; line-height: 1.6; color: var(--ln-muted-3); margin: 14px 0 16px; max-width: 280px; }
.ln-footer__socials { display: flex; gap: 12px; }
.ln-soc { width: 34px; height: 34px; border-radius: 9px; background: var(--ln-surface-3); display: flex; align-items: center; justify-content: center; color: var(--ln-muted); cursor: pointer; }
.ln-footer__coltitle { font-size: 13px; font-weight: 600; color: var(--ln-t1); margin-bottom: 14px; }
.ln-footer__col { display: flex; flex-direction: column; gap: 10px; }
.ln-footer__link { font-size: 13px; color: var(--ln-muted-2); cursor: pointer; text-decoration: none; }
.ln-footer__bottom { border-top: 1px solid var(--ln-line-soft); margin-top: 34px; padding-top: 22px; font-size: 12.5px; color: var(--ln-muted-4); }

/* ===== Language switcher (mirrors current landing) ===== */
.lang-switcher { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang-switcher .lang-option { background: none; border: none; cursor: pointer; padding: 2px 4px; font-family: var(--ln-body); font-weight: 600; font-size: 13px; color: var(--ln-t1); opacity: 0.55; transition: opacity 0.15s ease, color 0.15s ease; }
.lang-switcher .lang-option:hover { opacity: 1; }
.lang-switcher .lang-option.active { color: var(--ln-accent); opacity: 1; }
.lang-switcher .lang-sep { color: var(--ln-t1); opacity: 0.35; font-size: 13px; }

/* ===== Press / hover states (app-like tactile feedback) ===== */
.ln-btn, .ln-tab, .ln-bill-btn, .ln-nav-link, .ln-mm-link, .ln-footer__link, .ln-signin, .ln-pill, .ln-soc, .ln-cta-row .ln-btn {
    transition: transform 0.12s ease, filter 0.14s ease, opacity 0.14s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ln-btn:not(:disabled):active, .ln-tab:active, .ln-bill-btn:active { transform: scale(0.96); }
.ln-btn--primary:not(:disabled):active { filter: brightness(0.9); }
.ln-btn--ghost:active { background: rgba(255, 255, 255, 0.05); }
.ln-pill:active, .ln-soc:active { transform: scale(0.94); }
.ln-nav-link:active, .ln-mm-link:active, .ln-footer__link:active, .ln-signin:active { opacity: 0.55; }
@media (hover: hover) {
    .ln-btn--primary:not(:disabled):hover, .ln-nav-cta:not(:disabled):hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(58, 255, 163, 0.35), 0 14px 40px -8px rgba(58, 255, 163, 0.65); }
    .ln-spot:hover { transform: translateY(-4px); }
    .ln-btn--ghost:hover { border-color: var(--ln-accent); }
    .ln-nav-link:hover, .ln-footer__link:hover, .ln-signin:hover { color: var(--ln-t2); }
    .ln-soc:hover { color: var(--ln-accent); }
    .ln-tab:not(.is-active):hover { color: var(--ln-t2); }
}

/* ===== Responsive ===== */
/* Tablet + mobile: stack columns, collapse nav into a burger */
@media (max-width: 980px) {
    .ln-split, .ln-mb-split { grid-template-columns: 1fr !important; gap: 36px; }
    .ln-section, .ln-partners { padding: 56px 28px; }
    .ln-nav-links { display: none !important; }
    .ln-hide-mobile { display: none !important; }
    .ln-burger { display: inline-flex; align-items: center; }
    .ln-hero__grid { grid-template-columns: 1fr !important; padding: 48px 28px; }
    .ln-h1 { font-size: 42px; }
    .ln-h2 { font-size: 30px; }
    .ln-pricing-grid { grid-template-columns: 1fr !important; max-width: 460px; }
    .ln-roadmap-grid { grid-template-columns: 1fr 1fr !important; }
    .ln-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px; }
    .ln-footer { padding: 48px max(28px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
}

/* ===== Product tour: big centered showcases (TradingView / Coinglass style) ===== */
.ln-tour { position: relative; background: var(--ln-ink); border-top: 1px solid var(--ln-line-soft); overflow-x: clip; overflow-y: visible; }
.ln-tour__bg { position: absolute; inset: 0; background-image: radial-gradient(ellipse 900px 600px at 50% 6%, rgba(58, 255, 163, 0.05), transparent 65%), linear-gradient(rgba(58, 255, 163, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 255, 163, 0.03) 1px, transparent 1px); background-size: auto, 46px 46px, 46px 46px; pointer-events: none; }
.ln-tour__grid { position: relative; max-width: 1600px; margin: 0 auto; padding: 0 56px; }
.ln-tour__chapter { display: flex; flex-direction: column; align-items: center; padding: 110px 0 96px; }
.ln-tour__chapter + .ln-tour__chapter { border-top: 1px solid var(--ln-line-soft); }
.ln-tour__chapter > .ln-eyebrow { text-align: center; }
.ln-tour__chapter > .ln-h2 { text-align: center; }
.ln-tour__chapter > .ln-lead { text-align: center; max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; }
.ln-tour__chapter > .ln-features { order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px 36px; width: 100%; max-width: 1100px; margin-top: 40px; }
.ln-tour__chapter > .ln-pills { order: 2; justify-content: center; margin-top: 34px; }
.ln-tour__chapter > .ln-mini-grid { order: 2; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 1100px; margin-top: 40px; }
.ln-tour__chapter > .ln-builder { order: 3; margin-top: 22px; width: 100%; max-width: 560px; }
.ln-tour__stats { order: 3; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 900px; margin-top: 30px; }
.ln-tour__chapter > .ln-btn { order: 4; margin-top: 30px !important; }

/* The showcase itself: the product, huge, in a thin glass frame */
/* The showcase reads as a device bezel: generous outer radius, padded frame,
   content inside with minimal rounding (mobile-only — desktop hides these) */
.ln-showcase { order: 1; position: relative; width: 100%; max-width: 1100px; margin-top: 14px; padding: 8px; box-sizing: border-box; border-radius: 18px; background: #0c0e12; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 90px -24px rgba(0, 0, 0, 0.85), 0 80px 190px -40px rgba(58, 255, 163, 0.2); transition: transform 0.45s ease, box-shadow 0.45s ease; }
.ln-showcase::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.07) 32%, rgba(58, 255, 163, 0.28) 78%, rgba(255, 255, 255, 0.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ln-showcase::after { content: ''; position: absolute; inset: -7% -5%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(58, 255, 163, 0.09) 0%, rgba(58, 255, 163, 0.04) 42%, transparent 72%); pointer-events: none; }
.ln-show-video { display: block; width: 100%; height: auto; border-radius: 7px; background: #0b0d10; }
.ln-showcase__sheen { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 24%, transparent 40%); pointer-events: none; }
.ln-showcase .ln-float-tag { z-index: 3; }
.ln-float-tag--bl { left: -26px; bottom: 30px; }
.ln-float-tag--tr { left: auto; right: -22px; top: -18px; bottom: auto; }
@keyframes ln-glow-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (hover: hover) {
    .ln-showcase:hover { transform: translateY(-5px); transition-delay: 0s; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 38px 100px -24px rgba(0, 0, 0, 0.9), 0 90px 210px -40px rgba(58, 255, 163, 0.28); }
}

/* Chapter reveal: staggered — headline, then the screen, then the facts */
.ln-tour__chapter > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ln-tour__chapter > .ln-h2 { transition-delay: 0.06s; }
.ln-tour__chapter > .ln-lead { transition-delay: 0.12s; }
.ln-tour__chapter > .ln-showcase { transform: translateY(34px) scale(0.975); transition-delay: 0.2s; transition-duration: 0.75s; }
.ln-tour__chapter > .ln-features, .ln-tour__chapter > .ln-pills, .ln-tour__chapter > .ln-mini-grid { transition-delay: 0.34s; }
.ln-tour__chapter > .ln-builder, .ln-tour__chapter > .ln-stats-4 { transition-delay: 0.42s; }
.ln-tour__chapter > .ln-btn { transition-delay: 0.48s; }
.ln-tour__chapter.is-inview > * { opacity: 1; transform: none; }
/* chips pop in after their showcase, then keep floating */
.ln-showcase .ln-float-tag { opacity: 0; transform: translateY(10px) scale(0.85); transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s; }
.ln-tour__chapter.is-inview .ln-showcase .ln-float-tag { opacity: 1; transform: none; animation: dyor-float 5.5s ease-in-out 1s infinite; }
.ln-tour__chapter.is-inview .ln-showcase .ln-float-tag--tr { animation-delay: 1.6s; }

/* Pure-CSS laptop: aluminium lid, app bar, deck. Hero shows it static;
   the tour pins it and swaps the screen content inside. */
.ln-laptop { position: relative; width: 100%; transform-style: preserve-3d; }
.ln-laptop__lid { position: relative; border-radius: 20px; padding: 11px 11px 15px; background: linear-gradient(150deg, #3c414b 0%, #23262d 30%, #15171c 70%, #2b2f37 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 24px 56px rgba(0, 0, 0, 0.5); }
.ln-laptop__screen { position: relative; aspect-ratio: 16 / 9.8; border-radius: 10px; overflow: hidden; background: #0b0d10 center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9), inset 0 0 24px rgba(0, 0, 0, 0.55); }
.ln-laptop__bar { position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 0 11px; background: rgba(17, 19, 24, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ln-laptop__bar i { font-style: normal; font-size: 10px; letter-spacing: 0.3px; color: var(--ln-muted-3); margin-left: 9px; padding: 2px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.ln-laptop__screen video, .ln-laptop__screen img.ln-lap-media { position: absolute; inset: 26px 0 0; width: 100%; height: calc(100% - 26px); object-fit: cover; }

/* Browser + workspace chrome inside the laptop screen, all in cqw of a
   1920px-wide window so it miniaturizes together with the screenshot text.
   Row heights are tuned so the chart hole matches the hero shot (1920x991)
   exactly — the media meets the chrome with no letterbox gap:
   59.375 (16/9.5 screen) - 1.3 - 2.5 - 2.4 - 2.1 (menubar/tabs/omnibox/
   toolbar) - 2 (status bar) = 49.075; (100 - 2.4 - 2.5)/49.075 = 1.938 */
.ln-laptop__screen--ws { container-type: inline-size; background-color: #181a20; aspect-ratio: 16 / 9.5; }
.ln-ws__menubar { position: absolute; top: 0; left: 0; right: 0; height: 1.3cqw; z-index: 2; display: flex; align-items: center; gap: 1.1cqw; padding: 0 0.9cqw; background: #23262c; font-size: 0.6cqw; color: #8b8f98; white-space: nowrap; overflow: hidden; }
.ln-ws__mbmenu { letter-spacing: 0.02em; }
.ln-ws__mbright { margin-left: auto; }
.ln-ws__tabs { position: absolute; top: 1.3cqw; left: 0; right: 0; height: 2.5cqw; z-index: 2; display: flex; align-items: flex-end; gap: 0.45cqw; padding: 0 0.9cqw; background: #101216; }
.ln-ws__tabs .ln-dot { width: 0.55cqw; height: 0.55cqw; align-self: center; }
/* The single active tab shares the omnibox row color and sits flush on it —
   the classic "selected tab connected to the toolbar" look */
.ln-ws__tab { display: flex; align-items: center; gap: 0.45cqw; height: 1.9cqw; padding: 0 1cqw; margin-left: 0.45cqw; border-radius: 0.5cqw 0.5cqw 0 0; font-size: 0.66cqw; white-space: nowrap; overflow: hidden; }
.ln-ws__tab.is-on { background: #1a1d23; color: #d7dae0; }
.ln-ws__tab b { flex: none; width: 0.55cqw; height: 0.55cqw; border-radius: 0.16cqw; background: var(--ln-accent); }
.ln-ws__tabplus { align-self: center; color: #787b86; font-size: 0.9cqw; padding: 0 0.4cqw; }
.ln-laptop__screen--ws .ln-laptop__bar { top: 3.8cqw; height: 2.4cqw; padding: 0 0.9cqw; gap: 0.5cqw; background: #1a1d23; }
.ln-laptop__screen--ws .ln-laptop__bar i { flex: 1; margin-left: 0.4cqw; padding: 0.3cqw 0.9cqw; border-radius: 1cqw; font-size: 0.78cqw; letter-spacing: 0.02em; background: rgba(0, 0, 0, 0.35); }
.ln-ws__nav { color: #787b86; font-size: 0.9cqw; }
.ln-ws__bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 2cqw; z-index: 2; display: flex; align-items: center; gap: 0.9cqw; padding: 0 0.9cqw; background: #181a20; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.65cqw; color: #787b86; white-space: nowrap; overflow: hidden; }
.ln-ws__top { position: absolute; top: 6.2cqw; left: 0; right: 0; height: 2.1cqw; z-index: 2; display: flex; align-items: center; gap: 0.9cqw; padding: 0 0.6cqw; background: #181a20; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.68cqw; color: #9aa0aa; white-space: nowrap; overflow: hidden; }
.ln-ws__sym { display: flex; align-items: center; gap: 0.35cqw; font-weight: 700; color: #e6e6e6; }
.ln-ws__sym i { font-size: 0.55cqw; color: #787b86; }
.ln-ws__tf { display: flex; gap: 0.55cqw; }
.ln-ws__tf i { font-style: normal; }
.ln-ws__tf i.is-on { color: var(--ln-accent); font-weight: 700; }
.ln-ws__item { color: #9aa0aa; }
.ln-ws__item--dyor { color: var(--ln-accent); }
.ln-ws__save { margin-left: auto; color: #e6e6e6; }
.ln-ws__logo { display: flex; align-items: center; }
.ln-ws__logo img { height: 1cqw; width: auto; display: block; }
.ln-ws__left, .ln-ws__right { position: absolute; top: 8.3cqw; bottom: 2cqw; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1cqw; padding-top: 0.8cqw; background: #181a20; color: #787b86; font-size: 0.65cqw; }
.ln-ws__left { left: 0; width: 2.4cqw; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.ln-ws__right { right: 0; width: 2.5cqw; border-left: 1px solid rgba(255, 255, 255, 0.06); }
/* Media sits in the chart hole, tucked 1px under the rails/bars (no seams).
   The hero shot matches the hole aspect, so `contain` fills it edge to
   edge; the old 16:9 stage videos run `cover` (slight vertical crop) until
   they are re-recorded at the hole aspect */
.ln-laptop__screen--ws video, .ln-laptop__screen--ws img.ln-lap-media { inset: calc(8.3cqw - 1px) calc(2.5cqw - 1px) calc(2cqw - 1px) calc(2.4cqw - 1px); width: calc(100% - 4.9cqw + 2px); height: calc(100% - 10.3cqw + 2px); object-fit: contain; }
/* Tour videos carry the real app chrome in their own pixels — like the
   alerts demo they cover the drawn workspace chrome and sit right below
   the browser rows. Own bg hides the rails in the contain letterbox */
.ln-laptop__screen--ws video { inset: 6.2cqw 0 0; width: 100%; height: calc(100% - 6.2cqw); object-fit: contain; background: #181a20; z-index: 3; }
/* The alerts demo is its own app page: it covers the workspace chrome but
   keeps the browser mockup rows (the omnibox URL switches per chapter) */
.ln-stage-demo { z-index: 3; }
.ln-laptop__glare { position: absolute; inset: 0; z-index: 3; background: linear-gradient(112deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 42%); pointer-events: none; }
.ln-laptop__cam { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #0a0c0f; box-shadow: inset 0 0 2px rgba(90, 200, 255, 0.6); }
.ln-laptop__base { position: relative; margin: 0 -4.5%; height: 14px; border-radius: 3px 3px 12px 12px; background: linear-gradient(180deg, #3f444d 0%, #22252b 45%, #101216 100%); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.ln-laptop__base::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 13%; height: 5px; border-radius: 0 0 8px 8px; background: #14161a; }

/* Interactive alert-builder demo (chapter 4): lives inside the stage laptop
   on desktop and inside the chapter showcase on mobile */
.ln-stage-demo { position: absolute; inset: 6.2cqw 0 0; background: #0d1013; }
.ln-ademo { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; height: 100%; box-sizing: border-box; }
.ln-showcase--demo { background: #0d1013; }
.ln-showcase--demo .ln-ademo { height: auto; }
.ln-ademo__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--ln-head); font-weight: 700; font-size: 14.5px; color: var(--ln-t1); }
.ln-ademo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.ln-ademo__grid--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.ln-ademo__title, .ln-ademo input[data-k] { width: 100%; box-sizing: border-box; background: #14181d; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 9px; color: var(--ln-t2); font-family: var(--ln-body); font-size: 13px; padding: 9px 11px; }
.ln-ademo__title:focus, .ln-ademo input[data-k]:focus { border-color: var(--ln-accent); outline: none; }
.ln-ademo label { display: flex; flex-direction: column; gap: 5px; }
.ln-ademo label i { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: var(--ln-muted-3); }
.ln-ademo select { appearance: none; -webkit-appearance: none; width: 100%; background: #14181d url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%278%27 height=%275%27%3E%3Cpath d=%27M0 0l4 5 4-5z%27 fill=%27%236b7280%27/%3E%3C/svg%3E") no-repeat right 11px center; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 9px; color: var(--ln-t2); font-family: var(--ln-body); font-size: 13px; padding: 9px 28px 9px 11px; cursor: pointer; }
.ln-ademo select:focus { border-color: var(--ln-accent); outline: none; }
/* The app-wide `:focus-visible { outline: 2px !important }` ring doubles our
   accent border inside the demo — the border alone is the focus indicator */
.ln-ademo :focus-visible { outline: none !important; }
.ln-ademo__preview { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ln-t2); background: #101418; border: 1px dashed rgba(58, 255, 163, 0.28); border-radius: 9px; padding: 10px 12px; }
.ln-ademo__preview i { color: var(--ln-accent); }
.ln-ademo__btn { padding: 11px; }
.ln-ademo__btn:disabled { opacity: 0.6; cursor: default; }
.ln-ademo__toast { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.ln-ademo__toast.is-sent { opacity: 1; transform: none; }
.ln-ademo__tg { display: flex; align-items: center; gap: 10px; background: #17212b; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 10px 12px; }
.ln-ademo__tg > i { color: #2aabee; font-size: 20px; }
.ln-ademo__tg b { display: block; font-size: 12px; color: #fff; }
.ln-ademo__msg { font-size: 12px; color: var(--ln-t2); }
.ln-ademo__tg em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--ln-muted-3); }
.ln-ademo__status { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 11.5px; color: var(--ln-accent); }

/* Sticky stage: one shared laptop, content swaps inside it (desktop only) */
.ln-tour__stage { display: none; }
/* Static near-frontal pose: the infinite 3D drift re-blended the laptop
   (shadows + video) every frame for the whole tour */
.ln-laptop--stage { transform: rotateX(0.5deg) rotateY(-1deg); }
/* Hidden layers must not swallow clicks — the demo layer is interactive */
.ln-stage-media { opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.ln-stage-media.is-on { opacity: 1; pointer-events: auto; }
.ln-sats { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ln-sats .ln-float-tag { opacity: 0; transform: translateY(10px) scale(0.9); transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s; animation: none; }
.ln-sats.is-on .ln-float-tag { opacity: 1; transform: none; animation: dyor-float 5.5s ease-in-out 0.7s infinite; }
.ln-sats.is-on .ln-float-tag--tr { animation-delay: 1.3s; }

/* Desktop: chapters scroll on the left, the shared window is pinned on the right */
@media (min-width: 981px) {
    .ln-tour__grid { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 62%); gap: 56px; }
    .ln-tour__stage { display: block; position: relative; }
    .ln-tour__sticky { position: sticky; top: 70px; height: calc(100vh - 70px); height: calc(100svh - 70px); display: flex; flex-direction: column; justify-content: center; }
    .ln-lapwrap--stage { width: 100%; perspective: 1700px; }
    .ln-tour__sticky::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%); width: 92%; height: 70%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(58, 255, 163, 0.08) 0%, rgba(58, 255, 163, 0.04) 40%, transparent 70%); pointer-events: none; }
    .ln-tour__chapter { align-items: flex-start; min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); justify-content: center; padding: 48px 0; }
    .ln-tour__chapter + .ln-tour__chapter { border-top: none; }
    .ln-tour__chapter > .ln-eyebrow, .ln-tour__chapter > .ln-h2 { text-align: left; }
    .ln-tour__chapter > .ln-lead { text-align: left; margin-left: 0 !important; margin-right: 0 !important; max-width: 520px !important; }
    .ln-tour__chapter > .ln-features { display: flex; flex-direction: column; gap: 13px; max-width: none; margin-top: 26px; }
    .ln-tour__chapter > .ln-pills { justify-content: flex-start; margin-top: 26px; }
    .ln-tour__chapter > .ln-mini-grid { grid-template-columns: 1fr 1fr; max-width: none; margin-top: 26px; }
    .ln-tour__chapter > .ln-builder { max-width: 480px; margin-top: 20px; }
    .ln-tour__stats { grid-template-columns: repeat(4, 1fr); max-width: none; margin-top: 24px; }
    .ln-tour__chapter > .ln-btn { margin-top: 26px !important; }
    .ln-tour__chapter > .ln-showcase { display: none; }
    /* children are always shown on desktop; the whole chapter dims instead */
    .ln-tour__chapter > * { opacity: 1; transform: none; transition: none; }
    /* No dimming: the next chapter is readable the moment it enters. Snap-stop
       forbids momentum from skipping chapters while the tour snap is active */
    .ln-tour__chapter { scroll-snap-align: start; scroll-snap-stop: always; }
}

/* Hero glass window: hairline gradient border, bloom, satellites on corners */
.ln-appwin { position: relative; width: min(100%, 760px); border-radius: 18px; background: #0c0e12; will-change: transform; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 24px 70px -18px rgba(0, 0, 0, 0.85), 0 70px 170px -34px rgba(58, 255, 163, 0.22); }
.ln-appwin::before { content: ''; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 32%, rgba(58, 255, 163, 0.3) 78%, rgba(255, 255, 255, 0.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ln-appwin__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ln-appwin__bar i { font-style: normal; font-size: 11px; letter-spacing: 0.3px; color: var(--ln-muted-3); margin-left: 10px; padding: 3px 12px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); }
.ln-appwin__screen { position: relative; aspect-ratio: 16 / 9.6; border-radius: 0 0 17px 17px; overflow: hidden; background: #0b0d10 center / cover no-repeat; }
.ln-lap-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ln-appwin__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 24%, transparent 40%); pointer-events: none; }

.ln-hero__media { display: flex; align-items: center; justify-content: center; }
/* Flat wrapper around the tilted laptop: chips anchor to it so the 3D
   perspective can't skew them or detach them from the visible edges */
.ln-lapwrap { position: relative; }
.ln-lapwrap--hero { width: min(100%, 700px); perspective: 1700px; z-index: 5; }
.ln-laptop--hero { transform: rotateX(6deg) rotateY(-22deg); }
/* Chips sit clear of the laptop: below its bottom-left / above its top-right
   (dyor-float bobs -10px away from the body, so rest position is the worst
   case). Hero pose rx6/ry-22 projects the lid top ~28px ABOVE the layout
   box at the chip x-range — hence the bigger hero offset */
.ln-lapwrap .ln-float-tag--bl { left: 12px; bottom: -70px; }
.ln-lapwrap .ln-float-tag--tr { left: auto; right: 8px; top: -58px; bottom: auto; }
.ln-lapwrap--hero .ln-float-tag--tr { top: -96px; }
/* Hero banners off for now (user: попробуем без них) — delete this line to bring them back */
.ln-lapwrap--hero .ln-float-tag { display: none; }
/* At -22deg the right edge recedes ~25px — keep the chip on the visible corner */

/* Tour on tablet/mobile */
@media (max-width: 980px) {
    .ln-tour__grid { padding: 0 28px; }
    .ln-tour__chapter { padding: 60px 0 52px; }
    .ln-tour__chapter > .ln-mini-grid { grid-template-columns: 1fr 1fr; }
    /* Compact chips on phones — desktop sizes read huge next to a 390px showcase */
    .ln-float-tag { padding: 6px 10px; border-radius: 8px; }
    .ln-float-tag__label { font-size: 8.5px; letter-spacing: 0.8px; }
    .ln-float-tag__val { font-size: 12px; }
    .ln-float-tag__sub { font-size: 8.5px; }
    .ln-float-tag--tr { right: -6px; top: -12px; }
    .ln-float-tag--bl { left: -6px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .ln-tour__chapter > *, .ln-showcase .ln-float-tag { transition: none; opacity: 1; transform: none; animation: none !important; }
    .ln-showcase::after { animation: none; }
    .ln-laptop--stage { animation: none; transform: rotateX(0.5deg) rotateY(-1deg); }
    .ln-tour__sticky::before { animation: none; }
}

/* ===== Desktop rhythm: hero opens full-screen, every other block is never
   taller than one viewport (fits whole when scrolled to), but small blocks
   keep their natural height so the page stays dense — no inflated slides.
   Mobile (<=980px) keeps the normal document flow. ===== */
@media (min-width: 981px) {
    :root { --ln-header-h: 70px; --ln-ticker-h: 46px; }
    html { scroll-padding-top: var(--ln-header-h); }
    /* Strict snapping is enabled by JS only while inside the tour zone:
       one gesture = exactly one chapter, and no snap outside the tour */
    html.ln-snap { scroll-snap-type: y mandatory; }

    /* First screen: header + hero + ticker fill the viewport exactly */
    .ln-hero {
        min-height: calc(100vh - var(--ln-header-h) - var(--ln-ticker-h));
        min-height: calc(100svh - var(--ln-header-h) - var(--ln-ticker-h));
        box-sizing: border-box;
        display: flex; flex-direction: column; justify-content: center;
    }
    .ln-hero__grid { padding-top: 0; padding-bottom: 0; }

    /* Tall demo panels must never push a block past one viewport */
    .ln-mb-panel__head { padding: 10px 18px; }
    .ln-mb-panel__body { padding: 12px 18px; gap: 8px; }
    .ln-section { padding-top: 64px; padding-bottom: 64px; }
    .ln-scr-img-wrap { margin-bottom: 20px; }
}

/* Shorter desktops: compact the heaviest blocks so each still fits one screen */
@media (min-width: 981px) and (max-height: 940px) {
    .ln-section { padding-top: 44px; padding-bottom: 44px; }
    .ln-h1 { font-size: 46px; }
    .ln-h2 { font-size: 27px; }
    .ln-lead { font-size: 14.5px; }
    .ln-head-center { margin-bottom: 16px !important; }
    .ln-price-card { padding: 20px; }
    .ln-bill-toggle { margin-bottom: 20px; }
    .ln-rm-card { padding: 16px; }
    .ln-edu-banner { padding: 26px 32px; }
    .ln-mb-panel { zoom: 0.8; }
    .ln-scr-img-wrap { margin-bottom: 14px; }
}

/* Very short desktops (small laptops) */
@media (min-width: 981px) and (max-height: 760px) {
    .ln-section { padding-top: 32px; padding-bottom: 32px; }
    .ln-scr-img-wrap { margin-bottom: 10px; }
    .ln-tabs { margin-bottom: 10px; }
    .ln-tcard { padding: 12px 14px; }
    .ln-mb-panel { zoom: 0.65; }
    .ln-h1 { font-size: 40px; }
    .ln-h2 { font-size: 24px; }
    .ln-bill-toggle { margin-bottom: 14px; }
    .ln-price-card { padding: 14px 18px; }
    .ln-price-card__list { gap: 7px; }
    .ln-price-card__price { margin: 8px 0 4px; }
    .ln-price-card__note { margin-bottom: 12px; }
    .ln-price-card .ln-btn { margin-top: 12px; }
    .ln-price-card__price b { font-size: 32px; }
}

/* Phone — matches the 390px mobile design */
@media (max-width: 600px) {
    .ln-section, .ln-partners { padding: 34px 20px; }
    .ln-header { padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); }
    .ln-h1 { font-size: 32px; letter-spacing: -0.5px; }
    .ln-h2 { font-size: 24px; letter-spacing: -0.3px; margin: 10px 0; }
    .ln-logo-img { height: 24px; }
    .ln-only-desktop { display: none; }
    .ln-only-mobile { display: inline; }
    .ln-nav-cta { font-size: 12.5px; padding: 8px 13px; border-radius: 8px; }

    .ln-hero__grid { padding: 30px 20px 26px; gap: 0; }
    .ln-hero__media { display: none; }
    .ln-checks { display: none; }
    .ln-hero__stats { display: flex; }
    .ln-hero__cta { flex-direction: column; }
    .ln-hero__cta .ln-btn { width: 100%; padding: 14px; }
    .ln-hero__p1 { font-size: 14px; max-width: none; }
    .ln-hero__p2 { display: none; }

    .ln-grid-5, .ln-grid-3 { grid-template-columns: 1fr 1fr !important; }
    .ln-stats-4 { grid-template-columns: 1fr 1fr !important; }
    .ln-quick { grid-template-columns: repeat(3, 1fr) !important; }
    .ln-mb-pipe { flex-direction: column; }
    .ln-mb-arrow { transform: rotate(90deg); align-self: center; }
    .ln-edu-banner { padding: 24px 20px; }
    .ln-edu-banner .ln-btn { width: 100%; }
    .ln-phone { width: 100%; }
    .ln-cta-row { flex-direction: column; }
    .ln-cta-row .ln-btn { width: 100%; }
    .ln-code pre { font-size: 11px; }
}


/*# sourceMappingURL=landingNew.60963fd3.css.map*/