/* Research Egypt Academy — V2 theme, on the Research Egypt V15 identity.
   Same page, sections, data and motion as V1; only the look changes:
   off-white paper + navy ink, Research blue for anything you can press, orange only to mark the key word,
   white rounded cards on hairlines, pill buttons and a floating pill menu, big confident headings,
   Plus Jakarta Sans (Latin) + Avenir Next Arabic (Arabic; Readex Pro where it is not installed / licensed).
   Light is the default; the dark theme is the same navy a step darker. */

/* ---------------------------------------------------------------- fonts
   Avenir Next Arabic is read from the visitor's own device (local) — the web licence is the academy's to buy;
   until then everyone else gets Readex Pro (closest free match, loaded with Plus Jakarta Sans in <head>). */
@font-face { font-family: 'REA Arabic'; font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic Light'), local('AvenirNextArabic-Light'); }
@font-face { font-family: 'REA Arabic'; font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic'), local('Avenir Next Arabic Regular'), local('AvenirNextArabic-Regular'); }
@font-face { font-family: 'REA Arabic'; font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic Medium'), local('AvenirNextArabic-Medium'); }
@font-face { font-family: 'REA Arabic'; font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic Demi'), local('AvenirNextArabic-Demi'); }
@font-face { font-family: 'REA Arabic'; font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic Bold'), local('AvenirNextArabic-Bold'); }
@font-face { font-family: 'REA Arabic'; font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; src: local('Avenir Next Arabic Heavy'), local('AvenirNextArabic-Heavy'); }

/* ---------------------------------------------------------------- tokens */
:root {
  --orange: #F58220;
  --navy: #0D1940;
  --blue: #084887;
  --f-body: 'Plus Jakarta Sans', 'REA Arabic', 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Plus Jakarta Sans', 'REA Arabic', 'Readex Pro', system-ui, sans-serif;
  --f-label: 'Plus Jakarta Sans', 'REA Arabic', 'Readex Pro', system-ui, sans-serif;
  --r-sm: 14px; --r: 22px; --r-lg: 30px;
  --electric: none;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html[lang="en"] { --f-body: 'Plus Jakarta Sans', 'REA Arabic', 'Readex Pro', system-ui, sans-serif; --f-display: 'Plus Jakarta Sans', system-ui, sans-serif; }
html:not([data-theme="dark"]) {
  --c-bg: #F4F6FA; --c-bg-2: #EDF1F7; --c-surface: #E4EAF4; --c-card: #FFFFFF;
  --c-line: #DCE2EE; --c-line-2: rgba(13, 25, 64, .16);
  --c-text: #0D1940; --c-text-2: #2A3A66; --c-muted: #4A5578;
  --c-acc: #084887; --c-acc-ink: #084887; --c-hi: #084887; --c-hi-soft: #1F66AE; --c-hi-text: #084887;
  --c-ok: #0B7A53; --c-focus: #084887;
  --c-field-line: #8DB9EA;
  --lg-glow: rgba(8, 72, 135, .12); --lg-hot: #084887;
  --c-shadow: rgba(13, 25, 64, .14);
  --btn: #0D1940; --c-on-acc: #FFFFFF; --c-hi-ink: #FFFFFF;
  --c-hi-a: rgba(8, 72, 135, .08);
  --orange-ink: #A34E00;
}
html[data-theme="dark"] {
  --c-bg: #0A1330; --c-bg-2: #0D1940; --c-surface: #12204F; --c-card: #0F1C47;
  --c-line: rgba(234, 240, 250, .12); --c-line-2: rgba(234, 240, 250, .22);
  --c-text: #EAF0FA; --c-text-2: #C9D4EA; --c-muted: #A9B6D3;
  --c-acc: #5B9BE0; --c-acc-ink: #5B9BE0; --c-hi: #5B9BE0; --c-hi-soft: #8DB9EA; --c-hi-text: #8DB9EA;
  --c-ok: #3ee0a0; --c-focus: #8DB9EA;
  --c-field-line: #2F6FBF;
  --lg-glow: rgba(91, 155, 224, .30); --lg-hot: #8DB9EA;
  --c-shadow: rgba(0, 0, 0, .45);
  --btn: #2F6FBF; --c-on-acc: #FFFFFF; --c-hi-ink: #FFFFFF;
  --c-hi-a: rgba(91, 155, 224, .12);
  --c-term: #070E26;
  --orange-ink: #F58220;
  --lg-a: #FFFFFF; --lg-b: #FFFFFF; --lg-c: #FFFFFF; --lg-d: #FFFFFF; --lg-road: #0D1940;
}

/* ---------------------------------------------------------------- type: big, confident, no gradients; the key word in orange */
body { font-size: 16.5px; line-height: 1.7; }
.sec-title { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
html[lang="ar"] .sec-title { letter-spacing: 0; line-height: 1.22; font-weight: 700; }
.sec-title em, .about__statement em, .cta__l em, .hero__h1 em, .fcta__t em, .about__statement em .w {
  background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange) !important; -webkit-text-fill-color: currentColor !important;
}
.hero__h1 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
html[lang="ar"] .hero__h1 { letter-spacing: 0; line-height: 1.35; }
.about__statement { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] .about__statement { letter-spacing: 0; }
.sec-sub, .hero__lead, .about__text { color: var(--c-muted); }
h3, .bcard h3, .pcard__t, .stop__t, .val h4, .rail__t, .art__t, .pvx__t, .parent__t, .vis__title, .fcta__t, .tk__t, .clips__t, .apick__t, .pvc__t, .btl__b h3, .reg__wa b, .fhelp__t, .pv__ft h3 { font-family: var(--f-display); font-weight: 700; }
html[lang="ar"] h3, html[lang="ar"] .pcard__t, html[lang="ar"] .pvx__t { letter-spacing: 0; }
.pcard__t { font-family: var(--f-display) !important; }

/* labels: small caps-like text instead of the techy display face */
.mono, .kicker, .chip, .cd-unit > span, .countdown__label, .pcard__k, .bcard__k, .tk__k, .footer__links h3, .hlive__k { font-family: var(--f-label); letter-spacing: .08em; font-weight: 600; }
html[lang="ar"] .mono, html[lang="ar"] .kicker, html[lang="ar"] .chip { letter-spacing: 0; }
.kicker { color: var(--c-muted); gap: 10px; }
.kicker span { min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--orange); font-weight: 700; }
.kicker span::after { content: ''; display: inline-block; width: 26px; height: 2px; margin-inline-start: 10px; vertical-align: middle; background: var(--orange); border-radius: 2px; }
.dg, .tk__dg, .hlive__n, .stat dd, .pstats b, .ticket__price, .pblock__num, .rail__n, .val__n, .pv__n, .btl__d b, .pcard__idx b { font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; font-variant-numeric: tabular-nums; }
.dg { font-weight: 700; }
#programs[data-v="e"] .pcard__idx b { font-weight: 800; -webkit-text-stroke: 1.5px var(--c-line-2); color: transparent; }

/* ---------------------------------------------------------------- the floating pill menu */
.header { border-bottom: 0; }
.header.is-scrolled { background: color-mix(in srgb, var(--c-bg) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--c-line); }
.header__inner { height: calc(var(--header-h) + 8px); }
.nav ul { gap: 2px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--c-card) 88%, transparent); border: 1px solid var(--c-line); box-shadow: 0 10px 30px -18px var(--c-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--c-text-2); transition: background .25s, color .25s; }
.nav a::after { display: none; }
.nav a:hover { background: var(--c-hi-a); color: var(--c-text); }
.nav a.is-active { background: var(--btn); color: #fff; }
.header .logo { padding: 6px 10px; border-radius: 999px; }
.header.is-scrolled .logo, .header.is-scrolled .hbtn, .header.is-scrolled .langsw, .header.is-scrolled .hlogin { background: color-mix(in srgb, var(--c-card) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hbtn, .langsw { background: var(--c-card); border-color: var(--c-line); }
.header__progress { display: none; }

/* ---------------------------------------------------------------- buttons: pills, solid navy, a round arrow chip */
.btn { border-radius: 999px; font-weight: 700; letter-spacing: 0; }
.btn--blue { background: var(--btn); color: #fff; box-shadow: 0 12px 26px -16px var(--c-shadow); }
.btn--blue::before { background: var(--blue); }
html[data-theme="dark"] .btn--blue::before { background: #5B9BE0; }
.btn--blue:hover { color: #fff; }
.btn--blue svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: #fff; color: var(--navy); stroke: var(--navy); }
.btn--ghost { background: var(--c-card); border-color: var(--c-line); }
.btn--ghost::before { background: var(--btn); }
.link-arrow { color: var(--c-hi-text); border-bottom-color: color-mix(in srgb, var(--orange) 70%, transparent); }

/* ---------------------------------------------------------------- surfaces: white cards on paper, hairlines, soft shadows, no glows */
.bcard, .pcard, .ticket, .quote, .val, .stop, .rail__i, .art, .exp__tab, .pv__item, .countdown, .hlive, .fhelp, .apick, .tk__card, .arts__reader, .pvx__tile, .pboard, .jr__win, .form, .reg__formwrap .form, .founder, .vinfo, .vmap, .pcard__lv .pblock, .pstats li, .steps li, .reg__contact, .footer__news {
  border-color: var(--c-line);
}
.countdown, .hlive { background: var(--c-card); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 20px 50px -30px var(--c-shadow); }
.countdown::before { display: none; }
.pcard, .bcard, .ticket, .quote, .val, .art, .stop { box-shadow: 0 1px 0 var(--c-line), 0 24px 60px -40px var(--c-shadow); }
.pcard:hover { box-shadow: 0 30px 70px -40px var(--c-shadow); border-color: var(--c-line-2); }
html:not([data-theme="dark"]) .pcard__live { opacity: .12; }
.pcard__sheen { display: none; }
.dg { background: color-mix(in srgb, var(--c-text) 5%, transparent); }
.cd-unit:first-child .dg { color: var(--orange); }
.chip { background: var(--c-card); border-color: var(--c-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.chip--hi { color: var(--c-hi-text); border-color: color-mix(in srgb, var(--c-hi) 30%, transparent); }
.chip__led { background: var(--orange) !important; box-shadow: none !important; }
.pbadge--open { color: var(--c-ok); }
.pbadge--date, .pbadge--soon { color: var(--c-hi-text); }

/* hero: quiet field lines on paper; the logo keeps its motion */
.hero__vignette { opacity: .6; }
html:not([data-theme="dark"]) .hero__mark::before { opacity: .25; }
.hero__grid-lines i { background: var(--c-line); opacity: .6; }

/* the course-field strip: a brand-blue band with orange stars (navy in the dark theme) */
.ticker { background: #1F66AE; color: #fff; border: 0; transform: rotate(-1.2deg) scale(1.02); }
html[data-theme="dark"] .ticker { background: #12204F; }
.ticker__row { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; }
html[lang="ar"] .ticker__row { letter-spacing: 0; }
.ticker__row i { color: var(--orange); }

/* ---------------------------------------------------------------- section accents */
.previews { background: none; }
.progs, .vision { background: var(--c-bg-2); }
.val__n, .stop__n b { color: var(--orange); }
/* small orange word labels: brand orange on white is 2.6:1, so the light theme writes them in a deeper orange (>= 4.5:1) */
.pvx__eyebrow span, .pvx__k, .pvc__k, .apick__k, .parent__k, .vis__k, .vis__vk, .fhelp__k, .bootc__fk, .pcard__k, .bcard__k, .tk__k, .rail__k { color: var(--orange-ink); }
.rail__i.is-on, .exp__tab[aria-selected="true"], .pv__item.is-on, .arl button[aria-pressed="true"] { border-color: var(--c-hi); background: var(--c-hi-a); }
.rail__i.is-done .rail__n { background: var(--btn); }
.pb__pp, .hlive__bar i, .pb__line b, .exp__tab i::after, .jr__prog i, .exp__dots button[aria-current="true"] { background: var(--orange) !important; }
#journey[data-v="a"] .jr__line b { background: var(--orange); box-shadow: none; }
#journey[data-v="a"] .stop::before { border-color: var(--orange); }
.tk__stamp { color: var(--orange); }
html[data-theme="dark"] .tk__stub { background: var(--navy) !important; color: #fff !important; }
html[data-theme="dark"] .tk--soon .tk__stub { background: #12204F !important; }
html[data-theme="dark"] .tk__stub .tk__mon, html[data-theme="dark"] .tk__stub .tk__top, html[data-theme="dark"] .tk__stub .tk__soon, html[data-theme="dark"] .tk__stub .tk__dv { color: #fff !important; }
html[data-theme="dark"] .tk__dg { color: #fff !important; background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important; }
html[data-theme="dark"] .tk__cta { background: #fff !important; color: var(--navy) !important; }
html[data-theme="dark"] .tk__stub::before { border-color: rgba(255, 255, 255, .3) !important; }
.reg__wa { background: #0F7D42; box-shadow: 0 20px 40px -26px rgba(15, 125, 66, .9); }
.cta__ring text { fill: var(--c-hi-text); }
.cta__ring .ring-tight { fill: var(--orange); }

/* ---------------------------------------------------------------- footer: the RESEARCH letters fall and pile up, the faded logo under them */
.fgiant { -webkit-mask-image: none; mask-image: none; }
.fgiant img { opacity: .07 !important; }
.fletters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fletters b { position: absolute; top: 0; left: 0; font: 800 clamp(64px, 9.5vw, 180px)/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.02em; will-change: transform; }
.fletters b:nth-child(3n+1) { color: var(--navy); } .fletters b:nth-child(3n+2) { color: var(--blue); } .fletters b:nth-child(3n) { color: var(--orange); }
html[data-theme="dark"] .fletters b:nth-child(3n+1) { color: #EAF0FA; } html[data-theme="dark"] .fletters b:nth-child(3n+2) { color: #5B9BE0; }
.fgiant { min-height: clamp(220px, 26vw, 460px); }

/* light theme: nothing dark anywhere */
.boot { background: var(--c-bg) !important; color: var(--c-text) !important; }
html:not([data-theme="dark"]) .term, html:not([data-theme="dark"]) .pb__code { background: #EEF3FB; color: var(--navy); }

/* ---------------------------------------------------------------- V1 leftovers recoloured to V2 */
/* fonts: no Azonix / IBM Plex / Inter Tight left on screen */
.footer__slogan { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; }
html[data-theme="dark"] .footer__slogan { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--c-text-2); -webkit-text-fill-color: currentColor; }
html[lang="ar"] .acc__btn, html[lang="ar"] .spk__talk { font-family: var(--f-display); }
.langsw:lang(ar) { font-family: var(--f-body); }
html[lang="ar"] .term { font-family: ui-monospace, Menlo, Consolas, 'REA Arabic', 'Readex Pro', monospace; }
.term code { font-family: inherit; }
.ptable .ptable__n { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
html[lang="ar"] .about__statement { font-weight: 700; }

/* hero logo in the dark theme: flat brand tones, no electric gradient, no glow */
html[data-theme="dark"] .hlogo .lmark .lg { fill: #EAF0FA; }
html[data-theme="dark"] .hlogo .lmark .lg.lg-b { fill: #5B9BE0; }
html[data-theme="dark"] .hlogo .lmark .lg.lg-c { fill: #C9D4EA; }
html[data-theme="dark"] .hlogo .lmark .lg.lg-d { fill: #8DB9EA; }
.hlogo .lmark { filter: none; }

/* soft section glows in V2 blue instead of the V1 electric blue */
.about { background: radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--c-hi) 7%, transparent), transparent 70%); }
[dir="rtl"] .about { background: radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--c-hi) 7%, transparent), transparent 70%); }
.cta { background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--c-hi) 10%, transparent), transparent 70%); }
.tickets { background: var(--c-bg); }
.mmenu__bg::after { background: radial-gradient(60% 40% at 80% 0%, color-mix(in srgb, var(--c-hi) 12%, transparent), transparent 70%), repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--c-text) 3.5%, transparent) 31px 32px); }
[dir="rtl"] .mmenu__bg::after { background: radial-gradient(60% 40% at 20% 0%, color-mix(in srgb, var(--c-hi) 12%, transparent), transparent 70%), repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--c-text) 3.5%, transparent) 31px 32px); }
.vthumb__play, .quote__play { box-shadow: 0 12px 28px -12px var(--c-shadow); }
.pvr__c:hover { box-shadow: 0 30px 60px -30px var(--c-shadow); }
.ticket--hot { border-color: color-mix(in srgb, var(--c-hi) 60%, transparent); }
.ticket__list li::before { background: var(--c-hi-a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%23084887' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
html[data-theme="dark"] .ticket__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%238DB9EA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23084887' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238DB9EA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* course-card art: brand blues instead of electric/cyan blobs */
.b1 { background: var(--blue); } .b2 { background: #5B9BE0; } .b3 { background: #8DB9EA; }
.al i { background: color-mix(in srgb, var(--c-hi) 14%, transparent); }
@keyframes alpulse { to { background: color-mix(in srgb, var(--c-hi) 26%, transparent); } }
/* pipeline "brand mark" swatches: the brand palette */
.pb__sw li { background: var(--blue); }
.pb__sw li:nth-child(2) { background: var(--c-text); } .pb__sw li:nth-child(3) { background: var(--orange); } .pb__sw li:nth-child(4) { background: #8DB9EA; }

/* bootcamp tickets */
.bootc { background: radial-gradient(55% 40% at 50% 0%, color-mix(in srgb, var(--c-hi) 8%, transparent), transparent 70%); }
.bootc__slot { background: linear-gradient(90deg, transparent, var(--c-hi) 30%, var(--c-hi-soft) 50%, var(--c-hi) 70%, transparent); box-shadow: none; }
html:not([data-theme="dark"]) .bootc__slot { background: linear-gradient(90deg, transparent, #8DB9EA 18%, var(--blue) 50%, #8DB9EA 82%, transparent); }
.cue, html:not([data-theme="dark"]) .tk__stub .cue { background: var(--orange); color: var(--navy); }
html:not([data-theme="dark"]) .tk__stub, html:not([data-theme="dark"]) .tk--soon .tk__stub { color: var(--navy); background: linear-gradient(180deg, #EEF3FB 0%, #DCE7F5 100%); }
html:not([data-theme="dark"]) .tk__stub .tk__mon, html:not([data-theme="dark"]) .tk__stub .tk__top, html:not([data-theme="dark"]) .tk__stub .tk__soon, html:not([data-theme="dark"]) .tk__stub .tk__dv { color: var(--navy); }
html:not([data-theme="dark"]) .tk__stub::before { border-color: rgba(13, 25, 64, .28); }
html:not([data-theme="dark"]) .tk__stamp { color: var(--blue); }
html:not([data-theme="dark"]) .tk__dg { color: var(--navy); background: linear-gradient(180deg, #FFFFFF 0 50%, #F4F7FC 50% 100%); box-shadow: inset 0 0 0 1px rgba(13, 25, 64, .14); }
.tk__card:hover .tk__stub::before, .tk__card:focus-within .tk__stub::before { border-color: color-mix(in srgb, var(--c-hi) 70%, transparent); filter: none; }
html[data-theme="dark"] .tk__card:hover .tk__stub::before, html[data-theme="dark"] .tk__card:focus-within .tk__stub::before { border-color: rgba(255, 255, 255, .6) !important; }
.tk__bar .is-on { background: var(--c-hi); }
.tk__bar .is-off, html:not([data-theme="dark"]) .tk__bar .is-off { background: #8DB9EA; }
html[data-theme="dark"] .tk__bar .is-off { background: #2F6FBF; }
html:not([data-theme="dark"]) .tk[data-state="next"] .tk__tk { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-hi) 45%, transparent); }
.tk__pi { background: color-mix(in srgb, var(--c-hi) 12%, transparent); }
.tk__opt input:checked + .tk__ob { background: color-mix(in srgb, var(--c-hi) 12%, transparent); }
.tk__opt input:checked + .tk__ob .tk__ock { background: var(--c-hi); border-color: var(--c-hi); }

/* form success pass: brand mid-blue in light (like the course strip), navy in dark; no electric gradient */
.bpass { background: linear-gradient(160deg, #2A78C4 0%, #1F66AE 100%); box-shadow: 0 30px 70px -34px rgba(8, 72, 135, .55); }
html[data-theme="dark"] .bpass { background: linear-gradient(160deg, #12204F 0%, var(--navy) 100%); border: 1px solid var(--c-line-2); box-shadow: 0 30px 70px -34px var(--c-shadow); }

/* dark theme: solid accent fills carry white text, so they use the deeper button blue (#5B9BE0 + white is 2.9:1) */
html[data-theme="dark"] .skip, html[data-theme="dark"] .filter.is-active, html[data-theme="dark"] .ftab.is-active, html[data-theme="dark"] .vnote .mono,
html[data-theme="dark"] .ticket__badge, html[data-theme="dark"] .catchips li:last-child, html[data-theme="dark"] .acc__item.is-open .acc__btn i, html[data-theme="dark"] .about__list svg { background: var(--btn); border-color: var(--btn); }
html[data-theme="dark"] .field--check input:checked { background-color: var(--btn); border-color: var(--btn); }
html[data-theme="dark"] ::selection { background: var(--btn); color: #fff; }

/* agent 5: two V1 leftovers still visible — the FAQ help card glow and the pipeline request/response packets (cyan/green with glow) */
.fhelp { background-image: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--c-hi) 10%, transparent), transparent 60%); }
.pb__packet { background: var(--c-hi); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-hi) 18%, transparent); }
.pb__packet--back { background: var(--orange); box-shadow: 0 0 0 5px color-mix(in srgb, var(--orange) 20%, transparent); }
