/* ============================================================================
   marketing.css — AEO landing pages, comparison pages, and trust pages.
   Builds on the hp- design tokens from home.css (dark theme, Archivo display).
   All colours/fonts come from the existing --hp-* custom properties; no
   hard-coded values, no inline styles.
   ============================================================================ */

/* --- Nav dropdown (desktop landing nav "Product" menu) --- */
.mk-nav-dd { position: relative; display: inline-flex; align-items: center; }
.mk-nav-dd-trigger {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.86rem; font-weight: 500; color: #b8b6ad;
    letter-spacing: 0.01em; cursor: default; transition: color 0.18s;
}
.mk-nav-dd:hover .mk-nav-dd-trigger,
.mk-nav-dd:focus-within .mk-nav-dd-trigger { color: #fff; }
.mk-nav-dd-caret { font-size: 0.6rem; transition: transform 0.18s; }
.mk-nav-dd:hover .mk-nav-dd-caret,
.mk-nav-dd:focus-within .mk-nav-dd-caret { transform: rotate(180deg); }
/* transparent hover bridge so the menu doesn't close in the gap */
.mk-nav-dd::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 14px; }
.mk-nav-dd-menu {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 248px; padding: 8px;
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid var(--hp-line); border-radius: 12px;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 200;
}
.mk-nav-dd:hover .mk-nav-dd-menu,
.mk-nav-dd:focus-within .mk-nav-dd-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mk-nav-dd-menu a {
    display: block; padding: 9px 12px; border-radius: 8px;
    color: var(--hp-ink-soft); font-size: 0.86rem; font-weight: 500;
    text-decoration: none; transition: background 0.14s, color 0.14s;
}
.mk-nav-dd-menu a:hover { background: rgba(243, 241, 234, 0.06); color: #fff; }
.mk-nav-dd-menu a span {
    display: block; font-size: 0.72rem; font-weight: 400;
    color: var(--hp-muted); margin-top: 2px;
}

/* --- Sub-page hero (lighter than the homepage hero) --- */
.mk-subhero {
    padding: 148px 0 56px;
    border-bottom: 1px solid var(--hp-line);
    position: relative;
}
.mk-subhero .hp-container { position: relative; }
.mk-eyebrow {
    font-family: var(--hp-display);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hp-warm);
    margin-bottom: 18px;
}
.mk-h1 {
    font-family: var(--hp-display);
    font-weight: 800;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    max-width: 16ch;
}
.mk-lede {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.55;
    color: var(--hp-ink-soft);
    max-width: 60ch;
    margin: 0 0 28px;
}
.mk-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --- Feature card grid --- */
.mk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 8px;
}
.mk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mk-card {
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    padding: 26px 24px;
    background: rgba(243, 241, 234, 0.02);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.mk-card:hover { border-color: var(--hp-warm); transform: translateY(-2px); }
.mk-card-icn {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 11px;
    border: 1px solid var(--hp-line);
    color: var(--hp-warm);
    margin-bottom: 16px;
}
.mk-card-icn .rz-icon,
.mk-card-icn i { font-size: 22px; }
.mk-card h3 {
    font-family: var(--hp-display);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 8px;
}
.mk-card p { color: var(--hp-muted); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* --- Comparison table --- */
.mk-cmp-wrap { overflow-x: auto; margin-top: 8px; }
.mk-cmp {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 15px;
}
.mk-cmp th, .mk-cmp td {
    text-align: left;
    padding: 15px 18px;
    border-bottom: 1px solid var(--hp-line);
    vertical-align: top;
}
.mk-cmp thead th {
    font-family: var(--hp-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
}
.mk-cmp thead th.mk-cmp-us { color: var(--hp-warm); }
.mk-cmp td:first-child { color: var(--hp-ink-soft); font-weight: 500; width: 34%; }
.mk-cmp .mk-yes { color: var(--hp-ink); }
.mk-cmp .mk-no { color: var(--hp-muted); }
.mk-cmp tbody tr:hover { background: rgba(243, 241, 234, 0.02); }

/* --- Responsive embedded video --- */
.mk-video {
    position: relative;
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    background: #000;
    margin: 8px 0 0;
}
.mk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Key-facts / answer block (AEO: a crisp, quotable summary) --- */
.mk-answer {
    border: 1px solid var(--hp-line);
    border-left: 3px solid var(--hp-warm);
    border-radius: 12px;
    padding: 22px 24px;
    background: rgba(243, 241, 234, 0.02);
    margin: 8px 0 0;
}
.mk-answer .mk-answer-lbl {
    font-family: var(--hp-display);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-warm);
    margin-bottom: 8px;
}
.mk-answer p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--hp-ink-soft); }

/* --- Timeline (changelog / roadmap) --- */
.mk-timeline { border-left: 1px solid var(--hp-line); margin: 8px 0 0; padding-left: 26px; }
.mk-tl-item { position: relative; padding-bottom: 30px; }
.mk-tl-item::before {
    content: "";
    position: absolute;
    left: -32px; top: 4px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--hp-warm);
    box-shadow: 0 0 0 4px var(--hp-bg);
}
.mk-tl-date {
    font-family: var(--hp-display);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-warm);
    margin-bottom: 6px;
}
.mk-tl-item h3 { font-family: var(--hp-display); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.mk-tl-item p { color: var(--hp-muted); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* --- Status rows --- */
.mk-status-list { margin-top: 8px; border: 1px solid var(--hp-line); border-radius: 14px; overflow: hidden; }
.mk-status-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--hp-line);
}
.mk-status-row:last-child { border-bottom: none; }
.mk-status-name { font-weight: 500; color: var(--hp-ink-soft); }
.mk-status-ok { display: inline-flex; align-items: center; gap: 9px; color: var(--hp-ink-soft); font-size: 14px; }
.mk-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.16); }

/* --- Roadmap columns --- */
.mk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.mk-col { border: 1px solid var(--hp-line); border-radius: 16px; padding: 22px; }
.mk-col-h { font-family: var(--hp-display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hp-warm); margin: 0 0 14px; }
.mk-col ul { list-style: none; margin: 0; padding: 0; }
.mk-col li { padding: 10px 0; border-bottom: 1px solid var(--hp-line-soft); color: var(--hp-ink-soft); font-size: 14.5px; line-height: 1.45; }
.mk-col li:last-child { border-bottom: none; }

/* --- Rich footer (columns) --- */
.hp-footer .mk-foot-cols {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 28px;
    padding: 8px 0 40px;
}
.mk-foot-brand .mk-foot-word { font-family: var(--hp-display); font-weight: 800; font-size: 30px; letter-spacing: -0.01em; }
.mk-foot-brand p { color: var(--hp-muted); font-size: 13.5px; line-height: 1.55; max-width: 30ch; margin: 12px 0 0; }
.mk-foot-col h4 {
    font-family: var(--hp-display);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--hp-warm); margin: 0 0 14px;
}
.mk-foot-col a { display: block; color: var(--hp-ink-soft); font-size: 14px; text-decoration: none; padding: 5px 0; }
.mk-foot-col a:hover { color: var(--hp-ink); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .mk-grid, .mk-cols { grid-template-columns: 1fr; }
    .mk-grid--2 { grid-template-columns: 1fr; }
    .hp-footer .mk-foot-cols { grid-template-columns: 1fr 1fr; }
    .mk-subhero { padding-top: 120px; }
}
@media (max-width: 560px) {
    .hp-footer .mk-foot-cols { grid-template-columns: 1fr; }
}
