/* ==========================================================================
   Schrodingo homepage v2 (Oct 2026)
   White + soft grey surfaces, charcoal type, restrained purple accents.
   Everything is namespaced under .hp so it cannot leak into other pages,
   and it deliberately avoids .container / .hero-content / .hero-buttons,
   which legacy scripts force to display:block on mobile.
   ========================================================================== */

:root {
    --hp-white: #FFFFFF;
    --hp-grey: #F6F7F9;
    --hp-ink: #191B23;
    --hp-ink-2: #3B3F4C;
    --hp-muted: #6B7280;
    --hp-border: #E6E8EE;
    --hp-purple: #6D5EF5;
    --hp-purple-dark: #5446D9;
    --hp-purple-soft: #F0EEFF;
    --hp-purple-text: #5446D9; /* purple for small text: 6.4:1 on white, AA on grey and lilac */
    --hp-green: #12B76A;
    --hp-amber: #F79009;
    --hp-red: #F04438;
    --hp-blue: #2E90FA;
    --hp-radius: 12px;
    --hp-radius-sm: 8px;
    --hp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
    --hp-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --hp-max: 1200px;
    --hp-header-h: 64px;
}

body.hp {
    margin: 0;
    background: var(--hp-white);
    color: var(--hp-ink);
    font-family: var(--hp-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
:where(.hp) img { max-width: 100%; height: auto; display: block; }
:where(.hp) a { color: var(--hp-purple-text); text-decoration: none; }
:where(.hp) a:hover { text-decoration: underline; }
:where(.hp) :where(h1, h2, h3, h4) { color: var(--hp-ink); margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
:where(.hp) p { margin: 0; }
:where(.hp) ul { margin: 0; padding: 0; list-style: none; }

.hp :focus-visible {
    outline: 3px solid rgba(109, 94, 245, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

.hp-skip {
    position: absolute; left: -9999px; top: 8px; z-index: 10002;
    background: var(--hp-ink); color: #fff !important; padding: 8px 14px; border-radius: 8px;
}
.hp-skip:focus { left: 12px; }

html:has(body.hp) { scroll-behavior: smooth; }
.hp main [id] { scroll-margin-top: calc(var(--hp-header-h) + 16px); }
.hp-wrap { width: 100%; max-width: var(--hp-max); margin: 0 auto; padding: 0 24px; }
.hp-section { padding: 88px 0; }
.hp-section--grey { background: var(--hp-grey); border-top: 1px solid var(--hp-border); border-bottom: 1px solid var(--hp-border); }
.hp-section--tight { padding: 64px 0; }

.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
    color: var(--hp-purple-text); margin-bottom: 12px;
}
.hp-h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 750; }
.hp-lead { color: var(--hp-muted); font-size: 1.0625rem; margin-top: 12px; max-width: 640px; }
.hp-head { margin-bottom: 40px; }
.hp-head--center { text-align: center; }
.hp-head--center .hp-lead { margin-left: auto; margin-right: auto; }
.hp-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 20px;
    font: 600 .9375rem/1 var(--hp-font);
    border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hp a.hp-btn:hover { text-decoration: none; }
.hp-btn--primary { background: var(--hp-purple); color: #fff !important; }
.hp-btn--primary:hover { background: var(--hp-purple-dark); }
.hp-btn--ghost { background: #fff; color: var(--hp-ink) !important; border-color: var(--hp-border); }
.hp-btn--ghost:hover { border-color: #CDD1DB; background: var(--hp-grey); }
.hp-btn--sm { min-height: 38px; padding: 0 14px; font-size: .875rem; border-radius: 8px; }
.hp-btn--block { width: 100%; }
.hp-link { font-weight: 600; font-size: .9375rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.hp-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--hp-border);
    backdrop-filter: saturate(180%) blur(8px);
}
.hp-header__bar { display: flex; align-items: center; gap: 24px; height: var(--hp-header-h); }
.hp-logo { display: flex; flex-direction: column; line-height: 1.1; color: var(--hp-ink) !important; }
.hp-logo:hover { text-decoration: none !important; }
.hp-logo__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.hp-logo__name span { color: var(--hp-purple); }
.hp-logo__tag { font-size: .6875rem; color: var(--hp-muted); letter-spacing: .04em; }

/* .nav-menu / .nav-link / .hamburger class names are kept because
   mobile-nav-fix.js toggles them. Old styles.css rules are overridden here. */
.hp-header .nav-menu {
    display: flex; align-items: center; gap: 4px; margin: 0 0 0 8px; padding: 0;
    position: static; background: none; box-shadow: none; width: auto; height: auto;
    flex-direction: row; transform: none; left: auto; top: auto;
}
.hp-header .nav-menu li { margin: 0; padding: 0; border: 0; }
.hp-header .nav-link {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--hp-ink-2) !important; font-weight: 500; font-size: .9375rem;
    background: none;
}
.hp-header .nav-link:hover { background: var(--hp-grey); color: var(--hp-ink) !important; text-decoration: none; }
.hp-header .nav-link[aria-current="page"] { color: var(--hp-purple) !important; }
.hp-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hp-header .header-login-btn {
    background: none; border: 1px solid var(--hp-border); color: var(--hp-ink);
    font: 600 .875rem/1 var(--hp-font); min-height: 38px; padding: 0 14px; border-radius: 8px; cursor: pointer;
}
.hp-header .header-login-btn:hover { background: var(--hp-grey); }
/* Logged-in user menu. The homepage does not load mobile-nav-fix.css (its
   !important mobile menu fights this design), so the pieces it provided
   for the user menu live here. Markup and behaviour are unchanged. */
.hp-header .user-nav {
    display: flex; align-items: center; gap: 8px; cursor: pointer; position: relative;
    padding: 5px 12px 5px 6px; border-radius: 999px;
    background: var(--hp-grey); border: 1px solid var(--hp-border); color: var(--hp-ink);
}
.hp-header .user-nav-avatar {
    width: 28px; height: 28px; border-radius: 50%; background: var(--hp-purple);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.hp-header .user-nav-avatar i { font-size: .75rem; color: #fff; }
.hp-header .user-nav-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hp-header .user-nav-name { font-size: .875rem; font-weight: 600; color: var(--hp-ink); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp .user-dropdown {
    display: none; position: fixed; top: 60px; right: 20px; background: #fff;
    border: 1px solid var(--hp-border); border-radius: 12px; padding: 6px; min-width: 200px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .12); z-index: 999999;
}
.hp .user-dropdown.show { display: block; }
.hp .user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--hp-ink-2) !important; border-radius: 8px; font-size: .9rem; }
.hp .user-dropdown a:hover { background: var(--hp-purple-soft); color: var(--hp-purple) !important; text-decoration: none; }
.hp .user-dropdown a i { width: 16px; text-align: center; color: var(--hp-purple); }
.hp .user-dropdown a:last-child { color: #D92D20 !important; border-top: 1px solid var(--hp-border); margin-top: 4px; }
.hp .user-dropdown a:last-child i { color: #D92D20; }
@media (max-width: 640px) {
    .hp-header .user-nav-name { display: none; }
    .hp-header .user-nav { padding: 4px; }
    .hp .user-dropdown { right: 12px; }
}
.hp-header .hamburger {
    display: none; width: 40px; height: 40px; border: 1px solid var(--hp-border); border-radius: 8px;
    background: #fff; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.hp-header .hamburger span { display: block; width: 18px; height: 2px; background: var(--hp-ink); border-radius: 2px; margin: 0; }

@media (max-width: 1024px) {
    .hp-header .hp-header__cta { display: none; }
    .hp-header .hamburger { display: inline-flex; }
    .hp-header .nav-menu {
        display: none; position: absolute; top: var(--hp-header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; margin: 0;
        background: #fff; border-bottom: 1px solid var(--hp-border);
        box-shadow: 0 12px 24px rgba(16, 24, 40, .08); padding: 8px 16px 16px;
        max-height: calc(100vh - var(--hp-header-h)); overflow-y: auto;
    }
    .hp-header .nav-menu.open,
    .hp-header .nav-menu.mobile-active,
    .hp-header .nav-menu.active { display: flex; animation: none; border-radius: 0; overflow-y: auto; }
    .hp-header .nav-menu li { width: 100%; }
    .hp-header .nav-link { padding: 12px 8px; border-bottom: 1px solid var(--hp-border); border-radius: 0; }
    .hp-header .nav-menu li:last-child .nav-link { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hp-hero { padding: 56px 0 72px; background: linear-gradient(180deg, #FBFBFD 0%, #FFFFFF 100%); border-bottom: 1px solid var(--hp-border); }
.hp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hp-hero__kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
    border: 1px solid var(--hp-border); border-radius: 999px; background: #fff;
    font-size: .8125rem; color: var(--hp-ink-2); font-weight: 500; margin-bottom: 20px;
}
.hp-hero__kicker i { color: var(--hp-purple); }
.hp-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.hp-hero h1 em { font-style: normal; color: var(--hp-purple); } /* large text: 3:1 is enough */
.hp-hero__sub { margin-top: 18px; font-size: 1.125rem; color: var(--hp-muted); max-width: 560px; }
.hp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hp-hero__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 32px; max-width: 540px; }
.hp-hero__points li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--hp-ink-2); }
.hp-hero__points i { color: var(--hp-purple); margin-top: 4px; font-size: .875rem; }
.hp-hero__note { margin-top: 20px; font-size: .8125rem; color: var(--hp-muted); }

/* ---------- Hero screenshot (real test interface) ---------- */
.hp-hero__shot { margin: 0; border: 1px solid var(--hp-border); border-radius: 14px; overflow: hidden; box-shadow: var(--hp-shadow); background: #fff; }
.hp-hero__shot img { width: 100%; height: auto; aspect-ratio: 1392 / 856; }
.hp-hero__visual { position: relative; padding-bottom: 56px; }
.hp-callout {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0;
    background: #fff; border: 1px solid var(--hp-border); border-radius: 999px; padding: 8px 14px;
    font-size: .8125rem; font-weight: 600; color: var(--hp-ink); box-shadow: var(--hp-shadow); white-space: nowrap;
}
.hp-callout i { color: var(--hp-purple); }
.hp-callout--palette { top: 9%; right: -14px; }
.hp-callout--marking { top: 40%; left: -22px; }
.hp-after {
    position: absolute; z-index: 2; left: 30%; bottom: 0; width: 46%; min-width: 250px;
    background: #fff; border: 1px solid var(--hp-border); border-radius: 12px; box-shadow: var(--hp-shadow); padding: 12px 14px;
}
.hp-after__head { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; font-weight: 600; margin-bottom: 8px; }
.hp-after__head i { color: var(--hp-purple); margin-right: 4px; }
.hp-after__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hp-after__kpis div { background: var(--hp-grey); border-radius: 8px; padding: 6px 8px; }
.hp-after__kpis small { display: block; font-size: .625rem; color: var(--hp-muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-after__kpis strong { font-size: 1rem; }
.hp-after__kpis strong span { font-size: .6875rem; color: var(--hp-muted); font-weight: 500; }
@media (max-width: 1100px) {
    .hp-callout--palette { right: 8px; }
    .hp-callout--marking { left: 8px; }
}
@media (max-width: 640px) {
    .hp-hero__visual { padding-bottom: 0; }
    .hp-callout { display: none; }
    .hp-after { position: relative; left: auto; bottom: auto; width: auto; min-width: 0; margin: -18px 12px 0; }
}

/* ---------- Report preview card (analysis section) ---------- */
.hp-shot {
    position: relative; background: #fff; border: 1px solid var(--hp-border);
    border-radius: 14px; box-shadow: var(--hp-shadow); overflow: hidden;
    font-size: 12px; line-height: 1.4; color: var(--hp-ink);
}

.hp-report__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hp-report__head b { font-size: 12px; }
.hp-report__sample { font-size: 9.5px; color: var(--hp-muted); border: 1px dashed #CDD1DB; border-radius: 999px; padding: 1px 7px; }
.hp-report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.hp-report__kpis div { background: var(--hp-grey); border-radius: 8px; padding: 6px 8px; }
.hp-report__kpis small { display: block; font-size: 9px; color: var(--hp-muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-report__kpis strong { font-size: 14px; }
.hp-bars { display: grid; gap: 7px; }
.hp-bar { display: grid; grid-template-columns: 64px 1fr 34px; align-items: center; gap: 8px; font-size: 10.5px; }
.hp-bar__track { height: 7px; border-radius: 999px; background: #EEF0F4; overflow: hidden; display: flex; }
.hp-bar__track i { display: block; height: 100%; }
.hp-bar__track .ok { background: var(--hp-green); }
.hp-bar__track .bad { background: var(--hp-red); }
.hp-bar__track .skip { background: #D0D5DD; }
.hp-bar b { text-align: right; font-weight: 600; color: var(--hp-ink-2); }

/* ---------- Exam selector ---------- */
.hp-exams { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hp-exam-card {
    display: flex; align-items: center; gap: 12px; padding: 16px;
    background: #fff; border: 1px solid var(--hp-border); border-radius: var(--hp-radius);
    color: var(--hp-ink) !important; transition: border-color .15s ease, box-shadow .15s ease;
}
.hp-exam-card:hover { border-color: #C9C3FB; box-shadow: 0 4px 14px rgba(109, 94, 245, .08); text-decoration: none !important; }
.hp-exam-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--hp-purple-soft); color: var(--hp-purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-exam-card strong { display: block; font-size: .9375rem; }
.hp-exam-card small { display: block; color: var(--hp-muted); font-size: .8125rem; }

/* ---------- Product cards ---------- */
.hp-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--hp-border); border-radius: 10px; background: #fff; }
.hp-tabs button {
    font: 600 .875rem/1 var(--hp-font); padding: 9px 14px; border-radius: 7px; border: 0;
    background: none; color: var(--hp-muted); cursor: pointer;
}
.hp-tabs button[aria-pressed="true"] { background: var(--hp-purple-soft); color: var(--hp-purple-text); }
.hp-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-product {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius); padding: 24px;
}
.hp-product[hidden] { display: none; }
.hp-product--featured { border-color: #C9C3FB; box-shadow: 0 0 0 1px #C9C3FB inset; }
.hp-product__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hp-product__exam { font-size: .8125rem; font-weight: 600; color: var(--hp-purple-text); }
.hp-product__flag { font-size: .75rem; font-weight: 600; color: var(--hp-ink-2); background: var(--hp-grey); border: 1px solid var(--hp-border); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.hp-product h3 { font-size: 1.1875rem; margin-top: 6px; }
.hp-product__price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; }
.hp-product__price strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.hp-product__price s { color: var(--hp-muted); font-size: .9375rem; }
.hp-product__pricenote { font-size: .8125rem; color: var(--hp-muted); }
.hp-product__list { margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.hp-product__list li { display: flex; gap: 10px; font-size: .9375rem; color: var(--hp-ink-2); }
.hp-product__list i { color: var(--hp-green); margin-top: 5px; font-size: .8125rem; }
.hp-product__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp-products__more { text-align: center; margin-top: 32px; }

/* ---------- Feature grid ---------- */
.hp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hp-border); border: 1px solid var(--hp-border); border-radius: var(--hp-radius); overflow: hidden; }
.hp-feature { background: #fff; padding: 28px; }
.hp-feature__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--hp-purple-soft); color: var(--hp-purple); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hp-feature h3 { font-size: 1.0625rem; }
.hp-feature p { color: var(--hp-muted); font-size: .9375rem; margin-top: 8px; }
.hp-feature a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .875rem; }

/* ---------- Analysis showcase ---------- */
.hp-analysis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hp-analysis__list { display: grid; gap: 18px; margin-top: 28px; }
.hp-analysis__list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.hp-analysis__list i { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--hp-border); color: var(--hp-purple); display: flex; align-items: center; justify-content: center; }
.hp-analysis__list strong { display: block; font-size: 1rem; }
.hp-analysis__list span { color: var(--hp-muted); font-size: .9375rem; }
.hp-report-big { padding: 18px; font-size: 12px; }
.hp-report-big .hp-report__kpis { grid-template-columns: repeat(4, 1fr); }
.hp-report-big .hp-report__kpis strong { font-size: 18px; }
.hp-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.hp-report-card { border: 1px solid var(--hp-border); border-radius: 10px; padding: 12px; }
.hp-report-card h4 { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); margin-bottom: 10px; font-weight: 600; }
.hp-quality { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp-quality div { border-radius: 8px; padding: 7px 8px; font-size: 10.5px; color: var(--hp-ink-2); background: var(--hp-grey); }
.hp-quality strong { display: block; font-size: 15px; color: var(--hp-ink); }
.hp-heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hp-heat span { aspect-ratio: 1.6; border-radius: 4px; }
.hp-time { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hp-time div { background: var(--hp-grey); border-radius: 8px; padding: 6px; text-align: center; }
.hp-time small { display: block; font-size: 8.5px; color: var(--hp-muted); letter-spacing: .04em; text-transform: uppercase; }
.hp-time strong { font-size: 13px; }
.hp-caption { margin-top: 12px; font-size: .8125rem; color: var(--hp-muted); text-align: center; }

/* ---------- Resources ---------- */
.hp-resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-resource { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--hp-border); border-radius: var(--hp-radius); background: #fff; }
.hp-resource__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--hp-grey); border: 1px solid var(--hp-border); color: var(--hp-ink-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-resource h3 { font-size: 1rem; }
.hp-resource p { font-size: .875rem; color: var(--hp-muted); margin-top: 4px; }
.hp-resource a { display: inline-block; margin-top: 10px; font-size: .875rem; font-weight: 600; }

/* ---------- Results and trust ---------- */
.hp-results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hp-result { background: #fff; border: 1px solid var(--hp-border); border-radius: var(--hp-radius); padding: 18px; text-align: center; }
.hp-result strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.hp-result span { display: block; font-size: .8125rem; color: var(--hp-muted); }
.hp-result b { display: block; margin-top: 8px; font-size: .9375rem; }
.hp-results__note { margin-top: 14px; font-size: .8125rem; color: var(--hp-muted); text-align: center; }
.hp-trust { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; margin-top: 48px; }
.hp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp-stat { border: 1px solid var(--hp-border); border-radius: var(--hp-radius); padding: 18px; background: #fff; }
.hp-stat strong { display: block; font-size: 1.5rem; font-weight: 800; }
.hp-stat span { color: var(--hp-muted); font-size: .875rem; }
.hp-video { aspect-ratio: 9 / 16; width: 100%; max-width: 260px; border-radius: var(--hp-radius); overflow: hidden; border: 1px solid var(--hp-border); background: var(--hp-grey); position: relative; }
.hp-video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; color: var(--hp-ink); font-weight: 600; background: var(--hp-grey); }
.hp-video button i { width: 56px; height: 56px; border-radius: 50%; background: var(--hp-purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; padding-left: 3px; }
.hp-video button:focus-visible { outline: 3px solid rgba(109, 94, 245, .45); outline-offset: -3px; }
.hp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hp-colleges { margin-top: 40px; text-align: center; }
.hp-colleges p { font-size: .875rem; color: var(--hp-muted); margin-bottom: 14px; }
.hp-colleges ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hp-colleges li { font-size: .8125rem; font-weight: 600; color: var(--hp-ink-2); border: 1px solid var(--hp-border); border-radius: 999px; padding: 6px 12px; background: #fff; }
.hp-testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.hp-quote { border: 1px solid var(--hp-border); border-radius: var(--hp-radius); padding: 22px; background: #fff; }
.hp-quote p { color: var(--hp-ink-2); font-size: .9375rem; }
.hp-quote footer { margin-top: 14px; font-size: .875rem; }
.hp-quote footer span { display: block; color: var(--hp-muted); font-size: .8125rem; }

/* ---------- Combos ---------- */
.hp-combos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-combo__exams { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hp-combo__exams span { font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--hp-purple-soft); color: var(--hp-purple-text); }

/* ---------- Long-form SEO content ---------- */
.hp-prose { max-width: 820px; margin: 0 auto; color: var(--hp-ink-2); }
.hp-prose h2 { text-align: center; margin-bottom: 24px; }
.hp-prose h3 { font-size: 1.125rem; margin: 28px 0 8px; }
.hp-prose p { margin-top: 8px; }

/* ---------- FAQ ---------- */
.hp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.hp-faq details { border: 1px solid var(--hp-border); border-radius: var(--hp-radius-sm); background: #fff; }
.hp-faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--hp-muted); font-weight: 400; }
.hp-faq details[open] summary::after { content: '\2212'; }
.hp-faq details p { padding: 0 18px 16px; color: var(--hp-muted); }

/* ---------- Closing CTA ---------- */
.hp-cta { border: 1px solid var(--hp-border); border-radius: 16px; background: var(--hp-grey); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hp-cta h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); }
.hp-cta p { color: var(--hp-muted); margin-top: 8px; }
.hp-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.hp-footer { border-top: 1px solid var(--hp-border); background: #fff; padding: 56px 0 28px; font-size: .9375rem; }
.hp-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.hp-footer h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hp-muted); margin-bottom: 14px; font-weight: 600; }
.hp-footer li { margin-bottom: 9px; }
.hp-footer a { color: var(--hp-ink-2) !important; }
.hp-footer a:hover { color: var(--hp-purple) !important; }
.hp-footer__brand p { color: var(--hp-muted); margin-top: 10px; font-size: .875rem; }
.hp-footer__contact { margin-top: 14px; display: grid; gap: 6px; font-size: .875rem; }
.hp-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.hp-footer__social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--hp-border); display: flex; align-items: center; justify-content: center; }
.hp-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hp-border); color: var(--hp-muted); font-size: .8125rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hp-exams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hp-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hp-footer__grid { grid-template-columns: repeat(3, 1fr); }
    .hp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .hp-section { padding: 64px 0; }
    .hp-hero { padding: 32px 0 48px; }
    .hp-hero__grid, .hp-analysis { grid-template-columns: 1fr; gap: 36px; }
    .hp-products, .hp-combos, .hp-testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-features, .hp-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-trust { grid-template-columns: 1fr; justify-items: center; }
    .hp-trust .hp-stats { width: 100%; }
}
@media (max-width: 640px) {
    .hp-btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
    .hp-wrap { padding: 0 16px; }
    .hp-section { padding: 52px 0; }
    .hp-head { margin-bottom: 28px; }
    .hp-hero { padding: 24px 0 40px; }
    .hp-hero__kicker { margin-bottom: 14px; }
    .hp-hero__sub { font-size: 1rem; margin-top: 14px; }
    .hp-hero__ctas { margin-top: 22px; }
    .hp-hero__ctas .hp-btn { flex: 1 1 100%; }
    .hp-hero__points { grid-template-columns: 1fr; margin-top: 22px; gap: 8px; }
    .hp-exams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hp-exam-card { padding: 12px; gap: 10px; }
    .hp-exam-card__icon { width: 34px; height: 34px; }
    .hp-exam-card small { display: none; }
    .hp-products, .hp-combos, .hp-testimonials, .hp-features, .hp-resources { grid-template-columns: 1fr; }
    .hp-tabs { width: 100%; overflow-x: auto; }
    .hp-tabs button { flex: 1 0 auto; }
    .hp-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-report-big .hp-report__kpis { grid-template-columns: repeat(2, 1fr); }
    .hp-report-grid { grid-template-columns: 1fr; }
    .hp-cta { padding: 24px; }
    .hp-cta__btns .hp-btn { flex: 1 1 100%; }
    .hp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .hp * { transition: none !important; scroll-behavior: auto !important; }
}

/* The chat launcher (.sai-toggle, chatbot-optimized-knowledge.js) is a fixed
   button bottom-right. Leave room under the last content so it never sits on
   a link or a CTA, and keep it compact on phones. */
body.hp { padding-bottom: 0; }
.hp-footer__bottom { padding-right: 72px; }
@media (max-width: 640px) {
    body.hp .sai-toggle { transform: scale(.8); transform-origin: bottom right; }
}
