/* Public homepage v2 (templates/landing_page.html + templates/home/*).
   Everything is scoped to .home-v2 so SEO pages that use landing.css are unaffected. */

.home-v2 {
    --h-ink: #0b1220;
    --h-ink-2: #2b3445;
    --h-muted: #5b6474;
    --h-line: #e5e8ef;
    --h-line-strong: #d4d9e3;
    --h-bg: #ffffff;
    --h-bg-soft: #f5f7fb;
    --h-bg-tint: #eef3ff;
    --h-brand: #2b59e8;
    --h-brand-ink: #1b3fb8;
    --h-brand-soft: rgba(43, 89, 232, 0.1);
    --h-accent: #0fa47a;
    --h-accent-soft: rgba(15, 164, 122, 0.12);
    --h-violet: #6d4ae6;
    --h-violet-soft: rgba(109, 74, 230, 0.1);
    --h-amber: #d97706;
    --h-navy: #0b1120;
    --h-navy-2: #111a33;
    --h-on-dark: #e6ebf5;
    --h-on-dark-muted: rgba(214, 222, 238, 0.72);
    --h-radius-sm: 10px;
    --h-radius: 16px;
    --h-radius-lg: 24px;
    --h-shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.06);
    --h-shadow-sm: 0 1px 3px rgba(11, 18, 32, 0.06), 0 4px 12px rgba(11, 18, 32, 0.04);
    --h-shadow-md: 0 2px 6px rgba(11, 18, 32, 0.06), 0 12px 32px rgba(11, 18, 32, 0.08);
    --h-shadow-lg: 0 4px 12px rgba(11, 18, 32, 0.06), 0 28px 64px -12px rgba(11, 18, 32, 0.22);
    --h-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
    --h-body: "Inter", system-ui, -apple-system, sans-serif;
    --h-section-y: clamp(4rem, 8vw, 7rem);
    --h-nav-h: 64px;

    color: var(--h-ink-2);
    background: var(--h-bg);
    font-family: var(--h-body);
    width: 100%;
    max-width: 100%;
    margin-top: -1.5rem;
    overflow-x: clip;
}

[data-bs-theme="dark"] .home-v2 {
    --h-ink: #f1f4fa;
    --h-ink-2: #cdd4e1;
    --h-muted: #98a2b5;
    --h-line: #262d3b;
    --h-line-strong: #333b4c;
    --h-bg: #0e131d;
    --h-bg-soft: #121927;
    --h-bg-tint: #141d33;
    --h-brand: #6d8ff5;
    --h-brand-ink: #9db3ff;
    --h-brand-soft: rgba(109, 143, 245, 0.14);
    --h-accent: #34d399;
    --h-accent-soft: rgba(52, 211, 153, 0.14);
    --h-violet: #a48bff;
    --h-violet-soft: rgba(164, 139, 255, 0.14);
    --h-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --h-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
    --h-shadow-lg: 0 28px 64px -12px rgba(0, 0, 0, 0.6);
}

/* Full-bleed: base.html wraps content in .container.mt-4 */
body:has(.home-v2) .main-content > .container.mt-4:has(.home-v2) {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
body:has(.home-v2),
body:has(.home-v2) .page-container,
body:has(.home-v2) .main-content {
    overflow-x: clip;
    max-width: 100%;
}
body:has(.home-v2) .page-container {
    padding-left: 0;
    padding-right: 0;
}

.home-v2 h1, .home-v2 h2, .home-v2 h3, .home-v2 h4 {
    font-family: var(--h-display);
    color: var(--h-ink);
    letter-spacing: -0.022em;
}
.home-v2 a { color: var(--h-brand); }
.home-v2 a:hover { color: var(--h-brand-ink); }
.home-v2 :focus-visible {
    outline: 3px solid var(--h-brand);
    outline-offset: 2px;
    border-radius: 6px;
}

.hv-section { padding: var(--h-section-y) 0; position: relative; }
.hv-section-soft { background: var(--h-bg-soft); }
.hv-section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.hv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--h-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--h-brand);
    margin-bottom: 0.9rem;
}
.hv-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.6;
}
.hv-h2 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hv-lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--h-muted);
    max-width: 44rem;
}
.hv-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.hv-head.text-center .hv-lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--h-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: 0.95rem 1.4rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}
.hv-btn:hover { transform: translateY(-1px); text-decoration: none; }
.hv-btn-primary {
    background: var(--h-brand);
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.12), 0 8px 20px -6px rgba(43, 89, 232, 0.55);
}
.hv-btn-primary:hover { background: var(--h-brand-ink); color: #fff !important; }
.hv-btn-dark {
    background: var(--h-ink);
    color: var(--h-bg) !important;
}
.hv-btn-dark:hover { background: #1c2536; color: #fff !important; }
[data-bs-theme="dark"] .hv-btn-dark { background: #f1f4fa; color: #0b1220 !important; }
.hv-btn-ghost {
    background: var(--h-bg);
    color: var(--h-ink) !important;
    border-color: var(--h-line-strong);
    box-shadow: var(--h-shadow-xs);
}
.hv-btn-ghost:hover { border-color: var(--h-brand); color: var(--h-brand-ink) !important; }
.hv-btn-light {
    background: #fff;
    color: #0b1220 !important;
}
.hv-btn-light:hover { background: #eef2ff; color: #0b1220 !important; }
.hv-btn-outline-light {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}
.hv-btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff !important; }
.hv-btn-sm { padding: 0.65rem 1rem; font-size: 0.9rem; border-radius: 10px; }
.hv-link {
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.hv-link:hover { text-decoration: underline; }
.hv-link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: var(--h-brand);
    font-weight: 600;
    cursor: pointer;
}
.hv-link-btn:hover { text-decoration: underline; }

/* ---------------- Hero ---------------- */
.hv-hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 5vw, 4.5rem);
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(43, 89, 232, 0.16), transparent 60%),
        radial-gradient(40rem 26rem at 0% 20%, rgba(15, 164, 122, 0.10), transparent 60%),
        radial-gradient(36rem 24rem at 60% 110%, rgba(109, 74, 230, 0.10), transparent 60%),
        var(--h-bg);
    overflow: hidden;
}
.hv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11, 18, 32, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 18, 32, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
[data-bs-theme="dark"] .hv-hero::before {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
.hv-hero .container { position: relative; z-index: 1; }
.hv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
    border-radius: 999px;
    background: var(--h-bg);
    border: 1px solid var(--h-line);
    box-shadow: var(--h-shadow-xs);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--h-ink-2);
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.hv-hero-badge:hover { border-color: var(--h-brand); color: var(--h-ink); }
.hv-hero-badge-tag {
    background: var(--h-accent-soft);
    color: var(--h-accent);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.hv-hero h1 {
    font-size: clamp(2.4rem, 4.3vw, 4.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
}
.hv-hero h1 .hv-grad {
    background: linear-gradient(100deg, var(--h-brand) 10%, var(--h-violet) 55%, var(--h-accent) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hv-hero-lede {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--h-muted);
    max-width: 38rem;
    margin-bottom: 2rem;
}
.hv-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hv-hero-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.1rem;
    font-size: 0.92rem;
    color: var(--h-muted);
}
.hv-hero-sub i { color: var(--h-accent); }

.hv-iam {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--h-line-strong);
}
.hv-iam-label { font-size: 0.82rem; font-weight: 600; color: var(--h-muted); margin-bottom: 0.65rem; }
.hv-iam-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hv-iam-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--h-line-strong);
    background: var(--h-bg);
    color: var(--h-ink-2) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.hv-iam-chip:hover,
.hv-iam-chip[aria-current="true"] {
    border-color: var(--h-brand);
    background: var(--h-brand-soft);
    color: var(--h-brand-ink) !important;
    text-decoration: none;
}

/* Hero visual: layered product shots with floating status cards */
.hv-stage {
    position: relative;
    aspect-ratio: 1 / 0.86;
    max-width: 640px;
    margin-left: auto;
}
.hv-frame {
    position: absolute;
    background: var(--h-bg);
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    box-shadow: var(--h-shadow-lg);
    overflow: hidden;
}
.hv-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    background: var(--h-bg-soft);
    border-bottom: 1px solid var(--h-line);
}
.hv-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--h-line-strong); }
.hv-frame-bar em {
    margin-left: 10px;
    font-style: normal;
    font-size: 0.7rem;
    color: var(--h-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.hv-frame img {
    display: block;
    width: 100%;
    height: calc(100% - 28px);
    object-fit: cover;
    object-position: top left;
    cursor: zoom-in;
}
.hv-frame-main { inset: 0 12% 18% 0; z-index: 1; }
.hv-frame-side { width: 72%; right: 0; bottom: -8%; z-index: 2; }
.hv-frame-side img { height: auto; aspect-ratio: 1432 / 836; object-position: top right; }
@media (min-width: 1200px) {
    .hv-frame-side { width: 76%; right: -5%; bottom: -13%; }
}
.hv-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    background: var(--h-bg);
    border: 1px solid var(--h-line);
    border-radius: 14px;
    box-shadow: var(--h-shadow-md);
    font-size: 0.82rem;
    line-height: 1.25;
    color: var(--h-ink-2);
}
.hv-float strong { display: block; color: var(--h-ink); font-family: var(--h-display); font-size: 0.92rem; }
.hv-float-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.hv-float-a { left: -4%; bottom: 10%; }
.hv-float-b { right: 4%; top: -3%; }
.hv-float-icon.is-green { background: var(--h-accent-soft); color: var(--h-accent); }
.hv-float-icon.is-blue { background: var(--h-brand-soft); color: var(--h-brand); }
.hv-float-icon.is-violet { background: var(--h-violet-soft); color: var(--h-violet); }
@media (prefers-reduced-motion: no-preference) {
    .hv-float-a { animation: hv-bob 6s ease-in-out infinite; }
    .hv-float-b { animation: hv-bob 7s ease-in-out -2s infinite; }
}
@keyframes hv-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Trust strip */
.hv-trust {
    border-top: 1px solid var(--h-line);
    border-bottom: 1px solid var(--h-line);
    background: var(--h-bg);
    padding: 1.15rem 0;
}
.hv-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hv-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--h-ink-2);
}
.hv-trust-list i { color: var(--h-brand); font-size: 1.05rem; }

/* ---------------- Audience switcher ---------------- */
.hv-switch-bar {
    position: sticky;
    top: var(--h-nav-h);
    z-index: 1010;
    background: color-mix(in srgb, var(--h-bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--h-line);
}
.hv-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.6rem 0;
    margin: 0;
}
.hv-tabs::-webkit-scrollbar { display: none; }
.hv-tabs > :first-child { margin-left: auto; }
.hv-tabs > :last-child { margin-right: auto; }
.hv-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--h-muted);
    font-family: var(--h-display);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hv-tab:hover { color: var(--h-ink); background: var(--h-bg-soft); }
.hv-tab[aria-selected="true"] {
    color: var(--h-brand-ink);
    background: var(--h-brand-soft);
    border-color: rgba(43, 89, 232, 0.25);
}
.hv-tabs-label {
    flex: 0 0 auto;
    align-self: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--h-muted);
    margin-right: 0.5rem;
}

.hv-panel { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hv-panel + .hv-panel { border-top: 1px solid var(--h-line); margin-top: clamp(2.5rem, 5vw, 4rem); }
.hv-js .hv-panel + .hv-panel { border-top: 0; margin-top: 0; }
.hv-js .hv-panel:not(.is-active) { display: none !important; }
.hv-panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.1; }
.hv-outcomes { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.hv-outcomes li { display: grid; grid-template-columns: 32px 1fr; gap: 0.85rem; align-items: start; }
.hv-outcomes .hv-check {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--h-accent-soft);
    color: var(--h-accent);
}
.hv-outcomes strong { display: block; color: var(--h-ink); font-family: var(--h-display); }
.hv-outcomes span { color: var(--h-muted); font-size: 0.95rem; }

.hv-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.hv-mini {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-sm);
    text-decoration: none;
    color: var(--h-ink-2) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hv-mini:hover { transform: translateY(-2px); box-shadow: var(--h-shadow-md); border-color: rgba(43, 89, 232, 0.35); text-decoration: none; }
.hv-mini-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: var(--h-bg-soft);
    border: 1px solid var(--h-line);
    margin-bottom: 0.5rem;
}
.hv-mini-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.hv-mini strong { color: var(--h-ink); font-family: var(--h-display); font-size: 0.98rem; }
.hv-quote {
    margin: 1rem 0 0;
    padding: 1.25rem 1.35rem;
    border-radius: var(--h-radius);
    background: var(--h-bg-tint);
    border: 1px solid rgba(43, 89, 232, 0.14);
}
.hv-quote blockquote { margin: 0 0 0.6rem; color: var(--h-ink); font-size: 1rem; line-height: 1.55; }
.hv-quote figcaption { font-size: 0.85rem; color: var(--h-muted); }

/* ---------------- Feature explorer ---------------- */
.hv-pillar-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: var(--h-bg);
    border: 1px solid var(--h-line);
    box-shadow: var(--h-shadow-xs);
    margin-bottom: 2rem;
}
.hv-pillar-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.05rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-family: var(--h-display);
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--h-muted);
    cursor: pointer;
}
.hv-pillar-tab:hover { color: var(--h-ink); }
.hv-pillar-tab[aria-selected="true"] { background: var(--h-ink); color: var(--h-bg); }
[data-bs-theme="dark"] .hv-pillar-tab[aria-selected="true"] { background: #f1f4fa; color: #0b1220; }
.hv-pillar-tab .hv-count {
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--h-bg-soft);
    color: var(--h-muted);
}
.hv-pillar-tab[aria-selected="true"] .hv-count { background: rgba(255, 255, 255, 0.18); color: inherit; }

.hv-pillar + .hv-pillar { margin-top: 3.5rem; }
.hv-js .hv-pillar + .hv-pillar { margin-top: 0; }
.hv-js .hv-pillar:not(.is-active) { display: none !important; }
.hv-pillar-head { margin-bottom: 1.5rem; }
.hv-pillar-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 0.35rem; }
.hv-pillar-head p { color: var(--h-muted); margin: 0; max-width: 40rem; }

.hv-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}
.hv-tool { display: grid; gap: 0.75rem; }
.hv-pane { display: none; }
.hv-tool-head {
    scroll-margin-top: calc(var(--h-nav-h) + 80px);
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: var(--h-bg);
    padding: 1.1rem 1.25rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hv-tool-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
}
.hv-tool-title { font-size: 1.08rem; font-weight: 800; margin: 0; }
.hv-tool-toggle { font: inherit; }
.hv-tool-body p { color: var(--h-muted); margin: 0.6rem 0 0.75rem; font-size: 0.96rem; line-height: 1.55; }
.hv-tool-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hv-tool-body li {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--h-ink-2);
    background: var(--h-bg-soft);
    border: 1px solid var(--h-line);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}
.hv-tool-body li i { color: var(--h-accent); margin-right: 0.25rem; }
.hv-tool-figure {
    margin: 0;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg-soft);
    box-shadow: var(--h-shadow-md);
    overflow: hidden;
}
.hv-tool-figure img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

/* JS-enhanced explorer: collapsible list on the left, active screenshot on the right */
.hv-js .hv-tool-body { display: none; }
.hv-js .hv-tool.is-active .hv-tool-body { display: block; }
.hv-js .hv-tool.is-active .hv-tool-head {
    border-color: rgba(43, 89, 232, 0.4);
    box-shadow: 0 0 0 4px var(--h-brand-soft), var(--h-shadow-sm);
}
.hv-js .hv-tool-figure { display: none; }
.hv-js .hv-tool.is-active .hv-tool-figure { display: block; }
.hv-tool-toggle .hv-chev { transition: transform 0.2s ease; color: var(--h-muted); }
.hv-js .hv-tool.is-active .hv-chev { transform: rotate(90deg); color: var(--h-brand); }

@media (min-width: 992px) {
    .hv-js .hv-explore-grid {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 2.5rem;
        align-items: start;
    }
    .hv-js .hv-tool.is-active .hv-tool-figure { display: none; }
    .hv-js .hv-pane {
        display: block;
        position: sticky;
        top: calc(var(--h-nav-h) + 90px);
    }
    .hv-js .hv-pane .hv-tool-figure { display: block; }
    .hv-js .hv-pane .hv-tool-figure img {
        max-height: 560px;
        object-fit: cover;
        object-position: top left;
    }
    .hv-js .hv-pane .hv-tool-figure.is-portrait img {
        width: auto;
        max-width: 100%;
        max-height: min(700px, calc(100vh - var(--h-nav-h) - 160px));
        margin: 0 auto;
        object-fit: contain;
    }
}
.hv-tool-figure.is-portrait { background: var(--h-bg); }
@media (max-width: 991.98px) {
    .hv-tool-figure.is-portrait img { max-width: 460px; margin: 0 auto; }
}
.hv-tool-figure figcaption {
    font-size: 0.8rem;
    color: var(--h-muted);
    padding: 0.6rem 0.9rem;
    border-top: 1px solid var(--h-line);
    background: var(--h-bg);
}

/* ---------------- How it works ---------------- */
.hv-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: hvstep;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hv-step {
    position: relative;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    overflow: hidden;
    box-shadow: var(--h-shadow-sm);
}
.hv-step-img { aspect-ratio: 2 / 1; background: var(--h-bg-soft); border-bottom: 1px solid var(--h-line); }
.hv-step-img img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.hv-step-body { padding: 1.15rem 1.2rem 1.3rem; }
.hv-step-num {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--h-ink);
    color: var(--h-bg);
    font-family: var(--h-display);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}
[data-bs-theme="dark"] .hv-step-num { background: #f1f4fa; color: #0b1220; }
.hv-step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; }
.hv-step p { font-size: 0.92rem; color: var(--h-muted); margin: 0; line-height: 1.55; }

/* ---------------- Integrity spotlight ---------------- */
.hv-integrity {
    background:
        radial-gradient(40rem 22rem at 100% 0%, var(--h-violet-soft), transparent 60%),
        var(--h-bg-soft);
}
.hv-int-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-sm);
}
.hv-int-card .hv-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.hv-ico.is-blue { background: var(--h-brand-soft); color: var(--h-brand); }
.hv-ico.is-violet { background: var(--h-violet-soft); color: var(--h-violet); }
.hv-ico.is-green { background: var(--h-accent-soft); color: var(--h-accent); }
.hv-int-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.hv-int-card p { color: var(--h-muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.hv-int-card ul { padding-left: 1.1rem; margin: 0 0 1rem; font-size: 0.9rem; color: var(--h-ink-2); }
.hv-int-card ul li { margin-bottom: 0.25rem; }

/* Mock integrity summary card (pure HTML, no screenshot needed) */
.hv-mock {
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-lg);
    padding: 1.4rem;
}
.hv-mock-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.hv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--h-brand-soft);
    color: var(--h-brand-ink);
    font-family: var(--h-display);
    font-weight: 800;
    font-size: 0.85rem;
    flex: 0 0 40px;
}
.hv-mock-head strong { display: block; color: var(--h-ink); font-family: var(--h-display); }
.hv-mock-head small { color: var(--h-muted); }
.hv-mock-rows { display: grid; gap: 0.6rem; }
.hv-mock-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: var(--h-bg-soft);
    border: 1px solid var(--h-line);
    font-size: 0.88rem;
}
.hv-mock-row b { color: var(--h-ink); font-family: var(--h-display); display: block; }
.hv-mock-row span { color: var(--h-muted); font-size: 0.8rem; }
.hv-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.hv-pill.is-green { background: var(--h-accent-soft); color: var(--h-accent); }
.hv-pill.is-amber { background: rgba(217, 119, 6, 0.12); color: var(--h-amber); }
.hv-pill.is-blue { background: var(--h-brand-soft); color: var(--h-brand-ink); }
.hv-meter { height: 6px; border-radius: 6px; background: var(--h-line); overflow: hidden; margin-top: 0.4rem; }
.hv-meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--h-accent), var(--h-brand)); }
.hv-mock-foot {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--h-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---------------- Enterprise band (dark) ---------------- */
.hv-dark {
    background:
        radial-gradient(50rem 26rem at 10% 0%, rgba(43, 89, 232, 0.28), transparent 60%),
        radial-gradient(40rem 24rem at 100% 100%, rgba(109, 74, 230, 0.22), transparent 60%),
        var(--h-navy);
    color: var(--h-on-dark);
}
.hv-dark h2, .hv-dark h3, .hv-dark h4 { color: #fff; }
.hv-dark .hv-lede { color: var(--h-on-dark-muted); }
.hv-dark .hv-eyebrow { color: #93b0ff; }
.hv-ent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--h-radius-lg);
    overflow: hidden;
}
.hv-ent-item {
    background: rgba(11, 17, 32, 0.92);
    padding: 1.4rem 1.3rem;
    transition: background-color 0.2s ease;
}
.hv-ent-item:hover { background: rgba(23, 33, 60, 0.95); }
.hv-ent-item i {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(147, 176, 255, 0.12);
    color: #a9c0ff;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}
.hv-ent-item h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.35rem; }
.hv-ent-item p { font-size: 0.87rem; color: var(--h-on-dark-muted); margin: 0; line-height: 1.5; }
.hv-ent-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    border-radius: var(--h-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hv-ent-cta p { margin: 0; color: var(--h-on-dark-muted); }
.hv-ent-cta strong { color: #fff; font-family: var(--h-display); }

/* ---------------- Demo cards ---------------- */
.hv-demo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    overflow: hidden;
    box-shadow: var(--h-shadow-sm);
}
.hv-demo-shot { aspect-ratio: 16 / 9; overflow: hidden; background: var(--h-bg-soft); border-bottom: 1px solid var(--h-line); }
.hv-demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; cursor: zoom-in; }
.hv-demo-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.hv-demo-body h3 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.hv-demo-body ul { padding-left: 1.1rem; margin: 0; color: var(--h-muted); font-size: 0.94rem; }
.hv-demo-body .hv-btn { align-self: flex-start; margin-top: auto; }
.hv-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--h-brand-soft);
    color: var(--h-brand-ink);
}
.hv-tag.is-violet { background: var(--h-violet-soft); color: var(--h-violet); }

/* ---------------- Proof ---------------- */
.hv-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius-lg);
    background: var(--h-bg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}
.hv-metric { padding: 1.6rem 1.5rem; }
.hv-metric + .hv-metric { border-left: 1px solid var(--h-line); }
.hv-metric b {
    display: block;
    font-family: var(--h-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--h-ink);
    line-height: 1;
    margin-bottom: 0.45rem;
}
.hv-metric span { color: var(--h-muted); font-size: 0.92rem; }
.hv-testimonials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hv-testimonial {
    margin: 0;
    padding: 1.4rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.hv-testimonial.is-match { border-color: rgba(43, 89, 232, 0.45); box-shadow: 0 0 0 4px var(--h-brand-soft); }
.hv-testimonial.is-dim { opacity: 0.6; }
.hv-testimonial blockquote { margin: 0; color: var(--h-ink); font-size: 0.98rem; line-height: 1.55; flex: 1; }
.hv-testimonial figcaption { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; color: var(--h-muted); }
.hv-testimonial figcaption strong { display: block; color: var(--h-ink); }
.hv-testimonial-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hv-testimonial-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--h-bg-soft);
    color: var(--h-muted);
    border: 1px solid var(--h-line);
}
.hv-fineprint { font-size: 0.8rem; color: var(--h-muted); }
.hv-orgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-top: 2rem; }
.hv-orgs span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; color: var(--h-muted); }

/* ---------------- Trust and integrations ---------------- */
.hv-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hv-card {
    padding: 1.4rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    height: 100%;
}
.hv-card i.hv-card-ico { font-size: 1.4rem; color: var(--h-brand); display: block; margin-bottom: 0.8rem; }
.hv-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 0.4rem; }
.hv-card p { font-size: 0.9rem; color: var(--h-muted); margin: 0; }
.hv-proc {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: var(--h-radius);
    background: var(--h-bg-tint);
    border: 1px solid rgba(43, 89, 232, 0.14);
}
.hv-proc ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--h-ink-2); }
.hv-proc ul i { color: var(--h-accent); margin-right: 0.3rem; }
.hv-founder {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--h-muted);
}
.hv-founder img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }

/* ---------------- Pricing ---------------- */
.hv-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.hv-price {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-sm);
}
.hv-price.is-featured {
    border-color: rgba(43, 89, 232, 0.5);
    box-shadow: 0 0 0 4px var(--h-brand-soft), var(--h-shadow-md);
}
.hv-price.is-dark {
    background: var(--h-navy);
    border-color: var(--h-navy);
    color: var(--h-on-dark);
}
.hv-price.is-dark h3, .hv-price.is-dark .hv-price-num { color: #fff; }
.hv-price.is-dark p, .hv-price.is-dark li { color: var(--h-on-dark-muted); }
.hv-price h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.hv-price-num { font-family: var(--h-display); font-size: 2.2rem; font-weight: 800; color: var(--h-ink); letter-spacing: -0.03em; line-height: 1; }
.hv-price-num small { font-size: 0.95rem; font-weight: 600; color: var(--h-muted); letter-spacing: 0; }
.hv-price p { color: var(--h-muted); font-size: 0.93rem; margin: 0; }
.hv-price ul { list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; display: grid; gap: 0.45rem; font-size: 0.92rem; }
.hv-price ul i { color: var(--h-accent); margin-right: 0.4rem; }
.hv-price .hv-btn { margin-top: auto; }
.hv-calc {
    margin-top: 1.5rem;
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    overflow: hidden;
}
.hv-calc > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    font-family: var(--h-display);
    font-weight: 800;
    color: var(--h-ink);
}
.hv-calc > summary::-webkit-details-marker { display: none; }
.hv-calc > summary span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hv-calc > summary .hv-chev { transition: transform 0.2s ease; }
.hv-calc[open] > summary .hv-chev { transform: rotate(90deg); }
.hv-calc-body { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--h-line); padding-top: 1.5rem; }
.hv-calc label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--h-muted); }
.hv-calc .form-control, .hv-calc .form-select { border-radius: 10px; border-color: var(--h-line-strong); }
.home-v2 #resultBox { border-radius: var(--h-radius); opacity: 1; animation: hv-fade-in .4s ease-out; }
@keyframes hv-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- FAQ ---------------- */
.hv-faq { max-width: 52rem; margin: 0 auto; }
.hv-faq-item {
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: var(--h-bg);
    margin-bottom: 0.65rem;
}
.hv-faq-item > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    font-family: var(--h-display);
    font-weight: 700;
    color: var(--h-ink);
}
.hv-faq-item > summary::-webkit-details-marker { display: none; }
.hv-faq-item > summary i { transition: transform 0.2s ease; color: var(--h-muted); }
.hv-faq-item[open] > summary i { transform: rotate(45deg); color: var(--h-brand); }
.hv-faq-item > div { padding: 0 1.3rem 1.2rem; color: var(--h-muted); line-height: 1.6; }
.hv-js .hv-faq-item.is-filtered { display: none; }
.hv-faq-more { display: none; text-align: center; margin-top: 1rem; }
.hv-js .hv-faq.is-filtering + .hv-faq-more { display: block; }

/* Neutral "choose your path" panel */
.hv-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hv-path {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    padding: 1.4rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-sm);
    color: var(--h-ink-2) !important;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hv-path:hover { transform: translateY(-2px); box-shadow: var(--h-shadow-md); border-color: rgba(43, 89, 232, 0.35); text-decoration: none; }
.hv-path i.hv-path-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--h-brand-soft);
    color: var(--h-brand);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}
.hv-path strong { font-family: var(--h-display); font-size: 1.08rem; color: var(--h-ink); }
.hv-path span { font-size: 0.9rem; color: var(--h-muted); flex: 1; }
.hv-path em { font-style: normal; font-weight: 700; font-size: 0.88rem; color: var(--h-brand); }
@media (max-width: 991.98px) { .hv-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hv-paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Closing ---------------- */
.hv-close { text-align: center; }
.hv-close h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.05; margin-bottom: 1rem; }
.hv-close .hv-lede { margin: 0 auto 2rem; }
.hv-close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hv-close-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    text-align: left;
}
.hv-close-path {
    padding: 1.35rem;
    border-radius: var(--h-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hv-close-path h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; }
.hv-close-path p { font-size: 0.9rem; color: var(--h-on-dark-muted); margin-bottom: 0.75rem; }
.hv-close-path a { color: #a9c0ff; font-weight: 700; text-decoration: none; }
.hv-close-path a:hover { color: #fff; text-decoration: underline; }
.hv-resources {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.4rem;
    font-size: 0.88rem;
}
.hv-resources a { color: var(--h-on-dark-muted); text-decoration: none; }
.hv-resources a:hover { color: #fff; text-decoration: underline; }

/* Mobile sticky CTA */
.hv-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    gap: 0.5rem;
    padding: 0.6rem max(0.75rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--h-bg) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--h-line);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}
.hv-sticky.is-visible { transform: translateY(0); }
.hv-sticky .hv-btn { flex: 1; padding: 0.8rem 0.75rem; font-size: 0.92rem; }

/* Reveal on scroll (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
    .hv-js .hv-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .hv-js .hv-reveal.is-in { opacity: 1; transform: none; }
}

#hv-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 9999;
    background: linear-gradient(90deg, var(--h-brand), var(--h-violet), var(--h-accent));
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1199.98px) {
    .hv-ent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hv-testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .hv-stage { margin: 2.5rem auto 0; max-width: 560px; }
    .hv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-price-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-close-paths { grid-template-columns: minmax(0, 1fr); }
    .hv-ent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-sticky { display: flex; }
    body:has(.hv-sticky) .footer { padding-bottom: 6rem !important; }
    body:has(.hv-sticky.is-visible) #back-to-top { bottom: 5.5rem !important; }
}
@media (max-width: 767.98px) {
    .hv-hero h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
    .hv-hero-actions .hv-btn { flex: 1 1 100%; }
    .hv-float-a { left: 0; bottom: 4%; }
    .hv-float-b { display: none; }
    .hv-mini-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-steps { grid-template-columns: minmax(0, 1fr); }
    .hv-card-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-metrics { grid-template-columns: minmax(0, 1fr); }
    .hv-metric + .hv-metric { border-left: 0; border-top: 1px solid var(--h-line); }
    .hv-testimonials { grid-template-columns: minmax(0, 1fr); }
    .hv-ent-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-pillar-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .hv-pillar-tab { flex: 0 0 auto; }
    .hv-tabs-label { display: none; }
    .hv-ent-cta, .hv-proc { flex-direction: column; align-items: flex-start; }
}

/* ---------------- About page ---------------- */
.hv-about-hero {
    background:
        radial-gradient(42rem 22rem at 8% -10%, rgba(43, 89, 232, 0.12), transparent 60%),
        radial-gradient(36rem 20rem at 100% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
        linear-gradient(180deg, var(--h-bg-soft) 0%, var(--h-bg) 100%);
}
.hv-about-hero-inner { max-width: 46rem; }
.hv-about-hero h1 {
    font-family: var(--h-display);
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}
.hv-about-facts {
    list-style: none;
    padding: 0;
    margin: 2.25rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.hv-about-facts li {
    padding: 1rem 1.1rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    box-shadow: var(--h-shadow-sm);
}
.hv-about-fact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--h-muted);
    margin-bottom: 0.35rem;
}
.hv-about-facts strong {
    font-family: var(--h-display);
    font-size: 0.98rem;
    color: var(--h-ink);
}

.hv-about-founder {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}
.hv-about-founder-photo img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--h-line);
    box-shadow: var(--h-shadow-lg);
    display: block;
}
.hv-about-lede-wide { max-width: none; margin-bottom: 1rem; }
.hv-about-founder-copy > p { color: var(--h-ink-2); line-height: 1.65; font-size: 1.05rem; }
.hv-about-signoff {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--h-ink);
}

.hv-card-grid.hv-about-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hv-about-pillars {
    display: grid;
    gap: 0.85rem;
    max-width: 52rem;
    margin: 0 auto;
}
.hv-about-pillar {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hv-about-pillar:hover {
    border-color: rgba(43, 89, 232, 0.35);
    box-shadow: var(--h-shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}
.hv-about-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--h-brand-soft);
    color: var(--h-brand);
    font-size: 1.25rem;
}
.hv-about-pillar-body { display: grid; gap: 0.2rem; min-width: 0; }
.hv-about-pillar-body strong {
    font-family: var(--h-display);
    font-size: 1.05rem;
    color: var(--h-ink);
}
.hv-about-pillar-body span { font-size: 0.9rem; color: var(--h-muted); line-height: 1.4; }
.hv-about-pillar > .bi-arrow-right { color: var(--h-muted); }

.hv-about-timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 44rem;
    position: relative;
}
.hv-about-timeline::before {
    content: "";
    position: absolute;
    left: 7.25rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: var(--h-line-strong);
}
.hv-about-timeline li {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1.75rem;
    position: relative;
    padding-bottom: 1.75rem;
}
.hv-about-timeline li:last-child { padding-bottom: 0; }
.hv-about-timeline time {
    text-align: right;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--h-muted);
    padding-top: 0.15rem;
}
.hv-about-timeline li > div {
    position: relative;
    padding: 1.1rem 1.25rem;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
}
.hv-about-timeline li > div::before {
    content: "";
    position: absolute;
    left: -1.05rem;
    top: 1.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--h-brand);
    border: 2px solid var(--h-bg);
    box-shadow: 0 0 0 2px rgba(43, 89, 232, 0.25);
}
.hv-about-timeline h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}
.hv-about-timeline p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--h-muted);
    line-height: 1.55;
}

.hv-about-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.hv-about-data-grid article {
    padding: 1.35rem 1.4rem;
    border-radius: var(--h-radius);
    background: rgba(11, 17, 32, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hv-about-data-grid h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.45rem; }
.hv-about-data-grid p { margin: 0; font-size: 0.94rem; color: var(--h-on-dark-muted); line-height: 1.55; }
.hv-about-legal-links {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}
.hv-about-legal-links a {
    color: #c7d6ff !important;
    font-weight: 600;
    text-decoration: none;
}
.hv-about-legal-links a:hover { text-decoration: underline; color: #fff !important; }

.hv-about-company {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}
.hv-about-dl { margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.hv-about-dl div {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--h-line);
}
.hv-about-dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.hv-about-dl dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--h-muted);
    margin-bottom: 0.25rem;
}
.hv-about-dl dd { margin: 0; color: var(--h-ink); font-weight: 600; line-height: 1.5; }
.hv-about-close {
    padding: 1.6rem;
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg-soft);
}
.hv-about-close h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.hv-about-close > p { color: var(--h-muted); margin-bottom: 1.25rem; }
.hv-about-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.hv-about-close-actions .hv-btn { white-space: normal; }

@media (max-width: 991.98px) {
    .hv-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-about-founder { grid-template-columns: minmax(0, 1fr); }
    .hv-about-founder-photo img { margin: 0 auto; }
    .hv-card-grid.hv-about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-about-company { grid-template-columns: minmax(0, 1fr); }
    .hv-about-timeline::before { left: 0.35rem; }
    .hv-about-timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; padding-left: 1.5rem; }
    .hv-about-timeline time { text-align: left; }
    .hv-about-timeline li > div::before { left: -1.3rem; }
}
@media (max-width: 575.98px) {
    .hv-about-facts { grid-template-columns: minmax(0, 1fr); }
    .hv-card-grid.hv-about-principles { grid-template-columns: minmax(0, 1fr); }
    .hv-about-data-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-about-pillar { grid-template-columns: 40px minmax(0, 1fr); }
    .hv-about-pillar > .bi-arrow-right { display: none; }
}

/* Data commitments + universities pages */
.hv-data-hero h1,
.hv-uni-hero h1 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 18ch;
    margin: 0.35rem 0 1rem;
}
.hv-data-hero .hv-lede,
.hv-uni-hero .hv-lede { max-width: 42rem; }
.hv-data-hero-actions,
.hv-uni-hero-actions,
.hv-data-close-actions,
.hv-uni-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.hv-data-table-wrap {
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: var(--h-bg);
    overflow: hidden;
}
.hv-data-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.94rem;
}
.hv-data-table th,
.hv-data-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--h-line);
}
.hv-data-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--h-muted);
    background: var(--h-bg-soft);
}
.hv-data-table tr:last-child td { border-bottom: 0; }
.hv-data-footnote {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--h-muted);
}
.hv-data-checklist {
    margin: 0 0 1.25rem;
    padding-left: 1.2rem;
    max-width: 46rem;
}
.hv-data-checklist li {
    margin-bottom: 0.75rem;
    line-height: 1.55;
    color: var(--h-ink);
}
.hv-uni-data-band {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--h-radius-lg);
    border: 1px solid var(--h-line);
    background: var(--h-bg);
}
.hv-uni-data-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
}
.hv-uni-data-actions .hv-btn { justify-content: center; text-align: center; }

@media (max-width: 991.98px) {
    .hv-uni-data-band { grid-template-columns: minmax(0, 1fr); }
    .hv-data-hero h1,
    .hv-uni-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 *, .home-v2 *::before, .home-v2 *::after { transition: none !important; animation: none !important; }
}
