/* ═══════════════════════════════════════════════════════════════
   APEXVOL MARKETING v3 — "SIGNAL / SURFACE"
   Cinematic terminal-luxe design system for the public pages:
   home, features, pricing, register, register/plan.

   Loaded ONLY by those pages — selectors here may override shared
   component classes (.pricing-card, nav) without leaking into the
   app shell, because the app never links this file.

   Type:   Bricolage Grotesque (display/body)
           Fraunces italic     (accent words)
           JetBrains Mono      (data, eyebrows, numerics)
   Color:  base #0f172a (matches platform) · card #1a1f2e · vol-heat mint→cyan→violet
   Motion: GSAP + ScrollTrigger; Three.js scenes via marketing-motion.js
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Full terminal type system — same JetBrains Mono as the living terminal */
    --mk-sans: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
    --mk-serif: 'Fraunces', Georgia, serif;
    --mk-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

    /* Base shades mirror the live platform (body #0f172a) so embedded
       screenshots and the living terminal blend in instead of reading as
       lighter pasted-on rectangles. */
    --mk-void: #0f172a;   /* page background — identical to the app shell */
    --mk-deep: #0b1120;   /* recessed "screen" inside the terminal frame */
    --mk-panel: #1a1f2e;  /* card base (the platform's "carbon") */
    --mk-panel-2: #222b3f;/* card gradient top — a touch lighter for lift */
    --mk-line: rgba(148, 163, 184, 0.12);
    --mk-line-strong: rgba(148, 163, 184, 0.24);

    --mk-white: #f4f7fb;
    --mk-chalk: #cfd8e3;
    --mk-fog: #8b97a8;
    --mk-ash: #5b6678;

    --mk-mint: #34d399;
    --mk-mint-deep: #10b981;
    --mk-cyan: #22d3ee;
    --mk-violet: #a78bfa;
    --mk-amber: #fbbf24;

    --mk-heat: linear-gradient(100deg, #34d399 0%, #22d3ee 50%, #a78bfa 100%);
    --mk-mint-dim: rgba(52, 211, 153, 0.10);
}

/* ── PAGE BASE (only applies where this file is linked) ── */
body.bg-gray-950 { background: var(--mk-void) !important; }

.mk {
    font-family: var(--mk-sans);
    background: var(--mk-void);
    color: var(--mk-fog);
    overflow-x: clip;
}
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk ::selection { background: rgba(52, 211, 153, 0.28); color: var(--mk-white); }

/* Blueprint grid backdrop — sits behind everything in a section that asks for it */
.mk-grid-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 78%);
}

/* ── NAV OVERRIDE (transparent → glass on scroll) ── */
body.bg-gray-950 > nav.sticky {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
body.bg-gray-950 > nav.sticky.mk-nav-scrolled {
    background: rgba(15, 23, 42, 0.82) !important;
    backdrop-filter: blur(18px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
    border-bottom-color: var(--mk-line);
}

/* ═══════════════ TYPE ═══════════════ */
.mk-eyebrow {
    font-family: var(--mk-mono);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--mk-mint);
    display: inline-flex; align-items: center; gap: 10px;
}
.mk-eyebrow::before {
    content: ''; width: 24px; height: 1px;
    background: var(--mk-mint); opacity: 0.6;
}
.mk-eyebrow--bare::before { display: none; }

.mk-index {
    font-family: var(--mk-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.18em; color: var(--mk-ash);
}

.mk-h1 {
    font-family: var(--mk-sans); font-weight: 800;
    font-size: clamp(2.3rem, 5.6vw, 4.4rem);
    line-height: 1.02; letter-spacing: -0.05em;
    color: var(--mk-white); margin: 0;
}
.mk-h1 .it, .mk-h2 .it, .mk-h3 .it {
    font-family: var(--mk-serif); font-style: italic; font-weight: 480;
    letter-spacing: -0.015em;
    background: var(--mk-heat);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding-right: 0.06em; /* keep italic overhang from clipping */
}

.mk-h2 {
    font-family: var(--mk-sans); font-weight: 800;
    font-size: clamp(1.55rem, 3.4vw, 2.4rem);
    line-height: 1.12; letter-spacing: -0.045em;
    color: var(--mk-white); margin: 0 0 14px;
}
.mk-h3 {
    font-family: var(--mk-sans); font-weight: 700;
    font-size: 1.05rem; line-height: 1.3; color: var(--mk-white); margin: 0;
}
.mk-lead {
    font-size: 0.95rem; line-height: 1.75; color: var(--mk-fog);
    max-width: 560px; margin: 0;
}
.mk-lead strong { color: var(--mk-chalk); font-weight: 600; }

/* ═══════════════ LAYOUT ═══════════════ */
.mk-sec { position: relative; max-width: 1320px; margin: 0 auto; padding: 96px 24px; }
@media (max-width: 767px) { .mk-sec { padding: 64px 20px; } }

.mk-sec-head { margin-bottom: 56px; }
.mk-sec-head--center { text-align: center; }
.mk-sec-head--center .mk-lead { margin: 0 auto; }
.mk-sec-head--center .mk-eyebrow::before { display: none; }
.mk-sec-head .mk-eyebrow { margin-bottom: 18px; }

.mk-rule {
    height: 1px; border: 0; margin: 0 auto; max-width: 1320px;
    background: linear-gradient(90deg, transparent, var(--mk-line-strong) 25%, var(--mk-line-strong) 75%, transparent);
}

/* ═══════════════ BUTTONS ═══════════════ */
.mk-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 26px; border-radius: 10px;
    font-family: var(--mk-sans); font-size: 13.5px; font-weight: 700;
    letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
    white-space: nowrap;
}
.mk-btn svg { transition: transform 0.22s; }
.mk-btn:hover svg { transform: translateX(3px); }

.mk-btn--primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; border: 1px solid rgba(52,211,153,0.55);
    box-shadow: 0 8px 28px -10px rgba(16,185,129,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.mk-btn--primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 14px 38px -10px rgba(16,185,129,0.7), inset 0 1px 0 rgba(255,255,255,0.22);
    color: #fff;
}
.mk-btn--ghost {
    background: rgba(255,255,255,0.035); color: var(--mk-chalk);
    border: 1px solid rgba(255,255,255,0.16);
}
.mk-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.4); color: var(--mk-white);
    background: rgba(255,255,255,0.06);
}
.mk-btn--sm { padding: 9px 16px; font-size: 12px; border-radius: 8px; gap: 7px; }

/* ── Sticky conversion bar — fades in once past the hero, hides over pricing ── */
.mk-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(15,23,42,0.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--mk-line-strong);
    box-shadow: 0 -10px 40px -12px rgba(0,0,0,0.6);
    transform: translateY(110%);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
}
.mk-sticky-cta.mk-sticky-show { transform: translateY(0); }
.mk-sticky-inner {
    max-width: 1320px; margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.mk-sticky-text { font-family: var(--mk-mono); font-size: 13px; color: var(--mk-chalk); letter-spacing: 0.01em; }
.mk-sticky-text strong { color: var(--mk-white); font-weight: 700; }
.mk-sticky-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
/* Google button sized to match the bar's small buttons */
.mk-google-btn--bar { padding: 9px 16px; font-size: 12px; border-radius: 8px; gap: 9px; }
.mk-google-btn--bar .g { width: 16px; height: 16px; }
@media (max-width: 700px) {
    .mk-sticky-text { display: none; }
    .mk-sticky-inner { justify-content: stretch; padding: 10px 16px; }
    .mk-sticky-actions { width: 100%; }
    .mk-sticky-actions .mk-btn { flex: 1; }
    /* collapse Google to an icon-only button so all three fit */
    .mk-sticky-actions .mk-google-btn--bar { flex: 0 0 auto; padding: 9px 12px; }
    .mk-sticky-actions .mk-google-btn--bar .mk-g-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mk-sticky-cta { transition: none; } }

.mk-textlink {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.92rem; font-weight: 600; color: var(--mk-mint);
    text-decoration: none; padding-bottom: 2px;
    border-bottom: 1px solid rgba(52,211,153,0.35);
    transition: color 0.2s, border-color 0.2s;
}
.mk-textlink:hover { color: #6ee7b7; border-color: #6ee7b7; }
.mk-textlink svg { transition: transform 0.2s; }
.mk-textlink:hover svg { transform: translateX(3px); }

.mk-micro { font-family: var(--mk-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--mk-ash); }

/* ── Hero one-click Google sign-up (dark-themed to fit the luxe hero) ── */
.mk-hero-oauth { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mk-or {
    display: flex; align-items: center; gap: 12px; width: 230px;
    font-family: var(--mk-mono); font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--mk-ash);
}
.mk-or::before, .mk-or::after { content: ''; flex: 1; height: 1px; background: var(--mk-line); }
.mk-google-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    padding: 12px 22px; border-radius: 10px;
    font-family: var(--mk-sans); font-size: 13px; font-weight: 600;
    color: var(--mk-white); text-decoration: none;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.16);
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), background 0.25s, border-color 0.25s;
}
.mk-google-btn:hover {
    transform: translateY(-2px); color: var(--mk-white);
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.34);
}
.mk-google-btn .g { width: 18px; height: 18px; flex: 0 0 auto; }

/* ═══════════════ CARDS (crosshair corner ticks) ═══════════════ */
.mk-card {
    position: relative;
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel));
    border: 1px solid var(--mk-line);
    border-radius: 14px;
    padding: 28px 26px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.mk-card::before, .mk-card::after {
    content: ''; position: absolute; width: 14px; height: 14px;
    opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
}
.mk-card::before {
    top: -1px; left: -1px;
    border-top: 1px solid var(--mk-mint); border-left: 1px solid var(--mk-mint);
    border-top-left-radius: 14px;
}
.mk-card::after {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--mk-mint); border-right: 1px solid var(--mk-mint);
    border-bottom-right-radius: 14px;
}
.mk-card:hover { border-color: var(--mk-line-strong); transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.6); }
.mk-card:hover::before, .mk-card:hover::after { opacity: 1; }

a.mk-card { text-decoration: none; color: inherit; display: block; }
a.mk-card:hover { color: inherit; }

/* ═══════════════ SCENE CANVASES ═══════════════ */
.mk-scene { position: relative; overflow: hidden; }
.mk-scene canvas.mk-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: block; opacity: 0; transition: opacity 1.4s ease;
}
.mk-scene canvas.mk-canvas.mk-canvas--live { opacity: 1; }
/* Static fallback when WebGL/reduced-motion: ambient heat glow */
.mk-scene-glow {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 640px 360px at 28% 78%, rgba(52,211,153,0.10), transparent 65%),
        radial-gradient(ellipse 640px 360px at 72% 72%, rgba(167,139,250,0.08), transparent 65%),
        radial-gradient(ellipse 520px 300px at 50% 88%, rgba(34,211,238,0.07), transparent 65%);
}

/* ═══════════════ TICKER TAPE ═══════════════ */
.mk-tape {
    position: relative; overflow: hidden;
    border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line);
    background: rgba(10, 16, 26, 0.6);
    padding: 13px 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.mk-tape-track {
    display: flex; gap: 0; width: max-content;
    animation: mk-tape-scroll 46s linear infinite;
}
.mk-tape:hover .mk-tape-track { animation-play-state: paused; }
.mk-tape-item {
    font-family: var(--mk-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--mk-ash); white-space: nowrap; padding: 0 26px;
    display: inline-flex; align-items: center; gap: 26px;
}
.mk-tape-item b { color: var(--mk-chalk); font-weight: 500; }
.mk-tape-item .tick { color: var(--mk-mint); }
@keyframes mk-tape-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .mk-tape-track { animation: none; } }

/* ═══════════════ STATS ═══════════════ */
.mk-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
@media (max-width: 560px) { .mk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; } }
.mk-stat { text-align: center; }
.mk-stat-n {
    font-family: var(--mk-mono); font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.04em;
    color: var(--mk-white); font-variant-numeric: tabular-nums;
}
.mk-stat-n .accent { color: var(--mk-mint); }
.mk-stat-l {
    font-family: var(--mk-mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--mk-ash); margin-top: 7px;
}

/* ═══════════════ HERO ═══════════════ */
.mk-hero {
    position: relative; overflow: hidden;
    min-height: 92vh;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center; padding: 130px 24px 80px;
}
.mk-hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.mk-hero .mk-scene-bg { position: absolute; inset: 0; z-index: 0; }
/* readability scrim over the 3D surface */
.mk-hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.25) 55%, transparent 75%),
        linear-gradient(180deg, rgba(15,23,42,0.85) 0%, transparent 22%, transparent 70%, var(--mk-void) 100%);
}

.mk-hero-pill {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mk-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--mk-fog); text-decoration: none;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(10,16,26,0.7); border: 1px solid var(--mk-line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    margin-bottom: 34px; transition: border-color 0.25s, color 0.25s;
}
.mk-hero-pill:hover { border-color: rgba(52,211,153,0.45); color: var(--mk-chalk); }
.mk-hero-pill .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--mk-mint); box-shadow: 0 0 10px rgba(52,211,153,0.9);
    animation: mk-pulse 2.4s ease-in-out infinite;
}
@keyframes mk-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.mk-hero-sub {
    font-size: clamp(0.9rem, 1.4vw, 1rem); line-height: 1.75;
    color: var(--mk-fog); max-width: 560px; margin: 26px auto 36px;
}
.mk-hero-sub strong { color: var(--mk-chalk); font-weight: 600; }
.mk-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 480px) { .mk-hero-ctas { flex-direction: column; align-items: stretch; } }

.mk-scroll-cue {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 2; font-family: var(--mk-mono); font-size: 10px;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--mk-ash);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.mk-scroll-cue::after {
    content: ''; width: 1px; height: 34px;
    background: linear-gradient(180deg, var(--mk-mint), transparent);
    animation: mk-drip 2.2s ease-in-out infinite;
}
@keyframes mk-drip {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    70% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .mk-scroll-cue::after, .mk-hero-pill .dot { animation: none; } }

/* ═══════════════ SCREENSHOT FRAMES ═══════════════ */
.mk-shot {
    position: relative; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--mk-line-strong);
    background: var(--mk-deep);
    box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 90px -40px rgba(52,211,153,0.18);
}
/* Color-grade legacy app screenshots into the v3 palette: deepen blacks,
   lift contrast, then a void-tint + edge vignette so they sit IN the page
   instead of ON it. */
/* Body now matches the screenshots' native #0f172a, so they no longer need
   darkening to blend — just a hair more contrast/saturation for pop. */
.mk-shot img {
    display: block; width: 100%; height: auto; background: var(--mk-deep);
    filter: contrast(1.03) saturate(1.04);
}
.mk-shot-img { position: relative; }
.mk-shot-img::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.10) 0%, transparent 16%, transparent 70%, rgba(15,23,42,0.26) 100%);
    box-shadow: inset 0 0 46px rgba(15,23,42,0.32);
}
/* Uniform crop for spotlight frames — every tool image renders 16:10,
   anchored to its top-left where the meaningful UI lives. */
.mk-spot .mk-shot-img { aspect-ratio: 16 / 10; }
.mk-spot .mk-shot-img img { height: 100%; width: 100%; object-fit: cover; object-position: top left; }
.mk-shot-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 16px; border-bottom: 1px solid var(--mk-line);
    background: rgba(13,21,34,0.9);
}
.mk-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mk-line-strong); }
.mk-shot-bar i:nth-child(1) { background: rgba(248,113,113,0.55); }
.mk-shot-bar i:nth-child(2) { background: rgba(251,191,36,0.55); }
.mk-shot-bar i:nth-child(3) { background: rgba(52,211,153,0.55); }
.mk-shot-bar span {
    margin-left: 10px; font-family: var(--mk-mono); font-size: 10.5px;
    letter-spacing: 0.12em; color: var(--mk-ash); text-transform: uppercase;
}

/* ═══════════════ SPOTLIGHTS ═══════════════ */
.mk-spot {
    display: grid; grid-template-columns: 1fr; gap: 38px; align-items: center;
    padding: 64px 0;
}
@media (min-width: 1024px) {
    .mk-spot { grid-template-columns: 1.35fr 0.65fr; gap: 64px; }
    .mk-spot--rev { grid-template-columns: 0.65fr 1.35fr; }
    .mk-spot--rev .mk-spot-vis { order: 2; }
}
.mk-spot-vis { position: relative; }
.mk-spot-copy .mk-index { display: block; margin-bottom: 14px; }
.mk-spot-copy h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800;
    letter-spacing: -0.035em; line-height: 1.2; color: var(--mk-white); margin: 0 0 12px;
}
.mk-spot-copy p { font-size: 0.98rem; color: var(--mk-fog); line-height: 1.65; max-width: 460px; margin: 0; }
.mk-spot-copy .mk-textlink { margin-top: 22px; }

.mk-badge {
    display: inline-block; font-family: var(--mk-mono);
    font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 5px; margin-bottom: 12px;
}
.mk-badge--new     { background: var(--mk-mint-dim); color: var(--mk-mint); border: 1px solid rgba(52,211,153,0.3); }
.mk-badge--popular { background: rgba(167,139,250,0.12); color: var(--mk-violet); border: 1px solid rgba(167,139,250,0.3); }
.mk-badge--basic   { background: rgba(96,165,250,0.12); color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.mk-badge--premium { background: var(--mk-mint-dim); color: var(--mk-mint); border: 1px solid rgba(52,211,153,0.3); }
.mk-badge--pro     { background: rgba(167,139,250,0.12); color: var(--mk-violet); border: 1px solid rgba(167,139,250,0.3); }

/* ═══════════════ VS-BROKER LEDGER ═══════════════ */
.mk-gap-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .mk-gap-grid { grid-template-columns: 1fr 1fr; } }
.mk-gap-row { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; }
.mk-gap-tag {
    font-family: var(--mk-mono); font-size: 9px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 4px; flex-shrink: 0; white-space: nowrap;
}
.mk-gap-tag--them { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.22); }
.mk-gap-tag--us   { background: var(--mk-mint-dim); color: var(--mk-mint); border: 1px solid rgba(52,211,153,0.3); }
.mk-gap-row p { margin: 0; font-size: 14px; line-height: 1.55; }
.mk-gap-row--them p { color: var(--mk-ash); }
.mk-gap-row--us p { color: var(--mk-chalk); }
.mk-gap-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mk-gap-head svg { color: var(--mk-mint); flex-shrink: 0; }

/* ═══════════════ PERSONAS & STEPS ═══════════════ */
.mk-3col { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .mk-3col { grid-template-columns: repeat(3, 1fr); } }
.mk-chip {
    font-family: var(--mk-mono); font-size: 11px; font-weight: 500;
    color: var(--mk-chalk); padding: 5px 11px; border-radius: 6px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--mk-line);
}
.mk-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--mk-line); }

.mk-steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .mk-steps { grid-template-columns: repeat(4, 1fr); } }
.mk-step { position: relative; padding: 30px 24px 26px; }
.mk-step .num {
    font-family: var(--mk-mono); font-size: 12px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--mk-mint); display: block; margin-bottom: 16px;
}
.mk-step h3 { font-size: 15px; font-weight: 700; color: var(--mk-white); margin: 0 0 9px; }
.mk-step p { font-size: 13.5px; color: var(--mk-fog); line-height: 1.6; margin: 0; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.mk-quote blockquote {
    font-family: var(--mk-serif); font-style: italic; font-weight: 420;
    font-size: 1.08rem; line-height: 1.6; color: var(--mk-chalk); margin: 0 0 20px;
}
.mk-quote blockquote::before { content: '“'; color: var(--mk-mint); }
.mk-quote blockquote::after { content: '”'; color: var(--mk-mint); }
.mk-quote cite {
    font-style: normal; display: block;
    font-family: var(--mk-mono); font-size: 11px; letter-spacing: 0.08em;
    color: var(--mk-fog); font-weight: 500;
}
.mk-quote cite span { display: block; color: var(--mk-ash); margin-top: 3px; font-size: 10.5px; }

/* ═══════════════ FAQ ═══════════════ */
.mk-faq {
    border: 1px solid var(--mk-line); border-radius: 12px;
    background: var(--mk-panel); margin-bottom: 10px; overflow: hidden;
    transition: border-color 0.25s;
}
.mk-faq:hover { border-color: var(--mk-line-strong); }
.mk-faq.open { border-color: rgba(52,211,153,0.3); }
.mk-faq-q {
    padding: 19px 22px; cursor: pointer; display: flex;
    align-items: center; justify-content: space-between; gap: 16px;
    color: var(--mk-white); font-weight: 600; font-size: 15px;
}
.mk-faq-q .ic { transition: transform 0.3s; color: var(--mk-ash); flex-shrink: 0; }
.mk-faq.open .mk-faq-q .ic { transform: rotate(45deg); color: var(--mk-mint); }
.mk-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), padding 0.3s;
    padding: 0 22px; color: var(--mk-fog); line-height: 1.7; font-size: 14px;
}
.mk-faq.open .mk-faq-a { max-height: 900px; padding: 0 22px 22px; }
.mk-faq-a a { color: var(--mk-mint); }
.mk-faq-a strong { color: var(--mk-chalk); }

/* ═══════════════ FINAL CTA ═══════════════ */
.mk-final {
    position: relative; overflow: hidden;
    padding: 140px 24px; text-align: center;
}
.mk-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.mk-final .mk-h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.mk-final p.sub { font-size: 1.05rem; color: var(--mk-fog); max-width: 480px; margin: 18px auto 38px; line-height: 1.65; }

/* ═══════════════ PRICE TEASER ROWS (home) ═══════════════ */
.mk-price-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mk-pp {
    display: flex; align-items: center; gap: 26px;
    padding: 22px 30px;
}
.mk-pp-name { font-size: 14px; font-weight: 700; color: var(--mk-white); display: flex; align-items: center; gap: 8px; }
.mk-pp-name i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.mk-pp-tools { font-family: var(--mk-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--mk-ash); margin-top: 3px; }
.mk-pp-amt {
    font-family: var(--mk-mono); font-size: 1.55rem; font-weight: 700;
    color: var(--mk-white); letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.mk-pp-amt .per { font-size: 11px; color: var(--mk-ash); font-weight: 500; }

/* ═══════════════════════════════════════════════
   PRICING PAGE — overrides for _pricing_plans.html
   (scoped under .mk so the same partial keeps its
   stock look anywhere else it renders)
   ═══════════════════════════════════════════════ */
.mk .pricing-section { background: transparent; }
.mk .pricing-main-title {
    font-family: var(--mk-sans) !important; font-weight: 800 !important;
    letter-spacing: -0.04em !important; color: var(--mk-white);
}
.mk .pricing-main-title .accent {
    font-family: var(--mk-serif); font-style: italic; font-weight: 480;
    background: var(--mk-heat);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.06em;
}
.mk .pricing-card {
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel));
    border-color: var(--mk-line);
    border-radius: 16px;
    backdrop-filter: none;
}
.mk .pricing-card:hover { border-color: var(--mk-line-strong); }
.mk .pricing-card-premium { border-color: rgba(52,211,153,0.55); box-shadow: 0 0 70px -24px rgba(52,211,153,0.4); }
.mk .card-price { font-family: var(--mk-mono); letter-spacing: -0.05em; }
.mk .card-feature-category {
    font-family: var(--mk-mono); letter-spacing: 0.16em; font-size: 10px;
}
.mk .billing-toggle-wrapper { background: var(--mk-panel); border: 1px solid var(--mk-line); }
.mk .comparison-table th { font-family: var(--mk-mono); letter-spacing: 0.1em; font-size: 11px; text-transform: uppercase; }
.mk .demo-strip { background: var(--mk-panel); border-color: var(--mk-line-strong); border-radius: 14px; }

/* ═══════════════════════════════════════════════
   REGISTER (step 1) + PLAN (step 2)
   ═══════════════════════════════════════════════ */
.mk .register-container { background: var(--mk-void); font-family: var(--mk-sans); }
.mk .register-brand-panel { position: relative; overflow: hidden; background: var(--mk-deep); }
.mk .register-brand-panel::before { display: none; } /* replace stock blob with scene/glow */
.mk .register-brand-panel > .mk-scene-bg { position: absolute; inset: 0; z-index: 0; }
.mk .register-brand-panel > * { position: relative; z-index: 1; }

.mk .register-card {
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel));
    border: 1px solid var(--mk-line);
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.mk .register-input {
    background: rgba(15,23,42,0.6); border-color: var(--mk-line-strong);
    font-family: var(--mk-sans);
}
.mk .register-input:focus { border-color: var(--mk-mint); box-shadow: 0 0 0 3px rgba(52,211,153,0.14); }
.mk .register-title { font-family: var(--mk-sans); letter-spacing: -0.03em; font-weight: 800; }

.mk-steplabel {
    display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
    font-family: var(--mk-mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
}
.mk-steplabel .st { display: inline-flex; align-items: center; gap: 8px; color: var(--mk-ash); }
.mk-steplabel .st.active { color: var(--mk-white); }
.mk-steplabel .st.done { color: var(--mk-mint); }
.mk-steplabel .n {
    width: 21px; height: 21px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    background: rgba(255,255,255,0.06); border: 1px solid var(--mk-line-strong); color: var(--mk-fog);
}
.mk-steplabel .st.active .n { background: var(--mk-mint-deep); border-color: var(--mk-mint-deep); color: #fff; }
.mk-steplabel .st.done .n { background: var(--mk-mint-dim); border-color: rgba(52,211,153,0.5); color: var(--mk-mint); }
.mk-steplabel .sep { flex: 0 0 26px; height: 1px; background: var(--mk-line-strong); }

.mk-nocard {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mk-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
    color: var(--mk-mint); background: var(--mk-mint-dim);
    border: 1px solid rgba(52,211,153,0.28);
    padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}

.mk-founder {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 20px; border-radius: 14px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--mk-line);
}
.mk-founder .avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #10b981, #0891b2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
}
.mk-founder p { font-size: 13px; color: var(--mk-fog); line-height: 1.6; margin: 2px 0 0; }
.mk-founder strong { color: var(--mk-chalk); font-weight: 600; }

/* Plan cards (step 2) */
.mk-plan-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .mk-plan-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mk-plan-grid { grid-template-columns: repeat(4, 1fr); } }
.mk-plan {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel));
    border: 1px solid var(--mk-line); border-radius: 16px;
    padding: 24px 22px 20px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.mk-plan:hover { border-color: var(--mk-line-strong); transform: translateY(-3px); }
.mk-plan--featured {
    border-color: rgba(52,211,153,0.6);
    box-shadow: 0 0 60px -20px rgba(52,211,153,0.4);
}
.mk-plan-flag {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    font-family: var(--mk-mono); font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--mk-mint-deep); color: #fff;
    padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.mk-plan-name { font-size: 15px; font-weight: 800; color: var(--mk-white); letter-spacing: -0.01em; }
.mk-plan-scope { font-family: var(--mk-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--mk-ash); margin-top: 4px; }
.mk-plan-price {
    margin: 16px 0 4px; font-family: var(--mk-mono); font-weight: 700;
    font-size: 2rem; letter-spacing: -0.05em; color: var(--mk-white);
    font-variant-numeric: tabular-nums;
}
.mk-plan-price .per { font-size: 12px; color: var(--mk-ash); font-weight: 500; letter-spacing: 0; }
.mk-plan-trial { font-family: var(--mk-mono); font-size: 10.5px; font-weight: 500; color: var(--mk-mint); min-height: 18px; margin-bottom: 14px; letter-spacing: 0.03em; }
.mk-plan-feats { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.mk-plan-feats li {
    display: flex; gap: 9px; align-items: flex-start;
    font-size: 13px; color: var(--mk-chalk); line-height: 1.5; padding: 4.5px 0;
}
.mk-plan-feats li svg { flex-shrink: 0; margin-top: 3px; color: var(--mk-mint); }
.mk-plan-feats li.dim { color: var(--mk-ash); }
.mk-plan-btn {
    width: 100%; border: 0; cursor: pointer; font-family: var(--mk-sans);
    padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 700;
    transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
    text-align: center;
}
.mk-plan-btn--paid {
    background: linear-gradient(135deg, #10b981, #059669); color: #fff;
    box-shadow: 0 6px 20px -8px rgba(16,185,129,0.5);
}
.mk-plan-btn--paid:hover { background: linear-gradient(135deg, #34d399, #10b981); transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(16,185,129,0.65); }
.mk-plan-btn--ghost { background: transparent; color: var(--mk-chalk); border: 1px solid rgba(255,255,255,0.18); }
.mk-plan-btn--ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.mk-plan-micro { font-family: var(--mk-mono); font-size: 10px; color: var(--mk-ash); text-align: center; margin-top: 9px; line-height: 1.5; letter-spacing: 0.02em; }

.mk-billing { display: flex; justify-content: center; margin: 20px 0 32px; }
.mk-billing-wrap {
    display: inline-flex; background: var(--mk-panel);
    border: 1px solid var(--mk-line-strong); border-radius: 999px; padding: 3px;
}
.mk-billing button {
    border: 0; background: transparent; color: var(--mk-fog);
    font-family: var(--mk-mono); font-size: 12px; font-weight: 600;
    padding: 8px 20px; border-radius: 999px; cursor: pointer; transition: all 0.18s;
}
.mk-billing button.on { background: var(--mk-mint-deep); color: #fff; }
.mk-billing .save { font-size: 9.5px; font-weight: 800; color: var(--mk-mint); margin-left: 5px; }
.mk-billing button.on .save { color: rgba(255,255,255,0.85); }

.mk-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px;
    font-family: var(--mk-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--mk-ash);
}
.mk-trust span { display: inline-flex; align-items: center; gap: 7px; }
.mk-trust svg { color: var(--mk-mint); flex-shrink: 0; }

/* ═══════════════ TIER ANCHOR CARDS (features page) ═══════════════ */
.mk-tier-card .tname {
    font-family: var(--mk-mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
}
.mk-tier-card.t-basic .tname { color: #60a5fa; }
.mk-tier-card.t-premium .tname { color: var(--mk-mint); }
.mk-tier-card.t-pro .tname { color: var(--mk-violet); }
.mk-tier-card .tprice {
    font-family: var(--mk-mono); font-size: 2rem; font-weight: 700;
    letter-spacing: -0.05em; color: var(--mk-white); margin: 12px 0 10px;
}
.mk-tier-card .tprice .per { font-size: 12px; color: var(--mk-ash); font-weight: 500; }
.mk-tier-card .tdesc { color: var(--mk-fog); font-size: 0.92rem; line-height: 1.6; }
.mk-tier-card .tarrow { margin-top: 18px; }
.mk-tier-card.t-basic:hover { border-color: rgba(96,165,250,0.5); }
.mk-tier-card.t-premium:hover { border-color: rgba(52,211,153,0.5); }
.mk-tier-card.t-pro:hover { border-color: rgba(167,139,250,0.5); }

/* ═══════════════ LIVING TERMINAL (homepage hero panel) ═══════════════ */
.mk-term { font-family: var(--mk-mono); }
.mk-term .mk-shot-bar { justify-content: flex-start; }
.mk-term-clock {
    margin-left: auto; font-family: var(--mk-mono); font-size: 10.5px;
    letter-spacing: 0.1em; color: var(--mk-ash); font-variant-numeric: tabular-nums;
}

.mk-term-head {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
    padding: 18px 22px 14px; border-bottom: 1px solid var(--mk-line);
}
.mk-term-id .tk {
    font-size: 17px; font-weight: 700; color: var(--mk-white); letter-spacing: 0.04em;
}
.mk-term-id .nm { font-size: 10.5px; color: var(--mk-ash); margin-left: 9px; letter-spacing: 0.06em; }
.mk-term-price { display: flex; align-items: baseline; gap: 10px; }
.mk-term-price > span:first-child {
    font-size: 1.55rem; font-weight: 700; color: var(--mk-white);
    letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.mk-term-price .chg { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.mk-term-price .chg.up { color: var(--mk-mint); }
.mk-term-price .chg.down { color: #f87171; }
.mk-term-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.mk-term-chip {
    font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em;
    color: var(--mk-fog); padding: 5px 10px; border-radius: 6px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--mk-line);
    white-space: nowrap;
}
.mk-term-chip b { color: var(--mk-mint); font-weight: 700; margin-left: 4px; }

.mk-term-tabs {
    position: relative; display: flex; flex-wrap: nowrap; gap: 2px;
    padding: 10px 16px 0; border-bottom: 1px solid var(--mk-line);
    overflow-x: auto; scrollbar-width: none;
}
.mk-term-tabs::-webkit-scrollbar { display: none; }
.mk-term-tabs button { white-space: nowrap; flex: 0 0 auto; }
.mk-term-tabs button {
    appearance: none; background: none; border: 0; cursor: pointer;
    font-family: var(--mk-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--mk-ash); padding: 9px 14px 11px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.mk-term-tabs button:hover { color: var(--mk-chalk); }
.mk-term-tabs button.on { color: var(--mk-white); border-bottom-color: var(--mk-mint); }
.mk-term-progress {
    position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
    background: transparent; overflow: hidden; pointer-events: none;
}
.mk-term-progress i {
    display: block; height: 100%; width: 100%;
    background: linear-gradient(90deg, var(--mk-mint), var(--mk-cyan));
    transform: scaleX(0); transform-origin: left; opacity: 0.55;
}
@keyframes mk-term-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mk-term-stage { position: relative; height: 320px; padding: 16px 18px 10px; }
@media (max-width: 640px) { .mk-term-stage { height: 240px; } }
.mk-term-pane { position: absolute; inset: 16px 18px 10px; opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.mk-term-pane.on { opacity: 1; pointer-events: auto; }
.mk-term-pane canvas { width: 100% !important; height: 100% !important; }
.mk-term-pane-note {
    position: absolute; top: 0; right: 2px;
    font-size: 9.5px; letter-spacing: 0.08em; color: var(--mk-ash);
}

.mk-term-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
    padding: 16px 22px 18px; border-top: 1px solid var(--mk-line);
}
.mk-term-stat { display: flex; flex-direction: column; gap: 3px; }
.mk-term-stat .l { font-size: 9px; font-weight: 500; letter-spacing: 0.18em; color: var(--mk-ash); }
.mk-term-stat .v { font-size: 14px; font-weight: 700; color: var(--mk-white); font-variant-numeric: tabular-nums; }
.mk-term-stat .v.mint { color: var(--mk-mint); }
.mk-term-cta { margin-left: auto; }
@media (max-width: 760px) { .mk-term-cta { margin-left: 0; } }
.mk-term-note {
    font-size: 9.5px; letter-spacing: 0.06em; color: var(--mk-ash);
    flex-basis: 100%;
}

/* Screener pane — an HTML results table (not a Chart.js canvas), mirrors /screener */
.mk-term-screen {
    display: flex; flex-direction: column; height: 100%;
    padding-top: 8px; font-family: var(--mk-mono);
}
.mk-scr-row {
    display: grid; grid-template-columns: 0.4fr 1.25fr 1.5fr 0.85fr 0.8fr 0.65fr;
    align-items: center; gap: 10px; flex: 1;
    border-bottom: 1px solid var(--mk-line);
    font-size: 12.5px; color: var(--mk-chalk);
}
.mk-scr-row:last-child { border-bottom: 0; }
.mk-scr-head {
    flex: 0 0 22px; font-size: 9px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-ash);
}
/* rank — top 3 get a mint chip, like the real screener */
.mk-scr-row .rk { color: var(--mk-ash); font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-scr-row .rk.top {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--mk-mint-dim); color: var(--mk-mint); font-size: 10px;
}
.mk-scr-row .tk { font-weight: 700; color: var(--mk-white); letter-spacing: 0.03em; }
.mk-scr-row .tk .sdot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    margin-left: 6px; vertical-align: middle; background: var(--mk-ash);
}
.sdot--mint { background: var(--mk-mint) !important; }
.sdot--cyan { background: var(--mk-cyan) !important; }
.sdot--violet { background: var(--mk-violet) !important; }
.sdot--red { background: #f87171 !important; }
.sdot--amber { background: #fbbf24 !important; }
.sdot--orange { background: #fb923c !important; }
/* IV rank — number + proportional colored bar */
.mk-scr-row .ivr { display: flex; align-items: center; gap: 9px; }
.mk-scr-row .ivr b { color: var(--mk-white); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 20px; }
.mk-scr-row .ivbar {
    flex: 1; max-width: 56px; height: 5px; border-radius: 3px;
    background: rgba(255,255,255,0.07); overflow: hidden;
}
.mk-scr-row .ivbar i { display: block; height: 100%; }
.mk-scr-row .iv30 { color: var(--mk-fog); font-variant-numeric: tabular-nums; }
/* VRP pill — red = rich, mint = cheap (matches the real screener semantics) */
.mk-scr-row .vrp {
    font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
    font-variant-numeric: tabular-nums;
}
.vrp--red { color: #f87171; background: rgba(248,113,113,0.12); }
.vrp--mint { color: var(--mk-mint); background: var(--mk-mint-dim); }
.vrp--neutral { color: var(--mk-fog); background: rgba(255,255,255,0.05); }
.mk-scr-row .chg { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-scr-row .chg.up { color: var(--mk-mint); }
.mk-scr-row .chg.down { color: #f87171; }
@media (max-width: 640px) {
    .mk-scr-row { font-size: 11px; gap: 7px; }
    .mk-scr-row .ivbar { max-width: 36px; }
}

/* ═══════════════ MISC ═══════════════ */
.mk-center { text-align: center; }
.mk-mt-lg { margin-top: 56px; }

/* Credibility band recolor */
.mk .credibility-band { border-top: none; }
.mk .cred-founder, .mk .cred-data {
    background: var(--mk-panel) !important;
    border-color: var(--mk-line) !important;
}

/* Comparison table (pricing) recolor */
.mk-table-wrap { overflow-x: auto; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--mk-chalk); }
.mk-table th {
    text-align: center; padding: 15px 12px;
    font-family: var(--mk-mono); font-weight: 700; font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-chalk);
    border-bottom: 1px solid var(--mk-line-strong);
}
.mk-table th:first-child { text-align: left; }
.mk-table th .sub { display: block; font-size: 10px; color: var(--mk-ash); font-weight: 500; margin-top: 3px; letter-spacing: 0.04em; }
.mk-table th.us { color: var(--mk-mint); background: var(--mk-mint-dim); border-radius: 8px 8px 0 0; }
.mk-table td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--mk-line); }
.mk-table td:first-child { text-align: left; color: var(--mk-chalk); }
.mk-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.mk-table .yes { color: var(--mk-mint); font-weight: 700; }
.mk-table .no { color: var(--mk-ash); }

@media (prefers-reduced-motion: reduce) {
    .mk *, .mk *::before, .mk *::after { animation-duration: 0.001s !important; transition-duration: 0.15s !important; }
}

/* ═══════════════════════════════════════════════════════════════
   HUB PAGE BRIDGE
   Retargets the legacy content hubs (learn, strategies, videos,
   changelog) onto the v3 type system + slate palette without
   touching their markup. Scoped to .mk-hub so it can't leak into
   the app shell. `!important` is required to beat each page's own
   `font-family:'Outfit'` / `'Instrument Serif'` rules.
   ═══════════════════════════════════════════════════════════════ */
.mk-hub { font-family: var(--mk-sans); }

/* Everything → JetBrains Mono (full-mono, same call as the marketing pages) */
.mk-hub h1, .mk-hub h2, .mk-hub h3, .mk-hub h4, .mk-hub h5, .mk-hub h6,
.mk-hub p, .mk-hub a, .mk-hub span, .mk-hub div, .mk-hub li,
.mk-hub strong, .mk-hub time, .mk-hub button, .mk-hub cite, .mk-hub blockquote,
.mk-hub input, .mk-hub label, .mk-hub nav {
    font-family: var(--mk-sans) !important;
}

/* Italic accent words → Fraunces with the vol-heat gradient (matches `.it`).
   Only headings, so number/label <em>s elsewhere keep their own style. */
.mk-hub h1 em, .mk-hub h2 em, .mk-hub h3 em,
.mk-hub .resn-display em, .mk-hub .learn-h2 em,
.mk-hub .strat-section-h2 em, .mk-hub .strat-hub-hero h1 em {
    font-family: var(--mk-serif) !important;
    font-style: italic; font-weight: 480;
    background: var(--mk-heat);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding-right: 0.06em;
}

/* Eyebrow/overline labels → mono micro-caps with the lead tick */
.mk-hub .resn-overline, .mk-hub .learn-overline {
    font-family: var(--mk-mono) !important;
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: 0.22em !important; color: var(--mk-mint) !important;
}

/* Sticky sub-navs → slate glass so they don't flash a neutral grey band
   over the #0f172a body when pinned */
.mk-hub #category-nav {
    background: rgba(15,23,42,0.92) !important;
    border-bottom-color: var(--mk-line) !important;
}
.mk-hub .topic-nav {
    background: rgba(15,23,42,0.92) !important;
    border-bottom-color: var(--mk-line) !important;
}

/* Cards/panels that carried a slightly different dark shade → unify on the
   platform's card tone for a seamless match with home/features/pricing */
.mk-hub .path-stage,
.mk-hub .topic-card {
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel)) !important;
    border-color: var(--mk-line) !important;
}
.mk-hub .topic-card:hover { border-color: rgba(52,211,153,0.5) !important; }
.mk-hub .entry-card {
    background: linear-gradient(180deg, var(--mk-panel-2), var(--mk-panel));
    border-color: var(--mk-line);
}

/* Numeric mono accents stay mint (don't let the gradient-em rule touch them) */
.mk-hub .learn-hero-stats .stat strong em { -webkit-text-fill-color: var(--mk-mint); color: var(--mk-mint); background: none; font-family: var(--mk-mono) !important; font-style: normal; }

