/* Klaro marketing site — shared components (landing, how it works, pricing).
   Only the new shared sections live here; each page keeps its own inline CSS. */

:root {
    /* Klaro Brand Book v1.1 */
    --mk-ink: #0f1b33;
    --mk-body: #5a6478;
    --mk-muted: #6b7486;
    --mk-line: #e1e6ee;
    --mk-blue: #0068c0;        /* deep blue: top block of the mark */
    --mk-blue-deep: #0068c0;
    --mk-azure: #0090d0;
    --mk-teal: #2cb4c6;
    --mk-mint: #5ec89c;        /* sea green: left block of the mark */
    --mk-mint-deep: #157a8a;   /* text-safe teal for labels */
    --mk-lime: #9fdc7a;
    --mk-navy: #1f3c88;        /* Calm Navy == the ERP's --primary */
    --mk-navy-dk: #162b66;
    --mk-navy-sub: #c7ccf0;
    --mk-wash: #f4f6f9;
    --mk-gradient: linear-gradient(90deg, #0068c0 0%, #0090d0 35%, #2cb4c6 65%, #9fdc7a 100%);
    --mk-radius-lg: 22px;
    --mk-radius-md: 14px;
    --mk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.mk-section { padding: 6rem 0; position: relative; }
.mk-head { max-width: 46rem; margin-bottom: 3rem; }
.mk-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mk-title {
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--mk-ink);
    margin: 0 0 1rem;
    text-wrap: balance;
}
.mk-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mk-body);
    margin: 0;
    max-width: 38rem;
}
.mk-head--center .mk-lead { margin-left: auto; margin-right: auto; }

/* Visible marker for content the owner still has to fill in */
.mk-todo {
    display: inline-block;
    background: #fff7d6;
    color: #7a5a00;
    border: 1px dashed #e8c766;
    border-radius: 6px;
    padding: 0.05rem 0.45rem;
    font-size: 0.85em;
    font-weight: 600;
}

/* ═══════════ 60-DAY RULER (process) ═══════════ */
.mk-ruler { --fill: 0; }
.mk-ruler-track {
    padding-top: 0.5rem;
    display: grid;
    grid-template-columns: minmax(7rem, 0.55fr) 2fr 2fr 8rem;
    align-items: end;
    gap: 0;
    margin-bottom: 1.5rem;
}
.mk-ruler-seg { position: relative; padding-bottom: 1.1rem; }
.mk-ruler-seg-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mk-muted);
    padding: 0 0.75rem 0.55rem 0;
    white-space: nowrap;
}
.mk-ruler-seg-label strong { color: var(--mk-ink); font-weight: 700; }
.mk-ruler-bar {
    height: 10px;
    background: var(--mk-line);
    position: relative;
    overflow: hidden;
}
.mk-ruler-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: scaleX(var(--seg-fill, 0));
    transform-origin: left;
    transition: transform 1.1s var(--mk-ease);
}
.mk-ruler-seg--pre .mk-ruler-bar {
    background: repeating-linear-gradient(90deg, rgba(10,10,10,0.18) 0 6px, transparent 6px 11px);
    height: 2px;
    margin-top: 4px;
    margin-bottom: 4px;
}
.mk-ruler-seg--pre .mk-ruler-bar::after { display: none; }
.mk-ruler-seg--m1 .mk-ruler-bar { border-radius: 999px 0 0 999px; }
.mk-ruler-seg--m1 .mk-ruler-bar::after { background: var(--mk-blue); }
.mk-ruler-seg--m2 .mk-ruler-bar { border-radius: 0 999px 999px 0; margin-left: 3px; }
.mk-ruler-seg--m2 .mk-ruler-bar::after { background: var(--mk-mint); transition-delay: 0.9s; }
.mk-ruler.is-in .mk-ruler-seg--m1 { --seg-fill: 1; }
.mk-ruler.is-in .mk-ruler-seg--m2 { --seg-fill: 1; }

/* Day ticks under the bar */
.mk-ruler-ticks {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mk-muted);
    font-variant-numeric: tabular-nums;
}
.mk-ruler-seg--m2 .mk-ruler-ticks { left: 3px; justify-content: flex-end; }

.mk-ruler-live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Content box = the 10px bar, so the dot and label center on the bar's end */
    box-sizing: border-box;
    height: calc(10px + 1.1rem);
    padding: 0 0 1.1rem 0.85rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--mk-ink);
    white-space: nowrap;
    opacity: 0.25;
    transition: opacity 0.4s ease 1.8s;
}
.mk-ruler.is-in .mk-ruler-live { opacity: 1; }
.mk-live-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    flex-shrink: 0;
}

.mk-phases {
    display: grid;
    grid-template-columns: minmax(7rem, 0.55fr) 2fr 2fr 8rem;
}
.mk-phase-pre {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--mk-body);
    padding-right: 1.25rem;
}
.mk-phase { padding: 0 1.75rem 0 0; }
.mk-phase + .mk-phase { padding-left: 0.2rem; }
.mk-phase-month {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.mk-phase--m1 .mk-phase-month { color: var(--mk-blue-deep); }
.mk-phase--m2 .mk-phase-month { color: var(--mk-mint-deep); }
.mk-phase-title {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mk-ink);
    margin: 0 0 0.6rem;
}
.mk-phase-desc {
    font-size: 0.98rem;
    color: var(--mk-body);
    line-height: 1.65;
    margin: 0 0 1rem;
    max-width: 30rem;
}
.mk-phase-list { list-style: none; padding: 0; margin: 0; }
.mk-phase-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.4rem;
    border-top: 1px solid var(--mk-line);
    font-size: 0.92rem;
    color: var(--mk-ink);
    line-height: 1.5;
}
.mk-phase-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1.05rem;
    width: 7px; height: 7px;
    border-radius: 2px;
}
.mk-phase--m1 .mk-phase-list li::before { background: var(--mk-blue); }
.mk-phase--m2 .mk-phase-list li::before { background: var(--mk-mint); }
.mk-ruler-note {
    margin: 2rem 0 0;
    font-size: 0.88rem;
    color: var(--mk-muted);
}

@media (max-width: 860px) {
    .mk-ruler-track { display: none; }
    .mk-phases { grid-template-columns: 1fr; gap: 0; border-left: 3px solid var(--mk-line); margin-left: 6px; }
    .mk-phase-pre,
    .mk-phase { position: relative; padding: 0 0 2rem 1.5rem; }
    .mk-phase-pre::before,
    .mk-phase::before {
        content: "";
        position: absolute;
        left: -9px; top: 0.25rem;
        width: 15px; height: 15px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid rgba(10,10,10,0.2);
    }
    .mk-phase--m1::before { border-color: var(--mk-blue); }
    .mk-phase--m2::before { border-color: var(--mk-mint); }
    .mk-phase + .mk-phase { padding-left: 1.5rem; }
    .mk-phase-live { position: relative; padding: 0 0 0 1.5rem; display: flex !important; }
    .mk-phase-live::before {
        content: "";
        position: absolute;
        left: -9px; top: 0.2rem;
        width: 15px; height: 15px;
        border-radius: 50%;
        background: #22c55e;
    }
}
.mk-phase-live { display: none; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--mk-ink); }

/* Mini ruler used in the landing hero */
.mk-mini-ruler {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mk-body);
}
.mk-mini-ruler-bar { display: inline-flex; gap: 2px; }
.mk-mini-ruler-bar span { display: block; width: 44px; height: 6px; }
.mk-mini-ruler-bar span:first-child { background: var(--mk-blue); border-radius: 999px 0 0 999px; }
.mk-mini-ruler-bar span:last-child { background: var(--mk-mint); border-radius: 0 999px 999px 0; }
.mk-mini-ruler strong { color: var(--mk-ink); font-weight: 700; }

/* ═══════════ INDUSTRIES STRIP ═══════════ */
.mk-industries { padding: 5rem 0 4.5rem; border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); background: rgba(255,255,255,0.7); }
.mk-industries-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) 2.2fr;
    gap: 3rem;
    align-items: start;
}
.mk-industry-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.25;
    color: var(--mk-ink);
}
.mk-industry-list li { display: inline-flex; align-items: baseline; }
.mk-industry-list li:not(:last-child)::after {
    content: "/";
    font-weight: 300;
    color: rgba(10,10,10,0.18);
    margin: 0 0.55em;
}
.mk-industry-list li.mk-industry-more { color: var(--mk-muted); font-weight: 600; }
.mk-clients {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--mk-line);
}
.mk-clients-label { font-size: 0.85rem; color: var(--mk-muted); font-weight: 600; }
.mk-client-logo { height: 40px; width: auto; object-fit: contain; }
.mk-client-slot {
    height: 40px;
    min-width: 120px;
    border: 1px dashed rgba(10,10,10,0.18);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--mk-muted);
    padding: 0 0.75rem;
}
@media (max-width: 860px) {
    .mk-industries { padding: 3.5rem 0; }
    .mk-industries-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ═══════════ CASE STUDIES ═══════════ */
.mk-cases-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.mk-cases-tab {
    border: 1px solid var(--mk-line);
    background: #fff;
    color: var(--mk-body);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    min-height: 44px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mk-cases-tab:hover { color: var(--mk-ink); border-color: rgba(10,10,10,0.2); }
.mk-cases-tab[aria-selected="true"] { background: var(--mk-ink); color: #fff; border-color: var(--mk-ink); }
.mk-case {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
}
.mk-case[hidden] { display: none; }
.mk-case-voice {
    padding: 2.75rem 2.5rem;
    background: var(--mk-wash);
    border-right: 1px solid var(--mk-line);
    display: flex;
    flex-direction: column;
}
.mk-case-stat {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: var(--mk-blue-deep);
    margin: 0;
}
.mk-case-stat-label { font-size: 0.95rem; color: var(--mk-body); margin: 0.6rem 0 1.75rem; }
.mk-case-quote {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--mk-ink);
    margin: 0 0 auto;
    padding-bottom: 2rem;
}
.mk-case-person { display: flex; align-items: center; gap: 0.9rem; }
.mk-case-logo { height: 40px; width: auto; max-width: 110px; object-fit: contain; }
.mk-case-name { font-weight: 700; color: var(--mk-ink); font-size: 0.95rem; }
.mk-case-role { font-size: 0.85rem; color: var(--mk-body); }
.mk-case-facts { padding: 2.25rem 2.5rem; margin: 0; }
.mk-case-facts > div { padding: 1rem 0; border-top: 1px solid var(--mk-line); }
.mk-case-facts > div:first-child { border-top: 0; padding-top: 0; }
.mk-case-facts dt { font-size: 0.82rem; font-weight: 600; color: var(--mk-muted); margin-bottom: 0.25rem; }
.mk-case-facts dd { margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--mk-ink); }
@media (max-width: 860px) {
    .mk-case { grid-template-columns: 1fr; }
    .mk-case-voice { border-right: 0; border-bottom: 1px solid var(--mk-line); padding: 2rem 1.5rem; }
    .mk-case-facts { padding: 1.5rem; }
}

/* ═══════════ WHY CUSTOM (landing) ═══════════ */
.mk-why-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
}
.mk-why-table th,
.mk-why-table td {
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--mk-line);
    vertical-align: top;
    text-align: left;
    line-height: 1.55;
}
.mk-why-table thead th { font-weight: 700; color: var(--mk-ink); border-bottom: 2px solid var(--mk-line); }
.mk-why-table thead th span { display: block; font-size: 0.875rem; font-weight: 400; color: var(--mk-body); margin-top: 0.3rem; }
.mk-why-table tbody th { font-weight: 600; color: var(--mk-ink); width: 20%; }
.mk-why-table td { color: var(--mk-body); }
.mk-why-table .mk-why-us {
    background: rgba(42, 167, 232, 0.06);
    color: var(--mk-ink);
    font-weight: 500;
    border-left: 1px solid rgba(42, 167, 232, 0.25);
    border-right: 1px solid rgba(42, 167, 232, 0.25);
}
.mk-why-table thead .mk-why-us { border-top: 1px solid rgba(42, 167, 232, 0.25); border-radius: var(--mk-radius-md) var(--mk-radius-md) 0 0; color: var(--mk-blue-deep); }
.mk-why-table tbody tr:last-child .mk-why-us { border-bottom: 1px solid rgba(42, 167, 232, 0.25); border-radius: 0 0 var(--mk-radius-md) var(--mk-radius-md); }
.mk-why-table tbody tr:last-child th,
.mk-why-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) {
    .mk-why-table thead { display: none; }
    .mk-why-table, .mk-why-table tbody, .mk-why-table tr, .mk-why-table th, .mk-why-table td { display: block; width: 100%; }
    .mk-why-table tr { padding: 1rem 0; border-bottom: 1px solid var(--mk-line); }
    .mk-why-table tbody th { padding: 0 0 0.5rem; border: 0; width: 100%; }
    .mk-why-table td { padding: 0.35rem 0; border: 0; }
    .mk-why-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--mk-muted); }
    .mk-why-table .mk-why-us { border: 0 !important; border-radius: 8px !important; padding: 0.5rem 0.75rem; margin-top: 0.35rem; }
}

/* ═══════════ CLOSING CTA ═══════════ */
.mk-cta {
    position: relative;
    overflow: hidden;
    background: var(--mk-navy);
    color: #fff;
    border-radius: 28px;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: end;
}
.mk-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.9), transparent 70%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9), transparent 70%);
    pointer-events: none;
}
.mk-cta > * { position: relative; }
.mk-cta-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0 0 1.1rem;
    text-wrap: balance;
}
.mk-cta-lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.72); margin: 0; max-width: 34rem; }
.mk-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.mk-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--mk-navy);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    min-height: 48px;
    transition: transform 0.2s var(--mk-ease), box-shadow 0.2s ease;
}
.mk-btn-light:hover { color: var(--mk-navy); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.mk-cta-note { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin: 0; }
.mk-cta-note a { color: #fff; }
@media (max-width: 860px) {
    .mk-cta { grid-template-columns: 1fr; align-items: start; }
}

/* ═══════════ FOOTER ═══════════ */
.mk-footer { border-top: 1px solid var(--mk-line); background: #fafafa; padding: 3.5rem 0 2rem; }
.mk-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.mk-footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.mk-footer-brand img { height: 38px; width: auto; }
.mk-footer-name { font-weight: 700; font-size: 0.95rem; color: var(--mk-ink); }
.mk-footer-tag { font-size: 0.82rem; color: var(--mk-body); }
.mk-footer-blurb { font-size: 0.88rem; color: var(--mk-body); line-height: 1.6; margin: 1rem 0 0; max-width: 24rem; }
.mk-footer-email { display: inline-block; margin-top: 0.75rem; font-size: 0.9rem; color: var(--mk-ink); text-decoration: none; }
.mk-footer-email:hover { text-decoration: underline; }
.mk-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.mk-footer-links a { font-size: 0.9rem; color: var(--mk-body); text-decoration: none; }
.mk-footer-links a:hover { color: var(--mk-ink); }
.mk-footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--mk-line); font-size: 0.8rem; color: var(--mk-muted); }
@media (max-width: 767px) {
    .mk-footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════ PRICING SHEET ═══════════ */
.mk-sheet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius-lg);
    box-shadow: 0 30px 80px rgba(13, 35, 64, 0.08), 0 2px 6px rgba(13, 35, 64, 0.04);
    overflow: hidden;
}
.mk-sheet-col { padding: clamp(1.75rem, 4vw, 3rem); }
.mk-sheet-col + .mk-sheet-col { border-left: 1px solid var(--mk-line); }
.mk-sheet-kind { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.mk-sheet-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--mk-ink); margin: 0; }
.mk-sheet-freq { font-size: 0.85rem; color: var(--mk-muted); font-weight: 600; }
.mk-sheet-from { font-size: 0.9rem; color: var(--mk-body); font-weight: 600; margin-bottom: 0.15rem; }
.mk-sheet-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--mk-ink);
    font-variant-numeric: tabular-nums;
}
.mk-sheet-price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--mk-body); }
.mk-sheet-sub { font-size: 0.98rem; color: var(--mk-body); margin: 0.65rem 0 0; }
.mk-sheet-sub strong { color: var(--mk-ink); }
.mk-sheet-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.mk-sheet-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-top: 1px solid var(--mk-line);
    font-size: 0.95rem;
    color: var(--mk-ink);
}
.mk-sheet-list i { color: var(--mk-blue-deep); margin-top: 0.1rem; }
.mk-sheet-fine { font-size: 0.88rem; color: var(--mk-body); line-height: 1.6; margin: 1.25rem 0 0; }

.mk-users {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    background: var(--mk-wash);
    border-radius: var(--mk-radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.mk-users-label { font-size: 0.9rem; font-weight: 600; color: var(--mk-ink); }
.mk-users-step { display: inline-flex; align-items: center; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff; }
.mk-users-step button {
    width: 44px; height: 44px;
    border: 0;
    background: transparent;
    font-size: 1.1rem;
    color: var(--mk-ink);
    cursor: pointer;
}
.mk-users-step button:disabled { color: rgba(10,10,10,0.25); cursor: default; }
.mk-users-step output { min-width: 2.5rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.mk-users-total { width: 100%; font-size: 0.9rem; color: var(--mk-body); }
.mk-users-total strong { color: var(--mk-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
    .mk-sheet { grid-template-columns: 1fr; }
    .mk-sheet-col + .mk-sheet-col { border-left: 0; border-top: 1px solid var(--mk-line); }
}

/* ═══════════ BOOKING MODAL (marketing/_booking_modal.html) ═══════════ */
.bk { border: 0; border-radius: var(--mk-radius-lg); padding: 1.75rem 1.75rem 1.5rem; color: var(--mk-ink); }
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.bk-title { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.bk-sub { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--mk-body); }
.bk-sub i { color: var(--mk-blue); margin-right: 0.25rem; }
.bk-steps { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 1.25rem 0 1rem; font-size: 0.85rem; font-weight: 600; color: var(--mk-muted); }
.bk-steps li { display: flex; align-items: center; gap: 0.45rem; }
.bk-steps span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; background: var(--mk-wash); border: 1px solid var(--mk-line); }
.bk-steps li.on { color: var(--mk-ink); }
.bk-steps li.on span { background: var(--mk-navy); border-color: var(--mk-navy); color: #fff; }
.bk-label { font-size: 0.8rem; font-weight: 600; color: var(--mk-muted); margin: 0.9rem 0 0.5rem; }
.bk-days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 2px 2px 0.5rem; scroll-snap-type: x proximity; }
.bk-day { flex: none; width: 64px; padding: 0.55rem 0; border-radius: 12px; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); display: grid; justify-items: center; gap: 1px; font: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background .15s; }
.bk-day small { font-size: 0.7rem; color: var(--mk-muted); font-weight: 500; }
.bk-day b { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.bk-day:hover:not(:disabled) { border-color: var(--mk-navy); }
.bk-day[aria-pressed="true"] { background: var(--mk-navy); border-color: var(--mk-navy); color: #fff; }
.bk-day[aria-pressed="true"] small { color: var(--mk-navy-sub); }
.bk-day:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.bk-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.bk-time { min-height: 44px; border-radius: 10px; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-time:hover { border-color: var(--mk-navy); }
.bk-time[aria-pressed="true"] { background: var(--mk-navy); border-color: var(--mk-navy); color: #fff; }
.bk-msg { margin: 0.75rem 0 0; font-size: 0.88rem; color: var(--mk-body); }
.bk-msg-bad { color: #991b1b; }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--mk-line); }
.bk-picked { font-size: 0.9rem; color: var(--mk-body); }
.bk-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--mk-navy); color: #fff; font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background .2s; }
.bk-btn:hover { background: var(--mk-navy-dk); }
.bk-btn:disabled { background: #c3cad6; cursor: not-allowed; }
.bk-chosen { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; border-radius: 12px; background: var(--mk-wash); font-weight: 600; margin-bottom: 1rem; }
.bk-chosen i { color: var(--mk-navy); }
.bk-link { margin-left: auto; border: 0; background: none; color: var(--mk-navy); font: inherit; font-size: 0.88rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; }
.bk-field { display: grid; gap: 0.3rem; margin: 0; }
.bk-field > span { font-size: 0.85rem; font-weight: 600; }
.bk-field small { font-weight: 500; color: var(--mk-muted); margin-left: 0.25rem; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; min-height: 44px; padding: 0.55rem 0.8rem; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff; font: inherit; font-size: 0.95rem; color: var(--mk-ink); }
.bk-field textarea { resize: vertical; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--mk-navy); box-shadow: 0 0 0 3px rgba(31, 60, 136, 0.15); }
.bk-field em { font-style: normal; font-size: 0.8rem; color: #991b1b; }
.bk-field em:empty { display: none; }
.bk-wide { grid-column: 1 / -1; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-done { text-align: center; padding: 1.5rem 0 0.5rem; display: grid; justify-items: center; gap: 0.5rem; }
.bk-done h3 { margin: 0.5rem 0 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.bk-done p { margin: 0; color: var(--mk-body); max-width: 26rem; }
.bk-done .bk-when { font-size: 1.1rem; font-weight: 600; color: var(--mk-ink); }
.bk-done .bk-btn { margin-top: 1rem; }
@media (max-width: 575px) {
    .bk { border-radius: 0; padding: 1.25rem 1rem; }
    #bookingModal .modal-dialog, #bookingModal .bk { height: auto; min-height: 100%; }  /* grow past the screen when the form is taller */
    .bk-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bk-grid { grid-template-columns: 1fr; }
    .bk-foot .bk-btn { width: 100%; justify-content: center; }
}

@media (max-width: 767px) {
    .mk-section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-ruler-bar::after { transition: none; transform: scaleX(1); }
    .mk-ruler-live { opacity: 1; transition: none; }
}


/* ═══════════ BRAND REFRESH (Klaro Brand Book v1.1) ═══════════ */
.mk-btn-navy {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--mk-navy); color: #fff; font-weight: 600; font-size: 0.95rem;
    padding: 0 1.4rem; min-height: 48px; border-radius: 999px; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s var(--mk-ease);
}
.mk-btn-navy:hover { background: var(--mk-navy-dk); color: #fff; transform: translateY(-1px); }
.mk-btn-light { border-radius: 999px; }

/* Logo lockup: mark + lowercase name (brand book, chapter 04) */
.mk-lockup { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.mk-lockup img { width: 30px; height: 30px; flex: none; }
.mk-lockup b { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.05em; color: var(--mk-navy); line-height: 1; }
.mk-lockup small { font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; color: #8a939b; line-height: 1; }

/* Industries as chips */
.mk-industries { background: #fff; border: 0; }
.mk-industry-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mk-industry-list li { padding: 0.5rem 1rem; border: 1px solid var(--mk-line); border-radius: 999px; background: #fff; font-size: 0.95rem; font-weight: 500; color: var(--mk-ink); transition: border-color .2s, transform .2s var(--mk-ease); }
.mk-industry-list li:hover { border-color: var(--mk-navy); transform: translateY(-2px); }
.mk-industry-list li:not(:last-child)::after { content: none; }
.mk-industry-list li.mk-industry-more { background: var(--mk-navy); border-color: var(--mk-navy); color: #fff; box-shadow: 0 6px 18px rgba(15,27,51,.18); }
.mk-industry-list li.mk-industry-more::after { content: "→"; margin-left: .45rem; font-weight: 600; transition: transform .2s var(--mk-ease); }
.mk-industry-list li.mk-industry-more:hover::after { transform: translateX(3px); }

/* Case study: navy voice panel */
.mk-cases-tab[aria-selected="true"] { background: var(--mk-navy); border-color: var(--mk-navy); }
.mk-case-voice { background: var(--mk-navy); color: #fff; border-right: 0; }
.mk-case-stat { color: #fff; }
.mk-case-stat-label { color: var(--mk-navy-sub); }
.mk-case-quote { color: #fff; }
.mk-case-name { color: #fff; }
.mk-case-role { color: var(--mk-navy-sub); }
.mk-case-logo { background: #fff; border-radius: 8px; padding: 4px 8px; }
.mk-case-voice .mk-client-slot { color: var(--mk-navy-sub); border-color: rgba(255,255,255,.3); }

/* Testimonials */
.mk-testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mk-testimonial {
    margin: 0;
    padding: 2.5rem 2.25rem;
    background: var(--mk-navy);
    color: #fff;
    border-radius: var(--mk-radius-lg);
    display: flex;
    flex-direction: column;
}
.mk-testimonial-quote {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 auto;
    padding-bottom: 2rem;
    max-width: 40ch;
    text-wrap: pretty;
}
.mk-testimonial-quote--short { text-wrap: balance; }
.mk-testimonial-person { display: flex; align-items: center; gap: 0.9rem; }
.mk-testimonial-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 8px; flex-shrink: 0; }
.mk-testimonial-name { font-weight: 700; font-size: 0.95rem; }
.mk-testimonial-role { font-size: 0.85rem; color: var(--mk-navy-sub); }
@media (max-width: 860px) {
    .mk-testimonials { grid-template-columns: 1fr; }
    .mk-testimonial { padding: 2rem 1.5rem; }
}

/* Why custom: the Klaro column in navy */
.mk-why-table .mk-why-us { background: var(--mk-navy); color: #fff; border-color: var(--mk-navy); border-bottom-color: rgba(255,255,255,0.14); }
.mk-why-table thead .mk-why-us { color: #fff; border-top-color: var(--mk-navy); }
.mk-why-table thead .mk-why-us span { color: var(--mk-navy-sub); }
.mk-why-table tbody tr:last-child .mk-why-us { border-bottom-color: var(--mk-navy); }
.mk-why-big { font-weight: 700; }
@media (max-width: 767px) {
    .mk-why-table td.mk-why-us::before { color: rgba(255,255,255,0.65); }
}

/* Process: one brand gradient across both months */
.mk-ruler-seg--m1 .mk-ruler-bar::after { background: linear-gradient(90deg, #0068c0, #0090d0); }
.mk-ruler-seg--m2 .mk-ruler-bar::after { background: linear-gradient(90deg, #2cb4c6, #9fdc7a); }
.mk-mini-ruler-bar span:first-child { background: linear-gradient(90deg, #0068c0, #0090d0); }
.mk-mini-ruler-bar span:last-child { background: linear-gradient(90deg, #2cb4c6, #9fdc7a); }
.mk-phase-staff { margin: 0 0 0.9rem; padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--mk-wash); font-size: 0.92rem; line-height: 1.5; color: var(--mk-ink); }
.mk-phase-staff strong { color: var(--mk-navy); }

/* Closing CTA: the end card (reversed mark, slogan, white pill) */
.mk-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.6rem; }
.mk-cta::before { mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,.9), transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,.9), transparent 70%); }
.mk-cta-mark { width: 72px; height: 72px; }
.mk-cta-title { max-width: 18ch; margin: 0 auto 1rem; }
.mk-cta-lead { color: var(--mk-navy-sub); margin: 0 auto; }
.mk-cta-actions { align-items: center; }
.mk-cta-note { color: var(--mk-navy-sub); }
.mk-slogan { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--mk-navy-sub); margin: 0.5rem 0 0; }
.mk-slogan b { font-weight: 800; color: #fff; }

/* Footer */
.mk-footer { background: #fff; }
.mk-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }

/* Shared nav (marketing/_nav.html) */
.kn-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kn-nav.scrolled { border-bottom-color: #eef1f5; box-shadow: 0 4px 20px rgba(15,27,51,0.05); }
.kn-inner { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); height: 68px; display: flex; align-items: center; gap: 2rem; box-sizing: border-box; }
.kn-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.kn-links a { color: var(--mk-body); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.kn-links a:hover, .kn-links a[aria-current="page"] { color: var(--mk-ink); }
.kn-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mk-navy); padding-bottom: 4px; }
.kn-actions { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.kn-login { color: var(--mk-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.kn-login:hover { color: var(--mk-navy); }
.kn-cta { min-height: 40px; font-size: 0.88rem; }
.kn-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff; color: var(--mk-ink); }
@media (max-width: 900px) {
    .kn-toggle { display: inline-grid; place-items: center; }
    .kn-links, .kn-actions { display: none; }
    .kn-nav.open .kn-inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
    .kn-nav.open .kn-links { display: flex; order: 3; flex-direction: column; width: 100%; gap: 0.25rem; padding-top: 0.5rem; }
    .kn-nav.open .kn-links a { display: block; padding: 0.6rem 0; box-shadow: none; }
    .kn-nav.open .kn-actions { display: flex; order: 4; width: 100%; margin: 0; padding-bottom: 0.5rem; }
}

/* Old page buttons and accents, restyled to the brand (How It Works, Pricing) */
.btn-gradient, .btn-cta-primary, a.btn-primary:not(.btn) {
    background: var(--mk-navy) !important; color: #fff !important; border: 0; border-radius: 999px !important;
    box-shadow: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-gradient:hover, .btn-cta-primary:hover, a.btn-primary:not(.btn):hover { background: var(--mk-navy-dk) !important; color: #fff !important; opacity: 1; transform: translateY(-1px); }
.btn-cta-ghost { border-radius: 999px !important; }
.gradient-text { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--mk-navy) !important; }
.kicker, .section-kicker { font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mk-blue) !important; background: none !important; border: 0 !important; padding: 0 !important; }
.mk-sheet-price, .mk-sheet-list i { color: inherit; }
.mk-sheet-list i { color: var(--mk-navy); }
@media (max-width: 575px) {
    .kn-inner { padding-inline: max(24px, env(safe-area-inset-left)); }
}
