/* Learnexai: hand-written stylesheet (no build step needed on cPanel) */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f3eee6;
  --ink: #1b1f2a;
  --ink-2: #4b5161;
  --muted: #7a8091;
  --line: #e6dfd3;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: #d8efec;
  --warm: #e8a33d;
  --warm-soft: #fbedd5;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --ok: #157f3d;
  --ok-soft: #e3f4e8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(27, 31, 42, .05), 0 8px 24px rgba(27, 31, 42, .06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2, .display { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.container { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 56px); }
.container-fluid { width: 100%; padding: 0 clamp(16px, 3.5vw, 56px); }
.narrow { max-width: 820px; }
.container.narrow { margin-left: auto; margin-right: auto; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--warm); display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.active { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; font: inherit; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .header-actions .hide-sm { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .08s ease, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #0b5f58; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }

/* Hero */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-panel { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.hero-panel h3 { color: var(--warm); font-family: var(--display); font-size: 1.4rem; }
.hero-panel ol { margin: 0; padding-left: 1.2rem; }
.hero-panel li { margin: .55rem 0; color: #d9dce4; }
.search-bar { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; max-width: 520px; margin-top: 24px; }
.search-bar input { flex: 1; border: 0; outline: 0; padding: 8px 14px; font: inherit; background: transparent; min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 32px; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card h3 { margin-bottom: .35rem; }
.course-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.course-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft)); display: grid; place-items: center; color: var(--accent); font-family: var(--display); font-size: 1.8rem; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.course-card .meta { font-size: .82rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.course-card a.title { color: var(--ink); font-weight: 700; }
.cat-card { display: block; color: var(--ink); }
.cat-card:hover { text-decoration: none; border-color: var(--accent); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-warm { background: var(--warm-soft); color: #8a5a10; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }

/* Pricing */
.toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle a { padding: 8px 18px; border-radius: 999px; color: var(--ink-2); font-weight: 600; }
.toggle a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.toggle a:hover { text-decoration: none; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-family: var(--display); font-size: 2.4rem; font-weight: 600; }
.plan .price small { display: block; font-family: var(--font); font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 14px; }
.plan li { padding: 5px 0 5px 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .ribbon { position: absolute; top: -12px; left: 22px; }

/* Forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font: inherit; color: var(--ink); }
.input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
textarea.input { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 5px; }
.error { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; background: var(--surface); }
.seg input { margin-right: 8px; }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.auth-wrap { max-width: 520px; margin: 48px auto; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--warm-soft); color: #7a4f0d; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Dashboard */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 64px; }
.dash-nav { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.dash-nav a, .dash-nav button { color: var(--ink-2); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-align: left; }
.dash-nav a:hover, .dash-nav a.active { background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.dash-nav .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 14px 4px; }
.stat { font-family: var(--display); font-size: 2rem; font-weight: 600; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .dash-nav { position: static; flex-direction: row; overflow-x: auto; } .dash-nav .label { display: none; } }

/* Lesson player */
.player { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; }
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-list li a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); }
.lesson-list li a.current { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.lesson-list li a:hover { text-decoration: none; background: var(--surface-2); }
.dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .7rem; }
.dot.done { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) { .lesson-layout { grid-template-columns: 1fr; } }

/* Legal / prose */
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; color: var(--ink); margin-top: 2rem; font-family: var(--font); font-weight: 700; }
.prose h3 { color: var(--ink); margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.legal-meta { background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; margin-bottom: 1.5rem; }

/* FAQ */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq[open] summary { margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9ccd6; padding: 56px 0 28px; margin-top: 40px; font-size: .92rem; }
.site-footer a { color: #e7e9ef; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 7px 0; }
.footer-bottom { border-top: 1px solid #333949; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.pay-marks { display: flex; gap: 8px; }
.pay-marks span { border: 1px solid #454c5e; border-radius: 6px; padding: 3px 8px; font-size: .75rem; font-weight: 700; color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.18); display: none; }
.cookie.show { display: block; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.pagination nav { margin-top: 24px; }
.pagination svg { width: 18px; height: 18px; display: inline; }
.inline { display: inline; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }

/* ---- Home page sections ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.hero-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #333949; color: #d9dce4; font-size: .92rem; flex-wrap: wrap; }
.hero-panel-foot strong { color: #fff; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 0; }
.trust-grid strong { font-size: .95rem; }
.trust-grid span { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-grid > div:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } .trust-grid > div { border-left: 0; border-top: 1px solid var(--line); } .trust-grid > div:first-child { border-top: 0; } }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--surface-2); border-radius: var(--radius); padding: 22px; }
.stats-band > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (max-width: 640px) { .stats-band { grid-template-columns: 1fr 1fr; } }

.grid-cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.cat-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-mono { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.cat-body { display: flex; flex-direction: column; gap: 3px; }
.cat-body .small { color: var(--ink-2); }
.cat-count { color: var(--accent) !important; font-weight: 700; }
.tint-teal .cat-mono { background: #d8efec; color: #0f766e; }
.tint-amber .cat-mono { background: #fbedd5; color: #8a5a10; }
.tint-rose .cat-mono { background: #fde4e4; color: #a23b3b; }
.tint-blue .cat-mono { background: #e0eafb; color: #2b59a8; }
.tint-violet .cat-mono { background: #ece4fb; color: #6544a8; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--warm); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.step h3 { margin-top: 6px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.grid-2-tight { grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-2-tight .card { padding: 18px; }
.grid-2-tight .feature-icon { width: 36px; height: 36px; margin-bottom: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .grid-2-tight { grid-template-columns: 1fr; } }

.band-dark { background: var(--ink); border-radius: 24px; padding: 44px; color: #fff; }
@media (max-width: 640px) { .band-dark { padding: 26px 20px; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding: 12px 14px 12px 44px; background: #252a37; border-radius: 12px; color: #c9ccd6; font-size: .95rem; }
.check-list li strong { color: #fff; }
.check-list li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--warm); color: var(--ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.creator-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid #333949; }
.creator-pill { display: flex; gap: 10px; align-items: center; background: #252a37; padding: 10px 16px 10px 10px; border-radius: 999px; color: #fff; }
.creator-pill:hover { text-decoration: none; background: #2f3545; }
.creator-pill .small { color: #9ea3b0; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--accent-soft), var(--warm-soft)); border: 0; }
.newsletter-form .input { min-width: 0; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* Wide screens: use the extra width for content, not empty margins */
@media (min-width: 1500px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 72px; }
  .hero p.lead { max-width: 680px; }
  .grid-cats { grid-template-columns: repeat(5, 1fr); }
  .grid-plans { max-width: 1280px; margin-left: auto; margin-right: auto; }
}

/* ---- Blog ---- */
.chip-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-on .muted { color: #c9ccd6; }
.post-card .thumb { background: linear-gradient(135deg, var(--warm-soft), var(--accent-soft)); }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden; color: var(--ink); }
.featured-post:hover { text-decoration: none; box-shadow: 0 12px 32px rgba(27, 31, 42, .12); }
.featured-cover { min-height: 300px; background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft)); display: grid; place-items: center; font-family: var(--display); font-size: 4rem; color: var(--accent); }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (max-width: 860px) { .featured-post { grid-template-columns: 1fr; } .featured-cover { min-height: 200px; } }
.post-cover { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.post-body { font-size: 1.06rem; line-height: 1.75; }
.post-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.post-body h3 { font-size: 1.2rem; }
.post-body blockquote { margin: 1.5rem 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--warm); color: var(--ink); font-style: italic; }
.post-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.post-body pre { background: var(--ink); color: #e7e9ef; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.post-body pre code { background: none; padding: 0; }
.post-body img { border-radius: var(--radius-sm); margin: 1rem 0; }
.post-body a { text-decoration: underline; }
.post-editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .post-editor { grid-template-columns: 1fr; } }

/* =====================================================================
   FUNKY THEME LAYER: playful, high-contrast, sticker-style.
   Overrides the base tokens above; delete this block to go back.
   ===================================================================== */
:root {
  --bg: #fff7ea;
  --surface: #ffffff;
  --surface-2: #fdeed6;
  --ink: #16131f;
  --ink-2: #3f3a52;
  --muted: #6e6884;
  --line: #16131f;
  --accent: #6c3bff;          /* electric violet */
  --accent-ink: #ffffff;
  --accent-soft: #e9e1ff;
  --warm: #ff5c39;            /* hot coral */
  --warm-soft: #ffe2d9;
  --lime: #c6f432;
  --sky: #3bc9ff;
  --pink: #ff7ac6;
  --sun: #ffd23f;
  --ok: #138a43;
  --ok-soft: #dcf7e6;
  --radius: 18px;
  --radius-sm: 12px;
  --pop: 4px 4px 0 var(--ink);
  --pop-lg: 6px 6px 0 var(--ink);
  --shadow: var(--pop);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(22, 19, 31, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}
h1, h2, .display { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; }
::selection { background: var(--lime); color: var(--ink); }
a { color: var(--accent); }

/* Header */
.site-header { background: rgba(255, 247, 234, .9); border-bottom: 2px solid var(--ink); }
.brand-mark { background: var(--accent); color: var(--lime); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg); font-family: var(--display); font-weight: 800; }
.nav a { border: 2px solid transparent; }
.nav a:hover, .nav a.active { background: var(--lime); color: var(--ink); border-color: var(--ink); }

/* Buttons: chunky with offset shadow */
.btn { border: 2px solid var(--ink); font-weight: 700; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #5a2bf0; }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: var(--surface); }
.btn-ghost:hover { background: var(--sun); }
.btn-danger { background: var(--warm); }
.link-btn { font-weight: 600; }

/* Eyebrows become stickers */
.eyebrow { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; box-shadow: 2px 2px 0 var(--ink); transform: rotate(-2deg); }

/* Cards */
.card { border: 2px solid var(--ink); box-shadow: var(--pop); }
.card-flat { box-shadow: 3px 3px 0 var(--ink); }
.course-card, .cat-card, .cat-tile, .plan { transition: transform .15s ease, box-shadow .15s ease; }
.course-card:hover, .cat-card:hover, .cat-tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: var(--pop-lg); }
.course-card .thumb { border-bottom: 2px solid var(--ink); }
.course-card a.title { font-family: var(--display); font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.grid > .course-card:nth-child(4n+1) .thumb { background: linear-gradient(135deg, var(--accent-soft), var(--pink)); }
.grid > .course-card:nth-child(4n+2) .thumb { background: linear-gradient(135deg, var(--lime), var(--sky)); }
.grid > .course-card:nth-child(4n+3) .thumb { background: linear-gradient(135deg, var(--sun), var(--warm)); }
.grid > .course-card:nth-child(4n+4) .thumb { background: linear-gradient(135deg, var(--sky), var(--accent-soft)); }
.course-card .thumb { color: var(--ink); font-family: var(--display); font-weight: 800; }

/* Badges & chips */
.badge { border: 2px solid var(--ink); font-weight: 700; }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-warm { background: var(--sun); color: var(--ink); }
.badge-ok { background: var(--lime); color: var(--ink); }
.badge-danger { background: var(--warm-soft); color: #b42318; }
.chip { border: 2px solid var(--ink); color: var(--ink); background: var(--surface); }
.chip:nth-of-type(5n+1):hover { background: var(--lime); }
.chip:nth-of-type(5n+2):hover { background: var(--pink); }
.chip:nth-of-type(5n+3):hover { background: var(--sky); }
.chip:nth-of-type(5n+4):hover { background: var(--sun); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip-on { background: var(--ink); color: var(--lime); }

/* Inputs */
.input, select.input, textarea.input { border: 2px solid var(--ink); border-radius: var(--radius-sm); }
.input:focus { outline: 3px solid var(--lime); border-color: var(--ink); }
.search-bar { border: 2px solid var(--ink); box-shadow: var(--pop); }
.seg label { border: 2px solid var(--ink); }
.seg label:has(input:checked) { background: var(--lime); border-color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 420px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle at 30% 30%, var(--pink), transparent 65%); opacity: .55; }
.hero::after { width: 360px; height: 360px; left: -140px; bottom: -160px; background: radial-gradient(circle at 60% 40%, var(--sky), transparent 65%); opacity: .45; }
.hero h1 .hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 .1em; }
.hero h1 .squig { position: relative; white-space: nowrap; color: var(--accent); }
.hero h1 .squig::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23ff5c39' stroke-width='3'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 100%; }
.hero-panel { background: var(--accent); color: #fff; border: 2px solid var(--ink); box-shadow: var(--pop-lg); transform: rotate(1.5deg); position: relative; }
.hero-panel::before { content: "★ simple"; position: absolute; top: -16px; left: 22px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-4deg); }
.hero-panel h3 { color: var(--sun); font-family: var(--display); font-weight: 800; }
.hero-panel li { color: #f1ecff; }
.hero-panel-foot { border-top: 2px dashed rgba(255, 255, 255, .35); color: #f1ecff; }
.hero-panel .btn-primary { background: var(--lime); color: var(--ink); }
.float-sticker { position: absolute; z-index: 2; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .85rem; box-shadow: 3px 3px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.float-sticker.s1 { background: var(--sun); top: -22px; right: 20px; transform: rotate(6deg); }
.float-sticker.s2 { background: var(--pink); bottom: -20px; left: -18px; transform: rotate(-5deg); animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Marquee */
.marquee { background: var(--ink); color: var(--lime); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; transform: rotate(-1deg); margin: 8px -10px; }
.marquee-track { display: inline-flex; gap: 36px; padding: 14px 0; animation: marquee 38s linear infinite; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.marquee-track a { color: var(--lime); }
.marquee-track a:hover { color: var(--sun); text-decoration: none; }
.marquee-track span.dot-sep { color: var(--pink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Trust strip & stats */
.trust-strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--surface); }
.trust-grid > div { border-left: 2px solid var(--ink); }
.trust-grid > div:nth-child(1) strong::before { content: "● "; color: var(--accent); }
.trust-grid > div:nth-child(2) strong::before { content: "● "; color: var(--warm); }
.trust-grid > div:nth-child(3) strong::before { content: "● "; color: #2fa84f; }
.trust-grid > div:nth-child(4) strong::before { content: "● "; color: var(--sky); }
.stats-band { background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--pop); }
.stats-band > div:nth-child(1) .stat { color: var(--accent); }
.stats-band > div:nth-child(2) .stat { color: var(--warm); }
.stats-band > div:nth-child(3) .stat { color: #1f9d55; }
.stats-band > div:nth-child(4) .stat { color: #0f8ec4; }
.stat { font-family: var(--display); font-weight: 800; font-size: 2.6rem; }

/* Category tiles */
.cat-tile { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cat-mono { border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; transform: rotate(-6deg); }
.tint-teal .cat-mono { background: var(--lime); color: var(--ink); }
.tint-amber .cat-mono { background: var(--sun); color: var(--ink); }
.tint-rose .cat-mono { background: var(--pink); color: var(--ink); }
.tint-blue .cat-mono { background: var(--sky); color: var(--ink); }
.tint-violet .cat-mono { background: var(--accent); color: #fff; }
.cat-count { color: var(--accent) !important; }
.feature-icon { background: var(--lime); color: var(--ink); border: 2px solid var(--ink); transform: rotate(-5deg); }
.grid-2-tight .card:nth-child(2) .feature-icon { background: var(--pink); }
.grid-2-tight .card:nth-child(3) .feature-icon { background: var(--sky); }
.grid-2-tight .card:nth-child(4) .feature-icon { background: var(--sun); }
.grid-2-tight .card:nth-child(5) .feature-icon { background: var(--accent-soft); }
.grid-2-tight .card:nth-child(6) .feature-icon { background: var(--warm-soft); }

/* Steps */
.step { border: 2px solid var(--ink); box-shadow: var(--pop); }
.step:nth-child(1) { background: var(--accent-soft); transform: rotate(-1deg); }
.step:nth-child(2) { background: #f3ffd0; transform: rotate(.8deg); }
.step:nth-child(3) { background: #ffe9f5; transform: rotate(-.6deg); }
.step-n { background: var(--ink); color: var(--lime); border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; }

/* Pricing */
.plan.featured { border: 3px solid var(--ink); background: linear-gradient(180deg, #f3ffd0, #fff 40%); box-shadow: var(--pop-lg); transform: translateY(-6px); }
.plan .price { font-family: var(--display); font-weight: 800; }
.plan li::before { content: "✦"; color: var(--accent); }
.plan .ribbon { background: var(--warm); color: #fff; transform: rotate(-4deg); }
.toggle { background: var(--surface); border: 2px solid var(--ink); }
.toggle a.on { background: var(--ink); color: var(--lime); box-shadow: none; }

/* Dark creator band */
.band-dark { background: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); position: relative; overflow: hidden; }
.band-dark::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px; border-radius: 50%; background: var(--accent); opacity: .5; }
.band-dark .eyebrow { background: var(--lime); }
.check-list li { background: #24203a; border: 1px solid #3a3456; }
.check-list li::before { background: var(--lime); }
.creator-pill { background: #24203a; border: 1px solid #3a3456; }

/* FAQ, newsletter, alerts */
details.faq { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
details.faq[open] { background: #fffbe8; }
details.faq summary::marker { color: var(--accent); }
.newsletter { background: var(--sun); border: 2px solid var(--ink); box-shadow: var(--pop-lg); }
.alert { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.alert-ok { background: var(--lime); color: var(--ink); }
.alert-error { background: var(--warm-soft); color: #9b1c0b; }
.alert-info { background: var(--sun); color: var(--ink); }
.empty { border: 2px dashed var(--ink); background: var(--surface); }

/* Blog */
.featured-post { border: 2px solid var(--ink); box-shadow: var(--pop-lg); }
.featured-cover { border-right: 2px solid var(--ink); }
.post-body blockquote { border-left-color: var(--accent); background: var(--accent-soft); padding: 12px 18px; border-radius: 0 12px 12px 0; }
.post-cover { border: 2px solid var(--ink); box-shadow: var(--pop-lg); }

/* Dashboards */
.dash-nav a, .dash-nav button { border: 2px solid transparent; }
.dash-nav a:hover, .dash-nav a.active { background: var(--lime); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.table th { color: var(--ink-2); }
.table th, .table td { border-bottom: 1px dashed rgba(22, 19, 31, .25); }
.lesson-list li a.current { background: var(--lime); }
.dot { border-color: var(--ink); }
.dot.done { background: var(--accent); border-color: var(--ink); }
.player { border: 2px solid var(--ink); box-shadow: var(--pop-lg); }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); background: var(--ink); }
.site-footer .brand-mark { background: var(--lime) !important; color: var(--ink) !important; }
.footer-grid h4 { color: var(--lime); }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px dashed #4a4466; }
.pay-marks span { background: #fff; color: var(--ink); border: 0; }

/* Cookie */
.cookie { border: 2px solid var(--ink); box-shadow: var(--pop-lg); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .float-sticker { animation: none; }
  .course-card:hover, .cat-tile:hover, .btn:hover { transform: none; }
}
@media (max-width: 900px) {
  .hero-panel { transform: none; }
  .float-sticker.s2 { left: 10px; }
  .step:nth-child(n) { transform: none; }
}
html, body { overflow-x: clip; }
.marquee { margin: 8px 0; }

/* =====================================================================
   PROFESSIONAL REFINEMENT: keeps the bright palette but calms the look:
   softer outlines and shadows, no tilts or bouncing, friendlier type.
   ===================================================================== */
:root {
  --line: #e4ddd0;
  --pop: 0 1px 2px rgba(22, 19, 31, .06), 0 6px 18px rgba(22, 19, 31, .07);
  --pop-lg: 0 2px 4px rgba(22, 19, 31, .06), 0 14px 32px rgba(22, 19, 31, .10);
  --shadow: var(--pop);
  --radius: 16px;
}
body { background-image: none; background-color: #fbf8f2; font-size: 17px; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
h1, h2, .display { font-weight: 700; }

/* No rotation or motion gimmicks */
.brand-mark, .eyebrow, .cat-mono, .feature-icon, .hero-panel, .plan .ribbon, .hero-panel::before, .step:nth-child(n) { transform: none !important; }
.hero-panel::before { display: none; }
.float-sticker { display: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(251, 248, 242, .92); }
.brand-mark { border: 0; box-shadow: none; }
.nav a { border: 0; }
.nav a:hover, .nav a.active { background: var(--accent-soft); color: var(--accent); }

/* Buttons: solid, clean, gentle hover */
.btn { border: 1.5px solid transparent; box-shadow: none; font-weight: 600; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22, 19, 31, .12); }
.btn:active { transform: none; box-shadow: none; }
.btn-dark { color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }

/* Eyebrow: quiet label */
.eyebrow { background: var(--accent-soft); color: var(--accent); border: 0; box-shadow: none; padding: 4px 12px; font-size: .75rem; }

/* Cards & surfaces */
.card, .card-flat, .cat-tile, .step, details.faq, .stats-band, .featured-post, .alert, .cookie, .newsletter, .player, .post-cover { border: 1px solid var(--line); box-shadow: var(--pop); }
.card-flat { box-shadow: none; }
.course-card:hover, .cat-card:hover, .cat-tile:hover { transform: translateY(-3px); box-shadow: var(--pop-lg); }
.course-card .thumb, .featured-cover { border-color: var(--line); }
.course-card a.title { font-family: var(--font); font-weight: 700; font-size: 1.05rem; }

/* Badges, chips, inputs */
.badge, .chip, .toggle { border: 1px solid transparent; }
.chip { border-color: var(--line); }
.chip:hover { background: var(--accent-soft) !important; color: var(--accent); border-color: var(--accent-soft); }
.badge-warm { background: #fff1c7; color: #6b4a00; }
.badge-ok { background: #e8f8c4; color: #2f5200; }
.input, select.input, textarea.input, .search-bar, .seg label { border: 1.5px solid var(--line); }
.input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.search-bar { box-shadow: var(--pop); }
.seg label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.toggle { background: var(--surface-2); }
.toggle a.on { background: var(--surface); color: var(--ink); box-shadow: var(--pop); }

/* Hero */
.hero::before { opacity: .25; }
.hero::after { opacity: .2; }
.hero h1 .hl { background: linear-gradient(transparent 62%, #e5fb9a 62%, #e5fb9a 92%, transparent 92%); }
.hero-panel { background: var(--ink); border: 0; box-shadow: var(--pop-lg); }
.hero-panel h3 { color: var(--lime); }
.hero-panel li { color: #dcd8ea; }
.hero-panel-foot { border-top: 1px solid #34304a; }

/* Marquee becomes a calm, slow topic band */
.marquee { transform: none; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.marquee-track { font-family: var(--font); font-weight: 600; font-size: 1rem; padding: 12px 0; animation-duration: 70s; }
.marquee-track a { color: var(--ink-2); }
.marquee-track a:hover { color: var(--accent); }
.marquee-track span.dot-sep { color: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Sections */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid > div { border-left: 1px solid var(--line); }
.stat { font-size: 2.3rem; font-weight: 700; }
.cat-mono, .feature-icon { border: 0; }
.tint-violet .cat-mono { background: var(--accent-soft); color: var(--accent); }
.tint-teal .cat-mono { background: #ecfbc9; color: #3d6400; }
.tint-amber .cat-mono { background: #fff1c7; color: #7a5200; }
.tint-rose .cat-mono { background: #ffe3f1; color: #9c2d68; }
.tint-blue .cat-mono { background: #dcf3ff; color: #0b6a94; }
.feature-icon, .grid-2-tight .card:nth-child(n) .feature-icon { background: var(--accent-soft); color: var(--accent); }
.step:nth-child(n) { background: var(--surface); }
.step-n { border: 0; color: #fff; background: var(--accent); }
.plan.featured { border: 2px solid var(--accent); background: var(--surface); transform: none; box-shadow: var(--pop-lg); }
.plan .ribbon { background: var(--accent); color: #fff; border: 0; }
.band-dark { box-shadow: var(--pop-lg); border: 0; }
.band-dark::after { opacity: .25; }
.band-dark .eyebrow { background: rgba(198, 244, 50, .15); color: var(--lime); }
.newsletter { background: linear-gradient(120deg, var(--accent-soft), #f6fbe6); box-shadow: none; }
details.faq { box-shadow: none; }
details.faq[open] { background: var(--surface); }
.alert { box-shadow: none; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-info { background: #fff1c7; color: #6b4a00; }
.empty { border: 1px dashed #cfc6b6; }

/* Dashboards */
.dash-nav a:hover, .dash-nav a.active { background: var(--surface); border-color: transparent; box-shadow: var(--pop); color: var(--accent); }
.lesson-list li a.current { background: var(--accent-soft); }
.dot { border-color: var(--line); }

/* Footer */
.site-footer { border-top: 0; }
.footer-grid h4 { color: #fff; }
.site-footer .brand-mark { background: var(--accent) !important; color: var(--lime) !important; }

/* ---- Select boxes: custom arrow set inside the field ---- */
select.input, select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 44px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233f3a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
  text-overflow: ellipsis;
}
select.input:hover { border-color: #cfc6b6; }
select::-ms-expand { display: none; }

/* ---- Mobile refinements ---- */
@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .dash > section { min-width: 0; }
  .dash-nav { min-width: 0; gap: 6px; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a { flex: none; white-space: nowrap; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; font-size: .9rem; }
  .table-wrap .table { min-width: 620px; }
  .post-editor > aside { order: -1; }
  .lesson-layout { gap: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 28px 0; }
  .hero { padding: 36px 0 28px; }
  .hero-panel { padding: 22px; }
  .row.between > h1, .row.between > div > h1 { font-size: 1.7rem !important; }
  .card { padding: 18px; }
  .search-bar input { padding: 8px 10px; }
  .search-bar .btn { padding: 10px 16px; }
  .btn { padding: 11px 18px; }
  .row > .btn, .row > a.btn { flex: 1 1 auto; }
  .site-header .header-actions .btn { flex: none; }
  .toggle { flex-wrap: wrap; justify-content: center; }
  .chips { gap: 6px; }
  .stat { font-size: 1.9rem; }
  .featured-body { padding: 20px; }
  .newsletter-form .row { flex-wrap: wrap !important; }
  .newsletter-form .row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  form.row.card > .input, form.row.card > select.input { flex: 1 1 100% !important; min-width: 0 !important; }
  form.row.card > .btn { width: 100%; }
  .blog-search, .row.between > form.search-bar { min-width: 0 !important; width: 100%; }
  table.table { font-size: .88rem; }
}
.nav.open { box-shadow: 0 12px 24px rgba(22, 19, 31, .08); }
.nav.open a { padding: 12px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav.open a:last-child { border-bottom: 0; }
.show-sm { display: none; }
@media (max-width: 900px) { .nav .show-sm { display: block; } }
.card.course-card, .card.featured-post { padding: 0; }
@media (max-width: 900px) { .table-wrap .table th, .table-wrap .table td { white-space: nowrap; } }

/* ---- Logo ---- */
.brand-logo { height: 38px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 640px) { .site-header .brand-logo { height: 32px; } }
