/**
 * Marketing — cinematic signal
 * Night constellation hero · coral signal · Manrope + Source Sans 3
 */

:root {
    --mkt-night: #07090d;
    --mkt-night-2: #10141c;
    --mkt-ink: #111318;
    --mkt-soft: #2a303a;
    --mkt-muted: #66707d;
    --mkt-line: #e4e7ec;
    --mkt-paper: #f4f5f7;
    --mkt-white: #ffffff;
    --mkt-signal: #ff4f1f;
    --mkt-signal-hot: #ff6a3d;
    --mkt-signal-ink: #c9370a;
    --mkt-ok: #1f7a52;
    --mkt-warn: #b07500;
    --mkt-bad: #c0392b;
    --mkt-font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --mkt-font: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
    --mkt-radius: 6px;
    --mkt-max: 1120px;
    --mkt-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --mkt-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --mkt-ease-move: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection {
    background: rgba(255, 79, 31, 0.22);
    color: var(--mkt-ink);
}

.mkt-body :focus-visible {
    outline: 2px solid var(--mkt-signal);
    outline-offset: 3px;
}

.mkt-body a:focus:not(:focus-visible),
.mkt-body button:focus:not(:focus-visible) { outline: none; }

body.mkt-body {
    margin: 0;
    min-height: 100%;
    font-family: var(--mkt-font);
    font-size: 1.125rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--mkt-soft);
    background: var(--mkt-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.mkt-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Nav ---------- */
.mkt-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem clamp(1.1rem, 3vw, 2rem);
    color: #fff;
}

.mkt-nav__brand {
    font-family: var(--mkt-font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.05em;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.mkt-nav__logo {
    height: 40px; /* overridden by admin logo_height_px inline style */
    width: auto;
    max-width: 14rem;
    object-fit: contain;
}

.mkt-nav__links {
    display: none;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
}

.mkt-nav__links a:hover { color: #fff; }

.mkt-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.mkt-lang {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--mkt-radius);
    overflow: hidden;
}

.mkt-lang__btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.mkt-lang__btn.is-on {
    background: #fff;
    color: var(--mkt-ink);
}

/* ---------- Buttons ---------- */
.mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--mkt-radius);
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.15s var(--mkt-ease), background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mkt-btn:active { transform: scale(0.98); }
.mkt-btn--lg { padding: 0.85rem 1.45rem; font-size: 1rem; }
.mkt-btn--block { width: 100%; margin-top: auto; }

.mkt-btn--signal {
    background: var(--mkt-signal);
    color: #fff;
    border-color: var(--mkt-signal);
}

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

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

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

.mkt-btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mkt-btn--ghost-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.mkt-nav .mkt-btn--signal {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
}

/* ---------- Hero ---------- */
.mkt-hero {
    position: relative;
    box-sizing: border-box;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.75rem clamp(1rem, 3vw, 2.5rem);
    align-content: stretch;
    padding: 5.25rem clamp(1.15rem, 4vw, 3rem) 1rem;
    background: var(--mkt-night);
    color: #fff;
    overflow: hidden;
}

@media (min-width: 961px) {
    .mkt-hero {
        height: 100svh;
        max-height: 100svh;
    }
}

.mkt-hero__sky {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 50% at 78% 28%, rgba(255, 79, 31, 0.2), transparent 58%),
        radial-gradient(ellipse 45% 40% at 12% 75%, rgba(60, 90, 160, 0.16), transparent 55%),
        linear-gradient(180deg, #0b0f16 0%, #07090d 100%);
    pointer-events: none;
}

/* ---------- Hero story: vibe → blind → solve ---------- */
.mkt-story {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 40rem;
    margin: 0;
    justify-self: end;
    align-self: center;
    min-height: 0;
    max-height: 100%;
}

.mkt-story__caption {
    margin: 0 0 0.55rem;
    font-family: var(--mkt-font-display);
    font-size: clamp(0.88rem, 1.5vw, 1.05rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.88);
    min-height: 2.4em;
    transition: opacity 320ms var(--mkt-ease-out), transform 320ms var(--mkt-ease-out);
}

.mkt-story.is-caption-swap .mkt-story__caption {
    opacity: 0;
    transform: translateY(8px);
}

.mkt-story__stage {
    position: relative;
    isolation: isolate;
}

.mkt-story__prompt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 14, 0.72);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.78);
    min-height: 2.35rem;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition:
        opacity 320ms var(--mkt-ease-out),
        transform 320ms var(--mkt-ease-out);
}

.mkt-story[data-beat="vibe"] .mkt-story__prompt,
.mkt-story[data-beat="blind"] .mkt-story__prompt,
.mkt-story[data-beat="solve"] .mkt-story__prompt {
    opacity: 1;
    transform: none;
}

.mkt-story__badge {
    flex: 0 0 auto;
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--mkt-signal);
}

.mkt-story__typed {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mkt-story__caret {
    width: 2px;
    height: 1.05em;
    background: var(--mkt-signal);
    flex: 0 0 auto;
    opacity: 0;
    animation: mkt-caret 1s steps(1) infinite;
}

.mkt-story[data-beat="vibe"] .mkt-story__caret { opacity: 1; }

@keyframes mkt-caret {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.mkt-story__site {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.06), transparent 40%),
        #0c1018;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition:
        opacity 380ms var(--mkt-ease-out),
        transform 380ms var(--mkt-ease-out),
        border-color 320ms var(--mkt-ease-out);
}

.mkt-story[data-beat="vibe"] .mkt-story__site,
.mkt-story[data-beat="blind"] .mkt-story__site,
.mkt-story[data-beat="solve"] .mkt-story__site {
    opacity: 1;
    transform: none;
}

.mkt-story[data-beat="blind"] .mkt-story__site {
    border-color: rgba(255, 120, 80, 0.35);
}

.mkt-story[data-beat="solve"] .mkt-story__site {
    border-color: rgba(47, 155, 106, 0.45);
}

.mkt-story__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.mkt-story__chrome i {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.mkt-story__chrome i:nth-child(1) { background: #ff5f57; }
.mkt-story__chrome i:nth-child(2) { background: #febc2e; }
.mkt-story__chrome i:nth-child(3) { background: #28c840; }

.mkt-story__chrome em {
    margin-left: 0.55rem;
    font-style: normal;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.mkt-story__page {
    padding: 0.75rem 0.85rem 0.9rem;
    display: grid;
    gap: 0.5rem;
    min-height: 0;
}

.mkt-story__block {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition:
        opacity 280ms var(--mkt-ease-out),
        transform 280ms var(--mkt-ease-out),
        background 280ms var(--mkt-ease-out);
}

.mkt-story__block.is-on {
    opacity: 1;
    transform: none;
}

.mkt-story__block--nav {
    height: 0.85rem;
    width: 62%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.mkt-story__block--hero {
    height: 3.2rem;
    background:
        linear-gradient(120deg, rgba(255, 79, 31, 0.35), rgba(255, 255, 255, 0.08) 55%, rgba(60, 90, 160, 0.2));
}

.mkt-story__block--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    background: transparent;
    height: auto;
}

.mkt-story__block--grid span {
    display: block;
    height: 1.85rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
}

.mkt-story__scan {
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    height: 28%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(255, 79, 31, 0.18),
        transparent
    );
    opacity: 0;
    pointer-events: none;
}

.mkt-story[data-beat="solve"] .mkt-story__scan {
    opacity: 1;
    animation: mkt-story-scan 1.4s var(--mkt-ease-move) both;
}

@keyframes mkt-story-scan {
    from { transform: translateY(0); }
    to { transform: translateY(320%); }
}

.mkt-story__flags {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    min-height: 1.7rem;
    pointer-events: none;
}

.mkt-story__flags li {
    padding: 0.15rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffb195;
    border-bottom: 1px solid rgba(255, 120, 80, 0.4);
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition:
        opacity 240ms var(--mkt-ease-out),
        transform 240ms var(--mkt-ease-out);
}

.mkt-story[data-beat="blind"] .mkt-story__flags li.is-on {
    opacity: 1;
    transform: none;
}

.mkt-story__scores {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem 0.65rem;
    min-height: 2.4rem;
}

.mkt-story__scores li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition:
        opacity 260ms var(--mkt-ease-out),
        transform 260ms var(--mkt-ease-out);
}

.mkt-story__scores li.is-on {
    opacity: 1;
    transform: none;
}

.mkt-story__scores strong {
    font-family: var(--mkt-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #9ae6bf;
}

.mkt-story__scores em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.mkt-story__status {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    transition: color 280ms var(--mkt-ease-out);
}

.mkt-story[data-beat="blind"] .mkt-story__status { color: #ff9a78; }
.mkt-story[data-beat="solve"] .mkt-story__status { color: #6fdb9f; }

.mkt-hero__content {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    max-width: 34rem;
    min-width: 0;
    margin-top: -2.5vh;
    animation: mkt-up 0.9s var(--mkt-ease) both;
}

.mkt-hero__brand {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: clamp(2.5rem, 6.2vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.92;
    color: #fff;
    max-width: 12ch;
}

.mkt-hero__title {
    margin: 0.85rem 0 0;
    max-width: 28ch;
    font-family: var(--mkt-font-display);
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.94);
}

.mkt-hero__lead {
    margin: 0.65rem 0 0;
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.68);
}

.mkt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.mkt-hero__ticker {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    animation: mkt-up 1s var(--mkt-ease) 0.15s both;
}

.mkt-cycle__slides {
    position: relative;
    flex: 1;
    min-width: 0;
}

.mkt-cycle__slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
        opacity 0.35s var(--mkt-ease-out),
        transform 0.35s var(--mkt-ease-out);
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
    white-space: normal;
}

.mkt-cycle__slide.is-on {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 1;
}

.mkt-cycle__slide span {
    color: var(--mkt-signal);
    font-family: var(--mkt-font-display);
    font-weight: 800;
    margin-right: 0.45rem;
}

.mkt-cycle__slide strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.mkt-cycle__slide em {
    display: block;
    margin-top: 0.3rem;
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
}

.mkt-cycle__dots {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-top: 0.45rem;
}

.mkt-cycle__dots button {
    width: 1.6rem;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 0;
}

.mkt-cycle__dots button.is-on { background: var(--mkt-signal); width: 2.4rem; }

@keyframes mkt-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Strip ---------- */
.mkt-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--mkt-white);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-strip__item {
    padding: 1.45rem 1.1rem;
    border-right: 1px solid var(--mkt-line);
    transition: background 0.2s ease;
}

.mkt-strip__item:last-child { border-right: none; }
.mkt-strip__item:hover { background: #fff5f1; }

.mkt-strip__item strong {
    display: block;
    font-family: var(--mkt-font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mkt-ink);
}

.mkt-strip__item span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.92rem;
    color: var(--mkt-muted);
}

/* ---------- Features ---------- */
.mkt-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mkt-signal);
}

.mkt-kicker--on-dark { color: var(--mkt-signal-hot); }

.mkt-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4.5vw, 3.75rem);
    align-items: start;
    width: min(var(--mkt-max), 100%);
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.15rem, 3vw, 2rem);
}

.mkt-feature--flip .mkt-feature__copy { order: 2; }
.mkt-feature--flip .mkt-feature__stage { order: 1; }

.mkt-feature__copy h2 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
    color: var(--mkt-ink);
    max-width: 16ch;
}

.mkt-feature__copy > p {
    margin: 1.1rem 0 0;
    color: var(--mkt-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 38rem;
}

.mkt-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.mkt-detail {
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--mkt-line);
    border-left: 3px solid var(--mkt-signal);
    border-radius: var(--mkt-radius);
    background: var(--mkt-white);
}

.mkt-detail h3 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mkt-ink);
}

.mkt-detail p {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--mkt-muted);
}

.mkt-feature__stage {
    min-width: 0;
    position: sticky;
    top: 5.5rem;
    align-self: start;
    height: calc(100vh - 7rem);
    max-height: 42rem;
    min-height: 28rem;
}

/* Demo panels */
.mkt-demo {
    position: relative;
    height: 100%;
    min-height: 100%;
    background: var(--mkt-white);
    border: 1px solid var(--mkt-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(7, 9, 13, 0.08);
    display: flex;
    flex-direction: column;
}

.mkt-demo__chrome {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mkt-line);
    background: #fafbfc;
    flex-shrink: 0;
}

.mkt-demo__chrome em {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.mkt-demo__panel { padding: 1.1rem 1rem 1.25rem; flex: 1; }

.mkt-demo[data-phase="scan"] .mkt-demo__panel,
.mkt-demo[data-phase="done"] .mkt-demo__panel { display: none; }

.mkt-demo__nav {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--mkt-line);
    padding-bottom: 0.55rem;
}

.mkt-demo__nav .is-muted { color: #9aa3ad; }
.mkt-demo__nav .is-on {
    color: var(--mkt-signal);
    border-bottom: 2px solid var(--mkt-signal);
    margin-bottom: -0.55rem;
    padding-bottom: 0.45rem;
}

.mkt-demo__form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.mkt-demo__field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--mkt-line);
    border-radius: var(--mkt-radius);
    background: var(--mkt-paper);
    font-weight: 600;
    color: var(--mkt-ink);
    min-height: 2.85rem;
}

.mkt-demo__field i { color: var(--mkt-signal); }
.mkt-demo__typed { white-space: nowrap; overflow: hidden; }

.mkt-demo__caret {
    width: 2px;
    height: 1.1em;
    background: var(--mkt-signal);
    opacity: 0;
}

.mkt-demo[data-phase="panel"] .mkt-demo__caret,
.mkt-demo--viz[data-phase="ask"] .mkt-demo__caret {
    opacity: 1;
    animation: mkt-blink 0.9s step-end infinite;
}

.mkt-demo__go {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    padding: 0.7rem 1.05rem;
    border: 0;
    border-radius: var(--mkt-radius);
    background: var(--mkt-signal);
    color: #fff;
    font-weight: 700;
}

.mkt-demo__go.is-press { transform: scale(0.98); }

.mkt-demo__overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1rem;
}

.mkt-demo[data-phase="scan"] .mkt-demo__overlay { display: flex; }

.mkt-demo__overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(244, 245, 247, 0.94);
}

.mkt-demo__card {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--mkt-line);
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.mkt-demo__orb { display: none; }

.mkt-demo__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.mkt-demo__eyebrow--ok { color: var(--mkt-ok); }

.mkt-demo__title {
    margin: 0.35rem 0 0;
    font-family: var(--mkt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-demo__detail {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.mkt-demo__domain {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mkt-signal);
}

.mkt-demo__ring {
    width: 2rem;
    height: 2rem;
    margin: 0.85rem 0;
    border: 2px solid var(--mkt-line);
    border-top-color: var(--mkt-signal);
    border-radius: 50%;
    animation: mkt-spin 0.8s linear infinite;
}

.mkt-demo__core { display: none; }

.mkt-demo__steps,
.mkt-aseo__steps {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.mkt-demo__steps li,
.mkt-aseo__steps li {
    display: grid;
    grid-template-columns: 1.55rem 1fr;
    gap: 0.65rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--mkt-line);
    opacity: 0.4;
}

.mkt-demo__steps li.is-on,
.mkt-aseo__steps li.is-on { opacity: 1; }
.mkt-demo__steps li.is-done,
.mkt-aseo__steps li.is-done { opacity: 0.85; }
.mkt-demo__steps li.is-wait,
.mkt-aseo__steps li.is-wait { opacity: 0.35; }

.mkt-demo__dot {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mkt-line);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--mkt-muted);
    background: var(--mkt-paper);
}

.mkt-demo__steps li.is-on .mkt-demo__dot,
.mkt-aseo__steps li.is-on .mkt-demo__dot {
    border-color: var(--mkt-signal);
    color: var(--mkt-signal);
}

.mkt-demo__steps strong,
.mkt-aseo__steps strong {
    display: block;
    font-size: 0.9rem;
    color: var(--mkt-ink);
}

.mkt-demo__steps em,
.mkt-aseo__steps em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--mkt-muted);
}

.mkt-demo__done {
    display: none;
    padding: 1rem;
    flex: 1;
}

.mkt-demo[data-phase="done"] .mkt-demo__done { display: block; }

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

.mkt-demo__done-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--mkt-line);
    margin-bottom: 0.7rem;
}

.mkt-demo__done-card h3,
.mkt-aseo__done h3 {
    margin: 0.25rem 0 0;
    font-family: var(--mkt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-demo__done-lead {
    margin: 0.3rem 0 0;
    font-size: 0.88rem;
    color: var(--mkt-muted);
}

.mkt-demo__score-wrap { text-align: right; }

.mkt-demo__score {
    font-family: var(--mkt-font-display);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--mkt-signal);
}

.mkt-demo__score-label {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.mkt-demo__findings { display: flex; flex-direction: column; }

.mkt-demo__finding {
    display: grid;
    grid-template-columns: 4.1rem 1fr;
    gap: 0.65rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--mkt-line);
    opacity: 0;
    transform: translateY(6px);
}

.mkt-demo[data-phase="done"] .mkt-demo__finding,
.mkt-demo--aseo[data-phase="done"] .mkt-demo__finding {
    animation: mkt-find 0.4s ease forwards;
}

.mkt-demo[data-phase="done"] .mkt-demo__finding:nth-child(1),
.mkt-demo--aseo[data-phase="done"] .mkt-demo__finding:nth-child(1) { animation-delay: 0.1s; }
.mkt-demo[data-phase="done"] .mkt-demo__finding:nth-child(2),
.mkt-demo--aseo[data-phase="done"] .mkt-demo__finding:nth-child(2) { animation-delay: 0.25s; }
.mkt-demo[data-phase="done"] .mkt-demo__finding:nth-child(3),
.mkt-demo--aseo[data-phase="done"] .mkt-demo__finding:nth-child(3) { animation-delay: 0.4s; }

@keyframes mkt-find { to { opacity: 1; transform: none; } }

.mkt-demo__sev {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mkt-bad);
    padding-top: 0.15rem;
}

.mkt-demo__finding--mid .mkt-demo__sev { color: var(--mkt-warn); }
.mkt-demo__finding--low .mkt-demo__sev { color: var(--mkt-signal); }

.mkt-demo__finding strong { display: block; font-size: 0.9rem; color: var(--mkt-ink); }
.mkt-demo__finding em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--mkt-muted);
    margin-top: 0.15rem;
}

.mkt-demo--aseo { padding: 0; }
.mkt-aseo__scan {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mkt-aseo__done { display: none; padding: 1rem; flex: 1; }
.mkt-demo--aseo[data-phase="scan"] .mkt-aseo__done { display: none; }
.mkt-demo--aseo[data-phase="done"] .mkt-aseo__scan { display: none; }
.mkt-demo--aseo[data-phase="done"] .mkt-aseo__done { display: block; }

.mkt-demo--aseo[data-phase="scan"] {
    display: flex;
    flex-direction: column;
}
.mkt-demo--aseo[data-phase="done"] {
    display: flex;
    flex-direction: column;
}

.mkt-aseo__title {
    margin: 0.35rem 0 0.85rem;
    font-family: var(--mkt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-mon__points { margin-top: 1.35rem; }
.mkt-mon__points li {
    padding: 0.85rem 0;
    border-top: 1px solid var(--mkt-line);
}
.mkt-mon__points strong {
    display: block;
    font-family: var(--mkt-font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--mkt-ink);
}
.mkt-mon__points span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.mkt-demo--mon { padding-bottom: 0.5rem; }

.mkt-mon__status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-mon__status > div,
.mkt-mon__risk {
    padding: 1rem;
    border-right: 1px solid var(--mkt-line);
}

.mkt-mon__status > div:last-child { border-right: none; }

.mkt-mon__status em,
.mkt-mon__risk em {
    display: block;
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.mkt-mon__status strong,
.mkt-mon__risk strong {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--mkt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-mon__events { padding: 0 1rem; }
.mkt-mon__events li {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: 0.65rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mkt-line);
}
.mkt-mon__sev { color: var(--mkt-bad); font-size: 0.7rem; padding-top: 0.2rem; }
.mkt-mon__sev.is-mid { color: var(--mkt-warn); }
.mkt-mon__events strong { display: block; font-size: 0.92rem; color: var(--mkt-ink); }
.mkt-mon__events em {
    display: block;
    font-style: normal;
    font-size: 0.82rem;
    color: var(--mkt-muted);
    margin-top: 0.15rem;
}

.mkt-mon__alert {
    margin: 0.85rem 1rem 0;
    padding: 0.7rem 0.8rem;
    border-radius: var(--mkt-radius);
    background: #fff5f1;
    color: var(--mkt-ink);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mkt-mon__note {
    margin: 0.65rem 1rem 1rem;
    font-size: 0.8rem;
    color: var(--mkt-muted);
}

.mkt-demo--viz { padding-bottom: 0.5rem; }
.mkt-viz__ask { padding: 1rem; }
.mkt-viz__ask label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}
.mkt-viz__hint { margin: 0.55rem 0 0; font-size: 0.82rem; color: var(--mkt-muted); }
.mkt-viz__answer,
.mkt-viz__result { padding: 0 1rem 1rem; }

.mkt-demo--viz[data-phase="ask"] .mkt-viz__answer,
.mkt-demo--viz[data-phase="ask"] .mkt-viz__result { display: none; }
.mkt-demo--viz[data-phase="answer"] .mkt-viz__ask { opacity: 0.55; }
.mkt-demo--viz[data-phase="answer"] .mkt-viz__result { display: none; }
.mkt-demo--viz[data-phase="result"] .mkt-viz__ask { display: none; }

.mkt-viz__bubble {
    margin-top: 0.5rem;
    padding: 0.9rem;
    border-radius: 10px;
    background: var(--mkt-paper);
    border-left: 3px solid var(--mkt-signal);
    font-size: 0.92rem;
    line-height: 1.5;
}

.mkt-viz__cite { margin: 0.65rem 0 0; font-size: 0.8rem; color: var(--mkt-muted); }
.mkt-viz__signals { border-top: 1px solid var(--mkt-line); }
.mkt-viz__signal {
    display: grid;
    grid-template-columns: 1.5rem 1fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mkt-line);
}
.mkt-viz__signal i { color: var(--mkt-signal); }
.mkt-viz__signal strong { display: block; font-size: 0.92rem; color: var(--mkt-ink); }
.mkt-viz__signal em { display: block; font-style: normal; font-size: 0.8rem; color: var(--mkt-muted); }
.mkt-viz__ok {
    opacity: 0;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8f6ef;
    color: var(--mkt-ok);
    transition: opacity 0.3s ease;
}
.mkt-demo--viz.is-mention .mkt-viz__signal[data-sig="mention"] .mkt-viz__ok,
.mkt-demo--viz.is-cite .mkt-viz__signal[data-sig="cite"] .mkt-viz__ok { opacity: 1; }
.mkt-viz__foot { margin: 0.85rem 0 0; font-size: 0.82rem; color: var(--mkt-muted); }

@keyframes mkt-spin { to { transform: rotate(360deg); } }
@keyframes mkt-blink { 50% { opacity: 0; } }
.mkt-spin { animation: mkt-spin 0.8s linear infinite; display: inline-block; }

/* ---------- How ---------- */
.mkt-how {
    background: var(--mkt-night);
    color: #fff;
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.15rem, 3vw, 2rem);
}

.mkt-how__head {
    width: min(var(--mkt-max), 100%);
    margin: 0 auto 2.5rem;
    max-width: 36rem;
}

.mkt-how__head h2 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.mkt-how__head > p:last-child {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.55);
}

.mkt-how__list {
    width: min(var(--mkt-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.mkt-how__list--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.mkt-how__list--7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.mkt-how__list li {
    padding: 1.15rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.45;
    transform: translateY(8px) scale(0.98);
    transition:
        opacity 240ms var(--mkt-ease-out),
        transform 240ms var(--mkt-ease-out),
        border-color 240ms var(--mkt-ease-out),
        background 240ms var(--mkt-ease-out);
}

.mkt-how__list li.is-on {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(255, 79, 31, 0.5);
    background: rgba(255, 79, 31, 0.1);
}

.mkt-how__list li.is-done {
    opacity: 0.88;
    transform: translateY(0) scale(1);
    border-color: rgba(31, 122, 82, 0.35);
}

.mkt-how__ico {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    font-size: 1rem;
    color: var(--mkt-signal);
    background: rgba(255, 79, 31, 0.12);
    border: 1px solid rgba(255, 79, 31, 0.28);
}

.mkt-how__list li.is-done .mkt-how__ico {
    color: #6ee7b7;
    background: rgba(31, 122, 82, 0.18);
    border-color: rgba(31, 122, 82, 0.4);
}

.mkt-how__list span {
    display: block;
    font-family: var(--mkt-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mkt-signal);
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem;
}

.mkt-how__list h3 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.mkt-how__list p {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* ---------- System flow demo (explanation motion) ---------- */
.mkt-flow {
    width: min(var(--mkt-max), 100%);
    margin: 0 auto;
    padding: 1.25rem 1.35rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 79, 31, 0.12), transparent 55%),
        rgba(255, 255, 255, 0.03);
}

.mkt-flow__chrome {
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.mkt-flow__track {
    position: relative;
    padding: 0.5rem 0 0.85rem;
}

.mkt-flow__line {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 1.55rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 999px;
    z-index: 0;
    pointer-events: none;
}

.mkt-flow__line i {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--mkt-signal), #ff8f66);
    transition: width 480ms var(--mkt-ease-move);
}

.mkt-flow__nodes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.mkt-flow__nodes--7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.mkt-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    transform: translateY(10px) scale(0.94);
    transition:
        transform 260ms var(--mkt-ease-out);
}

.mkt-flow__node.is-on,
.mkt-flow__node.is-done {
    transform: translateY(0) scale(1);
}

.mkt-flow__icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0c1018;
    box-shadow: 0 0 0 4px #0c1018;
    transition:
        border-color 260ms var(--mkt-ease-out),
        background 260ms var(--mkt-ease-out),
        color 260ms var(--mkt-ease-out),
        box-shadow 260ms var(--mkt-ease-out),
        transform 260ms var(--mkt-ease-out);
}

.mkt-flow__node.is-on .mkt-flow__icon {
    color: #fff;
    border-color: var(--mkt-signal);
    background: #3a160c;
    box-shadow:
        0 0 0 4px #0c1018,
        0 0 0 7px rgba(255, 79, 31, 0.18);
    transform: scale(1.06);
}

.mkt-flow__node.is-done .mkt-flow__icon {
    color: #fff;
    border-color: #2f9b6a;
    background: #123528;
    box-shadow: 0 0 0 4px #0c1018;
}

.mkt-flow__node--sec.is-on .mkt-flow__icon {
    border-color: #60a5fa;
    background: #12253f;
    box-shadow:
        0 0 0 4px #0c1018,
        0 0 0 7px rgba(37, 99, 235, 0.18);
}

.mkt-flow__node--loc.is-on .mkt-flow__icon {
    border-color: #34d399;
    background: #123528;
    box-shadow:
        0 0 0 4px #0c1018,
        0 0 0 7px rgba(16, 185, 129, 0.18);
}

.mkt-flow__node--soc.is-on .mkt-flow__icon {
    border-color: #f472b6;
    background: #3a1230;
    box-shadow:
        0 0 0 4px #0c1018,
        0 0 0 7px rgba(219, 39, 119, 0.18);
}

.mkt-flow__node strong {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.38);
    transition: color 260ms var(--mkt-ease-out);
}

.mkt-flow__node em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.28);
    min-height: 1rem;
    transition: color 260ms var(--mkt-ease-out);
}

.mkt-flow__node.is-on strong,
.mkt-flow__node.is-done strong {
    color: rgba(255, 255, 255, 0.92);
}

.mkt-flow__node.is-on em,
.mkt-flow__node.is-done em {
    color: rgba(255, 255, 255, 0.78);
}

.mkt-flow__caption {
    margin: 1rem 0 0;
    min-height: 2.4rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
    .mkt-how__list li,
    .mkt-flow__node,
    .mkt-flow__line i,
    .mkt-flow__icon {
        transition: none !important;
    }
}

/* ---------- Pricing ---------- */
.mkt-pricing {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.15rem, 3vw, 2rem);
    background: var(--mkt-white);
}

.mkt-pricing__head {
    width: min(var(--mkt-max), 100%);
    margin: 0 auto 2.25rem;
    max-width: 36rem;
}

.mkt-pricing__head h2 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--mkt-ink);
}

.mkt-pricing__head > p:last-child {
    margin: 0.85rem 0 0;
    color: var(--mkt-muted);
}

.mkt-pricing__empty { text-align: center; color: var(--mkt-muted); }

.mkt-pricing__grid {
    width: min(var(--mkt-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.mkt-price {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.5rem 1.25rem 1.35rem;
    border: 1px solid var(--mkt-line);
    border-radius: 14px;
    background: var(--mkt-paper);
}

.mkt-price--hot {
    background: var(--mkt-night);
    color: #fff;
    border-color: var(--mkt-night);
    box-shadow: 0 20px 50px rgba(7, 9, 13, 0.22);
}

.mkt-price__mark {
    margin: 0;
    display: inline-flex;
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: var(--mkt-radius);
    background: var(--mkt-signal);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mkt-price h3 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mkt-ink);
}

.mkt-price--hot h3 { color: #fff; }

.mkt-price__desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mkt-muted);
    line-height: 1.45;
}

.mkt-price--hot .mkt-price__desc { color: rgba(255, 255, 255, 0.6); }

.mkt-price__amount {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.mkt-price__amount strong {
    font-family: var(--mkt-font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--mkt-ink);
}

.mkt-price--hot .mkt-price__amount strong { color: #fff; }

.mkt-price__amount span {
    font-size: 0.85rem;
    color: var(--mkt-muted);
}

.mkt-price--hot .mkt-price__amount span { color: rgba(255, 255, 255, 0.5); }

.mkt-price ul { flex: 1; }
.mkt-price li {
    padding: 0.55rem 0;
    border-top: 1px solid var(--mkt-line);
    font-size: 0.9rem;
    color: var(--mkt-soft);
}

.mkt-price--hot li {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
}

.mkt-price--hot .mkt-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- Finale ---------- */
.mkt-finale {
    position: relative;
    padding: clamp(4.5rem, 12vw, 8rem) clamp(1.15rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 60% 70% at 80% 30%, rgba(255, 79, 31, 0.35), transparent 55%),
        var(--mkt-night);
    color: #fff;
    text-align: left;
    overflow: hidden;
}

.mkt-finale h2 {
    margin: 0;
    max-width: 12ch;
    font-family: var(--mkt-font-display);
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.mkt-finale > p {
    margin: 1.25rem 0 0;
    max-width: 32rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.62);
}

.mkt-finale__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2.25rem;
}

.mkt-foot {
    padding: 1.15rem clamp(1.15rem, 3vw, 2rem);
    background: #05070a;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}

.mkt-foot a { color: rgba(255, 255, 255, 0.55); }
.mkt-foot a:hover { color: #fff; }
.mkt-foot__contact,
.mkt-foot__links,
.mkt-foot__social {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---------- In-page nav (checkout & non-hero) ---------- */
.mkt-nav--page {
    position: relative;
    color: var(--mkt-ink);
    background: var(--mkt-white);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-nav--page .mkt-nav__brand { color: var(--mkt-ink); }

.mkt-nav--page .mkt-nav__links { color: var(--mkt-muted); }

.mkt-nav--page .mkt-nav__links a:hover { color: var(--mkt-ink); }

.mkt-nav--page .mkt-lang {
    border-color: var(--mkt-line);
}

.mkt-nav--page .mkt-lang__btn {
    color: var(--mkt-muted);
}

.mkt-nav--page .mkt-lang__btn.is-on {
    background: var(--mkt-ink);
    color: #fff;
}

/* ---------- Checkout pages ---------- */
.mkt-page {
    flex: 1;
    width: 100%;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.mkt-checkout {
    max-width: 960px;
    margin: 0 auto;
}

.mkt-checkout--wide { max-width: 1100px; }

.mkt-checkout--narrow { max-width: 520px; }

.mkt-checkout__title {
    margin: 0.35rem 0 0.5rem;
    font-family: var(--mkt-font-display);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mkt-ink);
    line-height: 1.2;
}

.mkt-checkout__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--mkt-muted);
    font-size: 1rem;
}

.mkt-checkout .mkt-dialog__errors {
    margin: 1rem 0 0;
}

.mkt-checkout__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    align-items: start;
}

.mkt-checkout__grid--pay {
    grid-template-columns: minmax(240px, 320px) 1fr;
}

.mkt-checkout__step[hidden] {
    display: none !important;
}

.mkt-checkout .mkt-price {
    margin: 0;
    background: var(--mkt-white);
}

.mkt-panel {
    background: var(--mkt-white);
    border: 1px solid var(--mkt-line);
    border-radius: 14px;
    padding: 1.35rem;
    box-shadow: 0 8px 30px rgba(7, 9, 13, 0.06);
}

.mkt-panel h2 {
    margin: 0 0 0.35rem;
    font-family: var(--mkt-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-panel__lead {
    margin: 0 0 1rem;
    color: var(--mkt-muted);
    font-size: 0.92rem;
}

.mkt-panel__meta {
    margin: 0 0 0.4rem;
    color: var(--mkt-muted);
}

.mkt-panel__meta strong { color: var(--mkt-ink); }

.mkt-panel__amount {
    margin: 0.85rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mkt-ink);
}

.mkt-panel__amount span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mkt-muted);
}

.mkt-panel__oid {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    color: var(--mkt-muted);
}

.mkt-panel .mkt-dialog__grid {
    padding: 0;
}

.mkt-panel .mkt-dialog__actions {
    padding: 1rem 0 0;
    margin: 0;
}

.mkt-checkout__iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
}

.mkt-checkout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.15rem;
}

.mkt-checkout--narrow .mkt-checkout__lead {
    margin-bottom: 0.75rem;
}

@media (max-width: 860px) {
    .mkt-checkout__grid,
    .mkt-checkout__grid--pay {
        grid-template-columns: 1fr;
    }
}

/* ---------- Dialog ---------- */
.mkt-dialog {
    width: min(34rem, calc(100vw - 2rem));
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(7, 9, 13, 0.35);
}

.mkt-dialog::backdrop { background: rgba(7, 9, 13, 0.62); }

.mkt-dialog__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1.05rem;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-dialog__head h2 {
    margin: 0;
    font-family: var(--mkt-font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--mkt-ink);
}

.mkt-dialog__head p { margin: 0.4rem 0 0; color: var(--mkt-muted); font-size: 0.92rem; }

.mkt-dialog__close {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--mkt-line);
    border-radius: var(--mkt-radius);
    background: transparent;
    color: var(--mkt-ink);
    font-size: 1.15rem;
}

.mkt-dialog__errors {
    margin: 1rem 1.35rem 0;
    padding: 0.75rem;
    border-radius: var(--mkt-radius);
    background: #fdf2f0;
    color: var(--mkt-bad);
    font-size: 0.88rem;
}

.mkt-dialog__errors ul { margin: 0; padding-left: 1.1rem; list-style: disc; }

.mkt-dialog__oauth {
    padding: 0 1.35rem 0.25rem;
}

.mkt-dialog__choices {
    display: grid;
    gap: 0.75rem;
    padding: 0.35rem 1.35rem 0.25rem;
}

.mkt-dialog__step[hidden] { display: none !important; }

.mkt-btn--google {
    width: 100%;
    gap: 0.55rem;
    background: #fff;
    color: var(--mkt-ink);
    border: 1px solid var(--mkt-line);
    font-weight: 700;
}

.mkt-btn--google:hover {
    border-color: var(--mkt-ink);
    background: var(--mkt-paper);
}

.mkt-btn--google .btn-google__icon { flex-shrink: 0; }

.mkt-auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin: 0.95rem 0 0.15rem;
    color: var(--mkt-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mkt-auth-divider::before,
.mkt-auth-divider::after {
    content: "";
    height: 1px;
    background: var(--mkt-line);
}

.mkt-dialog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding: 1.15rem 1.35rem;
}

.mkt-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mkt-muted);
}

.mkt-field--full { grid-column: 1 / -1; }

.mkt-field input,
.mkt-field textarea {
    font: inherit;
    font-weight: 400;
    color: var(--mkt-ink);
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--mkt-line);
    border-radius: var(--mkt-radius);
    background: var(--mkt-paper);
}

.mkt-field__control {
    position: relative;
    display: block;
}

.mkt-field__control input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 2.6rem;
}

.mkt-field__eye {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--mkt-muted);
    cursor: pointer;
}

.mkt-field__eye:hover { color: var(--mkt-ink); }
.mkt-field__eye:focus-visible {
    outline: 2px solid var(--mkt-signal);
    outline-offset: 1px;
}
.mkt-field__eye i { font-size: 1.1rem; line-height: 1; }

.mkt-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0 1.35rem 1.35rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 960px) {
    .mkt-nav__links { display: flex; }
}

@media (max-width: 960px) {
    .mkt-nav {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0.65rem;
        padding: 0.85rem 1.05rem 0.75rem;
        align-items: stretch;
    }
    .mkt-nav__brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        max-width: 100%;
    }
    .mkt-nav__logo {
        display: block;
        height: 34px !important;
        width: auto !important;
        max-width: min(12rem, 70vw) !important;
        object-fit: contain;
        object-position: left center;
    }
    .mkt-nav__actions {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        justify-content: space-between;
        gap: 0.65rem;
    }
    .mkt-nav .mkt-btn--signal {
        flex: 0 0 auto;
        padding: 0.42rem 0.8rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
    .mkt-lang__btn {
        padding: 0.35rem 0.5rem;
    }
    .mkt-hero {
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: visible;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.35rem;
        padding: 7.75rem 1.15rem 1.35rem;
    }
    .mkt-story {
        grid-column: 1;
        grid-row: auto;
        order: 2;
        justify-self: stretch;
        max-width: none;
        align-self: stretch;
        max-height: none;
    }
    .mkt-hero__content {
        grid-column: 1;
        grid-row: auto;
        order: 1;
        align-self: start;
        justify-self: stretch;
        width: 100%;
        max-width: none;
        margin-top: 0;
        text-align: left;
    }
    .mkt-hero__brand {
        font-size: clamp(2.35rem, 9vw, 3.4rem);
        margin-inline: 0;
        max-width: none;
    }
    .mkt-hero__title {
        margin-top: 0.75rem;
        margin-inline: 0;
        max-width: none;
        font-size: clamp(1.15rem, 4vw, 1.4rem);
    }
    .mkt-hero__lead {
        margin-top: 0.6rem;
        margin-inline: 0;
        font-size: 0.98rem;
        line-height: 1.55;
        display: block;
        overflow: visible;
    }
    .mkt-hero__cta {
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.55rem;
    }
    .mkt-hero__cta .mkt-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
        white-space: normal;
        text-align: center;
    }
    .mkt-hero__ticker {
        grid-column: 1;
        grid-row: auto;
        order: 3;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-top: 1rem;
    }
    .mkt-cycle__dots {
        padding-top: 0;
        align-self: flex-start;
    }
    .mkt-cycle__slide { font-size: 0.9rem; }
    .mkt-story__caption { font-size: 0.88rem; min-height: 2.2em; }
    .mkt-story__scores { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 4rem; }
    .mkt-story__flags { min-height: 0; }
    .mkt-feature,
    .mkt-feature--flip {
        grid-template-columns: 1fr;
    }
    .mkt-feature--flip .mkt-feature__copy,
    .mkt-feature--flip .mkt-feature__stage { order: initial; }
    .mkt-feature__stage {
        position: static;
        height: auto;
        max-height: none;
        min-height: 24rem;
    }
    .mkt-demo { min-height: 24rem; height: auto; }
    .mkt-how__list { grid-template-columns: 1fr 1fr; }
    .mkt-how__list--5 { grid-template-columns: 1fr 1fr; }
    .mkt-how__list--7 { grid-template-columns: 1fr 1fr; }
    .mkt-flow__nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
    .mkt-flow__nodes--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mkt-flow__line { display: none; }
    .mkt-flow__icon { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
    .mkt-pricing__grid { grid-template-columns: 1fr; }
    .mkt-strip { grid-template-columns: 1fr 1fr; }
    .mkt-strip__item {
        border-right: 1px solid var(--mkt-line);
        border-bottom: 1px solid var(--mkt-line);
    }
    .mkt-strip__item:nth-child(2n) { border-right: none; }
    .mkt-strip__item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
    .mkt-how__list { grid-template-columns: 1fr; }
    .mkt-how__list--5 { grid-template-columns: 1fr; }
    .mkt-how__list--7 { grid-template-columns: 1fr; }
    .mkt-flow__line { display: none; }
    .mkt-flow__nodes,
    .mkt-flow__nodes--7 { grid-template-columns: 1fr; gap: 0.7rem; }
    .mkt-flow__node { flex-direction: row; justify-content: flex-start; text-align: left; gap: 0.85rem; }
    .mkt-flow__node strong { font-size: 0.9rem; }
    .mkt-how__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
    .mkt-how__ico { margin-bottom: 0; }
    .mkt-strip { grid-template-columns: 1fr; }
    .mkt-strip__item {
        border-right: none;
        border-bottom: 1px solid var(--mkt-line);
    }
    .mkt-strip__item:nth-child(n+3) { border-bottom: 1px solid var(--mkt-line); }
    .mkt-strip__item:last-child { border-bottom: none; }
    .mkt-details { grid-template-columns: 1fr; }
    .mkt-dialog__grid { grid-template-columns: 1fr; }
    .mkt-dialog__actions { flex-direction: column-reverse; }
    .mkt-dialog__actions .mkt-btn { width: 100%; }
    .mkt-hero__brand { font-size: clamp(2.15rem, 10vw, 2.9rem); }
    .mkt-hero { padding-top: 8.25rem; }
    .mkt-demo { min-height: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
    .mkt-hero__content,
    .mkt-hero__ticker,
    .mkt-cycle__slide,
    .mkt-demo__finding,
    .mkt-demo__ring,
    .mkt-demo__caret,
    .mkt-story__scan,
    .mkt-story__caret {
        animation: none !important;
        transition: none !important;
    }
    .mkt-demo__finding,
    .mkt-story__prompt,
    .mkt-story__site,
    .mkt-story__block,
    .mkt-story__flags li,
    .mkt-story__scores li {
        opacity: 1;
        transform: none;
    }
    .mkt-story__scan { opacity: 0; }
}
