:root {
    --mkt-ink: #0e1614;
    --mkt-forest: #16352c;
    --mkt-moss: #2a6b55;
    --mkt-signal: #c4f061;
    --mkt-sand: #e7efe6;
    --mkt-muted: #8aa399;
    --mkt-line: rgba(231, 239, 230, 0.16);
    --mkt-font: "IBM Plex Sans", "Segoe UI", sans-serif;
    --mkt-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    /* Condensed Cyrillic for ОПС — closer to the old Latin OPS display cut */
    --mkt-ops: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
    --mkt-header-h: 4.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--mkt-header-h) + 0.75rem);
    overflow-x: clip;
}

body.mkt {
    margin: 0;
    font-family: var(--mkt-font);
    color: var(--mkt-sand);
    background: var(--mkt-ink);
    line-height: 1.5;
    min-height: 100vh;
    padding-top: var(--mkt-header-h);
    overflow-x: clip;
}

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

.mkt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
    min-height: var(--mkt-header-h);
    padding: 0.7rem clamp(1rem, 3vw, 3rem);
    background: rgba(14, 22, 20, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--mkt-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.mkt-brand-icon {
    width: 36px;
    height: 36px;
    display: block;
    flex-shrink: 0;
}

.mkt-brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.22em;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 0.92;
}

.mkt-brand-mark {
    color: var(--mkt-signal);
    letter-spacing: 0.06em;
}

.mkt-brand-name {
    font-family: var(--mkt-ops);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--mkt-sand);
    letter-spacing: 0.06em;
    line-height: 1;
}

.mkt-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.95rem;
}

.mkt-nav-links a:not(.mkt-nav-login) {
    white-space: nowrap;
    opacity: 0.92;
}

.mkt-nav-links a:not(.mkt-nav-login):hover {
    color: var(--mkt-signal);
    opacity: 1;
}

.mkt-nav-login {
    border: 1px solid var(--mkt-line);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.mkt-nav-login:hover {
    border-color: var(--mkt-signal);
    color: var(--mkt-signal);
}

.mkt-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--mkt-line);
    background: transparent;
    color: var(--mkt-sand);
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.mkt-nav-toggle:hover {
    border-color: var(--mkt-signal);
    color: var(--mkt-signal);
}

.mkt-nav-toggle-bars,
.mkt-nav-toggle-bars::before,
.mkt-nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mkt-nav-toggle-bars::before,
.mkt-nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.mkt-nav-toggle-bars::before { top: -6px; }
.mkt-nav-toggle-bars::after { top: 6px; }

body.mkt-nav-open .mkt-nav-toggle-bars {
    background: transparent;
}

body.mkt-nav-open .mkt-nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

body.mkt-nav-open .mkt-nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.mkt-messages {
    position: relative;
    z-index: 5;
    padding: 1rem 1.5rem 0;
}

.mkt-message {
    max-width: 720px;
    margin: 0 auto 0.5rem;
    background: rgba(42, 107, 85, 0.35);
    border: 1px solid var(--mkt-moss);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.mkt-hero {
    position: relative;
    min-height: calc(100dvh - 4.25rem);
    display: grid;
    align-items: end;
    padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
    overflow: hidden;
}

.mkt-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(14, 22, 20, 0.92) 0%, rgba(14, 22, 20, 0.72) 42%, rgba(14, 22, 20, 0.35) 70%, rgba(14, 22, 20, 0.55) 100%),
        radial-gradient(ellipse at 70% 20%, rgba(196, 240, 97, 0.18), transparent 45%),
        radial-gradient(ellipse at 20% 80%, rgba(42, 107, 85, 0.45), transparent 50%),
        linear-gradient(160deg, #16352c 0%, #0e1614 48%, #1a2a24 100%);
    background-size: cover;
}

.mkt-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(231, 239, 230, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(231, 239, 230, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
    animation: mkt-grid-drift 28s linear infinite;
}

.mkt-hero-visual {
    --mkt-hero-gutter: clamp(1.25rem, 4vw, 3rem);
    position: absolute;
    right: var(--mkt-hero-gutter);
    top: 50%;
    transform: translateY(-48%);
    transform-origin: right center;
    /* Fit inside hero gutters — scale down rather than crop with overflow */
    width: min(42vw, 560px, calc(100% - 2 * var(--mkt-hero-gutter)));
    max-width: calc(100% - 2 * var(--mkt-hero-gutter));
    pointer-events: none;
    z-index: 1;
    overflow: visible;
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    animation: mkt-float 7s ease-in-out infinite;
}

.mkt-hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right center;
    opacity: 0.95;
}

@keyframes mkt-float {
    0%, 100% { transform: translateY(-48%); }
    50% { transform: translateY(calc(-48% - 10px)); }
}

@keyframes mkt-grid-drift {
    from { transform: translateY(0); }
    to { transform: translateY(48px); }
}

.mkt-hero-content {
    position: relative;
    z-index: 2;
    max-width: min(820px, 52vw);
    animation: mkt-rise 0.9s ease-out both;
}

@keyframes mkt-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.mkt-hero-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.18em;
    font-family: var(--mkt-display);
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--mkt-signal);
    margin: 0 0 0.75rem;
    white-space: nowrap;
}

.mkt-hero-brand-ru {
    color: var(--mkt-signal);
    letter-spacing: 0.04em;
}

.mkt-hero-brand-ops {
    font-family: var(--mkt-ops);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--mkt-sand);
    letter-spacing: 0.05em;
    line-height: 1;
}

.mkt-hero-title {
    font-family: var(--mkt-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 1rem;
    max-width: 16ch;
}

.mkt-hero-lead {
    font-size: 1.05rem;
    color: var(--mkt-muted);
    max-width: 42ch;
    margin: 0 0 1.75rem;
}

.mkt-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.35rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mkt-btn:hover {
    transform: translateY(-1px);
}

.mkt-btn-primary {
    background: var(--mkt-signal);
    color: var(--mkt-ink);
}

.mkt-btn-ghost {
    border-color: var(--mkt-line);
    color: var(--mkt-sand);
    background: transparent;
}

.mkt-btn-ghost:hover {
    border-color: var(--mkt-signal);
}

.mkt-btn-block {
    width: 100%;
}

.mkt-section {
    padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.mkt-about {
    background: linear-gradient(180deg, #12211c 0%, #0e1614 100%);
    border-top: 1px solid var(--mkt-line);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-about h2,
.mkt-section-title,
.mkt-form-section h1 {
    font-family: var(--mkt-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
}

.mkt-about p,
.mkt-section-lead {
    color: var(--mkt-muted);
    max-width: 54ch;
    margin: 0;
}

.mkt-section-lead {
    margin-bottom: 2rem;
}

.mkt-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.mkt-wrap-narrow {
    max-width: 480px;
}

.mkt-kicker {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-signal);
    font-weight: 600;
}

.mkt-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.mkt-split-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.mkt-split-reverse .mkt-split-copy {
    order: 2;
}

.mkt-split-reverse .mkt-split-media {
    order: 1;
}

.mkt-split-copy .mkt-section-title {
    margin-bottom: 1rem;
}

.mkt-split-copy .mkt-section-lead {
    max-width: none;
}

.mkt-split-copy .mkt-prose-block {
    max-width: none;
    margin-bottom: 1.5rem;
}

.mkt-split-media {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.mkt-split-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.mkt-alt {
    background: linear-gradient(180deg, #12211c 0%, #0e1614 100%);
    border-top: 1px solid var(--mkt-line);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-systems {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.mkt-systems-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.mkt-systems-cards li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 1rem 0.9rem;
    border: 1px solid var(--mkt-line);
    background: rgba(14, 22, 20, 0.45);
    color: var(--mkt-sand);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    min-height: 7.5rem;
}

.mkt-systems-cards img {
    width: 40px;
    height: 40px;
    display: block;
}

.mkt-systems li {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--mkt-line);
    color: var(--mkt-sand);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.mkt-prose,
.mkt-prose-block {
    color: var(--mkt-muted);
    max-width: 68ch;
    font-size: 1.05rem;
    line-height: 1.65;
}

.mkt-prose-block {
    display: grid;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.mkt-prose-block p {
    margin: 0;
}

.mkt-catalog-points {
    list-style: none;
    padding: 0;
    margin: 2.75rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--mkt-line);
}

.mkt-catalog-points li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.4rem;
    align-content: start;
    padding: 1.5rem 1.35rem 0.25rem 0;
    color: var(--mkt-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    animation: mkt-rise 0.75s ease-out both;
}

.mkt-catalog-points li:nth-child(1) { animation-delay: 0.05s; }
.mkt-catalog-points li:nth-child(2) { animation-delay: 0.12s; }
.mkt-catalog-points li:nth-child(3) { animation-delay: 0.19s; }

.mkt-catalog-points li + li {
    padding-left: 1.35rem;
    border-left: 1px solid var(--mkt-line);
}

.mkt-catalog-points li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 2.75rem;
    height: 2px;
    background: var(--mkt-signal);
}

.mkt-catalog-points li + li::before {
    left: 1.35rem;
}

.mkt-catalog-points-index {
    grid-row: 1 / span 2;
    align-self: start;
    font-family: var(--mkt-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--mkt-signal);
    opacity: 0.9;
    padding-top: 0.15rem;
}

.mkt-catalog-points strong {
    font-family: var(--mkt-display);
    font-size: clamp(1.25rem, 2.2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--mkt-sand);
}

.mkt-catalog-points-text {
    display: block;
    max-width: 28ch;
}

#audience .mkt-catalog-points strong {
    max-width: 18ch;
}

#audience .mkt-catalog-points-text {
    max-width: 32ch;
}

.mkt-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.mkt-benefits-stack {
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.mkt-benefits-stack .mkt-benefit {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-benefits-stack .mkt-benefit:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mkt-benefit h3,
.mkt-steps h3 {
    font-family: var(--mkt-display);
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.mkt-benefit p,
.mkt-steps p,
.mkt-modules span {
    margin: 0;
    color: var(--mkt-muted);
    font-size: 0.98rem;
}

.mkt-modules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--mkt-line);
}

.mkt-modules li {
    display: grid;
    gap: 0.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--mkt-line);
    padding-right: 1.5rem;
}

.mkt-modules strong {
    font-family: var(--mkt-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.mkt-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.mkt-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-step-num {
    font-family: var(--mkt-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--mkt-signal);
    line-height: 1;
    min-width: 2.2rem;
}

.mkt-cta-band {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(196, 240, 97, 0.12), transparent 50%),
        linear-gradient(180deg, #16352c 0%, #0e1614 100%);
    border-top: 1px solid var(--mkt-line);
}

.mkt-cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.mkt-cta-band .mkt-section-lead {
    margin-bottom: 0;
}

.mkt-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.mkt-plan {
    border: 1px solid var(--mkt-line);
    background: rgba(22, 53, 44, 0.35);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: mkt-rise 0.7s ease-out both;
}

.mkt-plan:nth-child(2) { animation-delay: 0.08s; }
.mkt-plan:nth-child(3) { animation-delay: 0.16s; }

.mkt-plan-featured {
    border-color: rgba(196, 240, 97, 0.45);
    background: linear-gradient(180deg, rgba(42, 107, 85, 0.4), rgba(14, 22, 20, 0.6));
    box-shadow: 0 0 0 1px rgba(196, 240, 97, 0.12);
}

.mkt-plan h3 {
    font-family: var(--mkt-display);
    font-size: 1.8rem;
    margin: 0;
}

.mkt-plan-sub {
    color: var(--mkt-muted);
    margin: 0;
    min-height: 2.8em;
}

.mkt-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.mkt-price-value {
    font-family: var(--mkt-display);
    font-size: 2.2rem;
    font-weight: 700;
}

.mkt-price-period {
    color: var(--mkt-muted);
    font-size: 0.9rem;
}

.mkt-plan-limits {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    color: var(--mkt-muted);
    font-size: 0.92rem;
}

.mkt-plan-limits li {
    padding: 0.35rem 0;
    border-top: 1px solid var(--mkt-line);
}

.mkt-plan-note {
    font-size: 0.8rem;
    color: var(--mkt-muted);
    margin: 0;
    text-align: center;
}

.mkt-compare {
    margin-top: 3.5rem;
}

.mkt-compare-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.mkt-compare-lead {
    margin: 0 0 1.5rem;
    color: var(--mkt-muted);
    max-width: 40rem;
}

.mkt-compare-scroll {
    overflow-x: auto;
    border: 1px solid var(--mkt-line);
    border-radius: 8px;
    background: rgba(14, 22, 20, 0.45);
}

.mkt-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.mkt-compare-table th,
.mkt-compare-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--mkt-line);
    vertical-align: middle;
}

.mkt-compare-table thead th {
    background: rgba(20, 32, 28, 0.9);
    color: var(--mkt-sand);
    font-weight: 600;
    white-space: nowrap;
}

.mkt-compare-table tbody th {
    font-weight: 500;
    color: var(--mkt-muted);
    width: 34%;
}

.mkt-compare-table tbody tr:last-child th,
.mkt-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.mkt-compare-table tbody td {
    color: var(--mkt-sand);
}

.mkt-compare-table thead th:nth-child(3),
.mkt-compare-table tbody td:nth-child(3) {
    background: rgba(62, 140, 110, 0.08);
}

.mkt-form-section {
    padding-top: 2.5rem;
    min-height: 70vh;
}

.mkt-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mkt-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.mkt-field input,
.mkt-field textarea,
.mkt-field select {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--mkt-line);
    background: rgba(14, 22, 20, 0.7);
    color: var(--mkt-sand);
    font: inherit;
    color-scheme: dark;
}

.mkt-field input:focus,
.mkt-field textarea:focus {
    outline: 2px solid rgba(196, 240, 97, 0.45);
    border-color: transparent;
}

/* Keep autofill in the dark family (browser defaults wash fields light). */
.mkt-field input:-webkit-autofill,
.mkt-field input:-webkit-autofill:hover,
.mkt-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--mkt-sand);
    caret-color: var(--mkt-sand);
    box-shadow: 0 0 0 1000px rgba(14, 22, 20, 0.92) inset;
    transition: background-color 99999s ease-out;
}

.mkt-error {
    color: #ff8f8f;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.mkt-link {
    color: var(--mkt-signal);
    font-size: 0.9rem;
}

.mkt-footer {
    border-top: 1px solid var(--mkt-line);
    padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
    color: var(--mkt-muted);
}

.mkt-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.mkt-footer-brand {
    font-family: var(--mkt-display);
    font-size: 1.4rem;
    color: var(--mkt-sand);
    margin-bottom: 0.5rem;
}

.mkt-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.mkt-footer-links a:hover {
    color: var(--mkt-signal);
}

/* Tablet */
@media (max-width: 1100px) {
    .mkt-systems-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mkt-hero-content {
        max-width: min(560px, 58vw);
    }

    .mkt-hero-visual {
        width: min(40vw, 460px, calc(100% - 2 * var(--mkt-hero-gutter)));
        opacity: 0.85;
    }
}

@media (max-width: 900px) {
    :root {
        --mkt-header-h: 4.1rem;
    }

    .mkt-nav {
        flex-wrap: nowrap;
        min-height: var(--mkt-header-h);
        padding: 0.65rem 1rem;
    }

    .mkt-nav-toggle {
        display: inline-flex;
    }

    .mkt-nav-links {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        background: rgba(14, 22, 20, 0.98);
        border-bottom: 1px solid var(--mkt-line);
        font-size: 1rem;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    }

    body.mkt-nav-open .mkt-nav-links {
        display: flex;
    }

    .mkt-nav-links a {
        padding: 0.85rem 0.25rem;
        border-bottom: 1px solid var(--mkt-line);
        white-space: normal;
    }

    .mkt-nav-links a:last-child {
        border-bottom: 0;
        margin-top: 0.35rem;
        text-align: center;
    }

    .mkt-pricing,
    .mkt-benefits:not(.mkt-benefits-stack),
    .mkt-modules,
    .mkt-split,
    .mkt-split-reverse {
        grid-template-columns: 1fr;
    }

    .mkt-split-reverse .mkt-split-copy,
    .mkt-split-reverse .mkt-split-media {
        order: initial;
    }

    .mkt-split-media {
        max-width: 420px;
        margin: 0 auto;
    }

    .mkt-catalog-points {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2.25rem;
    }

    .mkt-catalog-points li {
        padding: 1.25rem 0 1.15rem;
        grid-template-columns: 2.4rem 1fr;
    }

    .mkt-catalog-points li + li {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--mkt-line);
    }

    .mkt-catalog-points li::before,
    .mkt-catalog-points li + li::before {
        left: 0;
        width: 2.25rem;
    }

    .mkt-catalog-points-text {
        max-width: none;
    }

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

    .mkt-systems-cards li {
        min-height: 0;
    }

    .mkt-hero {
        align-items: end;
        min-height: calc(100dvh - var(--mkt-header-h));
        padding: 2.5rem 1.25rem 2.5rem;
    }

    .mkt-hero-title {
        max-width: none;
    }

    .mkt-hero-content {
        max-width: 100%;
    }

    .mkt-hero-visual {
        right: 1.25rem;
        width: min(68vw, 360px);
        max-width: calc(100% - 2.5rem);
        top: 38%;
        opacity: 0.28;
        mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 65%, transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 65%, transparent 100%);
        animation: none;
        transform: translateY(-40%);
    }

    .mkt-section {
        padding: 3rem 1.25rem;
    }

    .mkt-cta-band-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .mkt-cta-band .mkt-hero-cta,
    .mkt-hero-cta {
        width: 100%;
    }

    .mkt-cta-band .mkt-btn,
    .mkt-hero .mkt-btn {
        flex: 1 1 100%;
    }

    .mkt-plan-sub {
        min-height: 0;
    }

    .mkt-form-section {
        padding-top: 1.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        min-height: auto;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .mkt-systems-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .mkt-systems-cards li {
        padding: 0.85rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.55rem;
    }

    .mkt-systems-cards img {
        width: 34px;
        height: 34px;
    }

    .mkt-nav .mkt-brand {
        font-size: 1.3rem;
    }

    .mkt-nav .mkt-brand-icon {
        width: 30px;
        height: 30px;
    }

    .mkt-auth-brand {
        font-size: clamp(2.35rem, 11vw, 2.9rem);
        gap: 0.65rem;
    }

    .mkt-auth-brand .mkt-brand-icon {
        width: 48px;
        height: 48px;
    }

    .mkt-hero-brand {
        font-size: clamp(2.8rem, 16vw, 4.2rem);
    }

    .mkt-hero-lead,
    .mkt-prose,
    .mkt-prose-block {
        font-size: 0.98rem;
    }

    .mkt-hero-visual {
        opacity: 0.2;
        width: calc(100% - 2.5rem);
        max-width: 100%;
        right: 1.25rem;
        left: auto;
        top: 30%;
    }

    .mkt-pricing {
        grid-template-columns: 1fr;
    }

    .mkt-modules li {
        padding-right: 0;
    }

    .mkt-footer {
        padding: 2rem 1.25rem;
    }

    .mkt-messages {
        padding: 0.75rem 1rem 0;
    }
}

@media (max-width: 400px) {
    .mkt-systems-cards {
        grid-template-columns: 1fr 1fr;
    }

    .mkt-nav-login {
        padding: 0.55rem 0.75rem;
    }
}

/* Cabinet / auth login — shared marketing atmosphere (company + mobile + PWA) */
body.mkt.mkt-auth-page {
    color-scheme: dark;
    padding-top: 0;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: clip;
    background: var(--mkt-ink);
}

.mkt-auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(105deg, rgba(14, 22, 20, 0.94) 0%, rgba(14, 22, 20, 0.78) 45%, rgba(14, 22, 20, 0.55) 100%),
        radial-gradient(ellipse at 72% 18%, rgba(196, 240, 97, 0.16), transparent 45%),
        radial-gradient(ellipse at 18% 78%, rgba(42, 107, 85, 0.42), transparent 50%),
        linear-gradient(160deg, #16352c 0%, #0e1614 48%, #1a2a24 100%);
}

.mkt-auth-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(231, 239, 230, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(231, 239, 230, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: mkt-grid-drift 28s linear infinite;
}

.mkt-auth-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    margin: 0 auto;
    padding: clamp(1.75rem, 5vh, 3rem) clamp(1.25rem, 4vw, 1.75rem);
    animation: mkt-rise 0.75s ease-out both;
}

.mkt-auth-brandblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    margin: 0 0 1.85rem;
}

.mkt-auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    font-size: clamp(2.55rem, 8vw, 3.35rem);
    letter-spacing: 0.02em;
}

.mkt-auth-brand .mkt-brand-icon {
    width: clamp(48px, 12vw, 56px);
    height: clamp(48px, 12vw, 56px);
}

.mkt-auth-brand .mkt-brand-wordmark {
    gap: 0.18em;
    padding-bottom: 0.04em;
    border-bottom: 2px solid rgba(196, 240, 97, 0.45);
}

.mkt-auth-tagline {
    margin: 0 auto;
    max-width: 28ch;
    font-family: var(--mkt-font);
    font-size: clamp(0.92rem, 2.4vw, 1.02rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--mkt-muted);
    text-align: center;
}

.mkt-auth-messages {
    padding: 0 0 1rem;
    text-align: center;
}

.mkt-auth-messages .mkt-message {
    margin: 0 0 0.5rem;
}

.mkt-auth-panel {
    border: 1px solid var(--mkt-line);
    border-radius: 8px;
    padding: clamp(1.35rem, 3vw, 1.75rem);
    /* Opaque enough that PWA/browser cannot read as a light card if blur fails. */
    background: rgba(14, 22, 20, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    color: var(--mkt-sand);
}

.mkt-auth-title {
    font-family: var(--mkt-display);
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.5rem;
    line-height: 1.15;
    text-align: center;
}

.mkt-auth-lead {
    color: var(--mkt-muted);
    margin: 0 auto 1.35rem;
    font-size: 0.95rem;
    max-width: none;
    text-align: center;
}

.mkt-auth-demo {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: rgba(180, 83, 9, 0.12);
    border: 1px solid rgba(180, 83, 9, 0.35);
    color: var(--mkt-sand);
    font-size: 0.9rem;
    text-align: center;
}

.mkt-auth-demo strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #fbbf24;
}

.mkt-auth-demo p {
    margin: 0;
    line-height: 1.45;
}

.mkt-auth-demo code,
.mkt-auth-register-note code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    padding: 0.05em 0.35em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.mkt-auth-errors {
    margin-bottom: 1rem;
    text-align: center;
}

.mkt-auth-form {
    text-align: center;
}

.mkt-auth-form .mkt-field {
    text-align: center;
}

.mkt-auth-form .mkt-field label {
    text-align: center;
}

.mkt-auth-form .mkt-field input,
.mkt-auth-form .mkt-field textarea,
.mkt-auth-form .mkt-field select {
    text-align: center;
}

.mkt-auth-form .mkt-btn {
    margin-top: 0.35rem;
}

.mkt-auth-forgot {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.92rem;
}

.mkt-auth-register {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--mkt-line);
    text-align: center;
}

.mkt-auth-register-lead {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    color: var(--mkt-sand);
}

.mkt-auth-register-note {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    color: var(--mkt-muted);
}

.mkt-auth-home {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .mkt-hero-visual,
    .mkt-hero-bg::after,
    .mkt-hero-content,
    .mkt-plan,
    .mkt-catalog-points li,
    .mkt-auth-bg::after,
    .mkt-auth-shell {
        animation: none !important;
    }
}
