/* NXW website styles (from the NXW app, menu WEB > NXW) */
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Light.ttf); font-weight: 300; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Bold.ttf); font-weight: 700; font-display: swap; }
:root {
  --midnight: #070F22; --navy: #0B1A3A; --navy2: #0E2145; --royal: #0A4DB8; --sky: #2E9BFF; --gold: #D4A440; --gold2: #F0D890;
  --ink: #13203A; --muted: #5B6B84; --line: #E1E7F0; --paper: #F5F7FB;
  --orbit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-width='1.3'%3E%3Cellipse cx='840' cy='330' rx='980' ry='230' transform='rotate(-10 840 330)' stroke='rgba(46,155,255,.22)'/%3E%3Cellipse cx='800' cy='310' rx='1180' ry='330' transform='rotate(-12 800 310)' stroke='rgba(212,164,64,.22)'/%3E%3Cellipse cx='760' cy='300' rx='1400' ry='430' transform='rotate(-8 760 300)' stroke='rgba(46,155,255,.12)'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, "Segoe UI", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.65; font-size: 15.5px; }
a { color: var(--royal); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- top bar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,15,34,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(212,164,64,.45); }
.nav-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 10px 22px; }
.brand { flex: 0 0 auto; } .brand img { height: 46px; width: auto; max-width: none; display: block; }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { position: relative; color: #D5DEEC; text-decoration: none; font-weight: 500; font-size: 13.5px; letter-spacing: .6px; padding: 10px 12px; text-transform: uppercase; white-space: nowrap; transition: color .15s; }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.menu a:hover { color: #fff; } .menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.menu a.on { color: var(--gold2); }
.menu a.cta-link { background: var(--gold); color: var(--navy); border-radius: 8px; padding: 8px 16px; margin-left: 6px; font-weight: 700; }
.menu a.cta-link::after { display: none; } .menu a.cta-link:hover { background: var(--gold2); }
.tools { display: flex; align-items: center; gap: 10px; }
.sbox { position: relative; display: flex; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 0 12px; }
.sbox:focus-within { border-color: var(--gold); background: rgba(255,255,255,.12); }
.sbox svg { width: 15px; height: 15px; color: #AFC0DA; flex: 0 0 15px; }
.sbox input { width: 140px; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 13px; padding: 8px; transition: width .2s; }
.sbox input:focus { width: 200px; } .sbox input::placeholder { color: #8FA2C0; }
.sres { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: 380px; max-height: 440px; overflow: auto; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: 0 18px 44px rgba(7,15,34,.35); padding: 6px; z-index: 60; }
.sres.on { display: block; }
.sres a { display: block; padding: 9px 11px; border-radius: 9px; text-decoration: none; color: var(--ink); cursor: pointer; }
.sres a:hover, .sres a.sel { background: var(--paper); }
.sres a b { display: block; font-size: 14px; } .sres a span { display: block; font-size: 12.5px; color: var(--muted); }
.sres a em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--gold); text-transform: uppercase; }
.sres mark { background: rgba(212,164,64,.35); color: inherit; border-radius: 3px; }
.sres .none { padding: 10px; color: var(--muted); font-size: 13px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 3px; }
.lang button { border: 0; background: transparent; color: #C8D4E8; font: inherit; font-weight: 700; font-size: 11.5px; letter-spacing: .6px; padding: 4px 9px; border-radius: 8px; cursor: pointer; }
.lang button.on { background: var(--gold); color: var(--navy); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 9px; padding: 5px 11px; font-size: 18px; cursor: pointer; }
@media (max-width: 1440px) { .menu a { padding: 9px 8px; font-size: 12.5px; letter-spacing: .3px; } .sbox input { width: 110px; } .sbox input:focus { width: 150px; } }
@media (max-width: 1023px) { .burger { display: block; } .nav-in { flex-wrap: wrap; } .menu { display: none; width: 100%; flex-direction: column; margin: 6px 0; }
  .menu.open { display: flex; } .tools { width: 100%; order: 3; margin-bottom: 6px; } .sbox { flex: 1; } .sbox input, .sbox input:focus { width: 100%; } .sres { width: 100%; } }

/* ---------- pages, bands ---------- */
section.page { display: none; } section.page.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.band { position: relative; color: #fff; overflow: hidden;
  background: var(--orbit) center / cover no-repeat, radial-gradient(1100px 500px at 50% 40%, #163a78 0%, var(--navy2) 45%, var(--midnight) 100%); }
.hero { padding: 90px 0 104px; text-align: center; }
.hero img.logo { width: 330px; display: block; margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hero h1 { font-weight: 700; font-size: 46px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.5px; }
.hero h1 b { color: var(--gold); }
.hero p { font-weight: 300; font-size: 18px; max-width: 760px; margin: 0 auto 30px; color: #D5DEEC; }
.phead { padding: 62px 0 54px; }
.phead h1 { font-weight: 700; font-size: 38px; margin: 6px 0 10px; line-height: 1.2; }
.phead p { font-weight: 300; font-size: 17px; max-width: 760px; color: #D5DEEC; margin: 0; }
.kick { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: 2.6px; font-size: 12px; text-transform: uppercase; }
.sec { padding: 64px 0; } .sec.alt { background: var(--paper); }
.sec h2 { font-size: 30px; font-weight: 700; margin: 6px 0 8px; color: var(--navy); line-height: 1.25; }
.lead { color: var(--muted); max-width: 760px; margin: 0 0 30px; font-weight: 300; font-size: 16.5px; }
.rule { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 3px; margin: 10px 0 26px; }
.center { text-align: center; } .center .rule, .center .lead { margin-left: auto; margin-right: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .3px;
  text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(212,164,64,.35); } .btn.gold:hover { background: var(--gold2); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); margin-left: 10px; } .btn.ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn.blue { background: var(--royal); color: #fff; } .btn.blue:hover { background: #0B5FE0; }
.btn.line { background: transparent; color: var(--royal); border: 1.5px solid var(--royal); padding: 7px 16px; font-size: 13px; }

/* ---------- cards: 3 per row ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid, .g2 { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 2px 10px rgba(11,26,58,.04);
  transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--royal), var(--sky), var(--gold)); opacity: 0; transition: opacity .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11,26,58,.12); border-color: transparent; } .card:hover::before { opacity: 1; }
.card h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.card .foot { margin-top: auto; padding-top: 6px; }
.ico { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: linear-gradient(135deg, var(--navy), var(--royal)); box-shadow: 0 8px 18px rgba(10,77,184,.25); flex: 0 0 auto; }
.ico svg { width: 25px; height: 25px; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 11px; border-radius: 8px; background: #EEF3FB; color: var(--royal); margin: 0 5px 6px 0; }

/* ---------- blocks ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 12px; border-left: 1px solid rgba(255,255,255,.12); } .stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 46px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.stat span { color: #C8D4E8; font-size: 13.5px; letter-spacing: .5px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.mvv div { padding: 14px 0; border-bottom: 1px solid var(--line); } .mvv div:last-child { border-bottom: 0; } .mvv p { margin: 4px 0 0; color: var(--ink); }
a.person { flex-direction: row; gap: 20px; align-items: center; text-decoration: none; color: inherit; cursor: pointer; }
.person img, .person .ph { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid var(--gold); flex: 0 0 104px; }
.person .ph { display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--navy); font-weight: 700; font-size: 30px; }
.person h3 { margin: 2px 0 6px; } .person .role { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.more { font-size: 13px; font-weight: 700; color: var(--royal); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { padding: 22px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.step b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; } .step p { margin: 0; font-size: 13.5px; color: var(--muted); }
.step i { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-style: normal; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.code { font-weight: 700; letter-spacing: 2px; font-size: 12px; color: var(--gold); margin-top: 14px; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
table.t th { background: var(--navy); color: #fff; text-align: left; padding: 12px 16px; font-weight: 500; letter-spacing: .4px; }
table.t td { padding: 11px 16px; border-top: 1px solid var(--line); } table.t tr:nth-child(even) td { background: #FAFBFD; }
.tw { overflow-x: auto; }
.book { flex-direction: row; gap: 22px; align-items: center; } .book img { width: 130px; border-radius: 6px; box-shadow: 0 14px 30px rgba(7,15,34,.35); }
.course .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.course .meta span { font-size: 12px; font-weight: 500; color: var(--navy); background: #FFF6E2; border: 1px solid #F1DFAF; border-radius: 8px; padding: 2px 10px; }
.course ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 14px; } .course li { margin: 3px 0; }
.level { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 3px 10px; border-radius: 8px; }
.level.l1 { background: #E9F7F1; color: #1E7A57; } .level.l2 { background: #EAF1FC; color: var(--royal); } .level.l3 { background: #FDF0E1; color: #A3640F; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; } details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 14px; color: var(--muted); }
.gl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } @media (max-width: 900px) { .gl { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .gl { grid-template-columns: 1fr; } }
.gl div { background: #fff; border-left: 3px solid var(--gold); border-radius: 10px; padding: 12px 16px; } .gl b { color: var(--navy); } .gl p { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
a.dl { flex-direction: row; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
a.dl .ico { width: 46px; height: 46px; border-radius: 12px; } a.dl b { display: block; color: var(--navy); } a.dl span { font-size: 13px; color: var(--muted); }
.ctaband { padding: 54px 0; } .ctaband .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.ctaband h2 { margin: 0; font-size: 28px; font-weight: 700; } .ctaband p { margin: 6px 0 0; color: #C8D4E8; font-weight: 300; }

/* ---------- profiles ---------- */
.prof { display: flex; gap: 36px; align-items: center; padding: 30px 0 60px; }
.prof img, .prof .ph { width: 210px; height: 210px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 5px solid var(--gold); flex: 0 0 210px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.prof .ph { display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 700; color: var(--gold); background: rgba(255,255,255,.06); }
.prof h1 { font-size: 42px; margin: 4px 0 6px; } .prof p { color: #D5DEEC; font-weight: 300; font-size: 17px; max-width: 640px; margin: 0 0 18px; }
.back { display: inline-flex; gap: 6px; color: var(--gold2); text-decoration: none; font-weight: 500; font-size: 14px; margin-top: 30px; }
.pgrid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; } @media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } .prof { flex-direction: column; text-align: center; } }
.pgrid .card { margin-bottom: 22px; } .pgrid ul { margin: 0; padding-left: 20px; color: var(--muted); } .pgrid li { margin: 6px 0; }
.note { font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- contact ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(11,26,58,.06); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 700px) { .frow { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .flabel { font-size: 13px; font-weight: 500; color: var(--navy); }
.field label i, .req { color: #D9534F; font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-size: 14.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(10,77,184,.12); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #D9534F; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--paper); user-select: none; }
.checks input { accent-color: var(--royal); }
.checks label:has(input:checked) { border-color: var(--royal); background: #EAF1FC; color: var(--royal); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; } .consent.bad { color: #D9534F; }
.msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-weight: 500; font-size: 14px; }
.msg.ok { display: block; background: #E9F7F1; color: #1E7A57; border: 1px solid #A9DCC6; } .msg.err { display: block; background: #FDECEC; color: #B23A36; border: 1px solid #F3B8B6; }
.cinfo { background: linear-gradient(160deg, var(--navy), var(--midnight)); color: #fff; border: 0; }
.cinfo .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cinfo .row .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(212,164,64,.15); box-shadow: none; } .cinfo .row .ico svg { width: 20px; height: 20px; }
.cinfo b { display: block; font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.6px; }
.cinfo a { color: #fff; } .cinfo p { color: #C8D4E8; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
footer { background: var(--midnight); color: #AFC0DA; border-top: 1px solid rgba(212,164,64,.35); }
footer .in { max-width: 1200px; margin: 0 auto; padding: 44px 22px 26px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; font-size: 14px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
footer a { color: #AFC0DA; text-decoration: none; display: block; margin: 5px 0; } footer a:hover { color: var(--gold2); }
footer small { display: block; max-width: 1200px; margin: 0 auto; padding: 16px 22px 26px; color: #7F92B1; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
@media (max-width: 800px) { footer .in { grid-template-columns: 1fr; } }
.flash { animation: flash 1.8s ease; } @keyframes flash { 0%, 45% { box-shadow: 0 0 0 4px rgba(212,164,64,.8); } 100% { box-shadow: 0 0 0 0 rgba(212,164,64,0); } }

/* ---------- OPTIONS menu (top bar): Language EN / VN / FR, Mode Dark / Light and Logo Dark (NXW monitor app) / Light (website) ---------- */
.opts { position: relative; }
.obtn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #C8D4E8; cursor: pointer; padding: 0; }
.obtn:hover, .opts.open .obtn { border-color: var(--gold); color: var(--gold2); }
.obtn svg { width: 18px; height: 18px; }
.obtn { width: auto; padding: 0 12px 0 13px; gap: 7px; border-radius: 8px; } .olang { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; }
.opanel { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 18px 44px rgba(7,15,34,.35); padding: 14px 16px 6px; z-index: 60; }
.opts.open .opanel { display: block; }
.opanel h5 { margin: 0 0 10px; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); }
.orow { margin-bottom: 12px; } .orow > span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
.seg { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.seg button svg { width: 14px; height: 14px; }
.seg button.on { background: var(--navy); color: var(--gold2); font-weight: 700; }
.seg button img { height: 16px; width: auto; }

/* ---------- LIGHT mode: light top bar, light bands and footer ---------- */
html[data-mode="light"] .nav { background: rgba(255,255,255,.96); border-bottom-color: rgba(212,164,64,.6); box-shadow: 0 2px 14px rgba(11,26,58,.06); }
html[data-mode="light"] .menu a { color: var(--navy); } html[data-mode="light"] .menu a:hover { color: var(--royal); }
html[data-mode="light"] .menu a.on { color: var(--royal); } html[data-mode="light"] .menu a.cta-link { color: var(--navy); }
html[data-mode="light"] .sbox { background: #F1F4FA; border-color: var(--line); } html[data-mode="light"] .sbox input { color: var(--ink); }
html[data-mode="light"] .sbox input::placeholder { color: #8796AE; } html[data-mode="light"] .sbox svg { color: #6B7A93; }
html[data-mode="light"] .lang, html[data-mode="light"] .obtn { border-color: var(--line); } html[data-mode="light"] .lang button { color: var(--navy); }
html[data-mode="light"] .obtn { background: #F1F4FA; color: var(--navy); }
html[data-mode="light"] .burger { color: var(--navy); border-color: var(--line); }
html[data-mode="light"] .band { color: var(--navy);
  background: var(--orbit) center / cover no-repeat, radial-gradient(1100px 500px at 50% 40%, #FFFFFF 0%, #EEF3FB 50%, #DCE7F7 100%); }
html[data-mode="light"] .hero p, html[data-mode="light"] .phead p, html[data-mode="light"] .prof p, html[data-mode="light"] .ctaband p { color: #44546E; }
html[data-mode="light"] .hero h1 b, html[data-mode="light"] .kick, html[data-mode="light"] .prof .ph { color: #B07F1F; }
html[data-mode="light"] .hero img.logo { filter: drop-shadow(0 10px 24px rgba(11,26,58,.18)); }
html[data-mode="light"] .btn.ghost { color: var(--navy); border-color: rgba(11,26,58,.45); } html[data-mode="light"] .btn.ghost:hover { color: var(--royal); border-color: var(--royal); }
html[data-mode="light"] .back { color: var(--royal); }
html[data-mode="light"] .prof img, html[data-mode="light"] .prof .ph { box-shadow: 0 16px 40px rgba(11,26,58,.2); } html[data-mode="light"] .prof .ph { background: #fff; }
html[data-mode="light"] footer { background: #EEF2F9; color: #4A5A75; } html[data-mode="light"] footer h4 { color: var(--navy); }
html[data-mode="light"] footer a { color: #4A5A75; } html[data-mode="light"] footer a:hover { color: var(--royal); }
html[data-mode="light"] footer small { color: #6B7A93; border-top-color: var(--line); }

/* ---------- DARK mode: dark content sections, cards and forms ---------- */
html[data-mode="dark"] { --ink: #DCE4F2; --muted: #9DB0CC; --line: #22355C; --paper: #0E1C3D; }
html[data-mode="dark"] body { background: #0A1530; }
html[data-mode="dark"] .sec p a, html[data-mode="dark"] .sec li a, html[data-mode="dark"] .more { color: #6FB3FF; }
html[data-mode="dark"] .sec h2, html[data-mode="dark"] .card h3, html[data-mode="dark"] .step b, html[data-mode="dark"] details.faq summary,
html[data-mode="dark"] .gl b, html[data-mode="dark"] a.dl b, html[data-mode="dark"] .field label, html[data-mode="dark"] .flabel { color: #fff; }
html[data-mode="dark"] .card, html[data-mode="dark"] .step, html[data-mode="dark"] table.t, html[data-mode="dark"] details.faq, html[data-mode="dark"] .gl div,
html[data-mode="dark"] .form, html[data-mode="dark"] .sres, html[data-mode="dark"] .opanel { background: #10224A; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
html[data-mode="dark"] .card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.45); }
html[data-mode="dark"] .cinfo { background: linear-gradient(160deg, #13295A, var(--midnight)); }
html[data-mode="dark"] table.t tr:nth-child(even) td { background: #0D1D40; }
html[data-mode="dark"] .field input:focus, html[data-mode="dark"] .field select:focus, html[data-mode="dark"] .field textarea:focus { background: #0A1530; box-shadow: 0 0 0 4px rgba(46,155,255,.18); border-color: var(--sky); }
html[data-mode="dark"] .field select option { background: #10224A; color: #DCE4F2; }
html[data-mode="dark"] .tag { background: rgba(46,155,255,.14); color: #8CC4FF; }
html[data-mode="dark"] .btn.line { color: #8CC4FF; border-color: #6FB3FF; }
html[data-mode="dark"] .course .meta span { background: rgba(212,164,64,.12); border-color: rgba(212,164,64,.35); color: var(--gold2); }
html[data-mode="dark"] .level.l1 { background: rgba(30,122,87,.25); color: #7FD9B2; } html[data-mode="dark"] .level.l2 { background: rgba(46,155,255,.18); color: #8CC4FF; }
html[data-mode="dark"] .level.l3 { background: rgba(212,164,64,.18); color: var(--gold2); }
html[data-mode="dark"] .checks label:has(input:checked) { background: rgba(46,155,255,.18); color: #8CC4FF; border-color: var(--sky); }
html[data-mode="dark"] .person .ph { color: #fff; }
html[data-mode="dark"] .book.card[style] { background: transparent; }
html[data-mode="dark"] .seg button.on { background: var(--gold); color: var(--navy); }

/* ---------- SEARCH icon: click to extend the search box (collapses again when empty) ---------- */
.sbox { cursor: pointer; padding: 0; width: 36px; height: 36px; justify-content: center; transition: width .25s, padding .25s; }
.sbox input { width: 0 !important; padding: 8px 0; }
.sbox.open { cursor: auto; width: 230px; padding: 0 12px; justify-content: flex-start; }
.sbox.open input { width: 100% !important; padding: 8px; }
.sbox:hover svg { color: var(--gold2); } html[data-mode="light"] .sbox:hover svg { color: var(--royal); }
@media (max-width: 1023px) { .sbox, .sbox.open { width: auto; flex: 1; padding: 0 12px; justify-content: flex-start; cursor: auto; } .sbox input { width: 100% !important; padding: 8px; } }

/* ---------- partners (About page) ---------- */
a.partner { text-decoration: none; color: inherit; }
.pmark { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 52px; padding: 0 14px; border-radius: 14px; font-weight: 700; font-size: 17px; letter-spacing: 1px;
  color: var(--gold2); background: linear-gradient(135deg, var(--navy), var(--royal)); box-shadow: 0 8px 18px rgba(10,77,184,.25); align-self: flex-start; }
.pdom { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--royal); }
html[data-mode="dark"] .pdom { color: #6FB3FF; }

/* ---------- company brochure flip book (HOME) ---------- */
.flipsec { background: radial-gradient(900px 420px at 50% 60%, #EAF1FC 0%, #fff 70%); }
html[data-mode="dark"] .flipsec { background: radial-gradient(900px 420px at 50% 60%, #12295A 0%, #0A1530 70%); }
.fb { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.fb-stage { perspective: 2600px; width: min(940px, 84vw); }
.fb-book { position: relative; width: 100%; aspect-ratio: 420 / 297; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fb-book.closed { transform: translateX(-25%); } .fb-book.end { transform: translateX(25%); }
.fb-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.3,.7,.2,1); cursor: pointer; }
.fb-leaf.flipped { transform: rotateY(-180deg); }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff;
  box-shadow: 0 18px 40px rgba(7,15,34,.28); }
.fb-face img { width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.fb-face.back { transform: rotateY(180deg); }
.fb-face.front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 7%); pointer-events: none; }
.fb-face.back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.18), rgba(0,0,0,0) 7%); pointer-events: none; }
.fb-nav { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 28px; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 16px rgba(11,26,58,.12); transition: background .15s, color .15s, opacity .15s; }
.fb-nav:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); } .fb-nav:disabled { opacity: .3; cursor: default; }
html[data-mode="dark"] .fb-nav { background: #10224A; color: #fff; }
.fb-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; max-width: 940px; margin: 26px auto 0; }
.fb-count { font-weight: 700; color: var(--navy); letter-spacing: .5px; } html[data-mode="dark"] .fb-count { color: #fff; }
.fb-actions { display: flex; gap: 8px; flex-wrap: wrap; } .fb-actions .btn { margin: 0; padding: 9px 18px; font-size: 13px; }
.fb:fullscreen { background: #050B1A; padding: 2vh 2vw; } .fb:fullscreen .fb-stage { width: min(94vw, 136vh); }
/* phones: one page at a time */
.fb.single .fb-book { aspect-ratio: 210 / 297; transform: none !important; }
.fb.single .fb-leaf { display: none; }
.fb.single .fb-one { display: block; }
.fb-one { display: none; position: absolute; inset: 0; box-shadow: 0 14px 30px rgba(7,15,34,.28); }
.fb-one img { width: 100%; height: 100%; display: block; animation: fbIn .35s ease; } @keyframes fbIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .fb-stage { width: 74vw; } .fb-nav { width: 38px; height: 38px; font-size: 24px; } .fb-bar { justify-content: center; } }

/* ---------- highlights / latest news (HOME) ---------- */
.news .nw { padding: 0; }
.nimg { display: flex; align-items: center; justify-content: center; gap: 14px; height: 190px; overflow: hidden; text-decoration: none;
  background: var(--orbit) center / cover no-repeat, radial-gradient(500px 220px at 50% 50%, #163a78 0%, var(--navy2) 55%, var(--midnight) 100%); }
.nimg img.doc { height: 150px; width: auto; border-radius: 3px; box-shadow: 0 12px 26px rgba(0,0,0,.45); transition: transform .3s; }
.nimg img.d2 { margin-left: -6px; transform: rotate(4deg); } .nw:hover .nimg img.doc { transform: translateY(-4px); } .nw:hover .nimg img.d2 { transform: rotate(4deg) translateY(-4px); }
.nlogos { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 12px; }
.nlogos b { color: var(--gold2); border: 1px solid rgba(212,164,64,.45); border-radius: 8px; padding: 6px 10px; font-size: 13px; letter-spacing: 1px; text-align: center; background: rgba(7,15,34,.4); }
.nmeta { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px 0; font-size: 12.5px; color: var(--muted); }
.ncat { font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.nw h3, .nw p { padding: 0 24px; } .nw h3 { margin-top: 8px; } .nw .more { padding: 0 24px 22px; margin-top: auto; text-decoration: none; }

/* ---------- activity detail pages (#act-*) ---------- */
a.actcard { text-decoration: none; color: inherit; cursor: pointer; } a.actcard h3 { transition: color .15s; } a.actcard:hover h3 { color: var(--royal); }
html[data-mode="dark"] a.actcard:hover h3 { color: var(--gold2); }
a.actcard .more { margin-top: auto; padding-top: 4px; }
.acthead { display: flex; align-items: center; gap: 18px; } .acthead h1 { margin: 2px 0 0; }
.ico.big { width: 68px; height: 68px; border-radius: 20px; flex: 0 0 68px; } .ico.big svg { width: 32px; height: 32px; }
.glance h3 { margin: 0 0 10px; } .gl-row { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); }
.gl-row span { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); } .gl-row b { color: var(--navy); font-weight: 600; font-size: 14.5px; }
html[data-mode="dark"] .gl-row b { color: #fff; }
.act-steps { grid-template-columns: repeat(4, 1fr); } @media (max-width: 900px) { .act-steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .act-steps { grid-template-columns: 1fr; } }

/* ---------- Resources > Documents: brochure thumbnails ---------- */
a.docthumb { align-items: center; gap: 16px; } a.docthumb img { width: 72px; height: auto; flex: 0 0 72px; border-radius: 3px; box-shadow: 0 8px 18px rgba(7,15,34,.35); transition: transform .2s; }
a.docthumb:hover img { transform: translateY(-3px); } a.docthumb .more { font-style: normal; display: block; margin-top: 6px; }
.card.golink { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; } .card.golink:hover { transform: translateY(-3px); border-color: var(--gold); } .card.golink h3::after { content: "  →"; color: var(--gold); }
a.card.golink { text-decoration: none; color: inherit; display: block; }
.card.prog { cursor: pointer; border: 1.5px solid rgba(212,164,64,.55); transition: transform .15s ease, border-color .15s ease; display: flex; flex-direction: column; }
.card.prog:hover { transform: translateY(-3px); border-color: var(--gold); } .card.prog p { flex: 1; }
.btn.sm { padding: 8px 18px; font-size: 13px; align-self: flex-start; margin-top: 8px; }
.pmodal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(5,11,28,.72); backdrop-filter: blur(4px); padding: 40px 16px; overflow-y: auto; }
.pmodal.open { display: block; } .pc { display: none; } .pc.on { display: block; }
.pbox { position: relative; max-width: 860px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 22px; padding: 38px 42px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.pbox h2 { margin: 6px 0 10px; color: var(--navy); } .pbox h4 { margin: 22px 0 8px; color: var(--navy); font-size: 17px; }
.pbox ul { padding-left: 20px; color: var(--muted); } .pbox li { margin: 6px 0; } .pbox li b { color: var(--ink); }
.plead { font-size: 17px; color: var(--muted); } .pnote { font-size: 13px; font-style: italic; color: var(--muted); }
.pbox .btn { margin-top: 18px; }
.pclose { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
table.pt { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 12px; } table.pt th { background: var(--navy); color: var(--gold2); text-align: left; padding: 8px 10px; }
table.pt td { padding: 8px 10px; border-bottom: 1px solid var(--line); } table.pt td:first-child { font-weight: 700; color: var(--gold); text-align: center; }
html[data-mode="dark"] .pbox { background: #10224A; color: #DCE4F2; } html[data-mode="dark"] .pbox h2, html[data-mode="dark"] .pbox h4, html[data-mode="dark"] .pbox li b { color: #fff; }
html[data-mode="dark"] table.pt td { border-color: #22355C; }
@media (max-width: 640px) { .pbox { padding: 28px 20px; } table.pt { font-size: 12.5px; } }
/* NXW presentation video */
.vidbox { max-width: 960px; margin: 8px auto 0; border-radius: 16px; overflow: hidden; background: #0B1A3A; box-shadow: 0 18px 50px rgba(11,26,58,.28); border: 1px solid rgba(212,164,64,.45); }
.vidbox video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #0B1A3A; }
.vidcap { text-align: center; font-size: 13px; color: var(--muted, #6B7A90); margin-top: 12px; }
.bk-parts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.bk-parts span { font-size: 12px; padding: 3px 10px; border-radius: 14px; border: 1px solid rgba(212,164,64,.45); color: var(--ink, inherit); opacity: .92; }
.bk-parts span b { color: var(--gold); margin-right: 6px; font-weight: 700; }
.bk-feat { margin: 6px 0 10px 18px; padding: 0; font-size: 13.5px; } .bk-feat li { margin: 2px 0; } .bk-feat li::marker { color: var(--gold); }
.bk-links { display: flex; flex-wrap: wrap; gap: 6px 18px; } .card.bk { align-items: flex-start; }

/* standalone site: anchors land below the sticky menu bar */
[id] { scroll-margin-top: 80px; }

/* ---------- EDUCATION: books online, reader, quiz, glossary ---------- */
a.edutopic { text-decoration: none; color: inherit; } a.edutopic:hover h3 { color: var(--royal); } .edu-tsub { font-size: 13px; font-style: italic; color: var(--muted); margin: 0 0 8px; }
.edu-prof img { width: 170px; height: auto; border-radius: 6px; box-shadow: 0 14px 30px rgba(7,15,34,.35); }
.edu-mod { margin: 0 0 30px; } .edu-mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.edu-mhead h3 { margin: 0; flex: 1; font-size: 18px; } .edu-num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #0B1A3A; font-weight: 700; display: grid; place-items: center; flex: 0 0 34px; }
.edu-cnt { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
table.edu-toc td { vertical-align: top; } td.edu-no { width: 46px; font-weight: 700; color: var(--gold); text-align: center; } td.edu-go { width: 120px; text-align: right; white-space: nowrap; }
a.edu-ttl { font-weight: 600; text-decoration: none; } a.edu-ttl:hover { text-decoration: underline; } .edu-sub { font-size: 13px; color: var(--muted); font-style: italic; }
details.edu-secs { margin-top: 4px; font-size: 13px; } details.edu-secs summary { cursor: pointer; color: var(--muted); } a.edu-sec { display: block; padding: 2px 0 2px 12px; text-decoration: none; } a.edu-sec:hover { text-decoration: underline; }
a.edu-open { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--gold); text-decoration: none; }
a.edu-open.edu-locked { border-color: var(--line); color: var(--muted); } .edu-free { font-size: 10px; font-weight: 700; background: var(--gold); color: #0B1A3A; border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
.edu-rhead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; } .edu-rhead b { flex: 1; font-size: 17px; }
.edu-rhead a { font-size: 14px; font-weight: 600; text-decoration: none; }
.edu-frame { width: 100%; height: 82vh; min-height: 520px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.quiz { padding: 30px; } .quiz h3 { margin: 6px 0 16px; font-size: 20px; } .quiz .qtop { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.qbar { height: 6px; background: var(--line); border-radius: 3px; margin: 10px 0 18px; overflow: hidden; } .qbar i { display: block; height: 100%; background: var(--gold); }
.qopt { display: block; width: 100%; text-align: left; font: inherit; padding: 12px 16px; margin: 0 0 10px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.qopt:hover:not([disabled]) { border-color: var(--gold); } .qopt b { color: var(--gold); margin-right: 10px; }
.qopt.ok { border-color: #1E9E6A; background: rgba(30,158,106,.12); } .qopt.ko { border-color: #D64545; background: rgba(214,69,69,.10); }
.qexp { border-left: 4px solid var(--gold); padding: 10px 14px; margin: 6px 0 16px; border-radius: 6px; background: rgba(212,164,64,.10); font-size: 14.5px; }
.qscore { font-size: 46px; font-weight: 700; color: var(--gold); line-height: 1.1; } .qrev { margin: 18px 0; padding: 0; list-style: none; } .qrev li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gl-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.gl-tools input, .gl-tools select { font: inherit; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.gl-tools input { flex: 1; min-width: 220px; } .gl-n { font-size: 13px; color: var(--muted); }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; } .gl-letters a { min-width: 34px; text-align: center; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.glg { margin-bottom: 26px; } .gl-letter { font-size: 26px; margin: 0 0 10px; color: var(--gold); } .glg .gl b { display: inline; } .glg .gl .tag { font-size: 11px; margin: 0 0 0 6px; padding: 1px 8px; }
.gl-ex { font-size: 13px !important; } .gl-rel { font-size: 12.5px !important; } .glg .gl div:target { box-shadow: 0 0 0 3px rgba(212,164,64,.7); }
html[data-mode="dark"] .gl-tools input, html[data-mode="dark"] .gl-tools select { background: #0D1D40; color: #fff; border-color: rgba(255,255,255,.15); }
html[data-mode="dark"] .gl-letters a, html[data-mode="dark"] .qopt, html[data-mode="dark"] a.edu-open.edu-locked { border-color: rgba(255,255,255,.15); }
html[data-mode="dark"] .qbar { background: rgba(255,255,255,.1); } html[data-mode="dark"] .edu-frame { border-color: rgba(255,255,255,.15); background: #141925; }
html[data-mode="dark"] .edu-mhead h3, html[data-mode="dark"] .edu-rhead b, html[data-mode="dark"] .quiz h3 { color: #fff; }
@media (max-width: 640px) { td.edu-go { width: auto; } .edu-prof img { width: 120px; } .quiz { padding: 20px; } }
[hidden] { display: none !important; }

/* icon buttons: squares with rounded corners and a thin light border */
.sbox, .obtn, .burger { border-radius: 10px; border: 1px solid rgba(255,255,255,.32); background: transparent; }
.sbox { width: 40px; height: 40px; } .obtn { height: 40px; } .sbox svg { width: 18px; height: 18px; flex-basis: 18px; color: #fff; }
.sbox.open { width: 230px; } .burger { width: 40px; height: 40px; padding: 0; display: none; align-items: center; justify-content: center; }
.obtn { color: #fff; } .sbox:hover, .obtn:hover, .burger:hover { border-color: var(--gold); }
@media (max-width: 1023px) { .burger { display: flex; } .sbox, .sbox.open { width: auto; } }
html[data-mode="light"] .sbox, html[data-mode="light"] .obtn, html[data-mode="light"] .burger { background: transparent; border-color: #C9D3E3; }
html[data-mode="light"] .sbox svg, html[data-mode="light"] .obtn { color: var(--navy); }
.fb-nav { border-radius: 12px; }
.obtn { width: 40px; padding: 0; gap: 0; } .obtn .olang { display: none; } .obtn svg { width: 20px; height: 20px; }

/* menu and submenus (style of the IMS app): bold caps, gold active item with underline, navy dropdown panel */
.menu { align-items: center; }
.menu a { font-weight: 700; letter-spacing: 1.2px; color: #E6ECF6; }
.menu a::after { left: 10px; right: 10px; bottom: -12px; }
.menu > a.on, .menu .mi > a.on { color: var(--gold2); }
.mi { position: relative; display: flex; }
.caret { display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: 3px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.sub { display: none; position: absolute; top: calc(100% + 12px); left: 0; min-width: 260px; padding: 10px 0; background: #111D45; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 60; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mi:hover > .sub, .mi:focus-within > .sub { display: block; }
.menu .sub a { display: block; padding: 11px 26px; font-size: 15px; font-weight: 700; letter-spacing: .2px; text-transform: none; color: #fff; }
.menu .sub a::after { display: none; } .menu .sub a:hover { color: var(--gold2); background: rgba(255,255,255,.05); }
.mi:last-child .sub, .menu .mi:nth-last-child(-n+3) .sub { left: auto; right: 0; }
html[data-mode="light"] .sub { background: #fff; border-color: var(--line); box-shadow: 0 18px 40px rgba(11,26,58,.15); }
html[data-mode="light"] .menu .sub a { color: var(--navy); } html[data-mode="light"] .menu .sub a:hover { color: var(--royal); background: #F1F4FA; }
@media (max-width: 1440px) { .menu a { letter-spacing: .5px; } }
@media (max-width: 1023px) { .menu { align-items: stretch; } .mi { flex-direction: column; } .menu a::after { bottom: 4px; }
  .sub, .mi:hover > .sub, .mi:focus-within > .sub { display: block; position: static; min-width: 0; padding: 0 0 6px 14px; background: none; border: 0; box-shadow: none; }
  .menu .sub a { padding: 7px 12px; font-size: 13.5px; font-weight: 500; color: #C8D4E8; } .caret { display: none; } }

/* card icon and title on one row */
.chead { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.chead h3 { margin: 0; } .chead .code { margin: 0 0 2px; }
.course .chead { margin-top: 22px; }

/* company web apps */
.appshot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(11,26,58,.18); }
.appshot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .3s; }
.appshot:hover img { transform: scale(1.03); }
.appcard .appshot { margin-bottom: 16px; } .appcard .kick { margin-bottom: 0; } .appcard h3 { margin-top: 4px; }
.appcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.btn.sm { padding: 8px 16px; font-size: 13px; }
.approw { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.approw:last-child { border-bottom: 0; } .approw:nth-child(even) .appshot { order: 2; }
.approw h2 { margin: 4px 0 12px; } .applink { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; } .applink span { font-size: 13px; color: var(--muted); word-break: break-all; }
@media (max-width: 860px) { .approw { grid-template-columns: 1fr; gap: 20px; } .approw:nth-child(even) .appshot { order: 0; } }
html[data-mode="dark"] .appshot { border-color: rgba(255,255,255,.14); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.applink .btn.gold, .appcard .btn.gold { color: #0B1A3A; text-decoration: none; }

/* buttons: same colors, rounded square corners instead of pill ends */
.btn, .menu a.cta-link, a.edu-open, .gl-tools input, .gl-tools select { border-radius: 10px; }
.btn.sm, a.edu-open { border-radius: 8px; }
.seg, .lang { border-radius: 10px; } .seg button, .lang button { border-radius: 7px; }
.step i, .edu-num { border-radius: 8px; }

/* contact = envelope icon button next to search and options */
.cbtn { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.32); color: #fff; }
.cbtn svg { width: 20px; height: 20px; } .cbtn:hover, .cbtn.on { border-color: var(--gold); color: var(--gold2); }
html[data-mode="light"] .cbtn { border-color: #C9D3E3; color: var(--navy); } html[data-mode="light"] .cbtn:hover, html[data-mode="light"] .cbtn.on { border-color: var(--gold); color: var(--royal); }
.ibtn-mi { display: flex; } .ibtn-mi .sub { left: auto; right: 0; top: calc(100% + 14px); }
@media (max-width: 1023px) { .ibtn-mi .sub, .ibtn-mi:hover > .sub, .ibtn-mi:focus-within > .sub { display: none; } }
.ibtn-mi .sub a { display: block; padding: 11px 26px; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
.ibtn-mi .sub a:hover { color: var(--gold2); background: rgba(255,255,255,.05); }
html[data-mode="light"] .ibtn-mi .sub a { color: var(--navy); } html[data-mode="light"] .ibtn-mi .sub a:hover { color: var(--royal); background: #F1F4FA; }
.split > * { min-width: 0; }

/* menu bar 15% taller (67px -> 77px) */
.nav-in { padding-top: 15px; padding-bottom: 15px; }
.menu a::after { bottom: -17px; } .sub { top: calc(100% + 17px); } .sub::before { top: -19px; height: 19px; } .ibtn-mi .sub { top: calc(100% + 19px); }
@media (max-width: 1023px) { .menu a::after { bottom: 4px; } }

/* header like the IMS app: full width, main menu on the left, icon menu on the right, 82px, IMS colors */
.nav { background: #0a1238; border-bottom: 1px solid #c9a227; backdrop-filter: none; }
.nav-in { max-width: none; height: 82px; padding: 0 28px; gap: 22px; align-items: stretch; }
.brand { display: flex; align-items: center; } .brand img { height: 44px; }
.menu { margin-left: 0; align-items: stretch; gap: 0; }
.menu > a, .mi > a { display: flex; align-items: center; padding: 0 11px; font-size: 13.8px; font-weight: 700; letter-spacing: .08em; color: #e8ebf7; border-bottom: 2px solid transparent; }
.mi { align-items: stretch; }
.menu > a:hover, .mi > a:hover, .menu > a.on, .mi > a.on { color: #e9b54a; }
.menu > a.on, .mi > a.on { border-bottom-color: #e9b54a; }
.menu a::after { display: none; }
.tools { margin-left: auto; gap: 12px; }
.tools > *, .tools .ibtn-mi { align-self: center; }
.sbox, .obtn, .cbtn, .burger { width: 46px; height: 46px; flex-basis: 46px; border-radius: 8px; border-color: rgba(255,255,255,.3); }
.sbox.open { width: 260px; } .obtn { width: 46px; }
.sbox:hover, .obtn:hover, .cbtn:hover, .cbtn.on, .opts.open .obtn { border-color: #e9b54a; color: #e9b54a; } .sbox:hover svg { color: #e9b54a; }
.sbox svg { width: 19px; height: 19px; flex-basis: 19px; } .cbtn svg, .obtn svg { width: 21px; height: 21px; }
.sub, .ibtn-mi .sub { top: calc(100% + 6px); background: #121a4c; border: 1px solid rgba(241,205,120,.35); border-radius: 12px; padding: 8px; }
.sub::before { top: -8px; height: 8px; }
.menu .sub a, .ibtn-mi .sub a { color: #fff; border-radius: 8px; padding: 10.5px 16px; font-weight: 600; letter-spacing: .02em; }
.menu .sub a:hover, .ibtn-mi .sub a:hover { background: rgba(241,205,120,.12); color: #f1cd78; }
.menu .sub a.cur, .ibtn-mi .sub a.cur { background: #e0a43a; color: #0d1450; }
.ibtn-mi .sub { top: calc(100% + 18px); }
@media (max-width: 1023px) {
  .nav-in { height: auto; min-height: 82px; padding: 18px 20px; align-items: center; }
  .menu > a, .mi > a { padding: 10px 6px; border-bottom: 0; } .menu > a.on, .mi > a.on { border-bottom: 0; }
  .tools { margin-left: 0; } .sbox, .sbox.open { width: auto; }
  .menu .sub a { padding: 7px 12px; color: #C8D4E8; font-weight: 500; } }
html[data-mode="light"] .nav { background: #fff; border-bottom-color: #c9a227; }
html[data-mode="light"] .menu > a, html[data-mode="light"] .mi > a { color: var(--navy); }
html[data-mode="light"] .menu > a.on, html[data-mode="light"] .mi > a.on, html[data-mode="light"] .menu > a:hover, html[data-mode="light"] .mi > a:hover { color: #b8862a; border-bottom-color: #c9a227; }
html[data-mode="light"] .sbox, html[data-mode="light"] .obtn, html[data-mode="light"] .cbtn, html[data-mode="light"] .burger { border-color: #C9D3E3; }
.mi.ibtn-mi > a.cbtn { padding: 0; justify-content: center; border: 1px solid rgba(255,255,255,.3); color: #fff; letter-spacing: 0; }
.mi.ibtn-mi > a.cbtn:hover, .mi.ibtn-mi > a.cbtn.on { border-color: #e9b54a; color: #e9b54a; }
html[data-mode="light"] .mi.ibtn-mi > a.cbtn { border-color: #C9D3E3; color: var(--navy); }

/* book pages: chapter titles 2px bigger (14 -> 16px) and gold */
a.edu-ttl, a.edu-ttl b { font-size: 16px; color: #e9b54a; } a.edu-ttl:hover { color: #f1cd78; }
html[data-mode="light"] a.edu-ttl, html[data-mode="light"] a.edu-ttl b { color: #a8761e; } html[data-mode="light"] a.edu-ttl:hover { color: #8a6012; }
html[data-mode="dark"] a.edu-open:not(.edu-locked) { color: #e9b54a; }
.quiz .btn { align-self: flex-start; }

/* sign-in screen */
html.locked body > *:not(#login) { visibility: hidden; } html.locked body { overflow: hidden; }
#login { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(900px 500px at 50% 35%, #17307a 0%, rgba(10,18,56,0) 70%), linear-gradient(180deg, #0b1440 0%, #070c2c 100%); }
.lg-card { width: 100%; max-width: 440px; background: rgba(13,23,71,.92); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.5); color: #e8ebf7; }
.lg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.lg-logo { display: grid; place-items: center; width: 108px; height: 58px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: #0a1238; }
.lg-logo img { max-width: 92px; max-height: 44px; }
.lg-head b { display: block; color: #e9b54a; font-size: 26px; letter-spacing: .14em; } .lg-head span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #c9cfe8; }
.lg-intro { color: #a9b0d6; font-size: 14px; margin: 6px 0 18px; }
.lg-f { display: block; margin-bottom: 14px; } .lg-f > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.lg-f input { width: 100%; font: inherit; color: #fff; background: #0a1238; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 11px 13px; outline: none; }
.lg-f input:focus { border-color: #e9b54a; }
.lg-pw { position: relative; display: block; } .lg-pw input { padding-right: 44px; }
.lg-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #a9b0d6; cursor: pointer; padding: 6px; } .lg-eye svg { width: 20px; height: 20px; display: block; }
.lg-rem { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 2px 0 14px; } .lg-rem input { accent-color: #e9b54a; width: 16px; height: 16px; }
.lg-err { color: #ff9db5; font-size: 13.5px; margin: 0 0 12px; }
.lg-go { width: 100%; justify-content: center; }
#signout_row span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

/* "Learn more" as an outlined button (style of "About NXW") */
.btn.ghost.more-btn { margin-left: 0; align-self: flex-start; padding: 10px 20px; font-size: 13.5px; }
a.card:hover .btn.ghost.more-btn { border-color: var(--gold); color: var(--gold2); }
html[data-mode="light"] a.card:hover .btn.ghost.more-btn { border-color: var(--royal); color: var(--royal); }
.appcard .foot { justify-content: flex-start; gap: 12px; }
a.card.actcard { display: flex; flex-direction: column; } a.card.actcard .more-btn { margin-top: auto; }
a.card.actcard .more-btn { align-self: flex-end; } .appcard .foot { justify-content: space-between; }

/* partner logos (white tile so every logo reads in dark and light mode) */
.plogo { display: flex; align-items: center; justify-content: center; width: 170px; height: 84px; padding: 10px 14px; background: #fff; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.18); margin-bottom: 4px; }
.plogo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
html[data-mode="light"] .plogo { border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(11,26,58,.08); }
/* steps: number beside the title, compact card */
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 8px; align-items: center; align-content: start; padding: 18px 18px 16px; }
.step i { margin: 0; }
.step b { margin: 0; line-height: 1.25; }
.step p { grid-column: 1 / -1; }
/* active menu underline: just below the word (middle of the bar), not at its bottom edge */
@media (min-width: 1024px) {
  .menu > a, .mi > a { position: relative; border-bottom-color: transparent !important; }
  .menu > a.on::after, .mi > a.on::after { display: block; content: ""; position: absolute; left: 11px; right: 11px; top: calc(50% + 13px); bottom: auto; height: 2px; border-radius: 2px; background: #e9b54a; transform: none; }
  html[data-mode="light"] .menu > a.on::after, html[data-mode="light"] .mi > a.on::after { background: #c9a227; }
  .mi > a.has-caret.on::after { right: 11px; }
}
/* tablets in landscape (1024-1280px): keep the full menu bar, just tighter */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav-in { padding: 0 14px; gap: 12px; } .brand img { height: 38px; }
  .menu > a, .mi > a { padding: 0 7px; font-size: 12.5px; letter-spacing: .03em; }
  .menu > a.on::after, .mi > a.on::after, .mi > a.has-caret.on::after { left: 7px; right: 7px; }
  .tools { gap: 7px; --sbw: 40px; --sbg: 7px; } .sbox, .obtn, .cbtn, .burger { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (min-width: 1024px) { .mi.open > .sub { display: block; } }
/* quiz: question sets and filters */
.qsets { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 14px; }
.qset { font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.qset i { font-style: normal; font-weight: 600; opacity: .7; margin-left: 4px; }
.qset:hover { border-color: var(--gold); } .qset.on { background: #e0a43a; border-color: #e0a43a; color: #0d1450; }
.qfil { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 6px; font-size: 14px; }
.qfil select { font: inherit; margin-left: 6px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: inherit; }
.qfil select option { color: #0d1450; }
.quiz h3 small { font-size: 13px; font-weight: 500; color: var(--muted); }
/* sign-in: register link and confirmation */
.lg-alt { margin: 14px 0 0; text-align: center; font-size: 14px; color: #a9b0d6; } .lg-alt a { color: #e9b54a; font-weight: 700; text-decoration: none; } .lg-alt a:hover { text-decoration: underline; }
.lg-ok { color: #9be3b4; font-size: 13.5px; margin: 0 0 12px; }
.lg-go[disabled] { opacity: .6; cursor: wait; }
#login { overflow-y: auto; }
/* from 1024px up: the search box opens to the left, over the menu, instead of squeezing the bar (it sits in place of the search icon) */
@media (min-width: 1024px) {
  .tools { position: relative; }
  .sbox.open { position: absolute; top: 50%; right: calc(100% + var(--sbg, 12px)); transform: translateY(-50%); width: min(440px, 55vw); flex-basis: auto; height: var(--sbw, 46px); z-index: 70; background: #0a1238; box-shadow: -14px 0 18px #0a1238; }
  html[data-mode="light"] .sbox.open { background: #fff; box-shadow: -14px 0 18px #fff; }
}
/* sign-in title "Next Wealth" in the serif style of the Indexes Observatory */
.lg-title { font-family: Lora, Georgia, "Times New Roman", serif; font-weight: 700; font-size: 34px; line-height: 1.1; color: #fff; letter-spacing: 0; }
.lg-title i { font-weight: 400; font-style: italic; color: #e0a43a; }

/* ---------- SHOWROOM (from the NXW Monitor, RESOURCES > SHOWROOM), in the NXW theme ---------- */
.phead h1.sr-page-title, .sr-title { font-family: Lora, Georgia, "Times New Roman", serif; }
.phead h1.sr-page-title i, .sr-title i { font-weight: 400; color: #e0a43a; }
html[data-mode="light"] .phead h1.sr-page-title i { color: #B07F1F; }
.sec.showroom { padding-top: 40px; }
.sr-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
a.sr-tab { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--gold); color: var(--gold); font-weight: 700; text-decoration: none; }
a.sr-tab.on { background: var(--gold); color: var(--navy); }
.sr-hero { display: flex; gap: 36px; align-items: center; padding: 34px 38px; border-radius: 18px; color: #fff; border: 1px solid rgba(212,164,64,.35);
  background: radial-gradient(700px 400px at 80% 20%, rgba(46,155,255,.22), transparent 60%), linear-gradient(150deg, #0E2145 0%, #070F22 75%); }
.sr-cover { width: 230px; flex: none; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.sr-hero .kick { color: var(--gold); }
.sr-title { font-weight: 700; font-size: 44px; line-height: 1.1; margin: 10px 0 8px; color: #fff; }
.sr-title i { font-size: 32px; }
.sr-auth { font-weight: 600; color: #DCE6F5; }
.sr-pitch { font-size: 15.5px; line-height: 1.65; color: #C8D4E8; margin: 14px 0; max-width: 820px; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sr-chips span { padding: 5px 13px; border-radius: 16px; border: 1px solid rgba(212,164,64,.55); color: var(--gold2); font-size: 13px; }
.sr-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sr-hero .btn.line { color: #fff; border-color: rgba(255,255,255,.55); padding: 11px 20px; font-size: 14px; } .sr-hero .btn.line:hover { border-color: var(--gold); color: var(--gold2); }
.sr-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 18px 0 8px; }
.sr-stat { border-radius: 14px; padding: 14px 10px; text-align: center; background: var(--paper); border: 1px solid var(--line); }
.sr-stat b { display: block; font-family: Lora, Georgia, serif; font-size: 30px; color: #B07F1F; line-height: 1.1; }
.sr-stat span { font-size: 12.5px; color: var(--muted); }
.sr-sec { margin-top: 40px; }
.sr-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sr-h h2 { margin: 0; font-size: 24px; }
.sr-n { flex: none; font-family: Lora, Georgia, serif; font-size: 15px; font-weight: 700; color: var(--navy); background: var(--gold); border-radius: 50%; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; }
.sr-text p, .sr-lead { font-size: 15.5px; line-height: 1.75; max-width: 980px; color: var(--ink); }
.sr-lead { color: var(--muted); margin: -4px 0 16px; }
.sr-hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sr-hl, .sr-st, .sr-part, .sr-fc, a.sr-np { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.sr-hl { display: flex; gap: 14px; padding: 16px 18px; }
.sr-hl .ico, .sr-st .ico { flex: none; margin: 0; }
.sr-hl b, .sr-st b { font-size: 15.5px; color: var(--navy); } .sr-hl p, .sr-st p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.sr-st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sr-st { padding: 20px; border-top: 3px solid var(--gold); } .sr-st .ico { margin-bottom: 10px; } .sr-st b { display: block; }
.sr-np-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
a.sr-np { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; text-decoration: none; color: inherit; border-top: 3px solid var(--sky); transition: transform .15s, border-color .15s, box-shadow .15s; }
a.sr-np:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 24px rgba(11,26,58,.14); }
a.sr-np.sr-np-new { border-top-color: var(--gold); background: linear-gradient(160deg, rgba(212,164,64,.14), transparent 70%); }
.sr-np-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sr-np-num { font-family: Lora, Georgia, serif; font-size: 26px; font-weight: 700; color: var(--royal); line-height: 1; }
.sr-np-badge, .sr-fc-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 9px; background: var(--gold); color: var(--navy); }
a.sr-np b { font-size: 14.5px; line-height: 1.3; color: var(--navy); } a.sr-np p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sr-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sr-part { padding: 16px 18px; }
.sr-part-h { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.sr-part-r { font-family: Lora, Georgia, serif; color: #B07F1F; font-size: 20px; min-width: 34px; }
.sr-part ol { margin: 0; padding-left: 26px; font-size: 13.5px; line-height: 1.7; } .sr-part li a { color: var(--ink); text-decoration: none; } .sr-part li a:hover { color: var(--royal); text-decoration: underline; }
.sr-aud { display: flex; flex-wrap: wrap; gap: 10px; }
.sr-aud span { padding: 8px 16px; border-radius: 20px; background: rgba(46,155,255,.10); color: var(--navy); font-weight: 600; font-size: 14px; }
.sr-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 26px;
  border-radius: 16px; background: linear-gradient(150deg, #0E2145, #070F22); color: #DCE6F5; border: 1px solid rgba(212,164,64,.35); }
.sr-cta b { color: var(--gold2); font-size: 17px; }
.sr-fc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sr-fc { display: flex; gap: 16px; padding: 16px; }
.sr-fc img { width: 104px; height: 156px; object-fit: cover; flex: none; border-radius: 4px; box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.sr-fc-vol { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px; }
.sr-fc b { font-size: 16.5px; display: block; color: var(--navy); } .sr-fc-sub { font-family: Lora, Georgia, serif; font-style: italic; color: #B07F1F; font-size: 14px; }
.sr-fc p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 6px 0; } .sr-fc-auth { font-size: 12.5px; font-weight: 600; color: var(--muted); }
a.sr-fc-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #B07F1F; text-decoration: none; } a.sr-fc-link:hover { text-decoration: underline; }
.showroom .vidbox { margin: 0; max-width: 1100px; }
html[data-mode="dark"] .sr-hl, html[data-mode="dark"] .sr-st, html[data-mode="dark"] .sr-part, html[data-mode="dark"] .sr-fc, html[data-mode="dark"] a.sr-np { background: #10224A; }
html[data-mode="dark"] .sr-hl b, html[data-mode="dark"] .sr-st b, html[data-mode="dark"] a.sr-np b, html[data-mode="dark"] .sr-part-h, html[data-mode="dark"] .sr-fc b, html[data-mode="dark"] .sr-aud span { color: #fff; }
html[data-mode="dark"] .sr-stat b, html[data-mode="dark"] .sr-part-r, html[data-mode="dark"] .sr-fc-sub, html[data-mode="dark"] a.sr-fc-link { color: var(--gold2); }
html[data-mode="dark"] .sr-np-num { color: #6FB3FF; }
html[data-mode="dark"] .sr-part li a { color: #C8D4E8; } html[data-mode="dark"] .sr-part li a:hover { color: #8CC4FF; }
@media (max-width: 1100px) { .sr-np-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sr-fc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991px) { .sr-stats { grid-template-columns: repeat(3, 1fr); } .sr-st-grid { grid-template-columns: repeat(2, 1fr); } .sr-fc-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sr-hero { flex-direction: column; padding: 22px; } .sr-cover { width: 170px; } .sr-title { font-size: 34px; } .sr-title i { font-size: 26px; }
  .sr-hl-grid, .sr-st-grid { grid-template-columns: 1fr; } .sr-stats { grid-template-columns: repeat(2, 1fr); } .sr-np-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1140px) { .menu > a, .mi > a { padding: 0 6px; font-size: 12px; letter-spacing: .02em; } .nav-in { gap: 10px; } }
/* ---- CMS (js/cms.js): admin icon, login window, Edit page button, edit bar and tools */
html.cms-wait body > *:not(#login) { visibility: hidden; }
.tools { position: relative; }
.cmsbtn.on { border-color: #e9b54a !important; color: #e9b54a !important; background: rgba(233,181,74,.12); }
.cms-hidden { display: none !important; }
body.cms-on .cms-hidden { display: revert !important; opacity: .35; outline: 2px dashed #e05a5a; }
.cms-menu { position: absolute; top: calc(100% + 12px); right: 58px; z-index: 80; min-width: 220px; background: #121a4c; border: 1px solid rgba(241,205,120,.35); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.cms-menu p { margin: 4px 10px 8px; font-size: 12.5px; color: #c9cfe8; } .cms-menu p b { color: #fff; }
.cms-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: #fff; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.cms-menu button:hover { background: rgba(241,205,120,.12); color: #f1cd78; }
.cms-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(4,8,28,.62); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cms-box { width: 100%; max-width: 380px; background: #0a1238; border: 1px solid rgba(241,205,120,.3); border-radius: 12px; padding: 28px 30px; box-shadow: 0 30px 70px rgba(0,0,0,.5); color: #e8ebf7; }
.cms-box h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 26px; color: #fff; } .cms-box h3 svg { width: 26px; height: 26px; color: #e9b54a; }
.cms-box label { display: block; margin-bottom: 16px; } .cms-box label span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
.cms-box input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: #0d1640; color: #fff; font: inherit; }
.cms-box input:focus { outline: none; border-color: #e9b54a; box-shadow: 0 0 0 3px rgba(233,181,74,.18); }
.cms-err { color: #ff8a8a; font-size: 13.5px; margin: -4px 0 12px; }
.cms-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.cms-editbtn { position: fixed; z-index: 60; top: 104px; right: max(16px, calc((100vw - 1200px) / 2 + 22px)); display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 0; border-radius: 8px; background: #e9a23b; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.cms-editbtn svg { width: 17px; height: 17px; } .cms-editbtn:hover { background: #f1b24f; }
#cms_bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 22px; background: #0a1238; border-top: 2px solid #e9b54a; color: #e8ebf7; box-shadow: 0 -12px 30px rgba(0,0,0,.35); }
#cms_bar .cms-t { flex: 1; min-width: 220px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 15px; } #cms_bar .cms-t b { color: #e9b54a; }
#cms_bar .cms-t svg { width: 19px; height: 19px; color: #e9b54a; } #cms_bar small { flex-basis: 100%; color: #aab3d6; font-size: 12.5px; }
#cms_bar .cms-n { font-size: 13px; color: #c9cfe8; margin-right: 6px; }
#cms_bar .btn.ghost { color: #e8ebf7; } #cms_bar .btn[disabled] { opacity: .45; cursor: default; }
body.cms-on { padding-bottom: 90px; }
body.cms-on .cms-hov { outline: 1px dashed rgba(233,181,74,.75); outline-offset: 2px; cursor: text; }
body.cms-on img.cms-hov { outline: 2px dashed #e9b54a; cursor: pointer; }
.cms-cur { outline: 2px solid #e9b54a !important; outline-offset: 3px; background: rgba(233,181,74,.06); }
.cms-changed { box-shadow: inset 3px 0 0 #4fc38a; }
#cms_tool { position: absolute; z-index: 950; display: flex; gap: 4px; padding: 5px; background: #121a4c; border: 1px solid rgba(241,205,120,.45); border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.4); }
#cms_tool button { background: none; border: 0; color: #fff; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 7px; cursor: pointer; }
#cms_tool button:hover { background: rgba(241,205,120,.15); color: #f1cd78; } #cms_tool button.ok { background: #e9a23b; color: #0a1238; }
#cms_toast { position: fixed; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 1100; background: #12305a; color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; pointer-events: none; max-width: calc(100vw - 32px); }
#cms_toast.bad { background: #7a1f2b; }
@media (max-width: 1280px) { .cms-editbtn { top: auto; bottom: 18px; } .cms-menu { right: 0; } }
@media (min-width: 1024px) and (max-width: 1100px) { .tools { gap: 4px; } }   /* room for the CMS icon (FR menu at 1024 px) */

/* ---------- STARTER PAGE AND SIGN-IN, with the rules of VTPWEB (js/site.js > sign-in) ---------- */
/* signed out (html.starter / html.locked): no main menu, only the logo and the top-bar icons */
html:not(.signed) .nav .menu, html:not(.signed) .nav .burger { display: none !important; }
/* Home signed out: only the starter band */
html:not(.signed) section#home > :not(.starter-band) { display: none !important; }
html:not(.signed) .starter-band { min-height: calc(100vh - 82px); display: flex; align-items: center; }
html:not(.signed) .starter-band > .wrap { width: 100%; }
.starter-band { padding: 64px 0 80px; }
.starter-band img.logo { width: 330px; max-width: 80%; }
/* platform name above the logo */
.st-name { display: inline-flex; align-items: center; gap: 26px; margin: 0 0 28px; }
.st-name span { font-size: 26px; font-weight: 700; letter-spacing: .36em; text-transform: uppercase; padding-left: .36em;
  background: linear-gradient(90deg, #F0D890, #D4A440 45%, #F0D890); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 26px rgba(212,164,64,.25); }
.st-name i { width: 170px; height: 2px; background: linear-gradient(90deg, transparent, #D4A440); position: relative; }
.st-name i:last-child { background: linear-gradient(90deg, #D4A440, transparent); }
.st-name i::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; transform: rotate(45deg); background: #D4A440; }
.st-name i:first-child::after { right: -4px; } .st-name i:last-child::after { left: -4px; }
html[data-mode="light"] .st-name span { background: linear-gradient(90deg, #8A6418, #B07F1F 45%, #8A6418); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 1100px) { .st-name span { font-size: 20px; letter-spacing: .28em; } .st-name i { width: 90px; } }
@media (max-width: 640px) { .st-name { gap: 12px; } .st-name span { font-size: 14px; letter-spacing: .2em; } .st-name i { width: 34px; } .starter-band h1 { font-size: 32px; } }
/* six section buttons, one colour each */
.assets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 1120px; margin: 14px auto 0; text-align: left; }
.abox { --c: var(--gold); --c2: var(--gold2); position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: #fff !important;
  min-height: 62px; padding: 10px 12px; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 26%, transparent) 0%, rgba(7,15,34,.72) 75%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s, border-color .2s; }
.abox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.abox::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent) 0%, transparent 70%); opacity: .55; transition: opacity .2s; pointer-events: none; }
.abox:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 35%, transparent); }
.abox:hover::after { opacity: 1; }
.abox .aic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 5px 14px color-mix(in srgb, var(--c) 45%, transparent); }
.abox .aic svg { width: 19px; height: 19px; }
.abox .atx { min-width: 0; }
.abox .atx b { display: block; font-size: 13px; line-height: 1.2; letter-spacing: .9px; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abox.act { --c: #D4A440; --c2: #F0D890; } .abox.proj { --c: #2E6BFF; --c2: #7FB2FF; } .abox.prod { --c: #E0702E; --c2: #FFB27A; }
.abox.apps { --c: #10B981; --c2: #6EE7B7; } .abox.edu { --c: #8B5CF6; --c2: #C4B5FD; } .abox.res { --c: #E11D74; --c2: #F9A8D4; }
html[data-mode="light"] .abox { color: var(--navy) !important; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, #fff) 0%, #fff 75%); box-shadow: 0 3px 12px rgba(11,26,58,.08); }
html[data-mode="light"] .abox .atx b { color: var(--navy); }
@media (max-width: 1200px) { .assets { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 600px) { .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .abox { padding: 9px 10px; } .abox .atx b { font-size: 12px; letter-spacing: .5px; } }
/* Sign up | Sign in under the buttons, hidden once signed in; a short welcome instead */
.home-auth { display: inline-flex; align-items: center; margin-top: 44px; border: 1px solid #2A4475; border-radius: 12px; padding: 5px; background: rgba(7,15,34,.45); backdrop-filter: blur(6px); }
.ha-btn { min-width: 150px; padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: #E8EBF7 !important; text-align: center; transition: background .2s, color .2s; }
.ha-btn:hover { background: rgba(255,255,255,.06); }
.ha-in { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #0A1530 !important; } .ha-in:hover { background: linear-gradient(135deg, var(--gold2), var(--gold)); }
.ha-sep { width: 1px; height: 22px; background: #2A4475; margin: 0 5px; }
.hero p.home-auth-p { font-size: 13.5px; color: #9DB0CC; margin: 14px auto 0; font-weight: 400; }
html.signed .home-auth, html.signed .home-auth-p { display: none !important; }
html[data-mode="light"] .home-auth { background: #fff; border-color: #C9D4E6; } html[data-mode="light"] .ha-up { color: var(--navy) !important; }
.home-user { display: none; max-width: 760px; margin: 44px auto 0; }
html.signed .home-user { display: block; }
.home-user h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; color: #E8EBF7; } .home-user h3 b { color: var(--gold); font-weight: 700; }
.hero .home-user p { font-size: 15px; margin: 0 auto; color: #9DB0CC; }
html[data-mode="light"] .home-user h3 { color: var(--navy); }
@media (max-width: 480px) { .ha-btn { min-width: 0; padding: 12px 18px; } }
/* user icon of the top bar: initials when signed in, menu with the name and Sign out */
.ubox { position: relative; display: flex; }
.ubtn .u-ini { font-weight: 700; font-size: 14px; letter-spacing: .04em; color: #e9b54a; display: inline-flex; }
.ubtn .u-ini svg { width: 21px; height: 21px; color: #e8ebf7; }
html.signed .ubtn { border-color: rgba(233,181,74,.55); }
.umenu { display: none; position: absolute; right: 0; top: calc(100% + 12px); min-width: 240px; z-index: 2000; background: #121a4c;
  border: 1px solid rgba(241,205,120,.35); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.ubox.open .umenu { display: block; }
.u-head { padding: 8px 10px 10px; border-bottom: 1px solid #22355C; margin-bottom: 6px; display: flex; flex-direction: column; }
.u-head b { color: #fff; font-size: 14px; } .u-head span { color: #9DB0CC; font-size: 12px; }
.u-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #C9D6EC !important; text-decoration: none; font-size: 14px; font-weight: 600; }
.u-item svg { width: 17px; height: 17px; } .u-item:hover { background: rgba(212,164,64,.14); color: #e9b54a !important; }
.u-out { color: #FCA5A5 !important; }
html[data-mode="light"] .umenu { background: #fff; border-color: #DCE3EE; } html[data-mode="light"] .u-head b { color: var(--navy); } html[data-mode="light"] .u-item { color: var(--navy) !important; }
/* the sign-in card (VTPWEB): full screen in front of a page that needs an account, over a blurred page elsewhere */
html.lg-open body { overflow: hidden; }
#login { z-index: 9000; overflow-y: auto; }
html:not(.locked) #login { background: rgba(5,11,26,.78); backdrop-filter: blur(6px); }
html.locked #login { background: radial-gradient(ellipse at 30% 20%, #1A3A7A 0%, #0A1530 55%, #060D20 100%); }
#login .lg-card { position: relative; max-width: 440px; background: rgba(16,34,74,.92); border: 1px solid #2A4475; border-radius: 18px; padding: 34px 34px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lg-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2A4475; background: transparent;
  color: #C9D6EC; font-size: 22px; line-height: 1; cursor: pointer; } .lg-x:hover { color: #e9b54a; border-color: #e9b54a; }
.lg-logo2 { height: 54px; display: block; margin: 0 auto 18px; }
.lg-kick { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #D4A440; margin-bottom: 4px; }
#login .lg-card h2 { font-size: 26px; font-weight: 700; color: #fff; margin: 4px 0 6px; text-align: center; }
.lg-sub { color: #9DB0CC; font-size: 13.5px; text-align: center; margin: 0 0 18px; }
#login .lg-f { margin-bottom: 12px; } #login .lg-f > span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9FB0CF; }
#login .lg-f input { background: rgba(7,15,34,.6); border-color: #2A4475; }
#login .lg-f input:focus { border-color: #D4A440; box-shadow: 0 0 0 3px rgba(212,164,64,.15); }
.lg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#login .lg-rem { font-size: 13.5px; color: #C9D6EC; margin: 2px 0 10px; }
#login .lg-go { width: 100%; height: 44px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0A1530; margin-top: 6px; border-radius: 8px; }
.lg-msg { margin: 12px 0 0; padding: 9px 12px; border-radius: 8px; font-size: 13px; background: rgba(220,38,38,.14); border: 1px solid rgba(220,38,38,.45); color: #FCA5A5; }
.lg-msg.ok { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.45); color: #6EE7B7; }
#login .lg-alt { font-size: 13.5px; color: #C9D6EC; margin: 16px 0 0; } #login .lg-alt a { color: #D4A440; font-weight: 600; }
.lg-note { display: block; text-align: center; color: #9DB0CC; margin-top: 18px; font-size: 11.5px; }
html[data-mode="light"].locked #login { background: radial-gradient(ellipse at 30% 20%, #FFFFFF 0%, #EAF0FA 60%, #DCE5F3 100%); }
html[data-mode="light"]:not(.locked) #login { background: rgba(220,229,243,.8); }
html[data-mode="light"] #login .lg-card { background: #fff; border-color: #DCE3EE; box-shadow: 0 30px 80px rgba(10,21,48,.15); color: var(--navy); }
html[data-mode="light"] #login .lg-card h2 { color: var(--navy); } html[data-mode="light"] #login .lg-alt, html[data-mode="light"] #login .lg-rem { color: #44546E; }
html[data-mode="light"] #login .lg-f input { background: #fff; color: var(--navy); border-color: #C9D4E6; } html[data-mode="light"] .lg-x { border-color: #C9D4E6; color: #44546E; }
@media (max-width: 480px) { #login .lg-card { padding: 28px 20px 22px; } .lg-two { grid-template-columns: 1fr; gap: 0; } }
button.cbtn.ubtn { background: transparent; cursor: pointer; padding: 0; font: inherit; }
button.cbtn.ubtn:hover { border-color: #e9b54a; color: #e9b54a; }
/* Home band (10-13): logo +20%, subtitle on two lines, section buttons only for signed-out visitors (signed in, the main menu does the job) */
.starter-band img.logo { width: 396px; }
.starter-band h1 + p { max-width: 1040px; font-size: 16.5px; }
.starter-band .assets { display: none; }
@media (max-width: 1100px) { .st-name i { width: 60px; } }
@media (max-width: 640px) { .starter-band h1 + p { font-size: 14.5px; } .st-name span { font-size: 12px; letter-spacing: .14em; } .st-name i { width: 20px; } }
/* an odd last app card sits centred under the others */
@media (min-width: 641px) { .grid.g2 > .appcard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); } }

/* language: first-level icon in the tools bar (globe + current code), dropdown with the four languages */
.lbox { position: relative; display: flex; }
.lbtn { width: auto !important; flex-basis: auto !important; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; }
.lbtn svg { width: 19px !important; height: 19px !important; }
.lcode { font-weight: 700; font-size: 12.5px; letter-spacing: .05em; color: #e9b54a; }
.lbox.open .lbtn { border-color: #e9b54a; }
.lmenu { display: none; position: absolute; right: 0; top: calc(100% + 12px); min-width: 190px; z-index: 2000; background: #121a4c;
  border: 1px solid rgba(241,205,120,.35); border-radius: 12px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.lbox.open .lmenu { display: block; }
.lmenu button { display: flex; width: 100%; align-items: center; gap: 12px; border: 0; background: transparent; color: #C9D6EC; font: inherit; font-size: 14px; font-weight: 500; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.lmenu button b { min-width: 34px; font-size: 12px; letter-spacing: .05em; color: #9DB0CC; }
.lmenu button:hover { background: rgba(212,164,64,.14); color: #e9b54a; }
.lmenu button.on { color: #e9b54a; } .lmenu button.on b { color: #e9b54a; }
html[data-mode="light"] .lmenu { background: #fff; border-color: #DCE3EE; } html[data-mode="light"] .lmenu button { color: var(--navy); }
@media (max-width: 1280px) { .lbtn { padding: 0 9px; } .lbtn svg { display: none; } }
button.cbtn.lbtn { background: transparent; }
@media (max-width: 640px) {
  .tools { gap: 5px; } .tools .sbox { min-width: 36px; }
  .sbox, .obtn, .cbtn, .burger { width: 36px; height: 36px; flex-basis: 36px; }
  .lbtn { padding: 0 7px; height: 36px; } .lcode { font-size: 11.5px; }
}
/* starter page (signed out Home): no header bar at all, only the starter band */
html.starter header.nav { display: none !important; }
html.starter .starter-band { min-height: 100vh; }
/* starter headline: full width, one line on desktop (all languages) */
.starter-band h1 { max-width: none; width: 100%; font-size: clamp(30px, 3.3vw, 60px); }
@media (min-width: 900px) { .starter-band h1 { white-space: nowrap; width: 96vw; margin-left: calc(50% - 48vw); margin-right: 0; font-size: clamp(30px, 3.3vw, 64px); } }
/* web apps still under construction (listed last) */
.uc-tag { display: inline-block; width: fit-content; align-self: flex-start; margin: 2px 0 6px; padding: 2px 9px; border: 1px solid var(--gold, #d4a24c); border-radius: 999px;
  color: var(--gold, #d4a24c); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
