/* academy.css — Hisparadise Academy (mobile-first). Greens #1f5446/#17443a, gold #f8b72f, Lexend. */
:root { --ag: #1f5446; --ag2: #17443a; --ag3: #0f3a30; --agr: #1f8a3c; --agold: #f8b72f; --aink: #12302a; --amut: #5b6a66; --aline: #e3ebe7; --abg: #f6f8f5;
        --ash: 0 1px 2px rgba(16,40,32,.05), 0 14px 30px -22px rgba(16,40,32,.45); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ac-body { margin: 0; font-family: Lexend, system-ui, sans-serif; color: var(--aink); background: var(--abg); line-height: 1.55; }
a { color: var(--ag); }
img { max-width: 100%; }
.ac-skip { position: absolute; left: -9999px; } .ac-skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.ac-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.ac-main { min-height: 70vh; padding: 0 0 40px; }

/* ── Top bar ── */
.ac-top { background: linear-gradient(100deg, var(--ag3), var(--ag) 70%); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 8px 20px -14px rgba(0,0,0,.6); }
.ac-top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.ac-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.ac-logo { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ac-logo img { width: 32px; height: 32px; object-fit: contain; }
.ac-bt { font-family: Oswald, Lexend, sans-serif; line-height: 1.02; letter-spacing: .03em; }
.ac-bt b { display: block; font-size: 1.05rem; } .ac-bt span { font-size: .82rem; color: var(--agold); font-weight: 600; letter-spacing: .14em; }
.ac-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; cursor: pointer; }
.ac-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ac-nav a { color: rgba(255,255,255,.9); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.ac-nav a:hover, .ac-nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.ac-nav a.ac-btn { color: #17332c; }
@media (max-width: 900px) {
  .ac-burger { display: grid; place-items: center; }
  .ac-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ag2); padding: 8px 12px 14px; box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
  .ac-nav.open { display: flex; }
  .ac-nav a { padding: 12px 14px; font-size: 1rem; }
  .ac-nav a.ac-btn { justify-content: center; margin-top: 6px; }
}

/* ── Buttons, pills ── */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
  background: linear-gradient(135deg, #1f8a3c, var(--ag)); color: #fff !important; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 18px -12px rgba(31,84,70,.9); }
.ac-btn:hover { filter: brightness(1.06); }
.ac-btn.gold { background: linear-gradient(180deg, #ffc94a, #f2a91c); color: #17332c !important; box-shadow: 0 10px 18px -12px rgba(242,169,28,.9); }
.ac-btn.line { background: #fff; color: var(--ag) !important; border-color: #b9d6c6; box-shadow: none; }
.ac-btn.red { background: #fff; color: #b3261e !important; border-color: #f2c3c3; box-shadow: none; }
.ac-btn.sm { min-height: 38px; padding: 7px 16px; font-size: .86rem; }
.ac-btn.block { width: 100%; }
.ac-btn[disabled], .ac-btn.off { opacity: .55; pointer-events: none; }
.ac-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: #eef1ef; color: #4c5956; white-space: nowrap; }
.ac-pill.g { background: #dff3e2; color: #1d6b2f; } .ac-pill.y { background: #fdf0cf; color: #8a5a00; } .ac-pill.r { background: #fde3e3; color: #b3261e; } .ac-pill.b { background: #e5eefb; color: #2c5ea8; }

/* ── Cards ── */
.ac-card { background: #fff; border: 1px solid var(--aline); border-radius: 20px; padding: 18px; box-shadow: var(--ash); margin: 0 0 16px; }
.ac-card h2 { font-size: 1.15rem; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.ac-card h2 i { color: var(--agr); }
.ac-sub { color: var(--amut); font-size: .88rem; }
.ac-flash { margin-top: 14px; }
.ac-flash .alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #e8f4ec; color: #1d5a33; font-size: .92rem; }
.ac-flash .alert-error, .ac-flash .alert-danger { background: #fde3e3; color: #8a1c16; }
.ac-flash .alert-warning, .ac-flash .alert-info { background: #fff4da; color: #6a4a00; }
.ac-flash .btn-close { display: none; }

/* ── Hero ── */
.ac-hero { background: radial-gradient(90% 120% at 100% 0, rgba(248,183,47,.18), transparent 55%), linear-gradient(120deg, var(--ag3), var(--ag) 65%, #2c6b57); color: #fff; padding: 46px 0 54px; }
.ac-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.8rem); line-height: 1.15; margin: 10px 0 12px; font-weight: 800; }
.ac-hero p { color: rgba(255,255,255,.9); font-size: 1.02rem; max-width: 640px; margin: 0 0 20px; }
.ac-kicker { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--agold); color: #17332c; font-weight: 700; font-size: .8rem; }
.ac-hero-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ac-hero .ac-btn.line { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.ac-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: -26px 0 22px; position: relative; }
.ac-step { background: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; box-shadow: var(--ash); border: 1px solid var(--aline); }
.ac-step i { font-size: 1.3rem; color: var(--agr); }
.ac-step b { display: block; font-size: .86rem; margin-top: 6px; } .ac-step small { color: var(--amut); font-size: .74rem; }
@media (max-width: 900px) { .ac-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ac-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ac-h2 { font-size: 1.4rem; margin: 26px 0 14px; }

/* ── Course cards ── */
.ac-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ac-course { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--aline); box-shadow: var(--ash); text-decoration: none; color: var(--aink); }
.ac-course-cov { height: 150px; background: linear-gradient(135deg, #1f5446, #2e8b57); display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 2.6rem; position: relative; }
.ac-course-cov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-course-cov .ac-pill { position: absolute; top: 12px; left: 12px; z-index: 1; }
.ac-course-b { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ac-course-b h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.ac-course-b p { margin: 0; color: var(--amut); font-size: .88rem; }
.ac-course-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: #3b4845; margin-top: auto; padding-top: 8px; }
.ac-course-meta i { color: var(--agr); margin-right: 4px; }
.ac-price { font-weight: 800; font-size: 1.15rem; color: var(--ag2); }

/* ── Course page ── */
.ac-cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 22px; align-items: start; }
@media (max-width: 900px) { .ac-cgrid { grid-template-columns: 1fr; } .ac-side { order: -1; } }
.ac-side { position: sticky; top: 84px; }
@media (max-width: 900px) { .ac-side { position: static; } }
.ac-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.ac-ticks li i { color: var(--agr); margin-top: 4px; }
.ac-mod { border: 1px solid var(--aline); border-radius: 14px; margin: 0 0 10px; overflow: hidden; background: #fff; }
.ac-mod > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; font-weight: 600; }
.ac-mod > summary::-webkit-details-marker { display: none; }
.ac-mod > summary .ac-mn { width: 30px; height: 30px; border-radius: 10px; background: #e7f5ea; color: var(--ag); display: grid; place-items: center; font-size: .82rem; flex-shrink: 0; }
.ac-mod > summary small { margin-left: auto; color: var(--amut); font-weight: 400; font-size: .78rem; white-space: nowrap; }
.ac-mod ul { list-style: none; margin: 0; padding: 0 14px 12px 56px; display: grid; gap: 6px; font-size: .88rem; color: #33413d; }
.ac-mod ul li i { color: #8aa99b; margin-right: 6px; width: 14px; }
.ac-kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef2f0; font-size: .9rem; }
.ac-kv:last-child { border-bottom: 0; } .ac-kv span { color: var(--amut); } .ac-kv b { text-align: right; }

/* ── Forms ── */
.ac-form { display: grid; gap: 14px; }
.ac-form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.ac-form label small { font-weight: 400; color: var(--amut); }
.ac-form input:not([type=checkbox]):not([type=radio]), .ac-form select, .ac-form textarea { width: 100%; border: 1.5px solid #d5ddd9; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--aink); }
.ac-form input:focus, .ac-form select:focus, .ac-form textarea:focus { outline: 0; border-color: var(--agr); box-shadow: 0 0 0 3px rgba(31,138,60,.15); }
.ac-check { display: flex !important; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.ac-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--agr); }
.ac-auth { max-width: 520px; margin: 28px auto 0; }

/* ── Dashboard ── */
.ac-dash-h { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 16px; }
.ac-dash-h h1 { margin: 0; font-size: 1.6rem; }
.ac-enr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.ac-enr-cov { height: 96px; border-radius: 14px; background: linear-gradient(135deg, #1f5446, #2e8b57); display: grid; place-items: center; color: #fff; font-size: 2rem; overflow: hidden; }
.ac-enr-cov img { width: 100%; height: 100%; object-fit: cover; }
.ac-enr h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ac-bar { height: 10px; border-radius: 999px; background: #e6ece9; overflow: hidden; margin: 8px 0 6px; }
.ac-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2e9b45, #1f6b3a); }
.ac-enr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 520px) { .ac-enr { grid-template-columns: 1fr; } .ac-enr-cov { height: 110px; } }

/* ── Player ── */
.ac-player { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; margin-top: 18px; align-items: start; }
@media (max-width: 960px) { .ac-player { grid-template-columns: 1fr; } }
.ac-outline { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
@media (max-width: 960px) { .ac-outline { position: static; max-height: none; } .ac-outline:not([open]) .ac-out-body { display: none; } }
.ac-outline > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ac-outline > summary::-webkit-details-marker { display: none; }
.ac-out-mod { margin: 12px 0 0; }
.ac-out-mod h4 { margin: 0 0 6px; font-size: .86rem; color: var(--amut); text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; gap: 8px; }
.ac-out-l { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--aink); font-size: .9rem; }
.ac-out-l:hover { background: #f2f7f4; }
.ac-out-l.on { background: linear-gradient(90deg, #dff1e3, #eef8ef); font-weight: 600; }
.ac-out-l.lock { color: #9aa7a3; pointer-events: none; }
.ac-out-l i { width: 18px; text-align: center; color: #9aa7a3; }
.ac-out-l.done i { color: var(--agr); }
.ac-out-l.quiz i { color: #d98d0c; }
.ac-lesson h1 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); margin: 4px 0 14px; line-height: 1.25; }
.ac-prose { font-size: 1.02rem; line-height: 1.75; color: #22302c; }
.ac-prose h2, .ac-prose h3, .ac-prose h4 { margin: 1.4em 0 .5em; line-height: 1.3; color: var(--ag2); }
.ac-prose p { margin: 0 0 1em; }
.ac-prose ul, .ac-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.ac-prose li { margin: .25em 0; }
.ac-prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--agold); background: #fffaf0; border-radius: 0 12px 12px 0; }
.ac-video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; background: #000; margin: 0 0 18px; }
.ac-video iframe, .ac-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ac-pdf { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f3f8f5; border: 1px solid #d6ecd9; text-decoration: none; color: var(--aink); margin: 16px 0; }
.ac-pdf i { font-size: 1.6rem; color: #c62828; }
.ac-lnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--aline); }

/* ── Quiz / exam ── */
.ac-q { padding: 16px 0; border-bottom: 1px solid #eef2f0; }
.ac-q:last-of-type { border-bottom: 0; }
.ac-q h3 { font-size: 1rem; margin: 0 0 10px; line-height: 1.45; }
.ac-q h3 span { color: var(--amut); font-weight: 500; margin-right: 6px; }
.ac-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #dfe7e3; border-radius: 14px; margin: 0 0 8px; cursor: pointer; font-size: .95rem; background: #fff; }
.ac-opt:hover { border-color: #b9d6c6; }
.ac-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--agr); flex-shrink: 0; }
.ac-opt:has(input:checked) { border-color: var(--agr); background: #f1faf3; }
.ac-opt.right { border-color: #1f8a3c; background: #eaf7ed; } .ac-opt.wrong { border-color: #e57373; background: #fdeeee; }
.ac-expl { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #f6f9f7; font-size: .88rem; color: #33413d; }
.ac-timer { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--ag2); color: #fff; font-weight: 700; margin: 0 0 14px; box-shadow: var(--ash); }
.ac-timer.low { background: #b3261e; }
.ac-result { text-align: center; padding: 26px 16px; }
.ac-result .ac-score { font-size: 3rem; font-weight: 800; line-height: 1; }
.ac-result.pass .ac-score { color: var(--agr); } .ac-result.fail .ac-score { color: #c62828; }

/* ── Certificate ── */
.ac-cert-shell { padding: 20px 0; }
.ac-cert { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 1.414 / 1; background: #fffdf7; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  padding: clamp(18px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; text-align: center; color: #1a2e27; overflow: hidden; }
.ac-cert::before { content: ""; position: absolute; inset: clamp(8px, 1.6vw, 16px); border: 3px solid var(--ag); border-radius: 4px; pointer-events: none; }
.ac-cert::after { content: ""; position: absolute; inset: clamp(14px, 2.4vw, 24px); border: 1px solid var(--agold); border-radius: 2px; pointer-events: none; }
.ac-cert .cl { width: clamp(44px, 7vw, 74px); margin-top: clamp(4px, 1vw, 10px); }
.ac-cert .co { font-family: Oswald, sans-serif; letter-spacing: .2em; font-size: clamp(.7rem, 1.4vw, 1rem); color: var(--ag); margin-top: 4px; }
.ac-cert .ct { font-family: "Playfair Display", serif; font-size: clamp(1.1rem, 3.4vw, 2.6rem); margin: clamp(6px, 1.6vw, 16px) 0 clamp(2px, .6vw, 6px); color: var(--ag2); }
.ac-cert .cs { font-size: clamp(.62rem, 1.2vw, .95rem); color: #5b6a66; }
.ac-cert .cn { font-family: "Playfair Display", serif; font-size: clamp(1.3rem, 4.2vw, 3.2rem); margin: clamp(4px, 1.2vw, 12px) 0; color: #12302a; border-bottom: 2px solid var(--agold); padding: 0 clamp(10px, 3vw, 40px) clamp(2px, .6vw, 6px); }
.ac-cert .cc { font-size: clamp(.66rem, 1.4vw, 1.05rem); max-width: 80%; }
.ac-cert .cg { font-weight: 700; color: var(--ag); font-size: clamp(.7rem, 1.5vw, 1.1rem); margin-top: 4px; }
.ac-cert .cf { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: clamp(.55rem, 1.1vw, .85rem); }
.ac-cert .cf > div { flex: 1; } .ac-cert .cf .sig { border-top: 1px solid #9aa7a3; padding-top: 4px; }
.ac-cert .qr { width: clamp(54px, 9vw, 100px); height: clamp(54px, 9vw, 100px); background: #fff; padding: 4px; }
.ac-cert .qr img, .ac-cert .qr canvas { width: 100% !important; height: 100% !important; }
.ac-cert .seal { position: absolute; right: clamp(24px, 5vw, 60px); top: clamp(24px, 5vw, 60px); width: clamp(48px, 8vw, 96px); height: clamp(48px, 8vw, 96px); border-radius: 50%;
  background: radial-gradient(circle, #ffd56b, #e2a72c); color: #5a3d00; display: grid; place-items: center; font-weight: 800; font-size: clamp(.5rem, 1vw, .8rem); text-align: center; line-height: 1.1; box-shadow: 0 0 0 4px #fff3cf, 0 0 0 6px #e2a72c; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  .ac-top, .ac-foot, .ac-noprint, .ac-flash { display: none !important; }
  body.ac-body { background: #fff; }
  .ac-cert-shell { padding: 0; } .ac-cert { box-shadow: none; max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
}

/* ── Verify ── */
.ac-verify-ok { border-left: 6px solid var(--agr); } .ac-verify-bad { border-left: 6px solid #c62828; }

/* ── Footer ── */
.ac-foot { border-top: 1px solid var(--aline); background: #fff; padding: 18px 0; font-size: .84rem; color: var(--amut); }
.ac-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ac-foot a { color: var(--ag); text-decoration: none; }


/* ═══════════ v2 (2026-11-22): header with menu + search + Sign In, dark footer, redesigned home ═══════════ */
.ac-top { position: sticky; top: 0; }
.ac-top-in { gap: 10px; min-height: 70px; }
.ac-burger { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; font-size: 1.35rem; }
.ac-burger:hover, .ac-burger[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.ac-brand { margin-right: auto; }
.ac-logo { width: 48px; height: 48px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.ac-logo img { width: 36px; height: 36px; }
.ac-bt b { font-size: 1.25rem; } .ac-bt span { font-size: .98rem; letter-spacing: .08em; }
.ac-top-r { display: flex; align-items: center; gap: 8px; }
.ac-icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.ac-icon-btn:hover, .ac-icon-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.ac-signin { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; background: linear-gradient(180deg, #ffd04d, #f5ad1c); color: #17332c !important; font-weight: 700; text-decoration: none; font-size: .95rem; box-shadow: 0 8px 16px -10px rgba(0,0,0,.6); white-space: nowrap; }
.ac-signin.me span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.ac-nav { display: block !important; position: absolute; left: 0; right: 0; top: 100%; background: var(--ag2); padding: 10px 0 16px; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); }
.ac-nav[hidden], .ac-search-bar[hidden] { display: none !important; }
.ac-nav .ac-wrap { display: grid; gap: 2px; }
.ac-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
.ac-nav a.ac-btn { justify-content: center; margin-top: 8px; color: #17332c !important; }
@media (min-width: 900px) { .ac-nav .ac-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ac-nav a.ac-btn { grid-column: 1 / -1; max-width: 360px; } }
.ac-search-bar { background: var(--ag2); padding: 10px 0 14px; }
.ac-search-bar .ac-wrap { display: flex; gap: 10px; }
.ac-search-bar label { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 0 16px; min-width: 0; }
.ac-search-bar label i { color: #6b7a76; }
.ac-search-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 11px 0; min-width: 0; background: none; }
@media (max-width: 420px) { .ac-bt b { font-size: 1.05rem; } .ac-bt span { font-size: .82rem; } .ac-logo { width: 42px; height: 42px; } .ac-signin { padding: 8px 14px; font-size: .88rem; } .ac-signin.me span { display: none; } }

/* footer */
.ac-foot { position: relative; overflow: hidden; background: linear-gradient(180deg, #17443a, #0f3a30); color: rgba(255,255,255,.85); padding: 40px 0 18px; border-top: 0; margin-top: 30px; }
.ac-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px; background: var(--abg); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.ac-foot-leaf { position: absolute; bottom: 0; width: 170px; height: 128px; opacity: .9; pointer-events: none; }
.ac-foot-leaf.l { left: 0; } .ac-foot-leaf.r { right: 0; }
.ac-foot-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; padding-top: 8px; }
.ac-foot-brand { margin: 0; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; }
.ac-foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.ac-foot-links a { color: #fff; text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.ac-foot-links a:hover { color: var(--agold); }
.ac-copy { position: relative; text-align: center; font-size: .8rem; margin: 14px 0 0; color: rgba(255,255,255,.75); }
@media (max-width: 640px) { .ac-foot-brand { border-right: 0; padding-right: 0; width: 100%; justify-content: center; } .ac-foot-leaf { width: 110px; height: 84px; opacity: .55; } }

/* ── Home (ax-) ── */
.ax-hero { position: relative; overflow: hidden; color: #fff; padding: 34px 0 86px;
  background: radial-gradient(60% 90% at 78% 30%, rgba(248,183,47,.28), transparent 60%), linear-gradient(115deg, #0f3a30 0%, #17443a 45%, #1f5446 100%);
  border-radius: 0 0 40px 40px; }
.ax-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; align-items: center; position: relative; z-index: 1; }
.ax-hero h1 { font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.08; margin: 12px 0 14px; font-weight: 800; letter-spacing: -.01em; }
.ax-hero h1 span { color: var(--agold); display: block; }
.ax-hero p { font-size: clamp(.98rem, 1.6vw, 1.12rem); color: rgba(255,255,255,.92); margin: 0 0 22px; max-width: 560px; }
.ax-hero .ac-btn.line { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.75); }
.ax-hero-art { width: 100%; max-width: 520px; justify-self: end; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
@media (max-width: 820px) { .ax-hero-in { grid-template-columns: 1fr; } .ax-hero-art { max-width: 360px; justify-self: center; margin-top: 4px; } .ax-hero { padding-bottom: 80px; } }

.ax-feats { position: relative; z-index: 2; margin: -52px 0 24px; background: #fff; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(16,40,32,.5); border: 1px solid var(--aline);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ax-feat { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-right: 1px solid #eef2f0; }
.ax-feat:last-child { border-right: 0; }
.ax-feat i { font-size: 1.7rem; color: var(--agr); width: 34px; text-align: center; flex-shrink: 0; }
.ax-feat b { display: block; font-size: .9rem; } .ax-feat small { display: block; font-size: .8rem; color: #3b4845; }
@media (max-width: 980px) { .ax-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ax-feat:nth-child(3) { border-right: 0; } .ax-feat:nth-child(-n+3) { border-bottom: 1px solid #eef2f0; } }
@media (max-width: 560px) { .ax-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax-feat { border-right: 0 !important; border-bottom: 1px solid #eef2f0; padding: 14px 12px; } .ax-feat:nth-child(odd) { border-right: 1px solid #eef2f0 !important; } .ax-feat:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0 !important; justify-content: center; } }

.ax-sec { margin: 0 0 24px; }
.ax-sec-h { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; flex-wrap: wrap; }
.ax-sec-h .ax-ico { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(160deg, #eef8f0, #dff1e3); color: var(--agr); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.ax-sec-h > div { flex: 1; min-width: 0; }
.ax-sec-h h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--aink); }
.ax-sec-h p { margin: 2px 0 0; color: #3b4845; font-size: .95rem; }
.ax-sec-h .ax-link { margin-left: auto; color: var(--ag); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-size: .95rem; }

.ax-journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; position: relative; }
.ax-step { position: relative; border-radius: 18px; padding: 16px 10px 18px; text-align: center; border: 1px solid transparent; }
.ax-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: #33413d; font-size: 1.1rem; }
.ax-step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .9rem; }
.ax-step i { display: block; font-size: 2rem; margin: 10px 0 8px; }
.ax-step b { display: block; font-size: 1.05rem; } .ax-step small { display: block; color: #3b4845; font-size: .85rem; line-height: 1.35; margin-top: 2px; }
.ax-step.s1, .ax-step.s3, .ax-step.s6 { background: linear-gradient(160deg, #f1faf2, #e5f4e8); border-color: #d6ecd9; }
.ax-step.s2, .ax-step.s5 { background: linear-gradient(160deg, #fffaf0, #fdf0d7); border-color: #f5e3bc; }
.ax-step.s4 { background: linear-gradient(160deg, #f8f5fe, #ede6fb); border-color: #e1d7f7; }
.ax-step.s1 .n, .ax-step.s3 .n { background: #1f8a3c; } .ax-step.s1 i, .ax-step.s3 i { color: #1f8a3c; }
.ax-step.s2 .n, .ax-step.s5 .n { background: #e09a12; } .ax-step.s2 i, .ax-step.s5 i { color: #d98d0c; }
.ax-step.s4 .n { background: #7b3fc4; } .ax-step.s4 i { color: #7b3fc4; }
.ax-step.s6 .n { background: #17443a; } .ax-step.s6 i { color: #1f5446; }
@media (max-width: 980px) { .ax-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; } .ax-step:nth-child(3)::after { display: none; } }
@media (max-width: 560px) { .ax-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .ax-step::after { display: none !important; } .ax-step i { font-size: 1.7rem; } }

.ax-card { background: #fff; border: 1px solid var(--aline); border-radius: 22px; padding: 18px; box-shadow: var(--ash); }
.ax-soon { display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 20px; border-radius: 18px; background: linear-gradient(120deg, #eef8f0, #f5fbf4 55%, #eaf6ec); }
.ax-soon svg { width: 100%; height: auto; display: block; }
.ax-soon h3 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; }
.ax-soon p { margin: 0; color: #26332f; font-size: .95rem; }
.ax-soon p a { color: var(--ag); font-weight: 700; }
@media (max-width: 760px) { .ax-soon { grid-template-columns: 1fr; text-align: center; } .ax-soon svg { max-width: 260px; margin: 0 auto; } .ax-soon .ac-btn { justify-self: center; } }
.ax-courses-grid { margin-top: 14px; }

.ax-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ax-three .ax-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; }
.ax-three .ax-card h3 i { font-size: 1.6rem; color: var(--agr); }
.ax-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ax-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #26332f; }
.ax-list li i { color: #1f8a3c; margin-top: 3px; }
@media (max-width: 900px) { .ax-three { grid-template-columns: 1fr; } }

.ax-more { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 20px; align-items: center; border-radius: 22px; padding: 6px 26px 6px 6px; overflow: hidden;
  background: linear-gradient(110deg, #f3eedb 0%, #eaf6e6 40%, #def0de 100%); border: 1px solid #d6ecd9; }
.ax-more svg { width: 100%; height: auto; display: block; }
.ax-more h3 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 800; }
.ax-more p { margin: 0; color: #26332f; }
@media (max-width: 760px) { .ax-more { grid-template-columns: 1fr; text-align: center; padding: 0 18px 20px; } .ax-more svg { max-width: 300px; margin: 0 auto; } .ax-more .ac-btn { justify-self: center; } }

.ax-faq details { border: 1px solid var(--aline); border-radius: 14px; margin: 0 0 10px; background: #fff; box-shadow: 0 1px 2px rgba(16,40,32,.04); }
.ax-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; font-weight: 700; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary i { transition: transform .2s; color: #33413d; }
.ax-faq details[open] summary i { transform: rotate(180deg); }
.ax-faq details p { margin: 0; padding: 0 18px 16px; color: #33413d; font-size: .95rem; }

.ax-help { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: 22px; background: linear-gradient(110deg, #eef8f0, #e2f2e5); border: 1px solid #d6ecd9; }
.ax-help > i { font-size: 2.4rem; color: var(--agr); }
.ax-help div { flex: 1; min-width: 220px; }
.ax-help h3 { margin: 0 0 2px; font-size: 1.3rem; font-weight: 800; } .ax-help p { margin: 0; color: #26332f; }
.ac-btn.dark { background: linear-gradient(135deg, #1f5446, #0f3a30); }

/* waitlist dialog */
.ax-dlg { border: 0; border-radius: 22px; padding: 0; width: min(440px, calc(100vw - 28px)); box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); }
.ax-dlg::backdrop { background: rgba(8,28,22,.55); }
.ax-dlg form { padding: 22px; position: relative; }
.ax-dlg h3 { margin: 0 0 6px; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; padding-right: 40px; } .ax-dlg h3 i { color: var(--agr); }
.ax-dlg .x { position: absolute; top: 14px; right: 14px; border: 0; background: #f1f4f2; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.ac-foot .ac-foot-brand, .ac-foot .ac-foot-brand .ac-bt b { color: #fff; }
.ac-main { padding-bottom: 10px; }

/* ===== Academy menu (overlay card) ===== */
.am-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(8,28,23,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 10px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .2s ease; }
.am-overlay[hidden] { display: none !important; }
.am-overlay.open { opacity: 1; }
.am-sheet { width: 100%; max-width: 460px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: translateY(-14px); transition: transform .22s ease; margin-bottom: 10px; }
.am-overlay.open .am-sheet { transform: none; }
.am-head { position: relative; background: radial-gradient(120% 140% at 0% 0%, #2a6a58 0%, #1f5446 45%, #17443a 100%); color: #fff; padding: 22px 20px 30px; min-height: 150px; overflow: hidden; }
.am-swoosh { position: absolute; left: 0; right: 0; bottom: -4px; width: 100%; height: 70px; pointer-events: none; }
.am-art { position: absolute; right: 12px; bottom: 10px; width: 132px; height: auto; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.am-brand { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.am-logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: 0 0 0 2px rgba(248,183,47,.6); }
.am-logo img { width: 80%; height: 80%; object-fit: contain; }
.am-bt { display: flex; flex-direction: column; line-height: 1.05; }
.am-bt b { font-size: 1.15rem; letter-spacing: .04em; font-weight: 800; }
.am-bt span { color: #f8b72f; font-weight: 700; letter-spacing: .32em; font-size: .82rem; margin-top: 3px; }
.am-tag { position: relative; margin: 14px 0 0; font-size: .86rem; color: rgba(255,255,255,.88); max-width: 60%; }
.am-tag i { color: #f8b72f; font-style: normal; margin: 0 3px; }
.am-x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.am-x:hover, .am-x:focus-visible { background: #fff; color: #17443a; outline: none; }
.am-body { padding: 10px 12px 18px; display: flex; flex-direction: column; }
.am-row { display: flex; align-items: center; gap: 14px; padding: 13px 8px; text-decoration: none; color: #17332c; border-bottom: 1px solid #edf1ef; border-radius: 12px; transition: background .15s; }
.am-row:hover, .am-row:focus-visible { background: #f3f8f6; outline: none; }
.am-row.on .am-t b { color: #1f5446; }
.am-row.on .am-ic { background: #1f5446; color: #f8b72f; }
.am-ic { width: 48px; height: 48px; border-radius: 14px; background: #e6f1ec; color: #1f5446; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.am-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.am-t b { font-size: 1rem; font-weight: 700; }
.am-t small { font-size: .82rem; color: #6b7c76; line-height: 1.35; }
.am-go { color: #1f5446; font-size: .9rem; flex: none; }
.am-div { display: flex; align-items: center; gap: 10px; margin: 16px 4px 4px; }
.am-div::before, .am-div::after { content: ""; flex: 1; height: 1px; background: #dfe8e4; }
.am-div span { background: #e6f1ec; color: #1f5446; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.am-body .am-row:last-of-type { border-bottom: 0; }
.am-out, .am-in, .am-join { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 4px 0; padding: 14px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.am-out { border: 1.5px solid #e2574c; color: #d43f33; background: #fff; }
.am-out:hover { background: #fdeeed; }
.am-in { background: #1f5446; color: #fff; }
.am-join { background: #f8b72f; color: #17332c; margin-top: 10px; }
@media (min-width: 700px) { .am-overlay { padding: 40px 20px; align-items: flex-start; } }
@media (max-width: 360px) { .am-art { width: 100px; opacity: .85; } .am-tag { max-width: 58%; font-size: .8rem; } .am-ic { width: 42px; height: 42px; font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .am-overlay, .am-sheet { transition: none; } }

/* Lesson outline: compact on phones */
.ac-out-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-out-t small { font-weight: 500; font-size: .78rem; color: var(--amut); }
.ac-out-chev { display: none; color: var(--amut); transition: transform .2s; }
@media (max-width: 960px) { .ac-out-chev { display: inline-block; } .ac-outline[open] .ac-out-chev { transform: rotate(180deg); } }

/* Academy home: What you'll study */
.ax-mods { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ax-mods li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--aline); border-radius: 16px; background: #fbfdfb; min-width: 0; }
.ax-mod-n { width: 38px; height: 38px; border-radius: 12px; background: #e6f1ec; color: var(--ag); font-weight: 800; display: grid; place-items: center; flex: none; }
.ax-mod-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ax-mod-t b { font-size: .95rem; line-height: 1.3; color: var(--aink); }
.ax-mod-t small { font-size: .8rem; color: var(--amut); }
.ax-mods li.ax-mod-cert { background: linear-gradient(110deg, #fff8e6, #fffdf6); border-color: #f5dc9c; }
.ax-mods li.ax-mod-cert .ax-mod-n { background: var(--agold); color: #17332c; }
.ax-study-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 720px) { .ax-mods { grid-template-columns: 1fr; } .ax-study-cta .ac-btn { width: 100%; justify-content: center; } }
/* Section headings: keep the title wide on phones, link on its own line */
.ax-sec-h > div { flex: 1 1 200px; }
@media (max-width: 560px) { .ax-sec-h .ax-link { flex: 1 1 100%; margin-left: 68px; } }

/* ══════════ Course page (cx-) — redesign 2026-11-22 ══════════ */
.cx-hero { position: relative; overflow: hidden; color: #fff; padding: 30px 0 92px; border-radius: 0 0 40px 40px;
  background: radial-gradient(55% 90% at 80% 35%, rgba(248,183,47,.26), transparent 62%), linear-gradient(115deg, #0f3a30 0%, #17443a 45%, #1f5446 100%); }
.cx-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cx-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: center; }
.cx-kick { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: linear-gradient(180deg, #ffd062, #f2a91c); color: #17332c; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 18px -12px rgba(242,169,28,.9); }
.cx-kick-prev { background: #fde3e3; color: #8a1c16; }
.cx-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; margin: 14px 0 14px; overflow-wrap: anywhere; }
.cx-hero h1 span { display: block; color: var(--agold); }
.cx-hero p { margin: 0; font-size: clamp(.98rem, 1.6vw, 1.1rem); color: rgba(255,255,255,.92); max-width: 600px; line-height: 1.55; }
.cx-art { width: 100%; max-width: 470px; justify-self: end; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
@media (max-width: 820px) { .cx-hero-in { grid-template-columns: 1fr; } .cx-art { max-width: 320px; justify-self: center; margin-top: -4px; } .cx-hero { padding: 24px 0 84px; } }
@media (max-width: 420px) { .cx-art { max-width: 260px; } }

.cx-stats { position: relative; z-index: 2; margin: -56px 0 18px; background: #fff; border: 1px solid var(--aline); border-radius: 999px; box-shadow: 0 20px 40px -24px rgba(16,40,32,.5);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 10px; }
.cx-stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 10px; min-width: 0; }
.cx-stat + .cx-stat { border-left: 1px solid #e5ece8; }
.cx-stat i { font-size: 1.7rem; color: var(--agr); flex: none; }
.cx-stat b { font-size: 1rem; color: var(--aink); line-height: 1.25; }
.cx-stat b.sm { font-size: .86rem; }
@media (max-width: 900px) {
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; padding: 4px; }
  .cx-stat { justify-content: flex-start; padding: 14px 12px; }
  .cx-stat + .cx-stat { border-left: 0; }
  .cx-stat:nth-child(even) { border-left: 1px solid #e5ece8; }
  .cx-stat:nth-child(-n+2) { border-bottom: 1px solid #e5ece8; }
  .cx-stat i { font-size: 1.4rem; } .cx-stat b { font-size: .92rem; } .cx-stat b.sm { font-size: .8rem; }
}

.cx-tabs { position: sticky; top: 70px; z-index: 20; display: flex; gap: 6px; margin: 0 0 18px; padding: 6px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--aline); border-radius: 999px; box-shadow: var(--ash); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.cx-tabs::-webkit-scrollbar { display: none; }
.cx-tabs a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; text-decoration: none; color: var(--aink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.cx-tabs a i { color: var(--agr); }
.cx-tabs a.on { background: linear-gradient(135deg, #1f6b4a, #17443a); color: #fff; box-shadow: 0 8px 16px -10px rgba(23,68,58,.9); }
.cx-tabs a.on i { color: #fff; }
.cx-tabs a:focus-visible { outline: 2px solid var(--agold); outline-offset: 2px; }
@media (max-width: 640px) { .cx-tabs { border-radius: 18px; margin-left: -4px; margin-right: -4px; } .cx-tabs a { padding: 9px 14px; font-size: .88rem; } }
html { scroll-padding-top: 140px; }

.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cx-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 900px) {
  .cx-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .cx-col { display: contents; }
  .o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .o4 { order: 4; } .o5 { order: 5; } .o7 { order: 7; } .o8 { order: 8; } .o9 { order: 9; }
}

.cx-card { background: #fff; border: 1px solid var(--aline); border-radius: 22px; padding: 20px; box-shadow: var(--ash); min-width: 0; }
.cx-tint { background: linear-gradient(180deg, #f2f9f4, #fff 70%); }
.cx-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 800; color: var(--aink); line-height: 1.2; }
.cx-hi { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, #eef8f0, #dcefe2); color: var(--agr); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.cx-lead { margin: -4px 0 14px; color: #3b4845; font-size: .92rem; }
.cx-prose { font-size: .96rem; }
.cx-prose p { margin: 0 0 10px; } .cx-prose p:last-child { margin-bottom: 0; }

.cx-steps { display: flex; flex-direction: column; gap: 10px; }
.cx-step { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid #e3ece7; border-radius: 16px; }
.cx-step > i { width: 40px; font-size: 1.35rem; color: var(--ag); text-align: center; flex: none; }
.cx-step span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-step b { font-size: 1rem; color: var(--aink); } .cx-step small { font-size: .86rem; color: #3b4845; line-height: 1.4; }

.cx-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cx-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.45; color: #23332e; }
.cx-ticks i { color: var(--agr); margin-top: 3px; flex: none; }

.cx-who { display: flex; flex-direction: column; gap: 10px; }
.cx-who-i { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #f3f9f5; border: 1px solid #e0ede5; }
.cx-who-i > i { width: 40px; font-size: 1.45rem; color: var(--ag); text-align: center; flex: none; }
.cx-who-i.warm > i { color: #e08a1e; }
.cx-who-i span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-who-i b { font-size: .95rem; color: var(--aink); line-height: 1.3; } .cx-who-i small { font-size: .84rem; color: #3b4845; }
.cx-note { display: flex; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff7e6; border: 1px solid #f5dc9c; }
.cx-note > i { font-size: 1.6rem; color: #e08a1e; flex: none; margin-top: 2px; }
.cx-note b { color: #b45309; font-size: 1.02rem; } .cx-note p { margin: 4px 0 0; font-size: .86rem; color: #4a3b1c; line-height: 1.5; }

.cx-mods { display: flex; flex-direction: column; gap: 8px; }
.cx-mod { border: 1px solid #e3ece7; border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.cx-mod[open] { border-color: #bcd9c8; box-shadow: 0 10px 22px -18px rgba(16,40,32,.6); }
.cx-mod > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.cx-mod > summary::-webkit-details-marker { display: none; }
.cx-mod > summary:focus-visible { outline: 2px solid var(--agold); outline-offset: 2px; border-radius: 16px; }
.cx-mn { width: 44px; height: 36px; border-radius: 12px; background: #e6f1ec; color: var(--ag); font-weight: 800; font-size: 1rem; display: grid; place-items: center; flex: none; }
.cx-mi { width: 26px; font-size: 1.2rem; color: var(--agr); text-align: center; flex: none; }
.cx-mt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cx-mt b { font-size: .95rem; color: var(--aink); line-height: 1.3; }
.cx-mt small { font-size: .8rem; color: #4a5a55; } .cx-mt small i { margin-right: 3px; } .cx-mt em { font-style: normal; margin: 0 4px; color: #9aa9a4; }
.cx-chev { color: #4a5a55; font-size: .85rem; flex: none; transition: transform .2s; }
.cx-mod[open] .cx-chev { transform: rotate(90deg); }
.cx-msum { margin: 0 14px 6px; font-size: .86rem; color: #3b4845; }
.cx-ls { list-style: none; margin: 0; padding: 0 14px 12px; }
.cx-ls li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed #e3ece7; font-size: .88rem; color: #23332e; }
.cx-ls li i { color: #8aa59a; width: 16px; text-align: center; flex: none; }
.cx-ls li span { flex: 1; min-width: 0; } .cx-ls li small { color: var(--amut); font-size: .78rem; white-space: nowrap; }
.cx-ls li.quiz i { color: #d98d0c; } .cx-ls li.quiz { font-weight: 600; }
@media (max-width: 400px) { .cx-mi { display: none; } .cx-mn { width: 38px; } .cx-mod > summary { gap: 10px; } }

.cx-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-g { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; border-radius: 16px; border: 1px solid; min-width: 0; }
.cx-g > i { font-size: 1.5rem; margin-bottom: 2px; }
.cx-g b { font-size: .9rem; color: var(--aink); line-height: 1.25; } .cx-g small { font-size: .78rem; color: #3b4845; line-height: 1.35; }
.cx-g strong { font-size: 1.25rem; color: var(--aink); }
.cx-g.g { background: #eef8f1; border-color: #d3ebdb; } .cx-g.g > i { color: var(--agr); }
.cx-g.p { background: #f4f0fd; border-color: #e1d8f7; } .cx-g.p > i { color: #7c3aed; }
.cx-g.o { background: #fff6e8; border-color: #f6e0b8; } .cx-g.o > i { color: #e08a1e; }
.cx-g.wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 14px; text-align: left; }
.cx-g.wide > i { font-size: 1.9rem; margin: 0; } .cx-g.wide span { display: flex; flex-direction: column; } .cx-g.wide b { font-size: 1rem; }
@media (max-width: 480px) { .cx-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cx-cta-wrap { text-align: center; }
.cx-ctaf { margin: 0; }
.cx-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 66px; padding: 12px 24px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #1f6b4a, #17443a 60%, #0f3a30); color: #fff !important; border: 3px solid #f8b72f; font: inherit; font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 800; text-decoration: none;
  box-shadow: 0 0 0 4px rgba(248,183,47,.25), 0 18px 30px -16px rgba(15,58,48,.9); transition: transform .2s, filter .2s; }
.cx-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cx-cta > i:first-child { font-size: 1.4rem; } .cx-cta .cx-go { transition: transform .2s; } .cx-cta:hover .cx-go { transform: translateX(4px); }
.cx-cta[disabled] { opacity: .55; pointer-events: none; }
.cx-cta-sub { margin: 10px 0 0; font-size: .88rem; color: var(--amut); } .cx-cta-sub a { color: var(--ag); font-weight: 700; }

.cx-faq { margin: 20px 0 0; }
.cx-faq-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.cx-faq details { border: 1px solid #e3ece7; border-radius: 14px; background: #fbfdfb; }
.cx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; font-weight: 700; color: var(--aink); font-size: .95rem; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary i { color: var(--agr); transition: transform .2s; flex: none; } .cx-faq details[open] summary i { transform: rotate(180deg); }
.cx-faq details p { margin: 0; padding: 0 16px 14px; font-size: .9rem; color: #3b4845; line-height: 1.55; }
@media (max-width: 760px) { .cx-faq-g { grid-template-columns: 1fr; } }

.cx-bar { display: none; }
@media (max-width: 900px) {
  .cx-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 10px 10px 10px 18px; background: #fff; border: 1px solid var(--aline); border-radius: 999px; box-shadow: 0 18px 40px -14px rgba(16,40,32,.55);
    transform: translateY(140%); transition: transform .25s ease; }
  .cx-bar.show { transform: none; }
  .cx-bar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .cx-bar b { color: var(--aink); font-size: 1.05rem; } .cx-bar small { color: var(--amut); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cx-bar .cx-ctaf { flex: none; }
  .cx-bar-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
    background: linear-gradient(180deg, #ffc94a, #f2a91c); color: #17332c !important; }
  .cx-bar-btn .cx-go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cx-bar, .cx-cta, .cx-chev, .cx-tabs { transition: none; scroll-behavior: auto; } }

/* Course page: phone refinements */
@media (max-width: 820px) {
  .cx-swoosh { display: none; }
  .cx-hero::after { content: ""; position: absolute; left: 50%; bottom: 40px; width: 340px; height: 170px; transform: translateX(-50%); border-top: 5px solid rgba(248,183,47,.75); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
}
@media (max-width: 640px) {
  .cx-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .cx-tabs.end { -webkit-mask-image: none; mask-image: none; }
}

/* ══════════ Course hero v2 — light design (2026-11-22) ══════════ */
.cx-hero { color: var(--aink); padding: 26px 0 0; border-radius: 0; overflow: hidden;
  background: radial-gradient(60% 70% at 85% 20%, #fff 0%, transparent 70%), linear-gradient(180deg, #fbf8f0 0%, #f7f3e8 100%); }
.cx-hero::after { content: none !important; }
.cx-hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "t a" "s s" "b b"; gap: 18px 28px; align-items: center; }
.cx-hero-t { grid-area: t; }
.cx-art-wrap { grid-area: a; }
.cx-hstats { grid-area: s; }
.cx-hbtns { grid-area: b; }
.cx-kick { font-size: 1rem; padding: 9px 20px; gap: 10px; }
.cx-hero h1 { color: #0f4a33; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.06; margin: 18px 0 16px; }
.cx-hero h1 span { color: transparent; background: linear-gradient(180deg, #c8901c, #9a6608); -webkit-background-clip: text; background-clip: text; }
.cx-hero p { color: #24332e; font-size: clamp(1rem, 1.7vw, 1.15rem); max-width: 620px; }
.cx-art { max-width: 520px; width: 100%; display: block; margin-left: auto; filter: drop-shadow(0 22px 26px rgba(60,40,10,.22)); justify-self: end; }

.cx-hstats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0 4px; }
.cx-hs { display: flex; align-items: center; gap: 14px; padding: 0 18px; min-width: 0; }
.cx-hs:first-child { padding-left: 0; }
.cx-hs + .cx-hs { border-left: 2px solid #d9d2bf; }
.cx-hs > i { font-size: 2.1rem; color: var(--agr); flex: none; }
.cx-hs span { display: flex; flex-direction: column; line-height: 1.15; }
.cx-hs b { font-size: 1.3rem; font-weight: 800; color: #12302a; }
.cx-hs small { font-size: 1.05rem; color: #24332e; }
.cx-hs b.t { font-size: 1.05rem; line-height: 1.25; max-width: 240px; }

.cx-hbtns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; padding: 10px 0 0; }
.cx-hbtns .cx-ctaf { margin: 0; }
.cx-hbtn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; padding: 10px 24px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.3rem); text-decoration: none; border: 0; background: linear-gradient(180deg, #1f7a46, #0f5a33); color: #fff !important; box-shadow: 0 16px 26px -16px rgba(15,90,51,.9); transition: transform .2s, filter .2s; }
.cx-hbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.cx-hbtn > i:first-child { font-size: 1.4rem; }
.cx-hbtn .cx-go { transition: transform .2s; } .cx-hbtn:hover .cx-go { transform: translateX(4px); }
.cx-hbtn[disabled] { opacity: .55; pointer-events: none; }
.cx-hbtn.line { background: #fff; color: #12302a !important; border: 2px solid #1f5446; box-shadow: none; }
.cx-hbtn.line > i { color: var(--agr); }

.cx-wave { display: block; width: 100%; height: 90px; margin-top: 26px; }
/* the old floating stats card is not used any more */
.cx-stats { display: none; }
.cx-tabs { margin-top: 18px; }

@media (max-width: 1000px) {
  .cx-hs { padding: 0 12px; gap: 10px; } .cx-hs > i { font-size: 1.7rem; } .cx-hs b { font-size: 1.1rem; } .cx-hs small { font-size: .95rem; } .cx-hs b.t { font-size: .92rem; max-width: 190px; }
}
@media (max-width: 760px) {
  .cx-hero-in { grid-template-columns: 1fr; grid-template-areas: "t" "a" "s" "b"; gap: 16px; }
  .cx-art { max-width: 400px; margin: 0 auto; }
  .cx-hstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 4px 0 0; background: #fff; border: 1px solid #ebe4d3; border-radius: 20px; }
  .cx-hs { padding: 14px; border: 0 !important; }
  .cx-hs:nth-child(even) { border-left: 1px solid #ebe4d3 !important; }
  .cx-hs:nth-child(-n+2) { border-bottom: 1px solid #ebe4d3 !important; }
  .cx-hbtns { grid-template-columns: 1fr; gap: 12px; }
  .cx-hbtn { min-height: 58px; }
  .cx-wave { height: 60px; margin-top: 18px; }
}
@media (max-width: 380px) { .cx-hs { padding: 12px 10px; gap: 8px; } .cx-hs > i { font-size: 1.4rem; } .cx-hs b.t { font-size: .82rem; } }

/* ══════════ Academy home hero — same styling as the main homepage hero (h3-*) ══════════ */
.ah-hero { position: relative; background: linear-gradient(180deg, #f7fbf3 0%, #fbfdf9 55%, #eef7ea 100%); font-family: 'Lexend', system-ui, sans-serif; padding-bottom: 22px; }
.ah-photo { position: relative; height: 300px; overflow: hidden; }
.ah-photo picture, .ah-photo img { display: block; width: 100%; height: 100%; }
.ah-photo img { object-fit: cover; object-position: 38% 40%; }
.ah-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
.ah-body { position: relative; z-index: 2; text-align: center; margin-top: -6px; }
.ah-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #e3f3dc; color: #1f6b3a; font-size: .8rem; font-weight: 600; }
.ah-hero h1 { margin: 12px auto 0; max-width: 640px; font-family: inherit; font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #12302a; }
.ah-hero h1 .gold { color: #f8b72f; }
.ah-swash { display: block; width: 52%; max-width: 260px; height: 12px; margin: 4px auto 10px; }
.ah-lead { max-width: 560px; margin: 0 auto 16px; font-size: .95rem; line-height: 1.5; color: #33413d; }
.ah-lead b { color: #12302a; }
.ah-trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto 18px; padding: 0; max-width: 640px; }
.ah-trust li { display: flex; align-items: center; gap: 8px; padding: 0 6px; text-align: left; font-size: .76rem; font-weight: 600; line-height: 1.2; color: #12302a; }
.ah-trust li + li { border-left: 1px solid #d5ddd9; }
.ah-trust svg { width: 30px; height: 30px; flex-shrink: 0; color: #1f6b3a; }
.ah-btns { display: grid; gap: 10px; max-width: 520px; margin: 0 auto 18px; }
.ah-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border-radius: 999px; font-size: 1.05rem; font-weight: 700; text-decoration: none; transition: transform .2s, filter .2s; }
.ah-btn:hover { transform: translateY(-1px); }
.ah-btn > svg { width: 22px; height: 22px; flex-shrink: 0; }
.ah-btn-main { background: linear-gradient(135deg, #1f6b3a, #17443a); color: #fff !important; box-shadow: 0 12px 22px -12px rgba(23,68,58,.9); }
.ah-btn-main:hover { filter: brightness(1.08); }
.ah-btn-line { background: #fff; color: #17602e !important; box-shadow: inset 0 0 0 2px #1f6b3a; }
.ah-btn-line:hover { color: #17443a !important; background: #f3faf0; }
.ah-arr { width: 20px !important; height: 20px !important; }
.ah-play { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ah-play svg { width: 11px; height: 11px; margin-left: 2px; }
.ah-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 900px; margin: 0 auto; text-align: left; }
.ah-tiles a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 16px; background: rgba(255,255,255,.85); text-decoration: none; color: #12302a; box-shadow: 0 0 0 1px #e6ede8, 0 10px 20px -18px rgba(14,31,26,.6); transition: transform .2s; }
.ah-tiles a:hover { transform: translateY(-2px); color: #12302a; }
.ah-tiles svg { width: 36px; height: 36px; flex-shrink: 0; color: #1f6b3a; }
.ah-tiles a.is-gold svg { color: #f8b72f; }
.ah-tiles b { display: block; font-size: .86rem; line-height: 1.2; }
.ah-tiles small { display: block; margin-top: 2px; font-size: .72rem; line-height: 1.3; color: #4a5653; }
.ah-hero + .ac-wrap { padding-top: 26px; }
@media (max-width: 380px) {
    .ah-hero h1 { font-size: 1.6rem; }
    .ah-trust li { flex-direction: column; text-align: center; font-size: .7rem; gap: 4px; }
    .ah-tiles svg { width: 30px; height: 30px; }
}
@media (min-width: 768px) {
    .ah-photo { height: 420px; }
    .ah-wave { height: 110px; }
    .ah-hero h1 { font-size: 2.8rem; }
    .ah-lead { font-size: 1.1rem; }
    .ah-trust li { font-size: .95rem; padding: 0 14px; }
    .ah-trust svg { width: 40px; height: 40px; }
    .ah-btns { grid-template-columns: 1fr 1fr; max-width: 640px; }
    .ah-tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .ah-tiles a { flex-direction: column; text-align: center; padding: 18px 12px; }
    .ah-tiles b { font-size: 1rem; } .ah-tiles small { font-size: .82rem; }
}
/* large screens: text beside the photo, with the cream arc and gold edge */
@media (min-width: 1100px) {
    .ah-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0; min-height: 600px; }
    .ah-photo { grid-column: 2; grid-row: 1; height: 100%; min-height: 600px; }
    .ah-photo img { object-position: 27% 45%; }
    .ah-wave { display: none; }
    .ah-photo::before { content: ""; position: absolute; z-index: 1; left: -90px; top: -10%; bottom: -10%; width: 180px; border-radius: 50%; background: #f7fbf3; box-shadow: 14px 0 0 -2px #f2b632; }
    .ah-body { grid-column: 1; grid-row: 1; margin: 0; padding: 40px 30px 40px max(24px, calc((100vw - 1140px) / 2 + 16px)); text-align: left; max-width: none; width: auto; }
    .ah-hero h1 { margin-left: 0; font-size: 3rem; }
    .ah-swash { margin-left: 0; }
    .ah-lead { margin-left: 0; }
    .ah-trust { margin-left: 0; }
    .ah-trust li:first-child { padding-left: 0; }
    .ah-btns { margin-left: 0; }
    .ah-tiles { grid-template-columns: repeat(2, 1fr); margin: 0; max-width: 620px; }
    .ah-tiles a { flex-direction: row; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ah-btn, .ah-tiles a { transition: none; } }

/* ══════════ Courses page (cs-) — 2026-11-22 ══════════ */
.cs-hero { position: relative; overflow: hidden; color: #fff; min-height: 470px; display: flex; align-items: flex-end; padding: 0 0 92px; background: #17443a; }
.cs-hero picture, .cs-hero img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cs-hero img { object-fit: cover; object-position: 30% 35%; }
.cs-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(15,58,48,.92) 0%, rgba(15,58,48,.55) 38%, rgba(15,58,48,0) 62%), linear-gradient(90deg, rgba(15,58,48,.55) 0%, rgba(15,58,48,0) 70%); }
.cs-hero-t { position: relative; z-index: 2; width: 100%; }
.cs-hero h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.cs-bar { display: block; width: 84px; height: 6px; border-radius: 4px; background: #f8b72f; margin: 14px 0 14px; }
.cs-hero p { margin: 0; max-width: 460px; font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.45; color: rgba(255,255,255,.95); }
.cs-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; z-index: 3; display: block; }
@media (min-width: 900px) {
  .cs-hero { min-height: 440px; align-items: center; padding: 40px 0 90px; }
  .cs-hero img { object-position: 58% 22%; }
  .cs-hero::before { background: linear-gradient(90deg, rgba(15,58,48,.88) 0%, rgba(15,58,48,.62) 30%, rgba(15,58,48,.1) 55%, rgba(15,58,48,0) 68%); }
  .cs-curve { height: 80px; }
}

.cs-feats-wrap { background: #f4f8f5; }
.cs-feats { list-style: none; margin: 0 auto; padding: 14px 16px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 6px 6px; font-weight: 600; color: #12302a; font-size: .82rem; line-height: 1.25; min-width: 0; }
.cs-feats li + li { border-left: 1.5px solid #dbe5df; }
.cs-feats i { font-size: 1.6rem; color: #1f6b3a; }
@media (min-width: 700px) { .cs-feats { padding: 18px 16px 28px; } .cs-feats li { font-size: .95rem; } .cs-feats i { font-size: 1.8rem; } }
@media (min-width: 1000px) { .cs-feats li { flex-direction: row; justify-content: center; gap: 12px; font-size: 1rem; } .cs-feats i { font-size: 1.9rem; } }

.cs-main { padding-top: 26px; padding-bottom: 10px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.cs-head h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; color: #0f4a2c; letter-spacing: -.01em; }
.cs-search label { display: flex; align-items: center; gap: 10px; min-width: 260px; padding: 0 16px; min-height: 46px; border-radius: 999px; background: #fff; border: 1.5px solid #dbe5df; }
.cs-search i { color: #6b7c76; }
.cs-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; font-size: 16px; background: transparent; color: #12302a; }
.cs-search label:focus-within { border-color: #1f6b3a; box-shadow: 0 0 0 3px rgba(31,107,58,.12); }
@media (max-width: 560px) { .cs-search, .cs-search label { width: 100%; min-width: 0; } }
.cs-res { margin: -6px 0 14px; color: #4a5a55; font-size: .92rem; } .cs-res a { color: #1f5446; font-weight: 700; }

.cs-list { display: flex; flex-direction: column; gap: 16px; }
.cs-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico body" "btns btns"; gap: 14px 18px; padding: 20px; background: #fff; border: 1px solid #e3ebe6; border-radius: 22px; box-shadow: 0 18px 34px -30px rgba(16,40,32,.6); }
.cs-ico { grid-area: ico; width: 76px; height: 76px; border-radius: 18px; background: #e2f1e8; color: #1f5446; display: grid; place-items: center; font-size: 2.1rem; }
.cs-body { grid-area: body; min-width: 0; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.cs-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.cs-tag.free { background: #dff3e2; color: #1d6b2f; } .cs-tag.paid { background: #fdf0cf; color: #8a5a00; } .cs-tag.mine { background: #e7eefc; color: #2a4da0; }
.cs-body h3 { margin: 0 0 6px; font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 800; line-height: 1.25; }
.cs-body h3 a { color: #12302a; text-decoration: none; } .cs-body h3 a:hover { color: #1f5446; }
.cs-body p { margin: 0 0 12px; color: #3b4a45; font-size: .97rem; line-height: 1.5; }
.cs-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cs-meta li { display: inline-flex; align-items: center; gap: 8px; color: #23332e; font-size: .92rem; }
.cs-meta i { color: #1f6b3a; }
.cs-btns { grid-area: btns; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; transition: transform .2s, filter .2s, background .2s; }
.cs-btn.main { background: linear-gradient(180deg, #1c6b45, #0f4a32); color: #fff !important; box-shadow: 0 12px 22px -14px rgba(15,74,50,.9); }
.cs-btn.main:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cs-btn.line { background: #fff; color: #17602e !important; border: 2px solid #1f6b3a; }
.cs-btn.line:hover { background: #f1f8f4; }
@media (max-width: 520px) { .cs-card { padding: 16px; gap: 14px 14px; } .cs-ico { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 16px; } .cs-btns { grid-template-columns: 1fr; } }
@media (max-width: 330px) { .cs-card { grid-template-columns: 1fr; grid-template-areas: "ico" "body" "btns"; } }
@media (min-width: 900px) {
  .cs-card { grid-template-columns: auto minmax(0, 1fr) 240px; grid-template-areas: "ico body btns"; align-items: center; padding: 24px 26px; }
  .cs-ico { width: 96px; height: 96px; font-size: 2.6rem; border-radius: 22px; }
  .cs-btns { grid-template-columns: 1fr; }
}

.cs-empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed #cfe0d6; border-radius: 22px; }
.cs-empty > i { font-size: 2.6rem; color: #1f6b3a; }
.cs-empty h3 { margin: 12px 0 6px; color: #12302a; } .cs-empty p { margin: 0; color: #3b4a45; } .cs-empty a { color: #1f5446; font-weight: 700; }

.cs-help { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 10px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(110deg, #eef8f0, #e2f2e5); border: 1px solid #d6ecd9; }
.cs-help > i { font-size: 1.9rem; color: #1f6b3a; }
.cs-help div { flex: 1 1 220px; display: flex; flex-direction: column; } .cs-help b { color: #12302a; } .cs-help span { color: #3b4a45; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .cs-btn { transition: none; } }

/* ══════════ Course page: full-width featured image hero (2026-11-22) ══════════ */
.cx-hero-cover { padding-top: 0; }
.cx-cover { margin: 0; position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 520px; overflow: hidden; background: #17443a; }
.cx-cover img, .cx-cover picture { display: block; width: 100%; height: 100%; }
.cx-cover img { object-fit: cover; object-position: 50% 35%; }
.cx-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #f8b72f, #e0a020); }
@media (min-width: 900px) { .cx-cover { aspect-ratio: 21 / 8; } }
.cx-hero-cover .cx-hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "s" "b"; padding-top: 26px; gap: 18px; }
.cx-hero-cover .cx-hero-t { max-width: 900px; }
.cx-hero-cover .cx-hero h1, .cx-hero-cover h1 { margin-top: 14px; }
@media (min-width: 761px) { .cx-hero-cover .cx-hbtns { max-width: 860px; } }

/* ══════════ Academy home: Certification Journey (aj-) — 2026-11-22 ══════════ */
.aj { margin: 8px 0 30px; padding: 28px 0 6px; position: relative; }
.aj::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 28px;
  background: radial-gradient(80% 60% at 100% 55%, #e6f2e9 0%, transparent 60%), radial-gradient(70% 50% at 0% 30%, #edf6ef 0%, transparent 60%); }
.aj-head { text-align: center; margin: 0 auto 30px; max-width: 760px; }
.aj-pill { display: inline-block; padding: 8px 22px; border-radius: 999px; background: #dcefe1; color: #12302a; font-weight: 700; font-size: 1rem; }
.aj-head h2 { margin: 14px 0 0; font-size: clamp(1.75rem, 4.6vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #0f3a2a; }
.aj-bar { display: block; width: 92px; height: 6px; border-radius: 4px; background: #dda21a; margin: 14px auto 12px; }
.aj-head p { margin: 0; color: #2c3a36; font-size: clamp(.98rem, 2vw, 1.15rem); }

.aj-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.aj-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 30px 12px 20px; background: #fff; border: 1.5px solid #d9e6de; border-radius: 22px; box-shadow: 0 14px 28px -26px rgba(16,40,32,.6); min-width: 0; }
.aj-n { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: #0f4a2c; color: #fff; font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.aj-ico { width: 72px; height: 66px; border-radius: 18px; background: #e3f2e8; color: #0f4a2c; display: grid; place-items: center; margin-bottom: 8px; }
.aj-ico svg { width: 42px; height: 42px; }
.aj-step b { font-size: 1.15rem; font-weight: 800; color: #12302a; line-height: 1.2; }
.aj-step small { font-size: .9rem; color: #3b4a45; line-height: 1.35; }
.aj-arr { position: absolute; top: 50%; right: -26px; transform: translate(50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #dcefe1; color: #17602e; display: none; place-items: center; z-index: 1; }
.aj-arr svg { width: 16px; height: 16px; }
/* arrows only between cards in the same row */
.aj-step:nth-child(odd) .aj-arr { display: grid; }
@media (min-width: 640px) {
  .aj-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 34px; }
  .aj-step { padding: 34px 16px 22px; }
  .aj-arr { right: -34px; }
  .aj-step:nth-child(odd) .aj-arr { display: none; }
  .aj-step:nth-child(3n+1) .aj-arr, .aj-step:nth-child(3n+2) .aj-arr { display: grid; }
  .aj-ico { width: 84px; height: 76px; } .aj-ico svg { width: 48px; height: 48px; }
  .aj-step b { font-size: 1.35rem; } .aj-step small { font-size: 1rem; }
}
@media (min-width: 1000px) { .aj-steps { gap: 40px 44px; } .aj-arr { right: -44px; } .aj-n { width: 42px; height: 42px; top: -20px; font-size: 1.2rem; } }
@media (max-width: 360px) { .aj-steps { gap: 28px 18px; } .aj-arr { right: -18px; width: 28px; height: 28px; } .aj-step b { font-size: 1.02rem; } .aj-ico { width: 60px; height: 56px; } .aj-ico svg { width: 36px; height: 36px; } }

.cs-group { margin: 26px 0 12px; } .cs-group:first-of-type { margin-top: 6px; }
.cs-group h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #12302a; display: flex; align-items: center; gap: 10px; }
.cs-group h3::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: #dda21a; }
.cs-group p { margin: 4px 0 0 15px; color: #4a5a55; font-size: .92rem; }
