/* NovaLearn brand: navy #122F66 + yellow #FFBC31, Montserrat headlines */
:root {
  --cream: #f6f8fc; --paper: #ffffff; --ink: #122f66; --ink2: #3b4a6b; --mute: #6b7690; --text: #1a2340;
  --gold: #ffbc31; --gold-d: #e5a313; --line: #dde3ee; --ok: #2f7d4f; --ok-l: #e5f2e9; --err: #b3261e; --err-l: #fbe9e7;
  --blue: #2c5aa0; --blue-l: #e6eef9;
  --serif: "Montserrat", "Segoe UI", Arial, sans-serif; --sans: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  --r: 6px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .4em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
code { background: #eaf0fa; padding: 1px 6px; border-radius: 4px; font-size: .9em; word-break: break-all; }
small, .small { color: var(--mute); font-size: 13.5px; }

/* header */
.top { display: flex; align-items: center; gap: 28px; padding: 0 32px; height: 72px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand .mark { width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 17px; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; color: var(--ink2); font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a.on, .top nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.acct { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.acct .who { font-size: 14px; color: var(--ink2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { max-width: 1080px; margin: 0 auto; padding: 40px 32px 70px; min-height: calc(100vh - 140px); }
main.wide { max-width: 1280px; }
.foot { display: flex; justify-content: space-between; padding: 22px 32px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--r); padding: 11px 20px; font: 600 15px var(--serif); text-decoration: none; cursor: pointer; }
.btn:hover:not([disabled]) { background: #0b2150; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover:not([disabled]) { background: #eaf0fa; }
.btn.sm { padding: 7px 14px; font-size: 14px; }
.btn.full { width: 100%; }
.btn.danger { background: var(--err); border-color: var(--err); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* hero + catalog */
.hero { padding: 36px 0 44px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.kicker { font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.hero h1 { font-size: 48px; max-width: 760px; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--gold); margin-top: 20px; }
.hero p { font-size: 18px; color: var(--ink2); max-width: 640px; margin: 18px 0 26px; }
.sec { font-size: 26px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(18, 47, 102, .12); }
.cover, .thumb, .banner { background: #122f66 center/cover no-repeat; }
.cover { aspect-ratio: 16/8; }
.cover.gen, .thumb.gen, .banner.gen { background: linear-gradient(135deg, #0b2150 0%, #122f66 55%, #1f4f9e 100%); display: grid; place-items: center; }
.gen span { font-family: var(--serif); color: var(--gold); font-size: 44px; letter-spacing: 2px; }
.card-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-b h3 { font-size: 21px; }
.card-b p { margin: 0; color: var(--ink2); font-size: 14.5px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13.5px; color: var(--mute); margin-top: 8px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #ece8dd; color: var(--ink2); }
.pill.progress { background: var(--blue-l); color: var(--blue); }
.pill.done, .pill.passed { background: var(--ok-l); color: var(--ok); }
.pill.failed { background: var(--err-l); color: var(--err); }
.empty, .loading { padding: 50px; text-align: center; color: var(--mute); border: 1px dashed var(--line); border-radius: 10px; }
.loading { border: 0; }
.err { color: var(--err); }

/* my learning list */
.ttl { font-size: 38px; margin-bottom: 24px; }
.list { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-decoration: none; }
.row:hover { border-color: var(--ink); }
.thumb { width: 150px; aspect-ratio: 16/9; border-radius: 6px; flex: none; }
.thumb.gen span { font-size: 26px; }
.row-b { flex: 1; min-width: 0; }
.row-b h3 { font-size: 20px; margin: 0; }

/* course page */
.course { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.banner { aspect-ratio: 16/5; }
.banner.gen span { font-size: 64px; }
.course-b { padding: 30px 36px 36px; }
.course-b h1 { font-size: 40px; }
.desc { margin: 18px 0; color: var(--ink2); max-width: 760px; }
.actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.note { color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 18px 0; }
.stats > div { background: var(--paper); padding: 16px 18px; }
.stats b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.stats small { text-transform: uppercase; letter-spacing: .8px; font-size: 11.5px; }

/* auth */
.auth { max-width: 430px; margin: 30px auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 34px; }
.auth h1 { font-size: 30px; margin-bottom: 20px; }
.alt { text-align: center; font-size: 14px; color: var(--mute); margin: 18px 0 0; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--ink2); }
label small { font-weight: 400; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 15px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 188, 49, .4); }
.chk { display: flex; align-items: center; gap: 8px; }
.chk input { width: auto; margin: 0; }
.msg { margin-top: 12px; font-size: 14px; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--err); }

/* admin */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs a { padding: 10px 16px; text-decoration: none; color: var(--ink2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 22px; }
.panel h3 { font-size: 22px; }
.ph { display: flex; justify-content: space-between; align-items: center; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.row-btns { display: flex; gap: 10px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--mute); background: #eef2f9; padding: 10px 12px; }
.tbl td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl select { margin: 0; padding: 6px 8px; width: auto; }
.panel .tbl { border: 0; }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 26px; text-align: center; cursor: pointer; background: #fff; }
.drop:hover { border-color: var(--gold); }
.drop input { margin: 0 auto 10px; max-width: 360px; }
.drop b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.pkg { background: var(--ok-l); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.prog { margin-top: 16px; }
.bar { height: 10px; background: #e3e9f3; border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.prog span { font-size: 13.5px; color: var(--mute); }
.inv { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.inv li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.x { border: 0; background: none; color: var(--mute); cursor: pointer; font-size: 15px; }
.x:hover { color: var(--err); }
.danger { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.danger summary { cursor: pointer; color: var(--err); font-size: 14px; }
.danger .btn { margin: 4px 6px 0 0; }

/* player */
body.playing { overflow: hidden; }
.player { position: fixed; inset: 0; display: flex; flex-direction: column; background: #0b1630; z-index: 50; }
.pbar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; background: var(--ink); color: var(--cream); flex: none; }
.pbar .btn.ghost { color: var(--cream); border-color: #2b3f6b; }
.pbar .btn.ghost:hover { background: #16295a; }
.ptitle { font-family: var(--serif); font-size: 17px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saved { font-size: 12.5px; color: #9aa6c0; min-width: 70px; }
.saved.ok { color: #9fd3b1; } .saved.err { color: #f2a59f; }
#sco { flex: 1; width: 100%; border: 0; background: #fff; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 8px; opacity: 0; transition: .3s; z-index: 99; font-size: 14.5px; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-left: 4px solid #6fcf97; } .toast.err { border-left: 4px solid #f2a59f; }

@media (max-width: 820px) {
  .top { padding: 0 16px; gap: 14px; height: auto; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .acct .who { display: none; }
  main { padding: 26px 16px 50px; }
  .hero h1 { font-size: 34px; }
  .two { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row { flex-wrap: wrap; }
  .thumb { width: 100%; }
  .course-b { padding: 22px; }
  .course-b h1 { font-size: 30px; }
  .tbl { display: block; overflow-x: auto; }
  .ptitle { font-size: 15px; }
}

/* ---- paid courses ---- */
.price { font-weight: 800; color: var(--ink); background: var(--gold); padding: 3px 11px; border-radius: 20px; font-size: 13.5px; }
.course .actions .note.small { flex-basis: 100%; margin: 6px 0 0; font-size: 13.5px; color: var(--mute); }
.course .actions { flex-wrap: wrap; }
.paybox { text-align: center; }
.paybox .tick { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 34px; font-weight: 800; display: grid; place-items: center; }
[hidden] { display: none !important; }

/* ---- sale prices ---- */
.price-group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-was { color: var(--mute); font-size: 14px; text-decoration-thickness: 1.5px; }
.save { font-size: 12px; font-weight: 800; color: #0f6b3a; background: #dff3e6; padding: 3px 9px; border-radius: 20px; letter-spacing: .2px; }
.price-f label small { color: var(--mute); font-weight: 400; }
.cols > .price-f { grid-column: 1 / -1; }

.hero h1 { font-weight: 800; }
.gen span { font-family: var(--serif); font-weight: 800; }
.top nav a { font-weight: 600; }

/* ---- home hero (liquid sculpture) ---- */
.hero-mount { --nl-hero-h: min(calc(100svh - 72px), 660px); min-height: var(--nl-hero-h); background: #122f66; }
@media (max-width: 1023px) { .hero-mount { --nl-hero-h: 820px; } }
@media (max-width: 639px) { .hero-mount { --nl-hero-h: 760px; } }
#courses { scroll-margin-top: 96px; margin-top: 8px; }
.nl-hero .sh-accent { font-style: normal; font-weight: 800; letter-spacing: -.03em; }
.nl-hero .sh-h1 { font-weight: 800; letter-spacing: -.035em; }
.nl-hero .sh-btn { background: var(--gold); color: var(--ink); font-weight: 700; font-family: var(--serif); }
.nl-hero .sh-txt { font-family: var(--serif); font-weight: 600; }
.nl-hero .sh-eyebrow { opacity: .8; }
.nl-hero .sh-backdrop { color: rgba(255, 255, 255, .045); }
.nl-hero .sh-h1 { color: inherit; }

/* certificates */
.pill.cert { background: #fff4d6; color: #8a5a00; }
.cert-box { display: flex; gap: 16px; align-items: flex-start; margin: 18px 0; padding: 18px 20px; border-radius: 12px; background: linear-gradient(135deg, #fffaf0, #fff4d9); border: 1px solid #f3dca2; }
.cert-box.muted { background: var(--paper); border-color: var(--line); }
.cert-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.cert-box.muted .cert-ic { background: #eef2f9; color: var(--ink2); }
.cert-t { flex: 1; min-width: 0; }
.cert-t b { display: block; font-family: var(--serif); color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.cert-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cert-f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cert-f input { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: #fff; }
.certset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 16px; margin: 4px 0 14px; }
.certset legend { font: 700 13px var(--serif); color: var(--ink); padding: 0 6px; text-transform: uppercase; letter-spacing: .8px; }
.certset .chk { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.certset .chk input { width: auto; margin: 0; }
.verify { max-width: 680px; margin: 10px auto; }
.vcard { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--ok); border-radius: 14px; padding: 30px 32px; box-shadow: 0 10px 30px rgba(18, 47, 102, .07); }
.vcard.bad { border-top-color: var(--err); }
.vhead { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.vhead h1 { margin: 0; font-size: 28px; overflow-wrap: anywhere; }
.vhead .kicker { margin-bottom: 4px; }
.vmark { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 800 26px var(--serif); background: var(--ok-l); color: var(--ok); }
.vcard.bad .vmark { background: var(--err-l); color: var(--err); }
.vlead { color: var(--ink2); }
.vdl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 18px 0 22px; }
.vdl > div { background: #fff; padding: 12px 16px; }
.vdl dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--mute); }
.vdl dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.vform { display: flex; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.vform input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
@media (max-width: 600px) { .vcard { padding: 22px 18px; } .vdl { grid-template-columns: 1fr; } .cert-box { flex-direction: column; } }
.vcard.neutral { border-top-color: var(--gold); }
.vcard.neutral .vmark { background: #fff4d6; color: #8a5a00; }
.vcard.neutral .vform { border-top: 0; padding-top: 0; }
.foot a { color: var(--mute); }
.vlead code { white-space: nowrap; word-break: normal; }
.vstrip { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 48px 0 8px; padding: 24px 28px; border-radius: 14px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.vstrip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.vstrip-ic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 188, 49, .15); color: var(--gold); }
.vstrip-t { flex: 1 1 280px; min-width: 0; }
.vstrip-t h2 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.vstrip-t p { margin: 0; color: #c9d4ea; font-size: 14.5px; }
.vstrip-f { display: flex; gap: 8px; flex: 1 1 300px; max-width: 420px; }
.vstrip-f input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; }
.vstrip-f input::placeholder { color: #9fb0d3; }
.vstrip-f .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.vstrip-f .btn:hover:not([disabled]) { background: var(--gold-d); }
@media (max-width: 600px) { .vstrip { padding: 20px; } .vstrip-f { max-width: none; } }

/* courses page band + about page */
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); border-radius: 999px; padding: 12px 22px; }
.btn.gold:hover:not([disabled]) { background: var(--gold-d); }
.pagehero { background: var(--ink); color: #fff; }
.pagehero-in { max-width: 1280px; margin: 0 auto; padding: 44px 32px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pagehero h1 { color: #fff; font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -.035em; line-height: .95; margin: 0; }
.pagehero h1 span { color: var(--gold); }
.pagehero-r { max-width: 400px; }
.pagehero-r p { color: #d5def0; font-size: 16.5px; margin: 0 0 20px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) {
  .pagehero-in { padding: 32px 16px 36px; }
}

/* about page */
.bare { min-height: calc(100vh - 140px); }
.ab-in { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.ab-sec { padding: 56px 0 64px; }
.ab-eyebrow { font: 700 12.5px var(--serif); letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ab-eyebrow.dark { color: var(--gold-d); }
.ab-h { font-size: 26px; margin: 0 0 20px; }
.btn.ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); border-radius: 999px; padding: 12px 22px; }
.btn.ghost-w:hover:not([disabled]) { background: rgba(255,255,255,.1); }
.ab-family { margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 14.5px; }
.ab-family a { margin-left: 14px; font-weight: 600; white-space: nowrap; }
.ab-cta { margin: 40px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 16px; padding: 28px 32px; position: relative; overflow: hidden; }
.ab-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(255,188,49,.14); }
.ab-cta h2 { color: #fff; margin: 0 0 4px; font-size: 24px; }
.ab-cta p { margin: 0; color: #c9d4ea; }
.ab-cta .row-btns { position: relative; z-index: 1; }
/* B: split hero + steps */
.abB-hero { background: var(--ink); color: #fff; overflow: hidden; }
.abB-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; min-height: 380px; }
.abB-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 18px; }
.abB-hero h1 span { color: var(--gold); }
.abB-hero p { color: #d5def0; font-size: 17.5px; margin: 0; max-width: 560px; }
.abB-emblem { width: 100%; max-width: 460px; height: 420px; justify-self: center; position: relative; }
.abB-emblem > img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.abB-emblem .sh-root { height: 100% !important; min-height: 0 !important; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
.abB-emblem .sh-content { position: absolute !important; top: 100% !important; left: 0; visibility: hidden; pointer-events: none; }
.abB-emblem .sh-spacer { display: none !important; }
.abB-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.abB-who b { display: block; font: 700 17px var(--serif); color: var(--ink); margin: 12px 0 4px; }
.abB-who p { margin: 0; color: var(--mute); font-size: 14.5px; }
.abB-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.abB-quote { margin: 56px 0; padding: 30px 36px; background: #fff4d6; border-radius: 16px; font: 700 clamp(20px, 2.4vw, 28px)/1.3 var(--serif); color: var(--ink); position: relative; }
.abB-quote span { position: absolute; left: 14px; top: -6px; font-size: 80px; color: var(--gold); line-height: 1; }
.abB-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.abB-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.abB-steps em { font: 800 15px var(--serif); font-style: normal; color: var(--gold-d); }
.abB-steps b { display: block; font: 700 16.5px var(--serif); color: var(--ink); margin: 8px 0 4px; }
.abB-steps p { margin: 0; color: var(--mute); font-size: 14.5px; }
@media (max-width: 900px) {
  .ab-in { padding: 0 16px; }
  .ab-sec { padding: 36px 0 44px; }
  .abB-who, .abB-steps { grid-template-columns: 1fr 1fr; }
  .abB-grid { grid-template-columns: 1fr; gap: 24px; }
  .abB-grid { padding-top: 40px; padding-bottom: 20px; }
  .abB-emblem { max-width: 300px; height: 280px; }
  .ab-family a { display: inline-block; margin: 8px 14px 0 0; }
}
@media (max-width: 520px) { .abB-who, .abB-steps { grid-template-columns: 1fr; } }

/* header menu: inline on desktop, hamburger on tablets and phones */
.menu-panel { display: contents; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .top { position: sticky; top: 0; height: 64px; min-height: 64px; padding: 0 16px; flex-wrap: nowrap; gap: 12px; z-index: 50; }
  .brand img { height: 34px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .menu-btn span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .top.open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .top.open .menu-btn span:nth-child(2) { opacity: 0; }
  .top.open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(18, 47, 102, .12); padding: 8px 16px 18px; flex-direction: column; gap: 4px; }
  .top.open .menu-panel { display: flex; }
  .menu-panel nav { flex-direction: column; gap: 0; }
  .menu-panel nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-panel nav a.on { border-bottom-color: var(--line); color: var(--ink); box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .menu-panel .acct { margin: 14px 0 0; flex-wrap: wrap; }
  .menu-panel .acct .who { display: block; flex-basis: 100%; margin-bottom: 4px; }
  .menu-panel .acct .btn { flex: 1; }
}

/* avatars, profile page, instructor box */
.ava { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; background: #e6ecf7; }
.ava.ini { display: inline-grid; place-items: center; background: var(--ink); color: var(--gold); font: 800 14px var(--serif); }
.me { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid transparent; }
.me:hover, .me.on { border-color: var(--line); background: #f5f7fc; }
.pp { display: inline-flex; align-items: center; gap: 10px; }
.acc { max-width: 760px; margin: 0 auto; }
.acc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.acc-head h1 { margin: 0; font-size: 30px; }
.acc-head .kicker { margin-bottom: 4px; }
.acc .panel h3 { margin-bottom: 14px; }
.acc .panel > label, .acc .cols label { display: block; margin-bottom: 14px; }
.acc-ava { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.file-btn { cursor: pointer; }
.acc-certs { list-style: none; margin: 0; padding: 0; }
.acc-certs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acc-certs li:last-child { border-bottom: 0; }
.acc-certs b { display: block; font-family: var(--serif); color: var(--ink); }
.inst { display: flex; gap: 18px; align-items: flex-start; margin: 22px 0; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.inst-ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.inst-ph.ini { display: grid; place-items: center; background: var(--ink); color: var(--gold); font: 800 26px var(--serif); }
.inst-ph.sm { width: 56px; height: 56px; }
.inst .kicker { margin-bottom: 2px; }
.inst b { display: block; font: 700 18px var(--serif); color: var(--ink); }
.inst small { display: block; margin-top: 2px; }
.inst p { margin: 8px 0 0; color: var(--ink2); font-size: 15px; }
.inst-up { display: flex; align-items: center; gap: 14px; }
.inst-up label { flex: 1; }
@media (max-width: 600px) { .inst { flex-direction: column; } .acc-head h1 { font-size: 24px; } }
@media (max-width: 900px) { .menu-panel .acct .me { flex-basis: 100%; padding: 6px 0; } .menu-panel .acct .who { display: inline; flex-basis: auto; margin: 0; } }

/* currency hints */
.fx { font-size: 13px; color: var(--mute); font-weight: 600; margin-left: 2px; white-space: nowrap; }
.curpick { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mute); }
.curpick select { width: auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font: 600 13.5px var(--sans); color: var(--ink); background: #fff; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-row .sec { margin-bottom: 0; }
.curline { margin: 10px 0 0; }

/* notifications */
.chk-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.chk-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.chk-row b { display: block; color: var(--ink); font-family: var(--serif); }
.chk-row small { display: block; }
.chk-row.dim { opacity: .55; cursor: default; }
.rem-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rem-panel h3 { margin-bottom: 4px; }
.rem-panel p { margin: 0; max-width: 620px; }
