/* Trang Nguyen Academy — language and technology learning */
:root {
    --ink: #121418;
    --ink-2: #1d2027;
    --ink-3: #2b2f38;
    --paper: #f4f2ea;
    --card: #fffdf8;
    --line: #e3dfd2;
    --line-2: #d3cdbb;
    --muted: #5d6170;
    --lime: #d4f54c;
    --lime-2: #c2e536;
    --lime-soft: #eefabf;
    --coral: #ff6a3d;
    --violet: #6a5cff;
    --r: 14px;
    --r-sm: 9px;
    --shadow: 0 1px 0 rgba(18, 20, 24, 0.04), 0 10px 30px -14px rgba(18, 20, 24, 0.18);
    --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 15px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 450; vertical-align: middle; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 500; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 0.08em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* header */
.top-note { background: var(--ink); color: #e9ecf2; font-size: 13px; text-align: center; padding: 8px 16px; }
.top-note b { color: var(--lime); font-weight: 600; }
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(244, 242, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 26px; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -0.04em; }
.logo i { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); position: relative; display: inline-block; }
.logo i::after { content: ''; position: absolute; right: 6px; bottom: 6px; width: 11px; height: 11px; border-radius: 3px; background: var(--lime); }
.logo i::before { content: ''; position: absolute; left: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; border: 2px solid #fff; }
.nav { display: flex; gap: 22px; font-weight: 500; font-size: 14.5px; }
.nav a { color: var(--ink-3); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a.on, .nav a:hover { color: var(--ink); border-color: var(--ink); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); font-size: 14px; max-width: 330px; margin-left: auto; white-space: nowrap; overflow: hidden; }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); }
.icon-btn em { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.burger { display: none; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.045em; margin: 22px 0 20px; line-height: 1.02; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-search { margin-top: 30px; display: flex; gap: 8px; padding: 7px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; max-width: 540px; box-shadow: 5px 5px 0 var(--ink); }
.hero-search input { flex: 1; border: 0; background: transparent; outline: none; padding: 0 10px; font-size: 15px; min-width: 0; }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.tags a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); background: transparent; }
.tags a:hover { background: var(--lime-soft); }

.stage { position: relative; padding: 20px 10px 76px 40px; }
.player-card { background: var(--ink); border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -25px rgba(18,20,24,.55); transform: rotate(-1.2deg); }
.player-card .vid { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 16/10; }
.player-card .vid img { width: 100%; height: 100%; object-fit: cover; }
.vid .play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(212,245,76,.25); }
.vid .play .ms { font-size: 40px; }
.vid .bar { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; font-weight: 500; }
.vid .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); position: relative; }
.vid .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: var(--lime); border-radius: 2px; }
.vid .track i::after { content: ''; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.player-card .meta { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 12px 8px 4px; font-size: 13.5px; gap: 10px; }
.player-card .meta b { font-family: var(--head); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.player-card .meta span { color: #9aa0ad; font-size: 12.5px; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: 13px; }
.f-progress { left: -6px; top: 92px; width: 250px; }
.f-progress .row { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.meter { height: 8px; border-radius: 4px; background: #ebe7da; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.f-progress small { display: block; margin-top: 8px; color: var(--muted); }
.f-cert { right: -10px; top: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; transform: rotate(2deg); }
.f-cert .ms { width: 38px; height: 38px; border-radius: 10px; background: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.f-cert small { display: block; color: var(--muted); font-weight: 400; }
.f-live { right: 20px; bottom: 14px; display: flex; align-items: center; gap: 10px; }
.avatars { display: flex; }
.avatars img, .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--card); margin-left: -8px; object-fit: cover; }
.avatars span { background: var(--violet); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.avatars > :first-child { margin-left: 0; }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--head); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 14px; }

/* sections */
.sec { padding: 84px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.sec-head .k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; display: block; }
.sec-head h2 { font-size: 42px; font-weight: 800; letter-spacing: -0.035em; }
.sec-head p { color: var(--muted); max-width: 520px; margin-top: 10px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 26px; transition: background .15s, transform .15s; }
.cat:hover { background: var(--lime-soft); transform: translateY(-2px); }
.cat .ms { width: 44px; height: 44px; border-radius: 11px; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cat b { font-family: var(--head); font-size: 17px; font-weight: 700; display: block; }
.cat small { color: var(--muted); font-size: 13px; }
.cat.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat.dark .ms { background: var(--lime); color: var(--ink); }
.cat.dark small { color: #a4a9b5; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* course card */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course .th { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course .th img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; background: var(--lime); color: var(--ink); }
.badge.hot { background: var(--coral); color: #fff; }
.badge.new { background: var(--violet); color: #fff; }
.course .th .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(18,20,24,.82); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.course .bd { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course .cat-l { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.course h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.course .by { font-size: 13.5px; color: var(--muted); }
.rating { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.rating b { color: var(--ink); font-weight: 700; }
.stars { color: #f2a516; letter-spacing: 1px; font-size: 13px; }
.course .ft { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; gap: 8px; }
.price { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.old { color: #8b8f9b; text-decoration: line-through; font-size: 13.5px; }
.rating .lv { margin-left: auto; white-space: nowrap; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }

/* path (dark) */
.dark-sec { background: var(--ink); color: #fff; }
.dark-sec .sec-head .k { color: var(--lime); }
.dark-sec .sec-head p { color: #a4a9b5; }
.path { display: grid; grid-template-columns: 380px 1fr; gap: 46px; align-items: start; }
.path-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px; padding: 26px; }
.path-card h3 { font-size: 26px; font-weight: 800; margin: 10px 0 12px; }
.path-card p { color: #a4a9b5; font-size: 14.5px; }
.path-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14.5px; }
.path-card li { display: flex; gap: 10px; align-items: center; }
.path-card li .ms { color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 20px; min-height: 210px; display: flex; flex-direction: column; }
.step .n { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--lime); }
.step h4 { font-size: 19px; font-weight: 700; margin: 12px 0 8px; }
.step p { color: #a4a9b5; font-size: 13.5px; }
.step .wk { margin-top: auto; padding-top: 16px; font-size: 12.5px; color: #cfd3db; display: flex; align-items: center; gap: 6px; }
.step.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.step.on .n, .step.on p, .step.on .wk { color: var(--ink); }

/* teachers */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teacher { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 18px; }
.teacher img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; filter: saturate(.9); }
.teacher b { display: block; font-family: var(--head); font-size: 18px; font-weight: 700; margin: 14px 4px 2px; }
.teacher span { display: block; color: var(--muted); font-size: 13.5px; margin: 0 4px; }
.teacher .tm { display: flex; gap: 14px; margin: 12px 4px 0; font-size: 12.5px; color: var(--ink-3); }
.teacher .tm i { font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
.teacher .tm .ms { font-size: 16px; }

/* reviews */
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.review.big { background: var(--lime); border-color: var(--lime); }
.review q { font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.38; quotes: none; }
.review.big q { font-size: 24px; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.review .who b { display: block; font-size: 14.5px; }
.review .who span { color: var(--muted); }
.review.big .who span { color: var(--ink-3); }
.ava { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }

/* cta band */
.cta-band { margin: 0 0 84px; }
.cta-box { background: var(--ink); color: #fff; border-radius: 22px; padding: 46px 50px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-box::after { content: ''; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(212,245,76,.12); }
.cta-box h2 { font-size: 38px; font-weight: 800; max-width: 680px; }
.cta-box p { color: #a4a9b5; margin-top: 12px; max-width: 600px; }
.cta-box .btns { display: flex; gap: 10px; position: relative; z-index: 1; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: 14px; color: var(--muted); }
.ftr .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ftr h5 { font-family: var(--head); font-size: 15px; color: var(--ink); margin: 0 0 14px; font-weight: 700; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr .about p { margin: 14px 0; max-width: 320px; }
.ftr .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }

/* breadcrumb / page head */
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--ink); }
.page-head { padding-top: 34px; padding-bottom: 26px; }
.page-head h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; margin-top: 12px; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }

/* catalog */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding-bottom: 80px; }
.filters { position: sticky; top: 90px; align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; color: var(--ink-3); }
.check i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.check.on i { background: var(--ink); border-color: var(--ink); }
.check.on i::after { content: ''; width: 8px; height: 4px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg) translate(1px, -1px); }
.check small { margin-left: auto; color: #8b8f9b; }
.range { height: 4px; background: var(--line); border-radius: 2px; position: relative; margin: 14px 4px 10px; }
.range i { position: absolute; left: 0; right: 35%; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; }
.range i::before, .range i::after { content: ''; position: absolute; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.range i::before { left: -6px; } .range i::after { right: -6px; }
.range-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.toolbar .count b { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--lime-soft); border: 1px solid #dcef9a; font-size: 13px; font-weight: 600; }
.pill .ms { font-size: 16px; }
.select { margin-left: auto; height: 40px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; }
.pager a { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 600; background: var(--card); }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn { display: none; }

/* course detail */
.c-hero { background: var(--ink); color: #fff; padding: 30px 0 56px; }
.c-hero .crumb { color: #9aa0ad; }
.c-hero .wrap { position: relative; }
.c-hero-in { max-width: 720px; }
.c-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 18px 0 14px; }
.c-hero .sub { color: #c4c8d1; font-size: 17px; }
.c-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14px; color: #c4c8d1; align-items: center; }
.c-meta b { color: var(--lime); }
.c-meta .ms { font-size: 18px; color: #8d93a0; }
.c-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; }
.c-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.c-by span { color: #9aa0ad; display: block; font-size: 13px; }
.c-body { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-top: 40px; padding-bottom: 80px; }
.buy { margin-top: -290px; position: sticky; top: 90px; align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(18,20,24,.45); }
.buy .vid { position: relative; aspect-ratio: 16/10; }
.buy .vid img { width: 100%; height: 100%; object-fit: cover; }
.buy .vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(18,20,24,.7)); }
.buy .vid .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; z-index: 1; }
.buy .vid .play .ms { font-size: 34px; }
.buy .vid small { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-weight: 600; z-index: 1; font-size: 13.5px; }
.buy .in { padding: 22px; }
.buy .pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy .pr .price { font-size: 32px; }
.off { background: var(--coral); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.timer { margin: 12px 0 18px; font-size: 13.5px; color: var(--coral); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.buy .btn { margin-bottom: 10px; }
.buy .guar { text-align: center; font-size: 12.5px; color: var(--muted); }
.incl { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.incl li { display: flex; gap: 10px; align-items: center; }
.incl .ms { font-size: 19px; color: var(--ink-3); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; margin-bottom: 26px; }
.box h2 { font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.learn li { display: flex; gap: 10px; }
.learn .ms { color: var(--ink); background: var(--lime); border-radius: 50%; width: 22px; height: 22px; font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.cur-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.chap { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.chap-h { display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: var(--paper); font-weight: 600; }
.chap-h .no { font-family: var(--head); font-size: 13px; font-weight: 800; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; flex: none; }
.chap-h b { font-size: 15.5px; }
.chap-h span { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.chap-h .ms { color: var(--muted); }
.lesson { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 66px; border-top: 1px solid var(--line); font-size: 14px; }
.lesson .ms { font-size: 19px; color: var(--muted); }
.lesson .t { flex: 1; }
.lesson .free { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--lime); padding: 2px 8px; border-radius: 5px; }
.lesson .d { color: var(--muted); font-size: 13px; }
.gv { display: grid; grid-template-columns: 150px 1fr; gap: 24px; }
.gv img { width: 150px; height: 150px; border-radius: 14px; object-fit: cover; }
.gv h3 { font-size: 22px; font-weight: 800; }
.gv .role { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }
.gv .nums { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 12px; }
.gv .nums span { display: inline-flex; gap: 5px; align-items: center; }
.gv .nums .ms { font-size: 17px; }
.gv p { font-size: 14.5px; color: var(--ink-3); }
.rsum { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.rsum .big { text-align: center; }
.rsum .big b { font-family: var(--head); font-size: 60px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; display: block; }
.rsum .big small { color: var(--muted); font-size: 13px; }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 50px 1fr 44px; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.bars .meter i { background: #f2a516; }
.rv { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.rv:last-child { border-bottom: 0; padding-bottom: 0; }
.rv .top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.rv .top b { color: var(--ink); font-size: 14.5px; }
.rv p { font-size: 14.5px; margin-top: 6px; color: var(--ink-3); }

/* learning page */
.learn-pg { background: #0f1115; color: #e8eaef; min-height: 100vh; }
.l-top { height: 62px; display: flex; align-items: center; gap: 18px; padding: 0 22px; border-bottom: 1px solid #23262e; background: #14161b; position: sticky; top: 0; z-index: 20; }
.l-top .logo { color: #fff; font-size: 20px; }
.l-top .logo i { background: #fff; }
.l-top .logo i::before { border-color: var(--ink); }
.l-top .ttl { border-left: 1px solid #2b2f38; padding-left: 18px; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-top .right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13.5px; }
.ring { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--lime) 0 62%, #2b2f38 62% 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #14161b; }
.ring b { position: relative; font-size: 11px; }
.l-top .btn-ghost { height: 38px; font-size: 13.5px; padding: 0 14px; }
.l-main { display: grid; grid-template-columns: 1fr 380px; min-height: calc(100vh - 62px); }
.l-video { background: #000; position: relative; aspect-ratio: 16/8.2; overflow: hidden; }
.l-video img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.l-video .sub { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); background: rgba(0,0,0,.72); color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 16px; white-space: nowrap; }
.l-video .ctrl { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.l-video .track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); position: relative; margin-bottom: 12px; }
.l-video .track .buf { position: absolute; left: 0; top: 0; bottom: 0; width: 74%; background: rgba(255,255,255,.35); border-radius: 3px; }
.l-video .track .pos { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; background: var(--lime); border-radius: 3px; }
.l-video .track .pos::after { content: ''; position: absolute; right: -7px; top: -5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.l-video .row { display: flex; align-items: center; gap: 18px; color: #fff; font-size: 13.5px; }
.l-video .row .ms { font-size: 24px; }
.l-video .row .sp { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.l-video .row .rate { border: 1px solid rgba(255,255,255,.4); border-radius: 5px; padding: 1px 6px; font-size: 12px; font-weight: 600; }
.l-info { padding: 26px 30px 50px; }
.l-info .chapl { color: var(--lime); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.l-info h1 { font-size: 30px; font-weight: 800; margin: 8px 0 16px; color: #fff; }
.l-nav { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.l-nav .btn-line { border-color: #3a3f4a; color: #fff; }
.l-tabs { display: flex; gap: 26px; border-bottom: 1px solid #23262e; margin-bottom: 22px; font-size: 14.5px; font-weight: 600; overflow-x: auto; }
.l-tabs a { padding: 12px 0; color: #8d93a0; border-bottom: 2px solid transparent; white-space: nowrap; }
.l-tabs a.on { color: #fff; border-color: var(--lime); }
.l-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.q { background: #171a20; border: 1px solid #23262e; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; font-size: 14px; }
.q .ava { width: 38px; height: 38px; font-size: 13px; background: #2b2f38; }
.q .ava.gv { background: var(--lime); color: var(--ink); }
.q b { color: #fff; }
.q .tm { color: #7d8390; font-size: 12.5px; margin-left: 6px; }
.q p { color: #c4c8d1; margin-top: 4px; }
.q .tag { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--lime); }
.files { background: #171a20; border: 1px solid #23262e; border-radius: 12px; padding: 18px; }
.files h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #23262e; font-size: 13.5px; }
.file:first-of-type { border-top: 0; }
.file .ms { width: 36px; height: 36px; border-radius: 9px; background: #23262e; display: flex; align-items: center; justify-content: center; color: var(--lime); }
.file small { display: block; color: #7d8390; }
.file .dl { margin-left: auto; color: #8d93a0; }
.side { background: #14161b; border-left: 1px solid #23262e; }
.side-h { padding: 20px 20px 16px; border-bottom: 1px solid #23262e; }
.side-h b { font-family: var(--head); font-size: 18px; color: #fff; }
.side-h .meter { background: #2b2f38; margin: 12px 0 6px; }
.side-h .meter i { background: var(--lime); }
.side-h small { color: #8d93a0; font-size: 12.5px; }
.s-chap { border-bottom: 1px solid #23262e; }
.s-chap-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: 14px; font-weight: 600; color: #fff; }
.s-chap-h small { margin-left: auto; color: #7d8390; font-weight: 400; white-space: nowrap; }
.s-les { display: flex; align-items: flex-start; gap: 10px; padding: 10px 20px 10px 22px; font-size: 13.5px; color: #c4c8d1; }
.s-les .ms { font-size: 19px; color: #565c69; }
.s-les.done .ms { color: var(--lime); }
.s-les.cur { background: #1f232b; box-shadow: inset 3px 0 0 var(--lime); color: #fff; }
.s-les.cur .ms { color: var(--lime); }
.s-les .t { flex: 1; }
.s-les small { color: #7d8390; display: block; font-size: 12px; margin-top: 1px; }

/* checkout */
.co-top { border-bottom: 1px solid var(--line); background: var(--card); }
.co-top .wrap { height: 70px; display: flex; align-items: center; gap: 20px; }
.co-steps { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.co-steps span { display: inline-flex; align-items: center; gap: 7px; }
.co-steps i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; }
.co-steps .done i { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.co-steps .on { color: var(--ink); }
.co-steps .on i { background: var(--lime); border-color: var(--ink); color: var(--ink); }
.co-steps .sep { width: 28px; height: 1.5px; background: var(--line-2); }
.secure { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.co { display: grid; grid-template-columns: 1fr 420px; gap: 30px; padding-top: 34px; padding-bottom: 80px; }
.co h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fld .in { height: 48px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 14.5px; }
.fld.full { grid-column: 1 / -1; }
.fld .in.focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime-soft); }
.pay { display: grid; gap: 10px; }
.pm { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.pm .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.pm.on { border-color: var(--ink); }
.pm.on .rd { border: 6px solid var(--ink); }
.pm b { display: block; font-size: 15px; }
.pm small { color: var(--muted); font-size: 13px; }
.pm .ic { margin-left: auto; display: flex; gap: 6px; }
.pm .ic span { height: 26px; padding: 0 8px; border-radius: 5px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; color: var(--ink-3); }
.qr-wrap { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; margin-top: 4px; padding: 18px; border-radius: 12px; background: var(--lime-soft); }
.qr-wrap svg { width: 170px; height: 170px; background: #fff; border-radius: 10px; padding: 10px; }
.qr-wrap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.qr-wrap dt { color: var(--muted); }
.qr-wrap dd { margin: 0; font-weight: 600; }
.sum { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: sticky; top: 24px; align-self: start; }
.sum h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.si { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.si img { width: 86px; height: 58px; object-fit: cover; border-radius: 8px; }
.si b { font-size: 14.5px; line-height: 1.3; display: block; }
.si small { color: var(--muted); font-size: 12.5px; display: block; margin: 3px 0 4px; }
.si .price { font-size: 15.5px; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon .in { flex: 1; height: 44px; border: 1.5px dashed var(--ink); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-weight: 700; font-size: 14px; background: var(--lime-soft); }
.coupon .in small { font-weight: 500; color: var(--muted); }
.tot { display: grid; gap: 8px; font-size: 14.5px; padding: 6px 0 16px; }
.tot div { display: flex; justify-content: space-between; }
.tot .minus { color: #2c8a3c; }
.tot .grand { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; font-weight: 700; align-items: baseline; }
.tot .grand .price { font-size: 28px; }
.note { margin-top: 14px; display: flex; gap: 10px; font-size: 13px; color: var(--muted); background: var(--paper); padding: 12px; border-radius: 10px; }
.note .ms { color: var(--ink); }

/* certificate */
.cert-pg { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding-top: 30px; padding-bottom: 80px; align-items: start; }
.cert { background: #fffef9; border-radius: 6px; padding: 18px; box-shadow: 0 40px 70px -40px rgba(18,20,24,.55), 0 0 0 1px var(--line); }
.cert-in { border: 2px solid var(--ink); padding: 44px 54px 38px; position: relative; overflow: hidden; background:
    radial-gradient(circle at 100% 0, var(--lime-soft) 0 140px, transparent 141px),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(18,20,24,.018) 18px 19px); }
.cert-in::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-2); pointer-events: none; }
.cert-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.cert-top .code { font-size: 12px; color: var(--muted); text-align: right; }
.cert-top .code b { color: var(--ink); font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.cert .kicker { margin-top: 44px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.cert h1 { font-size: 62px; font-weight: 800; letter-spacing: -0.045em; margin: 14px 0 6px; }
.cert .given { font-size: 15px; color: var(--muted); }
.cert .course-n { font-family: var(--head); font-size: 27px; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.02em; }
.cert .course-n .mark { padding: 0 .1em; }
.cert .desc { font-size: 14.5px; color: var(--ink-3); max-width: 620px; }
.cert-bot { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; position: relative; }
.sign { border-top: 1.5px solid var(--ink); padding-top: 10px; font-size: 13px; color: var(--muted); }
.sign b { display: block; color: var(--ink); font-size: 14.5px; }
.sign .sig { font-family: var(--head); font-style: italic; font-size: 34px; color: var(--ink-3); line-height: 1; margin-bottom: 4px; display: block; }
.seal { width: 112px; height: 112px; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--head); font-weight: 800; font-size: 13px; line-height: 1.15; box-shadow: 0 0 0 5px #fffef9, 0 0 0 7px var(--ink); }
.seal .ms { font-size: 30px; margin-bottom: 2px; }
.cert-side .box { padding: 22px; }
.cert-side h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.cert-side .btn { margin-bottom: 10px; }
.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share a { height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; }
.verify { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; font-size: 13.5px; }
.verify svg { width: 92px; height: 92px; }
.verify b { display: block; }
.verify span { color: var(--muted); }
.ok { display: inline-flex; gap: 6px; align-items: center; color: #2c8a3c; font-weight: 700; font-size: 13.5px; margin-top: 6px; }
.next { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.next img { width: 74px; height: 52px; object-fit: cover; border-radius: 7px; }
.next b { display: block; font-size: 14px; line-height: 1.3; }
.next span { color: var(--muted); }
.congrats { display: flex; align-items: center; gap: 14px; background: var(--lime); border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; font-weight: 600; }
.congrats .ms { font-size: 28px; }
.congrats small { display: block; font-weight: 400; color: var(--ink-3); }

/* demo ribbon */

/* responsive */
@media (max-width: 1180px) {
    .search { display: none; }
    .cats { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .path { grid-template-columns: 1fr; }
    .l-main { grid-template-columns: 1fr 320px; }
}
@media (max-width: 960px) {
    .wrap { padding: 0 18px; }
    .nav, .hdr-act .btn-line, .hdr-act .hide-m { display: none; }
    .burger { display: inline-flex; }
    .hdr .wrap { gap: 12px; height: 62px; }
    .hdr-act { margin-left: auto; gap: 8px; }
    .hero { padding: 34px 0 30px; }
    .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
    .hero h1 { font-size: 38px; }
    .hero .lead { font-size: 16px; }
    .hero-search { box-shadow: 4px 4px 0 var(--ink); }
    .hero-search .btn { padding: 0 14px; }
    .stage { padding: 14px 6px 60px 6px; }
    .f-progress { width: 200px; left: 0; top: auto; bottom: 0; }
    .f-cert { right: 0; top: -6px; }
    .f-live { display: none; }
    .stats .wrap { grid-template-columns: 1fr 1fr; }
    .stat { padding: 18px 0 18px 18px; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .stat b { font-size: 26px; }
    .sec { padding: 56px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
    .sec-head h2 { font-size: 30px; }
    .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat { gap: 16px; padding: 16px; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .steps { grid-template-columns: 1fr; }
    .step { min-height: 0; }
    .teachers { grid-template-columns: 1fr 1fr; gap: 12px; }
    .teacher .tm { flex-direction: column; gap: 4px; }
    .reviews { grid-template-columns: 1fr; }
    .review.big q { font-size: 20px; }
    .cta-box { grid-template-columns: 1fr; padding: 30px 24px; }
    .cta-box h2 { font-size: 28px; }
    .cta-box .btns { flex-wrap: wrap; }
    .cta-band { margin-bottom: 56px; }
    .ftr .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .ftr .about { grid-column: 1 / -1; }
    .ftr .copy { flex-direction: column; }
    .page-head h1 { font-size: 32px; }
    .catalog { grid-template-columns: 1fr; }
    .filters { display: none; }
    .filter-btn { display: inline-flex; }
    .select { margin-left: 0; }
    .c-hero h1 { font-size: 30px; }
    .c-hero { padding-bottom: 30px; }
    .c-body { grid-template-columns: 1fr; padding-top: 24px; }
    .buy { margin-top: 0; position: static; order: -1; }
    .box { padding: 20px; }
    .learn { grid-template-columns: 1fr; }
    .lesson { padding-left: 18px; }
    .gv { grid-template-columns: 1fr; }
    .rsum { grid-template-columns: 1fr; gap: 16px; }
    .l-main { grid-template-columns: 1fr; }
    .l-top .ttl, .l-top .hide-m { display: none; }
    .l-video { aspect-ratio: 16/10; }
    .l-video .sub { font-size: 13px; bottom: 64px; }
    .l-video .row .hide-m { display: none; }
    .l-info { padding: 20px 18px 30px; }
    .l-info h1 { font-size: 23px; }
    .l-cols { grid-template-columns: 1fr; }
    .side { border-left: 0; border-top: 1px solid #23262e; }
    .co-top .secure, .co-steps .lbl, .co-steps .sep { display: none; }
    .co { grid-template-columns: 1fr; padding-top: 24px; }
    .co h1 { font-size: 28px; }
    .fields { grid-template-columns: 1fr; }
    .qr-wrap { grid-template-columns: 1fr; justify-items: center; }
    .pm .ic { display: none; }
    .cert-pg { grid-template-columns: 1fr; }
    .cert { padding: 8px; }
    .cert-in { padding: 24px 20px 22px; }
    .cert .kicker { margin-top: 26px; font-size: 11px; letter-spacing: .2em; }
    .cert h1 { font-size: 30px; }
    .cert .course-n { font-size: 20px; }
    .cert-bot { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
    .seal { display: none; }
    .cert-top .code { font-size: 10.5px; }
}
.rating .lv .ms { font-size: 16px; }
.hero .wrap > *, .l-main > *, .c-body > *, .co > *, .cert-pg > *, .catalog > *, .l-cols > *, .path > * { min-width: 0; }
body { overflow-x: hidden; }
@media (max-width: 960px) {
    .top-note { font-size: 12px; padding: 7px 12px; }
    .l-video .sub { white-space: normal; width: 86%; text-align: center; }
    .l-video .row { gap: 12px; white-space: nowrap; }
    .l-video .sub { bottom: 96px; font-size: 12.5px; }
    .l-video .row .ms { font-size: 21px; }
    .cert-pg { padding-top: 22px; }
    .page-head { padding-top: 24px; }
    .l-video .row .sp { gap: 12px; }
    .stage { padding-bottom: 56px; }
}
/* Local interactions; retain the original reference layout. */
[hidden] { display: none !important; }
@media (max-width: 960px) {
  .hdr .nav.academy-open { display: flex; position: absolute; top: 70px; left: 0; right: 0; padding: 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 12px; }
}

/* Academy content refresh: retain the established layout and color palette. */
.academy-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 660px; }
.academy-preview-note { padding-top: 16px; padding-bottom: 16px; color: var(--muted); font-size: 12px; }
.academy-course-label { text-decoration: none; font-size: 11px; }
.academy-filter { display: flex; width: 100%; border: 0; background: transparent; text-align: left; color: var(--ink); padding-inline: 0; cursor: pointer; }
.academy-empty { padding: 30px 0; color: var(--muted); }
.course .rating { flex-wrap: wrap; gap: 6px; font-size: 11px; }
.course .rating .ms { font-size: 15px; }
.course .price { font-size: 16px; }
.course .by { font-size: 11px; }
.course .ft { gap: 8px; }
.teacher img { object-position: center 28%; }
.teacher .tm { flex-wrap: wrap; gap: 8px; font-size: 11px; }
.hero h1 { line-height: 1.12; letter-spacing: -.045em; }
.c-hero h1 { font-size: 44px; }
@media (max-width:960px) { .hdr .nav.academy-open { top:62px; } .hero h1 { font-size:38px; } .c-hero h1 { font-size:34px; } .teacher span { font-size:12px; } }
@media (max-width:400px) { .hero h1 { font-size:34px; } .cats .cat { gap:10px; padding:14px; } .cat b { font-size:15px; } }
