/*
 * Digital Janit homepage design (used only by front-page.php).
 * Light theme is the default; dark is opt-in via the header switch.
 */
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
body.dj-home { min-height: 100%; }
body.dj-home button { font-family: inherit; }
body.dj-home ul { margin: 0; }
/* Layout: research-led course site. Mobile-first single column that opens to a 12-col desktop grid; proof sits right under the hero, a bento grid shows what's included, a sticky bottom bar carries the one action on phones. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --soft: #F5F7FC;
  --ink: #0E1430;
  --ink-2: #4B5475;
  --ink-3: #7A82A0;
  --line: #E6E9F2;
  --blue: #0A6BD6;
  --blue-700: #0756B0;
  --blue-50: #E8F2FD;
  --violet: #0B4FA8;
  --violet-50: #E6EEF9;
  --amber: #F7890C;
  --amber-50: #FFF1E2;
  --wa: #1FAF5A;
  --font: "Inter", "Hind", "Segoe UI", system-ui, sans-serif;
  --hindi: "Inter", "Hind", sans-serif;
  --mono: "Inter", "Hind", "Segoe UI", system-ui, sans-serif; /* Inter everywhere, numbers line up via tabular-nums. */
  --r: 20px;
  --shadow: 0 1px 2px rgba(14,20,48,.04), 0 10px 30px -14px rgba(14,20,48,.16);
  --shadow-lg: 0 2px 6px rgba(14,20,48,.04), 0 30px 60px -28px rgba(10,107,214,.35);
  --surface: #FFFFFF;
  --line-strong: #BFD7F5;
  --ok: #128C4A;
  --ok-50: #E3F6EA;
  --amber-ink: #9A4D00;
  --glass: rgba(255,255,255,.88);
  --glow1: #E3EFFC;
  --glow2: #FFF1E4;
  --night: #0E1430;
  --cert-tile: linear-gradient(160deg, #EEF5FD, #FFFFFF 55%, #FFF3E6);
  --cover-dim: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0F22; --soft: #0E1430; --surface: #131A36; --ink: #EAEDF8; --ink-2: #A9B1D0; --ink-3: #7F88AB;
  --line: #242C50; --line-strong: #2C4F80; --blue: #3D93F5; --blue-700: #2F86EE; --blue-50: #0F2647;
  --violet: #7DB8FF; --violet-50: #13284A; --amber: #FF9F33; --amber-50: #2A1C0C; --amber-ink: #FFB766;
  --ok: #46D995; --ok-50: #10301F; --glass: rgba(12,17,38,.84); --glow1: #0E2650; --glow2: #2A1C0C; --night: #060A1A;
  --cert-tile: linear-gradient(160deg, #0F2647, #131A36 55%, #2A1C0C);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 30px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.3), 0 30px 60px -28px rgba(61,147,245,.45);
  --cover-dim: saturate(.9) brightness(.82);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
[lang="hi"], .hi { font-family: var(--hindi); }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.grad { background: linear-gradient(95deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 700 1rem/1 var(--font); letter-spacing: -0.01em; padding: 16px 24px; border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, background .18s; position: relative; overflow: hidden; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(10,107,214,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--blue-700); }
.btn-wa { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); }
.btn-wa svg { width: 20px; height: 20px; fill: var(--wa); }
.btn-ghost { background: var(--blue-50); color: var(--blue); }
.btn-sm { padding: 11px 16px; font-size: .93rem; border-radius: 12px; }
.btn-block { width: 100%; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.5); animation: ripple .65s ease-out forwards; pointer-events: none; }
.btn-wa .ripple, .btn-ghost .ripple { background: rgba(10,107,214,.18); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Announcement + header */
.announce { background: var(--night); color: #DDE3FF; font-size: .9rem; text-align: center; padding: 9px 16px; }
.announce a { color: #fff; font-weight: 700; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--glass); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; white-space: nowrap; }
.mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 800; box-shadow: 0 8px 16px -6px rgba(11,79,168,.6), inset 0 1px 0 rgba(255,255,255,.35); position: relative; }
.mark::after { content: ""; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); border: 2px solid var(--surface); }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-2); font-size: .94rem; }
nav.main a:hover { color: var(--ink); background: var(--soft); }
nav.main a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.top-actions { display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: var(--soft); color: var(--ink); border: 0; border-radius: 10px; padding: 10px 14px; font: 700 .92rem var(--font); cursor: pointer; }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .top-actions { display: none; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: var(--shadow); }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 12px; font-size: 1.05rem; }
}

/* Sections */
.band { padding-block: 88px; }
.band-soft { background: var(--soft); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.row-between .sec-head { margin-bottom: 0; }
.stack { display: grid; gap: 16px; }
@media (max-width: 760px) { .band { padding-block: 60px; } .sec-head { margin-bottom: 28px; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 48px 40px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 20%, var(--glow1) 0%, transparent 60%), radial-gradient(40% 50% at 60% 90%, var(--glow2) 0%, transparent 60%), var(--bg); }
.hero .gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 60% at 75% 40%, #000 15%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 60% 60% at 75% 40%, #000 15%, transparent 72%); opacity: .6; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 28px; align-items: center; }
.hero-grid > * { min-width: 0; }
.for-who { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 22px; }
.for-who b { background: var(--blue-50); color: var(--blue); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; animation: wordUp .95s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 70ms + 100ms); }
@keyframes wordUp { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
.hero .sub { margin-top: 18px; }
.hero .hindi-line { margin-top: 10px; font-family: var(--hindi); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 22px; justify-content: start; margin-top: 30px; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust svg { width: 18px; height: 18px; flex: none; stroke: var(--blue); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rise { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes rise { from { transform: translateY(16px); opacity: .001; } to { transform: none; opacity: 1; } }
.stage { position: relative; height: 540px; max-width: 100%; }
.stage::before { content: ""; position: absolute; inset: 14% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(10,107,214,.20), rgba(11,79,168,.10) 45%, transparent 70%); filter: blur(24px); }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#hero3d:active { cursor: grabbing; }
.chip3d { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px 9px 9px; box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 700; pointer-events: none; white-space: nowrap; animation: chipIn .9s cubic-bezier(.16,1,.3,1) both, bob 6s ease-in-out 1s infinite; }
.chip3d i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: .95rem; }
.chip3d small { display: block; font-weight: 500; color: var(--ink-3); font-size: .76rem; line-height: 1.2; }
.chip3d.c1 { left: 2%; top: 9%; animation-delay: 1.3s, 0s; }
.chip3d.c2 { right: 0; top: 48%; animation-delay: 1.5s, -2s; }
.chip3d.c3 { left: 6%; bottom: 7%; animation-delay: 1.7s, -4s; }
@keyframes chipIn { from { transform: translateY(14px) scale(.92); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { translate: 0 -9px; } }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .stage { height: 400px; } .trust { grid-template-columns: repeat(2, auto); } }
@media (max-width: 520px) { .stage { height: 330px; } .chip3d small { display: none; } .chip3d { font-size: .8rem; } .hero { padding-block: 28px 24px; } .hero .actions .btn { flex: 1 1 100%; } }

/* Proof strip right under the hero */
.proof { border-block: 1px solid var(--line); background: var(--surface); padding-block: 22px; }
.proof .wrap { display: flex; align-items: center; gap: 28px; }
.proof-label { flex: none; font-size: .86rem; font-weight: 700; color: var(--ink-3); max-width: 150px; line-height: 1.35; }
.proof-track-wrap { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.proof-track { display: flex; gap: 14px; width: max-content; animation: slide 36s linear infinite; }
.proof-track:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.alum { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .93rem; white-space: nowrap; transition: border-color .2s; }
.alum:hover { border-color: var(--blue); }
.alum .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; background: radial-gradient(circle at 30% 25%, var(--a1), var(--a2) 70%); }
.alum small { font-weight: 600; color: var(--ok); background: var(--ok-50); padding: 2px 8px; border-radius: 999px; font-size: .72rem; }
@media (max-width: 640px) { .proof .wrap { flex-direction: column; align-items: stretch; gap: 12px; } .proof-label { max-width: none; } }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.oc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.oc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.oc .verb { font-size: .78rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .06em; }
.oc p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }

/* Icon tiles */
.ico3d { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, var(--a1), var(--a2)); box-shadow: 0 10px 18px -8px var(--a2), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.12); flex: none; color: #fff; font-weight: 800; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.ico3d svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ib { --a1: #4D9BEA; --a2: #0A6BD6; } .iv { --a1: #5AA2F0; --a2: #0B4FA8; } .ia { --a1: #FFB766; --a2: #E07600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover .ico3d { transform: rotate3d(1, 1, 0, 16deg) scale(1.06); }
.tile p { color: var(--ink-2); font-size: .96rem; }
.t-cert { grid-column: span 2; grid-row: span 2; background: var(--cert-tile); align-content: space-between; }
.t-wide { grid-column: span 2; }
.t-lang { grid-column: span 2; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; border: 0; }
.t-lang h3, .t-lang p { color: #fff; }
.t-lang p { opacity: .85; }
.t-lang .big { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.t-lang .big span:first-child { font-family: var(--hindi); }
.t-lang .big i { font-style: normal; opacity: .5; font-weight: 500; }
.t-dark { background: var(--night); border: 0; }
.t-dark h3 { color: #fff; } .t-dark p { color: #B8BFDA; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .t-cert { grid-row: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .t-cert, .t-wide, .t-lang { grid-column: span 1; } }

/* Certificate (3D) */
.cert-stage { perspective: 1500px; display: grid; place-items: center; padding-block: 8px; }
.cert { position: relative; width: min(100%, 470px); aspect-ratio: 1.414; border-radius: 16px; background: linear-gradient(150deg, #FFFFFF, #F3F8FE 60%, #FFF3E6); border: 1px solid var(--line); box-shadow: 0 46px 70px -38px rgba(31,59,214,.5), 0 18px 26px -18px rgba(14,20,48,.25); transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-14deg); animation: certIdle 8s ease-in-out infinite; padding: 7% 8%; display: grid; align-content: space-between; overflow: hidden; }
.cert.live { animation: none; transition: transform .18s ease-out; }
@keyframes certIdle { 0%,100% { transform: rotateX(8deg) rotateY(-14deg); } 50% { transform: rotateX(4deg) rotateY(-5deg) translateY(-8px); } }
.cert::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid rgba(10,107,214,.22); border-radius: 11px; pointer-events: none; }
.cert .holo { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .5; background: linear-gradient(115deg, transparent 30%, rgba(122,147,255,.5) 42%, rgba(255,214,120,.55) 50%, rgba(160,120,255,.45) 58%, transparent 70%); background-size: 250% 250%; background-position: var(--hx, 30%) var(--hy, 30%); transition: background-position .18s; }
.cert .c-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; transform: translateZ(18px); }
.cert .c-top .brand { font-size: .95rem; }
.cert .c-top .mark { width: 28px; height: 28px; font-size: .72rem; border-radius: 9px; }
.cert .c-title { font-family: var(--mono); font-size: clamp(.55rem, 1.4vw, .7rem); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.cert .c-body { display: grid; gap: 3px; transform: translateZ(32px); }
.cert .c-small { font-size: clamp(.68rem, 1.6vw, .82rem); color: var(--ink-2); }
.cert .c-name { font-size: clamp(1.3rem, 4vw, 2.1rem); font-weight: 800; font-style: italic; letter-spacing: -0.04em; background: linear-gradient(90deg, var(--blue-700), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cert .c-course { font-size: clamp(.85rem, 2.2vw, 1.05rem); font-weight: 800; letter-spacing: -0.02em; }
.cert .c-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; transform: translateZ(22px); }
.cert .sig { display: grid; gap: 2px; font-size: clamp(.58rem, 1.4vw, .72rem); color: var(--ink-3); }
.cert .sig b { font-size: clamp(.85rem, 2vw, 1.02rem); font-style: italic; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cert .cid { font-family: var(--mono); font-size: clamp(.5rem, 1.2vw, .62rem); color: var(--ink-3); }
.seal { width: clamp(54px, 13vw, 80px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: clamp(.48rem, 1.2vw, .6rem); font-weight: 800; letter-spacing: .08em; color: #3A2600; background: radial-gradient(circle at 32% 28%, #FFD6A3, var(--amber) 55%, #C86400); box-shadow: 0 14px 22px -10px rgba(200,100,0,.8), inset 0 -6px 12px rgba(0,0,0,.15), inset 0 4px 6px rgba(255,255,255,.6); transform: translateZ(56px) rotate(-8deg); outline: 3px dashed rgba(255,255,255,.55); outline-offset: -8px; }

/* Courses */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); perspective: 1400px; }
.course { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease-out, box-shadow .25s, border-color .25s; transform-style: preserve-3d; text-decoration: none; }
.course:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.cover { aspect-ratio: 16 / 8.5; max-width: 100%; position: relative; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 120% at 100% 0%, var(--t2) 0%, var(--t1) 60%); overflow: hidden; }
.cover::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -50px; bottom: -86px; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 58%); opacity: .9; box-shadow: inset -18px -18px 36px rgba(0,0,0,.12); }
.cover::after { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; right: 134px; top: -20px; background: radial-gradient(circle at 35% 30%, #fff, var(--c2) 60%); opacity: .85; }
.cover .tag { position: relative; z-index: 1; align-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.cover .glyph { position: relative; z-index: 1; font-weight: 800; font-size: 2.7rem; line-height: 1; letter-spacing: -0.04em; color: var(--c); text-shadow: 1px 1px 0 var(--cd), 2px 2px 0 var(--cd), 3px 3px 0 var(--cd), 4px 4px 0 var(--cd), 8px 12px 18px rgba(14,20,48,.22); transition: transform .3s ease-out; }
.course:hover .glyph { transform: translateZ(36px) scale(1.05); }
.course .body { padding: 18px 20px 6px; display: grid; gap: 8px; flex: 1; align-content: start; }
.course .meta { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.chip.lang { background: var(--blue-50); color: var(--blue); }
.course .desc { color: var(--ink-2); font-size: .95rem; }
.course .foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 18px; margin-top: auto; font-weight: 700; color: var(--blue); }
.arrow-btn { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; transition: transform .25s, background .25s, color .25s; }
.course:hover .arrow-btn { background: var(--blue); color: #fff; transform: translateX(3px); }
.c-dm { --t1: #EAF3FD; --t2: #D6E8FB; --c: #0A6BD6; --cd: #06417F; --c2: #F7890C; }
.c-seo { --t1: #E9F8F2; --t2: #CFF0E3; --c: #12A07A; --cd: #0A6A50; --c2: #0A6BD6; }
.c-gmb { --t1: #EAF5FF; --t2: #D3EAFF; --c: #1E86E0; --cd: #0F5594; --c2: #F7890C; }
.c-meta { --t1: #F4EFFF; --t2: #E6DBFF; --c: #0B4FA8; --cd: #083A7A; --c2: #F7890C; }
.c-canva { --t1: #E8F8FB; --t2: #CDEFF5; --c: #0A9FB4; --cd: #066776; --c2: #0B4FA8; }
.c-wp { --t1: #EEF3F8; --t2: #DCE6F1; --c: #21759B; --cd: #124A63; --c2: #F7890C; }
.c-lp { --t1: #FFF2EA; --t2: #FFE2CF; --c: #F06A1E; --cd: #A64311; --c2: #0A6BD6; }
.c-notes { --t1: #FFF8E6; --t2: #FFEDC0; --c: #D98E00; --cd: #8F5E00; --c2: #0B4FA8; }
.tilt .shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 50%); opacity: 0; transition: opacity .2s; z-index: 3; mix-blend-mode: soft-light; }
.tilt:hover .shine { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { font: 700 .9rem var(--font); padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 8px 16px -8px rgba(10,107,214,.8); }
.filters .sep { width: 1px; background: var(--line); margin-inline: 4px; }
.empty { padding: 40px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--r); grid-column: 1 / -1; }

/* Learning path (a real sequence) */
.path { position: relative; display: grid; gap: 18px; counter-reset: ms; }
.path::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--blue), var(--violet)); opacity: .35; }
.ms { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.ms .num { counter-increment: ms; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--blue-50); color: var(--blue); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow); position: relative; z-index: 1; }
.ms .num::before { content: counter(ms, decimal-leading-zero); }
.ms .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 10px; box-shadow: var(--shadow); min-width: 0; }
.ms .card .hd { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ms .covers { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.ms ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ms li { display: flex; gap: 10px; color: var(--ink-2); font-size: .97rem; }
.ms li::before { content: "→"; color: var(--blue); font-weight: 800; }
.proj { display: inline-flex; gap: 8px; align-items: center; justify-self: start; font-size: .86rem; font-weight: 700; background: var(--amber-50); color: var(--amber-ink); padding: 6px 12px; border-radius: 10px; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.tool { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .95rem; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tool:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.tool i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .82rem; color: #fff; background: var(--tc); flex: none; }

/* Trainer */
.trainer { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.trainer > * { min-width: 0; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 28px; background: linear-gradient(160deg, var(--blue-50), var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.portrait::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; bottom: -70px; left: 50%; translate: -50% 0; background: radial-gradient(circle at 35% 30%, #A9CDF5, var(--blue) 65%); box-shadow: inset -24px -24px 50px rgba(0,0,0,.15); }
.portrait b { position: relative; z-index: 1; font-size: 5rem; font-weight: 800; letter-spacing: -0.05em; color: #fff; text-shadow: 0 12px 30px rgba(14,20,48,.3); }
.portrait small { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; font-size: .78rem; color: var(--ink-3); text-align: center; }
.tr-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.tr-points > div { background: var(--soft); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.tr-points p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 880px) { .trainer { grid-template-columns: 1fr; } .portrait { max-width: 300px; } .tr-points { grid-template-columns: 1fr; } }

/* Placement */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 18px; perspective: 1200px; }
.person { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; display: grid; gap: 12px; justify-items: start; align-content: start; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s ease-out, box-shadow .25s, border-color .25s; transform-style: preserve-3d; overflow: hidden; }
.person:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.avatar { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: radial-gradient(circle at 30% 25%, var(--a1), var(--a2) 70%); box-shadow: 0 12px 20px -10px var(--a2), inset 0 -4px 8px rgba(0,0,0,.15); transition: transform .3s ease-out; }
.person:hover .avatar { transform: translateZ(28px); }
.placed { font-size: .72rem; font-weight: 700; color: var(--ok); background: var(--ok-50); padding: 3px 9px; border-radius: 999px; }
.person .go { color: var(--blue); font-weight: 700; font-size: .93rem; }
.av1 { --a1: #4D9BEA; --a2: #0A6BD6; } .av2 { --a1: #5AA2F0; --a2: #0B4FA8; } .av3 { --a1: #FFB766; --a2: #E07600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary { cursor: pointer; padding: 19px 22px; font-weight: 700; font-size: 1.03rem; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .in { padding: 0 22px 20px; color: var(--ink-2); display: grid; gap: 10px; }
.faq ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.link { color: var(--blue); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* CTA with lead form */
.cta-shell { position: relative; border-radius: 30px; padding: 2px; background: conic-gradient(from var(--ang), #0A6BD6, #0B4FA8, #F7890C, #0B4FA8, #0A6BD6); animation: spinang 7s linear infinite; box-shadow: var(--shadow-lg); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinang { to { --ang: 360deg; } }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; color: #fff; background: linear-gradient(125deg, #0A6BD6 0%, #0756B0 55%, #0A4C9E 100%); }
.cta::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; left: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFD6A3, var(--amber) 55%, #C86400); box-shadow: inset -30px -30px 60px rgba(0,0,0,.18); }
.cta h2 { color: #fff; }
.cta .lede { color: #D6E8FB; margin-top: 12px; }
.cta ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.cta li { display: flex; gap: 10px; color: #EAF3FD; font-weight: 600; }
.cta li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: .75rem; flex: none; }
form.lead { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
form.lead h3 { font-size: 1.2rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea { font: 500 1rem var(--font); padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); width: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 4px var(--blue-50); }
.field textarea { min-height: 100px; resize: vertical; }
.form-msg { background: var(--ok-50); color: var(--ok); padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .93rem; }
.fine { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 34px 22px; } }

/* Page heads (inner pages) */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: 64px 56px; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, var(--glow1) 0%, transparent 60%), radial-gradient(40% 60% at 0% 100%, var(--glow2) 0%, transparent 60%), var(--bg); }
.page-head .stack { max-width: 780px; }
.crumbs { font-size: .88rem; color: var(--ink-3); display: flex; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--ink-2); font-weight: 600; }

/* Course detail */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail > * { min-width: 0; }
.buybox { background: var(--surface); border-radius: 24px; padding: 20px; display: grid; gap: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 86px); }
.buybox .cover { border-radius: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.price .todo { font-size: .76rem; font-weight: 700; color: var(--amber-ink); background: var(--amber-50); padding: 3px 8px; border-radius: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: start; font-size: .95rem; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: .72rem; font-weight: 800; margin-top: 2px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 8px; }
.facts-row > div { background: var(--surface); padding: 16px 18px; display: grid; gap: 2px; }
.facts-row span { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.facts-row b { font-size: 1rem; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.fit .yes { background: var(--blue-50); }
.fit .no { background: var(--soft); }
.fit ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
details.mod { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
details.mod[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
details.mod summary { cursor: pointer; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; list-style: none; }
details.mod summary::-webkit-details-marker { display: none; }
details.mod summary::after { content: "+"; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; transition: transform .25s; }
details.mod[open] summary::after { transform: rotate(45deg); }
.mod-n { font-family: var(--mono); font-size: .78rem; color: var(--blue); background: var(--blue-50); padding: 3px 8px; border-radius: 7px; }
.mod-t { font-weight: 700; letter-spacing: -0.01em; }
.mod-t small { display: block; font-weight: 500; color: var(--ink-3); font-size: .85rem; letter-spacing: 0; }
details.mod .in { padding: 0 20px 18px 20px; color: var(--ink-2); display: grid; gap: 10px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .buybox { position: static; } .facts-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } }

/* Resources / contact */
.res { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.res-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.res-card ul { margin: 0; padding: 0; list-style: none; }
.res-card li a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .97rem; font-weight: 500; }
.res-card li:last-child a { border-bottom: 0; }
.res-card li a:hover { color: var(--blue); }
.res-card li a span:last-child { color: var(--blue); font-weight: 800; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact > * { min-width: 0; }
.contact form.lead { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.c-list { display: grid; gap: 12px; margin-top: 24px; }
.c-list a { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.c-list a:hover { transform: translateY(-2px); }
.c-list span span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: var(--night); color: #A9B1CF; padding-block: 64px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: #fff; }
footer .brand { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

/* Sticky actions */
.float-wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(31,175,90,.8); transition: transform .2s; text-decoration: none; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
.float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }
@media (max-width: 760px) {
  .float-wa { display: none; }
  .mbar { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--glass); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14,20,48,.3); transform: translateY(110%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .mbar.show { transform: none; }
  .mbar .btn { padding: 14px 16px; }
  body { padding-bottom: 76px; }
}

/* Progress + reveal */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 60; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--violet)); pointer-events: none; }
.reveal { transform: translateY(34px); opacity: .001; transition: transform .95s cubic-bezier(.16,1,.3,1), opacity .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { transform: none; opacity: 1; }
.page { animation: fade .35s ease both; }
@keyframes fade { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* ===== v2.1 refinements ===== */
/* Lighter, more refined headings */
h1 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-weight: 600; letter-spacing: -0.026em; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.brand { font-weight: 700; }
.btn { font-weight: 600; }
.t-lang .big { font-weight: 650; }
.price b { font-weight: 700; }
.faq summary, .mod-t { font-weight: 600; }
.ms .num { font-weight: 700; }
.cover .glyph { font-weight: 750; }

/* Trust points: never break mid-phrase */
.trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
.trust li { white-space: nowrap; }

/* Instant hero picture; the live 3D fades in over it */
.hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease; }
.stage.gl-ready .hero-fallback { opacity: 0; }
.fb-float { animation: fbFloat 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fb-float.d1 { animation-delay: -1.5s; } .fb-float.d2 { animation-delay: -3s; } .fb-float.d3 { animation-delay: -4.5s; } .fb-float.d4 { animation-delay: -2.2s; }
@keyframes fbFloat { 50% { transform: translateY(-10px); } }

/* Dark band for rhythm (learning path) */
.band-dark { background: var(--night); color: #C9CFEA; position: relative; overflow: hidden; isolation: isolate; }
.band-dark::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(11,79,168,.32), transparent 65%); pointer-events: none; }
.band-dark::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(10,107,214,.28), transparent 65%); pointer-events: none; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: #AEB6D6; }
.band-dark .eyebrow { color: #9CC8FF; }
.band-dark .path::before { opacity: .6; }
.band-dark .ms .num { background: #0F2245; border-color: #1E3F6E; color: #9CC8FF; box-shadow: none; }
.band-dark .ms .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); box-shadow: none; transition: background .25s, border-color .25s, transform .25s; }
.band-dark .ms .card:hover { background: rgba(255,255,255,.075); border-color: rgba(156,200,255,.35); transform: translateX(4px); }
.band-dark .ms li { color: #C9CFEA; }
.band-dark .ms li::before { color: #9CC8FF; }
.band-dark .ms .covers { color: #8F98BC; }
.band-dark .proj { background: rgba(247,137,12,.14); color: #FFB766; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
/* ===== Brand logo ===== */
.logo { display: block; height: 46px; aspect-ratio: 285 / 128; max-width: 100%; background: url("logo.png") left center / contain no-repeat; }
.top .logo { height: 54px; }
footer .logo { height: 56px; filter: brightness(1.25) saturate(1.1); }
.logo-cert { height: 38px; margin-bottom: 4px; }
:root[data-theme="dark"] .top .logo { filter: brightness(1.3) saturate(1.1); }
@media (max-width: 520px) { .top .logo { height: 40px; } }
/* ===== Icons + theme switch ===== */
svg.lucide { width: 1.15em; height: 1.15em; flex: none; stroke-width: 2; }
.ico3d svg.lucide { width: 23px; height: 23px; color: #fff; stroke-width: 2.1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.trust svg.lucide { width: 19px; height: 19px; color: var(--blue); stroke: currentColor; fill: none; }
.chip3d i svg.lucide { width: 17px; height: 17px; }
.tick svg.lucide { width: 13px; height: 13px; stroke-width: 3; }
.arrow-btn svg.lucide { width: 18px; height: 18px; stroke-width: 2.4; }
.btn svg.lucide { width: 18px; height: 18px; }
.theme-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; transition: border-color .2s, transform .2s; }
.theme-btn:hover { border-color: var(--line-strong); transform: rotate(-12deg); }
.theme-btn svg.lucide { width: 19px; height: 19px; grid-area: 1 / 1; transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .3s; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
@media (max-width: 1040px) { .theme-btn { margin-left: 4px; } }

.alum { color: var(--ink); }
.tools { display: flex; flex-wrap: wrap; justify-content: center; }
.tool { flex: 0 1 205px; }
@media (max-width: 480px) { .tool { flex: 1 1 140px; } }

/* Brand logos in the tools grid */
.tool i svg { width: 19px; height: 19px; fill: #fff; }
.tool i { box-shadow: 0 8px 14px -8px var(--tc), inset 0 1px 0 rgba(255,255,255,.25); }

/* Dark-theme details */
html { transition: background-color .3s; }
body, .top, .tile, .course, .oc, .person, .tool, .faq details, details.mod, .res-card, .buybox, .proof, .alum { transition: background-color .3s, border-color .3s, color .3s; }
.cover { filter: var(--cover-dim); }
.cover .tag { color: #0E1430; }
.cert { --ink: #0E1430; --ink-2: #4B5475; --ink-3: #7A82A0; --line: #E6E9F2; color: #0E1430; }
:root[data-theme="dark"] .band-dark { border-block: 1px solid var(--line); }
:root[data-theme="dark"] .hero .gridlines { opacity: .35; }
:root[data-theme="dark"] .stage::before { background: radial-gradient(circle, rgba(61,147,245,.28), rgba(247,137,12,.14) 45%, transparent 70%); }
:root[data-theme="dark"] .t-lang { background: linear-gradient(135deg, #0A6BD6, #0B4FA8); }
:root[data-theme="dark"] .hero-fallback polygon[fill="#FFFFFF"] { fill: #1E3A63; }
:root[data-theme="dark"] .hero-fallback rect[fill="#E9EDFB"] { fill: #15284A; }
:root[data-theme="dark"] .float-wa { box-shadow: 0 14px 28px -10px rgba(31,175,90,.6); }

/* ===== WordPress template additions ===== */
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.stats div { display: grid; }
.stats b { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { font-size: .86rem; color: var(--ink-2); }
.cover-img { padding: 0; background: var(--soft); filter: none; }
.cover-img::before, .cover-img::after { display: none; }
.cover-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.course:hover .cover-img img { transform: scale(1.04); }
.cover-img .tag { position: absolute; left: 14px; top: 14px; }
.course .foot .price { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); }
.course .foot .price b { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.course .foot .price del { color: var(--ink-3); font-size: .88rem; font-weight: 500; }
.chip.rating { display: inline-flex; align-items: center; gap: 4px; background: var(--amber-50); color: var(--amber-ink); }
.chip.rating svg.lucide { width: 13px; height: 13px; fill: currentColor; }
.chip.rating span { font-weight: 500; opacity: .8; }
.alum .av-img, .avatar-img { object-fit: cover; padding: 0; }
.alum .av-img { width: 34px; height: 34px; border-radius: 50%; }
.avatar-img { width: 62px; height: 62px; border-radius: 50%; box-shadow: var(--shadow); }
.path-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.path-head { position: sticky; top: 110px; }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; gap: 32px; } .path-head { position: static; } }
.cta-wrap { padding-block: 88px; }
@media (max-width: 760px) { .cta-wrap { padding-block: 60px; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg.err { background: #FDECEC; color: #B42318; }
:root[data-theme="dark"] .form-msg.err { background: #3A1414; color: #FF9B91; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.tile .link { justify-self: start; }
.top nav.main a { white-space: nowrap; }

/* Inter everywhere: numbers keep equal widths where they used to be monospace. */
.cert .c-title, .cert .cid, .mod-n { font-variant-numeric: tabular-nums; }
