/* Textvert marketing — export lead-ops system (not blog) */
:root {
    --mk-bg: #f3f0e8;
    --mk-bg-deep: #e7e2d6;
    --mk-ink: #161410;
    --mk-ink-soft: #2a2824;
    --mk-muted: #5e5a52;
    --mk-line: rgba(22, 20, 16, 0.1);
    --mk-line-strong: rgba(22, 20, 16, 0.18);
    --mk-accent: #1e4638;
    --mk-accent-deep: #16352a;
    --mk-signal: #8a6840;
    --mk-ok: #1a8f5c;
    --mk-warn: #c9891a;
    --mk-bad: #c44b4b;
    --mk-surface: #fffcf7;
    --mk-console: #141816;
    --mk-console-2: #1c221f;
    --mk-console-line: rgba(243, 240, 232, 0.12);
    --mk-console-text: #efeae2;
    --mk-console-muted: #b3aa9e;
    --mk-font: "Source Sans 3", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --mk-display: "Syne", "Noto Sans SC", "PingFang SC", sans-serif;
    --mk-mono: "IBM Plex Mono", "Consolas", monospace;
    --mk-radius: 6px;
    --mk-shell: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#how-it-works {
    scroll-margin-top: 72px;
}

.hiw-home-more {
    margin: 14px 0 0;
}

.hiw-home-more a {
    color: #0c6e8a;
    font-weight: 600;
    text-decoration: none;
}

.hiw-home-more a:hover {
    text-decoration: underline;
}

body.mk-body {
    margin: 0;
    font-family: var(--mk-font);
    color: var(--mk-ink);
    background: var(--mk-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.mk-shell {
    width: min(100% - 40px, var(--mk-shell));
    margin-inline: auto;
}

/* —— Nav —— */
.mk-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--mk-bg) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.mk-nav.is-scrolled {
    border-bottom-color: var(--mk-line);
    background: color-mix(in srgb, #fff 90%, transparent);
}

.mk-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
}

.mk-nav-brand,
.brand-mark-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mk-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--mk-ink);
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.brand-mark-logo {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #e8f4f8, #d7eef5);
    border: 1px dashed rgba(12, 110, 138, .28);
}
.brand-mark-logo.has-image {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
}
.brand-mark-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.brand-mark-letter {
    font-family: var(--mk-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #0c6e8a;
}
.brand-mark-text {
    display: grid;
    gap: 1px;
    min-width: 0;
    line-height: 1.15;
}
.brand-mark-text strong {
    font-size: inherit;
    font-weight: 700;
    letter-spacing: -.03em;
}
.brand-mark-text em {
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    opacity: .72;
}
.brand-mark-footer {
    margin-bottom: 8px;
}
.brand-mark-footer .brand-mark-logo {
    width: 32px;
    height: 32px;
}
.brand-mark-footer .brand-mark-text strong {
    font-size: 1.05rem;
}

.mk-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mk-nav-links a {
    text-decoration: none;
    color: var(--mk-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.mk-nav-links a:hover,
.mk-nav-links a.is-on { color: var(--mk-ink); }

body.is-home .mk-nav-links a.is-on {
    color: #0c6e8a;
}

.mk-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* —— Language dropdown —— */
.mk-lang {
    position: relative;
}

.mk-lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--mk-line-strong);
    border-radius: var(--mk-radius);
    background: #fff;
    color: var(--mk-ink);
    font: inherit;
    font-family: var(--mk-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mk-lang-trigger:hover,
.mk-lang.is-open .mk-lang-trigger {
    border-color: rgba(11, 126, 164, 0.45);
    background: #f7fafc;
}

.mk-lang-globe {
    width: 15px;
    height: 15px;
    color: var(--mk-accent-deep);
    flex-shrink: 0;
}

.mk-lang-code {
    text-transform: uppercase;
    line-height: 1;
}

.mk-lang-caret {
    width: 10px;
    height: 10px;
    color: var(--mk-muted);
    transition: transform 0.15s ease;
}

.mk-lang.is-open .mk-lang-caret {
    transform: rotate(180deg);
}

.mk-lang-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    width: min(220px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid var(--mk-line-strong);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(11, 26, 43, 0.14);
}

.mk-lang-panel[hidden] {
    display: none;
}

.mk-lang-panel-label {
    padding: 6px 10px 8px;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-muted);
}

.mk-lang-panel form {
    margin: 0;
}

.mk-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--mk-ink);
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.12s ease;
}

.mk-lang-item:hover {
    background: var(--mk-bg);
}

.mk-lang-item.is-active {
    background: rgba(11, 126, 164, 0.08);
}

.mk-lang-item-code {
    flex: 0 0 auto;
    min-width: 2.4rem;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mk-accent-deep);
}

.mk-lang-item-name {
    flex: 1;
    min-width: 0;
    color: var(--mk-ink-soft);
}

.mk-lang-item.is-active .mk-lang-item-name {
    color: var(--mk-ink);
    font-weight: 600;
}

.mk-lang-check {
    width: 14px;
    height: 14px;
    color: var(--mk-accent);
    flex-shrink: 0;
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-line-strong);
    background: transparent;
    color: var(--mk-ink);
    text-decoration: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--mk-accent);
    border-color: var(--mk-accent);
    color: #f4fbff;
}

.btn-primary:hover {
    background: var(--mk-accent-deep);
    border-color: var(--mk-accent-deep);
}

.btn-ghost {
    background: #fff;
    border-color: var(--mk-line-strong);
}

.btn-ghost:hover { border-color: var(--mk-ink); }

.btn-on-dark {
    border-color: rgba(215, 227, 239, 0.28);
    color: var(--mk-console-text);
}

.btn-on-dark.btn-primary {
    background: var(--mk-signal);
    border-color: var(--mk-signal);
    color: #fff;
}

.btn-on-dark.btn-primary:hover {
    background: #c75a20;
    border-color: #c75a20;
}

.container {
    width: min(100% - 40px, var(--mk-shell));
    margin-inline: auto;
}

.nav { display: none; }

/* —— Hero: pitch + live system —— */
.mk-hero {
    position: relative;
    padding: 36px 0 0;
    overflow: clip;
}

.mk-hero-atmosphere {
    position: absolute;
    inset: 0 0 auto;
    height: 72%;
    z-index: -1;
    background:
        radial-gradient(ellipse 55% 50% at 85% 10%, rgba(11, 126, 164, 0.16), transparent 60%),
        radial-gradient(ellipse 40% 40% at 8% 30%, rgba(226, 106, 44, 0.08), transparent 55%),
        linear-gradient(180deg, #f7f9fb 0%, var(--mk-bg) 100%);
}

.mk-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
    gap: 28px;
    align-items: end;
    padding-bottom: 28px;
}

.mk-hero-copy {
    padding-bottom: 12px;
    animation: mk-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mk-brand-mark {
    margin: 0 0 14px;
    font-family: var(--mk-mono);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-ink);
}

.mk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 5px 10px;
    border: 1px solid var(--mk-line-strong);
    border-radius: 6px;
    background: #fff;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-accent-deep);
}

.mk-hero-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mk-ok);
    box-shadow: 0 0 0 3px rgba(26, 143, 92, 0.2);
    animation: mk-pulse 1.8s ease-in-out infinite;
}

.mk-hero-title {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--mk-ink);
}

.mk-hero-lead {
    margin: 14px 0 0;
    max-width: 36rem;
    color: var(--mk-muted);
    font-size: 1.02rem;
}

.mk-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mk-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    font-family: var(--mk-mono);
    font-size: 0.75rem;
    color: var(--mk-muted);
    letter-spacing: 0.02em;
}

.mk-hero-meta b {
    color: var(--mk-ink-soft);
    font-weight: 600;
}

/* Console frame (dominant visual) */
.mk-console {
    border: 1px solid #1a2a3f;
    border-radius: 12px 12px 0 0;
    background: var(--mk-console);
    color: var(--mk-console-text);
    box-shadow: 0 24px 60px rgba(11, 26, 43, 0.22);
    overflow: hidden;
    animation: mk-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.mk-console-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--mk-console-2);
    border-bottom: 1px solid var(--mk-console-line);
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mk-console-muted);
}

.mk-console-dots {
    display: flex;
    gap: 6px;
}

.mk-console-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a3c54;
}

.mk-console-dots span:nth-child(1) { background: #c44b4b; }
.mk-console-dots span:nth-child(2) { background: #c9891a; }
.mk-console-dots span:nth-child(3) { background: #1a8f5c; }

.mk-console-body {
    display: grid;
    grid-template-columns: 148px 1fr;
    min-height: 340px;
}

.mk-console-side {
    border-right: 1px solid var(--mk-console-line);
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.18);
}

.mk-console-side button,
.mk-console-side .mk-side-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--mk-console-muted);
    font: inherit;
    font-size: 0.8rem;
    padding: 9px 14px;
    cursor: default;
}

.mk-console-side .is-on {
    color: #fff;
    background: rgba(11, 126, 164, 0.22);
    border-left: 2px solid var(--mk-accent);
    padding-left: 12px;
}

.mk-console-main { padding: 14px; }

.mk-console-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--mk-console-line);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    color: var(--mk-console-muted);
}

.mk-chip strong {
    color: var(--mk-console-text);
    font-weight: 550;
}

.mk-console-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.mk-console-table th {
    text-align: left;
    font-family: var(--mk-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-console-muted);
    font-weight: 500;
    padding: 0 8px 8px 0;
    border-bottom: 1px solid var(--mk-console-line);
}

.mk-console-table td {
    padding: 10px 8px 10px 0;
    border-bottom: 1px solid var(--mk-console-line);
    vertical-align: middle;
}

.mk-console-table tr:last-child td { border-bottom: 0; }

.mk-console-table .co {
    display: block;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.mk-console-table .meta {
    color: var(--mk-console-muted);
    font-size: 0.72rem;
    font-family: var(--mk-mono);
}

.mk-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mk-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.mk-status.is-ok { color: #3ecf8e; }
.mk-status.is-run { color: #5bbcde; }
.mk-status.is-wait { color: #e0b15a; }

.mk-console-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--mk-console-line);
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    color: var(--mk-console-muted);
}

.mk-console-foot b { color: var(--mk-console-text); font-weight: 550; }

.mk-meter {
    height: 3px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.mk-meter > i {
    display: block;
    height: 100%;
    width: 42%;
    background: linear-gradient(90deg, var(--mk-accent), var(--mk-signal));
    animation: mk-meter 4.5s ease-in-out infinite;
}

@keyframes mk-rise {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes mk-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes mk-meter {
    0%, 100% { width: 28%; }
    50% { width: 78%; }
}

/* —— Pipeline —— */
.mk-pipeline {
    background: #fff;
    border-block: 1px solid var(--mk-line);
    padding: 0;
}

.mk-pipeline-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.mk-pipe {
    position: relative;
    padding: 22px 16px 22px 18px;
    border-right: 1px solid var(--mk-line);
}

.mk-pipe:last-child { border-right: 0; }

.mk-pipe-code {
    display: block;
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    color: var(--mk-accent);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.mk-pipe h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mk-pipe p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

/* —— Modules —— */
.mk-section {
    padding: 64px 0;
}

.mk-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.mk-section-head h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mk-section-head p {
    margin: 0;
    max-width: 36rem;
    color: var(--mk-muted);
    font-size: 0.95rem;
}

.mk-kicker {
    margin: 0 0 8px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mk-accent-deep);
}

.mk-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mk-mod {
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    padding: 18px 16px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.mk-mod:hover {
    border-color: rgba(11, 126, 164, 0.45);
    transform: translateY(-2px);
}

.mk-mod-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--mk-muted);
    text-transform: uppercase;
}

.mk-mod-code em {
    font-style: normal;
    color: var(--mk-signal);
}

.mk-mod h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mk-mod p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.88rem;
}

/* —— Dual terminals —— */
.mk-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mk-term {
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-line);
    overflow: hidden;
    background: #fff;
}

.mk-term-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--mk-bg-deep);
    border-bottom: 1px solid var(--mk-line);
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-muted);
}

.mk-term-body { padding: 18px 16px 20px; }

.mk-term-body h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mk-term-body p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.92rem;
}

.mk-term.is-dark {
    background: var(--mk-console);
    border-color: #1a2a3f;
    color: var(--mk-console-text);
}

.mk-term.is-dark .mk-term-bar {
    background: var(--mk-console-2);
    border-bottom-color: var(--mk-console-line);
    color: var(--mk-console-muted);
}

.mk-term.is-dark .mk-term-body p { color: var(--mk-console-muted); }

.mk-term-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.mk-term-list li {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 7px 0;
    border-top: 1px solid var(--mk-line);
    font-size: 0.86rem;
    color: var(--mk-ink-soft);
}

.mk-term.is-dark .mk-term-list li {
    border-top-color: var(--mk-console-line);
    color: var(--mk-console-text);
}

.mk-term-list span {
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    color: var(--mk-accent);
    min-width: 2.2rem;
}

.mk-term.is-dark .mk-term-list span { color: var(--mk-signal); }

/* —— Close —— */
.mk-close {
    padding: 0 0 72px;
}

.mk-close-panel {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 28px;
    border-radius: 12px;
    background:
        linear-gradient(120deg, rgba(11, 126, 164, 0.18), transparent 45%),
        var(--mk-console);
    color: var(--mk-console-text);
    border: 1px solid #1a2a3f;
}

.mk-close-panel h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mk-close-panel p {
    margin: 8px 0 0;
    color: var(--mk-console-muted);
    font-size: 0.95rem;
    max-width: 42rem;
}

.mk-close-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* Legacy pages */
main > .hero,
main > .card-grid,
main > .blog-list,
main > .blog-post,
main > .blog-pager {
    width: min(100% - 40px, var(--mk-shell));
    margin-inline: auto;
}

.hero { padding: 48px 0 28px; }
.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.hero p { margin: 0; color: var(--mk-muted); max-width: 40rem; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding-bottom: 48px;
}

.card {
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    padding: 18px;
}

.card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.card p { margin: 0; color: var(--mk-muted); font-size: 0.92rem; }

.blog-list { display: flex; flex-direction: column; gap: 12px; }
.blog-item h2 { margin: 8px 0 8px; font-size: 1.2rem; font-weight: 700; }
.blog-item h2 a { color: inherit; text-decoration: none; }
.blog-item h2 a:hover { color: var(--mk-accent); }
.blog-meta { color: var(--mk-muted); font-size: 0.8rem; font-family: var(--mk-mono); }
.blog-lead { color: var(--mk-muted); font-size: 1.05rem; line-height: 1.6; }
.blog-post { max-width: 720px; padding: 40px 0 24px; }
.blog-post h1 {
    font-size: 2rem;
    margin: 8px 0 14px;
    line-height: 1.2;
    font-weight: 700;
}
.blog-body { line-height: 1.75; font-size: 1.02rem; }
.blog-body h2, .blog-body h3 { margin: 26px 0 10px; font-weight: 700; }
.blog-body p { margin: 0 0 14px; }
.blog-body a { color: var(--mk-accent); }
.blog-body ul, .blog-body ol { margin: 0 0 14px; padding-left: 22px; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0 14px; display: block; }
.blog-pager { margin-top: 24px; }
.blog-pager .pagination { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.blog-pager .pagination a,
.blog-pager .pagination span { color: var(--mk-muted); text-decoration: none; }

/* Footer */
.mk-footer {
    border-top: 1px solid var(--mk-line);
    padding: 24px 0 36px;
    background: #fff;
}

.mk-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.mk-footer strong {
    display: block;
    font-family: var(--mk-mono);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mk-footer p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.88rem;
    max-width: 40ch;
}

.mk-footer-links {
    display: flex;
    gap: 16px;
}

.mk-footer-links a {
    color: var(--mk-muted);
    text-decoration: none;
    font-size: 0.88rem;
}

.mk-footer-links a:hover { color: var(--mk-ink); }

.mk-footer-copy {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--mk-line);
    color: var(--mk-muted);
    font-size: 0.78rem;
    font-family: var(--mk-mono);
}

@media (prefers-reduced-motion: reduce) {
    .mk-hero-copy,
    .mk-console,
    .mk-hero-badge i,
    .mk-meter > i { animation: none !important; }
}

@media (max-width: 980px) {
    .mk-nav-links { display: none; }
    .mk-hero-grid,
    .mk-dual,
    .mk-close-panel { grid-template-columns: 1fr; }
    .mk-pipeline-inner { grid-template-columns: 1fr 1fr; }
    .mk-pipe:nth-child(2n) { border-right: 0; }
    .mk-modules { grid-template-columns: 1fr 1fr; }
    .mk-console-body { grid-template-columns: 1fr; }
    .mk-console-side {
        display: flex;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--mk-console-line);
        padding: 8px;
    }
    .mk-console-side .mk-side-item {
        white-space: nowrap;
        border-radius: 6px;
    }
    .mk-console-side .is-on {
        border-left: 0;
        padding-left: 14px;
    }
    .mk-close-cta { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .mk-shell,
    .container { width: min(100% - 28px, var(--mk-shell)); }
    .mk-nav-actions .btn:not(.btn-primary) { display: none; }
    .mk-modules,
    .mk-pipeline-inner { grid-template-columns: 1fr; }
    .mk-pipe { border-right: 0; border-bottom: 1px solid var(--mk-line); }
    .mk-pipe:last-child { border-bottom: 0; }
}

/* —— Auth (login / register) —— */
.mk-auth-body .mk-auth {
    padding: 36px 0 64px;
    min-height: calc(100vh - 180px);
}

.mk-auth-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.mk-auth-pitch {
    border-radius: 12px;
    border: 1px solid #1a2a3f;
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(11, 126, 164, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(226, 106, 44, 0.12), transparent 50%),
        var(--mk-console);
    color: var(--mk-console-text);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.mk-auth-kicker {
    margin: 0 0 12px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5bbcde;
}

.mk-auth-pitch-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.mk-auth-pitch-lead {
    margin: 12px 0 0;
    color: var(--mk-console-muted);
    font-size: 0.95rem;
    max-width: 34ch;
}

.mk-auth-rail {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.mk-auth-rail li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-top: 1px solid var(--mk-console-line);
    font-size: 0.92rem;
}

.mk-auth-rail li span {
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--mk-signal);
    min-width: 2.2rem;
}

.mk-auth-credits {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--mk-console-line);
}

.mk-auth-credits em {
    display: block;
    font-style: normal;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-console-muted);
    margin-bottom: 6px;
}

.mk-auth-credits strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.mk-auth-panel {
    background: #fff;
    border: 1px solid var(--mk-line-strong);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mk-auth-panel-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--mk-bg-deep);
    border-bottom: 1px solid var(--mk-line);
    font-family: var(--mk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-muted);
}

.mk-auth-panel-body {
    padding: 28px 24px 24px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.mk-auth-panel-body h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mk-auth-sub {
    margin: 8px 0 22px;
    color: var(--mk-muted);
    font-size: 0.95rem;
}

.mk-auth-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: var(--mk-radius);
    border: 1px solid rgba(196, 75, 75, 0.35);
    background: rgba(196, 75, 75, 0.08);
    color: var(--mk-bad);
    font-size: 0.88rem;
}

.mk-auth-form label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mk-muted);
}

.mk-auth-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0 0 14px;
    padding: 0 12px;
    border: 1px solid var(--mk-line-strong);
    border-radius: var(--mk-radius);
    background: #fff;
    color: var(--mk-ink);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mk-auth-form input:focus {
    outline: none;
    border-color: rgba(11, 126, 164, 0.55);
    box-shadow: 0 0 0 3px rgba(11, 126, 164, 0.12);
}

.mk-auth-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
}

.mk-auth-switch {
    margin: 18px 0 0;
    color: var(--mk-muted);
    font-size: 0.9rem;
}

.mk-auth-switch a {
    color: var(--mk-accent-deep);
    font-weight: 600;
    text-decoration: none;
}

.mk-auth-switch a:hover { text-decoration: underline; }

.mk-auth-dev {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: var(--mk-radius);
    border: 1px dashed rgba(11, 126, 164, 0.45);
    background: rgba(11, 126, 164, 0.06);
    font-size: 0.84rem;
}

.mk-auth-dev strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--mk-accent-deep);
}

.mk-auth-dev-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    color: var(--mk-muted);
}

.mk-auth-dev-row code {
    font-family: var(--mk-mono);
    font-size: 0.8rem;
    color: var(--mk-ink);
}

@media (max-width: 860px) {
    .mk-auth-grid { grid-template-columns: 1fr; }
    .mk-auth-pitch { order: 2; }
    .mk-auth-panel { order: 1; }
}

/* —— Homepage —— */
.hp-kicker {
    margin: 0 0 14px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mk-accent);
    font-weight: 500;
}

.hp-hero {
    padding: 72px 0 28px;
}

.hp-hero h1 {
    margin: 0;
    max-width: 16em;
    font-family: var(--mk-display);
    font-size: clamp(2.6rem, 5.4vw, 4.15rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--mk-ink);
}

.hp-lead {
    margin: 22px 0 0;
    max-width: 42rem;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--mk-ink-soft);
}

.hp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hp-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 48px 0 0;
    padding: 0;
    border-top: 1px solid var(--mk-line-strong);
}

.hp-facts div {
    padding: 18px 20px 0 0;
}

.hp-facts dt {
    margin: 0;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mk-muted);
}

.hp-facts dd {
    margin: 8px 0 0;
    font-size: 1rem;
    color: var(--mk-ink);
}

.hp-ledger {
    padding: 36px 0 8px;
}

.hp-ledger-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 14px;
}

.hp-ledger-head h2 {
    margin: 0;
    font-family: var(--mk-display);
    font-size: 1.7rem;
    font-weight: 500;
}

.hp-ledger-head p {
    margin: 0;
    max-width: 36rem;
    color: var(--mk-muted);
    font-size: 0.92rem;
    text-align: right;
}

.hp-table-wrap {
    overflow-x: auto;
    border-top: 1px solid var(--mk-ink);
    border-bottom: 1px solid var(--mk-line-strong);
    background: rgba(255, 252, 247, 0.55);
}

.hp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.hp-table th {
    padding: 12px 16px;
    text-align: left;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mk-muted);
    border-bottom: 1px solid var(--mk-line);
}

.hp-table td {
    padding: 16px;
    border-bottom: 1px solid var(--mk-line);
    vertical-align: top;
    font-size: 0.95rem;
    color: var(--mk-ink-soft);
}

.hp-table tr:last-child td { border-bottom: 0; }

.hp-table strong {
    display: block;
    font-weight: 600;
    color: var(--mk-ink);
}

.hp-table span {
    display: block;
    margin-top: 2px;
    color: var(--mk-muted);
    font-size: 0.82rem;
}

.hp-section {
    padding: 72px 0;
}

.hp-section-plain {
    background: rgba(255, 252, 247, 0.45);
    border-block: 1px solid var(--mk-line);
}

.hp-head {
    max-width: 40rem;
    margin-bottom: 28px;
}

.hp-head h2 {
    margin: 0;
    font-family: var(--mk-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hp-head p:last-child {
    margin: 12px 0 0;
    color: var(--mk-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.hp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--mk-ink);
}

.hp-steps li {
    padding: 22px 18px 8px 0;
    border-right: 1px solid var(--mk-line);
}

.hp-steps li:last-child { border-right: 0; }

.hp-steps span {
    display: block;
    margin-bottom: 16px;
    font-family: var(--mk-display);
    font-size: 1.7rem;
    color: var(--mk-signal);
}

.hp-steps h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hp-steps p {
    margin: 0;
    color: var(--mk-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hp-caps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--mk-ink);
}

.hp-caps article {
    padding: 22px 28px 22px 0;
    border-bottom: 1px solid var(--mk-line);
}

.hp-caps article:nth-child(odd) {
    padding-right: 36px;
    border-right: 1px solid var(--mk-line);
}

.hp-caps article:nth-child(even) { padding-left: 28px; }

.hp-caps h3 {
    margin: 0 0 6px;
    font-family: var(--mk-display);
    font-size: 1.45rem;
    font-weight: 500;
}

.hp-caps p {
    margin: 0;
    max-width: 42ch;
    color: var(--mk-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hp-surfaces {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hp-surfaces article {
    padding: 28px 26px;
    border: 1px solid var(--mk-line-strong);
    background: var(--mk-surface);
}

.hp-surfaces h3 {
    margin: 0 0 10px;
    font-family: var(--mk-display);
    font-size: 2rem;
    font-weight: 500;
}

.hp-surfaces p {
    margin: 0;
    color: var(--mk-muted);
    line-height: 1.6;
}

.hp-surfaces ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.hp-surfaces li {
    padding: 10px 0;
    border-top: 1px solid var(--mk-line);
    font-size: 0.95rem;
}

.hp-surfaces .is-dark {
    background: var(--mk-console);
    border-color: var(--mk-console);
    color: var(--mk-console-text);
}

.hp-surfaces .is-dark .hp-kicker { color: #d7c4a6; }
.hp-surfaces .is-dark p { color: var(--mk-console-muted); }
.hp-surfaces .is-dark li { border-top-color: var(--mk-console-line); }

.hp-close {
    padding: 0 0 80px;
}

.hp-close-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-top: 36px;
    border-top: 1px solid var(--mk-ink);
}

.hp-close h2 {
    margin: 0;
    max-width: 16em;
    font-family: var(--mk-display);
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    font-weight: 500;
    line-height: 1.15;
}

.hp-close p {
    margin: 12px 0 0;
    max-width: 36rem;
    color: var(--mk-muted);
    line-height: 1.65;
}

.mk-footer strong {
    font-family: var(--mk-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 980px) {
    .hp-facts,
    .hp-steps,
    .hp-surfaces { grid-template-columns: 1fr; }
    .hp-steps li,
    .hp-caps article:nth-child(odd),
    .hp-caps article:nth-child(even) {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .hp-caps { grid-template-columns: 1fr; }
    .hp-ledger-head,
    .hp-close-inner { flex-direction: column; align-items: flex-start; }
    .hp-ledger-head p { text-align: left; }
    .hp-hero { padding-top: 40px; }
}

/* —— Homepage: light product stage + motion —— */
body.is-home {
    background: #f4f7fb;
    color: #152033;
}

body.is-home .mk-nav {
    background: rgba(244, 247, 251, 0.82);
}

body.is-home .mk-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(21, 32, 51, 0.08);
}

body.is-home .mk-footer {
    background: #f4f7fb;
}

.nx-hero {
    position: relative;
    isolation: isolate;
    padding: 54px 0 28px;
    overflow: clip;
}

.nx-aurora {
    position: absolute;
    inset: -10% -10% auto;
    height: 78%;
    z-index: -1;
    pointer-events: none;
}

.nx-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    animation: nx-drift 16s ease-in-out infinite;
}

.nx-aurora span:nth-child(1) {
    width: 42vw;
    height: 42vw;
    left: -8%;
    top: -12%;
    background: radial-gradient(circle, rgba(56, 168, 214, 0.22), transparent 68%);
}

.nx-aurora span:nth-child(2) {
    width: 36vw;
    height: 36vw;
    right: -6%;
    top: 8%;
    background: radial-gradient(circle, rgba(184, 140, 74, 0.16), transparent 70%);
    animation-delay: -6s;
}

.nx-aurora span:nth-child(3) {
    width: 28vw;
    height: 28vw;
    left: 32%;
    top: 28%;
    background: radial-gradient(circle, rgba(46, 120, 96, 0.16), transparent 70%);
    animation-delay: -11s;
}

@keyframes nx-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

.nx-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
    gap: 36px;
    align-items: center;
}

.nx-copy h1,
.nx-kicker,
.nx-lead,
.nx-cta {
    animation: nx-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nx-kicker { animation-delay: 0.05s; }
.nx-copy h1 { animation-delay: 0.12s; }
.nx-lead { animation-delay: 0.2s; }
.nx-cta { animation-delay: 0.28s; }

.nx-board {
    animation: nx-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes nx-rise {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to { opacity: 1; transform: none; }
}

.nx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0c6e8a;
}

.nx-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3dcca0;
    box-shadow: 0 0 0 0 rgba(61, 204, 160, 0.6);
    animation: nx-pulse 1.8s ease-out infinite;
}

@keyframes nx-pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 204, 160, 0.55); }
    100% { box-shadow: 0 0 0 10px rgba(61, 204, 160, 0); }
}

.nx-copy h1 {
    margin: 0;
    max-width: 11em;
    font-family: var(--mk-display);
    font-size: clamp(2.4rem, 4.6vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: #152033;
}

.nx-lead {
    margin: 18px 0 0;
    max-width: 36rem;
    color: #5c6b7c;
    font-size: 1.05rem;
    line-height: 1.7;
}

.nx-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.nx-btn-ghost {
    background: #fff;
    border-color: rgba(21, 32, 51, 0.16);
    color: #152033;
}

.nx-btn-ghost:hover {
    background: #fff;
    border-color: #152033;
    color: #152033;
}

.nx-board {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    box-shadow: 0 24px 60px rgba(21, 32, 51, 0.08);
}

.nx-board-bar,
.nx-board-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7a8c;
}

.nx-board-bar { border-bottom: 1px solid rgba(21, 32, 51, 0.08); }

.nx-live {
    font-style: normal;
    color: #0c6e8a;
}

.nx-board-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 4px;
}

.nx-board-filters span {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(21, 32, 51, 0.1);
    color: #6a7a8c;
    font-size: 0.78rem;
}

.nx-board-filters b {
    color: #152033;
    font-weight: 600;
}

.nx-rows { padding: 8px; }

.nx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.nx-row strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #152033;
}

.nx-row small {
    display: block;
    margin-top: 2px;
    color: #6a7a8c;
    font-size: 0.78rem;
}

.nx-row em {
    font-style: normal;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6a7a8c;
}

.nx-row.is-on {
    background: rgba(12, 110, 138, 0.08);
    border-color: rgba(12, 110, 138, 0.28);
    transform: translateX(4px);
}

.nx-row.is-on strong { color: #152033; }
.nx-row.is-on em { color: #0c6e8a; }

.nx-board-foot { border-top: 1px solid rgba(21, 32, 51, 0.08); }
.nx-board-foot b { color: #152033; font-weight: 600; }

.nx-meter {
    flex: 1;
    height: 2px;
    max-width: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.nx-meter i {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #3dcca0, #8fd0ea);
    animation: nx-meter 3.6s ease-in-out infinite;
}

@keyframes nx-meter {
    0%, 100% { width: 22%; transform: translateX(0); }
    50% { width: 78%; transform: translateX(20%); }
}

.nx-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    top: -80px;
    background: linear-gradient(180deg, transparent, rgba(12, 110, 138, 0.08), transparent);
    animation: nx-scan 5.5s linear infinite;
    pointer-events: none;
}

@keyframes nx-scan {
    from { transform: translateY(0); }
    to { transform: translateY(520px); }
}

.nx-proof {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    max-width: 34rem;
}

.nx-proof li {
    display: grid;
    gap: 4px;
    padding: 12px 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.nx-proof strong {
    font-family: var(--mk-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #152033;
}

.nx-proof span {
    color: #6a7a8c;
    font-size: 0.78rem;
    line-height: 1.35;
}

.nx-rail {
    padding: 8px 0 28px;
}

.nx-rail-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(21, 32, 51, 0.04);
}

.nx-rail-inner span {
    position: relative;
    padding-left: 14px;
    color: #3d4d61;
    font-size: 0.9rem;
    font-weight: 600;
}

.nx-rail-inner span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0c6e8a;
}

.nx-scenes,
.nx-why,
.nx-flow,
.nx-caps,
.nx-dual,
.nx-close { padding: 72px 0; }

.nx-scene-grid,
.nx-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.nx-scene-grid article,
.nx-why-grid article {
    padding: 24px 22px;
    border-radius: 16px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    box-shadow: 0 16px 36px rgba(21, 32, 51, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.nx-scene-grid article:hover,
.nx-why-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 110, 138, 0.28);
}

.nx-scene-grid span {
    display: block;
    margin-bottom: 16px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #0c6e8a;
}

.nx-scene-grid h3,
.nx-why-grid h3 {
    margin: 0;
    font-family: var(--mk-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #152033;
}

.nx-scene-grid > article > p,
.nx-why-grid p {
    margin: 10px 0 0;
    color: #5c6b7c;
    font-size: 0.94rem;
    line-height: 1.55;
}

.nx-scene-grid ul,
.nx-mini {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.nx-scene-grid li,
.nx-mini li {
    position: relative;
    padding-left: 1.05em;
    color: #3d4d61;
    font-size: 0.9rem;
    line-height: 1.45;
}

.nx-scene-grid li::before,
.nx-mini li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    background: #0c6e8a;
}

.nx-head h2,
.nx-dual h2,
.nx-close h2 {
    margin: 0;
    font-family: var(--mk-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #152033;
}

.nx-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 14em; }
.nx-head p {
    margin: 12px 0 0;
    max-width: 36rem;
    color: #5c6b7c;
}

.nx-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
}

.nx-steps li {
    padding: 16px 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.nx-steps li span {
    display: block;
    margin-bottom: 18px;
    font-family: var(--mk-mono);
    font-size: 0.75rem;
    color: #8a97a6;
}

.nx-steps h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #152033;
}

.nx-steps p {
    margin: 0;
    color: #5c6b7c;
    font-size: 0.86rem;
    line-height: 1.5;
}

.nx-steps li.is-on {
    border-color: rgba(12, 110, 138, 0.35);
    background: #fff;
    box-shadow: 0 12px 30px rgba(21, 32, 51, 0.06);
    transform: translateY(-4px);
}

.nx-steps li.is-on span { color: #0c6e8a; }

.nx-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.nx-cap-grid article {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.nx-cap-grid article::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(12, 110, 138, 0.08), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
    left: -40%;
}

.nx-cap-grid article:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 110, 138, 0.35);
}

.nx-cap-grid article:hover::after { left: 120%; }

.nx-cap-grid span {
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    color: #b88c4a;
}

.nx-cap-grid h3 {
    margin: 18px 0 8px;
    font-size: 1.15rem;
    color: #152033;
}

.nx-cap-grid p {
    margin: 0;
    color: #5c6b7c;
    font-size: 0.92rem;
    line-height: 1.55;
}

.nx-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nx-dual article {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(12, 110, 138, 0.1), transparent 55%),
        #fff;
}

.nx-dual article:last-child {
    background:
        radial-gradient(ellipse 80% 80% at 0% 100%, rgba(184, 140, 74, 0.12), transparent 50%),
        #fff;
}

.nx-dual h2 {
    margin-top: 12px;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    max-width: 10em;
}

.nx-dual p:last-child {
    margin: 12px 0 0;
    max-width: 34ch;
    color: #5c6b7c;
    line-height: 1.65;
}

.nx-close-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 0 8px;
    border-top: 1px solid rgba(21, 32, 51, 0.1);
}

.nx-close h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 10em; }
.nx-close p {
    margin: 12px 0 0;
    max-width: 32rem;
    color: #5c6b7c;
}

.nx-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .nx-aurora span,
    .nx-copy h1,
    .nx-kicker,
    .nx-lead,
    .nx-cta,
    .nx-board,
    .nx-kicker i,
    .nx-meter i,
    .nx-scan { animation: none !important; }
    .nx-reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .nx-hero-grid,
    .nx-steps,
    .nx-cap-grid,
    .nx-dual-grid,
    .nx-scene-grid,
    .nx-why-grid,
    .nx-proof,
    .nx-close-inner { grid-template-columns: 1fr; display: grid; }
    .nx-close-inner { align-items: start; }
    .nx-steps { grid-template-columns: 1fr; }
    .nx-cap-grid { grid-template-columns: 1fr; }
    .nx-rail-inner { justify-content: flex-start; }
}

/* —— How it works —— */
.hiw-steps {
    padding: 56px 0 24px;
}

.hiw-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.hiw-item {
    display: grid;
    grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
    gap: 22px 28px;
    padding: 22px 24px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.hiw-item-index {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hiw-item-index span {
    font-family: var(--mk-mono);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #0c6e8a;
}

.hiw-item-index em {
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5c6b7c;
    line-height: 1.35;
}

.hiw-item-body h3 {
    margin: 0 0 8px;
    font-family: var(--mk-display);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #152033;
}

.hiw-summary {
    margin: 0 0 10px;
    color: #3d4d61;
    font-size: 1rem;
    line-height: 1.5;
}

.hiw-detail {
    margin: 0 0 14px;
    color: #5c6b7c;
    font-size: 0.94rem;
    line-height: 1.55;
}

.hiw-item-body ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.hiw-item-body li {
    position: relative;
    padding-left: 1.1em;
    color: #3d4d61;
    font-size: 0.92rem;
    line-height: 1.45;
}

.hiw-item-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    background: #0c6e8a;
}

.hiw-out {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(21, 32, 51, 0.08);
    color: #3d4d61;
    font-size: 0.9rem;
    line-height: 1.45;
}

.hiw-out strong {
    color: #152033;
    font-weight: 600;
}

@media (max-width: 720px) {
    .hiw-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 16px;
    }

    .hiw-item-index {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
}

/* —— Features / Pricing inner pages —— */
.pg-hero {
    padding-bottom: 48px;
}

.pg-hero-inner {
    position: relative;
    max-width: 42rem;
    padding-top: 12px;
    padding-bottom: 8px;
}

.pg-hero-inner h1 {
    margin: 14px 0 0;
    font-family: var(--mk-display);
    font-size: clamp(2.2rem, 4.4vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #152033;
    animation: nx-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.pg-hero-inner .nx-lead {
    max-width: 36rem;
}

.pg-bullets {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pg-bullets li {
    position: relative;
    padding-left: 1.15em;
    color: #3d4d61;
    font-size: 0.95rem;
    line-height: 1.45;
}

.pg-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
    background: #0c6e8a;
}

.pg-plans {
    padding: 28px 0 56px;
}

.pg-cycle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 22px;
    padding: 4px;
    border: 1px solid rgba(21, 32, 51, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(21, 32, 51, 0.05);
}

.pg-cycle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #5c6b7c;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.pg-cycle-btn em {
    font-style: normal;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(12, 110, 138, 0.1);
    color: #0c6e8a;
}

.pg-cycle-btn.is-on {
    background: #0c6e8a;
    color: #fff;
}

.pg-cycle-btn.is-on em {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.pg-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pg-plan {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 24px 24px;
    border: 1px solid rgba(21, 32, 51, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(21, 32, 51, 0.05);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.35s ease;
}

.pg-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(12, 110, 138, 0.28);
    box-shadow: 0 24px 48px rgba(21, 32, 51, 0.08);
}

.pg-plan.is-featured {
    border-color: rgba(12, 110, 138, 0.42);
    background:
        linear-gradient(180deg, rgba(12, 110, 138, 0.08), rgba(255, 255, 255, 0.9) 38%),
        #fff;
    box-shadow: 0 26px 56px rgba(12, 110, 138, 0.12);
}

.pg-plan-top h2 {
    margin: 10px 0 0;
    font-family: var(--mk-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #152033;
}

.pg-plan-top p {
    margin: 8px 0 0;
    color: #5c6b7c;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pg-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(21, 32, 51, 0.06);
    color: #3d4d61;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pg-plan.is-featured .pg-plan-badge {
    background: rgba(12, 110, 138, 0.12);
    color: #0c6e8a;
}

.pg-plan-price {
    display: grid;
    gap: 4px;
}

.pg-plan-price strong {
    font-family: var(--mk-display);
    font-size: clamp(2rem, 3vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #152033;
    line-height: 1;
}

.pg-plan-price span {
    color: #5c6b7c;
    font-size: 0.88rem;
    line-height: 1.4;
}

.pg-plan-feats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    flex: 1;
}

.pg-plan-feats li {
    position: relative;
    padding-left: 1.35em;
    color: #3d4d61;
    font-size: 0.92rem;
    line-height: 1.4;
}

.pg-plan-feats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.55em;
    height: 0.55em;
    border-radius: 2px;
    background: #0c6e8a;
}

.pg-plan-feats li.is-off {
    color: #98a4b3;
}

.pg-plan-feats li.is-off::before {
    background: rgba(152, 164, 179, 0.55);
}

.pg-plan-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.pg-costs {
    padding: 56px 0 24px;
}

.pg-cost-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.pg-cost-grid article {
    padding: 20px 18px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.pg-cost-grid span {
    display: block;
    color: #5c6b7c;
    font-size: 0.86rem;
    line-height: 1.4;
}

.pg-cost-grid strong {
    display: block;
    margin-top: 10px;
    font-family: var(--mk-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #152033;
}

.pg-cost-note {
    margin: 18px 0 0;
    max-width: 40rem;
    color: #7a8796;
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .pg-plan-grid,
    .pg-cost-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 721px) and (max-width: 980px) {
    .pg-cost-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* —— Auth pages (login / register) —— */
body.is-auth {
    background: #f4f7fb;
    color: #152033;
}

body.is-auth .mk-nav {
    background: rgba(244, 247, 251, 0.82);
}

body.is-auth .mk-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(21, 32, 51, 0.08);
}

body.is-auth .mk-footer {
    background: #f4f7fb;
}

body.is-auth .btn-primary {
    background: #0c6e8a;
    border-color: #0c6e8a;
    color: #fff;
}

body.is-auth .btn-primary:hover {
    background: #095a71;
    border-color: #095a71;
    color: #fff;
}

body.is-home .btn-primary {
    background: #0c6e8a;
    border-color: #0c6e8a;
    color: #fff;
}

body.is-home .btn-primary:hover {
    background: #095a71;
    border-color: #095a71;
    color: #fff;
}

.ax-main {
    position: relative;
    isolation: isolate;
    padding: 40px 0 64px;
    min-height: calc(100vh - 180px);
    overflow: clip;
}

.ax-main .nx-aurora {
    height: 70%;
}

.ax-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ax-side,
.ax-card {
    animation: nx-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ax-card { animation-delay: 0.1s; }

.ax-side {
    padding: 28px 8px 8px 0;
}

.ax-side h1 {
    margin: 0;
    max-width: 12em;
    font-family: var(--mk-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #152033;
}

.ax-lead {
    margin: 14px 0 0;
    max-width: 34rem;
    color: #5c6b7c;
    font-size: 1.02rem;
    line-height: 1.65;
}

.ax-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.ax-list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid rgba(21, 32, 51, 0.08);
    font-size: 0.95rem;
    color: #152033;
}

.ax-list li span {
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #0c6e8a;
    min-width: 1.8rem;
}

.ax-note {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
}

.ax-note em {
    display: block;
    margin-bottom: 6px;
    font-style: normal;
    font-family: var(--mk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a7a8c;
}

.ax-note strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #152033;
}

.ax-card {
    border-radius: 16px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: #fff;
    box-shadow: 0 24px 60px rgba(21, 32, 51, 0.08);
    overflow: hidden;
}

.ax-card-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(21, 32, 51, 0.08);
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7a8c;
}

.ax-card-body {
    padding: 28px 24px 24px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.ax-card-body h2 {
    margin: 0;
    font-family: var(--mk-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #152033;
}

.ax-sub {
    margin: 8px 0 22px;
    color: #5c6b7c;
    font-size: 0.95rem;
}

.ax-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(196, 75, 75, 0.3);
    background: rgba(196, 75, 75, 0.06);
    color: #c44b4b;
    font-size: 0.88rem;
}

.ax-ok {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(12, 110, 138, 0.28);
    background: rgba(12, 110, 138, 0.06);
    color: #0c6e8a;
    font-size: 0.88rem;
}

.ax-link-btn {
    border: 0;
    background: none;
    padding: 0;
    color: #0c6e8a;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.ax-link-btn:hover { text-decoration: underline; }

.ax-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 18px;
    padding: 0;
}

.ax-steps li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8a97a8;
}

.ax-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(21, 32, 51, 0.06);
    font-family: var(--mk-mono);
    font-size: 0.7rem;
}

.ax-steps li.is-on { color: #0c6e8a; }
.ax-steps li.is-on span {
    background: rgba(12, 110, 138, 0.12);
    color: #0c6e8a;
}

.ax-steps li.is-done { color: #3d4d61; }
.ax-steps li.is-done span {
    background: rgba(12, 110, 138, 0.1);
    color: #0c6e8a;
}

.ax-hint {
    margin: -8px 0 14px;
    color: #8a97a8;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ax-tips {
    list-style: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: rgba(12, 110, 138, 0.04);
    display: grid;
    gap: 6px;
}

.ax-tips li {
    position: relative;
    padding-left: 0.95em;
    color: #5c6b7c;
    font-size: 0.84rem;
    line-height: 1.45;
}

.ax-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.35em;
    height: 0.35em;
    border-radius: 50%;
    background: #0c6e8a;
}

.ax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.ax-forgot {
    color: #0c6e8a;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ax-forgot:hover { text-decoration: underline; }

.ax-form button:disabled,
.ax-form .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ax-form > label,
.ax-form label:not(.ax-check) {
    display: block;
    margin: 0 0 6px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7a8c;
}

.ax-form input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    margin: 0 0 14px;
    padding: 0 12px;
    border: 1px solid rgba(21, 32, 51, 0.14);
    border-radius: 8px;
    background: #fff;
    color: #152033;
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ax-form input:not([type="checkbox"]):not([type="radio"]):focus {
    outline: none;
    border-color: rgba(12, 110, 138, 0.5);
    box-shadow: 0 0 0 3px rgba(12, 110, 138, 0.1);
}

.ax-form .ax-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #5c6b7c;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.ax-form .ax-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    accent-color: #0c6e8a;
    flex-shrink: 0;
}

.ax-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
}

.ax-switch {
    margin: 18px 0 0;
    color: #5c6b7c;
    font-size: 0.9rem;
}

.ax-switch a {
    color: #0c6e8a;
    font-weight: 600;
    text-decoration: none;
}

.ax-switch a:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .ax-grid { grid-template-columns: 1fr; }
    .ax-side { order: 2; padding: 8px 0 0; }
    .ax-card { order: 1; }
}

/* ���� Free email verifier ���� */
.fv-tool { padding: 8px 0 48px; }
.fv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 22px;
    align-items: start;
}
.fv-card {
    border: 1px solid rgba(21, 32, 51, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}
.fv-card-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(21, 32, 51, 0.06);
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6a7a8c;
}
.fv-card-bar em { font-style: normal; color: #0c6e8a; font-weight: 600; }
.fv-card-body { padding: 18px 18px 20px; }
.fv-card-body label {
    display: block;
    margin: 0 0 8px;
    font-family: var(--mk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7a8c;
}
.fv-card-body textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 160px;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px solid rgba(21, 32, 51, 0.14);
    border-radius: 10px;
    background: #fff;
    color: #152033;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    resize: vertical;
}
.fv-card-body textarea:focus {
    outline: none;
    border-color: rgba(12, 110, 138, 0.5);
    box-shadow: 0 0 0 3px rgba(12, 110, 138, 0.1);
}
.fv-hint { margin: 0 0 14px; color: #8a97a8; font-size: 0.82rem; }
.fv-submit { width: 100%; min-height: 46px; }
.fv-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.fv-side {
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid rgba(12, 110, 138, 0.14);
    background: linear-gradient(160deg, rgba(12, 110, 138, 0.06), rgba(255, 255, 255, 0.9));
}
.fv-side h2 {
    margin: 0 0 8px;
    font-family: var(--mk-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #152033;
}
.fv-side > p { margin: 0 0 14px; color: #5c6b7c; font-size: 0.92rem; line-height: 1.5; }
.fv-side ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.fv-side li {
    position: relative;
    padding-left: 1em;
    color: #3d4d61;
    font-size: 0.9rem;
}
.fv-side li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.35em;
    height: 0.35em;
    border-radius: 50%;
    background: #0c6e8a;
}
.fv-side .btn { width: 100%; margin-bottom: 10px; }
.fv-side-link {
    display: inline-block;
    color: #0c6e8a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.fv-side-link:hover { text-decoration: underline; }
.fv-results { padding: 24px 0 40px; }
.fv-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0 0 18px;
}
.fv-overview span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(12, 110, 138, 0.06);
    color: #5c6b7c;
    font-size: 0.84rem;
}
.fv-overview strong { color: #152033; font-size: 1rem; }
.fv-table-wrap { overflow-x: auto; border: 1px solid rgba(21, 32, 51, 0.08); border-radius: 12px; background: #fff; }
.fv-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fv-table th, .fv-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(21, 32, 51, 0.06); vertical-align: top; }
.fv-table th { font-family: var(--mk-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6a7a8c; background: #f8fafc; }
.fv-table tr:last-child td { border-bottom: 0; }
.fv-table code { font-family: var(--mk-mono); font-size: 0.84rem; color: #152033; }
.fv-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.fv-badge.is-safe { background: rgba(15, 118, 110, 0.12); color: #0f766e; }
.fv-badge.is-caution, .fv-badge.is-unclear { background: rgba(180, 120, 20, 0.12); color: #a16207; }
.fv-badge.is-personal { background: rgba(12, 110, 138, 0.12); color: #0c6e8a; }
.fv-badge.is-drop { background: rgba(185, 28, 28, 0.1); color: #b91c1c; }
.fv-syntax { margin: 12px 0 0; color: #8a97a8; font-size: 0.84rem; }
.fv-upsell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(12, 110, 138, 0.16);
    background: rgba(12, 110, 138, 0.05);
}
.fv-upsell h3 { margin: 0 0 6px; font-size: 1.05rem; color: #152033; }
.fv-upsell p { margin: 0; color: #5c6b7c; font-size: 0.9rem; }
@media (max-width: 860px) {
    .fv-layout { grid-template-columns: 1fr; }
}
