/* =========================================================================
   UpskillUni theme - "warm" design system
   ========================================================================= */
:root {
    --cream: #fbf7f2;
    --bg2: #f4ece2;
    --peach: #ffe6dc;
    --ink: #1f1430;
    --ink2: #4a3f57;
    --mute: #7a6f84;
    --coral: #f2643a;
    --coral-dark: #d24a22;
    --coral-text: #b93e1a;
    --coral-soft: #ffb79f;
    --plum: #2e1747;
    --plum-light: #4b2a72;
    --mint: #d3f0e2;
    --mint-ink: #17573b;
    --sky: #dde7ff;
    --sun: #ffe6a8;
    --lilac: #ece1ff;
    --rose: #ffdcd5;
    --sage: #e3eed5;
    --line: #ebe1d6;

    --brand: var(--ink);
    --brand-dark: #120b1d;
    --accent: var(--coral);
    --accent-dark: var(--coral-dark);
    --muted-bg: var(--cream);
    --serif: "Fraunces", Georgia, serif;

    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-bg: var(--cream);
    --bs-body-color: var(--ink);
    --bs-secondary-color: var(--mute);
    --bs-border-color: var(--line);
    --bs-link-color: var(--coral-text);
    --bs-link-color-rgb: 185, 62, 26;
    --bs-link-hover-color: var(--ink);
    --bs-link-hover-color-rgb: 31, 20, 48;
    --bs-primary: var(--coral);
    --bs-primary-rgb: 242, 100, 58;
    --bs-focus-ring-color: rgba(242, 100, 58, .25);
    --bs-border-radius: 14px;
    --bs-border-radius-lg: 22px;
    --bs-border-radius-sm: 10px;
    --radius-card: 28px;
    --shadow-soft: 0 1px 2px rgba(31, 20, 48, .06), 0 8px 24px rgba(31, 20, 48, .06);
    --shadow-lift: 0 2px 6px rgba(31, 20, 48, .06), 0 24px 60px rgba(31, 20, 48, .12);
    --spring: cubic-bezier(.2, .8, .2, 1);
}

body { font-family: var(--bs-body-font-family); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
a { color: var(--coral-text); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
h1:not(.h3):not(.h4):not(.h5):not(.h6), h2:not(.h3):not(.h4):not(.h5):not(.h6), .h1, .h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.04; }
h1 em, h2 em, .serif em { font-style: italic; color: var(--coral); }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 700; letter-spacing: -.015em; }
.text-muted, .text-body-secondary { color: var(--mute) !important; }
::selection { background: var(--sun); }

/* ---------- Colour utilities ---------- */
.text-brand { color: var(--ink) !important; }
.text-accent, .text-coral { color: var(--coral-text) !important; }
.text-ink { color: var(--ink) !important; } .text-sun { color: var(--sun) !important; } .text-mute { color: var(--mute) !important; }
.text-plum { color: var(--plum) !important; }
.bg-brand { background: var(--ink) !important; color: #fff; }
.bg-accent { background: var(--coral) !important; color: #fff; }
.bg-muted { background: var(--cream) !important; }
.bg-white { background: #fff !important; }
.bg-cream { background: var(--cream) !important; }
.bg-peach { background: var(--peach) !important; }
.bg-ink { background: var(--ink) !important; color: #fff; }
.bg-coral { background: var(--coral) !important; color: #fff; }
.chip-cat.bg-ink:hover { color: #fff; }
.bg-mint { background: var(--mint) !important; }
.bg-sky { background: var(--sky) !important; }
.bg-sun { background: var(--sun) !important; }
.bg-lilac { background: var(--lilac) !important; }
.bg-rose { background: var(--rose) !important; }
.bg-plum { background: var(--plum) !important; color: #fff; }
.tint-0 { background: var(--mint); } .tint-1 { background: var(--sky); } .tint-2 { background: var(--sun); }
.tint-3 { background: var(--peach); } .tint-4 { background: var(--lilac); } .tint-5 { background: var(--rose); }
.rounded-blob { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.rounded-xl { border-radius: var(--radius-card) !important; }
.border-line { border: 1px solid var(--line) !important; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: .7rem 1.4rem; font-size: .95rem; transition: transform .25s var(--spring), box-shadow .25s, background .2s, border-color .2s, color .2s; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-sm, .btn-group-sm > .btn { border-radius: 999px; padding: .45rem .95rem; font-size: .85rem; }
.btn-lg, .btn-group-lg > .btn { border-radius: 999px; padding: .9rem 1.75rem; font-size: 1rem; }
.btn-group > .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-group > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.btn-link { box-shadow: none !important; transform: none !important; display: inline; white-space: normal; padding: 0; font-weight: 600; }
.input-group > .form-control { border-radius: 0; }
.input-group > .form-control:first-child { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.input-group > .form-control:last-child { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.input-group > .btn { border-radius: 0 999px 999px 0; padding: .45rem 1rem; font-size: .875rem; transform: none; box-shadow: none; }
.input-group > .btn:hover, .input-group > .btn:focus-visible { transform: none; }
.input-group > .btn-outline-brand, .input-group > .btn-outline-secondary { box-shadow: none; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-accent, .btn-brand, .btn-primary, .btn-success {
    background: var(--coral); color: #fff; border: 0; box-shadow: 0 8px 24px rgba(242, 100, 58, .32), inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.btn-accent:hover, .btn-brand:hover, .btn-primary:hover, .btn-success:hover,
.btn-accent:focus-visible, .btn-brand:focus-visible, .btn-primary:focus-visible, .btn-success:focus-visible { background: var(--coral-dark); color: #fff; box-shadow: 0 14px 34px rgba(242, 100, 58, .4); }
.btn-accent:active, .btn-brand:active, .btn-primary:active, .btn-success:active { background: var(--coral-dark) !important; color: #fff !important; }
.btn-sm.btn-accent, .btn-sm.btn-brand, .btn-sm.btn-primary, .btn-sm.btn-success { box-shadow: 0 4px 14px rgba(242, 100, 58, .28); }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover, .btn-ink:focus-visible, .btn-ink:active { background: var(--plum-light) !important; color: #fff !important; }
.btn-outline-brand, .btn-outline-secondary, .btn-outline-primary, .btn-light-line {
    background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.btn-outline-brand:hover, .btn-outline-secondary:hover, .btn-outline-primary:hover, .btn-light-line:hover { background: #fff; color: var(--ink); border-color: #d9cbbd; }
.btn-outline-secondary.active, .btn-outline-brand.active { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.btn-white { background: #fff; color: var(--ink); border: 0; box-shadow: var(--shadow-soft); }
.btn-white:hover { background: #fff; color: var(--ink); }
.btn-white.active { background: var(--sun); }
.btn-line-light { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-line-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Forms ---------- */
.form-control, .form-select { border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; background-color: #fff; color: var(--ink); }
.form-control-sm, .form-select-sm { border-radius: 10px; padding: .35rem .65rem; }
.form-control-lg, .form-select-lg { border-radius: 18px; }
.form-control:focus, .form-select:focus { border-color: var(--coral); box-shadow: 0 0 0 .25rem rgba(242, 100, 58, .18); }
.form-label { font-weight: 600; font-size: .92rem; }
.form-check-input { border: 1.5px solid #d4c6b8; }
.form-check-input:checked { background-color: var(--coral); border-color: var(--coral); }
.form-check-input:focus { border-color: var(--coral); box-shadow: 0 0 0 .25rem rgba(242, 100, 58, .18); }
.form-switch .form-check-input:focus { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23f2643a'/%3e%3c/svg%3e"); }
.input-group-text { border: 1px solid var(--line); background: var(--cream); }

/* ---------- Bootstrap components ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius-card); }
.badge { border-radius: 999px; font-weight: 700; padding: .38em .75em; }
.text-bg-light { background: var(--cream) !important; color: var(--ink) !important; }
.text-bg-light.border { border-color: var(--line) !important; }
.text-bg-success { background: var(--mint) !important; color: #165a3a !important; }
.text-bg-warning { background: var(--sun) !important; color: #6a4b00 !important; }
.text-bg-danger { background: var(--rose) !important; color: #9a1f3a !important; }
.text-bg-info { background: var(--sky) !important; color: #1d3f80 !important; }
.text-bg-secondary { background: #efe5dc !important; color: var(--mute) !important; }
.alert { border-radius: 20px; border: 2px solid transparent; font-weight: 500; }
.alert-success { background: var(--mint); border-color: #a7e6c8; color: #165a3a; }
.alert-danger { background: var(--rose); border-color: #f8c2cf; color: #8a1d35; }
.alert-warning { background: #fff2c4; border-color: var(--sun); color: #6a4b00; }
.alert-info { background: var(--sky); border-color: #bcd4ff; color: #1d3f80; }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--line); }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); font-weight: 700; border-bottom-width: 1px; }
.table.bg-white, .table-responsive > .table.bg-white { border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.table.bg-white > :not(caption) > * > * { padding-left: 1rem; padding-right: 1rem; }
.pagination { --bs-pagination-border-radius: 12px; --bs-pagination-color: var(--ink); --bs-pagination-border-color: var(--line); --bs-pagination-hover-bg: var(--peach); --bs-pagination-hover-color: var(--ink); --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink); --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(242, 100, 58, .18); gap: .35rem; }
.pagination .page-link { border-width: 1px; border-radius: 12px !important; font-weight: 700; min-width: 2.5rem; text-align: center; }
.nav-pills { gap: .35rem; }
.nav-pills .nav-link { border-radius: 999px; color: var(--mute); font-weight: 700; padding: .4rem 1rem; background: #fff; border: 1px solid var(--line); }
.nav-pills .nav-link:hover { color: var(--ink); border-color: var(--ink); }
.nav-pills .nav-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: 20px; --bs-accordion-inner-border-radius: 18px; --bs-accordion-active-bg: var(--peach); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(242, 100, 58, .18); }
.accordion-item { border-width: 1px; }
.accordion-button { font-weight: 700; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 18px; padding: .5rem; box-shadow: var(--shadow-lift); }
.dropdown-item { border-radius: 10px; font-weight: 500; padding: .45rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--cream); color: var(--ink); }
.dropdown-item.active, .dropdown-item:active { background: var(--coral); color: #fff; }
.modal-content { border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-lift); }
.modal-header, .modal-footer { border-color: var(--line); }
.list-group { --bs-list-group-border-color: var(--line); --bs-list-group-border-radius: 18px; }
.toast { border-radius: 16px; }
.breadcrumb { font-size: .85rem; font-weight: 600; --bs-breadcrumb-divider-color: var(--mute); }
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--ink); }
hr { border-color: var(--line); opacity: 1; border-top-width: 1px; }
code { color: var(--plum); }

/* ---------- Section headers ---------- */
.section-title { font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--coral-text); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.sh { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.sh h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.045em; line-height: 1.05; font-weight: 800; margin-top: .5rem; }
.sh p { color: var(--mute); font-size: 1.1rem; margin-top: .75rem; }
.sh-left { text-align: left; margin-left: 0; }
.section-pad { padding: 5rem 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--peach); border-radius: 36px; padding: 2.5rem 2.25rem; margin: 1.5rem 0 2.5rem; position: relative; overflow: hidden; }
.page-hero.cream { background: #fff; border: 1px solid var(--line); }
.page-hero.mint { background: var(--mint); } .page-hero.sky { background: var(--sky); } .page-hero.sun { background: var(--sun); }
.page-hero.lilac { background: var(--lilac); } .page-hero.rose { background: var(--rose); }
.page-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -90px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: rgba(255, 255, 255, .45); pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.045em; margin: .35rem 0 .6rem; }
.page-hero p.lead, .page-hero .lead { color: var(--ink); opacity: .75; font-size: 1.1rem; max-width: 720px; }
@media (max-width: 600px) { .page-hero { border-radius: 26px; padding: 1.75rem 1.25rem; } }

/* ---------- Pill search ---------- */
.pill-search { background: #fff; border-radius: 24px; padding: 8px; display: flex; gap: 8px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); max-width: 600px; }
.pill-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 0 14px; background: none; min-width: 0; }
.pill-search .btn { flex-shrink: 0; }
@media (max-width: 600px) { .pill-search { flex-direction: column; } .pill-search input { padding: 12px 14px; } }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 248, 241, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header .navbar { min-height: 84px; background: transparent !important; border: 0 !important; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 50% 50% 50% 12px; background: var(--coral); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 1.05rem; font-weight: 800; text-transform: lowercase; flex-shrink: 0; }
.site-header .nav-link { color: var(--mute); font-weight: 600; font-size: .95rem; }
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) { .header-search { min-width: 0; width: 180px; } .site-header .navbar-nav .nav-link { padding-left: .45rem; padding-right: .45rem; } }
.site-header .nav-link:hover, .site-header .nav-link.show { color: var(--ink); }
.header-search { min-width: 220px; position: relative; }
.header-search input { border-radius: 999px; padding-left: 2.4rem; background: #fff; border: 1px solid var(--line); height: 44px; }
.header-search .bi-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.header-icons .icon-link-btn { width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; color: var(--ink); font-size: 1.15rem; position: relative; transition: background .2s; }
.header-icons .icon-link-btn:hover { background: #fff; }
.count-badge { position: absolute; top: 2px; right: 0; font-size: .62rem; background: var(--coral) !important; color: #fff; min-width: 1.25rem; padding: .25em .4em; }
.mega-menu { left: .75rem; right: .75rem; width: auto; margin-top: .5rem !important; border-radius: var(--radius-card) !important; max-height: 78vh; overflow-y: auto; border: 1px solid var(--line) !important; }
.mega-menu h6 { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--coral-text) !important; }
.mega-menu .dropdown-item { white-space: normal; padding: .3rem .6rem; }
.mega-menu .subject-link { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); padding: .35rem .5rem; border-radius: 12px; }
.mega-menu .subject-link:hover { background: var(--cream); }
.icon-circle { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; color: var(--ink); }
.icon-circle.sm { width: 30px; height: 30px; border-radius: 10px; font-size: .95rem; }
.icon-circle.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; }
@media (max-width: 1199px) {
    .site-header .navbar-collapse { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1rem; margin: .5rem 0 1rem; }
    .header-search { min-width: 0; }
}

/* ---------- Hero (home) ---------- */
.home-hero { padding: 2.5rem 0 5rem; }
.hi-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hi-pill span { background: var(--mint); padding: 3px 10px; border-radius: 999px; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; margin: 1.4rem 0 1.3rem; }
.home-hero h1 .sq { position: relative; white-space: nowrap; }
.home-hero h1 .sq svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .38em; }
.home-hero p.l { font-size: 1.2rem; color: var(--mute); max-width: 540px; }
.avs { display: flex; align-items: center; gap: 14px; margin-top: 1.75rem; font-size: .9rem; color: var(--mute); }
.avs > div { display: flex; }
.avs i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -10px; display: inline-block; }
.avs i:first-child { margin-left: 0; }
.art { position: relative; aspect-ratio: 1; max-width: 540px; justify-self: center; width: 100%; margin: 0 auto; }
.blobA { position: absolute; inset: 6%; background: var(--peach); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 56% 44% / 44% 58% 42% 56%; } }
.person { position: absolute; left: 22%; right: 22%; bottom: 6%; top: 16%; background: var(--plum); border-radius: 200px 200px 40px 40px; overflow: hidden; }
.person::before { content: ""; position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; background: #e9a77f; left: 28%; top: 12%; }
.person::after { content: ""; position: absolute; width: 80%; height: 46%; border-radius: 120px 120px 0 0; background: var(--coral); left: 10%; bottom: 0; }
.float-card { position: absolute; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(42, 26, 18, .12); font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite; color: var(--ink); }
.float-card small { display: block; font-weight: 500; color: var(--mute); font-size: .75rem; }
.float-card em { font-style: normal; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; }
.f1 { top: 12%; left: 0; } .f2 { top: 44%; right: -2%; animation-delay: -1.6s; } .f3 { bottom: 8%; left: 4%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@media (max-width: 600px) { .float-card { font-size: .75rem; padding: 10px 12px; } .float-card em { width: 30px; height: 30px; } }

/* Legacy hero class (used on a few pages) */
.hero { background: var(--plum); color: #fff; border-radius: 0 0 40px 40px; }
.hero h1 { font-weight: 800; letter-spacing: -.04em; }

/* ---------- Goal quiz ---------- */
.quiz { background: var(--plum); border-radius: 40px; padding: 3.5rem; color: #fff; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; position: relative; overflow: hidden; }
.quiz::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--plum-light); right: -80px; top: -100px; }
.quiz h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 800; color: #fff; }
.quiz p { opacity: .82; margin-top: .9rem; font-size: 1.05rem; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.opt { background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 20px; text-align: left; transition: .25s; color: #fff; font: inherit; cursor: pointer; }
.opt:hover { background: rgba(255, 255, 255, .18); }
.opt.on { background: #fff; color: var(--ink); border-color: #fff; }
.opt b { display: block; font-size: 1.05rem; margin-top: 8px; }
.opt .bi { font-size: 1.6rem; }
.rec { grid-column: 1 / -1; background: var(--sun); color: var(--ink); border-radius: 20px; padding: 20px 22px; display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.rec.show { display: flex; animation: popIn .5s var(--spring); }
@keyframes popIn { from { transform: scale(.9); opacity: 0; } }
@media (max-width: 960px) { .quiz { grid-template-columns: 1fr; padding: 2.25rem; } }
@media (max-width: 600px) { .opts { grid-template-columns: 1fr; } .quiz { padding: 1.75rem; border-radius: 28px; } }

/* ---------- Category chips & tiles ---------- */
.cats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chip-cat { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 700; border: 2px solid transparent; color: var(--ink); transition: .25s var(--spring); }
.chip-cat:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--ink); color: var(--ink); }
.chip-cat .bi { font-size: 1.2rem; }
.chip-cat.outline { background: #fff; border-color: var(--line); }
.chip-cat.outline:hover { border-color: var(--ink); }
.category-tile { border: 1px solid var(--line); border-radius: 22px; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .9rem; color: var(--ink); height: 100%; background: #fff; transition: .3s var(--spring); }
.category-tile:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-lift); }
.category-tile > i, .category-tile > .bi { font-size: 1.35rem; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--peach); color: var(--ink); flex-shrink: 0; }
.category-tile.tinted { border-color: transparent; }
.category-tile.tinted > i { background: rgba(255, 255, 255, .7); }

/* ---------- Course cards ---------- */
.cc { background: #fff; border-radius: var(--radius-card); padding: 12px; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s; display: flex; flex-direction: column; height: 100%; width: 100%; color: var(--ink); }
.cc:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-lift); }
.cc .cv { height: 180px; border-radius: 20px; position: relative; display: grid; place-items: center; overflow: hidden; color: var(--ink); }
.cc .cv img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cc .cv .stretched-cover { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); }
.cc .cv .stretched-cover > .bi { font-size: 4.25rem; opacity: .85; }
.cc .cv img { transition: transform .5s; }
.cc:hover .cv img { transform: scale(1.05); }
.cc .lv { position: absolute; top: 12px; left: 12px; background: #fff; font-size: .72rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; z-index: 1; color: var(--ink); }
.cc .lv.hot { background: var(--ink); color: #fff; }
.cc .hrt { position: absolute; top: 10px; right: 10px; background: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; border: 0; z-index: 1; color: var(--ink); transition: transform .25s var(--spring); }
.cc .hrt:hover { transform: scale(1.12); }
.cc .hrt.active { color: var(--coral); }
.cc .hrt.active .bi-heart::before { content: "\f415"; }
.cc .ib { padding: 16px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.cc .pv { font-size: .8rem; color: var(--mute); font-weight: 600; }
.cc .pv:hover { color: var(--ink); }
.cc h3 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; margin: 5px 0 12px; font-weight: 800; }
.cc h3 a { color: var(--ink); }
.cc h3 a:hover { color: var(--coral-text); }
.cc .mt { display: flex; gap: 6px; flex-wrap: wrap; }
.cc .mt span { font-size: .72rem; font-weight: 700; background: var(--cream); padding: 5px 10px; border-radius: 999px; }
.cc .ft { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; gap: .5rem; }
.cc .pr { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cc .pr small { font-size: .78rem; color: var(--mute); font-weight: 600; display: block; letter-spacing: 0; }
.cc .pr small s { margin-right: .25rem; }
.cc .pr .enq { font-size: 1rem; }
.cc .acts { display: flex; align-items: center; gap: 6px; }
.add-btn { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.3rem; transition: .3s; border: 0; flex-shrink: 0; }
.add-btn:hover, .cc:hover .add-btn { background: var(--coral); color: #fff; }
.cc:hover .add-btn .bi-plus-lg { transform: rotate(90deg); }
.add-btn .bi { transition: transform .3s; }
.cmp-btn { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--mute); font-size: .95rem; }
.cmp-btn:hover, .cmp-btn.active { border-color: var(--ink); color: var(--ink); }
.cmp-btn.active { background: var(--sun); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

/* Legacy card bits still referenced on some pages */
.course-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; height: 100%; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--cream); color: var(--ink); border-radius: 999px; padding: .25rem .65rem; margin: 0 .25rem .3rem 0; }
.badge-choice { background: var(--sun); color: var(--ink); font-weight: 800; }
.badge-ondemand { background: var(--sky); color: var(--ink); font-weight: 800; }
.price { font-weight: 800; color: var(--ink); font-size: 1.35rem; letter-spacing: -.03em; }
.price-was { text-decoration: line-through; color: var(--mute); font-size: .85rem; margin-left: .35rem; }
.price-save { color: #b02a4a; font-size: .8rem; font-weight: 800; background: var(--rose); padding: .1rem .5rem; border-radius: 999px; }
.icon-btn { border: 0; background: none; color: var(--mute); padding: .25rem .45rem; font-size: .85rem; font-weight: 600; border-radius: 10px; }
.icon-btn:hover, .icon-btn.active { color: var(--ink); background: var(--cream); }
.icon-btn.active .bi-heart::before { content: "\f415"; color: var(--coral); }
.stars { color: #f5a623; letter-spacing: 1px; }

/* Course row (search results, lists) */
.course-row { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; padding: 12px !important; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s; }
.course-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.course-row .thumb { width: 200px; aspect-ratio: 16/11; object-fit: cover; border-radius: 20px; display: block; }
.course-row .thumb-tint { width: 200px; aspect-ratio: 16/11; border-radius: 20px; display: grid; place-items: center; font-size: 3rem; position: relative; color: var(--ink); }
.course-row .thumb-tint .lv { position: absolute; top: 10px; left: 10px; background: #fff; font-size: .68rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.course-row .row-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.3; }
.course-row .row-title:hover { color: var(--coral-text); }
.course-row .row-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.course-row .row-meta span { font-size: .75rem; font-weight: 700; background: var(--cream); padding: 5px 10px; border-radius: 999px; color: var(--ink); }
.course-row .row-side { min-width: 190px; padding: .5rem .75rem; }
@media (max-width: 767px) { .course-row .thumb, .course-row .thumb-tint { width: 100%; } }

/* Scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; overflow-x: auto; padding: 10px 4px 18px; margin: -10px -4px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 1200px) { .scroller { grid-auto-columns: calc(25% - 15px); } }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { border-radius: var(--radius-card); padding: 2rem; display: flex; flex-direction: column; min-height: 300px; }
.story .stars { font-size: 1.1rem; letter-spacing: 2px; color: var(--ink); }
.story q { font-size: 1.12rem; font-weight: 600; line-height: 1.45; margin: 1.1rem 0 auto; quotes: none; display: block; }
.story .who { display: flex; align-items: center; gap: 12px; margin-top: 1.5rem; }
.story .who i { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 1.1rem; font-weight: 800; flex-shrink: 0; }
.story .who small { display: block; color: var(--mute); font-weight: 500; }
.jump { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 5px 12px; font-size: .78rem; font-weight: 700; display: inline-block; margin-top: 6px; }
.jump:hover { color: #fff; background: var(--coral-dark); }
@media (max-width: 960px) { .stories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stories { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--coral); border-radius: 40px; padding: 4.5rem 3rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.045em; line-height: 1; font-weight: 800; color: #fff; }
.cta-band p { font-size: 1.1rem; opacity: .92; margin: 1rem auto 1.9rem; max-width: 640px; }
.cta-band .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 2px, transparent 2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%); mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%); }
.cta-band > * { position: relative; }
.cta-band .btn-light-line { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.cta-band .btn-light-line:hover { border-color: #fff; color: #fff; }
.plum-band { background: var(--plum); border-radius: 40px; padding: 3.5rem; color: #fff; position: relative; overflow: hidden; }
.plum-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--plum-light); right: -80px; top: -100px; }
.plum-band > * { position: relative; z-index: 1; }
.plum-band h2, .plum-band h3 { color: #fff; }
@media (max-width: 600px) { .cta-band { padding: 3rem 1.4rem; border-radius: 28px; } .plum-band { padding: 2rem 1.4rem; border-radius: 28px; } }

/* ---------- Search page ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1rem 1.1rem; }
.filters .accordion-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; background: transparent; }
.filters .accordion-item:last-child { border-bottom: 0; }
.filters .accordion-button { font-weight: 800; padding: .75rem .25rem; background: none !important; box-shadow: none !important; font-size: .95rem; color: var(--ink); }
.filters .accordion-body { padding: .25rem .25rem .9rem; }
.filters .form-check { font-size: .9rem; }
.filters .count { color: var(--mute); font-size: .78rem; font-weight: 600; }
.page-intro { color: var(--mute); }
.result-bar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .6rem .9rem; }

/* ---------- Course detail ---------- */
.detail-hero { background: var(--peach); border-radius: 40px; margin: 1.5rem 0 1rem; position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; bottom: -140px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: rgba(255, 255, 255, .45); }
.detail-hero > * { position: relative; z-index: 1; }
.detail-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.045em; }
.summary-list dt { font-weight: 700; color: var(--mute); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.summary-list dd { margin-bottom: .75rem; font-weight: 600; }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius-card); position: sticky; top: 100px; background: #fff; box-shadow: var(--shadow-soft); }
.buy-box .discount-code-group { margin-top: .15rem; }
.buy-box .discount-code-group .form-control-sm {
  padding: .42rem .85rem;
  font-size: .875rem;
  border-right: 0;
}
.buy-box .discount-code-group .btn-sm {
  padding: .42rem 1.05rem;
  font-weight: 700;
  border-left: 0;
  margin-left: 0;
}
.section-nav { position: sticky; top: 84px; z-index: 5; background: rgba(255, 248, 241, .94); backdrop-filter: blur(8px); overflow-x: auto; white-space: nowrap; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.section-nav a { display: inline-block; padding: .45rem 1rem; color: var(--mute); font-weight: 700; font-size: .88rem; border-radius: 999px; margin-right: .25rem; }
.section-nav a:hover { color: var(--ink); background: #fff; }
.detail-section { scroll-margin-top: 150px; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.035em; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.1rem 1.25rem; margin-bottom: .9rem; }
.provider-reply { background: var(--cream); border-left: 4px solid var(--coral); padding: .7rem .9rem; margin-top: .6rem; font-size: .9rem; border-radius: 0 14px 14px 0; }
.cms-body h2 { margin-top: 2rem; font-size: 1.6rem; }
.cms-body h3 { margin-top: 1.5rem; font-size: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--mute); padding: 4rem 0 2.25rem; border-radius: 48px 48px 0 0; margin-top: 5rem; }
.site-footer .fg { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; font-size: .95rem; }
.site-footer h4 { color: var(--ink); font-size: 1rem; font-weight: 800; margin-bottom: .9rem; letter-spacing: -.01em; }
.site-footer .fg a:not(.logo):not(.social a) { display: block; color: var(--mute); margin-bottom: .55rem; font-weight: 500; }
.site-footer a:hover { color: var(--coral-text); }
.site-footer .copy { margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mute); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer .copy a { color: var(--mute); }
.site-footer .social { display: flex; gap: .4rem; }
.site-footer .social a { margin-bottom: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--cream); display: inline-grid; place-items: center; color: var(--ink); margin-right: .4rem; }
.site-footer .social a:hover { background: var(--coral); color: #fff; }
@media (max-width: 960px) { .site-footer .fg { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie consent ---------- */
.cookie-consent { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 1080; background: var(--ink); color: #fff; border-radius: 24px; max-width: 980px; margin: 0 auto; box-shadow: 0 24px 60px rgba(42, 26, 18, .35); }
.cookie-consent a { color: var(--sun); }
.cookie-consent h6 { color: #fff; font-weight: 800; }

/* ---------- Auth split ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0 1rem; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 2.25rem; box-shadow: var(--shadow-soft); }
.auth-card h1 { font-size: 2.1rem; letter-spacing: -.045em; }
.auth-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.auth-art .float-card { position: absolute; }
@media (max-width: 960px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }
@media (max-width: 600px) { .auth-card { padding: 1.5rem; } }

/* ---------- Dashboards (account / provider / admin) ---------- */
.dash-wrap { padding-top: 1.5rem; padding-bottom: 1rem; }
.dash-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.1rem; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.min-w-0 { min-width: 0; }
.dash-side .side-title { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--ink); }
.dash-side .side-sub { font-size: .78rem; color: var(--mute); font-weight: 600; }
.dash-side .side-group { font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: var(--coral-text); text-transform: uppercase; margin: 1rem 0 .3rem .75rem; }
.dash-nav { gap: 2px; }
.dash-nav .nav-link { color: var(--mute); border-radius: 14px; padding: .55rem .8rem; font-weight: 600; font-size: .92rem; display: flex; align-items: center; }
.dash-nav .nav-link .bi { width: 1.4rem; }
.dash-nav .nav-link:hover { background: var(--cream); color: var(--ink); }
.dash-nav .nav-link.active { background: var(--peach); color: var(--ink); font-weight: 800; }
.dash-nav .nav-link.active .bi { color: var(--coral-text); }
@media (max-width: 991px) { .dash-side { position: static; } }
.stat-card { border: 1px solid var(--line); border-radius: 24px; padding: 1.15rem 1.3rem; background: #fff; transition: transform .3s var(--spring), box-shadow .3s; }
.row > * > .stat-card.h-100, .row > * > a > .stat-card { height: 100%; }
.dash-wrap .row > [class*="col-"] > .stat-card { height: 100%; }
@media (min-width: 992px) {
    .row.g-4 > aside.col-lg-4,
    .row.g-4.g-lg-5 > .col-lg-4:has(.buy-box) { align-self: flex-start; }
}
a:hover > .stat-card { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stat-card .value { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.15; }
.stat-card .label { color: var(--mute); font-size: .85rem; font-weight: 600; }
.stat-card .icon-circle { margin-bottom: .6rem; }
.stat-card.tint { border-color: transparent; }
.stat-card.tint-0, .stat-card.tint-1, .stat-card.tint-2, .stat-card.tint-3, .stat-card.tint-4 { border-color: transparent; }
.table-sm td, .table-sm th { vertical-align: middle; }
.dash-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.dash-title h1 { margin: 0; }
.dash-wrap h1.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.045em; }

/* ---------- Compare ---------- */
.compare-table th { width: 200px; background: var(--cream); font-weight: 700; font-size: .9rem; }
.compare-table td { min-width: 220px; vertical-align: top; background: #fff; }

/* ---------- Reveal animation ---------- */
.pop { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .8s cubic-bezier(.3, 1.3, .5, 1), transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.pop.in { opacity: 1; transform: none; }
.no-js .pop { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .pop { opacity: 1; transform: none; transition: none; }
    .blobA, .float-card { animation: none; }
    .cc:hover, .course-row:hover, .category-tile:hover, .chip-cat:hover, .btn:hover { transform: none; }
}

/* =========================================================================
   Premium layer (Kindred premium template)
   ========================================================================= */
.lead { color: var(--ink2); }
.text-ink2 { color: var(--ink2) !important; }
.bg-bg2 { background: var(--bg2) !important; }
.bg-sage { background: var(--sage) !important; }
.tint-0 { background: var(--sky); } .tint-1 { background: var(--mint); } .tint-2 { background: var(--lilac); }
.tint-3 { background: var(--sun); } .tint-4 { background: var(--peach); } .tint-5 { background: var(--rose); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-text); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.text-center > .eyebrow, .sh .eyebrow { justify-content: center; }
.sh { max-width: 760px; margin-bottom: 2.75rem; }
.sh h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 400; margin-top: .85rem; }
.sh p { color: var(--ink2); font-size: 1.12rem; }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.shead h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; margin-bottom: 0; }
.section-pad { padding: 6.5rem 0; }
@media (max-width: 680px) { .section-pad { padding: 4.5rem 0; } }

/* Announcement bar */
.announce { background: var(--plum); color: #f6edff; font-size: .85rem; text-align: center; padding: .6rem 1rem; }
.announce b { color: var(--coral-soft); }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: .4rem; }

/* Header */
.site-header { background: rgba(251, 247, 242, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(31, 20, 48, .04); }
.site-header .navbar { min-height: 76px; }
.logo { font-size: 1.6rem; gap: 11px; }
@media (max-width: 575.98px) { .logo { font-size: 1.4rem; } }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo .logo-mark-svg { width: 34px; height: 34px; flex-shrink: 0; transition: transform .35s var(--spring); }
.logo:hover .logo-mark-svg { transform: rotate(-6deg) scale(1.04); }
.logo-word { display: inline-flex; align-items: baseline; letter-spacing: -.045em; font-weight: 800; }
.logo-uni { color: var(--coral); }
.msg .av.av-brand { background: none; padding: 0; overflow: hidden; border-radius: 11px; }
.msg .av.av-brand svg { width: 100%; height: 100%; }
.site-header .navbar-nav .nav-link { color: var(--ink2); padding: .55rem .9rem !important; border-radius: 999px; transition: background .2s, color .2s; }
.site-header .navbar-nav .nav-link:hover, .site-header .navbar-nav .nav-link.show { background: var(--bg2); color: var(--ink); }
.site-header .signin { color: var(--ink); font-weight: 600; padding: .55rem .8rem; }
.site-header .signin:hover { color: var(--coral-text); }
.header-search input { border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.header-icons .icon-link-btn:hover { background: var(--bg2); }
.mega-menu { border: 1px solid var(--line) !important; box-shadow: var(--shadow-lift); }
@media (max-width: 1199px) { .site-header .navbar-collapse { border: 1px solid var(--line); box-shadow: var(--shadow-lift); } }

/* Page heroes (inner pages) */
.page-hero { border-radius: 36px; padding: 2.75rem 2.5rem; }
.page-hero::after { width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .6), transparent 65%); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); margin: .7rem 0 .6rem; }
.page-hero.cream { border: 1px solid var(--line); }
.detail-hero { border-radius: 40px; }
.detail-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.detail-section h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.auth-card h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.dash-wrap h1.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.5rem); letter-spacing: -.025em; }
.stat-card .value { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; letter-spacing: -.03em; }
.pill-search { border-radius: 24px; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.pill-search input { font-size: 1.03rem; }
.stories .story q { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }

/* ---------- Home hero ---------- */
.hero-p { position: relative; padding: 4rem 0 2.5rem; overflow: hidden; }
.hero-p::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 190, .55), transparent 62%); top: -420px; right: -260px; pointer-events: none; }
.hero-p > * { position: relative; }
.pill-new { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 6px 16px 6px 6px; border-radius: 999px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-soft); color: var(--ink); }
.pill-new span { background: var(--mint); color: var(--mint-ink); padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.hero-p h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.035em; margin: 1.6rem 0 1.4rem; }
.hero-p h1 .u { position: relative; font-style: italic; white-space: nowrap; }
.hero-p h1 .u svg { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .3em; overflow: visible; }
.hero-p h1 .u path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .6s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-p .lead { font-size: 1.19rem; max-width: 520px; }
.hsearch { margin-top: 2.1rem; max-width: 580px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lift); border: 1px solid var(--line); padding: 8px; }
.stabs { display: flex; gap: 4px; padding: 4px 4px 10px; flex-wrap: wrap; }
.stabs button { font-size: .85rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; color: var(--mute); background: none; border: 0; transition: .2s; }
.stabs button.on { background: var(--ink); color: #fff; }
.srow { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 18px; padding: 6px 6px 6px 18px; }
.srow > .bi { color: var(--mute); font-size: 1.1rem; }
.srow input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.03rem; color: var(--ink); padding: 12px 4px; }
.srow input::placeholder { color: #9a8fa3; }
.hchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.1rem; align-items: center; font-size: .88rem; color: var(--mute); }
.hchips a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-weight: 600; font-size: .84rem; transition: .2s; }
.hchips a:hover { border-color: var(--ink); color: var(--ink); }
.proof { display: flex; align-items: center; gap: 16px; margin-top: 2rem; font-size: .9rem; color: var(--ink2); }
.proof .avs { display: flex; margin: 0; }
.proof .avs i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; color: #fff; }
.proof .avs i:first-child { margin-left: 0; }
.art-p { position: relative; height: 600px; }
.arch { position: absolute; left: 12%; right: 6%; top: 20px; bottom: 30px; border-radius: 999px 999px 36px 36px; overflow: hidden; background: linear-gradient(180deg, #ffd9c2 0%, #ffb89a 55%, #f28a66 100%); box-shadow: var(--shadow-lift); }
.arch.plum { background: linear-gradient(180deg, #ece1ff 0%, #c9b3ec 55%, #8f6cc0 100%); }
.arch.mint { background: linear-gradient(180deg, #d3f0e2 0%, #9fd9be 100%); }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fc { position: absolute; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(31, 20, 48, .16); animation: bob 6s ease-in-out infinite; color: var(--ink); }
.fc small { display: block; font-size: .75rem; color: var(--mute); font-weight: 600; }
.fc b { font-size: .94rem; line-height: 1.3; display: block; }
.fc-1 { top: 70px; left: 0; display: flex; gap: 14px; align-items: center; width: 280px; }
.fc-2 { top: 230px; right: -10px; width: 270px; animation-delay: -2s; }
.fc-3 { bottom: 70px; left: -10px; width: 230px; animation-delay: -4s; }
.fc-4 { bottom: 20px; right: 20px; display: flex; align-items: center; gap: 10px; animation-delay: -1s; padding: 12px 16px; }
.ring { width: 58px; height: 58px; flex-shrink: 0; position: relative; }
.ring svg { width: 100%; height: 100%; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg .av { width: 36px; height: 36px; border-radius: 50%; background: var(--plum-light); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.bubble { background: var(--cream); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: .84rem; margin-top: 6px; line-height: 1.45; }
.typing { display: flex; gap: 4px; margin-top: 8px; padding-left: 46px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #c9bcd3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.up { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -.02em; color: var(--mint-ink); margin: 2px 0 6px; line-height: 1.1; }
.tick { width: 34px; height: 34px; border-radius: 10px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 991px) { .art-p { height: 540px; max-width: 560px; margin: 0 auto; } }
@media (max-width: 680px) {
    .hero-p { padding-top: 2.25rem; }
    .art-p { height: 430px; }
    .arch { left: 8%; right: 4%; }
    .fc { padding: 12px 14px; border-radius: 16px; }
    .fc-1 { width: 220px; top: 24px; } .fc-1 .ring { width: 46px; height: 46px; }
    .fc-2 { top: auto; bottom: 20px; right: 0; width: 230px; }
    .fc-3, .fc-4 { display: none; }
    .srow { flex-wrap: wrap; padding: 6px; } .srow > .bi { display: none; } .srow input { padding: 12px; } .srow .btn { width: 100%; }
    .proof { flex-wrap: wrap; }
}

/* Trust marquee */
.trust { padding: 2rem 0 1.25rem; }
.trust p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.4rem; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 72px; width: max-content; animation: scroll 38s linear infinite; align-items: center; }
.track span { font-family: var(--serif); font-size: 1.6rem; color: #a79aa9; letter-spacing: -.01em; white-space: nowrap; }
.track span:nth-child(3n) { font-family: var(--bs-body-font-family); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.marq:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Goals */
.goals { background: var(--plum); color: #fff; border-radius: 44px; padding: 4rem; position: relative; overflow: hidden; }
.goals::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, #6d3fa3 0%, transparent 65%); right: -140px; top: -200px; opacity: .8; }
.goals::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 100, 58, .5) 0%, transparent 65%); left: -120px; bottom: -200px; }
.goals > * { position: relative; z-index: 1; }
.goals .eyebrow { color: var(--coral-soft); }
.goals h2 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; }
.goals h2 em { color: var(--coral-soft); }
.goals .lead { color: #d9cbe8; max-width: 560px; }
.gtabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 2.25rem 0 1.9rem; }
.gtabs button { display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: .94rem; transition: .25s; color: #fff; }
.gtabs button i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 1rem; }
.gtabs button:hover { background: rgba(255, 255, 255, .14); }
.gtabs button.on { background: #fff; color: var(--ink); border-color: #fff; }
.gtabs button.on i { background: var(--peach); color: var(--coral-dark); }
.gpanel { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.gpanel[hidden] { display: none; }
.gpanel.fadeswap > * { animation: fs .5s var(--spring); }
@keyframes fs { from { opacity: 0; transform: translateY(12px); } }
.gpath { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; padding: 30px; }
.gpath h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -.01em; color: #fff; }
.gpath > p { color: #d9cbe8; margin-top: 6px; }
.steps { margin-top: 1.5rem; display: grid; gap: 12px; }
.step { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.step em { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--coral-soft); color: var(--plum); display: grid; place-items: center; font-weight: 800; font-size: .88rem; flex-shrink: 0; }
.step b { display: block; font-size: .97rem; }
.step span { font-size: .84rem; color: #cdbedd; }
.grec { background: #fff; color: var(--ink); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; }
.grec .tag { align-self: flex-start; font-size: .75rem; font-weight: 800; background: var(--peach); color: var(--coral-dark); padding: 5px 12px; border-radius: 999px; }
.grec h4 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin: .9rem 0 .6rem; letter-spacing: -.01em; }
.grec h4 a { color: var(--ink); }
.grec h4 a:hover { color: var(--coral-text); }
.grec .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.25rem; }
.grec .meta span { font-size: .78rem; font-weight: 700; background: var(--cream); padding: 6px 11px; border-radius: 999px; color: var(--ink2); }
.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.4rem; }
.outs div { background: var(--cream); border-radius: 16px; padding: 14px; }
.outs b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.outs small { font-size: .78rem; color: var(--mute); font-weight: 600; }
.grec .gprice { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.grec .gprice small { display: block; font-size: .8rem; color: var(--mute); font-weight: 600; letter-spacing: 0; }
@media (max-width: 991px) { .gpanel { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
    .goals { padding: 2.25rem 1.4rem; border-radius: 30px; }
    .gpath, .grec { padding: 22px; }
    .gtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .gtabs button { padding: 10px 12px 10px 8px; font-size: .82rem; gap: 8px; }
    .gtabs button i { width: 28px; height: 28px; flex-shrink: 0; }
}

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; border-radius: 28px; padding: 26px; min-height: 220px; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); transition: transform .4s var(--spring), box-shadow .4s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--ink); }
.cat-card .ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .7); display: grid; place-items: center; font-size: 1.45rem; position: relative; }
.cat-card h3 { font-size: 1.19rem; font-weight: 800; letter-spacing: -.02em; margin: auto 0 .15rem; position: relative; padding-right: 2.5rem; }
.cat-card p { font-size: .88rem; color: var(--ink2); font-weight: 500; margin: 0; position: relative; }
.cat-card .go { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: .35s var(--spring); }
.cat-card:hover .go, .cat-card:focus-visible .go { transform: scale(1); opacity: 1; }
.cat-card .blob { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .35); right: -50px; top: -50px; }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cat-grid { gap: 12px; } .cat-card { min-height: 170px; padding: 18px; border-radius: 22px; } .cat-card h3 { font-size: 1rem; } }

/* Filter pills */
.fpills { display: flex; gap: 8px; flex-wrap: wrap; }
.fpills button { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink2); transition: .2s; }
.fpills button:hover { border-color: var(--ink); }
.fpills button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-cat][hidden] { display: none !important; }

/* Course card */
.cc { padding: 0; border: 1px solid var(--line); overflow: hidden; border-radius: 28px; transition: transform .4s var(--spring), box-shadow .4s; }
.cc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cc .cv { height: 200px; border-radius: 0; place-items: stretch; }
.cc .cv .pat { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(var(--ink) 2.5px, transparent 2.5px); background-size: 28px 28px; }
.cc .cv.pat-1 .pat { background-image: repeating-linear-gradient(-45deg, var(--ink) 0 1.5px, transparent 1.5px 24px); background-size: auto; }
.cc .cv.pat-2 .pat { background-image: radial-gradient(circle, transparent 11px, var(--ink) 11px 12.4px, transparent 12.4px); background-size: 40px 40px; }
.cc .cv .glyph { position: absolute; right: 22px; bottom: 14px; font-size: 4.4rem; line-height: 1; color: rgba(31, 20, 48, .85); }
.cc .lv { top: 16px; left: 16px; font-size: .75rem; padding: 6px 11px; }
.cc .hrt { top: 14px; right: 14px; width: 38px; height: 38px; }
.cc .ib { padding: 22px; }
.cc .pv { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--mute); }
.cc .pv i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 800; color: #fff; background: var(--plum-light); text-transform: uppercase; flex-shrink: 0; }
.cc h3 { font-size: 1.19rem; margin: .65rem 0 .9rem; }
.cc .mt { gap: 14px; font-size: .84rem; color: var(--ink2); font-weight: 600; }
.cc .mt span { background: none; padding: 0; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cc .mt .bi { color: var(--mute); }
.cc .ft { border-top: 1px dashed var(--line); margin-top: auto; padding-top: 1.1rem; }
.cc .ib > .ft { margin-top: 1.25rem; }
.cc .ib > .mt + .ft { margin-top: auto; }
.cc .ib > .mt { margin-bottom: 1.25rem; }
.cc .pr { font-size: 1.6rem; }
.cc .pr s { font-size: .88rem; color: var(--mute); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.add-btn { background: var(--cream); color: var(--ink); }
.add-btn:hover, .cc:hover .add-btn { background: var(--coral); color: #fff; }
.cmp-btn { border: 1px solid var(--line); }
.cards-grid { gap: 22px; }
.course-row { padding: 14px !important; }
.course-row:hover { transform: translateY(-3px); }
.course-row .row-title { font-size: 1.2rem; }

/* Stats band */
.stats-band { background: var(--ink); color: #fff; border-radius: 44px; padding: 4.5rem 4rem; display: grid; grid-template-columns: 1.1fr 2fr; gap: 3.5rem; align-items: center; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.stats-band h2 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; }
.stats-band h2 em { color: var(--coral-soft); }
.stats-band .eyebrow { color: var(--coral-soft); }
.stats-band .lead { color: #c9bed5; }
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; position: relative; z-index: 1; }
.sgrid > div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 28px; }
.sgrid b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 3.75rem); letter-spacing: -.03em; line-height: 1; }
.sgrid span { font-size: .9rem; color: #c9bed5; display: block; margin-top: 10px; }
@media (max-width: 991px) { .stats-band { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .stats-band { padding: 2.25rem 1.4rem; border-radius: 30px; } .sgrid > div { padding: 20px; } }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hw { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 16px; display: flex; flex-direction: column; }
.hw .mock { border-radius: 20px; height: 230px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px; }
.hw .t { padding: 20px 12px 12px; }
.hw .n { font-family: var(--serif); font-style: italic; color: var(--coral); font-size: 1.1rem; }
.hw h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; }
.hw p { color: var(--ink2); font-size: .94rem; margin: 0; }
.mini { background: #fff; border-radius: 16px; box-shadow: var(--shadow-soft); padding: 14px; width: 100%; max-width: 280px; }
.mini .ln { height: 8px; border-radius: 6px; background: var(--bg2); margin: 8px 0; }
.mini .mrow { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.mini .mrow + .mrow { margin-top: 4px; }
.mini .sq { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.mini .mrow div { flex: 1; }
.mini .on { background: var(--peach); }
.play { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lift); font-size: 1.4rem; color: var(--ink); }
.cert { background: #fff; border-radius: 14px; padding: 18px 20px; width: 100%; max-width: 270px; box-shadow: var(--shadow-lift); text-align: center; border: 6px double #e9d7b8; }
.cert small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.cert b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin: 6px 0; }
.seal { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); margin: 8px auto 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
@media (max-width: 991px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .how { grid-template-columns: 1fr; } }

/* Learner story carousel */
.lstory { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: center; }
.sphoto { aspect-ratio: 4/5; border-radius: 36px; position: relative; overflow: hidden; transition: background .6s; max-width: 520px; width: 100%; }
.sphoto svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sphoto svg path, .sphoto svg circle { transition: fill .6s; }
.sbadge { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sbadge small { display: block; font-size: .75rem; color: var(--mute); font-weight: 700; }
.sbadge b { font-size: .94rem; display: block; line-height: 1.3; }
.sjump { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .88rem; flex-wrap: wrap; }
.sjump span { padding: 6px 11px; border-radius: 999px; background: var(--cream); }
.sjump span:last-child { background: var(--mint); color: var(--mint-ink); }
.quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; margin: 1.4rem 0 1.75rem; }
.quote::before { content: "\201C"; color: var(--coral); }
.quote::after { content: "\201D"; color: var(--coral); }
.swho b { font-size: 1.06rem; }
.swho span { display: block; color: var(--mute); font-size: .94rem; }
.swho a { color: var(--coral-text); font-weight: 700; }
.snav { display: flex; align-items: center; gap: 12px; margin-top: 2.1rem; }
.snav .dot { width: 10px; height: 10px; border-radius: 999px; background: #dccfc2; transition: .35s; border: 0; padding: 0; }
.snav .dot.on { width: 34px; background: var(--ink); }
.snav .arr { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: .2s; color: var(--ink); }
.snav .arr:hover { border-color: var(--ink); }
.srating { display: flex; gap: 28px; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.srating b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.srating span { font-size: .84rem; color: var(--mute); font-weight: 600; }
.sslide[hidden] { display: none; }
.sslide.fadeswap > * { animation: fs .5s var(--spring); }
@media (max-width: 991px) { .lstory { grid-template-columns: 1fr; } .sphoto { max-width: 460px; } }

/* Business / providers block */
.biz { background: var(--bg2); border-radius: 44px; padding: 4rem; display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
.biz h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; }
.ticks { list-style: none; display: grid; gap: 14px; margin: 1.75rem 0 2rem; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink2); }
.ticks li::before { content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.mock-dash { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lift); padding: 24px; border: 1px solid var(--line); }
.mock-dash header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 8px; }
.mock-dash header span { font-size: .75rem; font-weight: 700; background: var(--mint); color: var(--mint-ink); padding: 5px 10px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.kpis div { background: var(--cream); border-radius: 16px; padding: 14px; }
.kpis b { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.kpis small { font-size: .75rem; color: var(--mute); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 8px 8px 0 0; background: var(--lilac); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--spring); }
.bars i.hl { background: var(--coral); }
.in .bars i, .bars.in i { transform: scaleY(1); }
.blabels { display: flex; gap: 10px; padding: 8px 4px 0; font-size: .7rem; color: var(--mute); font-weight: 600; }
.blabels span { flex: 1; text-align: center; }
.team { margin-top: 18px; display: grid; gap: 8px; }
.team div { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; }
.team i { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; font-style: normal; color: #fff; display: grid; place-items: center; font-size: .68rem; font-weight: 800; }
.team .tname { width: 9.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team .pb { flex: 1; height: 8px; border-radius: 9px; background: var(--bg2); overflow: hidden; }
.team .pb span { display: block; height: 100%; border-radius: 9px; background: var(--ink); }
.team em { font-style: normal; color: var(--mute); font-size: .8rem; width: 38px; text-align: right; }
@media (max-width: 991px) { .biz { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .biz { padding: 2.25rem 1.4rem; border-radius: 30px; } .kpis b { font-size: 1.1rem; } .team .tname { width: 6rem; } }

/* Finance calculator */
.fin { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.fin h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; }
.calc { background: #fff; border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: 34px; }
.calc label { font-size: .88rem; font-weight: 700; color: var(--mute); display: flex; justify-content: space-between; }
.calc label b { color: var(--ink); font-size: 1rem; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 9px; background: linear-gradient(90deg, var(--coral) var(--p, 30%), var(--bg2) var(--p, 30%)); margin: 16px 0 28px; outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--coral); box-shadow: var(--shadow-soft); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--coral); cursor: pointer; }
.calc input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 .25rem rgba(242, 100, 58, .25); }
.months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 28px; }
.months button { padding: 12px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; background: #fff; color: var(--ink); transition: .2s; }
.months button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fresult { background: var(--cream); border-radius: 22px; padding: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.fresult .big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; }
.fresult .big small { font-family: var(--bs-body-font-family); font-size: 1rem; color: var(--mute); font-weight: 600; letter-spacing: 0; }
.fresult p { font-size: .84rem; color: var(--mute); font-weight: 600; margin: 0; }
.fbadges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.75rem; }
.fbadges span { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
@media (max-width: 991px) { .fin { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .calc { padding: 22px; } .fresult .big { font-size: 2.6rem; } }

/* FAQ */
.faq-p { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; }
.faq-p h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: .85rem; }
.faq-p details { border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
.faq-p summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.faq-p summary::-webkit-details-marker { display: none; }
.faq-p summary i { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: .3s; font-style: normal; font-size: 1.1rem; }
.faq-p details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-p details > div { color: var(--ink2); margin-top: .75rem; max-width: 640px; }
@media (max-width: 991px) { .faq-p { grid-template-columns: 1fr; } }

/* CTA */
.cta-band { background: linear-gradient(135deg, #f2643a 0%, #e9507a 100%); border-radius: 48px; padding: 5.5rem 3rem; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); pointer-events: none; }
.cta-band::before { width: 700px; height: 700px; left: -260px; top: -380px; }
.cta-band::after { width: 520px; height: 520px; right: -200px; bottom: -320px; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 4.75rem); letter-spacing: -.03em; }
.cta-band h2 em { color: #fff; }
.cta-band p { font-size: 1.19rem; }
.cta-band small { display: block; margin-top: 1.4rem; opacity: .85; font-size: .88rem; }
.cta-band .btn-white { box-shadow: 0 10px 30px rgba(31, 20, 48, .18); }
@media (max-width: 680px) { .cta-band { padding: 3.75rem 1.4rem; border-radius: 32px; } }

/* Plum band */
.plum-band { border-radius: 44px; }
.plum-band::after { background: radial-gradient(circle, #6d3fa3 0%, transparent 65%); width: 520px; height: 520px; right: -140px; top: -200px; }

/* Footer */
.site-footer { background: var(--cream); border-radius: 0; padding: 5.5rem 0 2.5rem; margin-top: 3rem; border-top: 1px solid var(--line); color: var(--ink2); position: relative; z-index: 2; }
.site-footer .fg { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; font-size: .9rem; }
.site-footer h4 { font-family: var(--bs-body-font-family); font-size: .88rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer .fg a:not(.logo):not(.social a) { color: var(--ink2); margin-bottom: .7rem; }
.site-footer a:hover { color: var(--coral-dark); }
.site-footer .copy { margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .84rem; }
.site-footer .copy .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .social a { background: #fff; border: 1px solid var(--line); border-radius: 50%; }
@media (max-width: 1080px) { .site-footer .fg { grid-template-columns: 1fr 1fr 1fr; } .site-footer .fg > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 680px) { .site-footer .fg { grid-template-columns: 1fr 1fr; } }

/* Cookie banner */
.cookie-consent { box-shadow: var(--shadow-lift); border-radius: 24px; }

/* Reveal (smoother, premium easing) */
.pop { transform: translateY(28px); transition: opacity .9s var(--spring), transform .9s var(--spring); }
@media (prefers-reduced-motion: reduce) {
    .hero-p h1 .u path { animation: none; stroke-dashoffset: 0; }
    .fc, .track, .typing i { animation: none; }
    .bars i { transform: none; }
    .cat-card:hover, .cc:hover, .btn:hover { transform: none; }
}

/* Arch art on auth / advertise */
.art, .auth-art { aspect-ratio: 5 / 6; }
.art .arch, .auth-art .arch { left: 14%; right: 8%; top: 0; bottom: 0; }
.float-card { border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 18px 50px rgba(31, 20, 48, .16); background: rgba(255, 255, 255, .96); z-index: 1; }
.logo-mark { border-radius: 11px; text-transform: uppercase; }
.dash-nav button.nav-link:hover { background: var(--cream) !important; }
.sort-th { color: inherit; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.sort-th:hover { color: var(--coral-text); }
.sort-th .bi { font-size: .8em; }
th[aria-sort="ascending"] .sort-th, th[aria-sort="descending"] .sort-th { color: var(--ink); }
th[aria-sort="ascending"] .sort-th .bi, th[aria-sort="descending"] .sort-th .bi { color: var(--coral-text); }
button.sort-th { background: none; border: 0; padding: 0; font: inherit; font-weight: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
th.text-end .sort-th { flex-direction: row; }
.first-border-0:first-of-type { border-top: 0 !important; padding-top: 0 !important; margin-top: .25rem !important; }
