/* ComplyHR marketing site (web host only). Reveal animations are additive:
   content is fully visible without JS; site.js opts elements in. */

/* The primary button is cyan with dark ink (see ui.css) — don't force white on it,
   which would leave pale text on a light fill. Ghost buttons stay as authored. */
.ch-pub-main a.ch-btn:not(.ch-btn-ghost):not(.mk-btn-light) { color: #04121A; }

/* reveal-on-scroll (JS adds .reveal-init, then .in-view when visible) */
.reveal-init { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-init.in-view { opacity: 1; transform: none; }
.reveal-init.d1 { transition-delay: .08s; }
.reveal-init.d2 { transition-delay: .16s; }
.reveal-init.d3 { transition-delay: .24s; }

/* ---------- hero ---------- */
.mk-hero {
    background: radial-gradient(1100px 620px at 15% -10%, rgba(122,90,248,.5), transparent 60%),
                radial-gradient(900px 520px at 105% 20%, rgba(76,85,216,.45), transparent 55%),
                #12142B;
    color: #fff; padding: 84px 5vw 96px; position: relative; overflow: hidden;
}
.mk-hero-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.mk-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(122,90,248,.22); border: 1px solid rgba(122,90,248,.5); color: #C9BFFF;
    padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
}
.mk-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 0 0 18px; font-weight: 750; letter-spacing: -.02em; }
.mk-hero h1 em { font-style: normal; background: linear-gradient(90deg, #A78BFA, #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-hero p.mk-lede { font-size: 17px; line-height: 1.65; color: #C7CAE8; margin: 0 0 28px; max-width: 34rem; }
.mk-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.mk-btn-light { background: #fff !important; color: var(--ch-accent-dark) !important; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.mk-hero-points { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; color: #A9AEDA; font-size: 13.5px; }
.mk-hero-points span::before { content: "✓  "; color: #7DD3FC; font-weight: 700; }

/* hero mock dashboard */
.mk-mock {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
    padding: 18px; backdrop-filter: blur(6px); box-shadow: 0 30px 80px rgba(0,0,0,.45);
    animation: mk-float 7s ease-in-out infinite;
}
@keyframes mk-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.mk-mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mk-mock-head strong { font-size: 14px; }
.mk-mock-score {
    width: 62px; height: 62px; border-radius: 50%;
    background: conic-gradient(#7DD3FC 0 83%, rgba(255,255,255,.15) 83% 100%);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.mk-mock-score::before { content: ""; position: absolute; inset: 7px; background: #1B1E3C; border-radius: 50%; }
.mk-mock-score b { position: relative; font-size: 15px; }
.mk-mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mk-mock-tile { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.mk-mock-tile b { display: block; font-size: 20px; }
.mk-mock-tile span { font-size: 10.5px; color: #A9AEDA; }
.mk-mock-row {
    display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05);
    border-radius: 10px; padding: 9px 12px; margin-top: 8px; font-size: 12px; color: #D6D9F2;
}
.mk-pill { font-size: 10px; font-weight: 700; border-radius: 12px; padding: 2px 9px; }
.mk-pill-red { background: rgba(244,110,110,.2); color: #FCA5A5; }
.mk-pill-amber { background: rgba(251,191,36,.18); color: #FCD34D; }
.mk-pill-blue { background: rgba(125,211,252,.16); color: #7DD3FC; }

/* ---------- sections ---------- */
.mk-section { max-width: 1180px; margin: 0 auto; padding: 76px 5vw; }
.mk-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.mk-kicker { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ch-accent); }
.mk-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 10px 0 12px; letter-spacing: -.01em; }
.mk-section-head p { color: var(--ch-muted); font-size: 16px; line-height: 1.6; margin: 0; }

.mk-statband { background: var(--ch-sidebar); color: #fff; }
.mk-statband-inner { max-width: 1180px; margin: 0 auto; padding: 34px 5vw; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.mk-statband b { display: block; font-size: 26px; background: linear-gradient(90deg, #A78BFA, #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-statband span { font-size: 13px; color: #A9AEDA; }

.mk-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.mk-feature {
    background: var(--ch-card); border: 1px solid var(--ch-line); border-radius: 16px; padding: 26px;
    box-shadow: var(--ch-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.mk-feature:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-hover); }
.mk-feature-ico {
    width: 46px; height: 46px; border-radius: 13px; background: var(--ch-grad);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(122,90,248,.35);
}
.mk-feature-ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-feature h3 { margin: 0 0 8px; font-size: 16.5px; }
.mk-feature p { margin: 0; color: var(--ch-muted); font-size: 14px; line-height: 1.6; }

.mk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.mk-step { background: var(--ch-card); border: 1px solid var(--ch-line); border-radius: 16px; padding: 26px; position: relative; box-shadow: var(--ch-shadow); }
.mk-step::before {
    counter-increment: step; content: counter(step);
    width: 34px; height: 34px; border-radius: 50%; background: var(--ch-grad); color: #fff;
    font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.mk-step h3 { margin: 0 0 8px; font-size: 15.5px; }
.mk-step p { margin: 0; color: var(--ch-muted); font-size: 14px; line-height: 1.6; }

.mk-cta {
    background: var(--ch-grad); border-radius: 22px; color: #fff; text-align: center;
    padding: 52px 5vw; max-width: 1080px; margin: 0 auto 76px; box-shadow: 0 24px 60px rgba(76,85,216,.35);
}
.mk-cta h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.mk-cta p { margin: 0 0 24px; color: #E2E4FF; }

/* ---------- news / resource cards ---------- */
.mk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.mk-card {
    background: var(--ch-card); border: 1px solid var(--ch-line); border-radius: 14px; padding: 20px 22px;
    box-shadow: var(--ch-shadow); transition: transform .2s ease, box-shadow .2s ease; display: block;
    text-decoration: none; color: var(--ch-ink);
}
a.mk-card:hover { transform: translateY(-3px); box-shadow: var(--ch-shadow-hover); }
.mk-card-tag {
    display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: var(--ch-accent-soft); color: var(--ch-accent-dark); border-radius: 12px; padding: 3px 10px; margin-bottom: 10px;
}
.mk-card h3 { margin: 0 0 6px; font-size: 15.5px; }
.mk-card p { margin: 0; color: var(--ch-muted); font-size: 13.5px; line-height: 1.55; }
.mk-card .mk-card-link { display: inline-block; margin-top: 10px; color: var(--ch-accent-dark); font-weight: 600; font-size: 13.5px; }

/* ---------- contact ---------- */
.mk-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.mk-contact-info { background: var(--ch-sidebar); color: #D6D9F2; border-radius: 16px; padding: 28px; }
.mk-contact-info h3 { color: #fff; margin: 0 0 12px; }
.mk-contact-info p { line-height: 1.7; font-size: 14px; }
.mk-contact-info a { color: #A78BFA; }

/* ---------- big footer ---------- */
.ch-pub-bigfoot { background: var(--ch-sidebar); color: #A9AEDA; }
.ch-pub-bigfoot-grid {
    max-width: 1180px; margin: 0 auto; padding: 52px 5vw 34px;
    display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; font-size: 13.5px;
}
.ch-pub-bigfoot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.ch-pub-bigfoot a { display: block; color: #A9AEDA; text-decoration: none; margin-bottom: 8px; transition: color .15s ease; }
.ch-pub-bigfoot a:hover { color: #fff; }
.ch-pub-bigfoot-brand p { line-height: 1.6; margin: 0; }
.ch-pub-bigfoot-brand .ch-logo-text { color: #fff; }
.ch-pub-bigfoot-base { border-top: 1px solid rgba(255,255,255,.1); }
.ch-pub-bigfoot-base p { max-width: 1180px; margin: 0 auto; padding: 18px 5vw; font-size: 12px; line-height: 1.6; }

@media (max-width: 960px) {
    .mk-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .mk-contact-grid { grid-template-columns: 1fr; }
    .ch-pub-bigfoot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-mock { animation: none; }
    .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ---------- pricing ---------- */
.mk-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.mk-price {
    background: var(--ch-card); border: 1px solid var(--ch-line); border-radius: 18px; padding: 28px;
    display: flex; flex-direction: column; box-shadow: var(--ch-shadow); position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mk-price:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-hover); }
.mk-price-featured { border: 2px solid var(--ch-accent); box-shadow: 0 14px 40px rgba(76,85,216,.18); }
.mk-price-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--ch-grad); color: #fff; font-size: 11px; font-weight: 700;
    padding: 4px 14px; border-radius: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.mk-price h3 { margin: 0 0 6px; font-size: 17px; }
.mk-price-amount { font-size: 34px; font-weight: 750; }
.mk-price-amount span { font-size: 14px; font-weight: 500; color: var(--ch-muted); }
.mk-price-sub { color: var(--ch-muted); margin: 2px 0 14px; font-size: 13.5px; }
.mk-price ul { margin: 0 0 20px; padding-left: 0; list-style: none; flex: 1; }
.mk-price li { padding: 5px 0 5px 24px; position: relative; font-size: 14px; }
.mk-price li::before { content: "✓"; position: absolute; left: 2px; color: var(--ch-accent); font-weight: 700; }
