/* ==========================================================================
   Health Keepers Academy — public LMS pages, v2 skin (2026-09-23)
   Loaded ONLY by frontend/master.blade.php and scoped to body.hk-public, so
   admin / instructor / learner workspaces (which also load lms-theme.css)
   are untouched. Mirrors the marketing site's design system (site.css v2).
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

.hk-public {
    --v2-navy: #03275e; --v2-navy-900: #021a40; --v2-navy-800: #0a3470;
    --v2-teal: #16b9b7; --v2-teal-700: #0b7c7a; --v2-teal-100: #d9f3f2; --v2-teal-50: #eef9f8;
    --v2-blue: #0b5fe8; --v2-blue-700: #0848b8; --v2-blue-50: #eef4fe;
    --v2-ink: #0f1d2c; --v2-ink-2: #33475a; --v2-muted: #5d6f80;
    --v2-line: #e4e9ee; --v2-line-2: #d3dbe3; --v2-paper: #f7f6f2; --v2-cream: #fbfaf6;
    --v2-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --v2-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --v2-shadow-xs: 0 1px 2px rgba(3,39,94,.06); --v2-shadow-sm: 0 6px 18px rgba(3,39,94,.07);
    --v2-shadow-md: 0 18px 44px rgba(3,39,94,.11); --v2-shadow-lg: 0 30px 70px rgba(3,39,94,.16);
    --v2-radius: 1.25rem; --v2-radius-lg: 1.75rem; --v2-ease: cubic-bezier(.2,.7,.2,1);
    background: #fff; color: var(--v2-ink); font-family: var(--v2-sans);
}
.hk-public main, .hk-public .hk-catalogue-page, .hk-public .hk-course-detail { background: #fff; }

/* ---------- Type ---------- */
.hk-public h1, .hk-public h2, .hk-public h3,
.hk-public .clp-hero-title, .hk-public .section__title, .hk-public .card-title { font-family: var(--v2-serif); font-weight: 560; letter-spacing: -.012em; color: var(--v2-navy-900); font-variation-settings: "opsz" 96, "SOFT" 50; }
.hk-public h1 { letter-spacing: -.02em; }
.hk-public h3 { font-variation-settings: "opsz" 36; }
.hk-public .hk-section-kicker, .hk-public .clp-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; padding: 0; border: 0; background: none;
    color: var(--v2-teal-700); font: 700 .76rem/1.3 var(--v2-sans); letter-spacing: .14em; text-transform: uppercase;
}
.hk-public .hk-section-kicker::before { content: ""; width: 1.4rem; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.hk-public .hk-btn-primary, .hk-public .hk-primary-action, .hk-public .theme-btn:not(.theme-btn-white):not(.theme-btn-sm) {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1.3rem;
    border: 1px solid var(--v2-navy) !important; border-radius: 999px !important; background: var(--v2-navy) !important; color: #fff !important;
    font: 600 .95rem/1.2 var(--v2-sans); text-decoration: none !important; box-shadow: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.hk-public .hk-btn-primary:hover, .hk-public .hk-primary-action:hover { background: var(--v2-navy-800) !important; transform: translateY(-1px); box-shadow: var(--v2-shadow-sm); }
.hk-public .hk-btn-secondary, .hk-public .hk-secondary-action {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1.3rem;
    border: 1px solid var(--v2-line-2) !important; border-radius: 999px !important; background: #fff !important; color: var(--v2-navy) !important;
    font: 600 .95rem/1.2 var(--v2-sans); text-decoration: none !important;
}
.hk-public .hk-btn-secondary:hover, .hk-public .hk-secondary-action:hover { border-color: var(--v2-navy) !important; }

/* ---------- Header ---------- */
.hk-public .hk-market-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.hk-public .hk-market-header__main { border-bottom: 1px solid var(--v2-line); box-shadow: none; background: transparent; }
.hk-public .hk-market-header__row { min-height: 4.6rem; max-width: 75rem; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.hk-public .hk-brand-lockup__mark { border-radius: .8rem; }
.hk-public .hk-brand-lockup__name, .hk-public .hk-brand-lockup__academy { font-family: var(--v2-serif); font-weight: 600; letter-spacing: -.01em; }
.hk-public .hk-brand-lockup__name { color: var(--v2-navy-900); }
.hk-public .hk-brand-lockup__academy { color: var(--v2-teal-700); }
.hk-public .hk-market-header .hk-nav-group > summary { color: var(--v2-ink-2); font-weight: 560; font-size: .95rem; }
.hk-public .hk-market-header .hk-nav-group > summary:hover, .hk-public .hk-market-header .hk-nav-group[open] > summary, .hk-public .hk-market-header .hk-nav-group.is-current > summary { color: var(--v2-navy); background: var(--v2-paper); }
.hk-public .hk-icon-button { border-radius: 999px; border-color: var(--v2-line); color: var(--v2-navy); }
.hk-public .hk-header-donate { border: 0 !important; background: transparent !important; }
.hk-public .hk-header-donate:hover { background: var(--v2-teal-50) !important; color: var(--v2-teal-700) !important; }
.hk-public .hk-market-search { background: #fff; border-bottom: 1px solid var(--v2-line); }
.hk-public .hk-market-search .form-control, .hk-public .hk-market-drawer .form-control { min-height: 3rem; border: 1px solid var(--v2-line-2); border-radius: 999px; padding-inline: 1.2rem; }

@media (max-width: 767.98px) {
    .hk-public .hk-market-header__actions > .hk-header-donate { display: none !important; }
    .hk-public .hk-market-header__row { gap: .6rem; padding-inline: 1rem; }
    .hk-public .hk-market-header__actions { gap: .4rem; }
    .hk-public .hk-market-header__actions .hk-primary-action { min-height: 2.6rem; padding: .5rem .95rem; font-size: .88rem; }
    .hk-public .hk-market-header .hk-icon-button { width: 2.6rem; min-width: 2.6rem; height: 2.6rem; min-height: 2.6rem; }
    .hk-public .hk-market-header__actions .hk-primary-action { white-space: nowrap; }
    .hk-public .hk-market-header__brand .hk-brand-lockup { gap: 8px; }
    .hk-public .hk-market-header__brand .hk-brand-lockup__mark { width: 36px; height: 36px; flex-basis: 36px; }
    .hk-public .hk-market-header__brand .hk-brand-lockup__name, .hk-public .hk-market-header__brand .hk-brand-lockup__academy { font-size: 15px; }
    .hk-public .hk-market-header__brand .hk-brand-lockup__copy { grid-template-columns: auto; }
    .hk-public .hk-market-header__brand .hk-brand-lockup__academy { margin-top: 2px; }
}
/* Signed-in phones: "My workspace" (133px) pushed the menu button 18px past the edge. The menu
   drawer already has "Open my workspace", so the header button steps aside below 431px. */
@media (max-width: 430px) {
    .hk-public .hk-market-header__actions .hk-primary-action--workspace { display: none; }
}


/* ---------- Page heroes (catalogue, categories, generic) ---------- */
.hk-public .hk-catalogue-hero, .hk-public .hk-page-hero {
    position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    background: radial-gradient(1000px 420px at 90% -10%, var(--v2-teal-50), transparent 60%), linear-gradient(180deg, var(--v2-cream), #fff 80%) !important;
    color: var(--v2-ink);
}
.hk-public .hk-catalogue-hero::before, .hk-public .hk-catalogue-hero::after { display: none !important; }
.hk-public .hk-catalogue-hero h1, .hk-public .hk-page-hero h1 { margin: 0; color: var(--v2-navy-900); font-size: clamp(2.4rem, 4.6vw, 3.75rem); line-height: 1.08; }
.hk-public .hk-catalogue-hero p:not(.hk-section-kicker), .hk-public .hk-page-hero p:not(.hk-section-kicker) { max-width: 36rem; margin: 1rem 0 0; color: var(--v2-ink-2); font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.7; }
.hk-public .hk-catalogue-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hk-public .hk-catalogue-hero__media { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: .8rem; height: clamp(16rem, 26vw, 21rem); }
.hk-public .hk-catalogue-hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.25rem; box-shadow: var(--v2-shadow-md); }
.hk-public .hk-catalogue-hero__media img:first-child { grid-row: 1 / span 2; border-radius: 1.5rem; }
.hk-public .hk-catalogue-search {
    display: flex; align-items: center; gap: .6rem; max-width: 36rem; margin-top: 1.75rem; padding: .4rem .4rem .4rem 1.1rem;
    border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; box-shadow: var(--v2-shadow-sm);
}
.hk-public .hk-catalogue-search i { color: var(--v2-muted); font-size: 1.15rem; }
.hk-public .hk-catalogue-search input { flex: 1; min-width: 0; min-height: 2.8rem; border: 0; background: transparent; color: var(--v2-ink); font-size: 1rem; outline: none; box-shadow: none; }
.hk-public .hk-catalogue-search button { min-height: 2.8rem; padding: 0 1.3rem; border: 0; border-radius: 999px; background: var(--v2-navy); color: #fff; font-weight: 600; cursor: pointer; }
.hk-public .hk-catalogue-search button:hover { background: var(--v2-navy-800); }
.hk-public .hk-page-hero nav ol, .hk-public .hk-course-detail-hero nav ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: var(--v2-muted); font-size: .86rem; }
.hk-public .hk-page-hero nav li + li::before, .hk-public .hk-course-detail-hero nav li + li::before { content: "/"; margin-right: .5rem; color: var(--v2-line-2); }
.hk-public .hk-page-hero nav a, .hk-public .hk-course-detail-hero nav a { color: var(--v2-muted); text-decoration: none; }
.hk-public .hk-page-hero nav a:hover, .hk-public .hk-course-detail-hero nav a:hover { color: var(--v2-navy); text-decoration: underline; }

/* ---------- Catalogue body ---------- */
.hk-public .hk-catalogue-content, .hk-public .hk-page-body { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4rem, 7vw, 5.5rem); background: #fff; }
.hk-public .hk-environment-note { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.25rem; padding: .85rem 1.1rem; border: 1px solid var(--v2-line); border-radius: 1rem; background: var(--v2-paper); color: var(--v2-ink-2); font-size: .9rem; }
.hk-public .hk-environment-note i { color: var(--v2-teal-700); font-size: 1.1rem; margin-top: .1rem; }
.hk-public .hk-filter-bar {
    display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: .9rem 1rem; align-items: end; margin-bottom: 2.25rem;
    padding: 1.25rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; box-shadow: var(--v2-shadow-xs);
}
.hk-public .hk-filter-bar > div { min-width: 0; }
.hk-public .hk-filter-bar label { display: block; margin-bottom: .35rem; color: var(--v2-muted); font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.hk-public .hk-filter-bar input, .hk-public .hk-filter-bar select {
    width: 100%; min-height: 2.75rem; padding: 0 .9rem; border: 1px solid var(--v2-line-2); border-radius: .85rem; background-color: var(--v2-cream);
    color: var(--v2-ink); font: 500 .95rem var(--v2-sans);
}
.hk-public .hk-filter-bar input:focus, .hk-public .hk-filter-bar select:focus { border-color: var(--v2-blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(11,95,232,.14); outline: none; }
.hk-public .hk-filter-bar select:disabled { opacity: .55; }
.hk-public .hk-filter-bar .hk-btn-primary { width: 100%; }
.hk-public .hk-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.hk-public .hk-results-heading h2 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.hk-public .hk-results-heading a { color: var(--v2-blue-700); font-weight: 600; text-decoration: none; }

.hk-public .hk-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.hk-public .hk-course-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; box-shadow: none; transition: transform .35s var(--v2-ease), box-shadow .35s var(--v2-ease), border-color .35s; }
.hk-public .hk-course-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--v2-shadow-md); }
.hk-public .hk-course-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--v2-paper); }
.hk-public .hk-course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--v2-ease); }
.hk-public .hk-course-card:hover .hk-course-image img { transform: scale(1.04); }
.hk-public .hk-course-image span { position: absolute; left: 1rem; top: 1rem; bottom: auto; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--v2-navy); font-size: .75rem; font-weight: 650; box-shadow: var(--v2-shadow-xs); }
.hk-public .hk-course-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.3rem 1.4rem 1.4rem; }
.hk-public .hk-course-instructor { margin: 0 0 .45rem; color: var(--v2-teal-700); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hk-public .hk-course-card h3 { margin: 0; font-size: 1.28rem; line-height: 1.25; }
.hk-public .hk-course-card h3 a { color: var(--v2-navy-900); text-decoration: none; }
.hk-public .hk-course-card h3 a:hover { color: var(--v2-teal-700); }
.hk-public .hk-course-card-body > p:not(.hk-course-instructor) { margin: .55rem 0 0; color: var(--v2-muted); font-size: .94rem; line-height: 1.6; }
.hk-public .hk-course-facts { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.hk-public .hk-course-facts span { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; background: var(--v2-paper); color: var(--v2-ink-2); font-size: .78rem; font-weight: 550; }
.hk-public .hk-course-facts i { color: var(--v2-teal-700); }
.hk-public .hk-course-facts .hk-coming-soon { background: #fdf2e0; color: #8a5a07; }
.hk-public .hk-course-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.2rem; color: var(--v2-blue-700); font-weight: 600; text-decoration: none; }
.hk-public .hk-course-link:hover { color: var(--v2-navy); }
.hk-public .hk-course-link i { transition: transform .2s; }
.hk-public .hk-course-link:hover i { transform: translateX(3px); }
.hk-public .hk-catalogue-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; border: 1px dashed var(--v2-line-2); border-radius: var(--v2-radius-lg); background: var(--v2-cream); text-align: center; }
.hk-public .hk-catalogue-empty i { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--v2-teal-50); color: var(--v2-teal-700); font-size: 1.5rem; }
.hk-public .hk-catalogue-empty h2 { margin: .4rem 0 0; font-size: 1.6rem; }
.hk-public .hk-catalogue-empty p { margin: 0 0 .75rem; color: var(--v2-muted); }
.hk-public .hk-pagination { margin-top: 2rem; }

/* ---------- Categories ---------- */
.hk-public .hk-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.hk-public .hk-category-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; color: var(--v2-ink); text-decoration: none; transition: transform .35s var(--v2-ease), box-shadow .35s; }
.hk-public .hk-category-card:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow-md); color: var(--v2-ink); }
.hk-public .hk-category-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--v2-paper); }
.hk-public .hk-category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--v2-ease); }
.hk-public .hk-category-card:hover .hk-category-card__media img { transform: scale(1.04); }
.hk-public .hk-category-card__body { display: grid; gap: .2rem; padding: 1.2rem 3.5rem 1.3rem 1.3rem; }
.hk-public .hk-category-card__body strong { color: var(--v2-navy-900); font-family: var(--v2-serif); font-size: 1.25rem; font-weight: 560; }
.hk-public .hk-category-card__body small { color: var(--v2-muted); font-size: .88rem; }
.hk-public .hk-category-card > i { position: absolute; right: 1.2rem; bottom: 1.35rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--v2-teal-50); color: var(--v2-teal-700); transition: transform .2s; }
.hk-public .hk-category-card:hover > i { transform: translateX(3px); }

/* ---------- Course detail ---------- */
.hk-public .hk-course-detail-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    background: radial-gradient(1000px 420px at 90% -10%, var(--v2-teal-50), transparent 60%), linear-gradient(180deg, var(--v2-cream), #fff 85%) !important;
    color: var(--v2-ink);
}
.hk-public .hk-course-detail-hero::before, .hk-public .hk-course-detail-hero::after { display: none !important; }
.hk-public .hk-course-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hk-public .hk-course-detail-hero h1 { margin: 0; color: var(--v2-navy-900); font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.1; }
.hk-public .hk-course-lead { max-width: 40rem; margin: 1rem 0 0; color: var(--v2-ink-2); font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.7; }
.hk-public .hk-course-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.hk-public .hk-course-hero-meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; color: var(--v2-ink-2); font-size: .86rem; font-weight: 550; }
.hk-public .hk-course-hero-meta i { color: var(--v2-teal-700); }
.hk-public .hk-course-hero-grid > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: var(--v2-radius-lg); box-shadow: var(--v2-shadow-lg); }
.hk-public .hk-course-detail-body { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4rem, 7vw, 5.5rem); background: #fff; }
.hk-public .hk-course-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; gap: clamp(1.5rem, 3vw, 2.5rem); }
.hk-public .hk-course-main { display: grid; gap: 1.25rem; min-width: 0; }
.hk-public .hk-detail-section, .hk-public .hk-course-main .course-overview-card {
    margin: 0; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; box-shadow: none;
}
.hk-public .hk-detail-section h2, .hk-public .course-overview-card h2, .hk-public .course-overview-card .fs-24 { margin: 0 0 1rem; font-family: var(--v2-serif); font-size: clamp(1.45rem, 2.2vw, 1.8rem) !important; font-weight: 560 !important; color: var(--v2-navy-900); }
.hk-public .hk-readable div, .hk-public .hk-readable p { color: var(--v2-ink-2); font-size: 1.02rem; line-height: 1.75; }
.hk-public .hk-objectives ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.hk-public .hk-objectives li { display: flex; gap: .6rem; color: var(--v2-ink-2); }
.hk-public .hk-objectives li i { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--v2-teal-50); color: var(--v2-teal-700); font-size: .85rem; }
.hk-public .hk-detail-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.hk-public .hk-detail-section-head h2 { margin-bottom: 0; }
.hk-public .hk-detail-section-head > span { padding: .3rem .75rem; border-radius: 999px; background: var(--v2-paper); color: var(--v2-ink-2); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.hk-public .hk-curriculum { display: grid; gap: .6rem; margin-top: .75rem; }
.hk-public .hk-curriculum details { overflow: hidden; border: 1px solid var(--v2-line); border-radius: 1rem; background: #fff; }
.hk-public .hk-curriculum details[open] { border-color: var(--v2-line-2); box-shadow: var(--v2-shadow-xs); }
.hk-public .hk-curriculum summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; cursor: pointer; list-style: none; color: var(--v2-navy-900); font-weight: 600; }
.hk-public .hk-curriculum summary::-webkit-details-marker { display: none; }
.hk-public .hk-curriculum summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-left: .25rem; border-right: 2px solid var(--v2-muted); border-bottom: 2px solid var(--v2-muted); transform: rotate(45deg); transition: transform .2s; }
.hk-public .hk-curriculum details[open] summary::after { transform: rotate(-135deg); }
.hk-public .hk-curriculum summary small { margin-left: auto; color: var(--v2-muted); font-size: .82rem; font-weight: 550; }
.hk-public .hk-curriculum ul { margin: 0; padding: 0 .6rem .6rem; list-style: none; border-top: 1px solid var(--v2-line); }
.hk-public .hk-curriculum li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .6rem; border-radius: .7rem; color: var(--v2-ink-2); font-size: .95rem; }
.hk-public .hk-curriculum li:nth-child(even) { background: var(--v2-cream); }
.hk-public .hk-curriculum li > span { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.hk-public .hk-curriculum li i { color: var(--v2-teal-700); font-size: 1.05rem; }
.hk-public .hk-curriculum li .la-lock { color: var(--v2-muted); }
.hk-public .hk-curriculum li em { padding: .1rem .5rem; border-radius: 999px; background: var(--v2-teal-50); color: var(--v2-teal-700); font-size: .72rem; font-style: normal; font-weight: 650; }
.hk-public .hk-curriculum li a { flex: none; color: var(--v2-blue-700); font-size: .86rem; font-weight: 600; text-decoration: none; }
.hk-public .hk-curriculum li small { flex: none; color: var(--v2-muted); font-size: .8rem; }
.hk-public .hk-compact-empty { display: flex; align-items: center; gap: .7rem; padding: 1rem; border-radius: 1rem; background: var(--v2-cream); color: var(--v2-muted); }

/* Access card (sidebar) */
.hk-public .hk-course-access {
    position: sticky; top: 6rem; padding: 1.6rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; box-shadow: var(--v2-shadow-md);
}
.hk-public .hk-course-access::before { display: none !important; }
.hk-public .hk-course-access h2 { margin: 0 0 .6rem; font-size: 1.55rem; }
.hk-public .hk-course-access > p { color: var(--v2-ink-2); font-size: .95rem; line-height: 1.65; }
.hk-public .hk-course-access .hk-btn-primary, .hk-public .hk-course-access .hk-btn-secondary, .hk-public .hk-course-access button { width: 100%; margin-top: 1rem; }
.hk-public .hk-course-access button[disabled] { min-height: 2.9rem; border: 1px solid var(--v2-line-2); border-radius: 999px; background: var(--v2-paper); color: var(--v2-muted); }
.hk-public .hk-course-access dl { margin: 1.4rem 0 1rem; padding: 0; border-top: 1px solid var(--v2-line); }
.hk-public .hk-course-access dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--v2-line); font-size: .9rem; }
.hk-public .hk-course-access dt { color: var(--v2-muted); font-weight: 550; }
.hk-public .hk-course-access dd { margin: 0; color: var(--v2-navy-900); font-weight: 650; text-align: right; }
.hk-public .hk-course-access .hk-environment-note { margin: 0; font-size: .84rem; }
.hk-public .hk-prerequisites { margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; background: #fffaf0; font-size: .9rem; }

/* Instructor, FAQ, resources, related */
.hk-public .instructor-wrap .media-card { display: flex; gap: 1.5rem; align-items: flex-start; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.hk-public .instructor-img .media-img img { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--v2-shadow-sm); }
.hk-public .instructor-img .generic-list-item li { color: var(--v2-ink-2); font-size: .88rem; }
.hk-public .instructor-wrap .media-body h5 a { color: var(--v2-navy-900); font-family: var(--v2-serif); font-size: 1.25rem; font-weight: 560; text-decoration: none; }
.hk-public .instructor-wrap .bio-collapsible { color: var(--v2-ink-2); }
.hk-public .clp-faq-item { border: 1px solid var(--v2-line); border-radius: 1rem; background: #fff; }
.hk-public .clp-faq-q { color: var(--v2-navy-900); font-weight: 600; }
.hk-public .clp-resource-item { border-radius: 1rem; border-color: var(--v2-line); }
.hk-public .hk-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hk-public .hk-related-grid article { overflow: hidden; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; }
.hk-public .hk-related-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Footer (fixes dark-on-navy headings + brand) ---------- */
.hk-public .footer-area { padding-top: clamp(3rem, 6vw, 4.5rem) !important; background: var(--v2-navy-900) !important; color: #b9c7d8; }
.hk-public .footer-area::before, .hk-public .footer-area::after { display: none !important; }
.hk-public .footer-area .container { max-width: 75rem; }
.hk-public .footer-area .footer-item h2, .hk-public .footer-area .footer-item .fs-20 { margin-bottom: .6rem; color: #fff !important; font-family: var(--v2-sans) !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; }
.hk-public .footer-area .section-divider { display: none; }
.hk-public .footer-area .footer-item p { color: #aebdd0; font-size: .95rem; }
.hk-public .footer-area .generic-list-item li { margin-bottom: .55rem; }
.hk-public .footer-area .generic-list-item a { color: #b9c7d8; font-size: .94rem; text-decoration: none; }
.hk-public .footer-area .generic-list-item a:hover { color: #fff; }
.hk-public .footer-area .hk-brand-lockup__name { color: #fff; }
.hk-public .footer-area .hk-brand-lockup__academy { color: #7fdad8; }
.hk-public .footer-area .hk-brand-lockup__technology, .hk-public .footer-area .hk-brand-lockup__context { color: #9fb2c8; }
.hk-public .footer-area .section-block { height: 1px; margin-top: 2rem; background: rgba(255,255,255,.1); }
.hk-public .footer-area .copyright-content { background: transparent; }
.hk-public .footer-area .copy-desc { color: #8ea2ba; font-size: .85rem; }
.hk-public .footer-area .copyright-content .generic-list-item a { color: #8ea2ba; font-size: .85rem; }

/* ---------- Generic public pages on this layout ---------- */
.hk-public .clp-shell { background: linear-gradient(180deg, var(--v2-cream), #fff) !important; color: var(--v2-ink); }
.hk-public .clp-shell .clp-hero-title { color: var(--v2-navy-900) !important; }
.hk-public .clp-shell .clp-hero-copy { color: var(--v2-ink-2) !important; }
.hk-public .bg-gray, .hk-public .section-bg { background: var(--v2-paper) !important; }
.hk-public .card, .hk-public .clp-card { border-color: var(--v2-line); border-radius: var(--v2-radius); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hk-public .hk-course-grid, .hk-public .hk-category-grid, .hk-public .hk-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hk-public .hk-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hk-public .hk-filter-bar .hk-filter-search { grid-column: 1 / -1; }
    .hk-public .hk-course-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-course-access { position: static; }
    .hk-public .hk-course-hero-grid, .hk-public .hk-catalogue-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-catalogue-hero__media { height: clamp(12rem, 45vw, 16rem); }
}
@media (max-width: 640px) {
    .hk-public .hk-catalogue-search { padding-left: .9rem; }
    .hk-public .hk-catalogue-search input { min-width: 6rem; }
    .hk-public .hk-catalogue-search button { flex: none; padding: 0 1rem; }
    .hk-public .hk-results-heading { flex-direction: column; align-items: flex-start; text-align: left; }
    .hk-public .hk-results-heading > div { text-align: left; }
    .hk-public .hk-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .7rem .75rem; }
    .hk-public .hk-filter-bar .hk-filter-search, .hk-public .hk-filter-bar .hk-btn-primary { grid-column: 1 / -1; }
    .hk-public .hk-filter-bar select { padding-inline: .6rem; font-size: .88rem; }
    .hk-public .hk-course-grid, .hk-public .hk-category-grid, .hk-public .hk-related-grid, .hk-public .hk-objectives ul { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-filter-bar { padding: 1rem; }
    .hk-public .hk-catalogue-hero__media { display: none; }
    .hk-public .hk-curriculum li { flex-wrap: wrap; gap: .35rem; }
    .hk-public .instructor-wrap .media-card { flex-direction: column; }
    .hk-public .hk-detail-section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-public *, .hk-public *::before, .hk-public *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Sign-in + account pages (2026-09-24) — x-healthkeepers.auth-shell
   Inside frontend.master (learner sign-in, two-step, invitations, notices)
   and full-screen via x-healthkeepers.auth-page (staff sign-in, recovery).
   ========================================================================== */
.hk-public .hk-auth {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 3.5rem);
    width: 100%; max-width: 75rem; margin: 0 auto; padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 5vw, 4.5rem);
}
.hk-public .hk-auth__story {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 40rem;
    padding: clamp(1.75rem, 3.5vw, 2.75rem); overflow: hidden; border-radius: var(--v2-radius-lg); background: var(--v2-navy-900); color: #fff;
}
.hk-public .hk-auth__media { position: absolute; inset: 0; z-index: -1; }
.hk-public .hk-auth__media img, .hk-public .hk-auth__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hk-public .hk-auth__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,26,64,.12) 0%, rgba(2,26,64,.18) 35%, rgba(2,26,64,.86) 78%, rgba(2,26,64,.94) 100%); }
.hk-public .hk-auth__brand { position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); left: clamp(1.75rem, 3.5vw, 2.75rem); text-decoration: none; }
.hk-public .hk-auth__brand .hk-brand-lockup__name { color: #fff; }
.hk-public .hk-auth__brand .hk-brand-lockup__academy { color: #7fe0de; }
.hk-public .hk-auth__brand .hk-brand-lockup__mark { background: rgba(255,255,255,.12); }
.hk-public .hk-auth__brand .hk-brand-lockup__copy { text-shadow: 0 1px 14px rgba(2,26,64,.75); }
.hk-public .hk-auth--standalone .hk-auth__media::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 9rem; background: linear-gradient(180deg, rgba(2,26,64,.6), rgba(2,26,64,0)); }
.hk-public .hk-auth__story-copy { max-width: 34rem; }
.hk-public .hk-auth__kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; color: #7fe0de; font: 700 .74rem/1.3 var(--v2-sans); letter-spacing: .14em; text-transform: uppercase; }
.hk-public .hk-auth__kicker::before { content: ""; width: 1.4rem; height: 2px; border-radius: 2px; background: currentColor; }
.hk-public .hk-auth__headline { margin: 0 0 .9rem; color: #fff; font: 560 clamp(2.1rem, 3.6vw, 3.1rem)/1.06 var(--v2-serif); letter-spacing: -.02em; font-variation-settings: "opsz" 96, "SOFT" 50; text-wrap: balance; }
.hk-public .hk-auth__lede { margin: 0 0 1.4rem; color: rgba(255,255,255,.84); font-size: 1.04rem; line-height: 1.6; }
.hk-public .hk-auth__points { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hk-public .hk-auth__points li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem .5rem .6rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .84rem; font-weight: 560; }
.hk-public .hk-auth__points svg { width: 1.05rem; height: 1.05rem; padding: .15rem; border-radius: 50%; background: var(--v2-teal); fill: none; stroke: #03275e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-auth__float {
    position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); right: clamp(1.5rem, 3vw, 2.25rem); display: flex; align-items: center; gap: .75rem; max-width: 17rem;
    padding: .8rem 1rem .8rem .8rem; border-radius: 1rem; background: rgba(255,255,255,.94); box-shadow: var(--v2-shadow-md); color: var(--v2-ink);
    animation: hk-auth-float 7s ease-in-out infinite;
}
.hk-public .hk-auth__float-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--v2-teal-50); }
.hk-public .hk-auth__float-icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-auth__float strong { display: block; color: var(--v2-navy-900); font-size: .9rem; }
.hk-public .hk-auth__float small { display: block; color: var(--v2-muted); font-size: .78rem; line-height: 1.35; }
@keyframes hk-auth-float { 50% { transform: translateY(-6px); } }

.hk-public .hk-auth__panel { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hk-public .hk-auth__card { width: 100%; max-width: 27.5rem; margin: 0 auto; }
.hk-public .hk-auth__card > main { outline: 0; }
.hk-public .hk-auth__badge { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.1rem; border-radius: 1rem; background: var(--v2-teal-50); }
.hk-public .hk-auth__badge svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-auth__eyebrow { margin: 0 0 .5rem; color: var(--v2-teal-700); font: 700 .74rem/1.3 var(--v2-sans); letter-spacing: .14em; text-transform: uppercase; }
.hk-public .hk-auth__title { margin: 0 0 .6rem; color: var(--v2-navy-900); font: 560 clamp(1.85rem, 3vw, 2.35rem)/1.12 var(--v2-serif); letter-spacing: -.02em; text-wrap: balance; }
.hk-public .hk-auth__intro { margin: 0 0 1.6rem; color: var(--v2-muted); font-size: 1rem; line-height: 1.6; }
.hk-public .hk-auth__intro strong { color: var(--v2-ink); }
.hk-public .hk-auth__form { margin: 0; }
.hk-public .hk-auth .clp-field { margin-bottom: 1.05rem; }
.hk-public .hk-auth .clp-field-label { margin-bottom: .45rem; color: var(--v2-ink); font-size: .88rem; font-weight: 600; }
.hk-public .hk-auth .clp-field-req { color: #c2410c; }
.hk-public .hk-auth .clp-input {
    min-height: 3.1rem; padding: 0 1rem; border: 1px solid var(--v2-line-2); border-radius: .85rem; background: #fff;
    color: var(--v2-ink); font-size: 1rem; box-shadow: var(--v2-shadow-xs); transition: border-color .2s, box-shadow .2s;
}
.hk-public .hk-auth .clp-input:hover { border-color: #b9c5d1; }
.hk-public .hk-auth .clp-input:focus, .hk-public .hk-auth .clp-input:focus-visible { border-color: var(--v2-blue); box-shadow: 0 0 0 4px rgba(11,95,232,.28); outline: 0 !important; }
.hk-public .hk-auth .clp-input[aria-invalid="true"] { border-color: #c2410c; }
.hk-public .hk-auth .clp-field-help { margin-top: .4rem; color: var(--v2-muted); font-size: .82rem; }
.hk-public .hk-auth .clp-field-error { display: flex; align-items: center; gap: .35rem; margin-top: .45rem; color: #b42318; font-size: .85rem; font-weight: 560; }
.hk-public .hk-auth .clp-input-group .clp-input { padding-right: 3.4rem; }
.hk-public .hk-auth .clp-input-toggle { right: .45rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: .65rem; background: transparent; color: var(--v2-muted); }
.hk-public .hk-auth .clp-input-toggle:hover { background: var(--v2-paper); color: var(--v2-navy); }
.hk-public .hk-auth .clp-input-toggle i { display: none; }
.hk-public .hk-auth .clp-input-toggle::before {
    content: ""; display: block; width: 1.25rem; height: 1.25rem; margin: auto; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hk-public .hk-auth .clp-input-toggle[aria-pressed="true"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 5.7A9.6 9.6 0 0 1 12 5.5c6 0 9.5 6.5 9.5 6.5a16 16 0 0 1-2.7 3.4M6.6 6.9C4 8.6 2.5 12 2.5 12S6 18.5 12 18.5c1.8 0 3.3-.5 4.6-1.3M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 5.7A9.6 9.6 0 0 1 12 5.5c6 0 9.5 6.5 9.5 6.5a16 16 0 0 1-2.7 3.4M6.6 6.9C4 8.6 2.5 12 2.5 12S6 18.5 12 18.5c1.8 0 3.3-.5 4.6-1.3M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E");
}
.hk-public .hk-auth .clp-btn { min-height: 3.1rem; border-radius: 999px; font: 600 .98rem/1.2 var(--v2-sans); text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; }
.hk-public .hk-auth .clp-btn-primary { border: 1px solid var(--v2-navy); background: var(--v2-navy); color: #fff; }
.hk-public .hk-auth .clp-btn-primary:hover { background: var(--v2-navy-800); transform: translateY(-1px); box-shadow: var(--v2-shadow-sm); color: #fff; }
.hk-public .hk-auth .clp-btn-secondary { border: 1px solid var(--v2-line-2); background: #fff; color: var(--v2-navy); }
.hk-public .hk-auth .clp-btn-secondary:hover { border-color: var(--v2-navy); color: var(--v2-navy); }
.hk-public .hk-auth .clp-btn-block { display: flex; width: 100%; justify-content: center; align-items: center; gap: .5rem; }
.hk-public .hk-auth__options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: -.1rem 0 1.35rem; font-size: .92rem; }
.hk-public .hk-auth__options a, .hk-public .hk-auth__switch a, .hk-public .hk-auth__links a, .hk-public .hk-auth__aside a { color: var(--v2-blue-700); font-weight: 600; text-decoration: none; }
.hk-public .hk-auth__options a:hover, .hk-public .hk-auth__switch a:hover, .hk-public .hk-auth__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hk-public .hk-auth__check { display: inline-flex; align-items: center; gap: .55rem; margin: 0; color: var(--v2-ink-2); font-weight: 500; cursor: pointer; }
.hk-public .hk-auth__check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--v2-navy); }
.hk-public .hk-auth__sso { display: grid; gap: .6rem; }
.hk-public .hk-auth__divider { display: flex; align-items: center; gap: .9rem; margin: 1.3rem 0; color: var(--v2-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.hk-public .hk-auth__divider::before, .hk-public .hk-auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--v2-line); }
.hk-public .hk-auth__aside { margin: 1.5rem 0 0; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--v2-paper); color: var(--v2-ink-2); font-size: .9rem; line-height: 1.55; }
.hk-public .hk-auth__aside strong { display: block; margin-bottom: .2rem; color: var(--v2-navy-900); font-size: .92rem; }
.hk-public .hk-auth__aside p { margin: 0; }
.hk-public .hk-auth__switch { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 1.1rem 0 0; color: var(--v2-muted); font-size: .92rem; }
.hk-public .hk-auth__switch + .hk-auth__switch { margin-top: .5rem; }
.hk-public .hk-auth__linkbtn { padding: 0; border: 0; background: none; color: var(--v2-blue-700); font: 600 .92rem/1.4 var(--v2-sans); cursor: pointer; }
.hk-public .hk-auth__linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.hk-public .hk-auth__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 1rem; font-size: .92rem; }
.hk-public .hk-auth__links form { margin: 0; }
.hk-public .hk-auth__hint { margin: .8rem 0 0; color: var(--v2-muted); font-size: .85rem; }
.hk-public .hk-auth__notice, .hk-public .hk-auth__error { margin: 0 0 1.2rem; padding: .85rem 1rem; border-radius: .85rem; font-size: .92rem; line-height: 1.5; }
.hk-public .hk-auth__notice { border: 1px solid #b7e6e4; background: var(--v2-teal-50); color: #0a5f5d; }
.hk-public .hk-auth__error { border: 1px solid #f5c2bd; background: #fff4f2; color: #9a2317; }
.hk-public .hk-auth__code { height: 3.6rem; font-size: 1.45rem !important; font-weight: 700; letter-spacing: .5em; text-align: center; }
.hk-public .hk-auth__code--recovery { font-size: 1.05rem !important; letter-spacing: .15em; text-transform: uppercase; }
.hk-public .hk-auth__recovery { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--v2-line); }
.hk-public .hk-auth__recovery summary { color: var(--v2-navy); font-size: .92rem; font-weight: 600; cursor: pointer; }
.hk-public .hk-auth__recovery p { margin: .7rem 0 1rem; color: var(--v2-muted); font-size: .88rem; }
.hk-public .hk-auth__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; }
.hk-public .hk-auth__steps { display: grid; gap: .1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; counter-reset: hk-step; }
.hk-public .hk-auth__steps li { position: relative; display: grid; padding: 0 0 1rem 2.6rem; counter-increment: hk-step; }
.hk-public .hk-auth__steps li::before { content: counter(hk-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--v2-line-2); border-radius: 50%; background: #fff; color: var(--v2-muted); font-size: .8rem; font-weight: 700; }
.hk-public .hk-auth__steps li:not(:last-child)::after { content: ""; position: absolute; left: .88rem; top: 1.95rem; bottom: .15rem; width: 1px; background: var(--v2-line-2); }
.hk-public .hk-auth__steps li.is-done::before { content: "✓"; border-color: var(--v2-teal); background: var(--v2-teal); color: #fff; }
.hk-public .hk-auth__steps li.is-current::before { border-color: var(--v2-navy); background: var(--v2-navy); color: #fff; }
.hk-public .hk-auth__steps strong { color: var(--v2-navy-900); font-size: .95rem; }
.hk-public .hk-auth__steps span { color: var(--v2-muted); font-size: .88rem; }
.hk-public .hk-auth__locales { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--v2-line); font-size: .85rem; }
.hk-public .hk-auth__locales svg { width: 1rem; height: 1rem; fill: none; stroke: var(--v2-muted); stroke-width: 1.7; }
.hk-public .hk-auth__locales a { color: var(--v2-muted); text-decoration: none; }
.hk-public .hk-auth__locales a:hover { color: var(--v2-navy); }
.hk-public .hk-auth__locales a[aria-current] { color: var(--v2-navy); font-weight: 700; }
.hk-public .hk-auth .clp-learning-group-chip { border-radius: 999px; }

/* Full-screen variant (staff sign-in, password recovery) */
.hk-auth-body { min-height: 100vh; margin: 0; background: #fff; }
.hk-auth-body *, .hk-auth-body *::before, .hk-auth-body *::after { box-sizing: border-box; }
.hk-auth-body .clp-skip-link { position: absolute; left: -999px; }
.hk-auth-body .clp-skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: .6rem 1rem; border-radius: .6rem; background: #fff; color: var(--v2-navy); }
.hk-public .hk-auth--standalone { max-width: none; min-height: 100vh; margin: 0; padding: 0; gap: 0; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hk-public .hk-auth--standalone .hk-auth__story { position: sticky; top: 0; height: 100vh; min-height: 36rem; border-radius: 0; }
.hk-public .hk-auth--standalone .hk-auth__panel { justify-content: space-between; gap: 2rem; min-height: 100vh; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 5vw, 4rem); }
.hk-public .hk-auth__topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.hk-public .hk-auth__topbar a { display: inline-flex; align-items: center; gap: .4rem; color: var(--v2-ink-2); font-weight: 560; text-decoration: none; }
.hk-public .hk-auth__topbar a:hover { color: var(--v2-navy); }
.hk-public .hk-auth__topbar svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-auth__legal { margin: 0; color: var(--v2-muted); font-size: .8rem; text-align: center; }
.hk-public .hk-auth__legal a { color: inherit; }

@media (max-width: 991.98px) {
    .hk-public .hk-auth, .hk-public .hk-auth--standalone { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-auth { gap: 1.75rem; padding-top: 1rem; }
    .hk-public .hk-auth__story { min-height: 15rem; padding: 1.5rem; border-radius: var(--v2-radius); }
    .hk-public .hk-auth__headline { font-size: clamp(1.6rem, 5.5vw, 2.1rem); margin-bottom: 0; }
    .hk-public .hk-auth__lede, .hk-public .hk-auth__points, .hk-public .hk-auth__float { display: none; }
    .hk-public .hk-auth--standalone .hk-auth__story { position: relative; height: auto; min-height: 15rem; border-radius: 0; padding-top: 5rem; }
    .hk-public .hk-auth--standalone .hk-auth__brand { top: 1.25rem; left: 1.5rem; }
    .hk-public .hk-auth--standalone .hk-auth__panel { min-height: 0; padding-top: 1.25rem; }
    .hk-public .hk-auth--standalone .hk-auth__topbar { order: -1; }
}
@media (max-width: 480px) {
    .hk-public .hk-auth { padding-inline: 1rem; }
    .hk-public .hk-auth--standalone { padding: 0; }
    .hk-public .hk-auth__story { min-height: 12.5rem; }
    .hk-public .hk-auth--standalone .hk-auth__story { min-height: 13.5rem; }
    .hk-public .hk-auth__pair { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-auth__title { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-public .hk-auth__media video { display: none; }
    .hk-public .hk-auth__float { animation: none; }
}

/* ==========================================================================
   Help center (2026-09-24)
   ========================================================================== */
.hk-public .hk-help-hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--v2-cream), #fff); }
.hk-public .hk-help-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hk-public .hk-help-hero nav ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; padding: 0; list-style: none; color: var(--v2-muted); font-size: .88rem; }
.hk-public .hk-help-hero nav li + li::before { content: "/"; margin-right: .4rem; color: var(--v2-line-2); }
.hk-public .hk-help-hero nav a { color: var(--v2-ink-2); text-decoration: none; }
.hk-public .hk-help-hero nav a:hover { color: var(--v2-navy); }
.hk-public .hk-help-hero h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 5.5vw, 4rem); line-height: 1.02; }
.hk-public .hk-help-hero__lede { max-width: 34rem; margin: 0 0 1.8rem; color: var(--v2-ink-2); font-size: 1.1rem; line-height: 1.6; }
.hk-public .hk-help-search { display: flex; align-items: center; gap: .7rem; max-width: 34rem; min-height: 3.6rem; padding: 0 1.3rem; border: 1px solid var(--v2-line-2); border-radius: 999px; background: #fff; box-shadow: var(--v2-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.hk-public .hk-help-search:focus-within { border-color: var(--v2-blue); box-shadow: 0 0 0 4px rgba(11,95,232,.12), var(--v2-shadow-sm); }
.hk-public .hk-help-search svg { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--v2-muted); stroke-width: 2; stroke-linecap: round; }
.hk-public .hk-help-search input:focus-visible { outline: 0 !important; }
.hk-public .hk-help-search input { flex: 1; min-width: 0; height: 3.4rem; border: 0; background: transparent; color: var(--v2-ink); font-size: 1rem; outline: 0; }
.hk-public .hk-help-search__status { min-height: 1.3rem; margin: .6rem 0 0 1.3rem; color: var(--v2-muted); font-size: .85rem; }
.hk-public .hk-help-hero__media { position: relative; height: clamp(18rem, 30vw, 24rem); }
.hk-public .hk-help-hero__media img { position: absolute; object-fit: cover; border-radius: var(--v2-radius-lg); box-shadow: var(--v2-shadow-md); }
.hk-public .hk-help-hero__media img:first-child { top: 0; right: 0; width: 78%; height: 78%; }
.hk-public .hk-help-hero__media img:nth-child(2) { left: 0; bottom: 0; width: 46%; height: 52%; border: 6px solid #fff; }
.hk-public .hk-help-hero__card { position: absolute; right: 4%; bottom: 2%; display: flex; align-items: center; gap: .75rem; max-width: 17rem; padding: .85rem 1rem .85rem .85rem; border-radius: 1rem; background: #fff; box-shadow: var(--v2-shadow-md); }
.hk-public .hk-help-hero__card span { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--v2-teal-50); }
.hk-public .hk-help-hero__card svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hk-public .hk-help-hero__card p { margin: 0; }
.hk-public .hk-help-hero__card strong { display: block; color: var(--v2-navy-900); font-size: .9rem; }
.hk-public .hk-help-hero__card small { display: block; color: var(--v2-muted); font-size: .78rem; line-height: 1.35; }

.hk-public .hk-help-quick { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.hk-public .hk-help-quick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hk-public .hk-help-quick__grid a { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; color: var(--v2-ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.hk-public .hk-help-quick__grid a:hover { border-color: var(--v2-line-2); transform: translateY(-2px); box-shadow: var(--v2-shadow-sm); }
.hk-public .hk-help-quick__grid span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .6rem; border-radius: .8rem; background: var(--v2-blue-50); }
.hk-public .hk-help-quick__grid svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--v2-blue-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-help-quick__grid strong { color: var(--v2-navy-900); font-size: 1rem; }
.hk-public .hk-help-quick__grid small { color: var(--v2-muted); font-size: .86rem; line-height: 1.45; }

.hk-public .hk-help-body { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--v2-line); background: var(--v2-paper); }
.hk-public .hk-help-body__grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hk-public .hk-help-toc { position: sticky; top: 6rem; }
.hk-public .hk-help-toc p { margin: 0 0 .8rem; color: var(--v2-muted); font: 700 .74rem/1.3 var(--v2-sans); letter-spacing: .14em; text-transform: uppercase; }
.hk-public .hk-help-toc ul { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.hk-public .hk-help-toc a { display: block; padding: .55rem .8rem; border-radius: .7rem; color: var(--v2-ink-2); font-weight: 560; font-size: .95rem; text-decoration: none; }
.hk-public .hk-help-toc a:hover { background: #fff; color: var(--v2-navy); }
.hk-public .hk-help-topics { display: grid; gap: 1.25rem; min-width: 0; }
.hk-public .hk-help-topic { scroll-margin-top: 6rem; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; }
.hk-public .hk-help-topic__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .6rem; }
.hk-public .hk-help-topic__head span { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--v2-teal-50); }
.hk-public .hk-help-topic__head svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-help-topic__head h2 { margin: 0; font-size: 1.45rem; }
.hk-public .hk-help-faq { border-top: 1px solid var(--v2-line); }
.hk-public .hk-help-faq:first-of-type { border-top: 0; }
.hk-public .hk-help-faq summary { position: relative; display: block; padding: 1rem 2.5rem 1rem 0; color: var(--v2-ink); font-weight: 600; font-size: 1rem; line-height: 1.45; cursor: pointer; list-style: none; }
.hk-public .hk-help-faq summary::-webkit-details-marker { display: none; }
.hk-public .hk-help-faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .6rem; height: .6rem; margin-top: -.4rem; border-right: 2px solid var(--v2-muted); border-bottom: 2px solid var(--v2-muted); transform: rotate(45deg); transition: transform .2s; }
.hk-public .hk-help-faq[open] summary::after { margin-top: -.1rem; transform: rotate(-135deg); }
.hk-public .hk-help-faq summary:hover { color: var(--v2-navy); }
.hk-public .hk-help-faq > div { padding: 0 2.5rem 1.1rem 0; }
.hk-public .hk-help-faq p { margin: 0; color: var(--v2-ink-2); font-size: .98rem; line-height: 1.7; }
.hk-public .hk-help-faq a { color: var(--v2-blue-700); font-weight: 600; }
.hk-public .hk-help-empty { padding: 2.5rem; border: 1px dashed var(--v2-line-2); border-radius: var(--v2-radius); background: #fff; text-align: center; }
.hk-public .hk-help-empty h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.hk-public .hk-help-empty p { margin: 0; color: var(--v2-muted); }
.hk-public .hk-help-empty a { color: var(--v2-blue-700); font-weight: 600; }

.hk-public .hk-help-contact { scroll-margin-top: 5rem; padding: clamp(3rem, 6vw, 5rem) 0; background: var(--v2-navy-900) url("../images/partners-workshop.jpg") center / cover; background-blend-mode: soft-light; color: #fff; }
.hk-public .hk-help-contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hk-public .hk-help-contact .hk-section-kicker { color: #7fe0de; }
.hk-public .hk-help-contact h2 { margin: 0 0 1rem; color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; }
.hk-public .hk-help-contact__copy > p { color: rgba(255,255,255,.84); font-size: 1.05rem; line-height: 1.65; }
.hk-public .hk-help-contact__copy a { color: #7fe0de; }
.hk-public .hk-help-contact__copy ul { display: grid; gap: .6rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.hk-public .hk-help-contact__copy li { position: relative; padding-left: 1.7rem; color: rgba(255,255,255,.84); }
.hk-public .hk-help-contact__copy li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--v2-teal); }
.hk-public .hk-help-contact__card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--v2-radius-lg); background: #fff; box-shadow: var(--v2-shadow-lg); color: var(--v2-ink); }
.hk-public .hk-help-contact__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.hk-public .hk-help-contact .clp-field { margin-bottom: 1rem; }
.hk-public .hk-help-contact .clp-field-label { margin-bottom: .4rem; color: var(--v2-ink); font-size: .88rem; font-weight: 600; }
.hk-public .hk-help-contact .clp-input { min-height: 3rem; padding: 0 1rem; border: 1px solid var(--v2-line-2); border-radius: .85rem; font-size: 1rem; }
.hk-public .hk-help-contact textarea.clp-input { padding: .8rem 1rem; }
.hk-public .hk-help-contact .clp-input:focus, .hk-public .hk-help-contact .clp-input:focus-visible { border-color: var(--v2-blue); box-shadow: 0 0 0 4px rgba(11,95,232,.28); outline: 0 !important; }
.hk-public .hk-help-contact .clp-field-help { margin-top: .35rem; color: var(--v2-muted); font-size: .82rem; }
.hk-public .hk-help-contact .clp-field-error { margin-top: .4rem; color: #b42318; font-size: .85rem; font-weight: 560; }
.hk-public .hk-help-contact .hk-btn-primary { width: 100%; margin-top: .3rem; cursor: pointer; }
.hk-public .hk-help-contact .hk-btn-primary svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-help-contact__done { display: flex; gap: .8rem; margin-bottom: 1.3rem; padding: 1rem; border: 1px solid #b7e6e4; border-radius: 1rem; background: var(--v2-teal-50); }
.hk-public .hk-help-contact__done svg { flex: none; width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-help-contact__done strong { color: #0a5f5d; }
.hk-public .hk-help-contact__done p { margin: .15rem 0 0; color: #0a5f5d; font-size: .92rem; }
.hk-public .hk-help-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 991.98px) {
    .hk-public .hk-help-hero__grid, .hk-public .hk-help-contact__grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-help-hero__media { height: clamp(14rem, 50vw, 20rem); }
    .hk-public .hk-help-quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hk-public .hk-help-body__grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-help-toc { position: static; }
    .hk-public .hk-help-toc ul { display: flex; flex-wrap: wrap; gap: .5rem; }
    .hk-public .hk-help-toc a { padding: .45rem .9rem; border: 1px solid var(--v2-line-2); border-radius: 999px; background: #fff; font-size: .88rem; }
}
@media (max-width: 640px) {
    .hk-public .hk-help-hero__media { display: none; }
    .hk-public .hk-help-quick__grid { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
    .hk-public .hk-help-quick__grid a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-items: center; padding: 1rem; }
    .hk-public .hk-help-quick__grid span { grid-row: span 2; margin: 0; }
    .hk-public .hk-help-contact__pair { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-help-faq summary { padding-right: 2rem; }
    .hk-public .hk-help-faq > div { padding-right: 0; }
}

/* ==========================================================================
   Remaining public pages (2026-09-24): shared compact header, notices,
   legal documents, certificate check, compare, learning paths, cart/checkout
   ========================================================================== */
.hk-public .hk-page-hero--compact { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.75rem, 3.5vw, 2.5rem); border-bottom: 1px solid var(--v2-line); }
.hk-public .hk-page-hero .hk-page-hero__title { margin: 0; color: var(--v2-navy-900); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; }
.hk-public .hk-page-hero--compact + .hk-page-body, .hk-public .hk-page-hero--compact + #cart-main-content .hk-page-body { padding-top: clamp(2rem, 4vw, 3rem); }

.hk-public .hk-notice-panel { display: flex; flex-direction: column; align-items: center; gap: .5rem; max-width: 40rem; margin: 0 auto; padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: linear-gradient(180deg, var(--v2-cream), #fff); text-align: center; }
.hk-public .hk-notice-panel__icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: .5rem; border-radius: 1.1rem; background: var(--v2-teal-50); }
.hk-public .hk-notice-panel__icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-notice-panel__icon.is-warn { background: #fff4e5; }
.hk-public .hk-notice-panel__icon.is-warn svg { stroke: #b45309; }
.hk-public .hk-notice-panel h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.hk-public .hk-notice-panel p { max-width: 32rem; margin: 0 0 .9rem; color: var(--v2-ink-2); line-height: 1.65; }
.hk-public .hk-notice-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

/* Legal documents */
.hk-public .hk-legal__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0 !important; }
.hk-public .hk-legal__meta span { padding: .35rem .8rem; border: 1px solid var(--v2-line-2); border-radius: 999px; background: #fff; color: var(--v2-ink-2); font-size: .85rem; font-weight: 560; }
.hk-public .hk-legal__grid { display: grid; grid-template-columns: 16rem minmax(0, 46rem); justify-content: center; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hk-public .hk-legal__toc { position: sticky; top: 6rem; max-height: calc(100vh - 8rem); overflow: auto; }
.hk-public .hk-legal__toc > p { margin: 0 0 .8rem; color: var(--v2-muted); font: 700 .74rem/1.3 var(--v2-sans); letter-spacing: .14em; text-transform: uppercase; }
.hk-public .hk-legal__toc ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; counter-reset: hk-toc; }
.hk-public .hk-legal__toc li { counter-increment: hk-toc; }
.hk-public .hk-legal__toc a { display: flex; gap: .6rem; padding: .45rem .7rem; border-radius: .6rem; color: var(--v2-ink-2); font-size: .9rem; line-height: 1.4; text-decoration: none; }
.hk-public .hk-legal__toc a::before { content: counter(hk-toc); min-width: 1.2rem; color: var(--v2-muted); font-variant-numeric: tabular-nums; }
.hk-public .hk-legal__toc a:hover { background: var(--v2-paper); color: var(--v2-navy); }
.hk-public .hk-legal__doc { min-width: 0; color: var(--v2-ink-2); font-size: 1.02rem; line-height: 1.75; }
.hk-public .hk-legal__doc p { margin: 0 0 1rem; }
.hk-public .hk-legal__intro { margin-bottom: 2rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--v2-teal); border-radius: 0 1rem 1rem 0; background: var(--v2-teal-50); color: var(--v2-ink); font-size: 1.06rem; }
.hk-public .hk-legal__intro p:last-child { margin: 0; }
.hk-public .hk-legal__doc section { scroll-margin-top: 6rem; padding: 1.8rem 0 .8rem; border-top: 1px solid var(--v2-line); }
.hk-public .hk-legal__doc section:first-of-type { border-top: 0; padding-top: 0; }
.hk-public .hk-legal__doc h2 { display: flex; align-items: baseline; gap: .8rem; margin: 0 0 1rem; font-size: clamp(1.35rem, 2.4vw, 1.6rem); line-height: 1.25; }
.hk-public .hk-legal__doc h2 span { flex: none; color: var(--v2-teal-700); font: 700 .95rem/1 var(--v2-sans); font-variant-numeric: tabular-nums; }
.hk-public .hk-legal__clause { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); }
.hk-public .hk-legal__clause span { color: var(--v2-muted); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: .1rem; }
.hk-public .hk-legal__doc ul { display: grid; gap: .5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.hk-public .hk-legal__doc li { position: relative; padding-left: 1.5rem; }
.hk-public .hk-legal__doc li::before { content: ""; position: absolute; left: .2rem; top: .7rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--v2-teal); }
.hk-public .hk-legal__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 2rem; padding: 1.5rem; border-radius: var(--v2-radius); background: var(--v2-paper); }
.hk-public .hk-legal__footer strong { color: var(--v2-navy-900); font-size: 1.05rem; }
.hk-public .hk-legal__footer p { margin: .2rem 0 0; font-size: .95rem; }
.hk-public .hk-legal__footer-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Certificate check */
.hk-public .hk-verify-hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); background: radial-gradient(900px 420px at 95% 0%, var(--v2-teal-50), transparent 60%), linear-gradient(180deg, var(--v2-cream), #fff 85%); }
.hk-public .hk-verify-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.hk-public .hk-verify-hero nav ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: var(--v2-muted); font-size: .86rem; }
.hk-public .hk-verify-hero nav li + li::before { content: "/"; margin-right: .5rem; color: var(--v2-line-2); }
.hk-public .hk-verify-hero nav a { color: var(--v2-muted); text-decoration: none; }
.hk-public .hk-verify-hero h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.08; }
.hk-public .hk-verify-hero__lede { max-width: 34rem; margin: 0 0 1.6rem; color: var(--v2-ink-2); font-size: 1.1rem; line-height: 1.65; }
.hk-public .hk-verify-form { display: flex; align-items: center; gap: .6rem; max-width: 36rem; padding: .35rem .35rem .35rem 1.1rem; border: 1px solid var(--v2-line-2); border-radius: 999px; background: #fff; box-shadow: var(--v2-shadow-sm); }
.hk-public .hk-verify-form:focus-within { border-color: var(--v2-blue); box-shadow: 0 0 0 4px rgba(11,95,232,.14), var(--v2-shadow-sm); }
.hk-public .hk-verify-form svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--v2-teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-verify-form input { flex: 1; min-width: 0; min-height: 2.9rem; border: 0; background: transparent; color: var(--v2-ink); font: 600 1rem var(--v2-sans); letter-spacing: .03em; text-transform: uppercase; outline: 0 !important; }
.hk-public .hk-verify-form input::placeholder { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--v2-muted); }
.hk-public .hk-verify-form button { min-height: 2.9rem; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--v2-navy); color: #fff; font: 600 .95rem var(--v2-sans); cursor: pointer; }
.hk-public .hk-verify-form button:hover { background: var(--v2-navy-800); }
.hk-public .hk-verify-hero__facts { display: grid; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hk-public .hk-verify-hero__facts li { position: relative; padding-left: 1.7rem; color: var(--v2-ink-2); font-size: .95rem; }
.hk-public .hk-verify-hero__facts li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--v2-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303275e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / .7rem no-repeat; }
.hk-public .hk-cert-mock { position: relative; padding: 1.5rem 1.5rem 3rem; }
.hk-public .hk-cert-mock__paper { position: relative; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 2.4rem 2rem 2.2rem; border: .7rem solid var(--v2-navy); border-radius: 1.1rem; background: #fffdf8; box-shadow: var(--v2-shadow-lg); transform: rotate(-2deg); text-align: center; }
.hk-public .hk-cert-mock__paper::before { content: ""; position: absolute; inset: .55rem; border: 1px solid rgba(184,145,58,.55); border-radius: .5rem; }
.hk-public .hk-cert-mock__brand { color: var(--v2-navy); font: 700 .66rem/1.3 var(--v2-sans); letter-spacing: .18em; text-transform: uppercase; }
.hk-public .hk-cert-mock__paper strong { color: var(--v2-navy-900); font: 560 1.6rem/1.15 var(--v2-serif); }
.hk-public .hk-cert-mock__line { display: block; width: 70%; height: .5rem; border-radius: 999px; background: #e9e4d6; }
.hk-public .hk-cert-mock__line--name { width: 55%; height: .8rem; margin: .4rem 0 .3rem; background: #d9cfb4; }
.hk-public .hk-cert-mock__line--short { width: 42%; }
.hk-public .hk-cert-mock__id { margin-top: .6rem; padding: .35rem .8rem; border-radius: 999px; background: var(--v2-blue-50); color: var(--v2-blue-700); font: 600 .72rem/1.2 var(--v2-sans); letter-spacing: .04em; }
.hk-public .hk-cert-mock__seal { position: absolute; right: 1.4rem; bottom: 1.2rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(circle, #d8b765, #b8913a); }
.hk-public .hk-cert-mock__seal svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: #fff; stroke-width: 1.6; }
.hk-public .hk-cert-mock__badge { position: absolute; left: 0; bottom: .4rem; display: flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem .8rem .8rem; border-radius: 1rem; background: #fff; box-shadow: var(--v2-shadow-md); animation: hk-auth-float 7s ease-in-out infinite; }
.hk-public .hk-cert-mock__badge svg { width: 2.2rem; height: 2.2rem; padding: .35rem; border-radius: .7rem; background: var(--v2-teal-50); fill: none; stroke: var(--v2-teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-cert-mock__badge strong { display: block; color: var(--v2-navy-900); font-size: .92rem; }
.hk-public .hk-cert-mock__badge small { display: block; color: var(--v2-muted); font-size: .78rem; }
.hk-public .hk-verify-result { display: grid; gap: 1.5rem; max-width: 60rem; margin-inline: auto; }
.hk-public .hk-verify-status { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 1rem; }
.hk-public .hk-verify-status svg { flex: none; width: 2rem; height: 2rem; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-public .hk-verify-status strong { display: block; font-size: 1.02rem; }
.hk-public .hk-verify-status p { margin: .1rem 0 0; font-size: .9rem; }
.hk-public .hk-verify-status.is-valid { border: 1px solid #b7e6e4; background: var(--v2-teal-50); color: #0a5f5d; }
.hk-public .hk-verify-status.is-valid svg { stroke: var(--v2-teal-700); }
.hk-public .hk-verify-status.is-revoked { border: 1px solid #f5c2bd; background: #fff4f2; color: #9a2317; }
.hk-public .hk-verify-status.is-revoked svg { stroke: #b42318; }
.hk-public .hk-verify-again { display: grid; justify-items: center; gap: .9rem; padding: 1.5rem; border-radius: var(--v2-radius); background: var(--v2-paper); }
.hk-public .hk-verify-again .hk-verify-form { width: 100%; }
.hk-public .hk-verify-again__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; }
.hk-public .hk-verify-again__links a { color: var(--v2-blue-700); font-weight: 600; text-decoration: none; }
.hk-public .hk-verify-again__links a:hover { text-decoration: underline; }

/* Compare */
.hk-public .hk-compare-page__subhead { margin: 3rem 0 1.25rem; font-size: 1.6rem; }
.hk-public .hk-compare-page .hk-course-card .hk-btn-secondary { margin-top: auto; width: 100%; cursor: pointer; }
.hk-public .hk-compare-page__count { margin: 0 0 1.25rem; color: var(--v2-muted); }
.hk-public .hk-compare-wrap { overflow-x: auto; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; }
.hk-public .hk-compare-table { width: 100%; min-width: 44rem; border-collapse: collapse; table-layout: fixed; font-size: .95rem; }
.hk-public .hk-compare-table thead th:first-child { width: 10rem; }
.hk-public .hk-compare-table th, .hk-public .hk-compare-table td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--v2-line); text-align: left; vertical-align: top; }
.hk-public .hk-compare-table tbody tr:last-child > * { border-bottom: 0; }
.hk-public .hk-compare-table tbody th { width: 10rem; background: var(--v2-paper); color: var(--v2-muted); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hk-public .hk-compare-table thead th { position: relative; background: #fff; }
.hk-public .hk-compare-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .8rem; }
.hk-public .hk-compare-name { display: block; margin-top: .6rem; color: var(--v2-navy-900); font: 560 1.05rem/1.3 var(--v2-serif); text-decoration: none; }
.hk-public .hk-compare-remove { position: absolute; top: 1.3rem; right: 1.5rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--v2-navy); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: var(--v2-shadow-sm); }
.hk-public .hk-compare-table .hk-btn-primary { min-height: 2.5rem; padding: .5rem 1rem; font-size: .88rem; }
.hk-public .hk-compare-page__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.hk-public .hk-compare-page__actions button { cursor: pointer; }

/* Learning paths */
.hk-public .hk-paths-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.hk-public .hk-paths-hero__stats { display: flex; gap: .8rem; margin: 0; }
.hk-public .hk-paths-hero__stats div { min-width: 7.5rem; padding: 1rem 1.2rem; border: 1px solid var(--v2-line); border-radius: 1rem; background: #fff; box-shadow: var(--v2-shadow-xs); }
.hk-public .hk-paths-hero__stats dt { color: var(--v2-muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hk-public .hk-paths-hero__stats dd { margin: .2rem 0 0; color: var(--v2-navy-900); font: 560 2rem/1 var(--v2-serif); }
.hk-public .hk-paths { background: var(--v2-paper); }
.hk-public .hk-path { margin-bottom: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg); background: #fff; }
.hk-public .hk-path__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.hk-public .hk-path__index { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--v2-navy); color: #fff; font: 600 1.05rem var(--v2-serif); }
.hk-public .hk-path__head h2 { margin: 0; font-size: 1.5rem; }
.hk-public .hk-path__head p { margin: .1rem 0 0; color: var(--v2-muted); font-size: .92rem; }
.hk-public .hk-path__progress { display: grid; grid-template-columns: 1fr auto; gap: .4rem; margin-bottom: 1.25rem; font-size: .88rem; color: var(--v2-muted); }
.hk-public .hk-path__progress strong { color: var(--v2-navy); }
.hk-public .hk-path__track { grid-column: 1 / -1; height: .45rem; border-radius: 999px; background: var(--v2-line); overflow: hidden; }
.hk-public .hk-path__track span { display: block; height: 100%; border-radius: inherit; background: var(--v2-teal); }
.hk-public .hk-path__track--mini { max-width: 12rem; margin-top: .5rem; }
.hk-public .hk-path__steps { position: relative; display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.hk-public .hk-path__step { position: relative; display: grid; grid-template-columns: 2.2rem 7.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .8rem; border: 1px solid var(--v2-line); border-radius: 1.1rem; transition: border-color .2s, box-shadow .2s; }
.hk-public .hk-path__step:hover { border-color: var(--v2-line-2); box-shadow: var(--v2-shadow-sm); }
.hk-public .hk-path__node { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--v2-line-2); border-radius: 50%; color: var(--v2-navy); font-weight: 700; font-size: .9rem; }
.hk-public .hk-path__step.is-enrolled .hk-path__node { border-color: var(--v2-teal); background: var(--v2-teal); color: #fff; }
.hk-public .hk-path__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .7rem; }
.hk-public .hk-path__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .2rem; color: var(--v2-muted); font-size: .8rem; }
.hk-public .hk-path__level { padding: .1rem .55rem; border-radius: 999px; background: var(--v2-blue-50); color: var(--v2-blue-700); font-weight: 600; }
.hk-public .hk-path__body h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.hk-public .hk-path__body h3 a { color: var(--v2-navy-900); text-decoration: none; }
.hk-public .hk-path__body h3 a:hover { color: var(--v2-blue-700); }
.hk-public .hk-path__by { margin: .2rem 0 0; color: var(--v2-muted); font-size: .86rem; }
.hk-public .hk-path__action { display: grid; justify-items: end; gap: .4rem; }
.hk-public .hk-path__price { color: var(--v2-navy-900); font-weight: 700; }
.hk-public .hk-path__action .hk-btn-primary { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .88rem; white-space: nowrap; }

/* Cart + checkout (legacy markup, re-skinned) */
.hk-public .cart-area, .hk-public .checkout-area { padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 7vw, 5.5rem) !important; background: #fff; }
.hk-public .cart-area .generic-table, .hk-public .checkout-area .generic-table { overflow: hidden; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.hk-public .cart-area .generic-table thead th, .hk-public .checkout-area .generic-table thead th { border: 0; background: var(--v2-paper); color: var(--v2-muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hk-public .cart-area .generic-table td, .hk-public .cart-area .generic-table th { vertical-align: middle; border-color: var(--v2-line); }
.hk-public .cart-area .bg-gray, .hk-public .checkout-area .bg-gray { border: 1px solid var(--v2-line); border-radius: var(--v2-radius) !important; background: var(--v2-paper) !important; }
.hk-public .cart-area .form--control, .hk-public .checkout-area .form--control, .hk-public .checkout-area .form-control { min-height: 2.9rem; border: 1px solid var(--v2-line-2); border-radius: .85rem; }

@media (max-width: 991.98px) {
    .hk-public .hk-legal__grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-legal__toc { position: static; max-height: none; padding: 1rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
    .hk-public .hk-legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hk-public .hk-verify-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-cert-mock { max-width: 30rem; }
    .hk-public .hk-paths-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .hk-public .hk-path__step { grid-template-columns: 2.2rem 6rem minmax(0, 1fr); }
    .hk-public .hk-path__action { grid-column: 2 / -1; grid-auto-flow: column; justify-content: start; align-items: center; }
}
@media (max-width: 640px) {
    .hk-public .hk-legal__toc ol { grid-template-columns: minmax(0, 1fr); }
    .hk-public .hk-legal__clause { grid-template-columns: 2.2rem minmax(0, 1fr); }
    .hk-public .hk-cert-mock { display: none; }
    .hk-public .hk-verify-form { flex-wrap: wrap; padding: .5rem; border-radius: 1.2rem; }
    .hk-public .hk-verify-form svg { display: none; }
    .hk-public .hk-verify-form input { flex-basis: 100%; padding: 0 .6rem; }
    .hk-public .hk-verify-form button { width: 100%; }
    .hk-public .hk-path__head { grid-template-columns: auto minmax(0, 1fr); }
    .hk-public .hk-path__head .hk-btn-secondary { grid-column: 1 / -1; }
    .hk-public .hk-path__step { grid-template-columns: 2.2rem minmax(0, 1fr); }
    .hk-public .hk-path__thumb { display: none; }
    .hk-public .hk-path__action { grid-column: 2; }
    .hk-public .hk-legal__footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-public .hk-cert-mock__badge { animation: none; }
}
