/* ============================================================
   SYS CORE — EdTech site stylesheet (v5)
   Modern online-learning concept. Block-based, bold, rich.
   Navy #16212f + gold #c8a456 on clean warm paper.
   Type: Be Vietnam Pro (VN-native, geometric, friendly).
   No Bootstrap, no Odoo classes. SVG icons only (no emoji).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

:root {
  --paper:   #f6f3ec;   /* warm off-white canvas */
  --paper-2: #efe9db;
  --surface: #ffffff;   /* cards */
  --ink:     #15202e;   /* navy text */
  --ink-2:   #25303f;
  --navy:    #14202d;
  --navy-2:  #1d2c3d;
  --navy-3:  #28394e;
  --gold:    #c8a456;
  --gold-deep:#a8822f;  /* legible gold text on light */
  --gold-bright:#e0c074;
  --gold-soft:#f4ead2;  /* gold tint surface */
  --slate:   #5b6776;
  --slate-2: #8a93a3;
  --line:    #e8e1d2;
  --line-2:  #ddd3bd;
  --green:   #2fa566;
  --green-soft:#e3f3ea;
  --star:    #e0b13c;
  --cloud:   #aab4c3;   /* muted on navy */

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r:    18px;
  --r-sm: 12px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --sh-sm: 0 4px 16px -8px rgba(20,32,45,.25);
  --sh:    0 18px 44px -22px rgba(20,32,45,.4);
  --sh-lg: 0 30px 70px -30px rgba(20,32,45,.5);
}

body { font-family: var(--sans); color: var(--ink-2); background: var(--paper); font-weight: 400; }
::selection { background: var(--gold); color: var(--navy); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border: 3px solid var(--paper-2); border-radius: 99px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.18rem; font-weight: 700; }
p { color: var(--slate); }
strong { color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); padding: .4rem .85rem; border-radius: var(--r-pill); }
.eyebrow--plain { background: none; padding: 0; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate); max-width: 56ch; line-height: 1.7; }
.gold { color: var(--gold-deep); }
.italic { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.bg-paper-2 { background: var(--paper-2); }
.bg-navy { background: var(--navy); }
.bg-gold-soft { background: var(--gold-soft); }
.on-dark { color: #e7ecf3; }
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark h4 { color: #fff; }
.on-dark p, .on-dark .lede { color: var(--cloud); }
.on-dark .gold, .sc-text-gold { color: var(--gold-bright) !important; }

.s-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 60ch; }
.s-head--center { text-align: center; justify-items: center; margin-inline: auto; }
.s-head p { font-size: 1.05rem; }

/* ---------- Icons ---------- */
.ic { width: 1.25em; height: 1.25em; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.ic--lg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold);
  display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.6rem; font-weight: 700; font-size: .92rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: var(--r-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 12px 26px -12px rgba(200,164,86,.7); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; border-color: var(--navy); box-shadow: none; }
.btn--navy { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn--navy:hover { background: var(--navy-3); border-color: var(--navy-3); }
.on-dark .btn--ghost { --fg: #f0e8d4; --bd: rgba(255,255,255,.3); }
.on-dark .btn--ghost:hover { --bg: #fff; --fg: var(--navy); border-color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .84rem; }
.link-gold { color: var(--gold-deep); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link-gold .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-gold:hover .ic { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s, padding .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; gap: 2rem; padding-block: .9rem; }
.nav.is-scrolled { background: rgba(246,243,236,.92); backdrop-filter: blur(12px); border-bottom-color: var(--line); box-shadow: 0 6px 22px -18px rgba(20,32,45,.5); }
.nav.is-scrolled .nav__inner { padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; }
.sc-logo { display: block; width: auto; }
.sc-logo--nav { height: 50px; transition: height .35s var(--ease); }
.nav.is-scrolled .sc-logo--nav { height: 42px; }
.nav__menu { display: flex; align-items: center; gap: 1.9rem; margin-inline: auto; }
.nav__link { color: var(--ink); font-size: .92rem; font-weight: 600; position: relative; padding-block: .3rem; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-deep); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; gap: .45rem; font-size: .78rem; color: var(--slate); align-items: center; font-weight: 600; }
.lang a.is-active { color: var(--gold-deep); }
.nav__mobile-extra { display: none; }
.nav__burger { display: none; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 23px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(8.5rem, 13vw, 11.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(820px 480px at 92% 8%, rgba(200,164,86,.18), transparent 58%), linear-gradient(180deg, var(--paper), var(--paper-2)); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.04; }
.hero__title .hl { color: var(--gold-deep); position: relative; white-space: nowrap; }
.hero__title .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .26em; background: var(--gold-soft); z-index: -1; border-radius: 4px; }
.hero__lede { margin-top: 1.3rem; max-width: 44ch; font-size: 1.18rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; align-items: center; }
.hero__trust { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; color: var(--slate); font-size: .9rem; }
.hero__avatars { display: inline-flex; }
.hero__avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -10px; background: var(--navy); color: var(--gold-bright); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.hero__avatars span:first-child { margin-left: 0; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__logo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem,4vw,2.75rem); box-shadow: var(--sh-lg); display: grid; place-items: center; position: relative; }
.hero__logo-card .sc-logo { width: min(300px, 70vw); }
.hero__chip { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); padding: .7rem .95rem; display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .85rem; color: var(--ink); }
.hero__chip .ic { color: var(--gold-deep); }
.hero__chip--tl { top: 6%; left: -4%; }
.hero__chip--br { bottom: 8%; right: -5%; }
.hero__chip small { display: block; color: var(--slate-2); font-weight: 500; font-size: .72rem; }

/* ---------- Stat bar ---------- */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat__k { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.on-dark .stat__k { color: #fff; }
.stat__v { color: var(--slate); font-size: .9rem; margin-top: .15rem; }
.on-dark .stat__v { color: var(--cloud); }

/* ---------- Category pills / cards ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); transition: .25s var(--ease); }
.pill .ic { width: 17px; height: 17px; color: var(--gold-deep); }
.pill:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; transition: .3s var(--ease); position: relative; overflow: hidden; }
.cat:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--gold); }
.cat__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 1rem; }
.cat__ic .ic { width: 26px; height: 26px; }
.cat h4 { margin-bottom: .25rem; }
.cat span { font-size: .85rem; color: var(--slate); }

/* ============================================================
   COURSE CARDS (rich)
   ============================================================ */
.grid { display: grid; gap: 1.4rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.ecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.ecard:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.ecard__thumb { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; background: linear-gradient(140deg, var(--navy), var(--navy-3)); overflow: hidden; }
.ecard__thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(200,164,86,.35), transparent 55%); }
.ecard__thumb .sc-logo { width: 120px; position: relative; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); background: #fff; padding: 10px 14px; border-radius: 12px; }
.ecard__cat { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: var(--r-pill); letter-spacing: .04em; z-index: 2; }
.ecard__level { position: absolute; top: .8rem; right: .8rem; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 700; padding: .3rem .7rem; border-radius: var(--r-pill); z-index: 2; }
.ecard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ecard__desc { font-size: .88rem; color: var(--slate); line-height: 1.55; }
.ecard__inst { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink); font-weight: 600; min-width: 0; }
.ecard__inst .avatar { margin-left: -8px; border: 2px solid var(--surface); }
.ecard__inst .avatar:first-child { margin-left: 0; }
.ecard__inst > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Catalogue filter bar — balanced grid: search | topic | level | month | submit.
   Every control shares one height (--fb-h) and the pill language of the site. */
.filterbar { --fb-h: 52px; display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr auto; gap: .55rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .55rem;
  box-shadow: 0 10px 30px -24px rgba(20,32,45,.5); }
.filterbar > * { height: var(--fb-h); }
.filterbar__search { display: flex; align-items: center; gap: .55rem; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0 1.15rem; transition: border-color .25s var(--ease); }
.filterbar__search:focus-within { border-color: var(--gold); }
.filterbar__search .ic { color: var(--gold-deep); width: 18px; height: 18px; flex: none; }
.filterbar__search input { border: 0; background: transparent; flex: 1; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.filterbar__sel { font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; width: 100%;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); background-color: var(--paper);
  padding: 0 2.5rem 0 1.15rem; appearance: none; -webkit-appearance: none; transition: border-color .25s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6776' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center; background-size: 13px; }
.filterbar__sel:hover, .filterbar__sel:focus { border-color: var(--gold); outline: none; }
.filterbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: var(--r-pill); background: var(--navy); color: #fff; font: inherit;
  font-weight: 700; padding: 0 1.6rem; cursor: pointer; white-space: nowrap; transition: background .25s var(--ease); }
.filterbar__btn:hover { background: var(--navy-3); }
.filterbar__btn .ic { width: 17px; height: 17px; }
.filterbar__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.1rem 0 1.6rem; }
.filter-count { color: var(--slate); font-size: .9rem; margin: 0; }
.filter-count strong { color: var(--ink); }
@media (max-width: 880px) {
  .filterbar { grid-template-columns: 1fr 1fr; }
  .filterbar__search { grid-column: 1 / -1; }
  .filterbar__btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .filterbar { grid-template-columns: 1fr; }
  .filterbar__foot { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
.ecard__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ecard__meta { display: flex; gap: 1rem; color: var(--slate); font-size: .82rem; flex-wrap: wrap; }
.ecard__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.ecard__meta .ic { width: 15px; height: 15px; color: var(--gold-deep); }
.ecard__intake { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: .8rem; font-weight: 600; color: var(--gold-deep); background: var(--gold-soft); padding: .3rem .7rem; border-radius: var(--r-pill); align-self: flex-start; }
.ecard__intake .ic { width: 14px; height: 14px; }
.ecard h4 { font-size: 1.12rem; }
.ecard__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.ecard__inst { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink); font-weight: 600; }
.ecard__free { color: var(--green); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; }
.avatar { border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-weight: 700; flex: none; }
.avatar--sm { width: 28px; height: 28px; font-size: .7rem; }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; position: relative; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-bright); display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.step h4 { margin-bottom: .35rem; }
.step p { font-size: .9rem; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,5vw,4.5rem); }
.feature--flip > :first-child { order: 2; }
.feature__art { display: grid; place-items: center; }
.flist { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.flist li { display: flex; gap: .9rem; align-items: flex-start; }
.flist .ic { color: var(--green); margin-top: .2rem; width: 22px; height: 22px; }
.flist b { color: var(--ink); }

/* ---------- Instructors ---------- */
.inst-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; text-align: center; transition: .3s var(--ease); }
.inst-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.inst-card .avatar { margin: 0 auto .9rem; width: 76px; height: 76px; font-size: 1.4rem; }
.inst-card h4 { margin-bottom: .2rem; }
.inst-card .role { color: var(--gold-deep); font-size: .82rem; font-weight: 700; margin-bottom: .6rem; }
.inst-card p { font-size: .86rem; }

/* ---------- Testimonials ---------- */
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.stars { display: inline-flex; gap: .15rem; color: var(--star); }
.stars .ic { width: 17px; height: 17px; fill: var(--star); stroke: var(--star); }
.testi__q { color: var(--ink-2); font-size: 1rem; line-height: 1.65; flex: 1; }
.testi__by { display: flex; align-items: center; gap: .7rem; }
.testi__by .avatar { width: 44px; height: 44px; font-size: .9rem; }
.testi__by b { display: block; color: var(--ink); }
.testi__by span { font-size: .82rem; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq p { padding: 0 1.3rem 1.2rem; font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(640px 320px at 50% 0, rgba(200,164,86,.2), transparent 60%), var(--navy); }
.cta-band .wrap { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto 1rem; }

/* ---------- Marquee (subtle) ---------- */
.marquee-band { border-block: 1px solid var(--line); background: var(--paper-2); }
.marquee { overflow: hidden; padding-block: 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: inline-flex; gap: 2.5rem; white-space: nowrap; animation: slide 38s linear infinite; }
.marquee__row span { display: inline-flex; align-items: center; gap: 2.5rem; font-weight: 700; color: var(--slate); font-size: 1.05rem; letter-spacing: .02em; }
.marquee__row span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   PAGE HERO (interior)
   ============================================================ */
.phero { position: relative; overflow: hidden; padding-top: clamp(8rem,12vw,10.5rem); padding-bottom: clamp(2.5rem,5vw,4rem);
  background: radial-gradient(680px 340px at 90% 6%, rgba(200,164,86,.16), transparent 58%), linear-gradient(180deg, var(--paper), var(--paper-2)); }
.phero h1 { max-width: 18ch; }
.phero .lede { margin-top: .9rem; }
.crumbs { display: flex; gap: .55rem; font-size: .85rem; color: var(--slate); align-items: center; padding-top: 1rem; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs .ic { width: 14px; height: 14px; color: var(--line-2); }
.course-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.2rem; color: var(--slate); font-size: .92rem; }
.course-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.course-meta .ic { color: var(--gold-deep); width: 17px; height: 17px; }
.course-meta strong { color: var(--ink); }
.course-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.8rem; }
.course-cta__note { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--slate); }
.course-cta__note .ic { width: 16px; height: 16px; color: var(--gold-deep); }

/* ---------- Session row (course detail / live) ---------- */
.session-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.2rem 1.4rem; margin-bottom: .8rem; transition: .25s var(--ease); }
.session-row:hover { border-color: var(--gold); box-shadow: var(--sh-sm); }
.session-row__date { text-align: center; line-height: 1; background: var(--gold-soft); border-radius: 10px; padding: .6rem .8rem; }
.session-row__date .d { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.session-row__date .m { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .32rem .65rem; border-radius: var(--r-pill); }
.badge--live { background: var(--gold); color: var(--navy); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); animation: pulse 1.4s ease-in-out infinite; }
.badge--soon { background: var(--gold-soft); color: var(--gold-deep); }
.badge--done { background: var(--green-soft); color: #1f7a4d; }
@keyframes pulse { 50% { opacity: .35; } }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-deep); font-size: .85rem; }

/* ---------- Rich text (session description / summary) ---------- */
.rte { color: var(--ink-2); line-height: 1.75; }
.rte p { color: var(--ink-2); margin-bottom: .9rem; }
.rte h1, .rte h2, .rte h3, .rte h4 { margin: 1.2rem 0 .6rem; }
.rte ul, .rte ol { padding-left: 1.3rem; margin-bottom: .9rem; }
.rte li { margin-bottom: .35rem; }
.rte a { color: var(--gold-deep); font-weight: 600; }
.rte img { border-radius: var(--r-sm); margin: .6rem 0; }

/* ---------- Document list (B4 downloads) ---------- */
.doc-list { display: grid; gap: .6rem; }
.doc-item { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); transition: .2s var(--ease); }
.doc-item:hover { border-color: var(--gold); box-shadow: var(--sh-sm); }
.doc-item .ic { color: var(--gold-deep); flex: none; }
.doc-item .doc-name { flex: 1; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-item .doc-dl { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold-deep); font-size: .85rem; font-weight: 700; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .45rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; padding: .85rem 1rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink-2); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,86,.18); }
.req { color: #b4452f; }
.alert-ok { background: var(--green-soft); border: 1px solid rgba(47,165,102,.4); color: #1f7a4d; padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem; }
.card-soft { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem,3vw,2.2rem); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--cloud); position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; z-index: 2; }
.foot__top { display: grid; grid-template-columns: 1.5fr .8fr .9fr .9fr; gap: 2.5rem; padding-block: clamp(3.5rem,7vw,5rem); }
.foot__brand-logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; }
.foot__brand-logo .sc-logo { height: 54px; }
.foot__tag { color: var(--gold-bright); font-weight: 600; margin-top: 1rem; }
.foot h5 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 700; }
.foot a { color: var(--cloud); font-size: .92rem; line-height: 2.05; transition: color .25s; }
.foot a:hover { color: var(--gold-bright); }
.foot__social { display: flex; gap: .6rem; }
.foot__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; }
.foot__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.foot__social .ic { width: 18px; height: 18px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #7d8799; }

/* ============================================================
   MOTION
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].in > *:nth-child(2){transition-delay:.07s}
.js [data-reveal-stagger].in > *:nth-child(3){transition-delay:.14s}
.js [data-reveal-stagger].in > *:nth-child(4){transition-delay:.21s}
.js [data-reveal-stagger].in > *:nth-child(5){transition-delay:.28s}
.js [data-reveal-stagger].in > *:nth-child(6){transition-delay:.35s}
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js [data-reveal-stagger] > * { opacity:1!important; transform:none!important; } .marquee__row { animation: none!important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cat-grid, .steps, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip > :first-child { order: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__menu, .nav__right { display: none; }
  .nav__burger { display: flex; }
  .nav__menu { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 1.4rem; padding: var(--gutter); text-align: center; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99; margin: 0; }
  .nav.is-open .nav__menu { display: flex; transform: none; }
  .nav__menu .nav__link { font-size: 1.5rem; }
  .nav__mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-top: 1rem; }
  .statbar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}
@media (max-width: 540px) {
  .cols-2, .cols-3, .cols-4, .cat-grid, .steps { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr; }
  .session-row { grid-template-columns: auto 1fr; }
  .hero__chip { display: none; }
}

/* ============================================================
   LMS catalogue v2 — facet sidebar + chips + progress (R1)
   ============================================================ */
/* Top padding must clear the fixed navbar. */
.phero--sm { padding-block: clamp(6.5rem, 9vw, 8rem) 2.6rem; }

.cat-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 2.2rem; align-items: start; }

/* ---- facet sidebar ---- */
.facets { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; }
.facets__search { display: flex; align-items: center; gap: .5rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: .55rem 1rem; margin-bottom: .6rem; transition: border-color .25s var(--ease); }
.facets__search:focus-within { border-color: var(--gold); }
.facets__search .ic { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }
.facets__search input { border: 0; background: transparent; flex: 1; font: inherit; font-size: .92rem; color: var(--ink); outline: none; min-width: 0; }
.facet { border-top: 1px solid var(--line); padding: .35rem 0; }
.facet summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .88rem; color: var(--ink); padding: .55rem .15rem; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--slate-2); border-bottom: 2px solid var(--slate-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.facet[open] summary::after { transform: rotate(-135deg); }
.facet__opt { display: flex; align-items: center; gap: .55rem; padding: .34rem .15rem; font-size: .89rem; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.facet__opt:hover { color: var(--gold-deep); }
.facet__opt input { accent-color: var(--gold-deep); flex: none; }
.facet__opt span { flex: 1; min-width: 0; }
.facet__opt em { font-style: normal; font-size: .76rem; color: var(--slate-2); background: var(--paper-2); border-radius: var(--r-pill); padding: .1rem .5rem; }
.facets__clear { display: block; text-align: center; margin-top: .8rem; font-size: .85rem; }

/* ---- results header + chips ---- */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.results-sort { display: inline-flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--slate); white-space: nowrap; }
.results-sort .filterbar__sel { height: 44px; font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.2rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--gold-soft); color: var(--gold-deep); font-weight: 600; font-size: .84rem; padding: .4rem .85rem; border-radius: var(--r-pill); transition: .2s var(--ease); }
.chip b { font-weight: 800; }
.chip:hover { background: var(--gold); color: var(--navy); }

/* ---- results grid + card extras ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.pbar { height: 7px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 99px; }
.ecard__progress { display: flex; align-items: center; gap: .6rem; }
.ecard__progress .pbar { flex: 1; }
.ecard__progress small { color: var(--slate); font-weight: 700; font-size: .78rem; }

/* ---- my learning strip ---- */
.mylearn { margin-bottom: 2.4rem; }
.mylearn__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.mylearn__card { display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.1rem; transition: .25s var(--ease); }
.mylearn__card:hover { border-color: var(--gold); box-shadow: var(--sh); transform: translateY(-2px); }
.mylearn__card > .ic { color: var(--gold-deep); flex: none; }
.mylearn__thumb { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(140deg, var(--navy), var(--navy-3)); display: grid; place-items: center; overflow: hidden; flex: none; }
.mylearn__thumb img:not(.sc-logo) { width: 100%; height: 100%; object-fit: cover; }
.mylearn__thumb .sc-logo { width: 30px; background: #fff; border-radius: 6px; padding: 2px 3px; }
.mylearn__body { flex: 1; min-width: 0; }
.mylearn__body h4 { margin: 0 0 .45rem; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mylearn__body small { color: var(--slate); font-size: .76rem; font-weight: 600; }

/* ============================================================
   Course detail v2 — curriculum accordion + sticky enroll card
   ============================================================ */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.4rem; align-items: start; }

.cur-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: .7rem; overflow: hidden; }
.cur-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; }
.cur-sec summary::-webkit-details-marker { display: none; }
.cur-sec summary .ic { width: 17px; height: 17px; color: var(--gold-deep); transition: transform .25s var(--ease); flex: none; }
.cur-sec[open] summary .ic { transform: rotate(180deg); }
.cur-sec__name { font-weight: 700; color: var(--ink); flex: 1; min-width: 0; }
.cur-sec__meta { color: var(--slate); font-size: .8rem; white-space: nowrap; }
.cur-sec__body { border-top: 1px solid var(--line); padding: .4rem .6rem .6rem; }
.cur-row { display: flex; align-items: center; gap: .7rem; padding: .6rem .6rem; border-radius: 10px; font-size: .92rem; color: var(--ink-2); }
.cur-row .ic { width: 16px; height: 16px; color: var(--slate-2); flex: none; }
.cur-row__name { flex: 1; min-width: 0; }
.cur-row__meta { color: var(--slate-2); font-size: .78rem; white-space: nowrap; }
.cur-row__cta { color: var(--gold-deep); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.cur-row--live { background: var(--gold-soft); }
.cur-row--live .ic { color: var(--gold-deep); }
.cur-row--live + .cur-row--live { margin-top: .3rem; }
a.cur-row--live:hover { background: var(--gold); }
a.cur-row--live:hover, a.cur-row--live:hover .cur-row__cta, a.cur-row--live:hover .cur-row__meta { color: var(--navy); }

.inst-row { display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1.1rem; margin-bottom: .6rem; }

/* ---- sticky enroll card ---- */
.enroll-card { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.enroll-card__thumb { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--navy), var(--navy-3)); display: grid; place-items: center; overflow: hidden; }
.enroll-card__thumb img:not(.sc-logo) { width: 100%; height: 100%; object-fit: cover; }
.enroll-card__thumb .sc-logo { width: 90px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.enroll-card__body { padding: 1.3rem; }
.enroll-card__next { margin-top: 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem .95rem; display: flex; flex-direction: column; gap: .2rem; }
.enroll-card__next small { color: var(--slate-2); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.enroll-card__next strong { font-size: .92rem; color: var(--ink); }
.enroll-card__next span { color: var(--slate); font-size: .84rem; }
.enroll-card__next .countdown { color: var(--gold-deep); font-weight: 700; }
.enroll-card__inc { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.enroll-card__inc li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--ink-2); }
.enroll-card__inc .ic { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }

@media (max-width: 1000px) {
  .cat-layout { grid-template-columns: 1fr; }
  .facets { position: static; }
  .course-layout { grid-template-columns: 1fr; }
  .enroll-card { position: static; order: -1; }
}

/* ============================================================
   Interaction feedback — pressed states, loading, busy fades
   ============================================================ */
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.chip:active, .mylearn__card:active, .ecard:active { transform: scale(.98); }
.facet__opt:active span { color: var(--gold-deep); }

/* Submit feedback: spinner replaces the icon, button locks */
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .ic { display: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; flex: none;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: sc-spin .7s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }

/* Facet change: results dim while the page reloads */
.cat-grid.is-busy, .mylearn.is-busy { opacity: .45; pointer-events: none; transition: opacity .25s var(--ease); }

/* Curriculum accordion: content eases in on open */
.cur-sec[open] .cur-sec__body { animation: sc-fade-down .32s var(--ease); }
.facet[open] .facet__opt { animation: sc-fade-down .25s var(--ease); }
@keyframes sc-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .cur-sec[open] .cur-sec__body, .facet[open] .facet__opt, .btn.is-loading::after { animation: none; }
}

/* ---- My upcoming sessions strip (B2) ---- */
.mysess { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.mysess__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; transition: .25s var(--ease); }
.mysess__card:hover { border-color: var(--gold); box-shadow: var(--sh); transform: translateY(-2px); }
.mysess__when { display: flex; align-items: center; gap: .6rem; }
.mysess__when .countdown { color: var(--gold-deep); font-weight: 700; font-size: .84rem; }
.mysess__name h4 { margin: 0; font-size: 1.02rem; }
.mysess__name:hover h4 { color: var(--gold-deep); }
.mysess__meta { color: var(--slate); font-size: .84rem; }
.mysess__card .btn, .mysess__card .link-gold { align-self: flex-start; margin-top: .3rem; }

/* A5: the "Live now" badge breathes gently */
.badge--live { animation: sc-live-pulse 1.6s ease-in-out infinite; }
@keyframes sc-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 164, 86, .55); }
  50% { box-shadow: 0 0 0 6px rgba(200, 164, 86, 0); }
}
@media (prefers-reduced-motion: reduce) { .badge--live { animation: none; } }

/* ---------- Instructors (model-driven profiles) ---------- */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--xl { width: 132px; height: 132px; font-size: 2.4rem; }

.inst-card { display: block; }
.inst-card .link-gold { font-size: .82rem; margin-top: .6rem; }
.inst-card:hover .link-gold .ic { transform: translateX(3px); }

.inst-row { transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.inst-row:hover { border-color: var(--gold); box-shadow: var(--sh-sm); }
.inst-row .avatar { width: 44px; height: 44px; font-size: .85rem; }
.inst-row > .ic { color: var(--gold-deep); width: 22px; height: 22px; flex: none; }

.inst-hero { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 1.4rem; flex-wrap: wrap; }
.inst-hero .role { color: var(--gold-deep); font-weight: 700; margin-top: .3rem; }
.inst-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.inst-links { display: flex; gap: 1.2rem; margin-top: 1rem; }
.inst-bio { color: var(--slate); line-height: 1.8; }
.inst-bio p { margin-bottom: .9rem; }
@media (max-width: 640px) { .avatar--xl { width: 96px; height: 96px; font-size: 1.8rem; } }

/* ---------- Status pages (signed-out, contact thank-you) ---------- */
.sc-status { min-height: 64vh; display: grid; place-items: center; text-align: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0; }
.sc-status__inner { max-width: 40rem; }
.sc-status__badge { width: 84px; height: 84px; margin: 0 auto 1.5rem; display: grid; place-items: center;
  border-radius: 50%; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid var(--line-2);
  animation: sc-status-pop .6s var(--ease) both; }
.sc-status__badge .ic { width: 38px; height: 38px; }
.sc-status__code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: .9;
  letter-spacing: -.04em; color: var(--navy); }
.sc-status__code span { color: var(--gold); }
.sc-status h1 { margin: .4rem 0 .8rem; }
.sc-status p { font-size: 1.05rem; margin: 0 auto 2rem; max-width: 46ch; }
.sc-status__actions { display: inline-flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
@keyframes sc-status-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc-status__badge { animation: none; } }

/* ============================================================
   FULL-PAGE AUTH (login / signup / reset) — bespoke split-screen
   ============================================================ */
.sc-authbody { background: var(--navy); }
.sc-auth__wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.sc-auth__brand { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex; align-items: center; color: #eef2f7;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(200,164,86,.22), transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(40,57,78,.9), transparent 60%),
    linear-gradient(158deg, #14202d 0%, #1a2836 46%, #24374d 100%); }
.sc-auth__brand::before { content: ""; position: absolute; right: -18%; top: 50%; width: 78%; aspect-ratio: 1;
  transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(200,164,86,.14) 0 1.5px, transparent 1.5px 34px);
  -webkit-mask: radial-gradient(circle at center, #000 40%, transparent 72%);
          mask: radial-gradient(circle at center, #000 40%, transparent 72%);
  opacity: .55; pointer-events: none; animation: scAuthGlow 1.1s ease both .2s; }
.sc-auth__brandinner { position: relative; z-index: 1; max-width: 30rem; }
.sc-auth__brandinner > * { animation: scAuthUp .7s var(--ease) both; }
.sc-auth__brandinner > :nth-child(1) { animation-delay: .05s; }
.sc-auth__brandinner > :nth-child(2) { animation-delay: .12s; }
.sc-auth__brandinner > :nth-child(3) { animation-delay: .19s; }
.sc-auth__brandinner > :nth-child(4) { animation-delay: .26s; }
.sc-auth__brandinner > :nth-child(5) { animation-delay: .33s; }
.sc-auth__logo { height: 78px; width: auto; margin-bottom: 2.2rem; filter: drop-shadow(0 8px 26px rgba(0,0,0,.35)); }
.sc-auth__eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem; }
.sc-auth__tag { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 1rem; }
.sc-auth__tag em { color: var(--gold-bright); font-style: italic; font-weight: 700; }
.sc-auth__sub { color: #b7c2d0; font-size: 1.02rem; line-height: 1.7; max-width: 34ch; margin-bottom: 2.2rem; }
.sc-auth__points { display: grid; gap: .85rem; }
.sc-auth__points li { display: flex; align-items: center; gap: .75rem; font-size: .96rem; color: #dfe6ee; }
.sc-auth__points .ic { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; color: var(--gold-bright);
  background: rgba(200,164,86,.14); border: 1px solid rgba(200,164,86,.32); }

.sc-auth__panel { display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  background: radial-gradient(130% 100% at 100% 0%, rgba(200,164,86,.08), transparent 45%), var(--paper);
  animation: scAuthUp .7s var(--ease) both .18s; }
.sc-auth__card { width: 100%; max-width: 27rem; }
.sc-auth__home { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600;
  color: var(--slate); margin-bottom: 1.5rem; transition: color .2s; }
.sc-auth__home:hover { color: var(--gold-deep); }
.sc-auth__home .ic { width: 15px; height: 15px; }
.sc-auth__head { margin-bottom: 1.6rem; }
.sc-auth__mark { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .7rem; }
.sc-auth__mark .ic { width: 16px; height: 16px; }
.sc-auth__head h1 { font-size: 1.75rem; }
.sc-auth__head p { margin-top: .3rem; }
.sc-auth__form { display: grid; gap: 1.1rem; }
.sc-auth__row { display: flex; justify-content: flex-end; margin-top: -.4rem; font-size: .84rem; }
.sc-auth__submit { width: 100%; justify-content: center; margin-top: .3rem; padding-block: .95rem; }
.sc-auth__alt { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--slate); }
.sc-auth__foot { margin-top: 1.75rem; text-align: center; font-size: .8rem; color: var(--slate); }

@keyframes scAuthUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scAuthGlow { from { opacity: 0; transform: translateY(-50%) scale(.9); } to { opacity: .55; transform: translateY(-50%) scale(1); } }

.alert-err { background: #fbeae6; border: 1px solid #f0c4b8; color: #97331d; padding: 1rem 1.2rem;
  border-radius: var(--r-sm); margin-bottom: 1.3rem; display: flex; align-items: center; gap: .5rem; }
.alert-err .ic, .alert-ok .ic { flex: none; }

@media (max-width: 900px) {
  .sc-auth__wrap { grid-template-columns: 1fr; }
  .sc-auth__brand { padding: 2.4rem clamp(1.25rem, 6vw, 2.5rem) 2rem; }
  .sc-auth__brand::before { display: none; }
  .sc-auth__logo { height: 56px; margin-bottom: 1.4rem; }
  .sc-auth__tag { font-size: 1.7rem; }
  .sc-auth__sub { margin-bottom: 1.2rem; }
  .sc-auth__points { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 1.1rem; }
  .sc-auth__points li { font-size: .82rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-auth__brandinner > *, .sc-auth__panel, .sc-auth__brand::before { animation: none !important; }
}
