/* ==========================================================================
   DigitalCollegee v2: image mega menus, people cutouts, Coursera-style
   course/college/blog pages, price table, Coursera footer, motion system.
   Loads after style.css and only extends it.
   ========================================================================== */

:root {
  --grad-text: linear-gradient(92deg, #38BDF8 0%, #A78BFA 55%, #F0ABFC 100%);
  --ease-out: cubic-bezier(.2, .7, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .grad-text, .people-band .grad-text, .counters .grad-text { filter: drop-shadow(0 2px 14px rgba(124,92,232,.35)); }

/* ========================================================= brand spacing == */
.brand { gap: 11px; }
.brand-text { gap: 4px; line-height: 1.1; }
.brand-name { font-size: 18px; line-height: 1; }
.brand-tag { font-size: 10px; letter-spacing: .02em; line-height: 1; color: #7A849B; font-weight: 600; }
.brand img { transition: transform .5s var(--ease-spring); }
.brand:hover img { transform: rotate(-10deg) scale(1.06); }

/* ================================================================ promo == */
.promo-strip .container { gap: 12px; }
.promo-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.14); font-weight: 700; font-size: 11.5px; }
.promo-strip { background-size: 200% 100%; background-image: linear-gradient(90deg, #0B1B45, #3B2A8A, #0B1B45); animation: promoFlow 12s linear infinite; }
@keyframes promoFlow { to { background-position: 200% 0; } }

/* =============================================================== header == */
.site-header { backdrop-filter: saturate(1.4) blur(10px); background: rgba(255,255,255,.94); }
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.main-nav > li:hover > .nav-link::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; }
.hs-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--dc-ink); background: var(--dc-bg-alt); border: 1px solid var(--dc-line); transition: .2s; }
.hs-toggle:hover { background: var(--dc-blue); color: #fff; border-color: var(--dc-blue); transform: rotate(-8deg); }
.header-search-pop {
  position: absolute; right: 24px; top: calc(100% + 10px); width: min(520px, calc(100vw - 32px)); z-index: 960;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: #fff;
  border: 1px solid var(--dc-line); border-radius: 16px; box-shadow: var(--sh-xl);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: .25s var(--ease-out);
}
.header-search-pop .ico { color: var(--dc-muted); }
.header-search-pop input { flex: 1; border: 0; font-size: 15px; padding: 10px 4px; min-width: 0; }
.header-search-pop input:focus { outline: none; }
.site-header.search-open .header-search-pop { opacity: 1; visibility: visible; transform: none; }

.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ========================================================== mega menus == */
.mx { padding: 18px; border-radius: 20px; }
.mx-xl { width: 1040px; }
.mx-lg { width: 820px; }
.mega-right-sm { left: -160px; }
.mx-grid { display: grid; grid-template-columns: 1fr 250px; gap: 18px; }
.mx-cols { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 6px 18px; }
.mx-cols.two { grid-template-columns: 1fr 1fr; }
.mx-cols.one { grid-template-columns: 1fr; }
.mx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.mx-col h5 { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dc-muted); font-weight: 800; margin: 4px 8px 8px; }
.mx-item {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px;
  transition: background .2s, transform .2s var(--ease-out);
}
.mx-item:hover { background: var(--dc-bg-alt); transform: translateX(3px); }
.mx-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 11px; flex-shrink: 0; box-shadow: var(--sh-sm); transition: transform .35s var(--ease-out); }
.mx-item:hover img { transform: scale(1.08) rotate(-2deg); }
.mx-item b { display: block; font-family: var(--font-head); font-size: 13.5px; color: var(--dc-ink); line-height: 1.3; }
.mx-item small { display: block; font-size: 11.5px; color: var(--dc-muted); margin-top: 2px; }
.mx-item:hover b { color: var(--dc-blue); }
.mx-rank { font-style: normal; font-weight: 800; color: var(--dc-violet); margin-right: 4px; }
.mx-chips { display: flex; flex-direction: column; gap: 6px; }
.mx-chips a {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--dc-ink);
  border: 1px solid var(--dc-line); background: #fff; transition: .2s;
}
.mx-chips a .ico { color: var(--dc-blue); }
.mx-chips a:hover { border-color: var(--dc-blue); background: var(--dc-blue-soft); transform: translateX(3px); }
.mx-feature { position: relative; border-radius: 16px; overflow: hidden; min-height: 260px; display: block; color: #fff; }
.mx-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mx-feature:hover img { transform: scale(1.08); }
.mx-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,69,.1) 20%, rgba(11,27,69,.92) 100%); }
.mx-feature-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.mx-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; }
.mx-feature b { font-family: var(--font-head); font-size: 18px; line-height: 1.2; }
.mx-feature small { font-size: 12.5px; color: #CBD5F0; line-height: 1.5; }
.mx-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; color: #fff; margin-top: 4px; }
.mx-feature:hover .mx-go .ico { transform: translateX(4px); }
.mx-go .ico { transition: transform .2s; }
/* items cascade in when a panel opens */
.mega .mx-item, .mega .mx-chips a, .mega .mx-feature { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background .2s; }
.main-nav > li:hover .mega .mx-item, .main-nav > li:focus-within .mega .mx-item,
.main-nav > li:hover .mega .mx-chips a, .main-nav > li:focus-within .mega .mx-chips a,
.main-nav > li:hover .mega .mx-feature, .main-nav > li:focus-within .mega .mx-feature { opacity: 1; transform: none; }
.mega .mx-col > *:nth-child(2), .mega .mx-two > *:nth-child(1) { transition-delay: .03s; }
.mega .mx-col > *:nth-child(3), .mega .mx-two > *:nth-child(2) { transition-delay: .07s; }
.mega .mx-col > *:nth-child(4), .mega .mx-two > *:nth-child(3) { transition-delay: .11s; }
.mega .mx-col > *:nth-child(5), .mega .mx-two > *:nth-child(4) { transition-delay: .15s; }
.mega .mx-two > *:nth-child(5) { transition-delay: .19s; }
.mega .mx-two > *:nth-child(6) { transition-delay: .23s; }
.mega .mx-feature { transition-delay: .12s; }

@media (max-width: 1240px) {
  .mx-xl { width: 900px; }
  .mx-cols { grid-template-columns: 1fr 1fr; }
  .mx-cols > .mx-col:nth-child(3) { display: none; }
}
@media (max-width: 1180px) {
  .mx-xl { width: 760px; } .mx-lg { width: 700px; }
  .mx-grid { grid-template-columns: 1fr 210px; }
  .link-login { display: none; }
}

/* ====================================================== mobile mega menu == */
@media (max-width: 1160px) {
  .main-nav { display: none; }
  .burger { display: grid; }
}
.drawer.mm { width: min(420px, 100vw); background: #F7F9FD; }
.mm .drawer-head { background: #fff; }
.mm-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dc-bg-alt); color: var(--dc-ink); transition: .2s; }
.mm-close:hover { transform: rotate(90deg); background: var(--dc-blue); color: #fff; }
.mm .drawer-body { padding: 14px 14px 24px; }
.mm-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--dc-line); border-radius: 14px; padding: 0 14px; margin-bottom: 14px; }
.mm-search .ico { color: var(--dc-muted); }
.mm-search input { flex: 1; border: 0; padding: 13px 0; font-size: 15px; background: transparent; min-width: 0; }
.mm-search input:focus { outline: none; }
.mm-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mm-quick a {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px; background: #fff;
  border: 1px solid var(--dc-line); border-radius: 14px; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; color: var(--dc-ink);
  transition: transform .2s var(--ease-spring);
}
.mm-quick a:active { transform: scale(.94); }
.mm-list .m-item { background: #fff; border: 1px solid var(--dc-line); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.mm-list .m-item > button { padding: 15px 16px; font-size: 15.5px; border-radius: 0; }
.mm-list .m-sub { border: 0; margin: 0; padding: 2px 10px 12px; }
.mm-list .m-item.open .m-sub { display: block; animation: mmIn .35s var(--ease-out); }
@keyframes mmIn { from { opacity: 0; transform: translateY(-6px); } }
.mm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mm-cards a { display: block; padding: 0 0 10px; border-radius: 12px; overflow: hidden; background: var(--dc-bg-alt); color: var(--dc-ink); }
.mm-cards img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.mm-cards b, .mm-cards small { display: block; padding: 0 10px; }
.mm-cards b { font-family: var(--font-head); font-size: 13px; }
.mm-cards small { font-size: 11px; color: var(--dc-muted); }
.m-sub a.mm-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--dc-ink); }
.m-sub a.mm-row:hover { background: var(--dc-bg-alt); }
.mm-row img { width: 54px; height: 54px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.mm-row b { display: block; font-family: var(--font-head); font-size: 14px; }
.mm-row small { display: block; font-size: 11.5px; color: var(--dc-muted); }
.m-sub a.mm-feature { position: relative; display: block; border-radius: 14px; overflow: hidden; margin-bottom: 8px; padding: 0; min-height: 130px; color: #fff; }
.mm-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, rgba(11,27,69,.9)); }
.mm-feature span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
.mm-feature b { display: block; font-family: var(--font-head); font-size: 15px; }
.mm-feature small { font-size: 12px; color: #CBD5F0; }
.m-sub a.mm-link { display: flex; align-items: center; gap: 9px; padding: 11px 10px; font-weight: 600; color: var(--dc-blue); font-size: 13.5px; }

/* ================================================================ hero v3 == */
.hero-v3 { padding: 56px 0 96px; }
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: aur 18s ease-in-out infinite alternate; animation-play-state: paused; }
.hero-aurora.fl-on i { animation-play-state: running; }
.hero-aurora i:nth-child(1) { width: 520px; height: 520px; background: #4F46E5; left: -120px; top: -140px; }
.hero-aurora i:nth-child(2) { width: 460px; height: 460px; background: #0EA5E9; right: 8%; bottom: -220px; opacity: .35; animation-duration: 22s; }
.hero-aurora i:nth-child(3) { width: 380px; height: 380px; background: #A855F7; right: -100px; top: 10%; opacity: .4; animation-duration: 26s; }
@keyframes aur { to { transform: translate(60px, 40px) scale(1.15); } }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.hero-tagline {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 16px 8px 10px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(56,189,248,.16), rgba(167,139,250,.2)); border: 1px solid rgba(167,139,250,.35);
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; letter-spacing: .01em;
}
.hero-tagline span { display: inline-flex; align-items: center; gap: 7px; }
.hero-tagline span .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.14); color: #7DD3FC; }
.hero-tagline span:last-child .ico { color: #C4B5FD; }
.hero-tagline i { width: 22px; height: 2px; background: linear-gradient(90deg, #7DD3FC, #C4B5FD); border-radius: 2px; position: relative; }
.hero-tagline i::after { content: ''; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left-color: #C4B5FD; border-right: 0; }
.hero-v3 h1 { margin-top: 18px; }
.rotator { display: inline-block; position: relative; color: #FDE68A; white-space: nowrap; }
.rot-in { display: inline-block; transition: transform .38s var(--ease-out), opacity .38s; }
.rot-in.out { transform: translateY(-60%); opacity: 0; }
.rot-in.enter { transform: translateY(60%); opacity: 0; transition: none; }

.hero-stage.v3 { min-height: 560px; display: flex; align-items: flex-end; justify-content: center; perspective: none; }
.hs-glow { position: absolute; left: 50%; bottom: 8%; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,232,.65) 0%, rgba(56,189,248,.25) 40%, transparent 70%); filter: blur(10px); }
.hs-disc { position: absolute; left: 50%; bottom: 4%; width: 74%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(160deg, #4F46E5 0%, #7C3AED 45%, #0EA5E9 100%); box-shadow: inset 0 -30px 60px rgba(0,0,0,.25), 0 30px 80px rgba(79,70,229,.45); }
.hs-disc::after { content: ''; position: absolute; inset: 10%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.25); animation: spinSlow 50s linear infinite; }
.hs-orbit { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.hs-orbit.o1 { width: 96%; aspect-ratio: 1; }
.hs-orbit.o2 { width: 116%; aspect-ratio: 1; border-style: dashed; border-color: rgba(255,255,255,.08); animation: spinSlow 80s linear infinite reverse; }
.hero-cutout {
  position: relative; z-index: 3; width: min(440px, 88%); height: auto;
  filter: drop-shadow(0 30px 40px rgba(5,10,40,.45));
  animation: cutIn 1.1s .2s var(--ease-out) both, bob 7s 1.4s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
@keyframes cutIn { from { opacity: 0; transform: translateY(60px) scale(.94); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.orb-ico {
  position: absolute; z-index: 4; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.25);
  animation: orbFloat 8s ease-in-out infinite, entChip .8s var(--ease-out) both;
}
.orb-ico .ico { width: 22px; height: 22px; }
.oi1 { left: 4%; top: 12%; animation-delay: 0s, .9s; color: #FDE68A; }
.oi2 { right: 6%; top: 6%; animation-delay: -2s, 1.05s; color: #7DD3FC; }
.oi3 { left: -2%; top: 46%; animation-delay: -4s, 1.2s; color: #A7F3D0; }
.oi4 { right: -1%; top: 40%; animation-delay: -1s, 1.35s; color: #FBCFE8; }
.oi5 { left: 14%; bottom: 14%; animation-delay: -3s, 1.5s; color: #C4B5FD; width: 42px; height: 42px; }
.oi6 { right: 14%; bottom: 20%; animation-delay: -5s, 1.65s; color: #FDBA74; width: 42px; height: 42px; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) rotate(0); } 33% { transform: translate(8px,-14px) rotate(8deg); } 66% { transform: translate(-6px,-6px) rotate(-6deg); } }
.hero-stage.v3 .fchip { padding: 9px 13px 9px 9px; border-radius: 14px; z-index: 5; }
.fc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.fc-ic .ico { width: 15px; height: 15px; }
.hero-stage.v3 .fchip-1 { top: 20%; left: -4%; }
.hero-stage.v3 .fchip-2 { top: 30%; right: -6%; }
.hero-stage.v3 .fchip-3 { bottom: 26%; left: -8%; }
.hero-stage.v3 .fchip-4 { bottom: 12%; right: -4%; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; z-index: 3; }

/* ========================================================= people band == */
.people-band { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1E2A78 0%, #0B1B45 55%, #071233 100%); color: #fff; padding: 80px 0 0; }
.pb-grid { position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.sec-head-dark h2 { color: #fff; }
.sec-head-dark p { color: #B9C4E4; }
.eyebrow-dark { background: rgba(255,255,255,.1); color: #C7D2FE; border: 1px solid rgba(255,255,255,.14); }
.pb-stage { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 10px 24px 0; max-width: 1320px; margin: 0 auto; }
.pb-person { position: relative; margin: 0 -18px; flex: 0 1 230px; text-align: center; transition: transform .5s var(--ease-out); }
.pb-person img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); transition: transform .5s var(--ease-out), filter .5s;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.pb-person.pb-tall { flex-basis: 260px; z-index: 2; }
.pb-person:hover { z-index: 5; }
.pb-person:hover img { transform: translateY(-14px) scale(1.04); filter: drop-shadow(0 30px 40px rgba(124,92,232,.55)); }
.pb-person figcaption {
  position: absolute; left: 50%; bottom: 18%; transform: translate(-50%, 10px); z-index: 3; white-space: nowrap;
  display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 14px; text-align: left;
  background: rgba(255,255,255,.96); color: var(--dc-ink); box-shadow: 0 16px 34px rgba(0,0,0,.35);
  opacity: 0; transition: opacity .35s, transform .35s var(--ease-spring);
}
.pb-person figcaption b { display: block; font-family: var(--font-head); font-size: 13px; }
.pb-person figcaption small { display: block; font-size: 11px; color: var(--dc-muted); }
.pb-person:hover figcaption, .pb-person:focus-within figcaption { opacity: 1; transform: translate(-50%, 0); }
.pb-person:nth-child(odd) img { animation: bob 8s ease-in-out infinite; }
.pb-person:nth-child(even) img { animation: bob 9s -3s ease-in-out infinite; }
.pb-floor { position: relative; display: block; height: 60px; margin-top: -40px; z-index: 3; background: linear-gradient(180deg, transparent, #071233 70%); }
@media (hover: none) { .pb-person figcaption { opacity: 1; transform: translate(-50%, 0); bottom: 10%; } }

/* =========================================================== path cards == */
.path-v3 .path-card { min-height: 280px; color: inherit; isolation: isolate; }
.path-v3 .path-card p { max-width: 58%; }
.path-v3 .p-person { position: absolute; right: -14px; bottom: 0; width: 52%; z-index: -1; transition: transform .5s var(--ease-out); filter: drop-shadow(0 10px 16px rgba(15,27,61,.18)); }
.path-v3 .path-card:hover .p-person { transform: translateY(-8px) scale(1.04); }
.path-v3 .p-link { margin-top: auto; }

/* ======================================================== course cards == */
.cr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cr-grid.three { grid-template-columns: repeat(3, 1fr); }
.cr-grid.two { grid-template-columns: repeat(2, 1fr); }
.cr-card {
  position: relative; background: #fff; border: 1px solid var(--dc-line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.cr-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15,27,61,.14); border-color: transparent; }
.cr-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--dc-bg-alt2); }
.cr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.cr-card:hover .cr-media img { transform: scale(1.07); }
.cr-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--dc-green-dk); font-family: var(--font-head); font-size: 11px; font-weight: 800; box-shadow: var(--sh-sm); }
.cr-badge.soon { color: #B45309; }
.cr-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cr-org { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--dc-body); }
.cr-org img { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--dc-line); }
.cr-body h3 { font-size: 16px; line-height: 1.35; }
.cr-body h3 a:hover { color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; }
.cr-skills { font-size: 12.5px; color: var(--dc-body); line-height: 1.5; }
.cr-skills b { color: var(--dc-ink); }
.cr-rate { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--dc-muted); margin-top: auto; }
.cr-rate .ico { color: var(--dc-amber); }
.cr-rate b { color: var(--dc-ink); }
.cr-meta { font-size: 12px; color: var(--dc-muted); }
.cr-card.is-soon .cr-media img { filter: saturate(.55); }
.rail-track > .cr-card { min-width: 0; }

/* ============================================================ counters == */
.counters { position: relative; overflow: hidden; padding: 84px 0; background: linear-gradient(135deg, #0B1B45 0%, #1B1F63 50%, #2E1E6B 100%); color: #fff; }
.ct-aurora { position: absolute; inset: 0; pointer-events: none; }
.ct-aurora i { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); opacity: .45; animation: aur 16s ease-in-out infinite alternate; animation-play-state: paused; }
.ct-aurora.fl-on i { animation-play-state: running; }
.ct-aurora i:nth-child(1) { background: #0EA5E9; left: -120px; top: -120px; }
.ct-aurora i:nth-child(2) { background: #C026D3; right: -120px; bottom: -160px; animation-duration: 20s; }
.ct-head { text-align: center; margin-bottom: 40px; position: relative; z-index: 2; }
.ct-head h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.ct-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ct-card {
  position: relative; padding: 24px 16px 20px; text-align: center; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); transition: transform .35s var(--ease-out), border-color .35s, background .35s;
}
.ct-card::before { content: ''; position: absolute; inset: -40% -40% auto auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.5), transparent 70%); opacity: 0; transition: opacity .4s; }
.ct-card:hover { transform: translateY(-8px); border-color: rgba(167,139,250,.6); }
.ct-card:hover::before { opacity: 1; }
.ct-ring { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; }
.ct-ring svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ct-ring circle { fill: none; stroke-width: 5; stroke: rgba(255,255,255,.12); }
.ct-ring circle.ct-fill { stroke: #7DD3FC; stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset 1.8s var(--ease-out); }
.ct-card:nth-child(2n) .ct-ring circle.ct-fill { stroke: #C4B5FD; }
.ct-card:nth-child(3n) .ct-ring circle.ct-fill { stroke: #FDE68A; }
.ct-card.filled .ct-ring circle.ct-fill { stroke-dashoffset: 0; }
.ct-ring > .ico { color: #fff; }
.ct-card b { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #C7D2FE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ct-card span:not(.ct-ring) { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-top: 8px; }
.ct-card small { display: block; font-size: 11.5px; color: #A9B5D8; margin-top: 4px; }
.ct-card.ct-hot { background: linear-gradient(160deg, rgba(124,92,232,.5), rgba(14,165,233,.25)); border-color: rgba(167,139,250,.6); }

/* =============================================================== bento == */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 230px); gap: 16px; }
.bt { position: relative; display: block; border-radius: 20px; overflow: hidden; color: #fff; isolation: isolate; background: #0B1B45; }
.bt-big { grid-column: span 2; grid-row: span 2; }
.bt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.bt:hover img { transform: scale(1.08); }
.bt::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,18,51,0) 25%, rgba(7,18,51,.92) 100%); transition: opacity .4s; }
.bt-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; gap: 5px; }
.bt-big .bt-in { padding: 28px; }
.bt-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; }
.bt-tag.soon { background: rgba(245,165,36,.85); color: #3A2600; }
.bt b { font-family: var(--font-head); font-size: 17px; line-height: 1.25; }
.bt-big b { font-size: clamp(22px, 2.4vw, 30px); }
.bt small { font-size: 12.5px; color: #CBD5F0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease-out), opacity .4s; }
.bt:hover small, .bt-big small { max-height: 60px; opacity: 1; }
.bt-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: 13.5px; }
.bento-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.br-card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--dc-line); transition: transform .3s var(--ease-out), box-shadow .3s; }
.br-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.br-card img { width: 108px; height: 84px; border-radius: 13px; object-fit: cover; flex-shrink: 0; }
.br-card b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--dc-ink); }
.br-card small { display: block; font-size: 12.5px; color: var(--dc-body); line-height: 1.5; }
.br-n { display: block; font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--dc-violet); letter-spacing: .08em; }

/* ============================================================= journey == */
.jr-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.jr-track::before { content: ''; position: absolute; left: 12%; right: 12%; top: 104px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #38BDF8, #A78BFA, #F0ABFC); opacity: .5; }
.jr-step { position: relative; text-align: center; }
.jr-media { position: relative; width: 210px; height: 210px; margin: 0 auto 18px; border-radius: 50%; padding: 7px; background: conic-gradient(from 180deg, #38BDF8, #A78BFA, #F0ABFC, #38BDF8); box-shadow: 0 20px 40px rgba(91,70,214,.22); }
.jr-media img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid #fff; transition: transform .6s var(--ease-out); }
.jr-step:hover .jr-media img { transform: scale(1.05) rotate(-2deg); }
.jr-n { position: absolute; right: 8px; top: 8px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 17px; border: 3px solid #fff; box-shadow: var(--sh-md); }
.jr-step h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 8px; }
.jr-step h3 .ico { color: var(--dc-violet); }
.jr-step p { font-size: 14px; max-width: 320px; margin: 0 auto; }

/* ========================================================= misc homepage == */
.feat-v3 .feat { padding: 20px 10px; border-radius: 18px; transition: background .3s, transform .3s var(--ease-out), box-shadow .3s; }
.feat-v3 .feat:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--sh-lg); }
.feat-v3 .feat:hover .itile { transform: rotate(-8deg) scale(1.1); }
.feat .itile { transition: transform .4s var(--ease-spring); }

.hw-visual { position: relative; padding: 20px 0 40px; }
.hw-photo { width: 100%; border-radius: 24px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--sh-xl); }
.hw-person { position: absolute; right: -12px; bottom: 0; width: 42%; filter: drop-shadow(0 20px 30px rgba(15,27,61,.35)); animation: bob 7s ease-in-out infinite; }
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 14px;
  background: rgba(255,255,255,.97); box-shadow: 0 16px 36px rgba(15,27,61,.2); color: var(--dc-ink);
  font-family: var(--font-head); font-size: 12px; font-weight: 700; white-space: nowrap; animation: floaty 6s ease-in-out infinite;
}
.float-chip > .ico { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--dc-blue-soft); color: var(--dc-blue); }
.float-chip small { display: block; font-size: 10.5px; font-weight: 600; color: var(--dc-muted); }
.hw-chip1 { left: -14px; top: 40px; }
.hw-chip2 { left: 18%; bottom: 8px; animation-delay: -2s; }
.hw-chip2 > .ico { background: #E7F8EF; color: var(--dc-green-dk); }

.role-v3 .role-card { position: relative; overflow: hidden; padding-right: 22px; }
.role-person { position: absolute; right: -24px; top: -8px; width: 44%; opacity: .95; transition: transform .5s var(--ease-out); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 90%); mask-image: linear-gradient(180deg, #000 55%, transparent 90%); }
.role-v3 .role-card:hover .role-person { transform: translateY(-6px) scale(1.05); }
.role-v3 .role-card h3, .role-v3 .role-card > p { max-width: 70%; }

.testi { position: relative; transition: transform .3s var(--ease-out), box-shadow .3s; }
.testi:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.testi-q { position: absolute; right: 18px; top: 16px; width: 40px; height: 40px; color: var(--dc-blue-soft); }
.vtile-hot { border-color: var(--dc-blue) !important; box-shadow: var(--sh-lg); }
.news-band { grid-template-columns: 1fr 1.15fr 150px; }
.news-person { width: 150px; margin: -60px 0 -34px; align-self: end; filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); }

/* ============================================================ colleges == */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.col-grid.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.col-card { background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.col-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15,27,61,.14); }
.col-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.col-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.col-card:hover .col-media img { transform: scale(1.08); }
.col-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,18,51,.55)); }
.col-rank { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: linear-gradient(90deg, #F59E0B, #F97316); color: #fff; font-family: var(--font-head); font-size: 11px; font-weight: 800; box-shadow: 0 6px 16px rgba(249,115,22,.4); }
.col-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.col-cat { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dc-violet); }
.col-body h3 { font-size: 18px; }
.col-body h3 a:hover { color: var(--dc-blue); }
.col-full { font-size: 12px; color: var(--dc-muted); margin-top: -4px; }
.col-tag { font-size: 13px; line-height: 1.55; color: var(--dc-body); }
.col-facts { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11.5px; color: var(--dc-muted); margin: 4px 0 8px; }
.col-facts li { display: flex; align-items: center; gap: 5px; }
.col-body .btn { margin-top: auto; }
.col-grid.five .col-tag { display: none; }
.col-grid.five .col-body h3 { font-size: 16px; }

/* ============================================================== pricing == */
.pricing-sec { position: relative; overflow: hidden; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pr-grid.pr-n2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.pr-grid.pr-n1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.pr-grid.pr-n4 { grid-template-columns: repeat(4, 1fr); }
.pr-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: 22px;
  background: #fff; border: 1px solid var(--dc-line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease-out), box-shadow .35s;
}
.pr-card:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(15,27,61,.14); }
.pr-card.is-hot { color: #fff; border: 2px solid transparent; background: linear-gradient(165deg, #0B1B45 0%, #241C63 100%) padding-box, linear-gradient(135deg, #38BDF8, #A78BFA, #F0ABFC) border-box; box-shadow: 0 30px 70px rgba(36,28,99,.35); transform: scale(1.03); }
.pr-card.is-hot:hover { transform: scale(1.03) translateY(-8px); }
.pr-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 99px; background: linear-gradient(90deg, #F59E0B, #F97316); color: #fff; font-family: var(--font-head); font-size: 11.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 20px rgba(249,115,22,.4); }
.pr-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 12px; background: var(--tint-blue); color: var(--dc-blue); }
.pr-mint .pr-icon { background: var(--tint-mint); color: #0E9F6E; }
.pr-lilac .pr-icon { background: var(--tint-lilac); color: var(--dc-violet); }
.pr-sand .pr-icon { background: var(--tint-sand); color: #D9911A; }
.pr-peach .pr-icon { background: var(--tint-peach); color: #EA7C1F; }
.pr-card.is-hot .pr-icon { background: rgba(255,255,255,.14); color: #fff; }
.pr-top h3 { font-size: 20px; }
.pr-top p { font-size: 13px; color: var(--dc-muted); margin-top: 4px; }
.pr-card.is-hot h3 { color: #fff; }
.pr-card.is-hot .pr-top p, .pr-card.is-hot .pr-per { color: #B9C4E4; }
.pr-price { display: flex; align-items: baseline; gap: 4px; padding-top: 6px; border-top: 1px dashed var(--dc-line); min-height: 64px; }
.pr-card.is-hot .pr-price { border-top-color: rgba(255,255,255,.18); }
.pr-cur { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--dc-ink); align-self: flex-start; margin-top: 10px; }
.pr-amt { font-family: var(--font-head); font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: var(--dc-ink); line-height: 1.1; }
.pr-amt.pr-text { font-size: 28px; padding-top: 10px; }
.pr-card.is-hot .pr-cur, .pr-card.is-hot .pr-amt { color: #fff; }
.pr-per { font-size: 13px; color: var(--dc-muted); }
.pr-old { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dc-muted); margin-top: -10px; }
.pr-off { padding: 2px 8px; border-radius: 99px; background: #E7F8EF; color: var(--dc-green-dk); font-weight: 800; font-size: 11px; }
.pr-feats { display: flex; flex-direction: column; gap: 10px; }
.pr-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.45; }
.pr-feats li .ico { margin-top: 1px; color: var(--dc-green-dk); flex-shrink: 0; }
.pr-feats li.no { color: var(--dc-muted); }
.pr-feats li.no .ico { color: #CBD5E1; }
.pr-card.is-hot .pr-feats li { color: #E4EAFB; }
.pr-card.is-hot .pr-feats li .ico { color: #6EE7B7; }
.pr-card.is-hot .pr-feats li.no { color: #8D98BC; }
.pr-card.is-hot .btn-outline { background: transparent; color: #fff; }
.pr-note { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; margin-top: 28px; font-size: 12.5px; color: var(--dc-muted); }

/* ================================================================= blog == */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bl-card { background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.bl-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15,27,61,.14); }
.bl-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.bl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.bl-card:hover .bl-media img { transform: scale(1.07); }
.bl-cat { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--dc-violet); font-family: var(--font-head); font-size: 11px; font-weight: 800; }
.bl-cat.static { position: static; display: inline-block; background: var(--tint-lilac); }
.bl-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--dc-muted); }
.bl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bl-body h3 { font-size: 18px; line-height: 1.35; }
.bl-body h3 a:hover { color: var(--dc-blue); }
.bl-body p { font-size: 13.5px; line-height: 1.6; flex: 1; }
.bl-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--dc-blue); }
.bl-more .ico { transition: transform .2s; }
.bl-card:hover .bl-more .ico { transform: translateX(4px); }
.bl-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--dc-line); border-radius: 24px; padding: 16px; box-shadow: var(--sh-md); }
.bl-feature-media { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; }
.bl-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.bl-feature:hover .bl-feature-media img { transform: scale(1.05); }
.bl-feature-body { padding: 10px 20px 10px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bl-feature h2 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; }
.bl-feature h2 a:hover { color: var(--dc-blue); }
.bl-feature p { font-size: 15px; }

/* blog post */
.bp-hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; padding: 44px 0 150px; }
.bp-hero-art { position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,232,.45), transparent 68%); }
.bp-hero-in { position: relative; z-index: 2; max-width: 880px; }
.bp-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; margin: 14px 0 14px; }
.bp-dek { font-size: 17px; color: #C7D0EC; max-width: 720px; line-height: 1.6; }
.bp-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.bp-by img { width: 42px; height: 42px; border-radius: 11px; background: #fff; padding: 5px; }
.bp-by b { display: block; font-family: var(--font-head); font-size: 14px; }
.bp-by small { font-size: 12.5px; color: #A9B5D8; }
.bp-cover-wrap { position: relative; z-index: 3; margin-top: -120px; }
.bp-cover { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(15,27,61,.3); aspect-ratio: 21/9; }
.bp-cover img { width: 100%; height: 100%; object-fit: cover; }
.bp-section { padding-top: 48px; }
.bp-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.bp-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.bp-toc-in { border-left: 2px solid var(--dc-line); padding-left: 16px; }
.bp-toc b { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dc-muted); margin-bottom: 10px; }
.bp-toc ol { counter-reset: t; }
.bp-toc li { counter-increment: t; margin-bottom: 9px; }
.bp-toc a { display: block; font-size: 13px; line-height: 1.45; color: var(--dc-body); transition: color .2s, transform .2s; }
.bp-toc a:hover { color: var(--dc-blue); transform: translateX(3px); }
.bp-share { display: flex; align-items: center; gap: 7px; margin-top: 22px; flex-wrap: wrap; }
.bp-share span { font-size: 12px; font-weight: 700; color: var(--dc-muted); width: 100%; }
.bp-share a, .bp-share button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--dc-bg-alt); border: 1px solid var(--dc-line); color: var(--dc-body); transition: .2s; }
.bp-share a:hover, .bp-share button:hover { background: var(--dc-blue); color: #fff; border-color: var(--dc-blue); transform: translateY(-2px); }
.bp-share button.copied { background: var(--dc-green); color: #fff; }
.bp-prose { font-size: 16.5px; }
.bp-prose > p:first-child { font-size: 18px; color: var(--dc-ink); line-height: 1.7; }
.bp-prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); padding-top: 6px; }
.bp-prose h2::before { content: ''; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin-bottom: 14px; }
.bp-prose blockquote { font-style: normal; background: linear-gradient(100deg, var(--tint-blue), var(--tint-lilac)); border-left-color: var(--dc-violet); }
.bp-faq { margin-top: 10px; }
.bp-faq .acc-item { margin-top: 10px; }
.bp-faq .acc-q { font-size: 15px; }
.bp-author { display: flex; gap: 14px; margin-top: 40px; padding: 20px; border-radius: 18px; background: var(--dc-bg-alt); border: 1px solid var(--dc-line); }
.bp-author img { width: 52px; height: 52px; border-radius: 13px; background: #fff; padding: 6px; flex-shrink: 0; }
.bp-author b { font-family: var(--font-head); color: var(--dc-ink); }
.bp-author p { font-size: 13.5px; margin-top: 4px; }
.bp-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.bp-course { background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-md); }
.bp-course-media { position: relative; aspect-ratio: 16/9; }
.bp-course-media img { width: 100%; height: 100%; object-fit: cover; }
.bp-course-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.bp-course-body small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--dc-violet); }
.bp-course-body b { font-family: var(--font-head); font-size: 16px; color: var(--dc-ink); }
.bp-course-body span { font-size: 12.5px; color: var(--dc-muted); margin-bottom: 6px; }
.bp-news { padding: 20px; border-radius: 18px; background: var(--grad-hero); color: #fff; }
.bp-news > .ico { color: #C4B5FD; }
.bp-news b { display: block; font-family: var(--font-head); margin: 8px 0 12px; }
.bp-news-form { display: flex; flex-direction: column; gap: 8px; }
.bp-news-form input { padding: 11px 12px; border-radius: 10px; border: 0; font-size: 14px; }
.bp-news-form p { font-size: 12px; color: #A7F3D0; }

/* table inside prose */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; border: 1px solid var(--dc-line); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dc-line-soft); }
.prose thead th { background: var(--dc-bg-alt); font-family: var(--font-head); color: var(--dc-ink); font-size: 13px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover { background: #FBFCFF; }
.prose code { background: var(--dc-bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose h3 { color: var(--dc-ink); }

/* ============================================================ page heads == */
.page-head { padding: 56px 0 64px; }
.ph-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.ph-person { padding-bottom: 0; }
.ph-person .ph-grid > div:first-child { padding-bottom: 60px; }
.ph-art { position: relative; align-self: end; display: flex; justify-content: center; }
.ph-art img { position: relative; z-index: 2; width: min(330px, 100%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); animation: bob 7s ease-in-out infinite; }
.ph-disc { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 86%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #4F46E5, #7C3AED 50%, #0EA5E9); opacity: .85; box-shadow: 0 30px 80px rgba(79,70,229,.45); }
.ph-c1 { left: -6%; top: 26%; }
.ph-c2 { right: -4%; bottom: 22%; animation-delay: -2.5s; }
.ph-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: #A9B5D8; }
.ph-pop a { padding: 6px 13px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; transition: .2s; }
.ph-pop a:hover { background: #fff; color: var(--dc-ink); }
.ph-photo { padding: 80px 0 90px; }
.ph-photo-bg { position: absolute; inset: 0; z-index: 0; }
.ph-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,69,.95) 0%, rgba(11,27,69,.75) 50%, rgba(36,28,99,.45) 100%); }
.ph-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ph-stats span { padding: 9px 15px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #DCE5FF; backdrop-filter: blur(6px); }
.ph-stats b { font-family: var(--font-head); color: #fff; margin-right: 4px; }
.crumb-dark { color: var(--dc-muted); }
.crumb-dark a:hover { color: var(--dc-blue); }

/* ========================================================= courses page == */
.subj-strip { background: #fff; border-bottom: 1px solid var(--dc-line); }
.subj-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding: 18px 0; }
.subj-row a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 14px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; color: var(--dc-ink); text-align: center; transition: .25s var(--ease-out); }
.subj-row a:hover { background: var(--dc-bg-alt); transform: translateY(-4px); }
.subj-row a:hover .itile { transform: rotate(-8deg) scale(1.08); }
.subj-row .itile { transition: transform .4s var(--ease-spring); }
.cs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.cs-filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; padding: 18px; }
.cs-fhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cs-fhead b { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); color: var(--dc-ink); }
.cs-clear, .btn-link { font-size: 12.5px; font-weight: 700; color: var(--dc-blue); }
.cs-filters fieldset { border: 0; padding: 14px 0 10px; border-top: 1px solid var(--dc-line-soft); margin: 0; }
.cs-filters legend { font-family: var(--font-head); font-size: 13.5px; font-weight: 800; color: var(--dc-ink); padding: 0; margin-bottom: 8px; }
.cs-filters label { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13.5px; cursor: pointer; }
.cs-filters input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--dc-blue); }
.cs-fnote { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--tint-mint); color: #0E7A4F; font-size: 12.5px; font-weight: 600; }
.cs-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.cs-bar b { font-family: var(--font-head); color: var(--dc-ink); }
.cs-empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--dc-line); border-radius: 18px; color: var(--dc-muted); }
.cs-empty b { display: block; font-family: var(--font-head); color: var(--dc-ink); margin: 10px 0 4px; }
.cs-empty .ico { margin: 0 auto; }
.lw-band { position: relative; display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; padding: 30px 36px 30px 0; border-radius: 26px; background: linear-gradient(110deg, #0B1B45 0%, #2E1E6B 100%); color: #fff; overflow: visible; }
.lw-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 4px 0 6px; }
.lw-band p { color: #B9C4E4; font-size: 14.5px; }
.lw-person { width: 200px; margin: -70px 0 -30px 10px; align-self: end; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.path-mini { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--dc-line); transition: .3s var(--ease-out); }
.path-mini:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.path-mini b { font-family: var(--font-head); font-size: 17px; color: var(--dc-ink); margin-top: 6px; }
.path-mini small { font-size: 12.5px; color: var(--dc-muted); }
.pm-go { position: absolute; right: 20px; top: 24px; color: var(--dc-blue); transition: transform .25s; }
.path-mini:hover .pm-go { transform: translateX(5px); }

/* ======================================================== course detail == */
.cx-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #EEF4FF 0%, #F4EFFF 55%, #FDF4FF 100%); padding: 36px 0 70px; }
.cx-hero-art { position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.35), transparent 65%); }
.cx-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.cx-org { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--dc-line); font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--dc-ink); margin: 14px 0 16px; box-shadow: var(--sh-xs); }
.cx-org img { width: 26px; height: 26px; border-radius: 7px; }
.cx-hero h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; }
.cx-lead { font-size: 17px; color: var(--dc-body); margin-top: 14px; max-width: 580px; }
.cx-inst { display: flex; align-items: center; gap: 7px; font-size: 14px; margin-top: 16px; }
.cx-inst a { color: var(--dc-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cx-cta .btn-primary span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.cx-cta .btn-primary small { font-size: 11px; font-weight: 600; opacity: .85; }
.cx-note { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--dc-green-dk); font-weight: 600; }
.cx-hero-media { position: relative; }
.cx-video { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16/10; box-shadow: 0 30px 70px rgba(15,27,61,.25); }
.cx-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cx-video:hover img { transform: scale(1.05); }
.cx-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,18,51,.6)); }
.cx-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.96); color: var(--dc-blue); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.cx-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulseRing 2.2s ease-out infinite; }
.cx-preview { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.fc-a { left: -24px; top: 18%; }
.fc-b { right: -18px; bottom: 16%; animation-delay: -3s; }
.fc-b > .ico { background: var(--tint-lilac); color: var(--dc-violet); }
.cx-infobar-wrap { position: relative; z-index: 3; margin-top: -42px; }
.cx-infobar { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; box-shadow: var(--sh-lg); overflow: hidden; }
.cx-infobar > div { padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; }
.cx-infobar > div + div { border-left: 1px solid var(--dc-line-soft); }
.cx-infobar b { display: flex; align-items: center; gap: 5px; font-family: var(--font-head); font-size: 16px; color: var(--dc-ink); }
.cx-infobar b .ico { color: var(--dc-amber); }
.cx-infobar span { font-size: 12.5px; color: var(--dc-muted); }
.cx-tabs { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dc-line); margin-top: 26px; }
.cx-tabs .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cx-tabs .container::-webkit-scrollbar { display: none; }
.cx-tabs a { position: relative; padding: 16px 14px; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--dc-body); white-space: nowrap; }
.cx-tabs a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--dc-blue); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.cx-tabs a.is-active, .cx-tabs a:hover { color: var(--dc-blue); }
.cx-tabs a.is-active::after { transform: scaleX(1); }
.cx-section { scroll-margin-top: calc(var(--header-h) + 54px); }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.cx-h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 18px; }
.cx-h3 { font-size: 18px; margin-bottom: 12px; }
.cx-sub { font-size: 14px; color: var(--dc-muted); margin: -10px 0 18px; }
.cx-learn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; padding: 22px; border: 1px solid var(--dc-line); border-radius: 18px; margin-bottom: 36px; }
.cx-learn.one { grid-template-columns: 1fr; }
.cx-learn li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.cx-learn li .ico { color: var(--dc-green-dk); margin-top: 2px; flex-shrink: 0; }
.cx-skills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.cx-skills span { padding: 8px 15px; border-radius: 99px; background: var(--dc-bg-alt); border: 1px solid var(--dc-line); font-size: 13px; font-weight: 600; color: var(--dc-ink); transition: .2s; }
.cx-skills span:hover { background: var(--dc-blue); color: #fff; border-color: var(--dc-blue); transform: translateY(-2px); }
.cx-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.cx-details > div { display: flex; flex-direction: column; gap: 5px; padding: 18px; border-radius: 16px; border: 1px solid var(--dc-line); background: #fff; }
.cx-details .ico { color: var(--dc-blue); margin-bottom: 4px; }
.cx-details b { font-family: var(--font-head); font-size: 14.5px; color: var(--dc-ink); }
.cx-details span { font-size: 12.5px; color: var(--dc-muted); }
.cx-expert { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 26px; border-radius: 22px; background: linear-gradient(115deg, #EEF4FF, #F4EFFF); }
.cx-expert h3 { font-size: 20px; line-height: 1.35; margin: 4px 0 10px; }
.cx-expert p { font-size: 14px; }
.cx-ticks { margin-top: 14px; display: grid; gap: 8px; }
.cx-ticks li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.cx-ticks .ico { color: var(--dc-green-dk); }
.cx-expert-img img { width: 100%; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--sh-lg); }
.cx-side { position: sticky; top: calc(var(--header-h) + 74px); }
.cx-sidecard { background: #fff; border: 1px solid var(--dc-line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); }
.cx-sidecard-media { aspect-ratio: 16/9; overflow: hidden; }
.cx-sidecard-media img { width: 100%; height: 100%; object-fit: cover; }
.cx-sidecard-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cx-price { display: flex; align-items: baseline; gap: 10px; }
.cx-price span { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--dc-green-dk); }
.cx-price em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--dc-muted); }
.cx-spec li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--dc-line-soft); }
.cx-spec li .ico { color: var(--dc-muted); }
.cx-spec li span { flex: 1; color: var(--dc-body); }
.cx-spec li b { font-family: var(--font-head); color: var(--dc-ink); font-size: 13.5px; }
.cx-career { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 36px; border-radius: 26px; background: #fff; border: 1px solid var(--dc-line); box-shadow: var(--sh-md); }
.cx-career h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 10px; }
.cx-roles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.cx-roles span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--tint-blue); color: var(--dc-blue-dark); font-weight: 700; font-size: 13px; }
.cx-cert { padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #F59E0B, #A855F7 60%, #3B82F6); box-shadow: 0 24px 50px rgba(124,58,237,.3); transform: rotate(2deg); transition: transform .5s var(--ease-out); }
.cx-cert:hover { transform: rotate(0) scale(1.02); }
.cx-cert-in { background: #fff; border-radius: 12px; padding: 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid #EDE9FE; }
.cx-cert-in img { width: 44px; height: 44px; }
.cx-cert-in small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dc-muted); font-weight: 700; }
.cx-cert-in b { font-family: 'Plus Jakarta Sans', serif; font-size: 24px; color: var(--dc-ink); border-bottom: 1px solid var(--dc-line); padding: 4px 20px 6px; }
.cx-cert-in span { font-size: 12px; color: var(--dc-muted); }
.cx-cert-in strong { font-family: var(--font-head); font-size: 16px; color: var(--dc-violet); }
.cx-cert-in em { font-size: 11px; color: var(--dc-muted); margin-top: 6px; }
.cx-mods { display: flex; flex-direction: column; gap: 10px; }
.cx-mod { border: 1px solid var(--dc-line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .3s; }
.cx-mod.open { box-shadow: var(--sh-md); }
.cx-mod-h { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 18px 20px; text-align: left; }
.cx-mod-n { font-size: 11px; font-weight: 800; color: var(--dc-violet); text-transform: uppercase; letter-spacing: .06em; background: var(--tint-lilac); padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.cx-mod-h b { font-family: var(--font-head); font-size: 15px; color: var(--dc-ink); }
.cx-mod-meta { font-size: 12.5px; color: var(--dc-muted); white-space: nowrap; }
.cx-mod-h > .ico { color: var(--dc-blue); transition: transform .3s; }
.cx-mod.open .cx-mod-h > .ico { transform: rotate(180deg); }
.cx-mod .acc-q .ico { transform: none; }
.cx-mod.open .acc-q > .ico { transform: rotate(180deg); }
.cx-lessons { padding: 0 20px 14px; }
.cx-lessons li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--dc-line-soft); font-size: 14px; }
.cx-lessons li > .ico, .cx-lessons a > .ico { color: var(--dc-muted); flex-shrink: 0; }
.cx-lessons a { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--dc-body); transition: color .2s; }
.cx-lessons a:hover { color: var(--dc-blue); }
.cx-lessons a em { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--dc-blue); white-space: nowrap; }
.cx-lessons .is-quiz { color: var(--dc-muted); }
.cx-lessons .tag { margin-left: auto; }
.cx-why { padding: 22px; border-radius: 20px; background: var(--grad-hero); color: #fff; }
.cx-why h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.cx-why li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.cx-why li > .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.1); color: #C4B5FD; flex-shrink: 0; }
.cx-why b { display: block; font-family: var(--font-head); font-size: 14px; }
.cx-why span { font-size: 12.5px; color: #B9C4E4; }
.cx-inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cx-inst-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; transition: .3s var(--ease-out); }
.cx-inst-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.cx-inst-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--tint-lilac); }
.cx-inst-card b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--dc-ink); }
.cx-inst-card span { display: block; font-size: 13px; color: var(--dc-blue); font-weight: 600; }
.cx-inst-card small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--dc-muted); margin-top: 4px; }
.cx-inst-card small .ico { color: var(--dc-amber); }
.cx-mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1140; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--dc-line); box-shadow: 0 -8px 24px rgba(15,27,61,.1); transform: translateY(110%); transition: transform .3s var(--ease-out); }
.cx-mobile-cta.show { transform: none; }
.cx-mobile-cta b { display: block; font-family: var(--font-head); font-size: 13.5px; color: var(--dc-ink); }
.cx-mobile-cta span { font-size: 11.5px; color: var(--dc-muted); }

/* ====================================================== college detail == */
.cl-hero { position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; color: #fff; padding: 70px 0 80px; }
.cl-hero-bg { position: absolute; inset: 0; z-index: 0; }
.cl-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-2%, -2%); } }
.cl-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,18,51,.94) 0%, rgba(11,27,69,.78) 55%, rgba(36,28,99,.45) 100%); }
.cl-hero-in { position: relative; z-index: 2; }
.cl-rank { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: linear-gradient(90deg, #F59E0B, #F97316); color: #fff; font-family: var(--font-head); font-size: 12.5px; font-weight: 800; box-shadow: 0 10px 24px rgba(249,115,22,.4); margin-bottom: 14px; }
.cl-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; max-width: 800px; }
.cl-hero p { color: #C7D0EC; font-size: 17px; max-width: 640px; margin-top: 12px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.cl-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; backdrop-filter: blur(6px); }
.cl-facts-wrap { position: relative; z-index: 3; margin-top: -38px; }
.cl-facts { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; box-shadow: var(--sh-lg); overflow: hidden; }
.cl-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.cl-facts > div + div { border-left: 1px solid var(--dc-line-soft); }
.cl-facts .ico { color: var(--dc-violet); margin-bottom: 4px; }
.cl-facts b { font-family: var(--font-head); font-size: 16px; color: var(--dc-ink); }
.cl-facts span { font-size: 12.5px; color: var(--dc-muted); line-height: 1.4; }
.cl-summary { font-size: 17px; line-height: 1.7; color: var(--dc-ink); margin-bottom: 18px; }
.cl-ranknote { display: flex; gap: 14px; align-items: flex-start; margin-top: 10px; padding: 18px; border-radius: 16px; background: linear-gradient(100deg, #FFF7E6, #FFF1F2); border: 1px solid #FDE7C2; }
.cl-ranknote > .ico { color: #F59E0B; flex-shrink: 0; }
.cl-ranknote p { font-size: 14px; }
.cl-side { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--dc-line); box-shadow: var(--sh-md); }
.cl-side h3 { font-size: 17px; margin-bottom: 12px; }
.cl-side dl { display: grid; grid-template-columns: 1fr; }
.cl-side dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--dc-muted); margin-top: 12px; }
.cl-side dd { margin: 3px 0 0; font-size: 14px; color: var(--dc-ink); font-weight: 600; }
.cl-side dd a { color: var(--dc-blue); }
.cl-table { background: #fff; border: 1px solid var(--dc-line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-sm); }
.cl-tr { display: grid; grid-template-columns: 1.5fr 1fr 1.6fr; gap: 14px; padding: 15px 22px; font-size: 14px; align-items: center; }
.cl-compare .cl-tr { grid-template-columns: 1.3fr 1fr .8fr 1fr 1.2fr; }
.cl-tr + .cl-tr { border-top: 1px solid var(--dc-line-soft); }
.cl-th { background: var(--dc-bg-alt); font-family: var(--font-head); font-size: 12.5px; font-weight: 800; color: var(--dc-muted); text-transform: uppercase; letter-spacing: .05em; }
.cl-tr:not(.cl-th):hover { background: #FBFCFF; }
.cl-tr b { color: var(--dc-ink); font-family: var(--font-head); }
.cl-tr a b { color: var(--dc-blue); }
.cl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.cl-step { position: relative; padding: 24px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--dc-line); transition: .3s var(--ease-out); }
.cl-step:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cl-step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(91,70,214,.35); }
.cl-step h3 { font-size: 16px; margin-bottom: 6px; }
.cl-step p { font-size: 13.5px; line-height: 1.6; }
.cl-life { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.cl-illus { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dc-muted); }
.cl-gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 160px 160px; gap: 12px; }
.cl-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.cl-gallery .g0 { grid-row: span 2; }
.cl-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.cl-gallery figure:hover img { transform: scale(1.08); }
.cl-skillband { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; padding: 30px; border-radius: 26px; background: linear-gradient(115deg, #EEF4FF, #F4EFFF); }
.cl-skillband h2 { font-size: clamp(20px, 2.4vw, 28px); margin: 6px 0 10px; }
.cl-source { display: flex; align-items: center; gap: 7px; margin-top: 26px; font-size: 12.5px; color: var(--dc-muted); }
.cl-source a { color: var(--dc-blue); }

/* =============================================== Coursera-style footer == */
.cf-footer { background: #F5F7F8; border-top: 1px solid var(--dc-line); padding: 52px 0 0; }
.cf-top, .cf-mid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.cf-mid { grid-template-columns: repeat(3, 1fr) 1.25fr; margin-top: 36px; padding-top: 32px; border-top: 1px solid #E1E5EA; }
.cf-col h5 { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: #1F1F1F; margin-bottom: 14px; }
.cf-col li + li { margin-top: 9px; }
.cf-col a { font-size: 13.5px; color: #3F4752; line-height: 1.45; transition: color .15s; }
.cf-col a:hover { color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; }
.cf-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 10px; background: #000; color: #fff; }
.cf-badge small { display: block; font-size: 9.5px; color: #C9CED6; line-height: 1.1; }
.cf-badge b { display: block; font-size: 15px; font-family: var(--font-head); line-height: 1.1; }
.cf-cert { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E1E5EA; max-width: 280px; }
.cf-cert .ico { color: var(--dc-violet); }
.cf-cert b { display: block; font-family: var(--font-head); font-size: 13.5px; color: #1F1F1F; }
.cf-cert small { font-size: 12px; color: var(--dc-muted); }
.cf-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 40px; padding: 26px 0 30px; border-top: 1px solid #E1E5EA; }
.cf-copy { font-size: 13px; color: #3F4752; }
.cf-copy span { display: block; font-size: 12px; color: var(--dc-muted); margin-top: 3px; }
.cf-social { display: flex; gap: 6px; }
.cf-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #1F1F1F; transition: .2s var(--ease-out); }
.cf-social a:hover { background: var(--dc-blue); color: #fff; transform: translateY(-3px); }

/* ======================================================= floating icons == */
.has-fl { position: relative; }
.fl-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.fl-ico {
  position: absolute; display: grid; place-items: center; border-radius: 30%;
  animation-name: flDrift, flSpin; animation-timing-function: ease-in-out, linear; animation-iteration-count: infinite; animation-direction: alternate, normal;
  animation-play-state: paused; will-change: transform;
}
.fl-on .fl-ico { animation-play-state: running; }
.fl-ico .ico { width: 46%; height: 46%; }
.fl-dark .fl-ico { background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); }
.fl-light .fl-ico { background: rgba(124,92,232,.06); border: 1px solid rgba(124,92,232,.12); color: rgba(91,70,214,.35); }
@keyframes flDrift { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, -26px); } 100% { transform: translate(-14px, -50px); } }
@keyframes flSpin { 0%, 100% { rotate: 0deg; } 50% { rotate: 14deg; } }
.has-fl > .container, .has-fl > .pb-stage, .has-fl > .cl-hero-in { position: relative; z-index: 2; }
.cl-hero .fl-layer, .ph-photo .fl-layer { z-index: 1; }
.ph-photo-bg, .cl-hero-bg { z-index: 0; }

/* ===================================================== motion system ==== */
.js .ax-up { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .ax-left { opacity: 0; transform: translateX(-16px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.js .ax-zoom { opacity: 0; transform: scale(.95); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .ax.in { opacity: 1; transform: none; }
.ax-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ax-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease-out); }
.ax-words.in .w > span { transform: none; }
.ax-words { opacity: 1 !important; transform: none !important; }
/* gradient words keep their gradient when split */
.grad-text .w > span, .l2 .w > span { background: inherit; -webkit-background-clip: text; background-clip: text; }
.scroll-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 2000; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #38BDF8, #A78BFA, #F0ABFC); pointer-events: none; }
.tilting { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px) !important; transition: transform .12s linear !important; }
.cr-card.tilting::after, .col-card.tilting::after, .bl-card.tilting::after, .pr-card.tilting::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 45%); z-index: 5;
}
.pr-card.is-hot.tilting::after { background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.12), transparent 45%); }
[data-stagger] > * { transition-timing-function: var(--ease-out); transition-duration: .7s; }
.sec-head h2 .accent { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .js .ax-up, .js .ax-left, .js .ax-zoom { opacity: 1; transform: none; }
  .ax-words .w > span { transform: none; }
  .fl-layer, .hero-aurora, .ct-aurora { display: none; }
  .hero-cutout, .orb-ico, .pb-person img, .ph-art img, .hw-person, .cl-hero-bg img, .float-chip, .promo-strip, .btn-shine::after { animation: none !important; }
}

/* ========================================================= responsive ==== */
@media (max-width: 1180px) {
  .ct-grid { grid-template-columns: repeat(3, 1fr); }
  .col-grid.five { grid-template-columns: repeat(3, 1fr); }
  .bp-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .bp-toc { display: none; }
  .cf-top { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .cr-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-grid.three { grid-template-columns: repeat(2, 1fr); }
  .hero-stage.v3 { min-height: 480px; }
  .cx-hero-grid, .cx-grid, .cs-layout, .cl-life, .cl-skillband, .cx-career, .bl-feature, .ph-grid { grid-template-columns: 1fr; }
  .cx-side, .cs-filters { position: static; }
  .cx-infobar, .cl-facts { grid-template-columns: repeat(3, 1fr); }
  .cx-infobar > div:nth-child(4), .cl-facts > div:nth-child(4) { border-left: 0; }
  .cx-infobar > div:nth-child(n+4), .cl-facts > div:nth-child(n+4) { border-top: 1px solid var(--dc-line-soft); }
  .cs-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
  .cs-fhead, .cs-fnote { grid-column: 1 / -1; }
  .bp-grid { grid-template-columns: 1fr; }
  .bp-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .ph-art { display: none; }
  .ph-person .ph-grid > div:first-child { padding-bottom: 0; }
  .ph-person { padding-bottom: 56px; }
  .news-band { grid-template-columns: 1fr; }
  .news-person { display: none; }
  .lw-band { grid-template-columns: 150px 1fr; padding-right: 26px; }
  .lw-band .btn { grid-column: 1 / -1; justify-self: start; margin-left: 26px; margin-bottom: 4px; }
  .lw-person { width: 150px; }
  .cl-steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-rows: repeat(2, 200px); }
  .subj-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 280px repeat(2, 180px); }
  .bt-big { grid-column: span 2; grid-row: span 1; }
  .bento-row { grid-template-columns: 1fr; }
  .jr-track { grid-template-columns: 1fr; gap: 34px; }
  .jr-track::before { left: 50%; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; transform: translateX(-50%); }
  .jr-step { background: var(--dc-bg-alt); padding-bottom: 10px; }
  .col-grid, .col-grid.five { grid-template-columns: repeat(2, 1fr); }
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-grid, .pr-grid.pr-n4 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pr-card.is-hot { transform: none; }
  .pr-card.is-hot:hover { transform: translateY(-8px); }
  .cf-top, .cf-mid { grid-template-columns: repeat(2, 1fr); }
  .cf-bottom { grid-template-columns: 1fr; text-align: left; }
  .cx-details { grid-template-columns: repeat(2, 1fr); }
  .cx-expert { grid-template-columns: 1fr; }
  .cx-inst-grid { grid-template-columns: 1fr; }
  .cl-compare { overflow-x: auto; }
  .cl-compare .cl-tr { min-width: 680px; }
  .pb-stage { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .pb-stage::-webkit-scrollbar { display: none; }
  .pb-person { flex: 0 0 46vw; margin: 0 -10px; scroll-snap-align: center; }
  .pb-person.pb-tall { flex-basis: 50vw; }
}
@media (max-width: 768px) {
  .cx-mobile-cta { display: flex; bottom: 58px; }
  .pg-course .cb-fab { bottom: 136px; }
}
@media (max-width: 600px) {
  .hero-v3 { padding: 30px 0 70px; }
  .hero-tagline { font-size: 12px; gap: 8px; padding: 6px 12px 6px 6px; }
  .hero-tagline span .ico { width: 22px; height: 22px; padding: 4px; }
  .hero-tagline i { width: 14px; }
  .rotator { white-space: normal; }
  .hero-stage.v3 { min-height: 400px; }
  .hero-cutout { width: min(300px, 78vw); }
  .orb-ico { width: 38px; height: 38px; border-radius: 12px; }
  .orb-ico .ico { width: 17px; height: 17px; }
  .oi3, .oi4 { display: none; }
  .hero-stage.v3 .fchip-1 { top: 12%; left: 0; }
  .hero-stage.v3 .fchip-4 { bottom: 8%; right: 0; }
  .hero-stage.v3 .fchip-2, .hero-stage.v3 .fchip-3 { display: none; }
  .people-band { padding-top: 56px; }
  .cr-grid, .cr-grid.three, .cr-grid.two, .col-grid, .col-grid.five, .bl-grid { grid-template-columns: 1fr; }
  .ct-grid { gap: 10px; }
  .ct-card { padding: 18px 10px 16px; }
  .ct-ring { width: 60px; height: 60px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: 260px repeat(4, 200px); }
  .bt-big { grid-column: auto; }
  .bt small { max-height: 60px; opacity: 1; }
  .path-v3 .path-card { min-height: 240px; }
  .cx-infobar, .cl-facts { grid-template-columns: 1fr 1fr; }
  .cx-infobar > div, .cl-facts > div { border-left: 0 !important; border-top: 1px solid var(--dc-line-soft); padding: 14px 16px; }
  .cx-learn { grid-template-columns: 1fr; padding: 16px; }
  .cx-hero { padding-bottom: 60px; }
  .fc-a, .fc-b { display: none; }
  .cx-career { padding: 22px; }
  .cs-filters { grid-template-columns: 1fr 1fr; }
  .cl-steps { grid-template-columns: 1fr; }
  .cl-tr { grid-template-columns: 1fr; gap: 4px; }
  .cl-th { display: none; }
  .cl-gallery { grid-template-rows: 130px 130px; }
  .cl-hero { min-height: 420px; padding: 50px 0 70px; }
  .bp-cover { aspect-ratio: 16/10; }
  .bp-side { grid-template-columns: 1fr; }
  .bp-hero { padding-bottom: 120px; }
  .bp-cover-wrap { margin-top: -96px; }
  .cf-top, .cf-mid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cf-app { grid-column: 1 / -1; }
  .subj-row { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .subj-row a { font-size: 11px; }
  .lw-band { grid-template-columns: 1fr; padding: 24px; text-align: left; }
  .lw-person { display: none; }
  .lw-band .btn { margin-left: 0; }
  .mm-quick { grid-template-columns: repeat(4, 1fr); }
  .role-person { width: 38%; }
}

/* phone header: brand, search and one CTA only */
@media (max-width: 600px) {
  .header-actions .link-login { display: none; }
  .hs-toggle { width: 36px; height: 36px; }
  .header-actions .btn-sm { padding: 9px 13px; font-size: 12.5px; }
  .promo-pill { display: none; }
  .promo-strip .container { font-size: 11.5px; line-height: 1.4; }
  .promo-strip a { white-space: nowrap; }
}
@media (max-width: 380px) {
  .header-actions .btn-sm { padding: 8px 10px; font-size: 12px; }
  .brand-name { font-size: 14px; }
}

/* the drawer owns the screen while it's open */
.drawer.open ~ .bottom-nav, .drawer.open ~ .cb-fab, .drawer.open ~ .cx-mobile-cta { transform: translateY(160%) !important; transition: transform .25s var(--ease-out); }
.mm .drawer-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0)); background: #fff; }

/* ===================== mega panels: never wider than the screen ======== */
/* fx.js measures each panel on hover and sets --mx-left so it opens under its
   menu item but is pushed back inside a 16px safe margin on either side. */
.mx-xl { width: min(1040px, calc(100vw - 32px)); }
.mx-lg { width: min(820px, calc(100vw - 32px)); }
.main-nav > li > .mega.mx { left: var(--mx-left, 0); right: auto; }

/* new crest logo */
.brand img { width: 44px; height: 44px; border-radius: 0; object-fit: contain; }
.cf-bottom .brand img { width: 56px; height: 56px; }
.cr-org img, .cx-org img, .bp-by img, .bp-author img { border: 0; background: #fff; object-fit: contain; }
/* drawer always on top, close button easy to hit on every device */
.drawer-overlay { z-index: 2100; }
.drawer { z-index: 2101; }
.mm-close, [data-drawer-close] { position: relative; z-index: 5; min-width: 44px; min-height: 44px; touch-action: manipulation; cursor: pointer; }
.mm-close * { pointer-events: none; }

/* bigger crest logo */
:root { --header-h: 84px; }
.header-inner { height: 84px; }
.site-header .brand img { width: 64px; height: 64px; }
.brand-name { font-size: 20px; }
.brand-tag { font-size: 10.5px; }
.mm .drawer-head .brand img { width: 56px; height: 56px; }
.cf-bottom .brand img { width: 84px; height: 84px; }
@media (max-width: 600px) {
  .header-inner { height: 70px; }
  .site-header .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 16px; }
}

/* ============================================ on-site lesson player ==== */
.wp { background: #0B1230; color: #fff; padding: 18px 0 48px; min-height: 70vh; }
.wp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.wp-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #C7D2FE; }
.wp-back:hover { color: #fff; }
.wp-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #A9B5D8; }
.wp-progress i { display: block; width: 180px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.wp-progress i b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34D399, #38BDF8); transition: width .4s; }
.wp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.wp-frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.wp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; background: linear-gradient(135deg, #1B1F63, #2E1E6B); }
.wp-empty b { font-family: var(--font-head); font-size: 20px; }
.wp-empty p { color: #B9C4E4; max-width: 420px; font-size: 14px; }
.wp-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.wp-meta small { color: #93A0C8; font-size: 12.5px; }
.wp-meta h1 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); margin-top: 4px; }
.wp-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.wp .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.wp .btn-outline:hover { border-color: #fff; color: #fff; }
.wp [data-wp-mark].is-on { background: rgba(52,211,153,.18); border-color: #34D399; color: #A7F3D0; }
.wp-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #C7D2FE; }
.wp-note .ico { color: #FDE68A; flex-shrink: 0; }
.wp-note a { color: #fff; font-weight: 700; text-decoration: underline; }
.wp-side { background: #fff; color: var(--dc-ink); border-radius: 16px; overflow: hidden; position: sticky; top: calc(var(--header-h) + 12px); }
.wp-side-h { padding: 14px 16px; border-bottom: 1px solid var(--dc-line); }
.wp-side-h b { display: block; font-family: var(--font-head); }
.wp-side-h span { font-size: 12px; color: var(--dc-muted); }
.wp-list { max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; }
.wp-mod { border-bottom: 1px solid var(--dc-line-soft); }
.wp-mod-h { width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 16px; text-align: left; background: var(--dc-bg-alt); }
.wp-mod-h b { flex: 1; font-family: var(--font-head); font-size: 13.5px; }
.wp-mod-h span { font-size: 11.5px; color: var(--dc-muted); }
.wp-mod-h .ico { transition: transform .2s; }
.wp-mod.open .wp-mod-h .ico { transform: rotate(180deg); }
.wp-mod ol { display: none; }
.wp-mod.open ol { display: block; }
.wp-mod li a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; color: var(--dc-body); border-left: 3px solid transparent; }
.wp-mod li a:hover { background: var(--dc-blue-soft); }
.wp-mod li a.is-current { background: var(--dc-blue-soft); border-left-color: var(--dc-blue); color: var(--dc-ink); font-weight: 600; }
.wp-tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--dc-line); display: grid; place-items: center; flex-shrink: 0; color: transparent; }
.wp-mod li a.is-done .wp-tick { background: var(--dc-green); border-color: var(--dc-green); color: #fff; }
.wp-ln { font-size: 11px; color: var(--dc-muted); min-width: 18px; }
.wp-lt { flex: 1; line-height: 1.4; }
@media (max-width: 1000px) {
  .wp-grid { grid-template-columns: 1fr; }
  .wp-side { position: static; }
  .wp-list { max-height: 420px; }
  .wp-progress i { width: 120px; }
}
@media (max-width: 600px) {
  .wp { padding-top: 10px; }
  .wp > .container.wp-grid { padding-inline: 0; }
  .wp-frame { border-radius: 0; }
  .wp-meta, .wp-note { margin-inline: 16px; }
  .wp-nav .btn { flex: 1 1 auto; }
}
