/* ============================================================
   home_a.css — Landing direction A: "Five tools. One login."
   Icons are inline SVG inheriting currentColor (see
   templates/common/_landing_icons.html); the page carries no
   raster images, so nothing here waits on a network fetch.
   Scoped under .ha.
   ============================================================ */

.ha {
    --ha-ink: #1f2430;
    --ha-ink-soft: #4b5162;
    --ha-muted: #6b7280;
    --ha-purple: #6c5ce7;
    --ha-purple-deep: #4c3fc0;
    --ha-purple-soft: #f1edff;
    --ha-tint: #f8f4ff;
    --ha-ground: #f5f7fb;
    --ha-paper: #ffffff;
    --ha-line: #e1e5f0;
    --ha-line-firm: #d3d9ea;
    --ha-night: #23204a;
    --ha-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Outcome colours, borrowed from the app's badge palette */
    --ha-good: #16a34a;
    --ha-warn: #ea580c;

    margin: 0;
    background: var(--ha-paper);
    color: var(--ha-ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.ha *,
.ha *::before,
.ha *::after { box-sizing: border-box; }

.ha p { margin: 0; }
.ha h1, .ha h2, .ha h3 { margin: 0; font-weight: 650; letter-spacing: -0.025em; }
.ha ul { margin: 0; padding: 0; list-style: none; }
.ha img { display: block; max-width: 100%; }
.ha svg { display: block; flex: none; }
.ha a { color: inherit; text-decoration: none; }

.ha a:focus-visible {
    outline: 2px solid var(--ha-purple);
    outline-offset: 3px;
    border-radius: 4px;
}

.ha-skip {
    position: absolute;
    left: -9999px;
    top: 12px;
    padding: 10px 16px;
    background: var(--ha-ink);
    color: #fff;
    border-radius: 8px;
    z-index: 20;
}
.ha-skip:focus { left: 16px; }

.ha-shell {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.ha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 150ms ease-out, border-color 150ms ease-out,
                box-shadow 150ms ease-out, transform 150ms ease-out;
}
.ha-btn--lg { padding: 13px 26px; font-size: 15px; }
.ha-btn--primary {
    background: var(--ha-purple);
    color: #fff;
    box-shadow: 0 10px 24px rgba(108, 92, 231, 0.28);
}
.ha-btn--primary:hover {
    background: var(--ha-purple-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(108, 92, 231, 0.34);
}
.ha-btn--quiet {
    background: #fff;
    color: var(--ha-purple-deep);
    border-color: var(--ha-purple-deep);
    font-weight: 600;
}
.ha-btn--quiet:hover { background: var(--ha-purple-soft); border-color: var(--ha-purple-deep); }
/* Demo CTA — vivid brand fill so the label is crisp and the button reads immediately. */
.ha-btn--demo {
    gap: 8px;
    background: linear-gradient(135deg, var(--ha-purple) 0%, var(--ha-purple-deep) 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 22px rgba(108, 92, 231, 0.38);
}
.ha-btn--demo:hover {
    background: linear-gradient(135deg, var(--ha-purple-deep) 0%, var(--ha-night) 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(76, 63, 192, 0.42);
}
.ha-btn--demo svg { color: #fff; }

/* ── Nav ─────────────────────────────────────────────────── */

.ha-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ha-line);
}
.ha-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 66px;
}
.ha-brand { display: inline-flex; align-items: center; gap: 10px; }
/* The Excelerate mark is a full-colour graphic on transparency, so it sits on
   the page ground directly — no tinted chip behind it, and none behind a
   tenant's own logo either. */
.ha-brand__logo {
    width: 34px;
    height: 34px;
    flex: none;
    object-fit: contain;
}
.ha-brand__name { font-weight: 650; font-size: 15.5px; letter-spacing: -0.015em; }

/* ── Hero ────────────────────────────────────────────────── */

.ha-hero {
    padding: 74px 0 84px;
    background:
        radial-gradient(1100px 460px at 12% -10%, #efeaff 0%, rgba(239, 234, 255, 0) 62%),
        linear-gradient(180deg, #ffffff 0%, var(--ha-ground) 100%);
    border-bottom: 1px solid var(--ha-line);
}
.ha-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
    gap: 58px;
    align-items: center;
}

.ha-kicker {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ha-purple);
}
.ha-hero__title {
    margin-top: 14px;
    font-size: clamp(36px, 4.5vw, 55px);
    line-height: 1.04;
    letter-spacing: -0.038em;
    font-weight: 670;
    max-width: 13ch;
}
.ha-hero__lede {
    margin-top: 18px;
    font-size: 17.5px;
    line-height: 1.55;
    color: var(--ha-ink-soft);
    max-width: 44ch;
}
.ha-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ha-hero__note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--ha-muted);
    max-width: 44ch;
}
.ha-hero__note-icon { color: var(--ha-purple); margin-top: 2px; }

/* ── Signature: the consolidation card ───────────────────── */

.ha-consolidate {
    margin: 0;
    background: var(--ha-paper);
    border: 1px solid var(--ha-line);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}
/* The one gradient on the page, one pixel tall, on the element that carries
   the whole argument. */
.ha-consolidate::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--ha-purple) 0%, #a78bfa 55%, #ddd6fe 100%);
}
.ha-consolidate__head {
    padding: 16px 22px;
    background: var(--ha-tint);
    border-bottom: 1px solid var(--ha-line);
}
.ha-consolidate__title {
    font-size: 15px;
    font-weight: 660;
    letter-spacing: -0.018em;
    color: var(--ha-purple-deep);
}

.ha-swap__row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--ha-line);
}
.ha-swap__row:last-child { border-bottom: 0; }

.ha-swap__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ha-purple-soft);
    color: var(--ha-purple-deep);
}
.ha-swap__job { font-size: 14px; font-weight: 580; }
/* What the platform supersedes, so it reads a step back. */
.ha-swap__was {
    font-size: 12.5px;
    color: var(--ha-muted);
    text-align: right;
    text-decoration: line-through;
    text-decoration-color: var(--ha-line-firm);
    text-decoration-thickness: 1px;
}

.ha-consolidate__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--ha-purple-deep);
    color: #fff;
}
.ha-consolidate__arrow { display: inline-flex; opacity: 0.75; }
.ha-consolidate__one {
    font-size: 13.5px;
    font-weight: 570;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
    .ha-consolidate.is-armed .ha-swap__row { opacity: 0; transform: translateY(6px); }
    .ha-consolidate.is-revealed .ha-swap__row {
        opacity: 1;
        transform: none;
        transition: opacity 400ms ease-out, transform 400ms ease-out;
    }
    .ha-consolidate.is-revealed .ha-swap__row:nth-child(1) { transition-delay: 60ms; }
    .ha-consolidate.is-revealed .ha-swap__row:nth-child(2) { transition-delay: 150ms; }
    .ha-consolidate.is-revealed .ha-swap__row:nth-child(3) { transition-delay: 240ms; }
    .ha-consolidate.is-revealed .ha-swap__row:nth-child(4) { transition-delay: 330ms; }
    .ha-consolidate.is-revealed .ha-swap__row:nth-child(5) { transition-delay: 420ms; }
}

/* ── Shared section head ─────────────────────────────────── */

.ha-sec__title {
    font-size: clamp(25px, 2.8vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.032em;
    max-width: 22ch;
}
.ha-sec__title--light { color: #fff; }

/* ── Who it's for ────────────────────────────────────────── */

.ha-who { padding: 78px 0; }

.ha-who__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ha-card {
    padding: 28px 26px 30px;
    background: var(--ha-paper);
    border: 1px solid var(--ha-line);
    border-radius: 16px;
    transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .ha-card:hover {
        border-color: #c9bdf7;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
        transform: translateY(-3px);
    }
}

.ha-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--ha-purple-soft);
    color: var(--ha-purple-deep);
    margin-bottom: 18px;
}
.ha-card__title { font-size: 13px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ha-muted); }
.ha-card__claim {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 640;
    letter-spacing: -0.028em;
    line-height: 1.22;
}

.ha-ticks {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ha-line);
    display: grid;
    gap: 11px;
}
.ha-ticks li {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ha-ink-soft);
}
.ha-ticks svg { color: var(--ha-good); margin-top: 3px; }

/* ── Proof ───────────────────────────────────────────────── */

.ha-proof { padding: 76px 0; background: var(--ha-night); }

.ha-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.ha-vig {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--ha-paper);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.ha-vig__cap {
    padding: 11px 18px;
    background: var(--ha-tint);
    border-bottom: 1px solid var(--ha-line);
    font-family: var(--ha-mono);
    font-size: 10.5px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ha-purple-deep);
}
.ha-vig__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.ha-vig__q { font-size: 13.5px; line-height: 1.45; }
.ha-vig__label {
    font-family: var(--ha-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--ha-purple);
    margin-right: 6px;
}
.ha-vig__markrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--ha-ground);
    border-radius: 9px;
}
.ha-vig__answer { flex: 1; font-size: 12.5px; color: var(--ha-ink-soft); }
.ha-vig__mark {
    flex: none;
    font-size: 18px;
    font-weight: 660;
    color: var(--ha-warn);
    font-variant-numeric: tabular-nums;
}
.ha-vig__of { font-size: 12px; font-weight: 500; opacity: 0.7; }

.ha-vig__note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 12.5px;
    color: var(--ha-ink-soft);
}
.ha-vig__tag {
    flex: none;
    font-family: var(--ha-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.ha-vig__tag--miss { background: #fff5ed; color: var(--ha-warn); }
.ha-vig__tag--gap { background: #fff5ed; color: var(--ha-warn); }
.ha-vig__tag--ok { background: #ecfdf3; color: var(--ha-good); }

.ha-bars { display: grid; gap: 12px; }
.ha-bars li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 66px 32px;
    gap: 10px;
    align-items: center;
    font-size: 12.5px;
}
.ha-bars__name { color: var(--ha-ink-soft); }
.ha-bars__val { text-align: right; color: var(--ha-muted); font-variant-numeric: tabular-nums; }
.ha-bar { display: block; height: 6px; border-radius: 999px; background: var(--ha-ground); overflow: hidden; }
.ha-bar__fill { display: block; height: 100%; border-radius: 999px; }
.ha-bar__fill--low { width: 41%; background: var(--ha-warn); }
.ha-bar__fill--mid { width: 67%; background: #eab308; }
.ha-bar__fill--high { width: 86%; background: var(--ha-good); }

/* Paper going in, structured questions coming out. */
.ha-vig__capture {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--ha-tint);
    border-radius: 10px;
}
.ha-vig__shot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ha-paper);
    color: var(--ha-purple-deep);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.ha-vig__frames { flex: 1; display: grid; gap: 6px; }
.ha-vig__frames i { display: block; height: 7px; border-radius: 999px; background: #d8cdfb; }
.ha-vig__frames i:nth-child(2) { width: 82%; }
.ha-vig__frames i:nth-child(3) { width: 58%; }

/* ── What's inside ───────────────────────────────────────── */

.ha-inside { padding: 78px 0; }

.ha-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    margin-top: 40px;
}
.ha-col__title {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ha-purple);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ha-purple-soft);
}
.ha-col__list { margin-top: 18px; display: grid; gap: 17px; }
.ha-col__list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    font-size: 13.5px;
    line-height: 1.42;
    color: var(--ha-muted);
}
.ha-col__list svg { color: var(--ha-purple); margin-top: 2px; }
.ha-col__list strong {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ha-ink);
    letter-spacing: -0.012em;
    margin-bottom: 2px;
}

/* ── Trust ───────────────────────────────────────────────── */

.ha-trust { background: var(--ha-ground); border-top: 1px solid var(--ha-line); }
.ha-trust__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 34px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.ha-trust__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 570;
}
.ha-trust__shield { color: var(--ha-purple); }
.ha-trust__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 13px;
    color: var(--ha-muted);
}
.ha-trust__row li { display: flex; align-items: center; gap: 8px; }
.ha-trust__row li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ha-purple);
    flex: none;
}

/* ── Close ───────────────────────────────────────────────── */

.ha-close { padding: 74px 0; background: var(--ha-tint); border-top: 1px solid var(--ha-line); }
.ha-close__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.ha-close__motto {
    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 640;
    letter-spacing: -0.032em;
    line-height: 1.22;
    max-width: 22ch;
    color: #2b2456;
}
.ha-close__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Foot ────────────────────────────────────────────────── */

.ha-foot { border-top: 1px solid var(--ha-line); background: var(--ha-paper); }
.ha-foot__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--ha-muted);
}
.ha-foot__links { display: flex; gap: 20px; }
.ha-foot__links a:hover { color: var(--ha-purple); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1000px) {
    .ha-hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .ha-hero__title { max-width: 17ch; }
    .ha-who__grid { grid-template-columns: 1fr; }
    .ha-proof__grid { grid-template-columns: 1fr; }
    .ha-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; }
    .ha-sec__title { max-width: 28ch; }
}

@media (max-width: 620px) {
    .ha-shell { padding: 0 20px; }
    .ha-hero { padding: 48px 0 56px; }
    .ha-who, .ha-proof, .ha-inside, .ha-close { padding: 54px 0; }
    .ha-cols { grid-template-columns: 1fr; gap: 26px; }
    .ha-swap__row { grid-template-columns: 34px minmax(0, 1fr); padding: 12px 16px; row-gap: 4px; }
    /* The struck "what it replaces" drops under the job rather than being
       squeezed against it. */
    .ha-swap__was { grid-column: 2; text-align: left; }
    .ha-consolidate__head, .ha-consolidate__foot { padding-left: 16px; padding-right: 16px; }
    .ha-close__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .ha-hero__actions .ha-btn, .ha-close__actions .ha-btn { flex: 1 1 auto; }
}
