:root {
    --ink: #0e1220;
    --muted: #6b7280;
    --line: #e8ebf1;
    --soft: #f5f7fb;
    --blue: #bcd3f5;
    --radius: 18px;
}
@media (min-width: 1200px) { .container { max-width: 1040px; } }
html { scroll-padding-top: 90px; scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; letter-spacing: -0.01em; overflow-x: hidden; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; }
a { text-decoration: none; }

/* Navbar */
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: .45rem 0; }
.brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav .nav-link:hover { color: #3b6fd1; }

/* Buttons */
.btn-dark-pill, .btn-dark-lg { background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600; border: 0; }
.btn-dark-pill { padding: .45rem 1.1rem; font-size: .9rem; }
.btn-dark-lg { padding: .65rem 1.5rem; font-size: .95rem; border-radius: 14px; }
.btn-dark-pill:hover, .btn-dark-lg:hover { background: #20263b; color: #fff; }
.btn-light-lg { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .65rem 1.4rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.btn-light-lg:hover { background: var(--soft); }

.pill-badge { display: inline-block; background: #f1f3f7; border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; font-weight: 500; }

/* Hero */
.hero { position: relative; padding: 2.5rem 0 1.5rem; background: #fbfcff url('/assets/img/hero-glass-panels.jpg') right center / auto 100% no-repeat; }
.hero-copy { position: relative; z-index: 2; }
.hero .mb-5 { margin-bottom: 1.2rem !important; }
.hero-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.08; margin: 1.1rem 0 .9rem; }
.hero-title span { color: #6b7280; font-weight: 500; }
.hero-lead { font-size: 1rem; color: #5b6272; max-width: 28rem; margin-bottom: 1.4rem; }
.hero-perks { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin: 0; font-size: .88rem; }
.hero-perks li { display: flex; align-items: center; gap: .8rem; }
.hero-perks i { font-size: 1.1rem; }

/* Feature links */
.feature-links { margin-top: 2rem; }
.feature-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; color: var(--ink); height: 100%; }
.col-md-4:not(:first-child) .feature-link { border-left: 1px solid var(--line); }
.feature-link h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.feature-link p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature-link i { transition: transform .2s; }
.feature-link:hover i { transform: translateX(4px); }

.promo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--soft); border-radius: 24px; padding: 2rem 2.5rem; margin-top: 3rem; }
.promo-banner h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.promo-banner p { margin: 0; color: #4b5263; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2, #about h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 1rem 0 .8rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, box-shadow .2s; }
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(60,100,180,.3); }
.card-soft h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card-soft p { color: var(--muted); margin: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: #e8f0fd; color: #3b6fd1; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1.2rem; }

.step { padding: 1rem .5rem; }
.step-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

.article-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; color: var(--ink); height: 100%; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(60,100,180,.3); color: var(--ink); }
.article-tag { font-size: .8rem; font-weight: 600; color: #3b6fd1; background: #e8f0fd; padding: .3rem .8rem; border-radius: 999px; }
.article-card h3 { font-size: 1.25rem; margin: 1rem 0 .6rem; }
.article-card p { color: var(--muted); }
.article-more { font-weight: 600; font-size: .95rem; }

.stat { background: var(--soft); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.stat strong { display: block; font-size: 2.2rem; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: .95rem; }

.faq { max-width: 50rem; }
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-size: 1.05rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--ink); background: #fff; }
.faq .accordion-body { color: var(--muted); }

/* Contact */
.contact-box { background: var(--ink); color: #fff; border-radius: 28px; padding: 3.5rem; }
.contact-box h2 { font-size: 2.2rem; }
.contact-box p { color: #aab2c5; }
.contact-list li { margin-bottom: .8rem; }
.contact-list i { width: 1.6rem; color: var(--blue); }
.contact-box .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 12px; padding: .85rem 1rem; }
.contact-box .form-control::placeholder { color: #8c95aa; }
.contact-box .form-control:focus { box-shadow: 0 0 0 3px rgba(188,211,245,.3); border-color: var(--blue); }
.contact-box .btn-dark-lg { background: #fff; color: var(--ink); }
.contact-box .btn-dark-lg:hover { background: var(--blue); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 1.5rem; background: #fff; }
.footer-text { color: var(--muted); max-width: 22rem; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--ink); }
.footer-social a:hover { background: var(--ink); color: #fff; }
.site-footer h6 { font-weight: 700; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; color: var(--muted); }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.footer-bottom a { color: var(--muted); }

@media (max-width: 767px) {
    .col-md-4:not(:first-child) .feature-link { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 991px) {
    .hero { background-position: 70% center; }
    .contact-box { padding: 2rem 1.5rem; }
    .hero { padding-top: 2.5rem; }
}

/* Pricing */
.price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.price-card.featured { border: 2px solid var(--ink); box-shadow: 0 24px 50px -24px rgba(40,80,160,.35); }
.price-card h3 { font-size: 1.3rem; }
.price-text { color: var(--muted); min-height: 3rem; }
.price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; margin: .5rem 0 1.2rem; }
.price-features { flex: 1; margin-bottom: 1.5rem; }
.price-features li { padding: .4rem 0; font-size: .95rem; }
.price-features i { color: #3b6fd1; margin-right: .5rem; }

/* Articles */
.article-meta { display: flex; gap: 1.2rem; color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; background: radial-gradient(ellipse at 50% 0%, #e6efff 0%, rgba(255,255,255,0) 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: 1rem auto .8rem; max-width: 44rem; }
.page-hero p { color: var(--muted); font-size: 1.1rem; }
.featured-article { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: var(--ink); transition: box-shadow .2s; }
.featured-article:hover { box-shadow: 0 24px 50px -24px rgba(60,100,180,.35); color: var(--ink); }
.featured-visual { display: grid; place-items: center; min-height: 260px; font-size: 4rem; color: #fff; background: linear-gradient(145deg, #9fc0f1, #5f93e3); }
.featured-body { padding: 2.5rem; }
.featured-body h2 { font-size: 1.8rem; margin: 1rem 0 .7rem; }
.featured-body p { color: var(--muted); }
.back-link { color: var(--muted); font-size: .9rem; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: #2a3042; }
.article-body h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; color: var(--ink); }
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin-bottom: .4rem; }
.article-lead { font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.side-cta { position: sticky; top: 100px; background: var(--soft); border-radius: var(--radius); padding: 1.8rem; }
.side-cta h3 { font-size: 1.25rem; }
.side-cta p { color: var(--muted); }
.side-cta i { color: #3b6fd1; }
.related-title { font-size: 1.6rem; margin: 4rem 0 1.5rem; }
@media (max-width: 767px) { .featured-article { grid-template-columns: 1fr; } .featured-visual { min-height: 140px; } .featured-body { padding: 1.5rem; } }

.text-link { color: #3b6fd1; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { color: var(--ink); }

.article-card { padding: 0; overflow: hidden; }
.article-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.article-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-card .article-meta { margin-top: 1.1rem; }
.category-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.category-filter a { padding: .45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 500; background: #fff; }
.category-filter a:hover { background: var(--soft); }
.category-filter a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-cover { max-width: 900px; margin: 0 auto 3rem; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Author and sharing */
.article-author { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding: .4rem 1.1rem .4rem .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-align: left; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.article-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-author small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-label { font-weight: 600; margin-right: .3rem; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; }
.share-btn:hover { background: var(--soft); color: var(--ink); }
.share-btn.copied { background: #e6f6ec; border-color: #9bd5b0; color: #1e7a45; }

/* Rating */
.rating-box { margin-top: 2.5rem; padding: 1.6rem; background: var(--soft); border-radius: var(--radius); text-align: center; }
.rating-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.rating-options { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.rating-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; cursor: pointer; transition: transform .15s, border-color .15s; }
.rating-btn i { font-size: 1.3rem; color: #3b6fd1; }
.rating-btn b { font-size: .8rem; color: var(--muted); background: var(--soft); border-radius: 999px; padding: .1rem .5rem; }
.rating-btn:hover { transform: translateY(-2px); border-color: #3b6fd1; }
.rating-btn.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.rating-btn.selected i { color: #fff; }
.rating-btn.selected b { background: rgba(255,255,255,.2); color: #fff; }
.rating-thanks { margin: 1rem 0 0; color: #1e7a45; font-weight: 500; }

/* Intro with audio */
.intro-section { padding: 2.5rem 0 0; }
.intro-card { position: relative; overflow: hidden; border-radius: 28px; padding: 1.8rem 2rem; border: 1px solid rgba(255,255,255,.9);
    background: linear-gradient(135deg, #f4f8ff 0%, #e4eeff 55%, #d6e5ff 100%); box-shadow: 0 30px 60px -34px rgba(60,100,200,.5); }
.intro-glow { position: absolute; right: -60px; top: -80px; width: 320px; height: 260px; border-radius: 60px; transform: rotate(-14deg) skewX(8deg);
    background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(170,200,245,.35)); border: 1.5px solid rgba(255,255,255,.9); pointer-events: none; }
.intro-top { position: relative; display: flex; align-items: center; gap: 1.8rem; }
.intro-avatar-wrap { position: relative; flex-shrink: 0; width: 116px; height: 116px; }
.intro-avatar { display: block; width: 100%; height: 100%; padding: 0; border: 4px solid #fff; border-radius: 50%; background: #fff; cursor: pointer; overflow: hidden;
    box-shadow: 0 0 0 4px #9fc0f1, 0 18px 30px -12px rgba(50,90,180,.55); transition: transform .2s; }
.intro-avatar:hover { transform: scale(1.04); }
.intro-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-play { position: absolute; z-index: 3; right: -12px; bottom: -6px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff;
    display: grid; place-items: center; font-size: 1rem; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(14,18,32,.35); pointer-events: none; }
.intro-play .fa-play { margin-left: 3px; }
.is-playing .intro-avatar { animation: introPulse 1.8s ease-out infinite; }
@keyframes introPulse { 0% { box-shadow: 0 0 0 4px #9fc0f1, 0 0 0 4px rgba(159,192,241,.7); } 100% { box-shadow: 0 0 0 4px #9fc0f1, 0 0 0 20px rgba(159,192,241,0); } }
.intro-info { flex: 1; min-width: 0; }
.intro-kicker { display: inline-block; font-size: .8rem; font-weight: 600; color: #3b6fd1; background: rgba(255,255,255,.75); border-radius: 999px; padding: .25rem .8rem; }
.intro-info h2 { font-size: 1.5rem; margin: .6rem 0 .2rem; }
.intro-info p { color: #5b6272; margin-bottom: 1rem; font-size: .95rem; }
.intro-player { display: flex; align-items: center; gap: .9rem; }
.intro-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.intro-eq i { width: 4px; height: 6px; border-radius: 2px; background: #3b6fd1; }
.is-playing .intro-eq i { animation: introEq .9s ease-in-out infinite; }
.is-playing .intro-eq i:nth-child(2) { animation-delay: .15s; }
.is-playing .intro-eq i:nth-child(3) { animation-delay: .3s; }
.is-playing .intro-eq i:nth-child(4) { animation-delay: .45s; }
.is-playing .intro-eq i:nth-child(5) { animation-delay: .6s; }
@keyframes introEq { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.intro-progress { flex: 1; height: 8px; background: rgba(255,255,255,.8); border-radius: 999px; overflow: hidden; cursor: pointer; }
.intro-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7fa8ea, #3b6fd1); border-radius: 999px; transition: width .2s linear; }
.intro-time { min-width: 5.2rem; text-align: right; font-size: .85rem; color: #5b6272; font-variant-numeric: tabular-nums; }
.btn-read { flex-shrink: 0; background: #fff; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; padding: .7rem 1.3rem; font-weight: 600; color: var(--ink); box-shadow: 0 10px 22px -14px rgba(50,90,180,.6); }
.btn-read:hover { background: var(--ink); color: #fff; }
.intro-text { position: relative; margin-top: 1.5rem; padding: 1.5rem 1.6rem; background: rgba(255,255,255,.8); border-radius: 18px; color: #2a3042; line-height: 1.75; }
.intro-text p:last-child { margin-bottom: 0; font-weight: 600; }
@media (max-width: 767px) {
    .intro-top { flex-direction: column; text-align: center; gap: 1.2rem; }
    .intro-player { flex-wrap: wrap; justify-content: center; }
    .intro-progress { flex-basis: 100%; order: 3; }
    .intro-card { padding: 1.5rem 1.2rem; }
}

/* Article header */
.article-header { padding: 1.8rem 0 3.5rem; background: radial-gradient(ellipse at 85% 20%, #e3eeff 0%, rgba(255,255,255,0) 65%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2rem; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: .6rem; }
.crumbs span { color: var(--ink); font-weight: 500; }
.article-header h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.15; margin: 1.1rem 0 1rem; }
.article-header-lead { font-size: 1.1rem; color: #5b6272; line-height: 1.6; margin-bottom: 1.6rem; }
.article-byline { display: flex; align-items: center; gap: .85rem; }
.article-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #bcd3f5; }
.article-byline strong { display: block; font-size: .98rem; }
.article-byline span { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
.article-header-image { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; border: 6px solid #fff; box-shadow: 0 34px 60px -30px rgba(50,90,180,.55); }
.article-header-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body > p:first-child { font-size: 1.2rem; color: var(--ink); }

/* Contact form states */
.contact-box .form-control.is-invalid { border-color: #ff8f8f; background-image: none; }
.field-error { min-height: 0; margin-top: .35rem; font-size: .85rem; color: #ffb3b3; }
.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: #c9d0e0; cursor: pointer; }
.consent input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #bcd3f5; }
.form-status { font-weight: 500; }
.form-status.success { padding: .9rem 1.1rem; border-radius: 12px; background: rgba(120, 220, 160, .15); color: #a8f0c6; }
.form-status.error { padding: .9rem 1.1rem; border-radius: 12px; background: rgba(255, 140, 140, .15); color: #ffc2c2; }
.contact-box .btn-dark-lg:disabled { opacity: .7; }

/* Custom checkbox */
.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 1.4rem; height: 1.4rem; margin-top: .1rem; border: 2px solid rgba(255,255,255,.35); border-radius: 7px; background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; transition: background .15s, border-color .15s, box-shadow .15s; }
.consent input[type="checkbox"]::after { content: ''; width: .4rem; height: .75rem; border: solid #0e1220; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.consent input[type="checkbox"]:hover { border-color: #bcd3f5; }
.consent input[type="checkbox"]:checked { background: #bcd3f5; border-color: #bcd3f5; }
.consent input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(188,211,245,.35); }
.consent input[type="checkbox"].is-invalid { border-color: #ff8f8f; }
.consent { align-items: center; line-height: 1.45; }

/* Courses and waitlist */
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(60,100,180,.4); }
.course-type { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #3b6fd1; background: #e8f0fd; border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1.2rem; }
.course-card h2 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .8rem; }
.course-card p { color: var(--muted); flex: 1; }
.course-price { font-weight: 700; margin: .8rem 0 1.2rem; }
.waitlist-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding: 1.8rem 2rem; border-radius: 24px; background: linear-gradient(135deg, #f4f8ff, #dce9ff); }
.waitlist-note-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #3b6fd1; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 10px 22px -12px rgba(50,90,180,.6); }
.waitlist-note > div:nth-child(2) { flex: 1; min-width: 14rem; }
.waitlist-note p { margin: .2rem 0 0; color: #4b5263; }
.waitlist-modal { border: 0; border-radius: 24px; padding: .5rem .8rem 1rem; }
.waitlist-modal .modal-title { font-size: 1.4rem; font-weight: 700; }
.waitlist-modal .form-label { font-weight: 600; font-size: .9rem; }
.waitlist-modal .form-control, .waitlist-modal .form-select { border-radius: 12px; padding: .7rem 1rem; border-color: var(--line); }
.waitlist-modal .form-control.is-invalid, .waitlist-modal .form-select.is-invalid { border-color: #d9534f; background-image: none; }
.waitlist-modal .field-error { color: #c0392b; }
.waitlist-modal .form-status.success { background: #e6f6ec; color: #1e7a45; }
.waitlist-modal .form-status.error { background: #fdeaea; color: #b03a3a; }
.consent-light { color: #4b5263; }
.consent-light input[type="checkbox"] { border-color: #b8c4da; background: #fff; }
.consent-light input[type="checkbox"]:checked { background: #0e1220; border-color: #0e1220; }
.consent-light input[type="checkbox"]::after { border-color: #fff; }
.consent-light input[type="checkbox"]:hover { border-color: #3b6fd1; }

/* Courses page redesign */
.courses-hero { padding: 3.5rem 0 1.5rem; text-align: center; background: radial-gradient(ellipse at 50% 0%, #dce9ff 0%, rgba(255,255,255,0) 70%); }
.courses-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; max-width: 46rem; margin: 1.2rem auto .9rem; }
.courses-hero p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0 auto 1.6rem; }
.courses-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.courses-hero-chips span { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 500; box-shadow: 0 10px 20px -16px rgba(50,90,180,.6); }
.courses-hero-chips i { color: #3b6fd1; }
.course-card-media { padding: 0; overflow: hidden; }
.course-media { position: relative; aspect-ratio: 3 / 2; background: var(--soft); }
.course-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.course-card-media:hover .course-media img { transform: scale(1.04); }
.course-badge { position: absolute; top: 1rem; left: 1rem; font-size: .78rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 999px; padding: .35rem .9rem; }
.course-badge-inline { position: static; display: inline-block; margin-bottom: 1rem; }
.course-soon { position: absolute; top: 1rem; right: 1rem; font-size: .78rem; font-weight: 600; color: #3b6fd1; background: rgba(255,255,255,.9); border-radius: 999px; padding: .35rem .8rem; }
.course-soon i { margin-right: .3rem; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 2rem 2rem; }
.course-card-media h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: .7rem; }
.course-points { list-style: none; padding: 0; margin: .4rem 0 1.5rem; flex: 1; }
.course-points li { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; font-size: .95rem; }
.course-points i { margin-top: .3rem; font-size: .75rem; color: #3b6fd1; }
.course-wide { display: grid; grid-template-columns: 1fr 1.2fr; margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(60,100,180,.5); }
.course-wide-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
.course-wide-body { padding: 2.4rem; }
.course-wide-body h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: .8rem; }
.course-wide-body p { color: var(--muted); }
.course-wide-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
@media (max-width: 767px) { .course-wide { grid-template-columns: 1fr; } .course-body, .course-wide-body { padding: 1.5rem; } }

.legal-body h2 { font-size: 1.4rem; }
.product-promo h3 { font-size: 1.1rem; }
.courses-hero + .intro-section { padding: 0 0 1.75rem; }
.courses-hero + .intro-section + .container { padding-top: 0; }
.intro-text p:last-child { font-weight: 400; }
.intro-text p.intro-sign { font-weight: 600; }

/* Contact form select matches the dark inputs */
.contact-box .form-select { background-color: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 12px; padding: .85rem 2.5rem .85rem 1rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23bcd3f5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.contact-box .form-select:has(option[value=""]:checked) { color: #8c95aa; }
.contact-box .form-select:focus { background-color: rgba(255,255,255,.12); box-shadow: 0 0 0 3px rgba(188,211,245,.3); border-color: #bcd3f5; color: #fff; }
.contact-box .form-select option { background: #151a2b; color: #fff; }

/* Category counts and pagination */
.category-filter .count { display: inline-block; min-width: 1.4rem; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .78rem; font-weight: 600; text-align: center; }
.category-filter a.active .count { background: rgba(255,255,255,.2); color: #fff; }
.pagination-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination-nav a { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; background: #fff; }
.pagination-nav a:hover { background: var(--soft); }
.pagination-nav a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Service pages */
.service-header { padding-bottom: 2.5rem; }
.service-related { padding-left: 1.2rem; }
.service-related a { font-weight: 500; }
.side-links { margin-top: 1.5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.side-links h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.side-links li { margin-bottom: .5rem; }
.side-links a { display: flex; justify-content: space-between; color: var(--ink); font-weight: 500; }
.side-links a:hover { color: #3b6fd1; }
.side-links i { font-size: .75rem; margin-top: .35rem; }
.article-body ol { padding-left: 1.3rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; color: var(--ink); }
.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: 0 20px 40px -24px rgba(50,90,180,.4); }
.dropdown-item { border-radius: 10px; padding: .55rem .9rem; font-weight: 500; font-size: .95rem; }
@media (min-width: 992px) { .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 1080; width: min(420px, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.4rem; box-shadow: 0 30px 60px -20px rgba(14,18,32,.35); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.cookie-head i { color: #3b6fd1; font-size: 1.15rem; }
.cookie-head h2 { font-size: 1.05rem; margin: 0; }
.cookie-banner p { font-size: .88rem; color: #4b5263; margin-bottom: .9rem; }
.cookie-banner a { color: #3b6fd1; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cookie-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: .55rem 1rem; font-size: .88rem; font-weight: 600; cursor: pointer; }
.cookie-btn:hover { background: var(--soft); }
.cookie-btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cookie-btn-dark:hover { background: #20263b; }
.cookie-link { border: 0; background: none; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: .4rem .5rem; }
.cookie-panel { border-top: 1px solid var(--line); padding-top: .8rem; margin-bottom: .9rem; }
.cookie-panel[hidden] { display: none; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; cursor: pointer; }
.cookie-row strong { display: block; font-size: .9rem; }
.cookie-row small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.cookie-row input { width: 2.4rem; height: 1.3rem; flex-shrink: 0; accent-color: var(--ink); }
.cookie-panel .cookie-btn { width: 100%; margin-top: .4rem; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: .6rem .8rem; vertical-align: top; text-align: left; }
.legal-body th { background: var(--soft); font-weight: 600; }
.legal-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.site-footer a[data-cookie-settings] { cursor: pointer; }
