/*
 * The public website.
 *
 * Layered on Bootstrap rather than replacing it, and on brand.css rather than
 * holding a palette of its own — see that file for why there is only one.
 *
 * DIRECTION — modern and quiet, in the DV Soft plum. A geometric sans set
 * large and tight for display, generous space, an aubergine band at the top and
 * the bottom lit by a violet glow, and one gradient highlight per heading at
 * most. Lavender is spent where it means something on dark (a kicker, the
 * active marker); plum carries every action. Colour says something; it does
 * not fill.
 *
 * The site and the product share a palette; what separates them is *density*.
 * The website is set large, loose and slow because a stranger is deciding; the
 * application is set small and tight because somebody is working.
 *
 * Everything here is unconditional CSS. No JavaScript decides a layout, so the
 * page is correct in the first paint and for a crawler that never runs a
 * script. marketing.js adds a scroll shadow, a reveal animation and the product
 * tour's tabs on top, and the page is complete without it.
 *
 * CLASS CATALOGUE (keep in sync with what the views use)
 *   base      marketing skip-link text-gradient container.narrow
 *   header    site-header mega-menu mega-item
 *   hero      hero hero-eyebrow hero-title hero-lead hero-actions hero-points hero-stage
 *   mockup    shot shot-bar shot-body shot-rail shot-main shot-kpis shot-kpi shot-chart
 *             shot-table float-card float-card--tl float-card--br
 *   facts     trust-strip trust-item
 *   inner     page-hero page-hero-art breadcrumb-bar
 *   sections  section section-alt section-dark section-head section-kicker narrow-section
 *   cards     feature-card module-card module-card-art module-card-more
 *   home      segments segment | tour tour-tabs tour-tab tour-panel tour-copy tour-art
 *             | bento bento-tile bento-tile--wide bento-art
 *   lists     tick-list feature-row feature-row-head
 *   steps     steps step step-number
 *   pricing   plan-card plan-ribbon plan-* compare-table
 *   faq       faq-accordion
 *   forms     enquiry-form module-checks honeypot thankyou-icon
 *   bands     cta cta-actions prose
 *   footer    site-footer footer-*
 */

:root {
    --mk-ink:        var(--ink);
    --mk-body:       var(--ink-body);
    --mk-muted:      var(--ink-faint);
    --mk-dim:        var(--ink-dim);
    --mk-line:       var(--line);
    --mk-surface:    var(--surface);
    --mk-tint:       var(--surface-2);
    --mk-brand:      var(--brand);
    --mk-brand-dark: var(--brand-600);
    --mk-brand-tint: var(--brand-50);
    --mk-accent:     var(--accent);

    /* On the dark bands. A lilac-white, not pure white: pure white on aubergine glares. */
    --mk-on-dark:       #f4f0fa;
    --mk-on-dark-muted: rgba(244, 240, 250, .7);
    --mk-dark-line:     rgba(244, 240, 250, .12);

    /* The website breathes more than the application does. */
    --mk-section: clamp(4rem, 8vw, 7rem);
    --mk-radius:  var(--r-lg);
}

/* ---------------------------------------------------------------- base */

body.marketing {
    color: var(--mk-body);
    background: var(--mk-surface);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01";
    overflow-x: hidden;
}

body.marketing ::selection { background: var(--accent-300); color: var(--ink); }

body.marketing h1,
body.marketing h2,
body.marketing h3,
body.marketing h4 {
    color: var(--mk-ink);
    font-weight: 650;
    letter-spacing: -0.022em;
    line-height: 1.15;
    text-wrap: balance;
}

/*
 * The display face sets the tone at the two sizes that matter — the page's one
 * <h1> and the section <h2>s — large, heavy and tight. Card titles and anything
 * smaller stay in Inter.
 */
body.marketing h1,
body.marketing h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.022em;
}

/*
 * A highlighted phrase inside a display heading: the plum-to-violet gradient,
 * upright. Used once per heading at most, and not on every heading.
 */
body.marketing h1 em,
body.marketing h2 em {
    font-style: normal;
    background: var(--text-gradient);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.marketing p { text-wrap: pretty; }

/*
 * Note for anything added below that puts a heading on a dark background: the
 * heading selectors above are (0,1,2), so a bare `.something h2` (0,1,1) loses
 * and the heading silently renders near-black on near-black. Prefix such rules
 * with `body.marketing` too, as the dark sections below do.
 */

/* A word or two of a headline in the brand gradient — never a whole one. */
.text-gradient {
    background: var(--rule-gradient);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .text-gradient { color: var(--brand); -webkit-text-fill-color: currentColor; }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1080;
    padding: .75rem 1.25rem;
    background: var(--mk-ink);
    color: #fff;
    border-radius: 0 0 var(--r) 0;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus { left: 0; }

body.marketing a:focus-visible,
body.marketing button:focus-visible,
body.marketing input:focus-visible,
body.marketing select:focus-visible,
body.marketing textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

body.marketing .container { max-width: 1200px; }
.container.narrow { max-width: 780px; }

/* ---------------------------------------------------------------- buttons
 *
 * Bootstrap's buttons, re-tokenised rather than re-implemented. Slightly
 * squared (10px) rather than pills: a pill reads as an app store badge, a
 * softened rectangle as an instrument.
 */

body.marketing .btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: -.005em;
    padding: .6rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease,
                border-color .2s ease, color .2s ease;
}

body.marketing .btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
body.marketing .btn-sm { padding: .4rem .85rem; font-size: .875rem; }
body.marketing .btn .bi-arrow-right { transition: transform .2s var(--ease); }
body.marketing .btn:hover .bi-arrow-right { transform: translateX(3px); }

body.marketing .btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-600);
    --bs-btn-hover-border-color: var(--brand-600);
    --bs-btn-active-bg: var(--brand-700);
    --bs-btn-active-border-color: var(--brand-700);
    --bs-btn-disabled-bg: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-brand);
}

body.marketing .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 34px -14px rgba(var(--brand-rgb), .75);
}

/*
 * The primary action on a dark band: white, with the aubergine as its text.
 * Plum on aubergine would vanish; white is the brightest thing on the band.
 */
body.marketing .btn-bright {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--brand-900);
    --bs-btn-hover-bg: var(--accent-300);
    --bs-btn-hover-border-color: var(--accent-300);
    --bs-btn-hover-color: var(--brand-950);
    --bs-btn-active-bg: var(--accent);
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-active-color: var(--brand-950);
    box-shadow: 0 14px 34px -14px rgba(var(--glow-rgb), .8);
}

body.marketing .btn-bright:hover { transform: translateY(-1px); }

body.marketing .btn-outline-secondary {
    --bs-btn-color: var(--mk-ink);
    --bs-btn-border-color: var(--line);
    --bs-btn-bg: #fff;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: var(--brand);
    --bs-btn-hover-border-color: var(--brand-300);
    --bs-btn-active-bg: var(--mk-tint);
    --bs-btn-active-color: var(--brand);
    --bs-btn-active-border-color: var(--brand-300);
}

body.marketing .btn-outline-secondary:hover { transform: translateY(-1px); }

body.marketing .btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand-300);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-bg: var(--brand-600);
    --bs-btn-active-border-color: var(--brand-600);
}

/* The quiet action on a dark band: a hairline, not a ghost. */
body.marketing .btn-outline-light {
    --bs-btn-color: var(--mk-on-dark);
    --bs-btn-border-color: rgba(244, 240, 250, .3);
    --bs-btn-hover-bg: rgba(244, 240, 250, .08);
    --bs-btn-hover-border-color: var(--mk-on-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: rgba(244, 240, 250, .12);
    --bs-btn-active-border-color: var(--mk-on-dark);
    --bs-btn-active-color: #fff;
}

body.marketing .btn-outline-light:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- eyebrow */

/*
 * A pill with a pulsing dot. On a light page hero it takes the module's
 * tint; on the dark home hero it becomes a hairline capsule.
 */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .7rem;
    font-weight: 650;
    color: var(--acc, var(--brand-700));
    background: var(--acc-soft, var(--brand-50));
    border: 1px solid rgba(var(--brand-rgb), .14);
    border-radius: var(--r-pill);
    padding: .42rem .95rem;
    margin-bottom: 1.4rem;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--mk-line);
    transition: background .25s ease, box-shadow .25s ease;
}

/*
 * The shadow arrives only once the page has scrolled under the bar; marketing.js
 * sets the class. Without JavaScript the bar keeps its resting hairline, which
 * is a weaker effect rather than a broken one.
 */
.site-header.is-stuck {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px -18px rgba(18, 32, 28, .28);
}

.site-header .navbar { padding-block: 0; min-height: 76px; }

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -.02em;
    color: var(--mk-ink);
}

/*
 * The lockup, as on DV Soft's other product sites: the company wordmark, a
 * hairline, then the product's name in small tracked capitals. The company is
 * the logo; the product is the label beside it.
 */
.brand-lockup img {
    display: block;
    height: 38px;
    width: auto;
    flex: 0 0 auto;
}

.brand-product {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mk-muted);
    padding-left: .9rem;
    border-left: 1px solid var(--line);
    line-height: 1.6;
    white-space: nowrap;
}

.site-footer .brand-product {
    color: rgba(244, 240, 250, .6);
    border-left-color: var(--mk-dark-line);
}

@media (max-width: 400px) {
    .site-header .brand-product { display: none; }
}

.site-header .nav-link {
    position: relative;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .94rem;
    padding: .55rem .95rem !important;
    border-radius: 8px;
    transition: color .2s var(--ease);
}

.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-header .nav-link.show { color: var(--brand); }

/*
 * A lavender hairline under the word, drawn in from the centre on hover and held
 * on the current page. Colour alone cannot say which page you are on when
 * hover also recolours.
 */
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .2rem;
    height: 1.5px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

.site-header .dropdown-toggle::after { display: none; }
.site-header .dropdown-toggle .bi-chevron-down { font-size: .7rem; margin-left: .25rem; transition: transform .2s ease; }
.site-header .dropdown-toggle.show .bi-chevron-down { transform: rotate(180deg); }

.site-header .nav-divider {
    width: 1px;
    height: 22px;
    background: var(--line);
    margin: 0 .6rem;
}

/* The Product menu: a two-column panel, each entry an icon, a name and a line. */
.mega-menu {
    --bs-dropdown-min-width: 34rem;
    border: 1px solid var(--mk-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: .6rem;
    margin-top: .6rem !important;
}

.mega-menu .mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .2rem;
}

.mega-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .7rem .8rem;
    border-radius: 12px;
    color: var(--mk-ink);
    text-decoration: none;
    transition: background .15s ease;
}

.mega-item:hover,
.mega-item:focus { background: var(--mk-tint); color: var(--mk-ink); }

.mega-item > i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--acc-soft, var(--brand-50));
    color: var(--acc, var(--brand));
    font-size: 1.05rem;
}

.mega-item strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.mega-item small { display: block; font-size: .8rem; color: var(--mk-muted); line-height: 1.4; margin-top: .1rem; }

.mega-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
    padding: .75rem .9rem .35rem;
    border-top: 1px solid var(--mk-line);
    font-size: .84rem;
    color: var(--mk-muted);
}

.mega-foot a { color: var(--brand); font-weight: 600; text-decoration: none; }

@media (max-width: 991.98px) {
    .site-header .navbar { min-height: 66px; }
    .site-header .navbar-collapse { padding-bottom: 1rem; }
    .site-header .nav-link::after { left: .95rem; right: auto; width: 18px; }
    .site-header .nav-divider { display: none; }
    .site-header .navbar-nav .btn { margin-top: .5rem; width: 100%; }
    .mega-menu { --bs-dropdown-min-width: 0; box-shadow: none; border: 0; padding: 0; margin: 0 !important; }
    .mega-menu .mega-grid { grid-template-columns: 1fr; }
    .mega-foot { display: none; }
}

.navbar-toggler {
    border-color: var(--mk-line);
    border-radius: var(--r-sm);
    padding: .45rem .6rem;
}

.navbar-toggler:focus { box-shadow: none; }

/* ---------------------------------------------------------------- hero (home)
 *
 * The one dark band at the top of the site. Aubergine with a lavender glow at
 * one corner and a violet glow at the other, a faint grid for surface, and
 * a fade at the foot so it lands softly on the fact band below. All CSS — no
 * image request stands between the visitor and the first paint.
 */

.hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(46rem 30rem at 92% -10%, rgba(var(--accent-rgb), .2) 0%, transparent 60%),
        radial-gradient(50rem 34rem at -8% 20%, rgba(var(--glow-rgb), .38) 0%, transparent 62%),
        var(--brand-gradient-deep);
    color: var(--mk-on-dark);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(244, 240, 250, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 240, 250, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 100%);
            mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 100%);
    pointer-events: none;
}

.hero .hero-eyebrow {
    color: var(--accent-300);
    background: rgba(244, 240, 250, .06);
    border-color: rgba(var(--accent-rgb), .35);
}

.hero .hero-eyebrow .dot {
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6);
    animation: mk-pulse 2.4s ease-out infinite;
}

@keyframes mk-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); }
    70%  { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

body.marketing .hero-title {
    color: var(--mk-on-dark);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.028em;
    margin: 0 0 1.4rem;
    max-width: 17ch;
}

body.marketing .hero-title em {
    color: var(--accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: clamp(1.06rem, 1.5vw, 1.22rem);
    max-width: 34em;
    margin: 0 0 2.2rem;
    color: var(--mk-on-dark-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.8rem;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    font-size: .9rem;
    color: var(--mk-on-dark-muted);
}

.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points i { color: var(--accent); font-size: .95rem; }

/*
 * Copy on the left, the product on the right, as two columns from lg up; on a
 * narrower screen the screenshot drops under the copy.
 */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; }
}

.hero-copy { position: relative; z-index: 2; }

/*
 * The stage: the product screenshot, framed, with two cards floating off its
 * corners. Everything in it is HTML, so it is sharp at any density, restyles
 * with the palette, and costs no image request.
 */
.hero-stage { position: relative; }

/*
 * At half the page width the full screenshot would be cramped, so the hero's
 * copy drops the navigation rail and lets the main pane have the room.
 */
.hero-stage .shot-body { grid-template-columns: 1fr; min-height: 0; }
.hero-stage .shot-rail { display: none; }
.hero-stage .shot-kpi strong { font-size: 15px; }
.hero-stage .shot-chart { height: 90px; }

/* Legacy illustration, kept for any page that still references it. */
.hero-art { display: block; width: 100%; height: auto; max-width: 640px; margin-inline: auto; }

/* ---------------------------------------------------------------- the product mockup */

.shot {
    position: relative;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(244, 240, 250, .18);
    box-shadow:
        0 0 0 6px rgba(244, 240, 250, .05),
        0 50px 100px -30px rgba(0, 0, 0, .55),
        0 30px 60px -40px rgba(var(--accent-rgb), .45);
    overflow: hidden;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.shot-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 38px;
    padding: 0 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}

.shot-bar > span:not(.shot-url) {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.shot-bar > span:nth-child(1) { background: #e8b4a8; }
.shot-bar > span:nth-child(2) { background: #ead49f; }
.shot-bar > span:nth-child(3) { background: #b5d6c4; }

.shot-url {
    margin: 0 auto;
    padding: .2rem 1rem;
    min-width: 40%;
    text-align: center;
    border-radius: 7px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-faint);
    font-size: 11px;
}

.shot-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 380px;
}

.shot-rail {
    background: var(--brand-900);
    color: rgba(244, 240, 250, .72);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.shot-rail b {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12.5px;
    margin: 0 6px 14px;
}

.shot-rail b img { width: 22px; height: 22px; border-radius: 6px; }

.shot-rail span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 11.5px;
}

.shot-rail span.on {
    background: rgba(244, 240, 250, .08);
    color: #fff;
    box-shadow: inset 2px 0 0 var(--accent);
}

.shot-main {
    padding: 18px 20px;
    background: var(--canvas);
    display: grid;
    gap: 14px;
    align-content: start;
}

.shot-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shot-head strong { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.shot-head small { color: var(--ink-faint); display: block; font-size: 10.5px; }

.shot-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--brand);
    color: #fff;
    border-radius: 7px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 10.5px;
}

.shot-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.shot-kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
}

.shot-kpi small {
    display: block;
    color: var(--ink-faint);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.shot-kpi strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.shot-kpi em { font-style: normal; font-size: 10px; color: var(--ok-deep); font-weight: 600; }

.shot-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 10px;
}

.shot-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
}

.shot-card > small {
    display: block;
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 10px;
}

/* A bar chart drawn with flex and heights set inline — twelve months of payroll. */
.shot-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    padding-top: 6px;
    border-bottom: 1px solid var(--line);
}

.shot-chart i {
    flex: 1;
    border-radius: 4px 4px 1px 1px;
    background: var(--brand-100);
}

.shot-chart i.hi { background: var(--brand); }

.shot-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.shot-table td { padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.shot-table tr:last-child td { border-bottom: 0; }
.shot-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.shot-av {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-50);
    color: var(--accent-600);
    font-size: 8.5px;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle;
}

.shot-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
}

.shot-tag.ok   { background: #dcfce7; color: #14532d; }
.shot-tag.wait { background: #fef3c7; color: #78350f; }

/* The floating cards off the screenshot's corners. */
.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.05rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.35;
    text-align: left;
    animation: mk-float 7s ease-in-out infinite;
}

.float-card > i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.05rem;
}

.float-card strong { display: block; font-size: .88rem; }
.float-card small { color: var(--ink-faint); }

.float-card--tl { left: -2.25rem; top: -1.5rem; }
.float-card--br { right: -1rem; bottom: -1.75rem; animation-delay: -3.5s; }
.float-card--br > i { background: var(--accent-50); color: var(--accent-600); }

@keyframes mk-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
    .shot-body { grid-template-columns: 1fr; }
    .shot-rail { display: none; }
    .float-card--tl { left: .5rem; }
    .float-card--br { right: .5rem; }
}

@media (max-width: 575.98px) {
    .shot-kpis { grid-template-columns: repeat(2, 1fr); }
    .shot-row { grid-template-columns: 1fr; }
    .float-card { display: none; }
}

/* --- the fact band under the hero ---------------------------------------- */

.trust-strip {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .25rem 1.5rem;
    border-left: 1px solid var(--mk-line);
}

.trust-item:first-child { border-left: 0; padding-left: 0; }

.trust-item > i {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-50);
    color: var(--accent-600);
    font-size: 1.1rem;
}

.trust-item > span { min-width: 0; }

.trust-item strong {
    display: block;
    color: var(--mk-ink);
    font-size: .96rem;
    font-weight: 650;
    letter-spacing: -.01em;
}

.trust-item strong + span {
    display: block;
    font-size: .86rem;
    color: var(--mk-muted);
    line-height: 1.5;
    margin-top: .1rem;
}

@media (max-width: 991.98px) {
    .trust-strip { gap: 1.5rem; }
    .trust-item { border-left: 0; padding: 0; }
}

/* ---------------------------------------------------------------- page hero (inner pages) */

/*
 * Light rather than dark: the home page gets one dramatic band, every other
 * page gets a calm heading. On a module page it inherits that module's
 * --acc-soft, so Payroll opens in green and Leave in violet while the header,
 * the buttons and the CTA stay plum.
 */
.page-hero {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
    background:
        radial-gradient(40rem 22rem at 100% 0%, var(--acc-soft, var(--accent-50)) 0%, transparent 65%),
        linear-gradient(180deg, var(--surface-2) 0%, #fff 100%);
    border-bottom: 1px solid var(--mk-line);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(18, 32, 28, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 32, 28, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(60% 80% at 20% 0%, #000 0%, transparent 100%);
            mask-image: radial-gradient(60% 80% at 20% 0%, #000 0%, transparent 100%);
    pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero-art {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: auto;
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .page-hero-art { display: none; }
}

.page-hero.compact { padding-bottom: 1.5rem; }

.page-hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.page-hero .lead {
    max-width: 42em;
    color: var(--mk-body);
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}

.breadcrumb-bar {
    border-bottom: 1px solid var(--mk-line);
    padding: .75rem 0;
    font-size: .86rem;
    background: #fff;
}

.breadcrumb-bar .breadcrumb { margin: 0; }
.breadcrumb-bar a { color: var(--mk-muted); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- sections */

.section { padding: var(--mk-section) 0; }

.hero + .section,
.page-hero + .section,
.breadcrumb-bar + .page-hero + .section {
    padding-top: clamp(3rem, 5vw, 4.5rem);
}

.narrow-section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* The alternating band is a faint lilac between hairlines — a change of subject, not a slab. */
.section-alt {
    background: var(--surface-2);
    border-block: 1px solid var(--mk-line);
}

/* The second dark band, used once, mid-page, for the argument. */
.section-dark {
    position: relative;
    background:
        radial-gradient(40rem 26rem at 100% 100%, rgba(var(--accent-rgb), .14) 0%, transparent 60%),
        radial-gradient(40rem 26rem at 0% 0%, rgba(var(--glow-rgb), .3) 0%, transparent 60%),
        var(--brand-900);
    color: var(--mk-on-dark-muted);
    overflow: hidden;
}

body.marketing .section-dark h2,
body.marketing .section-dark h3 { color: var(--mk-on-dark); }
.section-dark .section-head p { color: var(--mk-on-dark-muted); }

.section-head {
    max-width: 46em;
    margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.1;
    margin-bottom: .9rem;
}

.section-head p {
    margin-bottom: 0;
    font-size: clamp(1.02rem, 1.3vw, 1.12rem);
    color: var(--mk-muted);
}

/*
 * The kicker: a small plum pill with a dot. Tracked-out capitals floating on
 * their own look like a mistake; inside a capsule they look deliberate.
 */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    font-weight: 650;
    color: var(--brand);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-pill);
    padding: .38rem .85rem;
    margin-bottom: 1.1rem;
}

.section-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.section-dark .section-kicker {
    background: rgba(244, 240, 250, .06);
    border-color: rgba(var(--accent-rgb), .25);
}

/* ---------------------------------------------------------------- cards */

.feature-card,
.module-card,
.plan-card {
    position: relative;
    height: 100%;
    background: var(--mk-surface);
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    padding: 1.9rem;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s ease;
}

.feature-card::before,
.module-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    border-radius: var(--mk-radius) var(--mk-radius) 0 0;
    background: linear-gradient(90deg, var(--acc, var(--brand)), var(--accent) 70%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.feature-card:hover,
.module-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
    border-color: color-mix(in srgb, var(--acc, var(--brand)) 30%, #fff);
    transform: translateY(-4px);
}

.feature-card:hover::before,
.module-card:hover::before { opacity: 1; }

.feature-card > i,
.module-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--acc-soft, var(--brand-50));
    color: var(--acc, var(--brand));
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .03);
    transition: background-color .3s ease, color .3s ease, transform .3s var(--ease);
}

.feature-card:hover > i,
.module-card:hover > i {
    background: var(--acc, var(--brand));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.feature-card h3,
.module-card h3,
.module-card h2 {
    font-family: var(--font-sans);
    font-size: 1.14rem;
    font-weight: 650;
    margin-bottom: .55rem;
    letter-spacing: -.015em;
}

.feature-card p,
.module-card p {
    margin-bottom: 0;
    font-size: .97rem;
    color: var(--mk-muted);
}

.module-card a {
    color: var(--mk-ink);
    text-decoration: none;
}

/*
 * The whole card is the click target, not just the heading. The heading keeps
 * the real href — this only stretches it — so it is still a link to a crawler
 * and to somebody tabbing through. The heading must NOT be positioned, or it
 * would become the containing block and the stretch would cover only itself.
 */
.module-card h3 a::after,
.module-card h2 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.module-card:hover a { color: var(--acc, var(--brand)); }

.module-card.tall {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.module-card-art {
    position: absolute;
    right: -1.75rem;
    bottom: -1.5rem;
    width: 168px;
    height: auto;
    opacity: .4;
    pointer-events: none;
    z-index: 0;
    transition: opacity .3s ease, transform .3s var(--ease);
}

.module-card.tall:hover .module-card-art { opacity: .55; transform: scale(1.05); }

.module-card.tall > *:not(.module-card-art):not(h2):not(h3) {
    position: relative;
    z-index: 1;
}

@media (max-width: 575.98px) {
    .module-card-art { display: none; }
}

.module-card-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--acc, var(--brand));
}

.module-card-more i { transition: transform .25s var(--ease); }
.module-card:hover .module-card-more i { transform: translateX(4px); }

/* ---------------------------------------------------------------- home: segments */

.segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    border: 1px solid var(--mk-line);
    border-radius: var(--r-xl);
    background: #fff;
    overflow: hidden;
}

.segment {
    padding: 2rem 1.8rem;
    border-left: 1px solid var(--mk-line);
    transition: background .25s ease;
}

.segment:first-child { border-left: 0; }
.segment:hover { background: var(--surface-2); }

.segment > i {
    display: block;
    font-size: 1.6rem;
    color: var(--brand);
    margin-bottom: 1rem;
}

.segment h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: .45rem; }
.segment p { font-size: .94rem; color: var(--mk-muted); margin: 0; }

@media (max-width: 1199.98px) {
    .segment { border-left: 0; border-top: 1px solid var(--mk-line); }
    .segment:first-child { border-top: 0; }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .segments { grid-template-columns: 1fr 1fr; }
    .segment:nth-child(2) { border-top: 0; }
    .segment:nth-child(even) { border-left: 1px solid var(--mk-line); }
}

/* ---------------------------------------------------------------- home: the product tour
 *
 * Without JavaScript every panel is simply shown, one under the next, and the
 * tabs are in-page anchors to them. marketing.js adds .js-tour to <html> and
 * only then are the inactive panels hidden — a failed script can never leave a
 * panel unreachable.
 */

.tour-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    padding: .4rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    width: fit-content;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.tour-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink-soft);
    font: inherit;
    font-size: .92rem;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.tour-tab i { color: var(--acc, var(--brand)); }
.tour-tab:hover { background: var(--surface-2); color: var(--ink); }

.tour-tab.is-active {
    background: var(--brand-900);
    color: #fff;
}

.tour-tab.is-active i { color: var(--accent); }

.tour-panel {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.tour-panel + .tour-panel { margin-top: 4rem; }

.js-tour .tour-panel:not(.is-active) { display: none; }
.js-tour .tour-panel + .tour-panel { margin-top: 0; }
.js-tour .tour-panel.is-active { animation: mk-rise .5s var(--ease); }

@keyframes mk-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

body.marketing .tour-copy h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    margin-bottom: .9rem;
}

.tour-copy > p:not(.hero-eyebrow) { color: var(--mk-muted); font-size: 1.04rem; margin-bottom: 1.4rem; }

.tour-copy .module-card-more { margin-top: 1.6rem; text-decoration: none; }

.tour-art {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: var(--r-xl);
    background:
        radial-gradient(30rem 18rem at 100% 0%, var(--acc-soft, var(--brand-50)) 0%, transparent 70%),
        var(--surface-2);
    border: 1px solid var(--mk-line);
}

.tour-art .shot {
    border-color: var(--line);
    box-shadow: var(--shadow-lg);
}

.tour-art .shot-main { min-height: 260px; }

@media (max-width: 991.98px) {
    .tour-panel { grid-template-columns: 1fr; }
}

/* The miniature widgets that fill a tour screenshot. */
.mini-grid { display: grid; grid-template-columns: 90px repeat(10, 1fr); gap: 4px; align-items: center; font-size: 10px; }
.mini-grid > b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-grid > span {
    display: grid;
    place-items: center;
    height: 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 8.5px;
}
.mini-grid .P  { background: #dcfce7; color: #14532d; }
.mini-grid .A  { background: #fee2e2; color: #7f1d1d; }
.mini-grid .H  { background: #fef3c7; color: #78350f; }
.mini-grid .L  { background: #dbeafe; color: #1e3a8a; }
.mini-grid .W  { background: var(--surface-3); color: var(--ink-faint); }

.mini-list { display: grid; gap: 8px; }
.mini-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
}
.mini-list > div > span:nth-child(2) { flex: 1; min-width: 0; }
.mini-list small { display: block; color: var(--ink-faint); font-size: 9.5px; }
.mini-list .shot-btn { padding: 3px 8px; border-radius: 6px; font-size: 9.5px; font-weight: 600; background: var(--brand); color: #fff; }
.mini-list .shot-btn.ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }

.mini-slip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    display: grid;
    gap: 6px;
    font-size: 10.5px;
}
.mini-slip > div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.mini-slip > div span:first-child { color: var(--ink-soft); }
.mini-slip hr { margin: 4px 0; border-color: var(--line); opacity: 1; }
.mini-slip .net {
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 12px;
}

.mini-donut {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(var(--brand) 0 46%, var(--accent) 46% 71%, var(--brand-300) 71% 88%, var(--surface-3) 88% 100%);
    display: grid;
    place-items: center;
    flex: 0 0 110px;
}
.mini-donut::after {
    content: "";
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
}

.mini-legend { display: grid; gap: 6px; font-size: 10.5px; }
.mini-legend span { display: flex; align-items: center; gap: 6px; }
.mini-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ---------------------------------------------------------------- home: why (dark) */

.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.bento-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.9rem;
    border-radius: var(--r-xl);
    background: #fff;
    border: 1px solid var(--mk-line);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s ease;
}

.bento-tile:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
    transform: translateY(-3px);
}

.bento-tile--wide { grid-column: span 2; }

/*
 * The dark tile: one per grid, aubergine lit by the violet glow, so the grid
 * has a focal point instead of six equal boxes.
 */
.bento-tile--dark {
    background:
        radial-gradient(26rem 18rem at 100% 0%, rgba(var(--glow-rgb), .35) 0%, transparent 65%),
        var(--brand-900);
    border-color: var(--brand-900);
    color: var(--mk-on-dark-muted);
}

body.marketing .bento-tile--dark h3 { color: #fff; }
.bento-tile--dark p { color: var(--mk-on-dark-muted); }

.bento-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.2rem;
    margin-bottom: .6rem;
}

.bento-tile--dark .bento-icon { background: rgba(244, 240, 250, .08); color: var(--accent); }

body.marketing .bento-tile h3 {
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: -.015em;
    margin: 0;
}

.bento-tile p { margin: 0; font-size: .95rem; color: var(--mk-muted); max-width: 34em; }

/* The miniature visual a wide tile carries, pushed to the bottom of the tile. */
.bento-art {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.bento-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--mk-line);
    font-size: .82rem;
    font-weight: 550;
    color: var(--ink-soft);
}

.bento-chip .toggle {
    width: 26px;
    height: 15px;
    border-radius: 999px;
    background: var(--line);
    position: relative;
    flex: 0 0 26px;
}

.bento-chip .toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.bento-chip.on { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-100); }
.bento-chip.on .toggle { background: var(--brand); }
.bento-chip.on .toggle::after { left: 13px; }

.bento-tile--dark .bento-chip {
    background: rgba(244, 240, 250, .06);
    border-color: rgba(244, 240, 250, .1);
    color: var(--mk-on-dark-muted);
}

.bento-tile--dark .bento-chip b { color: #fff; font-weight: 600; }
.bento-tile--dark .bento-chip .bi { color: var(--accent); }

@media (max-width: 991.98px) {
    .bento { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .bento { grid-template-columns: 1fr; }
    .bento-tile--wide { grid-column: auto; }
}

/* ---------------------------------------------------------------- lists */

.tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}

.tick-list.large { gap: .95rem; font-size: 1.05rem; }
.tick-list.compact { font-size: .93rem; gap: .5rem; margin-top: .9rem; }

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.tick-list i {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 1.4em;
    height: 1.4em;
    margin-top: .15em;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand);
    font-size: .8em;
}

.feature-row {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--mk-line);
}

.feature-row:last-child { border-bottom: 0; }

.feature-row-head {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.feature-row-head > i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--acc-soft, var(--brand-50));
    color: var(--acc, var(--brand));
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .03);
}

.feature-row-head h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.feature-row-head a { color: var(--mk-ink); text-decoration: none; }
.feature-row-head a:hover { color: var(--acc, var(--brand)); }
.feature-row-head p { margin: 0; color: var(--mk-muted); }

/* ---------------------------------------------------------------- steps
 *
 * A timeline: plum numerals on a hairline that runs through all four,
 * so they read as a sequence rather than as four unrelated cards.
 */

.steps {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2rem 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step { position: relative; padding-top: 3.4rem; }

.step::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 3.4rem;
    right: -1.75rem;
    height: 1px;
    background: linear-gradient(90deg, var(--line), var(--line) 60%, transparent);
}

.step:last-child::before { display: none; }

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--brand-100);
    color: var(--brand);
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--mk-surface);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.section-alt .step-number { box-shadow: 0 0 0 6px var(--surface-2); }

.step:hover .step-number {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.step h3 { font-size: 1.1rem; font-weight: 650; margin: 0 0 .5rem; }
.step p { margin: 0; font-size: .95rem; color: var(--mk-muted); }

@media (max-width: 767.98px) {
    .step::before { display: none; }
}

/* ---------------------------------------------------------------- plans */

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
}

.plan-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
    transform: translateY(-4px);
}

/*
 * The recommended plan is the dark card in a light row: the strongest single
 * signal the page can give, and exactly one card may carry it.
 */
.plan-card.featured {
    background:
        radial-gradient(22rem 14rem at 100% 0%, rgba(var(--accent-rgb), .2) 0%, transparent 70%),
        var(--brand-900);
    border-color: var(--brand-900);
    color: var(--mk-on-dark-muted);
    box-shadow: var(--shadow-lg);
}

body.marketing .plan-card.featured .plan-name,
.plan-card.featured .plan-amount { color: var(--mk-on-dark); }
.plan-card.featured .plan-cycle,
.plan-card.featured .plan-blurb { color: var(--mk-on-dark-muted); }
.plan-card.featured .plan-limits { border-color: var(--mk-dark-line); }
.plan-card.featured .plan-limits i { color: var(--accent-300); }
.plan-card.featured .plan-modules i { color: var(--accent); }
.plan-card.featured .plan-trial { background: rgba(var(--accent-rgb), .16); color: var(--accent-300); }

body.marketing .plan-card.featured .btn-primary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-color: var(--brand-950);
    --bs-btn-hover-bg: var(--accent-300);
    --bs-btn-hover-border-color: var(--accent-300);
    --bs-btn-hover-color: var(--brand-950);
    --bs-btn-active-bg: var(--accent-300);
    --bs-btn-active-border-color: var(--accent-300);
    --bs-btn-active-color: var(--brand-950);
    box-shadow: none;
}

.plan-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-gradient);
    color: var(--brand-950);
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: .35rem .9rem;
    border-radius: var(--r-pill);
    box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), .8);
    white-space: nowrap;
}

.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .9rem;
}

body.marketing .plan-name {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.025em;
    font-size: 1.3rem;
    margin: 0;
}

.plan-trial {
    font-size: .66rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand-700);
    background: var(--brand-50);
    border-radius: var(--r-pill);
    padding: .28rem .65rem;
    white-space: nowrap;
}

.plan-price { margin-bottom: .9rem; }

.plan-amount {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--mk-ink);
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}

.plan-amount-quote { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.03em; }

.plan-cycle { color: var(--mk-muted); font-size: .95rem; }
.plan-blurb { font-size: .95rem; color: var(--mk-muted); }

.plan-limits,
.plan-modules {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    font-size: .93rem;
    display: grid;
    gap: .45rem;
}

.plan-limits {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--mk-line);
}

.plan-limits li,
.plan-modules li { display: flex; align-items: center; gap: .6rem; }
.plan-limits i { color: var(--mk-dim); }
.plan-modules i { color: var(--brand); }

/* The scroller must be the containing block: otherwise each .visually-hidden
   "Included" (position: absolute) escapes its clip, and a phone lays the whole
   page out wider and zooms it out to fit. */
.table-responsive { position: relative; }

.compare-table { --bs-table-border-color: var(--mk-line); }
.compare-table th[scope="row"] { font-weight: 600; color: var(--mk-ink); }

.compare-table thead th {
    border-bottom-width: 1px;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--mk-muted);
    font-weight: 650;
}

.compare-table td,
.compare-table th { padding: .9rem .75rem; }
.compare-table .bi-check-lg { color: var(--brand); }

/* ---------------------------------------------------------------- FAQ */

.faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--mk-line);
    border-radius: 0 !important;
    background: transparent;
}

.faq-accordion .accordion-item:first-child { border-top: 1px solid var(--mk-line); }

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.04rem;
    color: var(--mk-ink);
    padding: 1.4rem .25rem;
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--brand);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus { box-shadow: none; }

/* A plus that turns into a cross — quieter than Bootstrap's chevron. */
.faq-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--mk-line);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-600);
    transition: transform .3s var(--ease), background .2s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    background: var(--accent-50);
}

.faq-accordion .accordion-body {
    color: var(--mk-body);
    padding: 0 3rem 1.5rem .25rem;
}

/* ---------------------------------------------------------------- forms */

.enquiry-form {
    background: var(--mk-surface);
    border: 1px solid var(--mk-line);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

.enquiry-form .form-label,
.enquiry-form legend.form-label {
    font-weight: 600;
    color: var(--mk-ink);
    font-size: .9rem;
    margin-bottom: .4rem;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    border-color: var(--mk-line);
    border-radius: 10px;
    padding: .7rem .9rem;
    font-size: .97rem;
    background-color: var(--surface-2);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: var(--brand);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

.enquiry-form .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.module-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: .4rem .75rem;
}

/*
 * Off-canvas rather than display:none. A bot that reads the DOM still finds the
 * field; a screen reader is kept away from it by aria-hidden on the wrapper.
 */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.thankyou-icon {
    display: inline-grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 2.5rem;
    box-shadow: 0 0 0 10px var(--surface-2);
}

/* ---------------------------------------------------------------- prose */

.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 2.75rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.15rem; }

.prose a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(var(--brand-rgb), .35);
    text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- CTA
 *
 * The closing dark band: aubergine lit by the glow, a large question and a
 * white button.
 */

.cta {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background:
        radial-gradient(36rem 22rem at 50% -20%, rgba(var(--accent-rgb), .22) 0%, transparent 65%),
        radial-gradient(40rem 26rem at 0% 110%, rgba(var(--glow-rgb), .35) 0%, transparent 60%),
        var(--brand-900);
    color: var(--mk-on-dark);
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(244, 240, 250, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 240, 250, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000 0%, transparent 100%);
            mask-image: radial-gradient(60% 80% at 50% 50%, #000 0%, transparent 100%);
    pointer-events: none;
}

.cta > .container { position: relative; z-index: 1; }

body.marketing .cta h2 {
    color: var(--mk-on-dark);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
}

/* On a dark band the highlight is the lavender gradient; plum would vanish. */
body.marketing .cta h2 em,
body.marketing .section-dark h2 em {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
            background-clip: text;
}

.cta p {
    max-width: 38em;
    margin: 0 auto 2.25rem;
    color: var(--mk-on-dark-muted);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* The CTA partial asks for btn-light; on this band that means the white button. */
body.marketing .cta .btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--brand-900);
    --bs-btn-hover-bg: var(--accent-300);
    --bs-btn-hover-border-color: var(--accent-300);
    --bs-btn-hover-color: var(--brand-950);
    --bs-btn-active-bg: var(--accent);
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-active-color: var(--brand-950);
    box-shadow: 0 14px 34px -14px rgba(var(--glow-rgb), .8);
}

body.marketing .cta .btn:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- footer */

.site-footer {
    position: relative;
    background: var(--brand-950);
    color: var(--mk-on-dark-muted);
    padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem;
    font-size: .94rem;
    border-top: 1px solid var(--mk-dark-line);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-blurb { max-width: 30em; color: rgba(244, 240, 250, .6); }

body.marketing .footer-heading {
    font-family: var(--font-sans);
    font-size: .7rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--accent);
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.footer-links a,
.footer-bottom a {
    color: rgba(244, 240, 250, .78);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover { color: #fff; }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mk-dark-line);
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: space-between;
    color: rgba(244, 240, 250, .5);
    font-size: .86rem;
}

/* ---------------------------------------------------------------- reveal
 *
 * Progressive enhancement, deliberately inverted: the hidden state applies only
 * once marketing.js has set .js-reveal on <html>. Without JavaScript — or
 * before it runs — every section is simply visible.
 */

.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------------- motion, print */

@media (prefers-reduced-motion: reduce) {
    body.marketing *,
    body.marketing *::before,
    body.marketing *::after {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .js-reveal [data-reveal] { opacity: 1; transform: none; }

    body.marketing .btn:hover,
    .feature-card:hover,
    .module-card:hover,
    .plan-card:hover { transform: none; }
}

@media print {
    .site-header,
    .site-footer,
    .cta,
    .skip-link,
    .hero-stage { display: none !important; }

    .hero { background: none; color: var(--ink); }
    body.marketing .hero-title { color: var(--ink); }
    .hero-lead, .hero-points { color: var(--ink-body); }

    body.marketing { font-size: 11pt; }
    .section, .hero { padding-block: 1rem; }

    .feature-card,
    .module-card,
    .plan-card { box-shadow: none; break-inside: avoid; }
}
