@import url("fonts.css");
:root {
  --navy: #21233e;
  --navy-800: #1a1c33;
  --navy-700: #2d3052;
  --yellow: #f9e476;
  --yellow-600: #f4dd62;
  --mint: #7fe3c4;
  --coral: #ff9e7a;
  --white: #ffffff;
  --line: rgba(249, 228, 118, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --f-head: "montserrat-bold", "Montserrat", system-ui, sans-serif;
  --f-med: "montserrat-medium", "Montserrat", system-ui, sans-serif;
  --f-body: "montserrat-regular", "Montserrat", system-ui, sans-serif;
}

/* ===== base + type ===== */
body {
  font-family: var(--f-body);
  color: var(--navy);
  background: var(--white);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .section-title,
.hero__title, .feature__title, .rnd__title, .pillar__title, .cta-band__title {
  font-family: var(--f-head);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.015em;
}
a { color: var(--navy); text-decoration-color: var(--yellow-600); }
a:hover { color: var(--navy-700); }

.skip-link {
  position: absolute; top: 10px; left: 10px; z-index: 2000;
  background: var(--yellow); color: var(--navy);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}

.eyebrow {
  font-family: var(--f-med);
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.76rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--yellow); }

.section-head { margin-bottom: 3rem; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* yellow highlight bar behind a word */
.hl {
  display: inline-block; background: var(--yellow); color: var(--navy);
  padding: 0 0.22em; transform: rotate(-1.2deg);
  box-shadow: 6px 6px 0 rgba(249, 228, 118, 0.25);
}

/* ===== buttons + links ===== */
.btn {
  font-family: var(--f-med); font-weight: 600;
  border-radius: 999px; padding: 0.7rem 1.7rem; letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--yellow); border: 2px solid var(--yellow); color: var(--navy); }
.btn-accent:hover { background: var(--yellow-600); border-color: var(--yellow-600); color: var(--navy); box-shadow: 0 10px 24px rgba(249,228,118,.3); }
.btn-navy { background: var(--navy); border: 2px solid var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); box-shadow: 0 10px 24px rgba(33,35,62,.2); }
/* navy bg + yellow text (reversed CTA) */
.btn-navy-yellow { background: var(--navy); border: 2px solid var(--navy); color: var(--yellow); }
.btn-navy-yellow:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--yellow); box-shadow: 0 10px 24px rgba(33,35,62,.25); }
/* ghost for dark backgrounds */
.btn-ghost { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.link-arrow {
  font-family: var(--f-med); font-weight: 600; text-decoration: none;
  display: inline-flex; gap: 0.4rem; align-items: center; color: var(--navy);
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: var(--yellow); }
.link-arrow--light:hover { color: var(--white); }

/* ===== navbar (transparent over hero, navy when scrolled) ===== */
.js-navbar {
  padding: 1.1rem 0; position: absolute; top: 0; left: 0; right: 0;
  z-index: 1000; background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.js-navbar.is-scrolled {
  position: fixed; background: var(--navy-800);
  padding: 0.6rem 0; box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.js-logo-img { height: 38px; width: auto; display: block; }
.js-logo-img--footer { height: 34px; margin-bottom: 1rem; }
.js-navbar .nav-link {
  font-family: var(--f-med); font-weight: 500; color: var(--white);
  padding: 0.4rem 0.9rem; position: relative;
}
.js-navbar .nav-link::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.1rem;
  height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.js-navbar .nav-link:hover::after,
.js-navbar .nav-link:focus::after { transform: scaleX(1); }
.js-navbar .nav-link:hover,
.js-navbar .nav-link:focus { color: var(--yellow); }
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* mobile open menu gets a navy sheet so white links stay legible */
@media (max-width: 991.98px) {
  .js-navbar .navbar-collapse {
    background: var(--navy-800); border-radius: var(--radius);
    margin-top: 0.8rem; padding: 1rem 1.2rem;
  }
}

/* ===== decorations ===== */
.deco, .deco-shape { position: absolute; z-index: 1; pointer-events: none; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* circuit-board svg */
.hero__circuit {
  position: absolute; top: 0; right: 0; width: 55%; height: 60%;
  z-index: 1; opacity: 0.5;
}
.hero__circuit path { fill: none; stroke: var(--yellow); stroke-width: 1.5; }
.hero__circuit circle { fill: var(--yellow); }

/* hero floating shapes */
.deco__ring { width: 120px; height: 120px; border: 7px solid var(--yellow); border-radius: 50%; top: 14%; right: 7%; animation: float 7s ease-in-out infinite; }
.deco__ring--sm { width: 54px; height: 54px; border-width: 5px; border-color: var(--mint); top: auto; bottom: 18%; left: 4%; right: auto; animation-duration: 6s; }
.deco__tri { width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 44px solid var(--coral); bottom: 12%; right: 10%; transform: rotate(18deg); animation: float 8s ease-in-out infinite reverse; }
.deco__cross { font-family: var(--f-head); font-weight: 700; font-size: 3rem; color: var(--white); line-height: 1; top: 24%; left: 44%; animation: spin 16s linear infinite; }
.deco__square { width: 30px; height: 30px; border: 5px solid var(--white); top: 64%; right: 46%; transform: rotate(22deg); }
.deco__dots { width: 10px; height: 120px; top: 30%; right: 2%; background-image: radial-gradient(var(--yellow) 2.4px, transparent 2.6px); background-size: 14px 20px; }

/* section-level shapes (on white sections) */
.deco-shape--ring { width: 90px; height: 90px; border: 6px solid var(--yellow); border-radius: 50%; top: 8%; left: 3%; }
.deco-shape--dots { width: 90px; height: 90px; top: 12%; right: 4%; background-image: radial-gradient(var(--navy) 2px, transparent 2.4px); background-size: 16px 16px; opacity: .25; }
.deco-shape--tri { width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--mint); top: 14%; right: 6%; transform: rotate(-16deg); }
.deco-shape--cross { font-family: var(--f-head); font-weight: 700; font-size: 2.6rem; color: var(--navy); top: 18%; left: 8%; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: var(--white); padding: 8.5rem 0 3.5rem; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 55% 15%, #000 40%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 55% 15%, #000 40%, transparent 85%);
}
.hero .container { position: relative; z-index: 2; }
.hero__title { color: var(--white); font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; text-transform: uppercase; margin: 0 0 1.5rem; }
.hero__lead { font-family: var(--f-med); font-size: 1.18rem; color: var(--white); max-width: 34rem; margin: 0 0 2rem; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero__photo { position: relative; margin: 0; max-width: 460px; margin-left: auto; }
.hero__photo img { width: 100%; height: auto; border-radius: var(--radius); display: block; border: 4px solid var(--yellow); box-shadow: 14px 14px 0 rgba(249,228,118,.18); }
.hero__photo-badge {
  position: absolute; bottom: 1rem; left: -0.8rem;
  background: var(--navy); color: var(--yellow); font-family: var(--f-med); font-weight: 600;
  font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: 999px; border: 2px solid var(--yellow);
}

/* proof strip (on dark hero) */
.proof { margin-top: 3.5rem; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.18); text-align: center; row-gap: 1.6rem; }
.proof__num { font-family: var(--f-head); font-size: 2.5rem; font-weight: 700; color: var(--white); line-height: 1; }
.proof__num[data-placeholder] { color: var(--yellow); }
.proof__label { font-family: var(--f-med); font-size: 0.9rem; color: var(--white); margin-top: 0.4rem; }

/* ===== spine ===== */
.spine { background: var(--yellow); padding: 2.2rem 0; }
.spine__text { color: var(--navy); text-align: center; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.9rem); margin: 0; text-transform: uppercase; }

/* ===== pillars ===== */
.pillars { padding: 6rem 0; position: relative; overflow: hidden; background: var(--white); }
.pillar {
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; display: flex; flex-direction: column;
  box-shadow: 7px 7px 0 var(--navy); transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--yellow); }
.pillar--feature { background: var(--navy); border-color: var(--navy); box-shadow: 7px 7px 0 var(--yellow); }
.pillar--feature:hover { box-shadow: 12px 12px 0 var(--yellow); }
.pillar--feature .pillar__title { color: var(--white); }
.pillar--feature .pillar__body { color: var(--white); }
.pillar--feature .pillar__body strong { color: var(--yellow); }
.pillar--feature .link-arrow { color: var(--yellow); }
.pillar--feature .link-arrow:hover { color: var(--white); }
.pillar__tag {
  align-self: flex-start; background: transparent; color: var(--navy); border: 2px solid var(--navy);
  font-family: var(--f-med); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
}
.pillar__tag--live { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.pillar--feature .pillar__tag { border-color: var(--yellow); color: var(--yellow); }
.pillar--feature .pillar__tag--live { background: var(--yellow); color: var(--navy); }

/* per-pillar colour coding (navy + yellow + mint + coral) */
.pillar--research { border-top: 8px solid var(--mint); }
.pillar--research:hover { box-shadow: 12px 12px 0 var(--mint); }
.pillar--research .pillar__tag { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.pillar--training { border-top: 8px solid var(--coral); }
.pillar--training:hover { box-shadow: 12px 12px 0 var(--coral); }
.pillar--training .pillar__tag { background: var(--coral); border-color: var(--coral); color: var(--navy); }
.pillar--studio { border-top: 8px solid var(--yellow); }
.pillar--studio:hover { box-shadow: 12px 12px 0 var(--yellow); }
.pillar--studio .pillar__tag { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.pillar__title { font-size: 1.6rem; margin: 1rem 0 0.7rem; }
.pillar__body { color: var(--navy); margin-bottom: 1.4rem; flex: 1; }
.pillar__body strong { font-weight: 700; }

/* ===== feature (Bit&R) ===== */
.feature { padding: 6rem 0; background: var(--white); position: relative; overflow: hidden; }
.feature__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
.feature__body { color: var(--navy); margin-bottom: 1.8rem; }
.feature__body strong { font-weight: 700; }
.feature__photo { margin: 0; position: relative; text-align: right;}
.feature__photo img { margin-left: auto; width: 100%; height: auto; border-radius: var(--radius); display: block; border: 4px solid var(--navy); box-shadow: 14px 14px 0 var(--yellow); }

/* ===== rnd (JSLigu) ===== */
.rnd { padding: 6rem 0; background: var(--navy-800); position: relative; overflow: hidden; }
.rnd__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(90% 90% at 80% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(90% 90% at 80% 50%, #000 30%, transparent 80%);
}
.rnd .container { position: relative; z-index: 1; }
.rnd__title { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
.rnd__body { color: var(--white); margin-bottom: 1.6rem; }
.rnd__body strong { color: var(--yellow); font-weight: 700; }
.rnd__badge { background: var(--navy-700); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 2.6rem; text-align: center; }
.rnd__badge-trl { display: block; font-family: var(--f-head); font-size: 4rem; font-weight: 700; color: var(--yellow); line-height: 1; }
.rnd__badge-note { display: block; margin-top: 0.6rem; color: var(--white); font-family: var(--f-med); font-size: 0.95rem; }

/* ===== featured in ===== */
.featured { padding: 4rem 0 1rem; background: var(--white); }
.featured__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 2.6rem; margin-top: 1.5rem; }
.featured__logos a { display: inline-flex; }
.featured__logos img { height: 38px; width: auto; filter: grayscale(100%); opacity: 0.8; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.featured__logos a:hover img, .featured__logos img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

/* ===== cta band ===== */
.cta-band { padding: 5.5rem 0; background: var(--yellow); position: relative; overflow: hidden; }
.cta-band__title { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 0.9rem; text-transform: uppercase; }
.cta-band__lead { font-family: var(--f-med); color: var(--navy); max-width: 36rem; margin: 0 auto 1.8rem; }
.cta-band .deco-shape--cross { color: var(--navy); top: 20%; right: 10%; left: auto; }

/* ===== footer ===== */
.footer { background: var(--navy-800); color: var(--white); padding: 4rem 0 2rem; }
.footer__desc { margin-top: 0.4rem; max-width: 24rem; font-size: 0.98rem; color: var(--white); }
.footer__head { font-family: var(--f-med); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--white); margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 0.5rem; }
.footer__list a { color: var(--white); text-decoration: none; }
.footer__list a:hover { color: var(--yellow); }
.footer__legal { margin-top: 1.4rem; font-size: 0.85rem; color: var(--white); line-height: 1.6; }
.footer__social {
  color: var(--white);
  justify-content: center;
  width: 42px; height: 42px; margin-top: 1.2rem; border-radius: 50%;
}
.footer__social:hover { border-color: var(--yellow); color: var(--yellow); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 0.85rem; color: var(--white);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
.footer__bottom sup { color: var(--yellow); }

/* ===================================================================
 * accessibility panel
 * =================================================================== */
/* "Aa" nav toggle */
.a11y-nav__toggle {
  font-family: var(--f-head); font-weight: 700; font-size: 1.1rem;
  background: transparent; border: 0; color: var(--white); cursor: pointer;
  padding: 0.4rem 0.9rem; line-height: 1;
}
.a11y-nav__toggle:hover, .a11y-nav__toggle:focus { color: var(--yellow); }
.a11y-nav__toggle.dropdown-toggle::after { vertical-align: 0.15em; }
/* dropdown menu card */
.a11y-menu {
  width: 260px; background: var(--white); border: 2px solid var(--navy);
  border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.a11y__title { font-size: 1.1rem; margin: 0 0 1rem; }
.a11y__group { margin-bottom: 1rem; }
.a11y__label { display: block; font-family: var(--f-med); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.a11y__btns { display: flex; gap: 0.5rem; }
.a11y__opt {
  font-family: var(--f-med); font-weight: 600; background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: 10px; padding: 0.5rem 0.8rem; cursor: pointer;
  transition: background .15s ease, color .15s ease; flex: 1;
}
.a11y__opt:hover { background: var(--yellow); }
.a11y__opt.is-active, .a11y__opt[aria-pressed="true"] { background: var(--navy); color: var(--yellow); }
.a11y__opt--wide { display: block; width: 100%; text-align: left; margin-bottom: 0.6rem; }
.a11y__reset {
  font-family: var(--f-med); font-weight: 600; width: 100%; margin-top: 0.4rem;
  background: var(--yellow); color: var(--navy); border: 2px solid var(--yellow);
  border-radius: 10px; padding: 0.55rem; cursor: pointer;
}
.a11y__reset:hover { background: var(--yellow-600); }

/* ===== a11y applied states (toggled by JS on <html>) ===== */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }

html.a11y-readable body,
html.a11y-readable .btn,
html.a11y-readable .nav-link,
html.a11y-readable .eyebrow,
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 {
  font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important;
  letter-spacing: 0.02em !important;
}
html.a11y-readable body { line-height: 1.85; }

html.a11y-contrast { --navy: #000000; --navy-800: #000000; --navy-700: #111111; --white: #ffffff; --yellow: #ffe200; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast .hero, html.a11y-contrast .rnd, html.a11y-contrast .footer { background: #000; }
html.a11y-contrast .hero__lead, html.a11y-contrast .proof__num, html.a11y-contrast .proof__label,
html.a11y-contrast .rnd__body, html.a11y-contrast .footer__list a, html.a11y-contrast .footer__desc,
html.a11y-contrast .footer__legal, html.a11y-contrast .footer__bottom { color: #fff; }
html.a11y-contrast .pillar { border-color: #000; box-shadow: 6px 6px 0 #000; }
html.a11y-contrast .btn-accent, html.a11y-contrast .hl, html.a11y-contrast .spine, html.a11y-contrast .cta-band { background: #ffe200; }

html.a11y-motion *, html.a11y-motion .deco { animation: none !important; transition: none !important; }

/* reduce motion for users who ask via OS */
@media (prefers-reduced-motion: reduce) {
  *, .deco { animation: none !important; transition: none !important; }
  .link-arrow:hover span { transform: none; }
}

/* ===== focus visibility ===== */
a:focus-visible, .btn:focus-visible, .nav-link:focus-visible,
.a11y__opt:focus-visible, .a11y__toggle:focus-visible, .a11y__reset:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px;
}

/* ===== responsive ===== */
@media (max-width: 991.98px) {
  .hero { padding: 7rem 0 3rem; }
  .hero__photo { margin: 2rem auto 0; }
  .hero__circuit { display: none; }
  .deco__cross, .deco__square { display: none; }
}
@media (max-width: 575.98px) {
  .hero { padding: 6rem 0 2.5rem; }
  .pillars, .feature, .rnd { padding: 4rem 0; }
  .cta-band { padding: 4rem 0; }
  .pillar { box-shadow: 5px 5px 0 var(--navy); }
  .deco__ring { width: 80px; height: 80px; }
  .a11y__panel { width: 230px; }
}

/* compact sub-page hero (half height, no photo) */
.hero--sub { padding: 7rem 0 3.25rem; }
.hero--sub .hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.hero--sub .hero__lead { margin-bottom: 0; max-width: 40rem; }

/* generic content section */
.section { padding: 6rem 0; position: relative; overflow: hidden; background: var(--white); }
.section--tight { padding: 4rem 0 2rem; }
.lead-text { font-size: 1.12rem; color: var(--navy); }

.collab__row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.5rem; }
.chip {
  font-family: var(--f-med); font-weight: 600; font-size: 0.85rem; color: var(--navy);
  border: 2px solid var(--navy); border-radius: 999px; padding: 0.45rem 1.1rem; background: var(--white);
}
.track-list, .course-list { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.track-list li { padding: 0.45rem 0; border-bottom: 1px solid rgba(33,35,62,0.1); font-family: var(--f-med); color: var(--navy); }
.track-list li:last-child { border-bottom: 0; }
.course-list li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; color: var(--navy); }
.course-list li::before { content: "\25B8"; position: absolute; left: 0; color: var(--navy); }
.course-list strong { font-weight: 700; }
.glance { background: var(--white); border: 2px solid var(--navy); border-radius: 20px; padding: 1.6rem 1.7rem; box-shadow: 7px 7px 0 var(--yellow); }
.glance dl { margin: 0; }
.glance dt { font-family: var(--f-med); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-top: 1rem; }
.glance dt:first-of-type { margin-top: 0; }
.glance dd { margin: 0.1rem 0 0; color: var(--navy); }
.tech-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 1.8rem; margin-top: 1.5rem; }
.tech-strip img { height: 42px; width: auto; transition: transform .2s ease; }
.tech-strip img:hover { transform: translateY(-3px) scale(1.05); }

.contact-form .form-field { margin-bottom: 1.3rem; }
.contact-form label { display: block; font-family: var(--f-med); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.45rem; color: var(--navy); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.8rem 1rem; border: 2px solid rgba(33,35,62,0.2);
  border-radius: 12px; font-family: var(--f-body); font-size: 1rem; color: var(--navy);
  background: var(--white); transition: border-color 0.2s ease; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--navy); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .form-consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.contact-form .form-consent input { width: auto; margin-top: 0.3rem; }
.contact-form .form-consent label { font-weight: 400; margin-bottom: 0; }
.message-warning, .message-success { display: none; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-family: var(--f-med); font-weight: 600; }
.message-warning { background: #ffe1e1; color: #a11c1c; border: 2px solid #f3b4b4; }
.message-success { background: #e2f7ec; color: #1c7a4f; border: 2px solid #a7e3c6; }
.submit-loader { display: none; margin-top: 1rem; font-family: var(--f-med); font-weight: 600; color: var(--navy); }
.contact-info__block { margin-bottom: 1.6rem; }
.contact-social-row { display: flex; gap: 0.7rem; margin-top: 0.6rem; }
.contact-social-row a { width: 40px; height: 40px; display: inline-flex; align-items: center; color: var(--navy); transition: all 0.2s ease; }
.contact-social-row a:hover { background: var(--navy); color: var(--yellow); }
.funding { padding: 3.5rem 0; border-top: 2px solid rgba(33,35,62,0.12); background: var(--white); }
.funding__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.2rem; margin-bottom: 2rem; }
.funding__logos img { height: 64px; width: auto; }
.funding__text { max-width: 1000px; margin: 0 auto; font-size: 0.9rem; line-height: 1.6; color: var(--navy); }
.funding__text p { margin-bottom: 0.6rem; }
.funding__text .course-list { margin: 0.4rem 0 1rem; }
.funding__text .course-list li { font-size: 0.9rem; }

.legal { padding: 4rem 0 6rem; background: var(--white); }
.legal__wrap { max-width: 900px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 2.6rem 0 0.8rem; }
.legal h3 { font-size: 1.15rem; margin: 1.7rem 0 0.6rem; }
.legal p, .legal li { color: var(--navy); }
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol { margin: 0 0 1.1rem 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; }
.legal th, .legal td { border: 1px solid rgba(33,35,62,0.2); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; font-size: 0.92rem; }
.legal__updated { display: inline-block; font-family: var(--f-med); font-size: 0.85rem; color: var(--navy); }
.legal__draft { background: #fff6d6; border: 2px dashed var(--yellow-600); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.legal__draft .tag { display: inline-block; background: var(--navy); color: var(--yellow); font-family: var(--f-med); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem; }
.legal__draft p { margin-bottom: 0; }

.collab__row .chip:nth-child(6n+1) { background: var(--yellow); border-color: var(--yellow); }
.collab__row .chip:nth-child(6n+2) { background: var(--navy);   border-color: var(--navy);   color: var(--white); }
.collab__row .chip:nth-child(6n+3) { background: var(--mint);   border-color: var(--mint); }
.collab__row .chip:nth-child(6n+4) { background: var(--coral);  border-color: var(--coral); }
.collab__row .chip:nth-child(6n+5) { background: var(--white);  border-color: var(--navy); }
.collab__row .chip:nth-child(6n+6) { background: var(--navy);   border-color: var(--yellow); color: var(--yellow); }

.app-frame { position: relative; margin: 0; }
.app-frame__inner { border-radius: 16px; overflow: hidden; border: 4px solid var(--yellow); box-shadow: 14px 14px 0 rgba(249,228,118,0.2); background: #fff; }
.app-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--navy-700); }
.app-frame__bar span { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.app-frame__bar span:nth-child(1) { background: var(--coral); }
.app-frame__bar span:nth-child(2) { background: var(--yellow); }
.app-frame__bar span:nth-child(3) { background: var(--mint); }
.app-frame__window img { width: 100%; display: block; }
.app-frame__mascot { position: absolute; top: -30px; right: -22px; width: 88px; height: 88px; z-index: 3; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.28)); }
@media (max-width: 575.98px) { .app-frame__mascot { width: 64px; height: 64px; top: -22px; right: -12px; } }

.svg-figure { margin: 0; width: 100%; }
.svg-figure svg { width: 100%; height: auto; display: block; }