:root {
    --bg: #07111d;
    --bg-deep: #040a12;
    --shell: #0d1726;
    --panel: rgba(15, 24, 39, 0.92);
    --panel-soft: rgba(18, 29, 46, 0.84);
    --panel-strong: rgba(24, 38, 61, 0.96);
    --surface: rgba(15, 24, 39, 0.92);
    --surface-soft: rgba(18, 29, 46, 0.84);
    --surface-accent: rgba(87, 152, 255, 0.08);
    --line: rgba(121, 152, 196, 0.14);
    --line-strong: rgba(121, 152, 196, 0.24);
    --text: #edf4ff;
    --heading: #f7fbff;
    --muted: #9daecc;
    --muted-strong: #c6d4ea;
    --primary: #7ab6ff;
    --primary-dark: #5798ff;
    --success: #83e8aa;
    --warning: #ffbe70;
    --danger: #ff7f97;
    --info: #86efd2;
    --neutral: #8fa0bb;
    --sidebar-bg: linear-gradient(180deg, rgba(5, 10, 18, 0.98), rgba(8, 14, 24, 0.92));
    --sidebar-line: rgba(255, 255, 255, 0.08);
    --sidebar-text: #9daecc;
    --sidebar-active-bg: linear-gradient(180deg, rgba(87, 152, 255, 0.16), rgba(134, 239, 210, 0.08));
    --shadow-sm: 0 18px 44px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.42);
    --radius-xl: 32px;
    --radius-lg: 26px;
    --radius-md: 22px;
    --radius-sm: 18px;
}

/* Landing pro refresh */
.landing {
    display: block;
    color: #f6fbff;
}

.landing .button {
    width: fit-content;
}

.landing-hero--pro {
    position: relative;
    min-height: calc(100vh - 116px);
    padding: clamp(42px, 6vw, 82px);
    display: grid;
    align-content: space-between;
    gap: 48px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(90deg, rgba(4, 12, 22, 0.94) 0%, rgba(4, 12, 22, 0.76) 42%, rgba(4, 12, 22, 0.3) 100%),
        linear-gradient(180deg, rgba(6, 17, 28, 0.14), rgba(6, 17, 28, 0.9)),
        url("/assets/landing-operations-brand-alley.png") center / cover no-repeat;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.landing-hero--pro::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 46%;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(103, 255, 185, 0.28), transparent 62%);
    pointer-events: none;
}

.landing-hero--pro .landing-hero__content {
    position: relative;
    z-index: 1;
    width: min(780px, 100%);
    padding: 0;
}

.landing-hero--pro h1 {
    margin-top: 18px;
    font-size: clamp(72px, 8vw, 122px);
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow: 0 16px 52px rgba(0, 0, 0, 0.42);
}

.landing-hero--pro p {
    margin-top: 24px;
    max-width: 710px;
    color: rgba(235, 244, 255, 0.86);
    font-size: 20px;
    line-height: 1.7;
}

.landing-hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(920px, 100%);
}

.landing-hero__stats div {
    min-height: 104px;
    padding: 18px;
    display: grid;
    align-content: space-between;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 18, 31, 0.66);
    backdrop-filter: blur(18px);
}

.landing-hero__stats strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    color: #7ce7ff;
}

.landing-hero__stats span {
    color: rgba(222, 234, 245, 0.76);
    font-size: 14px;
}

.landing-showcase {
    margin-top: 18px;
    padding: clamp(32px, 5vw, 62px);
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    border-radius: 8px;
    background: #f5f1e8;
    color: #101827;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.landing-showcase__copy span,
.landing-grid article b {
    color: #0d8f62;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-showcase__copy h2 {
    margin-top: 14px;
    color: #0a1420;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.98;
    letter-spacing: 0;
}

.landing-showcase__copy p {
    margin-top: 18px;
    color: #52616f;
    font-size: 18px;
    line-height: 1.65;
}

.landing-showcase__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(16, 24, 39, 0.12);
    background: #0b1420;
}

.landing-showcase__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 28%, rgba(255, 255, 255, 0.08));
    pointer-events: none;
}

.landing-showcase__image img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-band {
    padding: clamp(58px, 7vw, 96px) 0;
}

.landing-band--light {
    margin-top: 18px;
    padding: clamp(42px, 6vw, 78px);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 241, 232, 0.94)),
        radial-gradient(circle at 14% 18%, rgba(124, 231, 255, 0.42), transparent 34%),
        #f5f1e8;
    color: #101827;
}

.landing-band--light .landing-section-head h2,
.landing-band--light .landing-grid h3 {
    color: #0a1420;
}

.landing-band--light .landing-section-head p,
.landing-band--light .landing-grid p {
    color: #586474;
}

.landing-band--light .landing-grid article {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(16, 24, 39, 0.1);
    box-shadow: 0 18px 44px rgba(23, 34, 52, 0.08);
}

.landing-section-head h2,
.landing-safety h2,
.landing-pricing h2,
.landing-final h2 {
    letter-spacing: 0;
}

.landing-grid article {
    border-radius: 8px;
}

.landing-grid article b {
    display: inline-flex;
    margin-bottom: 22px;
}

.landing-map {
    position: relative;
}

.landing-map::before {
    content: "";
    position: absolute;
    inset: 8% 8% auto auto;
    width: 360px;
    height: 360px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 231, 255, 0.14), transparent 68%);
}

.landing-flow {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 56px minmax(180px, 1fr) 56px minmax(180px, 1fr) 56px minmax(180px, 1fr);
    align-items: stretch;
}

.landing-flow__node {
    min-height: 250px;
    padding: 24px;
    display: grid;
    align-content: space-between;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(21, 32, 52, 0.94), rgba(13, 21, 34, 0.94)),
        radial-gradient(circle at 18% 12%, rgba(124, 231, 255, 0.22), transparent 38%);
}

.landing-flow__node span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #08111c;
    background: #7ce7ff;
    font-weight: 900;
}

.landing-flow__node h3 {
    margin-top: 34px;
    font-size: 24px;
}

.landing-flow__node p {
    margin-top: 12px;
    color: var(--muted-strong);
    line-height: 1.6;
}

.landing-flow__node.is-source span {
    background: #58f2a8;
}

.landing-flow__node.is-warning span {
    background: #ffcf66;
}

.landing-flow__node.is-success span {
    background: #b8ff7c;
}

.landing-flow__rail {
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, rgba(124, 231, 255, 0.1), rgba(124, 231, 255, 0.82), rgba(124, 231, 255, 0.1));
}

.landing-decision {
    padding: 26px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(9, 16, 26, 0.96)),
        radial-gradient(circle at 80% 0%, rgba(255, 207, 102, 0.2), transparent 38%);
}

.landing-decision__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-decision__top span {
    color: #7ce7ff;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-decision__top strong {
    color: #f6fbff;
}

.landing-decision__path {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.landing-decision__path div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.landing-decision__path span {
    color: var(--muted);
}

.landing-decision__path strong {
    text-align: right;
}

.landing-grid--feature article {
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(21, 32, 52, 0.9), rgba(11, 19, 31, 0.92)),
        radial-gradient(circle at 20% 0%, rgba(124, 231, 255, 0.12), transparent 36%);
}

.landing-pricing__card,
.landing-safety__panel,
.landing-faq details {
    border-radius: 8px;
}

.landing-final {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(88, 242, 168, 0.16), transparent 30%),
        linear-gradient(225deg, rgba(124, 231, 255, 0.18), transparent 32%),
        #08111c;
}

@media (max-width: 1280px) {
    .landing-hero__stats,
    .landing-showcase,
    .landing-safety,
    .landing-pricing {
        grid-template-columns: 1fr;
    }

    .landing-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .landing-flow__rail {
        width: 2px;
        height: 42px;
        justify-self: center;
        background: linear-gradient(180deg, rgba(124, 231, 255, 0.1), rgba(124, 231, 255, 0.82), rgba(124, 231, 255, 0.1));
    }
}

@media (max-width: 720px) {
    .landing-hero--pro {
        min-height: auto;
        padding: 30px 20px;
        background-position: 58% 50%;
    }

    .landing-hero--pro h1 {
        font-size: 58px;
    }

    .landing-hero--pro p {
        font-size: 17px;
    }

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

    .landing-showcase,
    .landing-band--light {
        padding: 24px;
    }

    .landing-showcase__copy h2 {
        font-size: 34px;
    }

    .landing-flow__node {
        min-height: 210px;
    }

    .landing-decision__top,
    .landing-decision__path div {
        display: grid;
    }

    .landing-decision__path strong {
        text-align: left;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(87, 152, 255, 0.18), transparent 18%),
        radial-gradient(circle at 85% 0%, rgba(134, 239, 210, 0.12), transparent 22%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #0b1627 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    letter-spacing: -0.03em;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

code {
    padding: 0.18rem 0.42rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #d9e8ff;
    font-size: 0.92em;
}

.shell-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.05), transparent 34%),
        radial-gradient(circle at 22% 18%, rgba(87, 152, 255, 0.09), transparent 26%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    background: rgba(7, 13, 22, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.topbar--with-sidebar {
    padding-left: 328px;
}

.topbar__title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.topbar__eyebrow,
.page-header__eyebrow,
.hero__eyebrow,
.kicker,
.stats-grid__label,
.mini-stat__label,
.panel-card__subtitle,
.sidebar__label,
.field label {
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.topbar__heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--heading);
}

.topbar__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar__meta-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__logout-form {
    margin: 0;
}

.topbar__user {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted-strong);
}

.sidebar {
    position: fixed;
    inset: 16px auto 16px 16px;
    width: 288px;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px 16px;
    border: 1px solid var(--sidebar-line);
    border-radius: 26px;
    background: var(--sidebar-bg);
    box-shadow: var(--shadow-lg);
    color: var(--sidebar-text);
    z-index: 50;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 174, 204, 0.42) transparent;
}

.sidebar__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 10px 14px;
    border-bottom: 1px solid var(--sidebar-line);
}

.sidebar__logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
    color: #07111f;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 28px rgba(87, 152, 255, 0.22);
}

.sidebar__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar__brand strong {
    font-size: 16px;
    color: #f8fbff;
    font-family: "Space Grotesk", sans-serif;
}

.sidebar__brand span {
    font-size: 12px;
    color: var(--sidebar-text);
}

.sidebar__section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar__section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: rgba(157, 174, 204, 0.78);
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.sidebar__section-toggle:hover {
    background: rgba(255, 255, 255, 0.045);
    color: var(--heading);
}

.sidebar__section-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 182, 255, 0.16);
}

.sidebar__label {
    color: rgba(157, 174, 204, 0.78);
}

.sidebar__section-toggle .sidebar__label {
    color: inherit;
}

.sidebar__section-icon {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.72;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.sidebar__section.is-collapsed .sidebar__section-icon {
    transform: rotate(-45deg);
}

.sidebar__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar__section.is-collapsed .sidebar__links {
    display: none;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 16px;
    color: var(--sidebar-text);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar a::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: rgba(157, 174, 204, 0.4);
}

.sidebar a:hover {
    color: #f8fbff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.sidebar a[aria-current="page"] {
    color: #f8fbff;
    background: var(--sidebar-active-bg);
    border-color: rgba(87, 152, 255, 0.16);
}

.sidebar a[aria-current="page"]::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(87, 152, 255, 0.14);
}

.sidebar__footer {
    margin-top: auto;
    padding: 16px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar__footer span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar__footer strong {
    color: #f8fbff;
    font-size: 14px;
    font-family: "Space Grotesk", sans-serif;
}

.page {
    position: relative;
    padding: 28px 28px 42px;
    max-width: 1580px;
}

.page--with-sidebar {
    margin-left: 304px;
}

.page-header,
.hero,
.card,
.form-card,
.stats-grid__card,
.table-card,
.empty-card,
.auth-card,
.panel-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.page-header::after,
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--info) 58%, transparent 100%);
    opacity: 0.92;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
}

.page-header__copy {
    max-width: 820px;
}

.page-header__eyebrow,
.hero__eyebrow,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-header h1,
.hero h1,
.page h1 {
    margin-top: 10px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.98;
    max-width: 16ch;
}

.page-header p,
.hero p,
.page-subtitle {
    margin-top: 12px;
    max-width: 820px;
    color: var(--muted-strong);
    font-size: 15px;
    line-height: 1.72;
}

.page-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 260px;
}

.page-header__actions form {
    margin: 0;
}

.page-header > .mini-stats {
    margin-top: 0;
    width: min(100%, 500px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero {
    padding: 30px 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    max-height: 100px;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--info));
    color: #07111f;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(87, 152, 255, 0.24);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 32px rgba(87, 152, 255, 0.28);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(121, 152, 196, 0.22);
    box-shadow: none;
}

.button--danger {
    background: linear-gradient(135deg, var(--danger), #ff98a9);
    color: #220710;
    box-shadow: 0 16px 30px rgba(255, 127, 151, 0.22);
}

.button--danger:hover {
    box-shadow: 0 20px 32px rgba(255, 127, 151, 0.28);
}

.button--sm {
    min-height: 40px;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 12px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mini-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.mini-stat,
.stats-grid__card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.mini-stat__label,
.stats-grid__label {
    color: var(--muted);
}

.mini-stat__value,
.stats-grid__value {
    margin-top: 12px;
    font-size: 32px;
    font-weight: 700;
    color: var(--heading);
    font-family: "Space Grotesk", sans-serif;
}

.mini-stat__meta {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 18px;
    margin-top: 24px;
}

.integrations-grid {
    align-items: stretch;
}

.integrations-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.integrations-card--form form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.integrations-card--form .button-row {
    margin-top: auto;
    padding-top: 18px;
}

.integrations-card--info .list {
    margin: 0;
}

.integrations-table-card .table-wrap {
    margin-top: 18px;
}

.integrations-table-card {
    margin-top: 24px;
}

.integration-actions {
    margin-top: 0;
    align-items: stretch;
    gap: 8px;
}

.integration-actions form {
    display: flex;
    margin: 0;
}

.integration-actions .button {
    min-width: 128px;
}

.integration-token-form {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    min-width: 260px;
}

.integration-token-form label {
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
}

.integration-token-form textarea {
    min-height: 88px;
}

.integration-token-form .button {
    justify-self: start;
}

.moderation-queue {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.moderation-item__header {
    margin-bottom: 0;
}

.moderation-item__heading {
    max-width: 760px;
}

.moderation-item__body {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    gap: 20px;
}

.moderation-context,
.moderation-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.moderation-block {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.moderation-block__label {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.moderation-copy {
    color: var(--heading);
    font-size: 14px;
    line-height: 1.75;
}

.moderation-copy--muted {
    color: var(--muted-strong);
}

.moderation-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.moderation-reply {
    min-height: 220px;
}

.moderation-comment {
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    padding: 0 14px;
}

.moderation-comment summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted-strong);
}

.moderation-comment summary::-webkit-details-marker {
    display: none;
}

.moderation-comment[open] {
    padding-bottom: 14px;
}

.moderation-comment[open] summary {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.moderation-comment .field {
    margin-bottom: 0;
}

.moderation-actions {
    margin-top: auto;
    padding-top: 4px;
}

.reviews-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.reviews-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card,
.table-card,
.form-card,
.empty-card,
.panel-card {
    padding: 22px;
}

.table-card__header,
.panel-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.card h2,
.form-card h2,
.table-card h2,
.empty-card h2,
.panel-card h2 {
    font-size: 24px;
}

.panel-card__subtitle {
    margin-bottom: 10px;
}

.panel-card__block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.muted {
    color: var(--muted);
}

.list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted-strong);
    line-height: 1.8;
}

.list li + li {
    margin-top: 8px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
}

.alert--success {
    color: #cbffe3;
    background: rgba(131, 232, 170, 0.12);
    border-color: rgba(131, 232, 170, 0.22);
}

.alert--error {
    color: #ffd2dc;
    background: rgba(255, 127, 151, 0.12);
    border-color: rgba(255, 127, 151, 0.22);
}

.alert--warning {
    color: #ffe0b8;
    background: rgba(255, 190, 112, 0.12);
    border-color: rgba(255, 190, 112, 0.22);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.field label {
    color: var(--muted-strong);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(121, 152, 196, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--heading);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(157, 174, 204, 0.72);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: rgba(87, 152, 255, 0.28);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.field textarea {
    min-height: 136px;
    resize: vertical;
}

.field select {
    color-scheme: light;
}

.setting-toggle {
    display: inline-grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 52px;
    margin-bottom: 0;
    padding: 10px 14px;
    border: 1px solid rgba(121, 152, 196, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--heading);
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.setting-toggle:hover {
    border-color: rgba(87, 152, 255, 0.26);
    background: rgba(255, 255, 255, 0.045);
}

.setting-toggle__input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.setting-toggle__control {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: rgba(157, 174, 204, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.setting-toggle__control::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease;
}

.setting-toggle__input:checked + .setting-toggle__control {
    border-color: rgba(134, 239, 210, 0.42);
    background: linear-gradient(135deg, var(--primary-dark), var(--info));
}

.setting-toggle__input:checked + .setting-toggle__control::after {
    transform: translateX(22px);
}

.setting-toggle__input:focus-visible + .setting-toggle__control {
    box-shadow: 0 0 0 4px rgba(122, 182, 255, 0.16);
}

.setting-toggle__copy {
    display: grid;
    gap: 2px;
}

.setting-toggle__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--heading);
}

.setting-toggle__note {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

select option,
select optgroup,
.field select option,
.field select optgroup {
    background: #ffffff;
    color: #111827;
}

.chip-row,
.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter,
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.status-stack {
    display: grid;
    gap: 10px;
}

.status-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.status-pill__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-pill__code {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.status-pill__value {
    min-width: 32px;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
    color: var(--heading);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: top;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(18, 29, 46, 0.96);
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.table tbody tr:hover {
    background: rgba(87, 152, 255, 0.04);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}

.badge--primary {
    color: #cfe4ff;
    background: rgba(87, 152, 255, 0.12);
    border-color: rgba(87, 152, 255, 0.16);
}

.badge--success {
    color: #d8ffe5;
    background: rgba(131, 232, 170, 0.12);
    border-color: rgba(131, 232, 170, 0.16);
}

.badge--warning {
    color: #ffe0b8;
    background: rgba(255, 190, 112, 0.12);
    border-color: rgba(255, 190, 112, 0.16);
}

.badge--danger {
    color: #ffd2dc;
    background: rgba(255, 127, 151, 0.12);
    border-color: rgba(255, 127, 151, 0.16);
}

.badge--neutral {
    color: #d3def2;
    background: rgba(143, 160, 187, 0.12);
    border-color: rgba(143, 160, 187, 0.16);
}

.badge--info {
    color: #d6fff5;
    background: rgba(134, 239, 210, 0.12);
    border-color: rgba(134, 239, 210, 0.16);
}

.review-table .review-cell__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.review-table .review-cell__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-table .review-cell__title,
.section-note {
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.65;
}

.review-table .review-cell__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
}

.review-table .review-cell__meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.review-table .review-cell__note {
    margin-top: 8px;
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.55;
}

.review-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    flex: 0 0 56px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    font-family: "Space Grotesk", sans-serif;
    background: rgba(255, 255, 255, 0.06);
}

.review-rating--low {
    color: var(--danger);
}

.review-rating--mid {
    color: var(--warning);
}

.review-rating--high {
    color: var(--success);
}

.row-actions {
    gap: 10px;
}

.row-actions form {
    margin: 0;
}

.empty-state {
    padding: 24px 6px 6px;
}

.empty-state h3 {
    font-size: 22px;
}

.empty-state p {
    margin-top: 10px;
    max-width: 520px;
    color: var(--muted-strong);
    line-height: 1.7;
}

.unit-empty-card {
    margin-top: 24px;
    padding: 22px;
}

.unit-filter-card {
    margin-top: 18px;
    padding: 18px;
}

.unit-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: end;
    gap: 14px;
}

.unit-filters .field {
    margin-top: 0;
}

.unit-filters__actions {
    display: flex;
    justify-content: flex-end;
}

.unit-quick-filters {
    margin-top: 14px;
}

.unit-kpi-grid .stats-grid__value {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.08;
}

.unit-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.unit-source-card {
    padding: 18px;
}

.unit-source-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.unit-source-card p {
    margin-top: 10px;
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.6;
}

.unit-source-card__meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.unit-source-card__meta strong {
    font-family: "Space Grotesk", sans-serif;
    color: var(--heading);
    font-size: 26px;
}

.unit-source-card__meta span {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.unit-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.unit-section-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    text-decoration: none;
}

.unit-section-card strong {
    color: var(--heading);
    font-size: 18px;
}

.unit-section-card span:last-child {
    color: var(--muted-strong);
    line-height: 1.5;
}

.unit-main-split {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.unit-cost-calculator {
    margin-top: 22px;
}

.unit-cost-calculator__rates {
    min-width: min(360px, 100%);
}

.unit-cost-calculator__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.unit-cost-calculator__actions {
    margin: 16px 0;
}

.unit-cost-calculator__table {
    max-height: 680px;
}

.unit-cost-calculator__table th,
.unit-cost-calculator__table td {
    vertical-align: top;
}

.unit-calc-input {
    width: 104px;
    min-width: 96px;
    padding: 9px 10px;
}

.unit-calc-check {
    display: grid;
    grid-template-columns: 18px minmax(70px, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--heading);
    font-weight: 700;
}

.unit-sort-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.unit-sort-link[title] {
    text-decoration: underline dotted rgba(157, 174, 204, 0.72);
    text-underline-offset: 4px;
}

.unit-sort-link:hover,
.unit-sort-link--active {
    color: var(--primary);
}

.unit-sort-link--active {
    font-weight: 800;
}

.unit-product-analytics-table-wrap {
    max-height: calc(100vh - 120px);
    overflow: auto;
    position: relative;
}

.unit-product-analytics-table-wrap .table thead th {
    top: 0;
    z-index: 6;
    background: #121d2e;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 18px rgba(7, 13, 22, 0.22);
}

.unit-product-cell {
    display: grid;
    grid-template-columns: 52px minmax(190px, 1fr);
    align-items: start;
    gap: 12px;
}

.unit-product-cell__copy {
    min-width: 0;
}

.unit-product-thumb {
    width: 52px;
    height: 68px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.unit-product-thumb--empty {
    display: grid;
    place-items: center;
    padding: 5px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
}

.unit-preview-card {
    margin-top: 24px;
}

.unit-compact-table {
    margin-top: 16px;
}

.unit-control-split {
    margin-top: 22px;
}

.unit-control-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.unit-control-actions {
    flex-wrap: wrap;
}

.unit-items-table td:nth-child(9) {
    font-weight: 800;
    color: var(--heading);
}

.unit-items-table tr.unit-row--negative td {
    background: rgba(255, 99, 99, 0.08);
}

.unit-items-table tr.unit-row--missing-cogs td {
    background: rgba(255, 205, 86, 0.1);
    box-shadow: inset 4px 0 0 rgba(255, 205, 86, 0.95);
}

.unit-items-table tr.unit-row--negative.unit-row--missing-cogs td {
    background: linear-gradient(90deg, rgba(255, 205, 86, 0.14), rgba(255, 99, 99, 0.08));
}

.unit-items-table tr.unit-row--forecast-incomplete td {
    background: rgba(148, 163, 184, 0.08);
}

.unit-cogs-missing-badge,
.unit-cogs-missing-text {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 205, 86, 0.16);
    color: #ffd87a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
}

.unit-cogs-missing-badge {
    margin-top: 6px;
    padding: 6px 9px;
}

.unit-cogs-missing-text {
    padding: 7px 10px;
}

.unit-cogs-missing-cell {
    min-width: 150px;
}

.unit-items-table tr.unit-row--no-ads td:nth-child(5) {
    color: var(--muted);
}

.unit-items-table tr.unit-row--drr-risk td:nth-child(8),
.unit-items-table tr.unit-row--price-risk td:nth-child(6) {
    color: #ff9a9a;
    font-weight: 800;
}

.unit-checkbox-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
}

.unit-price-history-cell {
    min-width: 138px;
}

.unit-price-history-cell strong,
.unit-price-history-cell span,
.unit-promo-watch-table td > .muted,
.unit-promo-watch-table td > .badge {
    display: block;
}

.unit-negative-money {
    color: #ff9a9a;
}

.unit-promo-watch-table tr.unit-row--price-risk td {
    background: rgba(255, 205, 86, 0.1);
}

.unit-promo-watch-table .button--sm {
    white-space: nowrap;
}

.unit-sku-profile {
    margin: 12px 0 16px;
}

.auth-shell {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 28px 20px 40px;
}

.auth-card {
    width: min(560px, 100%);
    padding: 34px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.page:not(.page--with-sidebar):has(.auth-shell) {
    min-height: calc(100vh - 80px);
    max-width: none;
    display: grid;
    place-items: center;
    padding: 28px;
}

.page:not(.page--with-sidebar):has(.auth-shell) > .alert {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 56px));
    margin-bottom: 0;
    z-index: 3;
}

.page:not(.page--with-sidebar):has(.auth-shell) .auth-shell {
    width: 100%;
    min-height: auto;
    padding: 0 20px;
}

.custom-select {
    position: relative;
}

.custom-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(87, 152, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--heading);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.custom-select__trigger:hover {
    border-color: rgba(87, 152, 255, 0.24);
    background: rgba(255, 255, 255, 0.045);
}

.custom-select.is-open .custom-select__trigger {
    border-color: rgba(87, 152, 255, 0.28);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.custom-select__value {
    min-width: 0;
}

.custom-select__arrow {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-right: 2px solid rgba(214, 229, 255, 0.9);
    border-bottom: 2px solid rgba(214, 229, 255, 0.9);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.16s ease;
}

.custom-select.is-open .custom-select__arrow {
    transform: rotate(-135deg) translateY(-1px);
}

.custom-select__menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    padding: 8px;
    border: 1px solid rgba(87, 152, 255, 0.24);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, #12203a 0%, #0e1a30 100%);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
}

.custom-select.is-open .custom-select__menu {
    display: grid;
    gap: 4px;
}

.custom-select__option {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.custom-select__option:hover,
.custom-select__option.is-selected {
    background: rgba(87, 152, 255, 0.12);
    color: #f4f8ff;
}

.reviews-feed {
    display: grid;
    gap: 14px;
}

.review-card-live {
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        var(--surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.review-card-live:hover {
    transform: translateY(-2px);
    border-color: rgba(87, 152, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(87, 152, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--panel-strong);
}

.review-card-live__top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr) auto;
    gap: 16px;
    align-items: start;
}

.review-card-live__main {
    display: flex;
    gap: 14px;
}

.review-card-live__title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 8px;
}

.review-card-live__reply {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-card-live__reply strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted-strong);
}

.review-card-live__reply p {
    line-height: 1.65;
    color: #e3edfb;
}

.review-card-live__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-card-live__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-card-live__actions form {
    margin: 0;
}

.pricing-split {
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pricing-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
    gap: 16px;
    align-items: end;
}

.pricing-range {
    width: 100%;
    min-height: 48px;
    accent-color: var(--primary-dark);
}

.pricing-summary {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
}

.pricing-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: var(--muted-strong);
}

.pricing-summary__row strong {
    color: var(--heading);
    font-size: 16px;
    font-family: "Space Grotesk", sans-serif;
}

.pricing-summary__row--total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.pricing-summary__row--total strong {
    font-size: 22px;
}

.pricing-tier-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.pricing-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-strong);
    font-size: 14px;
}

.pricing-tier strong {
    color: var(--heading);
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
}

.billing-stats {
    margin-top: 24px;
}

.empty-card--compact {
    padding: 24px;
}

.landing {
    display: grid;
}

.landing .button {
    width: fit-content;
}

.landing-hero {
    position: relative;
    min-height: calc(100vh - 96px);
    display: grid;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
    isolation: isolate;
    background: #07111d;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 10, 18, 0.95) 0%, rgba(4, 10, 18, 0.76) 42%, rgba(4, 10, 18, 0.34) 100%),
        linear-gradient(180deg, transparent 0%, rgba(4, 10, 18, 0.88) 100%);
}

.landing-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: grid;
    place-items: center end;
    padding: 5vw;
    background:
        radial-gradient(circle at 68% 38%, rgba(134, 239, 210, 0.18), transparent 26%),
        radial-gradient(circle at 88% 18%, rgba(87, 152, 255, 0.2), transparent 22%),
        linear-gradient(135deg, #07111d 0%, #0f1d2f 48%, #0b241f 100%);
}

.landing-product {
    width: min(760px, 58vw);
    transform: perspective(1200px) rotateY(-16deg) rotateX(6deg);
    transform-origin: center right;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(8, 14, 24, 0.92);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.52);
    overflow: hidden;
}

.landing-product__bar {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-product__bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.landing-product__body {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 420px;
}

.landing-product__side {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.landing-product__logo {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--info));
    color: #07111f;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.landing-product__nav {
    height: 14px;
    margin-top: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-product__nav.is-active {
    background: rgba(122, 182, 255, 0.42);
}

.landing-product__feed {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 22px;
}

.landing-product__metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.landing-product__metric-row div,
.landing-product__review {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.landing-product__metric-row div {
    padding: 16px;
}

.landing-product__metric-row strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
}

.landing-product__metric-row span,
.landing-product__review p,
.landing-product__review em {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.landing-product__review {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 16px;
}

.landing-product__rating {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(131, 232, 170, 0.12);
    color: var(--success);
    font-weight: 800;
}

.landing-product__review--warning .landing-product__rating {
    background: rgba(255, 127, 151, 0.12);
    color: var(--danger);
}

.landing-product__review strong {
    display: block;
    margin-bottom: 8px;
}

.landing-product__review em {
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.landing-hero__content {
    width: min(760px, 100%);
    padding: clamp(36px, 7vw, 86px);
}

.landing-eyebrow,
.landing-section-head span,
.landing-pricing__card span {
    display: inline-flex;
    color: var(--info);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-hero h1 {
    margin-top: 16px;
    font-size: clamp(56px, 8vw, 118px);
    line-height: 0.9;
    letter-spacing: 0;
}

.landing-hero p {
    margin-top: 22px;
    max-width: 660px;
    color: #d8e5f7;
    font-size: 20px;
    line-height: 1.55;
}

.landing-actions,
.landing-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-actions {
    margin-top: 28px;
}

.landing-proof {
    margin-top: 26px;
}

.landing-proof span {
    padding: 10px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.landing-band {
    padding: clamp(54px, 7vw, 92px) 0;
}

.landing-section-head {
    width: min(860px, 100%);
    margin-bottom: 28px;
}

.landing-section-head h2,
.landing-safety h2,
.landing-pricing h2,
.landing-final h2 {
    margin-top: 12px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.landing-section-head p,
.landing-safety p,
.landing-pricing p,
.landing-final p {
    margin-top: 14px;
    max-width: 760px;
    color: var(--muted-strong);
    font-size: 16px;
    line-height: 1.7;
}

.landing-grid {
    display: grid;
    gap: 14px;
}

.landing-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-grid article {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.landing-grid h3 {
    font-size: 21px;
    line-height: 1.2;
}

.landing-grid p {
    margin-top: 10px;
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.65;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.landing-steps div {
    min-height: 180px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(134, 239, 210, 0.18);
    background: rgba(134, 239, 210, 0.055);
}

.landing-steps strong {
    display: block;
    color: var(--info);
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
}

.landing-steps span {
    display: block;
    margin-top: 42px;
    font-weight: 800;
    line-height: 1.35;
}

.landing-safety,
.landing-pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 28px;
    align-items: center;
}

.landing-safety__panel,
.landing-pricing__card {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.landing-safety__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-safety__row:last-child {
    border-bottom: 0;
}

.landing-safety__row span {
    color: var(--muted);
}

.landing-safety__row strong {
    color: var(--heading);
    text-align: right;
}

.landing-pricing__card strong {
    display: block;
    margin-top: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    line-height: 1.05;
}

.landing-faq__list {
    display: grid;
    gap: 10px;
}

.landing-faq details {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    padding: 18px 20px;
}

.landing-faq summary {
    cursor: pointer;
    color: var(--heading);
    font-weight: 800;
}

.landing-faq p {
    margin-top: 12px;
    color: var(--muted-strong);
    line-height: 1.65;
}

.landing-final {
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(54px, 8vw, 96px);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(87, 152, 255, 0.12), rgba(134, 239, 210, 0.06)),
        var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.landing-final p {
    margin-left: auto;
    margin-right: auto;
}

.landing-final .landing-actions {
    justify-content: center;
}

@media (max-width: 1280px) {
    .landing-product {
        width: min(680px, 70vw);
        opacity: 0.72;
    }

    .landing-grid--4,
    .landing-grid--3,
    .landing-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-safety,
    .landing-pricing {
        grid-template-columns: 1fr;
    }

    .topbar--with-sidebar {
        padding-left: 28px;
    }

    .sidebar {
        position: static;
        width: auto;
        max-height: none;
        margin: 18px 18px 0;
        overflow: visible;
    }

    .page--with-sidebar {
        margin-left: 0;
    }
}

@media (max-width: 980px) {
    .split,
    .unit-filters,
    .pricing-inputs,
    .reviews-shell,
    .grid-2,
    .moderation-item__body,
    .moderation-note-grid,
    .review-card-live__top {
        grid-template-columns: 1fr;
    }

    .page-header,
    .table-card__header,
    .panel-card__header,
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header__actions {
        justify-content: flex-start;
    }

    .unit-filters__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .landing-hero {
        min-height: calc(100vh - 150px);
        border-radius: 22px;
    }

    .landing-hero__media {
        place-items: end center;
        padding: 24px;
    }

    .landing-product {
        width: 92vw;
        transform: none;
        opacity: 0.36;
    }

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

    .landing-product__side {
        display: none;
    }

    .landing-product__metric-row,
    .landing-product__review {
        grid-template-columns: 1fr;
    }

    .landing-hero__content {
        padding: 34px 22px;
    }

    .landing-hero h1 {
        font-size: 56px;
    }

    .landing-hero p {
        font-size: 17px;
    }

    .landing-grid--4,
    .landing-grid--3,
    .landing-steps {
        grid-template-columns: 1fr;
    }

    .landing-steps div {
        min-height: 140px;
    }

    .landing-steps span {
        margin-top: 28px;
    }

    .page,
    .topbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-header,
    .card,
    .table-card,
    .form-card,
    .auth-card,
    .panel-card {
        padding: 18px;
    }

    .page-header h1,
    .hero h1,
    .page h1 {
        font-size: 30px;
    }

    .mini-stats,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page:not(.page--with-sidebar):has(.auth-shell) {
        min-height: calc(100vh - 72px);
        padding: 20px 16px 24px;
    }

    .page:not(.page--with-sidebar):has(.auth-shell) > .alert {
        top: 16px;
        width: calc(100% - 32px);
    }

    .page:not(.page--with-sidebar):has(.auth-shell) .auth-shell {
        padding: 0;
    }

    .table th,
    .table td {
        padding: 12px 10px;
    }

    .integration-actions .button,
    .moderation-actions .button {
        min-width: 0;
        width: 100%;
    }
}

/* Final landing overrides: keep this block after the legacy landing rules. */
.topbar:not(.topbar--with-sidebar):has(+ .page .landing),
.page:not(.page--with-sidebar):has(.landing) {
    width: min(100%, 1480px);
    margin-left: auto;
    margin-right: auto;
}

.page:not(.page--with-sidebar):has(.landing) {
    padding-left: clamp(18px, 3vw, 42px);
    padding-right: clamp(18px, 3vw, 42px);
    padding-bottom: 58px;
}

.landing {
    display: block;
    color: #f6fbff;
}

.landing .button {
    width: fit-content;
}

.landing-hero--pro {
    position: relative;
    min-height: calc(100vh - 116px);
    padding: clamp(42px, 6vw, 82px);
    display: grid;
    align-content: space-between;
    gap: 48px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(90deg, rgba(4, 12, 22, 0.94) 0%, rgba(4, 12, 22, 0.76) 42%, rgba(4, 12, 22, 0.3) 100%),
        linear-gradient(180deg, rgba(6, 17, 28, 0.14), rgba(6, 17, 28, 0.9)),
        url("/assets/landing-operations-brand-alley.png") center / cover no-repeat;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.landing-hero--pro::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 46%;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(103, 255, 185, 0.28), transparent 62%);
    pointer-events: none;
}

.landing-hero--pro .landing-hero__content {
    position: relative;
    z-index: 1;
    width: min(780px, 100%);
    padding: 0;
}

.landing-hero--pro h1 {
    margin-top: 18px;
    font-size: clamp(72px, 8vw, 122px);
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow: 0 16px 52px rgba(0, 0, 0, 0.42);
}

.landing-hero--pro p {
    margin-top: 24px;
    max-width: 710px;
    color: rgba(235, 244, 255, 0.86);
    font-size: 20px;
    line-height: 1.7;
}

.landing-hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(920px, 100%);
}

.landing-hero__stats div {
    min-height: 104px;
    padding: 18px;
    display: grid;
    align-content: space-between;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 18, 31, 0.66);
    backdrop-filter: blur(18px);
}

.landing-hero__stats strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    color: #7ce7ff;
}

.landing-hero__stats span {
    color: rgba(222, 234, 245, 0.76);
    font-size: 14px;
}

.landing-band {
    padding: clamp(58px, 7vw, 96px) 0;
}

.landing-band--light {
    margin-top: 18px;
    padding: clamp(42px, 6vw, 78px);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 241, 232, 0.94)),
        radial-gradient(circle at 14% 18%, rgba(124, 231, 255, 0.42), transparent 34%),
        #f5f1e8;
    color: #101827;
}

.landing-showcase {
    margin-top: 18px;
    padding: clamp(32px, 5vw, 62px);
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    border-radius: 8px;
    background: #f5f1e8;
    color: #101827;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.landing-final {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(88, 242, 168, 0.16), transparent 30%),
        linear-gradient(225deg, rgba(124, 231, 255, 0.18), transparent 32%),
        #08111c;
}

@media (max-width: 1280px) {
    .landing-hero__stats,
    .landing-showcase,
    .landing-safety,
    .landing-pricing {
        grid-template-columns: 1fr;
    }

    .landing-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .landing-flow__rail {
        width: 2px;
        height: 42px;
        justify-self: center;
        background: linear-gradient(180deg, rgba(124, 231, 255, 0.1), rgba(124, 231, 255, 0.82), rgba(124, 231, 255, 0.1));
    }
}

@media (max-width: 720px) {
    .landing-hero--pro {
        min-height: auto;
        padding: 30px 20px;
        background-position: 58% 50%;
    }

    .landing-hero--pro h1 {
        font-size: 58px;
    }

    .landing-hero--pro p {
        font-size: 17px;
    }

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

    .landing-showcase,
    .landing-band--light {
        padding: 24px;
    }

    .landing-showcase__copy h2 {
        font-size: 34px;
    }
}

/* Brand Alley inspired flat landing palette. No gradients in this layer. */
body:has(.landing) {
    background: #f4f3f8;
    color: #1a2030;
    overflow-x: hidden;
}

body:has(.landing)::before {
    display: none;
}

body:has(.landing) .shell-background {
    background: #f4f3f8;
    opacity: 1;
}

.page:not(.page--with-sidebar):has(.landing) {
    background: #f4f3f8;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) {
    background: #ffffff;
    border: 1px solid #dee2e7;
    box-shadow: 0 12px 30px rgba(2, 22, 44, 0.06);
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__eyebrow {
    color: #ff5656;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__heading,
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__meta {
    color: #02162c;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .button--ghost {
    background: #02162c;
    color: #ffffff;
    border-color: #02162c;
}

.landing {
    --ba-bg: #f4f3f8;
    --ba-navy: #02162c;
    --ba-ink: #1a2030;
    --ba-muted: #6f7680;
    --ba-line: #dee2e7;
    --ba-card: #ffffff;
    --ba-accent: #ff5656;
    --ba-accent-dark: #eb4444;
    font-family: "Roboto", Arial, sans-serif;
    color: var(--ba-ink);
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing),
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .button {
    font-family: "Roboto", Arial, sans-serif;
}

.landing h1,
.landing h2,
.landing h3,
.landing strong,
.landing b,
.landing .button,
.landing-eyebrow,
.landing-section-head span,
.landing-pricing__card span {
    font-family: "Roboto", Arial, sans-serif;
}

.landing-hero--pro {
    background: var(--ba-navy) url("/assets/landing-operations-brand-alley.png") center / cover no-repeat;
    border-color: var(--ba-navy);
    box-shadow: 0 24px 54px rgba(2, 22, 44, 0.18);
}

.landing-hero--pro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(2, 22, 44, 0.74);
}

.landing-hero--pro::after {
    display: none;
}

.landing-eyebrow,
.landing-section-head span,
.landing-pricing__card span,
.landing-showcase__copy span,
.landing-grid article b {
    color: var(--ba-accent);
}

.landing-hero--pro h1,
.landing-hero--pro p,
.landing-hero--pro .landing-eyebrow {
    color: #ffffff;
}

.landing-proof span,
.landing-hero__stats div {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.landing-hero__stats strong {
    color: #ffffff;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 900;
}

.landing-hero__stats span,
.landing-proof span {
    color: rgba(255, 255, 255, 0.78);
}

.landing .button {
    background: var(--ba-accent);
    color: #ffffff;
    border-color: var(--ba-accent);
}

.landing .button:hover {
    background: var(--ba-accent-dark);
    border-color: var(--ba-accent-dark);
}

.landing .button--ghost {
    background: #ffffff;
    color: var(--ba-navy);
    border-color: #ffffff;
}

.landing-showcase,
.landing-band--light,
.landing-grid article,
.landing-pricing__card {
    background: var(--ba-card);
    color: var(--ba-ink);
    border: 1px solid var(--ba-line);
    box-shadow: 0 18px 40px rgba(2, 22, 44, 0.08);
}

.landing-showcase__copy h2,
.landing-band--light .landing-section-head h2,
.landing-band--light .landing-grid h3,
.landing-section-head h2,
.landing-grid h3,
.landing-pricing h2,
.landing-final h2 {
    color: var(--ba-navy);
}

.landing-showcase__copy p,
.landing-section-head p,
.landing-grid p,
.landing-pricing p,
.landing-final p {
    color: var(--ba-muted);
}

.landing-showcase__image {
    background: var(--ba-navy);
    border-color: var(--ba-line);
}

.landing-showcase__image::after,
.landing-map::before {
    display: none;
}

.landing-map,
.landing-safety,
.landing-pricing {
    color: var(--ba-ink);
}

.landing-flow__node,
.landing-grid--feature article,
.landing-decision {
    background: var(--ba-navy);
    border-color: var(--ba-navy);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 22, 44, 0.12);
}

.landing-flow__node h3,
.landing-grid--feature h3,
.landing-decision__top strong,
.landing-decision__path strong {
    color: #ffffff;
}

.landing-flow__node p,
.landing-grid--feature p,
.landing-decision__path span {
    color: rgba(255, 255, 255, 0.68);
}

.landing-flow__node span,
.landing-flow__node.is-source span,
.landing-flow__node.is-warning span,
.landing-flow__node.is-success span {
    background: var(--ba-accent);
    color: #ffffff;
}

.landing-flow__rail {
    background: var(--ba-accent);
}

.landing-decision__top {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.landing-decision__top span {
    color: var(--ba-accent);
}

.landing-decision__path div {
    background: rgba(255, 255, 255, 0.08);
}

.landing-final {
    background: var(--ba-navy);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 22, 44, 0.14);
}

.landing-final h2,
.landing-final p {
    color: #ffffff;
}

@media (max-width: 1280px) {
    .landing-flow__rail {
        background: var(--ba-accent);
    }
}

/* Critical landing fixes after audit: clean hero, mobile readability, real lead form. */
.landing-hero--pro {
    min-height: auto;
    padding: clamp(28px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
    background: #ffffff;
    border: 1px solid #dee2e7;
    box-shadow: 0 24px 54px rgba(2, 22, 44, 0.12);
}

.landing-hero--pro::before,
.landing-hero--pro::after {
    display: none;
}

.landing-hero--pro .landing-hero__content {
    width: min(690px, 100%);
}

.landing-hero--pro .landing-eyebrow {
    color: var(--ba-accent);
}

.landing-hero--pro h1 {
    max-width: 720px;
    color: var(--ba-navy);
    font-size: clamp(48px, 5.8vw, 86px);
    line-height: 0.96;
    text-shadow: none;
}

.landing-hero--pro p {
    max-width: 640px;
    color: var(--ba-muted);
    font-size: 20px;
    line-height: 1.65;
}

.landing-hero__visual {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--ba-line);
    background: var(--ba-bg);
    box-shadow: 0 22px 46px rgba(2, 22, 44, 0.1);
}

.landing-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-proof span {
    background: #f4f3f8;
    border-color: #dee2e7;
    color: var(--ba-ink);
}

.landing-hero__stats {
    grid-column: 1 / -1;
    width: 100%;
}

.landing-hero__stats div {
    background: #f4f3f8;
    border-color: #dee2e7;
    backdrop-filter: none;
}

.landing-hero__stats strong {
    color: var(--ba-navy);
}

.landing-hero__stats span {
    color: var(--ba-muted);
}

.landing-final {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    align-items: start;
    gap: clamp(24px, 5vw, 70px);
    min-height: auto;
    padding: clamp(32px, 6vw, 72px);
    text-align: left;
    background: var(--ba-navy);
}

.landing-final .landing-eyebrow {
    color: var(--ba-accent);
}

.landing-final h2,
.landing-final p {
    margin-left: 0;
    margin-right: 0;
}

.landing-lead-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ba-ink);
}

.landing-lead-form input[name="website"] {
    display: none;
}

.landing-lead-form label {
    display: grid;
    gap: 8px;
}

.landing-lead-form label span {
    color: var(--ba-navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-lead-form input,
.landing-lead-form textarea {
    width: 100%;
    border: 1px solid #dee2e7;
    border-radius: 8px;
    background: #f4f3f8;
    color: var(--ba-navy);
    font: inherit;
    padding: 14px 15px;
    outline: none;
}

.landing-lead-form textarea {
    min-height: 116px;
    resize: vertical;
}

.landing-lead-form input:focus,
.landing-lead-form textarea:focus {
    border-color: var(--ba-accent);
    background: #ffffff;
}

.landing-lead-form .button {
    width: 100%;
    justify-content: center;
}

.landing-pricing__copy {
    display: grid;
    align-content: start;
}

.landing-price-rules {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.landing-price-rules div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--ba-line);
    border-radius: 8px;
    background: #ffffff;
}

.landing-price-rules strong {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ba-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.landing-price-rules span {
    color: var(--ba-muted);
    line-height: 1.5;
}

.landing-price-stack {
    display: grid;
    gap: 12px;
}

.landing-price-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--ba-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ba-ink);
    box-shadow: 0 18px 40px rgba(2, 22, 44, 0.08);
}

.landing-price-card.is-featured {
    border-color: var(--ba-accent);
    box-shadow: 0 20px 44px rgba(255, 86, 86, 0.16);
}

.landing-price-card span {
    color: var(--ba-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-price-card strong {
    color: var(--ba-navy);
    font-size: 52px;
    line-height: 0.95;
    font-weight: 900;
}

.landing-price-card p {
    margin: 0;
    color: var(--ba-muted);
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 4px 6px;
    color: var(--ba-muted);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
}

.landing-footer a {
    color: var(--ba-navy);
    font-weight: 700;
    text-decoration: none;
}

.landing-footer a:hover {
    color: var(--ba-accent);
}

.landing--simple {
    display: grid;
    gap: 22px;
    min-height: 60vh;
}

.requisites-page {
    display: grid;
    gap: 24px;
    padding: clamp(28px, 5vw, 72px);
    border: 1px solid var(--ba-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ba-ink);
    box-shadow: 0 24px 54px rgba(2, 22, 44, 0.08);
}

.requisites-page__head {
    max-width: 760px;
}

.requisites-page h1 {
    margin-top: 12px;
    color: var(--ba-navy);
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.96;
}

.requisites-page p {
    margin-top: 16px;
    color: var(--ba-muted);
    font-size: 19px;
    line-height: 1.65;
}

.requisites-card {
    overflow: hidden;
    border: 1px solid var(--ba-line);
    border-radius: 8px;
    background: #f4f3f8;
}

.requisites-card dl {
    display: grid;
    margin: 0;
}

.requisites-card div {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ba-line);
}

.requisites-card div:last-child {
    border-bottom: 0;
}

.requisites-card dt {
    color: var(--ba-muted);
    font-weight: 700;
}

.requisites-card dd {
    margin: 0;
    color: var(--ba-navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

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

.public-doc__grid {
    display: grid;
    gap: 18px;
}

.public-doc__section {
    padding: 24px;
    border: 1px solid var(--ba-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 22, 44, 0.08);
}

.public-doc__section h2 {
    color: var(--ba-navy);
    font-size: 28px;
}

.public-doc__section p,
.public-doc__section li {
    color: var(--ba-muted);
    font-size: 17px;
    line-height: 1.7;
}

.public-doc__section ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.public-doc__section li + li {
    margin-top: 10px;
}

.public-doc__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.seo-page {
    display: grid;
    gap: 22px;
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6f7c8f;
    font-size: 14px;
    font-weight: 700;
}

.seo-breadcrumbs a {
    color: #0f5fcb;
    text-decoration: none;
}

.seo-breadcrumbs a:hover {
    text-decoration: underline;
}

.seo-page__hero {
    position: relative;
    overflow: hidden;
}

.seo-page__hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 86, 86, 0.18), transparent 64%);
    pointer-events: none;
}

.seo-page__head {
    position: relative;
    z-index: 1;
}

.seo-badge-row,
.seo-cta-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-cta-row {
    margin-top: 4px;
}

.seo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.seo-card h2 a {
    color: inherit;
    text-decoration: none;
}

.seo-card h2 a:hover {
    color: var(--ba-accent);
}

.seo-faq details {
    padding: 16px 0;
    border-top: 1px solid var(--ba-line);
}

.seo-faq details:first-of-type {
    margin-top: 8px;
}

.seo-faq summary {
    cursor: pointer;
    color: var(--ba-navy);
    font-size: 18px;
    font-weight: 800;
}

.seo-faq details p {
    margin: 10px 0 0;
}

.seo-related,
.seo-final-cta {
    background: #ffffff;
}

.seo-final-cta {
    border-color: rgba(255, 86, 86, 0.25);
}

@media (max-width: 980px) {
    .seo-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .seo-card-grid {
        grid-template-columns: 1fr;
    }

    .seo-breadcrumbs {
        font-size: 13px;
    }

    .seo-badge-row .badge,
    .seo-cta-row .button,
    .seo-final-cta .button,
    .seo-related .button {
        width: 100%;
        justify-content: center;
    }
}

.auth-card__footnote {
    margin-top: 18px;
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.7;
}

.auth-card__footnote a,
.checkbox-row a {
    color: var(--primary);
    font-weight: 700;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.6;
}

.checkbox-row input {
    margin-top: 2px;
}

@media (max-width: 980px) {
    .landing-hero--pro,
    .landing-final {
        grid-template-columns: 1fr;
    }

    .landing-hero__visual {
        order: 2;
    }

    .landing-hero__stats {
        order: 3;
    }
}

@media (max-width: 720px) {
    html:has(.landing),
    body:has(.landing) {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .topbar:not(.topbar--with-sidebar):has(+ .page .landing) {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }

    .topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__heading {
        max-width: 100%;
        font-size: 24px;
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__title {
        min-width: 0;
        width: 100%;
    }

    .topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__meta {
        justify-content: flex-start;
    }

    .page:not(.page--with-sidebar):has(.landing) {
        width: 100%;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .landing,
    .landing > section {
        width: calc(100vw - 36px);
        max-width: calc(100vw - 36px);
        min-width: 0;
    }

    .landing-hero--pro {
        padding: 20px;
        gap: 20px;
    }

    .landing-hero--pro h1 {
        max-width: 100%;
        font-size: 38px;
        line-height: 1;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .landing-hero--pro p {
        font-size: 16px;
        line-height: 1.55;
    }

    .landing-actions {
        gap: 10px;
    }

    .landing-actions .button {
        width: 100%;
        justify-content: center;
    }

    .landing-proof {
        gap: 8px;
    }

    .landing-proof span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .landing-hero__visual {
        max-height: 240px;
    }

    .landing-hero__visual img {
        width: 150%;
        max-width: none;
        transform: translateX(-18%);
    }

    .landing-final {
        padding: 24px;
    }

    .landing-price-rules div {
        grid-template-columns: 1fr;
    }

    .landing-price-card {
        padding: 20px;
    }

    .landing-price-card strong {
        font-size: 44px;
    }

    .landing-footer {
        display: grid;
        justify-items: start;
        padding-left: 2px;
        padding-right: 2px;
    }

    .requisites-page {
        padding: 24px 20px;
    }

    .topbar__meta-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .requisites-page h1 {
        font-size: 42px;
    }

    .requisites-card div {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px;
    }

    .public-doc__section {
        padding: 20px 18px;
    }

    .public-doc__section h2 {
        font-size: 24px;
    }
}

/* AI-flow hero from the new landing reference. */
body:has(.landing-hero--ai-flow) {
    background:
        radial-gradient(circle at 36% 92%, rgba(236, 61, 157, 0.14), transparent 31%),
        radial-gradient(circle at 49% 88%, rgba(126, 72, 243, 0.14), transparent 28%),
        #ffffff;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing-hero--ai-flow) {
    display: none;
}

.page:not(.page--with-sidebar):has(.landing-hero--ai-flow) {
    max-width: none;
    padding-top: 0;
    padding-left: clamp(18px, 2.6vw, 54px);
    padding-right: clamp(18px, 2.6vw, 54px);
}

.landing:has(.landing-hero--ai-flow) {
    max-width: 1960px;
    gap: clamp(34px, 5vw, 86px);
}

.landing-hero--ai-flow {
    position: relative;
    min-height: min(720px, calc(100vh - 132px));
    display: grid;
    grid-template-columns: minmax(500px, 0.78fr) minmax(850px, 1.22fr);
    gap: clamp(24px, 2.45vw, 46px);
    align-items: center;
    padding: clamp(30px, 3vw, 56px) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
}

.landing-hero--ai-flow::before {
    content: "";
    position: absolute;
    left: 21%;
    bottom: -15%;
    z-index: -1;
    width: min(760px, 44vw);
    height: 330px;
    border-radius: 50% 50% 0 0;
    background: rgba(137, 75, 244, 0.08);
    display: block;
}

.landing-hero--ai-flow::after {
    content: "";
    position: absolute;
    left: 30%;
    bottom: 11%;
    z-index: -1;
    width: min(700px, 38vw);
    height: 150px;
    background: linear-gradient(108deg, transparent, rgba(138, 77, 244, 0.2), rgba(236, 61, 157, 0.12), transparent);
    filter: blur(3px);
    transform: rotate(-12deg);
    display: block;
}

.landing-ai-login {
    position: absolute;
    top: clamp(18px, 1.8vw, 34px);
    right: 0;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ffffff;
    background: #06172d;
    box-shadow: 0 14px 34px rgba(6, 23, 45, 0.18);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.landing-hero--ai-flow .landing-hero__content {
    position: relative;
    width: min(760px, 100%);
    z-index: 2;
}

.landing-ai-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 14px 24px;
    border-radius: 17px;
    color: #ffffff;
    background: linear-gradient(90deg, #ef3fa1 0%, #7a45f2 100%);
    box-shadow: 0 16px 34px rgba(152, 64, 224, 0.22);
    font-size: clamp(18px, 1.18vw, 25px);
    font-weight: 900;
    line-height: 1;
}

.landing-ai-badge span {
    font-size: 20px;
}

.landing-hero--ai-flow h1 {
    max-width: 780px;
    margin: clamp(46px, 4.6vw, 76px) 0 0;
    color: #101633;
    font-size: clamp(54px, 4.15vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.074em;
    font-weight: 950;
    text-shadow: none;
}

.landing-hero--ai-flow h1 span {
    display: block;
    width: max-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(90deg, #ec3d9d 0%, #8648f2 88%);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 0.9em;
    white-space: nowrap;
}

.landing-hero--ai-flow p {
    max-width: 650px;
    margin: 34px 0 0;
    color: #252b4b;
    font-size: clamp(21px, 1.45vw, 29px);
    line-height: 1.38;
    font-weight: 550;
}

.landing-hero--ai-flow .landing-actions {
    margin-top: 52px;
}

.landing-hero--ai-flow .button {
    min-height: 88px;
    padding: 0 46px;
    border: 0;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(90deg, #ef3f9e, #7a45f2);
    box-shadow: 0 26px 48px rgba(167, 64, 210, 0.33);
    font-size: clamp(23px, 1.65vw, 34px);
    font-weight: 900;
}

.landing-hero--ai-flow .button span {
    font-size: 38px;
    line-height: 1;
}

.landing-ai-tile {
    position: absolute;
    right: -42px;
    bottom: 16px;
    width: 136px;
    height: 136px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139, 78, 237, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 30px 80px rgba(107, 56, 220, 0.2);
    color: #8b4cf6;
    font-size: 58px;
    font-weight: 950;
    backdrop-filter: blur(14px);
}

.landing-ai-spark {
    position: absolute;
    color: #8b4cf6;
    line-height: 1;
    filter: drop-shadow(0 18px 26px rgba(135, 74, 246, 0.22));
}

.landing-ai-spark--one {
    right: -82px;
    bottom: 128px;
    font-size: 70px;
}

.landing-ai-spark--two {
    right: 38px;
    bottom: 18px;
    color: #ffffff;
    font-size: 30px;
    opacity: 0.72;
}

.landing-ai-board {
    position: relative;
    min-width: 0;
    min-height: min(620px, calc(100vh - 150px));
    overflow: hidden;
    border: 1px solid rgba(128, 95, 230, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 42px 100px rgba(43, 34, 94, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
}

.landing-ai-board__top {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 0 36px;
    border-bottom: 1px solid rgba(142, 110, 238, 0.14);
    background: rgba(255, 255, 255, 0.58);
}

.landing-ai-board__top > strong {
    color: #7a45f2;
    font-size: clamp(22px, 1.45vw, 29px);
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.landing-ai-pipeline {
    display: grid;
    grid-template-columns: 38px max-content 1fr 38px max-content 1fr 38px max-content;
    align-items: center;
    gap: 10px;
    color: #202542;
    font-size: clamp(13px, 0.9vw, 17px);
    font-weight: 900;
    white-space: nowrap;
}

.landing-ai-pipeline__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(180deg, #7d47f3, #9d67ff);
    box-shadow: 0 12px 26px rgba(126, 71, 243, 0.25);
}

.landing-ai-pipeline i {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(132, 72, 244, 0.12), rgba(132, 72, 244, 0.48));
}

.landing-ai-board__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr) minmax(0, 0.86fr);
    gap: 24px;
    padding: 30px 28px 20px;
}

.landing-ai-column {
    position: relative;
    min-height: 382px;
    padding-right: 18px;
    border-right: 1px solid rgba(126, 91, 221, 0.16);
}

.landing-ai-column:last-child {
    padding-right: 0;
    border-right: 0;
}

.landing-ai-column__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 35px;
    margin-bottom: 18px;
    color: #171c35;
}

.landing-ai-column__title strong {
    color: inherit;
    font-size: clamp(17px, 1.05vw, 21px);
    font-weight: 950;
}

.landing-ai-column__title span {
    min-width: 42px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #8a4df4;
    background: rgba(137, 76, 244, 0.12);
    font-weight: 950;
}

.landing-ai-review,
.landing-ai-reply,
.landing-ai-quality {
    position: relative;
    border: 1px solid rgba(132, 108, 214, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(38, 32, 78, 0.09);
}

.landing-ai-review {
    margin-bottom: 12px;
    padding: 17px 18px;
}

.landing-ai-person {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin-bottom: 10px;
}

.landing-ai-person > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(126, 71, 243, 0.16);
}

.landing-ai-person > span::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8a4df4;
    box-shadow: 0 14px 0 -5px #8a4df4;
    opacity: 0.62;
}

.landing-ai-person strong {
    display: block;
    color: #161b36;
    font-size: 16px;
    font-weight: 950;
}

.landing-ai-person em {
    color: #814cf5;
    font-size: 17px;
    font-style: normal;
    letter-spacing: 1px;
}

.landing-ai-review p,
.landing-ai-reply p,
.landing-ai-quality p {
    margin: 0;
}

.landing-ai-review p {
    color: #222845;
    font-size: clamp(14px, 0.86vw, 16px);
    line-height: 1.34;
    font-weight: 700;
}

.landing-ai-review--bad {
    border-color: rgba(238, 55, 91, 0.16);
    box-shadow: 0 14px 36px rgba(238, 55, 91, 0.08);
}

.landing-ai-review--bad .landing-ai-person > span {
    background: rgba(239, 58, 95, 0.14);
}

.landing-ai-review--bad .landing-ai-person > span::before {
    background: #ef3a5f;
    box-shadow: 0 14px 0 -5px #ef3a5f;
}

.landing-ai-review--bad em {
    color: #ef3a5f;
}

.landing-ai-review--bad em b {
    color: #d4d8e5;
    font-weight: inherit;
}

.landing-ai-review--bad i {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ef3a5f;
    color: #ffffff;
    font-style: normal;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(239, 58, 95, 0.22);
}

.landing-ai-brain {
    position: absolute;
    left: -78px;
    top: 188px;
    z-index: 3;
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(180deg, #7d47f3, #9d67ff);
    box-shadow: 0 0 0 15px rgba(129, 76, 245, 0.12), 0 24px 48px rgba(129, 76, 245, 0.38);
    font-size: 32px;
    font-weight: 950;
}

.landing-ai-wire {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.landing-ai-wire--one,
.landing-ai-wire--two {
    left: -118px;
    width: 122px;
    border: 4px solid #8a4df4;
    border-left: 0;
    opacity: 0.62;
}

.landing-ai-wire--one {
    top: 120px;
    height: 86px;
    border-bottom: 0;
    border-radius: 0 40px 0 0;
}

.landing-ai-wire--two {
    top: 232px;
    height: 76px;
    border-top: 0;
    border-radius: 0 0 40px 0;
}

.landing-ai-wire--bad {
    left: -245px;
    right: -280px;
    top: 312px;
    border-top: 3px dashed #ef3a5f;
    opacity: 0.5;
}

.landing-ai-reply {
    z-index: 2;
    margin-bottom: 24px;
    padding: 21px 22px 19px;
    border-color: rgba(43, 201, 95, 0.22);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(43, 201, 95, 0.1);
}

.landing-ai-reply span {
    position: absolute;
    top: -13px;
    right: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #31bd61;
    color: #ffffff;
    font-weight: 950;
}

.landing-ai-reply p {
    color: #262d48;
    font-size: clamp(14px, 0.86vw, 16px);
    line-height: 1.44;
    font-weight: 700;
}

.landing-ai-quality {
    min-height: 92px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
    padding: 17px 18px;
    border-color: rgba(50, 197, 97, 0.22);
    background: rgba(247, 255, 249, 0.88);
    box-shadow: 0 16px 36px rgba(50, 197, 97, 0.1);
}

.landing-ai-quality > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(49, 189, 97, 0.14);
    color: #31bd61;
    font-size: 22px;
}

.landing-ai-quality strong {
    display: block;
    margin-bottom: 3px;
    color: #31bd61;
    font-size: clamp(14px, 0.9vw, 17px);
    font-weight: 950;
}

.landing-ai-quality p {
    color: #29304b;
    font-size: clamp(13px, 0.78vw, 15px);
    line-height: 1.35;
    font-weight: 700;
}

.landing-ai-quality--manual {
    margin-top: 34px;
    border-color: rgba(239, 58, 95, 0.17);
    background: rgba(255, 249, 250, 0.92);
    box-shadow: 0 16px 36px rgba(239, 58, 95, 0.08);
}

.landing-ai-quality--manual > span {
    background: #ef3a5f;
    color: #ffffff;
}

.landing-ai-quality--manual strong {
    color: #ef3a5f;
}

.landing-ai-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 32px 24px;
    padding: 15px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 36px rgba(38, 32, 78, 0.08);
}

.landing-ai-benefits div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 13px;
    align-items: center;
}

.landing-ai-benefits span {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(180deg, #7e48f3, #9c65ff);
    font-size: 20px;
}

.landing-ai-benefits strong {
    color: #202642;
    font-size: clamp(14px, 0.88vw, 16px);
    font-weight: 950;
}

.landing-ai-benefits p {
    margin: 2px 0 0;
    color: #80879c;
    font-size: clamp(12px, 0.74vw, 14px);
}

@media (max-width: 1280px) {
    .landing-hero--ai-flow {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .landing-hero--ai-flow .landing-hero__content {
        width: min(760px, 100%);
    }

    .landing-ai-tile,
    .landing-ai-spark {
        display: none;
    }

    .landing-ai-board {
        min-height: auto;
    }
}

@media (max-width: 860px) {
    .landing:has(.landing-hero--ai-flow),
    .landing > section.landing-hero--ai-flow {
        width: 100%;
        max-width: 100%;
    }

    .landing-hero--ai-flow {
        padding-top: 76px;
    }

    .landing-hero--ai-flow h1 {
        font-size: clamp(44px, 12vw, 70px);
        letter-spacing: -0.06em;
    }

    .landing-hero--ai-flow h1 span {
        white-space: normal;
    }

    .landing-hero--ai-flow p {
        font-size: 18px;
    }

    .landing-hero--ai-flow .button {
        width: 100%;
        min-height: 72px;
        justify-content: center;
        padding: 0 22px;
        font-size: 22px;
    }

    .landing-ai-login {
        top: 16px;
        right: 0;
        min-height: 42px;
        padding: 0 16px;
    }

    .landing-ai-board__top,
    .landing-ai-board__grid,
    .landing-ai-benefits {
        grid-template-columns: 1fr;
    }

    .landing-ai-board__top {
        padding: 22px;
    }

    .landing-ai-pipeline,
    .landing-ai-column--replies,
    .landing-ai-column--quality,
    .landing-ai-benefits {
        display: none;
    }

    .landing-ai-board__grid {
        padding: 22px;
    }

    .landing-ai-column {
        min-height: auto;
        padding-right: 0;
        border-right: 0;
    }
}

/* Public pages dark theme aligned with the current landing-v2 homepage. */
body:has(.landing) {
    background:
        radial-gradient(circle at 16% 7%, rgba(126, 62, 255, 0.28), transparent 28%),
        radial-gradient(circle at 86% 24%, rgba(240, 59, 208, 0.16), transparent 31%),
        linear-gradient(180deg, #030108 0%, #090314 48%, #05020d 100%);
    color: #f8f4ff;
    font-family: "Golos Text", "Manrope", Arial, sans-serif;
    overflow-x: hidden;
}

body:has(.landing)::before {
    display: block;
    background:
        radial-gradient(circle, rgba(159, 81, 255, 0.2) 1px, transparent 1.5px) 0 0 / 30px 30px,
        linear-gradient(115deg, transparent 0 16%, rgba(139, 70, 255, 0.18) 16.2%, transparent 17%, transparent 70%, rgba(240, 59, 208, 0.16) 70.2%, transparent 71%);
    opacity: 0.35;
    mask-image: none;
}

body:has(.landing)::after {
    content: "";
    position: fixed;
    left: -8vw;
    right: -8vw;
    bottom: 5vh;
    z-index: -1;
    height: 36vh;
    pointer-events: none;
    border: 1px solid rgba(176, 68, 255, 0.2);
    border-top: 2px solid rgba(240, 59, 208, 0.42);
    border-radius: 50% 50% 0 0;
    transform: rotate(-4deg);
    opacity: 0.58;
}

body:has(.landing) .shell-background {
    background:
        radial-gradient(circle at 18% 24%, rgba(240, 59, 208, 0.16), transparent 30%),
        radial-gradient(circle at 72% 42%, rgba(139, 70, 255, 0.2), transparent 34%),
        rgba(5, 2, 13, 0.74);
    opacity: 1;
}

.page:not(.page--with-sidebar):has(.landing) {
    background: transparent;
    box-sizing: border-box;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) {
    border: 1px solid rgba(151, 79, 255, 0.28);
    border-radius: 24px;
    background: rgba(7, 3, 18, 0.76);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__eyebrow {
    color: #f03bd0;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__heading,
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .topbar__meta {
    color: #ffffff;
}

.topbar:not(.topbar--with-sidebar):has(+ .page .landing),
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .button,
.landing,
.landing h1,
.landing h2,
.landing h3,
.landing strong,
.landing b,
.landing .button,
.landing-eyebrow,
.landing-section-head span,
.landing-pricing__card span {
    font-family: "Golos Text", "Manrope", Arial, sans-serif;
    letter-spacing: 0;
}

.landing {
    --ba-bg: #05020d;
    --ba-navy: #ffffff;
    --ba-ink: #f8f4ff;
    --ba-muted: #b7adc9;
    --ba-line: rgba(151, 79, 255, 0.2);
    --ba-card: rgba(22, 12, 48, 0.68);
    --ba-accent: #f03bd0;
    --ba-accent-dark: #8b46ff;
    color: #f8f4ff;
    max-width: 100%;
    box-sizing: border-box;
}

.landing.landing--simple {
    display: grid;
    gap: 22px;
}

.landing h1,
.landing h2,
.landing h3,
.landing strong,
.landing b,
.landing .button,
.landing-eyebrow {
    font-family: "Unbounded", "Golos Text", Arial, sans-serif;
}

.landing-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(240, 59, 208, 0.34);
    border-radius: 999px;
    color: #f03bd0;
    background: rgba(240, 59, 208, 0.1);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing .button {
    min-height: 52px;
    border: 1px solid rgba(240, 59, 208, 0.28);
    border-radius: 18px;
    background: linear-gradient(90deg, #f03bd0, #8b46ff);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(240, 59, 208, 0.24);
}

.landing .button:hover {
    background: linear-gradient(90deg, #ff5ad9, #9c65ff);
    border-color: rgba(240, 59, 208, 0.48);
    box-shadow: 0 18px 40px rgba(240, 59, 208, 0.34);
}

.landing .button--ghost,
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .button--ghost {
    color: #f8f4ff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(151, 79, 255, 0.3);
    box-shadow: none;
}

.landing .button--ghost:hover,
.topbar:not(.topbar--with-sidebar):has(+ .page .landing) .button--ghost:hover {
    background: rgba(151, 79, 255, 0.14);
    box-shadow: none;
}

.landing-showcase,
.landing-band--light,
.landing-grid article,
.landing-pricing__card,
.requisites-page,
.public-doc__section,
.seo-related,
.seo-final-cta {
    border: 1px solid rgba(151, 79, 255, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(22, 12, 48, 0.68);
    color: #f8f4ff;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.requisites-page {
    overflow: hidden;
}

.requisites-page h1,
.public-doc__section h2,
.landing-showcase__copy h2,
.landing-band--light .landing-section-head h2,
.landing-band--light .landing-grid h3,
.landing-section-head h2,
.landing-grid h3,
.landing-pricing h2,
.landing-final h2,
.seo-faq summary {
    color: #ffffff;
}

.requisites-page p,
.public-doc__section p,
.public-doc__section li,
.landing-showcase__copy p,
.landing-section-head p,
.landing-grid p,
.landing-pricing p,
.landing-final p {
    color: #b7adc9;
}

.seo-page__hero::after {
    background: radial-gradient(circle, rgba(240, 59, 208, 0.22), transparent 64%);
}

.seo-breadcrumbs {
    color: #8f83a8;
}

.seo-breadcrumbs a,
.landing-footer a,
.seo-card h2 a:hover {
    color: #f03bd0;
}

.seo-breadcrumbs a:hover,
.landing-footer a:hover {
    color: #ffffff;
    text-decoration-color: rgba(240, 59, 208, 0.72);
}

.landing .badge {
    border-color: rgba(151, 79, 255, 0.28);
    background: rgba(151, 79, 255, 0.14);
    color: #f8f4ff;
}

.requisites-card {
    border-color: rgba(151, 79, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.requisites-card div {
    border-bottom-color: rgba(151, 79, 255, 0.16);
}

.requisites-card dt {
    color: #8f83a8;
}

.requisites-card dd {
    color: #ffffff;
}

.seo-faq details {
    border-top-color: rgba(151, 79, 255, 0.2);
}

.landing-footer {
    color: #b7adc9;
}

@media (max-width: 640px) {
    .topbar:not(.topbar--with-sidebar):has(+ .page .landing),
    .page:not(.page--with-sidebar):has(.landing) {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .landing,
    .requisites-page,
    .public-doc__section,
    .public-doc__grid,
    .seo-card-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .landing,
    .requisites-page {
        width: calc(100vw - 36px);
        max-width: calc(100vw - 36px);
        margin-left: auto;
        margin-right: auto;
    }

    .requisites-page__head {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .topbar:not(.topbar--with-sidebar):has(+ .page .landing) {
        border-radius: 20px;
    }

    .requisites-page h1 {
        max-width: min(100%, 300px);
        font-size: clamp(28px, 7.8vw, 32px);
        line-height: 1.12;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .requisites-page__head p {
        max-width: min(100%, 300px);
        overflow-wrap: anywhere;
    }

    .public-doc__section p,
    .public-doc__section li {
        max-width: min(100%, 300px);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .seo-badge-row,
    .seo-cta-row,
    .requisites-actions,
    .public-doc__actions {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .seo-badge-row .badge,
    .seo-cta-row .button,
    .requisites-actions .button,
    .public-doc__actions .button {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .requisites-page p,
    .public-doc__section p,
    .public-doc__section li {
        font-size: 16px;
    }
}
