/* =====================================================
   DATAIQ LABS — EXTRA COMPONENTS (sub-pages)
   Appended after components.css
   ===================================================== */

/* Smart sticky header — hide on scroll down, show on scroll up */
.site-header { transition: height var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); will-change: transform; }
.site-header.is-hidden { transform: none; }

/* Program hero (dark navy with sidebar card) */
.prog-hero {
    background: var(--navy-900);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}
.prog-hero__inner {
    padding-top: 96px;
    padding-bottom: 96px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.prog-hero__text { display: flex; flex-direction: column; gap: 26px; }
.prog-hero__title {
    font-family: var(--font-display);
    font-size: 68px;
    line-height: 1.03;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 0;
}
.prog-hero__title .accent { color: var(--red); }
.prog-hero__desc {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0;
}
.prog-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.prog-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.prog-glance {
    background: var(--teal-800);
    border-radius: var(--r-lg);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.prog-glance__label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    padding-bottom: 12px;
}
.prog-glance__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.prog-glance__row > span:first-child { color: rgba(255,255,255,0.7); }
.prog-glance__row > span:last-child { font-weight: 600; color: #FFFFFF; text-align: right; }

/* Program curriculum accordion (dark on teal) */
.curriculum-list {
    border-top: 1px solid rgba(255,255,255,0.18);
}
.curriculum-item {
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.curriculum-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 40px;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    color: #FFFFFF;
    transition: color var(--dur-fast) var(--ease-out);
}
.curriculum-trigger:hover .curriculum-trigger__title { color: var(--red); }
.curriculum-item.is-open .curriculum-trigger__title { color: var(--red); }
.curriculum-trigger__badge {
    width: 96px; height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 14px;
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
    transition: background var(--dur-fast) var(--ease-out);
}
.curriculum-item.is-open .curriculum-trigger__badge {
    background: var(--red);
    color: #FFFFFF;
}
.curriculum-trigger__meta { display: flex; flex-direction: column; gap: 6px; }
.curriculum-trigger__title { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.2; }
.curriculum-trigger__sub { font-size: 15px; color: rgba(255,255,255,0.72); }
.curriculum-trigger__chev { width: 22px; height: 22px; transition: transform var(--dur-base) var(--ease-out); }
.curriculum-item.is-open .curriculum-trigger__chev { transform: rotate(180deg); }

.curriculum-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.curriculum-content > div { overflow: hidden; }
.curriculum-item.is-open .curriculum-content { grid-template-rows: 1fr; }
.curriculum-content__inner {
    display: grid;
    grid-template-columns: 120px minmax(0,1fr) minmax(0,1fr);
    gap: 24px;
    padding: 0 0 36px;
}
.curriculum-topics { display: flex; flex-direction: column; gap: 12px; }
.curriculum-topics__label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.65); }
.curriculum-topic {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
}
.curriculum-topic::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex: none;
}
.curriculum-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px;
}
.curriculum-tools__label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.65); }
.curriculum-tools__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.curriculum-tools__chips .chip { background: #FFFFFF; color: var(--teal-700); }

/* Benefits grid (Python/SQL style) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.benefit-card {
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: inset 0 0 0 1px var(--grey-100);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
    background: var(--white);
}
.benefit-card__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--red);
}
.benefit-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; margin: auto 0 0; }
.benefit-card p { font-size: 14.5px; line-height: 1.55; color: var(--slate-500); margin: 0; }

/* Stage cards (Python/SQL curriculum) */
.stage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.stage-card {
    border-radius: 18px;
    padding: 26px;
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stage-card__label { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.7); }
.stage-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: #FFFFFF; margin: 0; }
.stage-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.74); margin: 0; }

/* Price panel (Python/SQL) */
.price-panel {
    background: var(--navy-900);
    color: #FFFFFF;
    border-radius: var(--r-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.price-panel__label { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.7); }
.price-panel__price { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: #FFFFFF; }
.price-panel__sub { font-size: 15px; color: rgba(255,255,255,0.78); }
.price-panel__meta {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 14.5px;
}

/* Outcome bullet (check icon list) */
.outcome-list { display: flex; flex-direction: column; gap: 14px; }
.outcome-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 16.5px;
    line-height: 1.5;
    color: var(--text);
}
.outcome-item svg { color: var(--red-600); flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* Numbered outcomes (data engineer) */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.outcome-numbered {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    border-top: 2px solid var(--teal-700);
}
.outcome-numbered__n { font-family: var(--font-mono); font-size: 12px; color: var(--red-600); }
.outcome-numbered__text { font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--text); }

/* Roles list (dark card) */
.roles-card {
    background: var(--navy-900);
    color: #FFFFFF;
    border-radius: var(--r-xl);
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.roles-card h2 { color: #FFFFFF; font-size: 32px; margin: 0; line-height: 1.2; }
.roles-list { display: flex; flex-direction: column; }
.roles-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
}
.roles-list__item svg { color: #FF3D6E; width: 18px; height: 18px; }

/* Support list */
.support-list { display: flex; flex-direction: column; gap: 20px; }
.support-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.support-item__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grey-50);
    color: var(--teal-700);
    display: grid; place-items: center;
}
.support-item__icon svg { width: 20px; height: 20px; }
.support-item__text { display: flex; flex-direction: column; gap: 4px; }
.support-item__title { font-weight: 600; font-size: 16px; color: var(--text); }
.support-item__desc { font-size: 14.5px; line-height: 1.55; color: var(--slate-500); }

/* Tech ecosystem (program-level) */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.layer-card {
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 240px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--grey-100);
}
.layer-card--featured {
    background: var(--teal-700);
    color: #FFFFFF;
    box-shadow: none;
}
.layer-card__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.75; }
.layer-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; }
.layer-card--featured .layer-card__title { color: #FFFFFF; }
.layer-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.layer-card__chips .chip { background: var(--grey-50); color: var(--teal-700); }
.layer-card--featured .layer-card__chips .chip { background: rgba(255,255,255,0.1); color: #FFFFFF; }

/* Enquiry neu form */
.enquiry-form {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.enquiry-form .form-field { margin: 0; }
.enquiry-form .enquiry-form__full { grid-column: 1 / -1; }

/* Project card */
.project-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-card__viz {
    height: 120px;
    border-radius: 14px;
    padding: 18px;
}
.project-card__label { font-family: var(--font-mono); font-size: 11px; color: var(--slate-600); }
.project-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0; }
.project-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate-500); margin: 0; }

/* 7-stage career track top bar */
.stage-bar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 32px;
}
.stage-bar span {
    height: 6px;
    border-radius: 3px;
    background: var(--teal-700);
}
.stage-bar span:last-child { background: var(--red); }

.stage-grid-7 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}
.stage-article {
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
}
.stage-article--light {
    background: #FFFFFF;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--grey-100);
}
.stage-article--dark {
    background: var(--teal-700);
    color: #FFFFFF;
}
.stage-article__head { display: flex; justify-content: space-between; align-items: center; }
.stage-article__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--grey-50);
    color: var(--red-600);
}
.stage-article--dark .stage-article__icon {
    background: rgba(255,255,255,0.1);
    color: #FFFFFF;
}
.stage-article__n { font-family: var(--font-mono); font-size: 12px; opacity: 0.7; }
.stage-article h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; margin: 12px 0 0; color: inherit; }
.stage-article--dark h3 { color: #FFFFFF; }
.stage-article p { font-size: 15px; line-height: 1.6; opacity: 0.8; margin: 0; color: inherit; }

/* Mock interview round */
.round-row {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}
.round-row__badge {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--teal-700);
    color: #FFFFFF;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
}
.round-row__text { display: flex; flex-direction: column; gap: 4px; }
.round-row__title { font-weight: 600; color: var(--text); }
.round-row__desc { font-size: 13.5px; color: var(--slate-500); }
.round-row__meta { font-family: var(--font-mono); font-size: 11px; color: var(--slate-600); }

/* Contact page specific */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-method {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    background: #FFFFFF;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow var(--dur-fast) var(--ease-out);
}
.contact-method:hover { box-shadow: var(--e2); color: var(--text); }
.contact-method__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--teal-700);
    color: #FFFFFF;
    display: grid; place-items: center;
}
.contact-method__icon svg { width: 20px; height: 20px; }
.contact-method__label { font-family: var(--font-mono); font-size: 11px; color: var(--slate-500); display: block; }
.contact-method__value { font-weight: 600; }

/* About page values grid (teal band) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.value-item {
    padding: 32px 28px 8px 0;
    display: flex; flex-direction: column; gap: 14px;
}
.value-item__n { font-family: var(--font-mono); font-size: 12px; color: #FF7A9A; }
.value-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: #FFFFFF; margin: 0; }
.value-item p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.76); margin: 0; }

/* About who-we-teach list */
.audience-list {
    padding: 12px;
    display: flex; flex-direction: column; gap: 8px;
}
.audience-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    border-radius: 12px;
    background: #FFFFFF;
    font-weight: 500;
}
.audience-row__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
}

/* Mentor placeholder cards */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.mentor-card {
    border-radius: var(--r-lg);
    background: #FFFFFF;
    padding: 16px;
    display: flex; flex-direction: column; gap: 14px;
}
.mentor-card__photo {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    border: 1.5px dashed var(--grey-300);
    display: grid; place-items: center;
    color: var(--slate-500);
}
.mentor-card__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; padding: 0 4px; }
.mentor-card__role { font-size: 14px; color: var(--slate-500); padding: 0 4px 6px; }

/* Image placeholder band */
.image-placeholder {
    height: 440px;
    border-radius: 24px;
    background: var(--grey-50);
    border: 1.5px dashed var(--grey-300);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; color: var(--slate-600);
    text-align: center;
    padding: 24px;
}
.image-placeholder svg { width: 40px; height: 40px; }

/* Blog & news card refinements already in components.css */

/* Blog list heading */
.list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.list-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.list-head__text h1 { font-size: 56px; line-height: 1.08; margin: 0; }

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Blog detail */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-content {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
}
.article-content h2 { font-size: 28px; margin-top: 36px; margin-bottom: 16px; }
.article-content h3 { font-size: 22px; margin-top: 28px; margin-bottom: 14px; }
.article-content p { margin-bottom: 16px; color: var(--text); }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; color: var(--text); }
.article-content li { margin-bottom: 8px; }
.article-content pre { background: var(--grey-50); padding: 16px; border-radius: var(--r-md); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; }
.article-content code { background: var(--accent-tint); color: var(--red-600); padding: 2px 6px; border-radius: var(--r-xs); font-size: 0.9em; font-family: var(--font-mono); }

/* Simple content section (policies) */
.policy {
    padding: 48px;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px var(--grey-100);
    line-height: 1.8;
}
.policy h2 { font-size: 24px; margin: 32px 0 16px; }
.policy p { margin-bottom: 16px; }

/* Filter chip strip */
.filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
}

/* Responsive overrides for extras */
@media (max-width: 1023px) {
    .prog-hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
    .prog-hero__title { font-size: 48px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .stage-grid { grid-template-columns: repeat(2, 1fr); }
    .layers-grid { grid-template-columns: repeat(2, 1fr); }
    .enquiry-form { padding: 28px; }
    .outcomes-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .mentor-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .curriculum-trigger { grid-template-columns: 80px minmax(0,1fr) 32px; gap: 16px; }
    .curriculum-trigger__title { font-size: 22px; }
    .curriculum-trigger__badge { width: 72px; height: 48px; font-size: 12px; }
    .curriculum-content__inner { grid-template-columns: 1fr; gap: 16px; }
    .roles-card { padding: 32px; }
    .list-head__text h1 { font-size: 36px; }
}
@media (max-width: 639px) {
    .prog-hero__title { font-size: 36px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .stage-grid { grid-template-columns: 1fr; }
    .layers-grid { grid-template-columns: 1fr; }
    .enquiry-form { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .mentor-grid { grid-template-columns: 1fr; }
    .image-placeholder { height: 240px; }
    .policy { padding: 24px; }
    .list-head__text h1 { font-size: 28px; }
    .round-row { grid-template-columns: 40px minmax(0,1fr) auto; gap: 10px; padding: 12px 14px; }
    .round-row__badge { width: 40px; height: 40px; font-size: 10px; }
}

/* Keep reveal transitions intact on elements that define their own hover transitions */
.reveal:not(.tech-item) {
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out), box-shadow 320ms var(--ease-out), background-color 240ms var(--ease-out);
}
.reveal.is-visible:not(.tech-item):hover { transition-duration: 320ms, 320ms, 320ms, 240ms; transition-delay: 0s; }

/* ===== Flagship card animations ===== */
/* AI/ML network */
.fd-mesh { stroke-dasharray: 100; stroke-dashoffset: 100; }
.fd-flow { stroke-dasharray: 5 7; opacity: 0; }
.fd-node { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.3); }
.flagship-card.is-visible .fd-mesh { animation: fd-draw 1.6s var(--ease-out) .2s forwards; }
.flagship-card.is-visible .fd-flow { opacity: 1; transition: opacity .6s ease .9s; animation: fd-dash 1.2s linear 1s infinite; }
.flagship-card.is-visible .fd-node { animation: fd-pop .6s var(--ease-out) calc(.3s + var(--d, 0) * .12s) forwards; }
.flagship-card.is-visible .fd-node--hot { animation: fd-pop .6s var(--ease-out) calc(.3s + var(--d, 0) * .12s) forwards, fd-pulse 2.4s ease-in-out calc(1.2s + var(--d, 0) * .4s) infinite; }
@keyframes fd-draw { to { stroke-dashoffset: 0; } }
@keyframes fd-dash { to { stroke-dashoffset: -24; } }
@keyframes fd-pop { to { opacity: 1; transform: scale(1); } }
@keyframes fd-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.flagship-card:hover .fd-flow { animation-duration: .6s; }

/* Data Engineer cascade */
.flagship-cascade__row { opacity: 0; transform: translateX(-22px); }
.flagship-cascade__line { transform: scaleX(0); transform-origin: left center; }
.flagship-card.is-visible .flagship-cascade__row { animation: fc-in .7s var(--ease-out) calc(.25s + var(--i, 0) * .14s) forwards; }
.flagship-card.is-visible .flagship-cascade__line { animation: fc-line .9s var(--ease-out) calc(.5s + var(--i, 0) * .14s) forwards; }
.flagship-cascade__row .chip { transition: background-color 280ms var(--ease-out), transform 280ms var(--ease-out); }
.flagship-cascade__row:hover .chip { background: rgba(255,255,255,0.18); transform: translateX(4px); }
.flagship-cascade__row .chip--active { animation: fc-glow 2.6s ease-in-out 1.6s infinite; }
@keyframes fc-in { to { opacity: 1; transform: none; } }
@keyframes fc-line { to { transform: scaleX(1); } }
@keyframes fc-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,66,0); } 50% { box-shadow: 0 0 0 6px rgba(255,0,66,.22); } }
@media (prefers-reduced-motion: reduce) {
    .fd-mesh { stroke-dashoffset: 0; }
    .fd-flow, .fd-node, .flagship-cascade__row, .flagship-cascade__line { opacity: 1; transform: none; animation: none !important; }
    .flagship-cascade__line { transform: none; }
}
.fd-signal { opacity: 0; transition: opacity .6s ease 1.4s; filter: drop-shadow(0 0 4px rgba(255,0,66,.8)); }
.flagship-card.is-visible .fd-signal { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fd-signal { display: none; } }

/* ===== Image rows (homepage "Inside DataIQ Labs") ===== */
.vrows { background: var(--grey-50); }
.vrows__header { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 72px; }
.vrows__header h2 { margin: 0; font-size: clamp(32px, 4.5vw, 48px); }
.vrow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-bottom: 96px; }
.vrow:last-child { margin-bottom: 0; }
.vrow--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.vrow--rev .vrow__media { order: 2; }
.vrow__media { position: relative; padding: 0 0 22px 22px; }
.vrow--rev .vrow__media { padding: 0 22px 22px 0; }
.vrow__frame { position: absolute; left: 0; bottom: 0; right: 22px; top: 22px; border: 2px solid var(--red); border-radius: 28px; opacity: .85; transition: transform 500ms var(--ease-out); }
.vrow--rev .vrow__frame { left: 22px; right: 0; }
.vrow__media:hover .vrow__frame { transform: translate(-8px, 8px); }
.vrow--rev .vrow__media:hover .vrow__frame { transform: translate(8px, 8px); }
.vrow__img { position: relative; border-radius: 24px; overflow: hidden; background: var(--teal-700); box-shadow: 0 30px 60px -28px rgba(15,24,33,.45); clip-path: inset(0 100% 0 0 round 24px); transition: clip-path 1.1s var(--ease-out) .15s; }
.vrow--rev .vrow__img { clip-path: inset(0 0 0 100% round 24px); }
.vrow__media.is-visible .vrow__img { clip-path: inset(0 0 0 0 round 24px); }
.vrow__img img { display: block; width: 100%; height: auto; transform: scale(1.14); transition: transform 1.6s var(--ease-out) .15s; }
.vrow__media.is-visible .vrow__img img { transform: scale(1); }
.vrow__media:hover .vrow__img img { transform: scale(1.04); transition-duration: 900ms; transition-delay: 0s; }
.vchip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--navy-900); background: #FFFFFF; border-radius: 999px; box-shadow: 0 14px 28px -12px rgba(15,24,33,.35); animation: vchip-float 5s ease-in-out infinite; }
.vchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,0,66,.5); animation: vchip-ping 2s ease-out infinite; }
.vchip--a { top: 8%; right: -14px; }
.vchip--b { bottom: 14%; left: -6px; animation-delay: 1.4s; }
.vrow--rev .vchip--a { right: auto; left: -14px; }
.vrow--rev .vchip--b { left: auto; right: -6px; }
@keyframes vchip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes vchip-ping { 0% { box-shadow: 0 0 0 0 rgba(255,0,66,.5); } 100% { box-shadow: 0 0 0 10px rgba(255,0,66,0); } }
.vrow__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.vrow__text h3 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; }
.vrow__text p { margin: 0; color: var(--slate-600); font-size: 16.5px; line-height: 1.7; }
.vrow__list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vrow__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; opacity: 0; transform: translateX(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.vrow__list li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,0,66,.1); color: var(--red); flex: none; }
.vrow__text.is-visible .vrow__list li { opacity: 1; transform: none; }
.vrow__text.is-visible .vrow__list li:nth-child(1) { transition-delay: .35s; }
.vrow__text.is-visible .vrow__list li:nth-child(2) { transition-delay: .5s; }
.vrow__text.is-visible .vrow__list li:nth-child(3) { transition-delay: .65s; }
:root[data-theme="dark"] .vrows { background: var(--teal-800); }
:root[data-theme="dark"] .vrow__text p { color: rgba(255,255,255,.75); }
@media (max-width: 1023px) {
    .vrow, .vrow--rev { grid-template-columns: 1fr; gap: 40px; margin-bottom: 72px; }
    .vrow--rev .vrow__media { order: 0; }
    .vchip--a, .vrow--rev .vchip--a { right: 8px; left: auto; }
    .vchip--b, .vrow--rev .vchip--b { left: 8px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .vrow__img, .vrow--rev .vrow__img { clip-path: none; }
    .vrow__img img { transform: none; }
    .vchip, .vchip i { animation: none; }
    .vrow__list li { opacity: 1; transform: none; }
}

/* ====== FAQ - compact ====== */
.faq-sec.sec { padding-block: 64px; }
.faq-sec .faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq-sec h2 { font-size: 30px; line-height: 1.2; }
.faq-sec .faq-text { gap: 12px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-sec .faq-text p { font-size: 14px; line-height: 1.6; }
.faq-sec .accordion { border-top: 0; display: flex; flex-direction: column; gap: 8px; }
.faq-sec .accordion-item {
    border: 1px solid var(--grey-300); border-radius: 12px; background: var(--white);
    transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.faq-sec .accordion-item:hover { border-color: rgba(255,0,66,.35); }
.faq-sec .accordion-item.is-open { border-color: var(--red); box-shadow: 0 6px 18px rgba(15,24,33,.06); }
.faq-sec .accordion-trigger { padding: 13px 16px; font-size: 15px; gap: 14px; border-radius: 12px; outline: 0; }
.faq-sec .accordion-trigger:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.faq-sec .accordion-item.is-open .accordion-trigger { color: var(--red-600); }
.faq-sec .accordion-trigger__icon { width: 28px; height: 28px; box-shadow: none; background: var(--grey-100); }
.faq-sec .accordion-trigger__icon svg { width: 15px; height: 15px; }
.faq-sec .accordion-item.is-open .accordion-trigger__icon { box-shadow: none; background: rgba(255,0,66,.1); }
.faq-sec .accordion-content__inner { padding: 0 52px 14px 16px; font-size: 14px; line-height: 1.6; }
[data-theme="dark"] .faq-sec .accordion-item { background: var(--navy-800, #172533); border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .faq-sec .accordion-item.is-open .accordion-trigger { color: #FF5C80; }
@media (max-width: 900px) {
    .faq-sec.sec { padding-block: 44px; }
    .faq-sec .faq-grid { grid-template-columns: 1fr; gap: 20px; }
    .faq-sec .faq-text { position: static; }
    .faq-sec h2 { font-size: 26px; }
}

/* ====== INTRO - compact redesign ====== */
.intro { padding: 72px 0 64px; background: var(--white); }
.intro__top { gap: 48px; align-items: end; }
.intro__title { gap: 14px; }
.intro__title h2 { font-size: 34px; line-height: 1.18; max-width: 18em; }
.intro__body { gap: 14px; padding-bottom: 0; }
.intro__body p { font-size: 16px; line-height: 1.65; }
.intro__bridge {
    margin-top: 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr);
    align-items: stretch; gap: 0; border: 0;
}
.intro__bridge-from, .intro__bridge-to {
    padding: 20px 22px; gap: 6px; background: var(--grey-50); border: 1px solid var(--grey-300); border-radius: 14px;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.intro__bridge-from:hover, .intro__bridge-to:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,24,33,.08); border-color: rgba(255,0,66,.35); }
.intro__bridge-to { text-align: left; align-items: flex-start; }
.intro__bridge h3 { font-size: 19px; }
.intro__bridge p { font-size: 14px; }
.intro__ico {
    width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px;
    background: var(--white); color: var(--teal-700); border: 1px solid var(--grey-300);
}
.intro__ico--red { color: var(--red); background: rgba(255,0,66,.08); border-color: rgba(255,0,66,.2); }
.intro__bridge-middle { padding: 0 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; position: relative; }
.intro__bridge-middle span.line-grey, .intro__bridge-middle span.line-red { display: none; }
.intro__bridge-middle::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%);
    background: var(--grey-300);
}
.intro__bridge-middle .chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: var(--white); padding: 6px 8px; border-radius: 999px; }
.intro__bridge .chip { background: var(--grey-50); color: var(--teal-700); font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--grey-300); }
.intro__bridge .chip--on { background: var(--teal-700); color: #FFFFFF; border-color: var(--teal-700); }
[data-theme="dark"] .intro { background: var(--navy-900); }
[data-theme="dark"] .intro__bridge-from, [data-theme="dark"] .intro__bridge-to { background: #172533; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .intro__ico { background: #0F1821; color: #fff; border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .intro__bridge .chips { background: var(--navy-900); }
[data-theme="dark"] .intro__bridge .chip { background: #172533; color: #fff; border-color: rgba(255,255,255,.12); }
@media (max-width: 900px) {
    .intro { padding: 48px 0 44px; }
    .intro__title h2 { font-size: 26px; }
    .intro__top { gap: 16px; }
    .intro__bridge { grid-template-columns: 1fr; margin-top: 28px; }
    .intro__bridge-from, .intro__bridge-to { padding: 16px 18px; }
    .intro__bridge-middle { padding: 14px 0; }
    .intro__bridge-middle::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: none; background: var(--grey-300); }
}


/* ====== FAQ - two columns ====== */
.faq-sec .faq-text { position: static; flex-direction: column; margin-bottom: 28px; max-width: 640px; }
.faq-sec .faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
@media (max-width: 900px) { .faq-sec .faq-cols { grid-template-columns: 1fr; } }

/* ====== TESTIMONIALS ====== */
.tst { background: var(--grey-50); padding-block: 64px; }
.tst__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tst__head h2 { font-size: 30px; line-height: 1.2; margin: 6px 0 0; }
.tst__nav { display: flex; gap: 8px; }
.tst__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--grey-300); background: var(--white); color: var(--teal-700); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease-out), border-color .2s, color .2s, box-shadow .2s; }
.tst__btn svg { width: 18px; height: 18px; }
.tst__btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15,24,33,.08); }
.tst__btn:active { transform: translateY(0); }
.tst__btn:focus-visible, .tst__track:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.tst__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tst__track::-webkit-scrollbar { display: none; }
.tst-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; margin: 0; background: var(--white); border: 1px solid var(--grey-300); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.tst-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,24,33,.08); border-color: rgba(255,0,66,.35); }
.tst-card__stars { display: flex; gap: 2px; color: var(--grey-300); }
.tst-card__stars .on { color: var(--red); }
.tst-card__quote { margin: 0; font-size: 14.5px; line-height: 1.65; color: #334155; flex: 1; }
.tst-card__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--grey-100, #E8EDF2); }
.tst-card__avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-700); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.tst-card__who strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--navy-900); }
.tst-card__who small { display: block; font-size: 12.5px; color: var(--slate-500); line-height: 1.4; }
.tst-card__prog { color: var(--red-600) !important; font-weight: 500; }
[data-theme="dark"] .tst { background: #0F1821; }
[data-theme="dark"] .tst-card, [data-theme="dark"] .tst__btn { background: #172533; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .tst-card__quote { color: #C5D0DB; }
[data-theme="dark"] .tst-card__who { border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .tst-card__who strong, [data-theme="dark"] .tst__btn { color: #fff; }
@media (max-width: 1024px) { .tst-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .tst { padding-block: 44px; } .tst__head h2 { font-size: 24px; } .tst-card { flex-basis: 86%; } }
@media (prefers-reduced-motion: reduce) { .tst__track { scroll-behavior: auto; } }

/* ====== INTRO - coloured cards + motion ====== */
.intro__bridge-from, .intro__bridge-to { position: relative; overflow: hidden; color: #FFFFFF; border: 0; isolation: isolate; }
.intro__bridge-from { background: var(--teal-700); box-shadow: 0 10px 24px rgba(0,53,84,.22); }
.intro__bridge-to { background: var(--red); box-shadow: 0 10px 24px rgba(255,0,66,.22); }
.intro__bridge-from:hover { box-shadow: 0 16px 32px rgba(0,53,84,.32); border: 0; }
.intro__bridge-to:hover { box-shadow: 0 16px 32px rgba(255,0,66,.32); border: 0; }
.intro__bridge-from h3, .intro__bridge-to h3 { color: #FFFFFF; }
.intro__bridge-from p, .intro__bridge-to p { color: rgba(255,255,255,.82); }
.intro__bridge-from .mono, .intro__bridge-to .mono, .intro__bridge .mono-red { color: rgba(255,255,255,.7); letter-spacing: .12em; }
.intro__bridge-from .intro__ico, .intro__bridge-to .intro__ico { background: rgba(255,255,255,.16); color: #FFFFFF; border-color: rgba(255,255,255,.28); }
/* soft light sweep on hover */
.intro__bridge-from::after, .intro__bridge-to::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: rgba(255,255,255,.14); transform: skewX(-20deg); transition: left .8s var(--ease-out);
}
.intro__bridge-from:hover::after, .intro__bridge-to:hover::after { left: 130%; }
/* decorative rings */
.intro__bridge-from::before, .intro__bridge-to::before {
    content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18); z-index: -1; animation: introRing 7s ease-in-out infinite;
}
.intro__bridge-to::before { animation-delay: -3s; }
@keyframes introRing { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.18); opacity: .4; } }
.intro__ico { animation: introFloat 4s ease-in-out infinite; }
.intro__bridge-to .intro__ico { animation-delay: -2s; }
@keyframes introFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* connector: blue to red line with a travelling dot */
.intro__bridge-middle::before { left: 0; right: 0; background: var(--teal-700); opacity: .35; }
.intro__bridge-middle::after {
    content: ""; position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 0 4px rgba(255,0,66,.18); animation: introPacket 3.6s var(--ease-out) infinite;
}
@keyframes introPacket { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.intro__bridge .chip { animation: introChip 3.6s ease-in-out infinite; }
.intro__bridge .chip:nth-child(2) { animation-delay: .5s; }
.intro__bridge .chip:nth-child(3) { animation-delay: 1s; }
@keyframes introChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
[data-theme="dark"] .intro__bridge-from { background: var(--teal-700); }
[data-theme="dark"] .intro__bridge-to { background: var(--red); }
@media (max-width: 900px) {
    .intro__bridge-middle::before { background: var(--teal-700); opacity: .35; }
    .intro__bridge-middle::after { left: 50%; top: 0; margin: 0 0 0 -5px; animation-name: introPacketV; }
    @keyframes introPacketV { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .intro__bridge-from::before, .intro__bridge-to::before, .intro__ico, .intro__bridge .chip, .intro__bridge-middle::after { animation: none; }
}

/* ====== INTRO - sequenced connector: line draws, chips fill one by one, drop travels on to the red card ====== */
.intro__bridge-middle { flex-direction: row; align-items: center; justify-content: center; gap: 0; padding: 0; }
.intro__bridge-middle::before, .intro__bridge-middle::after { content: none; display: none; animation: none; }
.intro__bridge-middle span.line-grey, .intro__bridge-middle span.line-red { display: block; flex: 1; height: 2px; position: relative; background: var(--grey-300); overflow: visible; }
.intro__bridge-middle span.line-grey::before, .intro__bridge-middle span.line-red::before {
    content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center;
}
.intro__bridge-middle span.line-grey::before { background: var(--teal-700); animation: bridgeLine 6s var(--ease-out) infinite; }
.intro__bridge-middle span.line-red::before { background: var(--red); animation: bridgeLineR 6s var(--ease-out) infinite; }
.intro__bridge-middle span.line-red::after {
    content: ""; position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 0; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 0 4px rgba(255,0,66,.2); opacity: 0; animation: bridgeDrop 6s var(--ease-out) infinite;
}
.intro__bridge-middle .chips { flex-wrap: nowrap; padding: 0 10px; gap: 6px; background: transparent; }
.intro__bridge .chip { animation: none; transition: none; }
.intro__bridge .chip--on { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); }
.intro__bridge .chip { animation: chipFill 6s ease-in-out infinite; }
.intro__bridge .chip:nth-child(1) { animation-delay: 0s; }
.intro__bridge .chip:nth-child(2) { animation-name: chipFill2; }
.intro__bridge .chip:nth-child(3) { animation-name: chipFill3; }
@keyframes bridgeLine  { 0% { transform: scaleX(0); } 14%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes bridgeLineR { 0%, 46% { transform: scaleX(0); } 80%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes bridgeDrop  { 0%, 44% { left: 0; opacity: 0; } 48% { opacity: 1; } 80% { left: calc(100% - 10px); opacity: 1; } 86%, 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes chipFill  { 0%, 14% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } 20%, 88% { background: var(--teal-700); color: #FFFFFF; border-color: var(--teal-700); } 96%, 100% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } }
@keyframes chipFill2 { 0%, 24% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } 30%, 88% { background: var(--teal-700); color: #FFFFFF; border-color: var(--teal-700); } 96%, 100% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } }
@keyframes chipFill3 { 0%, 34% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } 40%, 88% { background: var(--teal-700); color: #FFFFFF; border-color: var(--teal-700); } 96%, 100% { background: var(--grey-50); color: var(--teal-700); border-color: var(--grey-300); } }
[data-theme="dark"] .intro__bridge .chip--on { background: #172533; color: #fff; border-color: rgba(255,255,255,.12); }
@media (max-width: 900px) {
    .intro__bridge-middle { flex-direction: column; padding: 14px 0; }
    .intro__bridge-middle span.line-grey, .intro__bridge-middle span.line-red { width: 2px; height: 28px; flex: none; }
    .intro__bridge-middle span.line-grey::before, .intro__bridge-middle span.line-red::before { transform: scaleY(0); transform-origin: center top; }
    .intro__bridge-middle span.line-grey::before { animation-name: bridgeLineV; }
    .intro__bridge-middle span.line-red::before { animation-name: bridgeLineRV; }
    .intro__bridge-middle span.line-red::after { left: 50%; top: 0; margin: 0 0 0 -5px; animation-name: bridgeDropV; }
    .intro__bridge-middle .chips { padding: 8px 0; flex-wrap: wrap; }
    @keyframes bridgeLineV  { 0% { transform: scaleY(0); } 14%, 88% { transform: scaleY(1); } 96%, 100% { transform: scaleY(1); opacity: 0; } }
    @keyframes bridgeLineRV { 0%, 46% { transform: scaleY(0); } 80%, 88% { transform: scaleY(1); } 96%, 100% { transform: scaleY(1); opacity: 0; } }
    @keyframes bridgeDropV  { 0%, 44% { top: 0; opacity: 0; } 48% { opacity: 1; } 80% { top: calc(100% - 10px); opacity: 1; } 86%, 100% { top: calc(100% - 10px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .intro__bridge .chip { animation: none !important; }
    .intro__bridge .chip--on { background: var(--teal-700); color: #fff; }
    .intro__bridge-middle span::before, .intro__bridge-middle span::after { animation: none !important; }
}

/* ====== INTRO - one drop leaves the blue card, fills the chips, turns red and enters the red card (driven by intro-flow.js) ====== */
.intro__bridge-middle span.line-grey::before, .intro__bridge-middle span.line-red::before,
.intro__bridge-middle span.line-red::after { content: none; display: none; animation: none; }
.intro__bridge .chip, .intro__bridge .chip--on { animation: none !important; }
.intro__flow-drop {
    position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: #003554; box-shadow: 0 0 0 5px rgba(0,53,84,.16); opacity: 0; pointer-events: none; z-index: 2; will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
    .intro__flow-drop { display: none; }
    .intro__bridge .chip { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
}
.intro__bridge .chip { display: inline-block; }
.intro__flow-fill { position: absolute; inset: 0; border-radius: 2px; pointer-events: none; will-change: transform, opacity; }
.intro__flow-drop[style*="255,0,66"] { box-shadow: 0 0 0 5px rgba(255,0,66,.2); }

/* ====== Why learn / where used ====== */
.uses { padding-block: 88px; background: var(--white); }
.uses__head { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; margin-bottom: 32px; }
.uses__head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 10px 0 0; }
.uses__head p { margin: 0; font-size: 16px; line-height: 1.7; color: #334155; max-width: 560px; }
.uses__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.uses-card { background: var(--grey-50); border: 1px solid var(--grey-300); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out), background .3s; }
.uses-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.uses-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: 0 14px 28px rgba(15,24,33,.08); border-color: rgba(255,0,66,.3); }
.uses-card:hover::after { transform: scaleX(1); }
.uses-card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-700); color: #fff; transition: background .3s, transform .4s var(--ease-out); }
.uses-card:hover .uses-card__ico { background: var(--red); transform: rotate(-6deg) scale(1.06); }
.uses-card h3 { font-size: 17px; line-height: 1.3; margin: 4px 0 0; }
.uses-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--slate-600); }
.uses__where { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px; border-radius: 14px; background: var(--teal-700); color: #fff; }
.uses__where-label { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.uses__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.uses__chips li { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); transition: background .25s, transform .25s var(--ease-out), color .25s; }
.uses__chips li:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.uses__where.is-in .uses__chips li, .reveal.is-visible.uses__where .uses__chips li { animation: usesChip .6s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes usesChip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .uses__head { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 1024px) { .uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uses { padding-block: 52px; } .uses__grid { grid-template-columns: 1fr; } }
[data-theme="dark"] .uses { background: #0F1821; }
[data-theme="dark"] .uses-card { background: #172533; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .uses-card:hover { background: #1B2D3F; }
[data-theme="dark"] .uses__head p, [data-theme="dark"] .uses-card p { color: #A7B4C2; }

/* ====== Download course details ====== */
.btn--dl { display: inline-flex; align-items: center; gap: 8px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dl-lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--slate-600); }
.dl-note { margin: 12px 0 0; font-size: 12px; color: var(--slate-500); text-align: center; }
.dl-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: rgba(255,0,66,.08); border: 1px solid rgba(255,0,66,.25); color: var(--red-600); }
.dl-done { text-align: center; padding: 18px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: dlIn .45s var(--ease-out); }
.dl-done[hidden], .dl-form[hidden], .dl-error[hidden] { display: none; }
.dl-done h4 { margin: 4px 0 0; font-size: 20px; }
.dl-done p { margin: 0 0 8px; font-size: 14px; color: var(--slate-600); }
.dl-done__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,0,66,.1); color: var(--red); animation: dlPop .6s var(--ease-out); }
.dl-done__icon svg { width: 28px; height: 28px; }
@keyframes dlIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dlPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
[data-theme="dark"] .dl-lead, [data-theme="dark"] .dl-done p { color: #A7B4C2; }
@media (prefers-reduced-motion: reduce) { .dl-done, .dl-done__icon, .uses__chips li { animation: none !important; } }

/* download popup: signed-in note, document picker */
.dl-signin { margin: -6px 0 14px; font-size: 13px; color: var(--slate-600); }
.dl-signin a { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.dl-signed { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 16px; border-radius: 12px; background: var(--grey-50); border: 1px solid var(--grey-300); font-size: 14px; }
.dl-signed__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-700); color: #fff; flex: none; }
.dl-signed small { display: block; color: var(--slate-500); font-size: 12px; margin-top: 1px; }
.dl-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--slate-500); }
.dl-docs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.dl-docs[hidden] { display: none; }
.dl-docs__head { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.dl-doc { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--grey-300); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .2s var(--ease-out), background .2s, box-shadow .2s; }
.dl-doc:hover { border-color: rgba(255,0,66,.4); }
.dl-doc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dl-doc__tick { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--grey-300); display: grid; place-items: center; color: transparent; flex: none; transition: background .2s, border-color .2s, color .2s; }
.dl-doc__tick svg { width: 13px; height: 13px; }
.dl-doc__text { font-size: 14.5px; font-weight: 600; color: var(--navy-900, #0F1821); }
.dl-doc:has(input:checked) { background: rgba(255,0,66,.06); border-color: rgba(255,0,66,.45); }
.dl-doc input:checked ~ .dl-doc__tick { background: var(--red); border-color: var(--red); color: #fff; }
.dl-doc:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.dl-links { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-bottom: 6px; }
.dl-link { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--grey-300); font-size: 14px; font-weight: 600; color: var(--teal-700); text-decoration: none; transition: border-color .2s, background .2s; }
.dl-link:hover { border-color: rgba(255,0,66,.4); background: rgba(255,0,66,.05); }
[data-theme="dark"] .dl-signin, [data-theme="dark"] .dl-signed small, [data-theme="dark"] .dl-hint { color: #A7B4C2; }
[data-theme="dark"] .dl-signed, [data-theme="dark"] .dl-doc, [data-theme="dark"] .dl-link { background: #172533; border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .dl-doc__text, [data-theme="dark"] .dl-link, [data-theme="dark"] .dl-docs__head { color: #fff; }

/* ====== Benefit cards - coloured + motion ====== */
.benefits-grid .benefit-card { position: relative; overflow: hidden; isolation: isolate; border: 0; color: #fff; counter-increment: bc;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.benefits-grid { counter-reset: bc; }
.benefits-grid .benefit-card:nth-child(1) { background: var(--teal-700); box-shadow: 0 12px 26px rgba(0,53,84,.22); }
.benefits-grid .benefit-card:nth-child(2) { background: var(--red);      box-shadow: 0 12px 26px rgba(255,0,66,.22); }
.benefits-grid .benefit-card:nth-child(3) { background: var(--navy-900); box-shadow: 0 12px 26px rgba(15,24,33,.25); }
.benefits-grid .benefit-card:nth-child(4) { background: #0B4A6F;         box-shadow: 0 12px 26px rgba(11,74,111,.25); }
.benefits-grid .benefit-card h3 { color: #fff; }
.benefits-grid .benefit-card p { color: rgba(255,255,255,.82); }
.benefits-grid .benefit-card__dot { width: 12px; height: 12px; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.55); animation: bcPulse 2.6s ease-out infinite; }
.benefits-grid .benefit-card:nth-child(2) .benefit-card__dot { animation-delay: .4s; }
.benefits-grid .benefit-card:nth-child(3) .benefit-card__dot { animation-delay: .8s; }
.benefits-grid .benefit-card:nth-child(4) .benefit-card__dot { animation-delay: 1.2s; }
@keyframes bcPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
/* large faint index number */
.benefits-grid .benefit-card::before { content: "0" counter(bc); position: absolute; right: 16px; top: 8px; z-index: -1; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; color: rgba(255,255,255,.1); transition: transform .5s var(--ease-out), color .3s; }
/* light sweep */
.benefits-grid .benefit-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: rgba(255,255,255,.14); transform: skewX(-20deg); transition: left .8s var(--ease-out); }
.benefits-grid .benefit-card:hover { transform: translateY(-6px); }
.benefits-grid .benefit-card:hover::after { left: 130%; }
.benefits-grid .benefit-card:hover::before { transform: translateY(6px) scale(1.12); color: rgba(255,255,255,.18); }
.benefits-grid .benefit-card:active { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .benefits-grid .benefit-card__dot { animation: none; } }

/* ====== Use cases with pictures ====== */
.uses__sub { margin: 56px 0 22px; max-width: 680px; }
.uses__sub h3 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; color: var(--teal-700); }
.uses__sub p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--slate-600); }
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.usecase { background: var(--white); border: 1px solid var(--grey-300); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.usecase:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(15,24,33,.1); border-color: rgba(255,0,66,.3); }
.usecase__pic { padding: 12px 12px 0; }
.use-pic { width: 100%; height: auto; display: block; transition: transform .5s var(--ease-out); }
.usecase:hover .use-pic { transform: scale(1.03); }
.usecase__body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.usecase__body h4 { font-size: 17px; line-height: 1.3; margin: 0; }
.usecase__body p { margin: 0; font-size: 14px; line-height: 1.65; color: #334155; }
.usecase__eg { margin-top: auto !important; padding: 10px 12px; border-radius: 10px; background: rgba(255,0,66,.06); border-left: 3px solid var(--red); font-size: 13px !important; color: var(--slate-600) !important; }
.usecase__eg span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 2px; }
/* picture motion */
.u-spin { animation: uSpin 14s linear infinite; }
.u-flow { animation: uFlow 1.2s linear infinite; }
.u-node { animation: uNode 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.u-pulse { animation: uPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.u-bars rect { transform-box: fill-box; transform-origin: bottom; animation: uBar 3s var(--ease-out) infinite; }
.u-bars rect:nth-child(2) { animation-delay: .15s; } .u-bars rect:nth-child(3) { animation-delay: .3s; } .u-bars rect:nth-child(4) { animation-delay: .45s; }
.u-draw { stroke-dasharray: 100; animation: uDraw 4s ease-in-out infinite; }
@keyframes uSpin { to { transform: rotate(360deg); } }
@keyframes uFlow { to { stroke-dashoffset: -12; } }
@keyframes uNode { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }
@keyframes uPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes uBar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
@keyframes uDraw { 0% { stroke-dashoffset: 100; } 55%,100% { stroke-dashoffset: 0; } }
@media (max-width: 1024px) { .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .usecases { grid-template-columns: 1fr; } .uses__sub { margin-top: 40px; } }
[data-theme="dark"] .usecase { background: #172533; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .usecase__body p { color: #C5D0DB; }
[data-theme="dark"] .usecase__eg { background: rgba(255,0,66,.12); color: #A7B4C2 !important; }
[data-theme="dark"] .uses__sub h3 { color: #fff; }
[data-theme="dark"] .uses__sub p { color: #A7B4C2; }
@media (prefers-reduced-motion: reduce) { .u-spin, .u-flow, .u-node, .u-pulse, .u-bars rect, .u-draw { animation: none !important; } }

/* ====== Who it is for ====== */
.aud { padding-block: 80px; background: var(--grey-50); }
.aud__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aud-card { background: var(--white); border: 1px solid var(--grey-300); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.aud-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(15,24,33,.1); }
.aud-card__top { padding: 18px 20px; display: flex; align-items: center; gap: 12px; color: #fff; position: relative; overflow: hidden; }
.aud-card__top::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: rgba(255,255,255,.16); transform: skewX(-20deg); transition: left .8s var(--ease-out); }
.aud-card:hover .aud-card__top::after { left: 130%; }
.aud-card--0 .aud-card__top { background: var(--teal-700); }
.aud-card--1 .aud-card__top { background: var(--red); }
.aud-card--2 .aud-card__top { background: var(--navy-900); }
.aud-card--3 .aud-card__top { background: #0B4A6F; }
.aud-card__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.16); flex: none; transition: transform .4s var(--ease-out); }
.aud-card:hover .aud-card__ico { transform: rotate(-6deg) scale(1.08); }
.aud-card__top h3 { margin: 0; font-size: 16.5px; line-height: 1.3; color: #fff; }
.aud-card__who { margin: 0; padding: 16px 20px 6px; font-size: 14.5px; line-height: 1.6; color: #334155; font-weight: 500; }
.aud-card__help { margin: 8px 20px 20px; padding: 11px 13px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; color: var(--slate-600); background: var(--grey-50); border-left: 3px solid var(--teal-700); margin-top: auto; }
.aud-card__help span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 3px; }
.aud-card--1 .aud-card__help { border-left-color: var(--red); } .aud-card--1 .aud-card__help span { color: var(--red-600); }
@media (max-width: 1024px) { .aud__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .aud { padding-block: 48px; } .aud__grid { grid-template-columns: 1fr; } }
[data-theme="dark"] .aud { background: #0F1821; }
[data-theme="dark"] .aud-card { background: #172533; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .aud-card__who { color: #C5D0DB; }
[data-theme="dark"] .aud-card__help { background: rgba(255,255,255,.05); color: #A7B4C2; }
[data-theme="dark"] .aud-card__help span { color: #8FD3F4; }

/* ====== FAQ cards - no border lines ====== */
.faq-sec .accordion-item, .faq-sec .accordion-item:hover, .faq-sec .accordion-item.is-open { border: 0; }
.faq-sec .accordion-item { box-shadow: 0 2px 10px rgba(15,24,33,.06); }
.faq-sec .accordion-item:hover { box-shadow: 0 6px 16px rgba(15,24,33,.09); }
.faq-sec .accordion-item.is-open { box-shadow: 0 10px 24px rgba(255,0,66,.12); }
[data-theme="dark"] .faq-sec .accordion-item { border: 0; box-shadow: 0 2px 12px rgba(0,0,0,.3); }

/* ===== v5.2: news and events, cash prize, CTA, data engineer details ===== */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }
.roadmap-sec--top { padding-top: 96px; }

/* News and events */
.ne-sec { background: var(--grey-50); }
.ne-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 48px; }
.ne-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.ne-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ne-col { background: #FFFFFF; border-radius: 20px; padding: 28px; box-shadow: 8px 8px 20px rgba(15,24,33,.06), -6px -6px 16px rgba(255,255,255,.9); }
.ne-col__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ne-col__top h3 { margin: 0; font-size: 20px; color: var(--teal-700); }
.ne-link { font-size: 14px; font-weight: 600; color: var(--red); text-decoration: none; }
.ne-link:hover { text-decoration: underline; }
.ne-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ne-item, .ne-event { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; color: inherit; transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.ne-item:hover { background: rgba(255,0,66,.06); transform: translateX(3px); }
.ne-item__date { font-size: 12px; color: var(--slate-600); letter-spacing: .04em; }
.ne-item__title { font-weight: 600; font-size: 16px; color: var(--navy-900); line-height: 1.35; }
.ne-item__sum { font-size: 14px; color: var(--slate-600); line-height: 1.5; }
.ne-event { flex-direction: row; gap: 16px; align-items: center; }
.ne-event__date { flex: 0 0 56px; height: 56px; border-radius: 14px; background: var(--teal-700); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ne-event__date b { font-size: 20px; } .ne-event__date i { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.ne-event__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ne-empty { margin: 0; padding: 20px 0; color: var(--slate-600); font-size: 15px; line-height: 1.6; }
[data-theme="dark"] .ne-sec { background: var(--navy-900); }
[data-theme="dark"] .ne-col { background: #172533; box-shadow: none; }
[data-theme="dark"] .ne-col__top h3, [data-theme="dark"] .ne-item__title { color: #FFFFFF; }
[data-theme="dark"] .ne-item__sum, [data-theme="dark"] .ne-item__date, [data-theme="dark"] .ne-empty { color: #A7B4C2; }

/* Cash prize and class topper */
.cash-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--red); color: #FFFFFF; box-shadow: 0 10px 24px rgba(255,0,66,.28); animation: cashPulse 3.2s var(--ease-out) infinite; }
.cash-banner__icon { flex: 0 0 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.cash-banner__icon svg { width: 30px; height: 30px; animation: cashFloat 3.2s ease-in-out infinite; }
.cash-banner__text { display: flex; flex-direction: column; gap: 4px; }
.cash-banner__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.cash-banner__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; }
.cash-banner__shine { position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; background: rgba(255,255,255,.22); transform: skewX(-20deg); animation: cashShine 3.6s var(--ease-out) infinite; }
@keyframes cashShine { 0% { left: -50%; } 55%, 100% { left: 130%; } }
@keyframes cashPulse { 0%, 100% { box-shadow: 0 10px 24px rgba(255,0,66,.26); } 50% { box-shadow: 0 14px 34px rgba(255,0,66,.42); } }
@keyframes cashFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.topper { margin-top: 20px; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.topper__kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.topper__title { margin: 0; font-size: 22px; color: var(--navy-900); }
.topper__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--slate-600); }
.topper__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.topper__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--slate-600); }
.topper__list svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.compete-card--win .compete-note { margin-top: 16px; }
[data-theme="dark"] .topper__title { color: #FFFFFF; }
[data-theme="dark"] .topper__text, [data-theme="dark"] .topper__list li { color: #A7B4C2; }

/* CTA banner */
.cta2 { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: 28px; background: var(--teal-700); color: #FFFFFF; }
.cta2__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.cta2__text h2 { margin: 0; color: #FFFFFF; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.cta2__text p { margin: 0; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; }
.cta2__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta2__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta2__orb--a { width: 260px; height: 260px; right: -60px; top: -90px; background: rgba(255,0,66,.22); animation: ctaDrift 9s ease-in-out infinite; }
.cta2__orb--b { width: 160px; height: 160px; left: 38%; bottom: -80px; background: rgba(255,255,255,.07); animation: ctaDrift 11s ease-in-out infinite reverse; }
.cta2__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta2__lines path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: ctaDraw 2.4s var(--ease-out) .3s forwards; }
@keyframes ctaDrift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-14px, 12px); } }
@keyframes ctaDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 720px) { .cta2 { padding: 36px 24px; } .cta2__actions .btn { flex: 1 1 100%; } }

/* Data engineer: roadmap download, details, path */
.de-road { background: var(--teal-700); color: #FFFFFF; padding: 110px 0; }
.de-road__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.de-road__text { display: flex; flex-direction: column; gap: 18px; }
.de-road__text h2 { margin: 0; color: #FFFFFF; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.de-road__text p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.7; font-size: 17px; }
.de-road__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.de-road__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.de-road__steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.07); font-weight: 500; transition: background-color 250ms var(--ease-out), transform 250ms var(--ease-out); }
.de-road__steps li:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.de-road__steps li span { flex: 0 0 56px; font-family: var(--font-mono); font-size: 13px; color: #FF5C83; }
.de-info { background: var(--grey-50); padding: 110px 0; }
.de-info__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 640px; }
.de-info__head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.de-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.de-stat { background: #FFFFFF; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 8px 8px 20px rgba(15,24,33,.06), -6px -6px 16px rgba(255,255,255,.9); }
.de-stat b { font-family: var(--font-display); font-size: 34px; color: var(--red); line-height: 1; }
.de-stat span { font-size: 14px; color: var(--slate-600); }
.de-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 28px; }
.de-card { background: #FFFFFF; border-radius: 20px; padding: 32px; box-shadow: 8px 8px 20px rgba(15,24,33,.06), -6px -6px 16px rgba(255,255,255,.9); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.de-card:hover { transform: translateY(-3px); }
.de-card h3 { margin: 0 0 16px; font-size: 22px; color: var(--teal-700); }
.de-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.de-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; color: var(--slate-600); }
.de-list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--red); }
.de-list--who li { flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--red); }
.de-list--who b { color: var(--navy-900); }
.de-src { margin: 16px 0 0; font-size: 13px; color: var(--slate-600); }
.de-dl { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--navy-900); color: #FFFFFF; border-radius: 20px; padding: 32px; }
.de-dl h3 { margin: 0 0 6px; color: #FFFFFF; font-size: 22px; } .de-dl p { margin: 0; color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.6; }
.de-path { padding: 110px 0 24px; }
.de-path__head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 56px; }
.de-path__head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.flagship-card--wide { grid-column: 1 / -1; }
.flagship-card--genai { background: var(--navy-900); }
[data-theme="dark"] .de-info, [data-theme="dark"] .de-path { background: var(--navy-900); }
[data-theme="dark"] .de-card, [data-theme="dark"] .de-stat { background: #172533; box-shadow: none; }
[data-theme="dark"] .de-card h3, [data-theme="dark"] .de-list--who b, [data-theme="dark"] .de-info__head h2, [data-theme="dark"] .de-path__head h2 { color: #FFFFFF; }
[data-theme="dark"] .de-list li, [data-theme="dark"] .de-stat span, [data-theme="dark"] .de-src { color: #A7B4C2; }
@media (max-width: 900px) {
  .ne-grid, .de-cols, .de-road__inner { grid-template-columns: 1fr; }
  .de-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .de-road, .de-info { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cash-banner, .cash-banner__shine, .cash-banner__icon svg, .cta2__orb { animation: none; }
  .cta2__lines path { animation: none; stroke-dashoffset: 0; }
}

/* Gen AI infographic */
.flagship-card--genai { position: relative; overflow: hidden; }
.genai-viz { position: absolute; right: 48px; top: 44px; width: min(46%, 520px); height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 6px; pointer-events: none; }
.gv-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 0 0 auto; }
.gv-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.gv-box { width: 112px; height: 120px; border-radius: 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.gv-line { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); transform-origin: left; animation: gvType 5s var(--ease-out) infinite; }
.gv-line--1 { width: 90%; } .gv-line--2 { width: 70%; animation-delay: .5s; } .gv-line--3 { width: 45%; animation-delay: 1s; }
.gv-caret { position: absolute; left: 14px; bottom: 16px; width: 2px; height: 14px; background: #FF0042; animation: gvBlink 1s steps(2) infinite; }
.gv-box--out { border-color: rgba(255,0,66,.5); }
.gv-out { background: #FF0042; opacity: .85; animation: gvOut 5s var(--ease-out) infinite; }
.gv-out--1 { width: 85%; animation-delay: 2.2s; } .gv-out--2 { width: 95%; animation-delay: 2.7s; } .gv-out--3 { width: 60%; animation-delay: 3.2s; }
.gv-net { width: 130px; height: 130px; }
.gv-ring { fill: none; stroke: #FFFFFF; stroke-opacity: .22; stroke-width: 1.2; transform-origin: 60px 60px; animation: gvSpin 22s linear infinite; stroke-dasharray: 4 6; }
.gv-ring--2 { animation-direction: reverse; animation-duration: 16s; }
.gv-nodes circle { transform-box: fill-box; transform-origin: center; animation: gvNode 2.4s ease-in-out infinite; }
.gv-nodes circle:nth-child(2n) { animation-delay: .4s; } .gv-nodes circle:nth-child(3n) { animation-delay: .9s; } .gv-nodes circle:nth-child(5n) { animation-delay: 1.4s; }
.gv-core { transform-box: fill-box; transform-origin: center; animation: gvCore 2.4s ease-in-out infinite; }
.gv-flow { position: relative; flex: 1 1 auto; min-width: 28px; height: 2px; background: rgba(255,255,255,.18); margin-top: 26px; overflow: hidden; border-radius: 2px; }
.gv-flow span { position: absolute; top: -2px; left: -8px; width: 6px; height: 6px; border-radius: 50%; background: #FF0042; animation: gvFlow 2s linear infinite; }
.gv-flow span:nth-child(2) { animation-delay: .65s; } .gv-flow span:nth-child(3) { animation-delay: 1.3s; }
@keyframes gvType { 0% { transform: scaleX(0); opacity: 0; } 12%, 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes gvOut { 0%, 40% { transform: scaleX(0); opacity: 0; } 55%, 88% { transform: scaleX(1); opacity: .85; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes gvBlink { 50% { opacity: 0; } }
@keyframes gvSpin { to { transform: rotate(360deg); } }
@keyframes gvNode { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.6); opacity: 1; } }
@keyframes gvCore { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes gvFlow { to { left: 100%; } }
@media (max-width: 1100px) { .genai-viz { position: static; width: 100%; height: auto; margin: 8px 0 18px; } }
@media (max-width: 560px) { .gv-box { width: 84px; height: 100px; padding: 14px 10px; } .gv-net { width: 96px; height: 96px; } }
@media (prefers-reduced-motion: reduce) { .gv-line, .gv-out, .gv-caret, .gv-ring, .gv-nodes circle, .gv-core, .gv-flow span { animation: none; } .gv-flow span:first-child { left: 45%; } .gv-out { opacity: .85; } }

/* News and events on deep blue */
.ne-sec, [data-theme="dark"] .ne-sec { background: var(--teal-700); color: #FFFFFF; position: relative; overflow: hidden; }
.ne-sec .ne-head h2 { color: #FFFFFF; }
.ne-sec .ne-col, [data-theme="dark"] .ne-sec .ne-col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); box-shadow: none; }
.ne-sec .ne-col__top h3, [data-theme="dark"] .ne-sec .ne-col__top h3 { color: #FFFFFF; }
.ne-sec .ne-link { color: #FF5C83; }
.ne-sec .ne-item__title, [data-theme="dark"] .ne-sec .ne-item__title { color: #FFFFFF; }
.ne-sec .ne-item__sum, .ne-sec .ne-item__date, .ne-sec .ne-empty,
[data-theme="dark"] .ne-sec .ne-item__sum, [data-theme="dark"] .ne-sec .ne-item__date, [data-theme="dark"] .ne-sec .ne-empty { color: rgba(255,255,255,.72); }
.ne-sec .ne-item:hover { background: rgba(255,255,255,.08); }
.ne-sec .ne-event__date { background: var(--red); }
[data-theme="dark"] .ne-sec { background: var(--navy-900); }

/* Brochure content: promise banner, market insights, job growth */
.de-lead { margin: 0; font-size: 17px; line-height: 1.75; color: var(--slate-600); }
[data-theme="dark"] .de-lead { color: #A7B4C2; }
.de-info__head { max-width: 860px; }
.promise { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 12px; margin: 8px 0 40px; padding: 36px 40px 0; background: var(--teal-700); border: 3px solid var(--red); border-radius: 24px; overflow: hidden; min-height: 280px; }
.promise__text { display: flex; flex-direction: column; gap: 6px; padding-bottom: 36px; align-self: center; }
.promise__kicker { color: #FFFFFF; font-weight: 600; font-size: clamp(16px, 2vw, 20px); }
.promise__line { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.12; color: #FFFFFF; }
.promise__line--red { color: #FF5C83; }
.promise__img { width: 100%; max-height: 330px; object-fit: contain; object-position: bottom right; display: block; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.why-course { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: end; margin-bottom: 28px; }
.why-course__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.why-course__img { width: 100%; max-height: 420px; object-fit: contain; object-position: bottom; display: block; }
.de-dl--img { position: relative; padding-left: 190px; overflow: visible; margin-top: 70px; }
.de-dl__img { position: absolute; left: 24px; bottom: 0; height: 190px; width: auto; max-width: 150px; object-fit: contain; object-position: bottom; }
.de-dl--img { min-height: 130px; }

.mi-sec { background: var(--navy-900); color: #FFFFFF; padding: 110px 0; }
.mi-sec .de-info__head h2 { color: #FFFFFF; }
.mi-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 64px; }
.mi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mi-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background-color 250ms var(--ease-out), transform 250ms var(--ease-out); }
.mi-item:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.mi-item__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.mi-item__icon svg { width: 22px; height: 22px; color: #FFFFFF; }
.mi-item b { display: block; margin-bottom: 4px; font-size: 16px; }
.mi-item span span { display: block; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72); }
.mi-visual { display: flex; align-items: flex-end; justify-content: center; }
.mi-visual img { width: 100%; max-height: 460px; object-fit: contain; object-position: bottom; animation: miFloat 7s ease-in-out infinite; }
@keyframes miFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.jg { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 40px; }
.jg__title { margin: 0 0 28px; font-size: 26px; color: #FFFFFF; }
.jg__row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin-bottom: 32px; }
.jg__donut { position: relative; width: 170px; height: 170px; }
.jg__donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jg__track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 14; }
.jg__arc { fill: none; stroke: var(--red); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.jg.is-visible .jg__arc { stroke-dashoffset: 21; }
.jg__donut b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 34px; }
.jg__cap { margin: 0; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.85); } .jg__cap span { color: #FF5C83; font-weight: 600; }
.jg__bars { display: grid; grid-template-columns: 90px 90px 1fr; gap: 16px; align-items: end; }
.jg__bar { position: relative; height: 150px; display: flex; align-items: flex-end; justify-content: center; }
.jg__bar i { display: block; width: 100%; height: 0; border-radius: 10px 10px 4px 4px; background: rgba(255,255,255,.85); transition: height 1.3s var(--ease-out) .3s; }
.jg__bar--a i { background: var(--red); }
.jg.is-visible .jg__bar i { height: var(--h); }
.jg__bar b { position: absolute; bottom: 10px; top: auto; left: 0; right: 0; text-align: center; font-size: 15px; color: var(--navy-900); }
.jg__bar--a b { color: #FFFFFF; }
.jg__bars p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); align-self: center; }
.jg__cols { margin-bottom: 20px; }
.jg__card { background: #FFFFFF; color: var(--navy-900); border-radius: 18px; padding: 26px; }
.jg__card h4 { margin: 0 0 12px; font-size: 19px; color: var(--teal-700); }
.jg__card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.6; color: var(--slate-600); }
.jg__take { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.jg__take h4 { margin: 0 0 8px; color: #FF5C83; font-size: 18px; }
.jg__take p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.8); }
.jg__src { color: rgba(255,255,255,.6); margin-top: 20px; }
[data-theme="dark"] .jg__card { background: #172533; color: #FFFFFF; } [data-theme="dark"] .jg__card h4 { color: #FFFFFF; } [data-theme="dark"] .jg__card ul { color: #A7B4C2; }

@media (max-width: 960px) {
  .promise { grid-template-columns: 1fr; padding: 28px 24px 0; }
  .promise__img { max-height: 260px; object-position: bottom center; }
  .why-course { grid-template-columns: 1fr; } .why-course__cols { grid-template-columns: 1fr; } .why-course__img { max-height: 300px; }
  .mi-grid, .jg__row, .jg__take { grid-template-columns: 1fr; } .mi-list { grid-template-columns: 1fr; }
  .mi-visual img { max-height: 320px; }
  .jg { padding: 24px; } .jg__donut { margin: 0 auto; }
  .de-dl--img { padding-left: 24px; margin-top: 24px; } .de-dl__img { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mi-visual img { animation: none; } .jg__arc, .jg__bar i { transition: none; } }
.de-h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
[data-theme="dark"] .de-h1 { color: #FFFFFF; }
#mission { padding-top: calc(var(--header-h) + 40px); }

/* About page redesign */
.ab-title { font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.1 !important; }
.ab-h2 { margin: 0; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.ab-lead { margin: 0; font-size: 17px; line-height: 1.8; color: var(--slate-600); }
.ab-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.ab-intro { padding: 96px 0 40px; background: #FFFFFF; }
.ab-intro__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ab-promise { padding: 56px 0 24px; background: #FFFFFF; }
.ab-promise .promise { margin: 0 0 28px; }
.ab-grid { display: grid; gap: 20px; }
.ab-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-pro, .ab-why { background: #FFFFFF; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 8px 8px 20px rgba(15,24,33,.06), -6px -6px 16px rgba(255,255,255,.9); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.ab-promise .ab-pro { background: var(--grey-50); }
.ab-pro:hover, .ab-why:hover { transform: translateY(-4px); box-shadow: 12px 14px 28px rgba(15,24,33,.10); }
.ab-pro h3, .ab-why h3 { margin: 0; font-size: 19px; color: var(--teal-700); }
.ab-pro p, .ab-why p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--slate-600); }
.ab-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,53,84,.08); color: var(--teal-700); transition: transform 300ms var(--ease-out); }
.ab-icon svg { width: 26px; height: 26px; }
.ab-icon--red { background: rgba(255,0,66,.10); color: var(--red); }
.ab-icon--light { background: rgba(255,255,255,.16); color: #FFFFFF; }
.ab-pro:hover .ab-icon, .ab-why:hover .ab-icon { transform: scale(1.08) rotate(-4deg); }
.ab-mv { padding: 40px 0; background: #FFFFFF; }
.ab-mv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ab-mv__card { border-radius: 24px; padding: 40px; color: #FFFFFF; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.ab-mv__card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -90px; background: rgba(255,255,255,.07); animation: ctaDrift 10s ease-in-out infinite; }
.ab-mv__card--navy { background: var(--teal-700); }
.ab-mv__card--red { background: var(--red); }
.ab-mv__card p, [data-theme="dark"] .ab-mv__card p { margin: 0; font-size: 18px; line-height: 1.7; position: relative; z-index: 1; color: #FFFFFF; }
.ab-whysec { padding: 96px 0; background: var(--grey-50); }
.ab-whysec .ab-why { background: #FFFFFF; }
.ab-values { padding: 100px 0; background: var(--teal-700); color: #FFFFFF; }
.ab-course { padding: 100px 0; background: #FFFFFF; }
.ab-who { padding: 100px 0; background: var(--grey-50); }
[data-theme="dark"] .ab-intro, [data-theme="dark"] .ab-promise, [data-theme="dark"] .ab-mv, [data-theme="dark"] .ab-course { background: var(--navy-900); }
[data-theme="dark"] .ab-whysec, [data-theme="dark"] .ab-who { background: #0B1219; }
[data-theme="dark"] .ab-pro, [data-theme="dark"] .ab-why, [data-theme="dark"] .ab-promise .ab-pro { background: #172533; box-shadow: none; }
[data-theme="dark"] .ab-pro h3, [data-theme="dark"] .ab-why h3, [data-theme="dark"] .ab-h2 { color: #FFFFFF; }
[data-theme="dark"] .ab-pro p, [data-theme="dark"] .ab-why p, [data-theme="dark"] .ab-lead { color: #A7B4C2; }
[data-theme="dark"] .ab-icon { background: rgba(255,255,255,.08); color: #FFFFFF; }
@media (max-width: 960px) {
  .ab-intro__grid, .ab-mv__grid, .ab-grid--3, .ab-grid--5 { grid-template-columns: 1fr; }
  .ab-intro { padding: 64px 0 24px; } .ab-whysec, .ab-values, .ab-course, .ab-who { padding: 64px 0; }
  .ab-mv__card { padding: 28px; }
}
@media (min-width: 961px) and (max-width: 1200px) { .ab-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1201px) { .ab-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ab-grid--5 .ab-why { padding: 24px; } }

/* Gen AI page */
.ga-how { background: var(--navy-900); color: #FFFFFF; padding: 100px 0; }
.ga-how__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ga-how__text { display: flex; flex-direction: column; gap: 16px; }
.ga-how__text h2 { margin: 0; color: #FFFFFF; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
.ga-how__text p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.75; font-size: 17px; }
.ga-how__viz { border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); padding: 32px 24px; }
.ga-how__viz .genai-viz { position: static; width: 100%; height: auto; }
.ga-mods { padding: 100px 0; background: #FFFFFF; }
.ga-mods__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ga-mod { background: var(--grey-50); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.ga-mod:hover { transform: translateY(-4px); box-shadow: 10px 12px 26px rgba(15,24,33,.09); }
.ga-mod__n { font-family: var(--font-mono); font-size: 13px; color: var(--red); }
.ga-mod h3 { margin: 0; font-size: 20px; color: var(--teal-700); }
.ga-mod p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--slate-600); }
.ga-mod__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ga-out { padding: 100px 0; background: var(--grey-50); }
.ga-out__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ga-support { padding: 20px 0 100px; background: var(--grey-50); }
[data-theme="dark"] .ga-mods { background: var(--navy-900); } [data-theme="dark"] .ga-out, [data-theme="dark"] .ga-support { background: #0B1219; }
[data-theme="dark"] .ga-mod { background: #172533; } [data-theme="dark"] .ga-mod h3 { color: #FFFFFF; } [data-theme="dark"] .ga-mod p { color: #A7B4C2; }
@media (max-width: 960px) { .ga-how__inner, .ga-out__grid, .ga-mods__grid { grid-template-columns: 1fr; } .ga-how, .ga-mods, .ga-out { padding: 64px 0; } }

/* Learning experience: animated icons */
.exp-item { padding: 22px 20px; border-radius: 16px; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
.exp-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,53,84,.10); background: rgba(255,0,66,.03); }
.exp-item__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,0,66,.08); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out); }
.exp-item__icon::after { content: ""; position: absolute; inset: 0; border-radius: 14px; border: 1.5px solid var(--red-600); opacity: 0; pointer-events: none; }
.exp-item__icon svg { width: 26px; height: 26px; overflow: visible; transform-origin: 50% 50%; }
.exp-item.reveal .exp-item__icon svg path { stroke-dasharray: 90; stroke-dashoffset: 90; }
.exp-item.is-visible .exp-item__icon svg path { animation: expDraw 1.1s var(--ease-out) .15s forwards; }
.exp-item.is-visible .exp-item__icon::after { animation: expRing 2.8s ease-out .9s infinite; }
.exp-item:hover .exp-item__icon { background: var(--red-600); color: #FFFFFF; transform: scale(1.06); }
.exp-item.is-visible .exp-item__icon svg { animation: var(--ea, none) 3.2s ease-in-out 1.4s infinite; }
.exp-item:hover .exp-item__icon svg { animation-duration: 1.4s; }
.exp-item--a1 { --ea: expPulse; } .exp-item--a2 { --ea: expSlide; } .exp-item--a3 { --ea: expTick; } .exp-item--a4 { --ea: expFloat; }
.exp-item--a5 { --ea: expPulse; } .exp-item--a6 { --ea: expBob; } .exp-item--a7 { --ea: expTilt; } .exp-item--a8 { --ea: expSpin; }
@keyframes expDraw { to { stroke-dashoffset: 0; } }
@keyframes expRing { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes expPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes expSlide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes expTick { 0%, 60%, 100% { transform: rotate(0); } 80% { transform: rotate(14deg); } }
@keyframes expFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes expBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.06); } }
@keyframes expTilt { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes expSpin { 0%, 70%, 100% { transform: rotate(0); } 90% { transform: rotate(180deg); } }
[data-theme="dark"] .exp-item__icon { background: rgba(255,0,66,.16); }
[data-theme="dark"] .exp-item:hover { background: rgba(255,255,255,.04); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) {
  .exp-item__icon svg path { stroke-dashoffset: 0; animation: none !important; }
  .exp-item__icon svg, .exp-item__icon::after { animation: none !important; }
  .exp-item:hover { transform: none; }
}

/* Home: mentorship animation */
.mentor-viz { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 36px; max-width: 520px; width: 100%; margin: 0 auto; padding: 8px 0; }
.mv-row { position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr) 52px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; align-items: center; }
.mv-av { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.mv-av svg { width: 24px; height: 24px; }
.mv-av--a { background: #FF0042; color: #FFFFFF; grid-column: 1; }
.mv-av--b { background: rgba(255,255,255,.12); color: #FFFFFF; border: 1px solid rgba(255,255,255,.28); grid-column: 3; }
.mv-av::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; }
.is-visible .mv-av::after { animation: mvRing 3s ease-out infinite; }
.is-visible .mv-av--b::after { animation-delay: 1.5s; }
.mv-bubble { grid-column: 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; opacity: 0; }
.mv-bubble i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); transform-origin: left center; }
.mv-bubble i:nth-child(1) { width: 90%; } .mv-bubble i:nth-child(2) { width: 70%; } .mv-bubble i:nth-child(3) { width: 45%; }
.mv-bubble--a { grid-row: 1; background: rgba(255,0,66,.30); border-top-left-radius: 4px; justify-self: start; width: 82%; }
.mv-bubble--b { grid-row: 2; background: rgba(255,255,255,.14); border-top-right-radius: 4px; justify-self: end; width: 66%; }
.is-visible .mv-bubble--a { animation: mvMsg 6s var(--ease-out) .4s infinite; }
.is-visible .mv-bubble--b { animation: mvMsg 6s var(--ease-out) 2.2s infinite; }
.mv-track { position: relative; display: flex; justify-content: space-between; height: 4px; margin: 0 8px; background: rgba(255,255,255,.18); border-radius: 2px; }
.mv-track__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: #FF0042; }
.is-visible .mv-track__fill { animation: mvFill 8s var(--ease-out) .6s infinite; }
.mv-step { position: relative; width: 0; }
.mv-step b { position: absolute; left: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #0F2A44; border: 2px solid rgba(255,255,255,.4); transition: background-color .3s; }
.mv-step em { position: absolute; top: 18px; left: 0; transform: translateX(-50%); font-style: normal; font-size: 12px; color: rgba(255,255,255,.75); white-space: nowrap; }
.mv-step--1 em { transform: translateX(-8px); } .mv-step--4 em { transform: translateX(calc(-100% + 8px)); }
.is-visible .mv-step b { animation: mvDot 8s linear .6s infinite; }
.is-visible .mv-step--2 b { animation-name: mvDot2; } .is-visible .mv-step--3 b { animation-name: mvDot3; } .is-visible .mv-step--4 b { animation-name: mvDot4; }
@keyframes mvRing { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes mvMsg { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 8%, 40% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes mvFill { 0% { width: 0; } 80% { width: 100%; } 92%, 100% { width: 100%; opacity: 1; } }
@keyframes mvDot { 0%, 2% { background: #0F2A44; border-color: rgba(255,255,255,.4); } 4%, 92% { background: #FF0042; border-color: #FF0042; } 100% { background: #0F2A44; border-color: rgba(255,255,255,.4); } }
@keyframes mvDot2 { 0%, 26% { background: #0F2A44; border-color: rgba(255,255,255,.4); } 28%, 92% { background: #FF0042; border-color: #FF0042; } 100% { background: #0F2A44; border-color: rgba(255,255,255,.4); } }
@keyframes mvDot3 { 0%, 52% { background: #0F2A44; border-color: rgba(255,255,255,.4); } 54%, 92% { background: #FF0042; border-color: #FF0042; } 100% { background: #0F2A44; border-color: rgba(255,255,255,.4); } }
@keyframes mvDot4 { 0%, 78% { background: #0F2A44; border-color: rgba(255,255,255,.4); } 80%, 92% { background: #FF0042; border-color: #FF0042; } 100% { background: #0F2A44; border-color: rgba(255,255,255,.4); } }
@media (max-width: 640px) { .mentor-viz { gap: 28px; } .mv-av { width: 44px; height: 44px; } .mv-row { grid-template-columns: 44px minmax(0,1fr) 44px; } }
@media (prefers-reduced-motion: reduce) {
  .mv-bubble { opacity: 1; animation: none !important; } .mv-av::after { animation: none !important; }
  .mv-track__fill { width: 100%; animation: none !important; } .mv-step b { animation: none !important; background: #FF0042; border-color: #FF0042; }
}

/* News and events: animated background + upward motion */
.ne-sec > .wrap { position: relative; z-index: 1; }
.ne-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ne-bg::before { content: ""; position: absolute; inset: -60px 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; animation: neGrid 14s linear infinite; }
.ne-bg span { position: absolute; bottom: -80px; border-radius: 50%; background: rgba(255,0,66,.22); animation: neRise 16s linear infinite; will-change: transform; }
.ne-bg span:nth-child(odd) { background: rgba(255,255,255,.10); }
.ne-bg span:nth-child(1) { left: 6%; width: 16px; height: 16px; animation-duration: 14s; }
.ne-bg span:nth-child(2) { left: 17%; width: 34px; height: 34px; animation-duration: 19s; animation-delay: -6s; }
.ne-bg span:nth-child(3) { left: 29%; width: 12px; height: 12px; animation-duration: 13s; animation-delay: -3s; }
.ne-bg span:nth-child(4) { left: 41%; width: 24px; height: 24px; animation-duration: 17s; animation-delay: -9s; }
.ne-bg span:nth-child(5) { left: 54%; width: 14px; height: 14px; animation-duration: 15s; animation-delay: -1s; }
.ne-bg span:nth-child(6) { left: 66%; width: 40px; height: 40px; animation-duration: 21s; animation-delay: -12s; }
.ne-bg span:nth-child(7) { left: 77%; width: 18px; height: 18px; animation-duration: 14s; animation-delay: -5s; }
.ne-bg span:nth-child(8) { left: 88%; width: 28px; height: 28px; animation-duration: 18s; animation-delay: -8s; }
.ne-bg span:nth-child(9) { left: 95%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: -2s; }
@keyframes neRise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-110vh); opacity: 0; } }
@keyframes neGrid { to { transform: translateY(-56px); } }
.ne-ticker { position: relative; }
.ne-ticker.is-ticker { height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.ne-list.is-moving { animation: neTicker var(--ne-dur, 24s) linear infinite; will-change: transform; }
.ne-ticker:hover .ne-list.is-moving, .ne-ticker:focus-within .ne-list.is-moving { animation-play-state: paused; }
@keyframes neTicker { from { transform: translateY(0); } to { transform: translateY(var(--ne-dist, -50%)); } }
@media (max-width: 640px) { .ne-ticker.is-ticker { height: 300px; } }
.ne-sec .ne-col { transition: transform .35s var(--ease-out), background-color .35s var(--ease-out); }
.ne-sec .ne-col:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
@media (prefers-reduced-motion: reduce) {
  .ne-bg span, .ne-bg::before { animation: none !important; }
  .ne-list.is-moving { animation: none !important; }
  .ne-sec .ne-col:hover { transform: none; }
}

.community-card--wide { grid-column: 2 / -1; }

/* Home: live class cards, consistent layout */
.programs__grid .live-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.programs__grid .live-card .live-card__count { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 0 !important; height: auto; width: fit-content; padding: 10px 16px; border-radius: 12px; background: var(--teal-700); box-shadow: none; }
.live-card__count-num { font-size: 26px; color: #FFFFFF; }
.live-card__count-label { color: rgba(255,255,255,.78); letter-spacing: .08em; }
.live-card__head { flex-wrap: wrap; align-items: center; row-gap: 10px; }
.live-card__head .chip { white-space: nowrap; }
.live-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px 10px; margin-left: auto; }
.live-card__price > * { white-space: nowrap; }
.live-card__body { flex: 1; }
.live-card__actions { margin-top: auto; }
[data-theme="dark"] .live-card__count { background: rgba(255,255,255,.08); }

/* Mobile and tablet alignment fixes */
@media (max-width: 1023px) {
  .community-card--wide { grid-column: 1 / -1; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__text, .hero__visual, .hero__panel { min-width: 0; max-width: 100%; }
  .hero__meta { flex-wrap: wrap; row-gap: 16px; }
}
@media (max-width: 639px) {
  .community-card--wide { grid-column: auto; }
  .community__grid > * { min-width: 0; }
  .hero__code { overflow-x: auto; font-size: 12px; }
  .hero__code, .hero__code * { overflow-wrap: anywhere; }
  .hero__meta { gap: 16px 28px; }
  .hero__meta-item { min-width: 0; }
  .hero__meta-item strong { overflow-wrap: anywhere; }
}
@media (max-width: 480px) { .genai-viz { gap: 2px; } .gv-box { width: 62px; height: 84px; padding: 12px 8px; gap: 8px; } .gv-net { width: 78px; height: 78px; } .gv-label { font-size: 9px; letter-spacing: .04em; } .gv-flow { min-width: 0; flex: 1 1 0; } }
@media (max-width: 767px) { .intro__bridge-from, .intro__bridge-to { padding: 24px; text-align: left; align-items: flex-start; } .intro__bridge-middle { justify-content: center; } .intro__bridge-middle .chips { flex-wrap: wrap; justify-content: center; } }

/* Mobile app-style layout (phones) */
@media (max-width: 767px) {
  .sec { padding-block: 48px; }
  .sec h2 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.15; }

  /* Swipeable card rails */
  .programs__grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -20px; padding: 6px 20px 18px; scroll-padding-inline: 20px; }
  .programs__grid::-webkit-scrollbar { display: none; }
  .programs__grid > * { flex: 0 0 86%; max-width: 86%; min-width: 0; scroll-snap-align: start; margin: 0; }
  .programs__grid .flagship-card--wide { grid-column: auto; }
  .programs__grid[style] { margin-bottom: 0 !important; }
  .programs__header { gap: 18px; }
  .pill-group { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .pill-group::-webkit-scrollbar { display: none; }
  .pill { white-space: nowrap; min-height: 44px; }

  /* Compact tile grids */
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .why-card-feature { grid-column: 1 / -1; padding: 24px; }
  .why-card { padding: 16px; border-radius: 18px; gap: 10px; min-width: 0; }
  .why-card h3 { font-size: 15px; line-height: 1.25; }
  .why-card p { font-size: 13px; line-height: 1.5; }
  .why-card__head { margin-bottom: 4px; }

  .community__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .community__grid .chat-card { grid-column: 1 / -1; }
  .community-card { padding: 16px; border-radius: 18px; min-height: 0; }
  .community-card h3 { font-size: 15px; }
  .community-card p { font-size: 13px; }
  .community-card--wide { grid-column: 1 / -1; }

  /* Press feedback instead of hover */
  .neu:active, .flagship-card:active, .live-card:active, .why-card:active, .community-card:active, .ne-col:active { transform: scale(.985); }
  .btn { min-height: 46px; }
  .btn:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) { .programs__grid { scroll-behavior: auto; } }
@media (max-width: 767px) { .why .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; } .why .why-card-feature { grid-column: 1 / -1; grid-row: auto; } .why .why-card { min-height: 0; justify-content: flex-start; } .why .why-card h3 { margin-top: 6px; } }
@media (max-width: 767px) { .intro .intro__bridge .intro__bridge-from, .intro .intro__bridge .intro__bridge-to { padding: 28px 24px !important; text-align: center !important; align-items: center !important; gap: 8px; } .intro .intro__bridge .intro__ico { margin: 0 auto 4px; } .intro .intro__bridge h3 { font-size: 20px; } .intro .intro__bridge p { max-width: 260px; } }
@media (max-width: 639px) { .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .site-footer .footer-brand, .site-footer .footer-grid > .footer-nav:last-child { grid-column: 1 / -1; } .site-footer .footer-nav { min-width: 0; } .site-footer .footer-nav a { display: block; overflow-wrap: anywhere; } .site-footer .footer-grid > .footer-nav:last-child { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); } }

/* Flagship card decorations: show on tablet and phone, in flow under the chips */
@media (max-width: 1023px) {
  .flagship-card .flagship-decor { display: block; position: relative; right: auto; top: auto; width: 100%; max-width: 300px; height: 130px; align-self: center; order: -1; }
  .flagship-card .flagship-cascade { display: flex; position: relative; right: auto; top: auto; width: 100%; max-width: 260px; align-self: center; order: -1; }
  .flagship-card .flagship-card__chips { order: -2; }
  .flagship-card .flagship-cascade__row .chip { width: 84px; }
}

/* Hero pipeline: keep node text inside on small screens */
@media (max-width: 560px) {
  .hero .hero__pipeline { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.1fr) 16px minmax(0, 1fr); grid-template-rows: repeat(3, auto); row-gap: 12px; }
  .hero .hero__node { height: auto; min-height: 58px; padding: 8px 8px; gap: 3px; justify-content: center; overflow: hidden; }
  .hero .hero__node-label { font-size: 9px; letter-spacing: .04em; line-height: 1.2; }
  .hero .hero__node-name { font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
  .hero .hero__panel { padding: 16px; }
}
@media (max-width: 360px) {
  .hero .hero__pipeline { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1.05fr) 10px minmax(0, 1fr); }
  .hero .hero__node { padding: 8px 6px; }
  .hero .hero__node-name { font-size: 11px; overflow-wrap: normal; }
  .hero .hero__node-label { font-size: 8px; }
  .hero .hero__panel { padding: 12px; }
  .hero .hero__code { font-size: 11px; }
}

/* Programs page: course grid and general content */
.cg-sec { padding: 80px 0; background: var(--grey-50); }
.cg-how { padding: 80px 0; background: #FFFFFF; }
.cg-inc { padding: 80px 0; background: var(--grey-50); }
.cg-pick { padding: 80px 0; background: #FFFFFF; }
.cg-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 40px; }
.cg-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.cg-head p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--slate-600); }

.cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cg-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid rgba(15,24,33,.08); box-shadow: 0 8px 22px rgba(15,24,33,.06); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.cg-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15,24,33,.12); border-color: rgba(255,0,66,.35); }
.cg-card__top { display: flex; align-items: center; justify-content: space-between; }
.cg-card__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,0,66,.08); color: var(--red); transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
.cg-card__icon svg { width: 24px; height: 24px; }
.cg-card:hover .cg-card__icon { background: var(--red); color: #FFFFFF; }
.cg-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--teal-700); color: #FFFFFF; }
.cg-card--live .cg-tag { background: rgba(0,53,84,.08); color: var(--teal-700); }
.cg-card__title { margin: 0; font-size: 22px; line-height: 1.2; }
.cg-card__link { color: inherit; text-decoration: none; }
.cg-card__link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.cg-card__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--slate-600); }
.cg-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; padding: 14px 0; border-block: 1px solid rgba(15,24,33,.08); }
.cg-meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.cg-meta dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.cg-price { min-height: 28px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy-900); }
.cg-price--enq { font-family: var(--font-body, inherit); font-size: 15px; color: var(--slate-600); font-weight: 500; }
.cg-card__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.cg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.cg-step { position: relative; padding: 24px; border-radius: 18px; background: var(--grey-50); border: 1px solid rgba(15,24,33,.06); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.cg-step:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,24,33,.09); }
.cg-step__n { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--teal-700); color: #FFFFFF; font-family: var(--font-mono); font-size: 13px; margin-bottom: 14px; }
.cg-step h3 { margin: 0 0 8px; font-size: 18px; }
.cg-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--slate-600); }

.cg-inc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cg-inc__item { padding: 24px; border-radius: 18px; background: #FFFFFF; border: 1px solid rgba(15,24,33,.06); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.cg-inc__item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,24,33,.09); }
.cg-inc__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,0,66,.08); color: var(--red); margin-bottom: 14px; }
.cg-inc__icon svg { width: 22px; height: 22px; }
.cg-inc__item h3 { margin: 0 0 6px; font-size: 17px; }
.cg-inc__item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate-600); }

.cg-pick__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cg-pick__item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; background: var(--teal-700); color: #FFFFFF; }
.cg-pick__item:nth-child(2) { background: var(--navy-900); }
.cg-pick__item:nth-child(3) { background: var(--red); }
.cg-pick__item h3 { margin: 0; font-size: 20px; color: #FFFFFF; }
.cg-pick__item p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); }
.cg-pick__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; font-size: 14px; text-decoration: none; }
.cg-pick__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.cg-pick__link:hover svg { transform: translateX(4px); }

[data-theme="dark"] .cg-sec, [data-theme="dark"] .cg-inc { background: var(--navy-900); }
[data-theme="dark"] .cg-how, [data-theme="dark"] .cg-pick { background: #0B1219; }
[data-theme="dark"] .cg-card, [data-theme="dark"] .cg-inc__item { background: #172533; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .cg-step { background: #172533; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .cg-card__title, [data-theme="dark"] .cg-step h3, [data-theme="dark"] .cg-inc__item h3, [data-theme="dark"] .cg-meta dd, [data-theme="dark"] .cg-price { color: #FFFFFF; }
[data-theme="dark"] .cg-card__desc, [data-theme="dark"] .cg-step p, [data-theme="dark"] .cg-inc__item p, [data-theme="dark"] .cg-head p { color: #A7B4C2; }
[data-theme="dark"] .cg-meta { border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .cg-card--live .cg-tag { background: rgba(255,255,255,.1); color: #FFFFFF; }

@media (max-width: 1023px) {
  .cg-grid, .cg-pick__grid, .cg-inc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .cg-sec, .cg-how, .cg-inc, .cg-pick { padding: 48px 0; }
  .cg-head { margin-bottom: 24px; }
  .cg-grid, .cg-inc__grid, .cg-steps { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-card { padding: 16px; border-radius: 18px; gap: 10px; }
  .cg-card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .cg-card__icon svg { width: 20px; height: 20px; }
  .cg-tag { font-size: 9px; padding: 4px 8px; }
  .cg-card__title { font-size: 16px; }
  .cg-card__desc { font-size: 13px; line-height: 1.5; }
  .cg-meta { grid-template-columns: 1fr; gap: 8px; padding: 10px 0; }
  .cg-meta dd { font-size: 13px; }
  .cg-price { font-size: 16px; }
  .cg-card__actions .btn { flex: 1 1 100%; justify-content: center; }
  .cg-step, .cg-inc__item { padding: 16px; }
  .cg-step h3, .cg-inc__item h3 { font-size: 15px; }
  .cg-step p, .cg-inc__item p { font-size: 13px; }
  .cg-pick__grid { grid-template-columns: 1fr; gap: 12px; }
  .cg-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .cg-card, .cg-step, .cg-inc__item { transition: none; } .cg-card:hover, .cg-step:hover, .cg-inc__item:hover { transform: none; } }
@media (max-width: 639px) { .cg-price--enq { font-size: 13px; } }

/* ---- Programs mega menu: blue icon tiles with motion, red on hover ---- */
.mega-link { align-items: center; gap: 16px; }
.mega-link__icon, .mega-link__icon--navy, .mega-link__icon--mono {
    width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: #003554; color: #FFFFFF;
    box-shadow: 0 6px 14px rgba(0, 53, 84, .22);
    transition: background-color .28s var(--ease-out, cubic-bezier(.22,1,.36,1)), transform .32s var(--ease-out, cubic-bezier(.22,1,.36,1)), box-shadow .28s var(--ease-out, cubic-bezier(.22,1,.36,1));
    animation: megaIconFloat 3.6s ease-in-out infinite;
}
.mega-link:nth-child(2) .mega-link__icon { animation-delay: -.7s; }
.mega-link:nth-child(3) .mega-link__icon { animation-delay: -1.4s; }
.mega-link:nth-child(4) .mega-link__icon { animation-delay: -2.1s; }
.mega-link:nth-child(5) .mega-link__icon { animation-delay: -2.8s; }
.mega-link__icon svg { transition: transform .45s var(--ease-out, cubic-bezier(.22,1,.36,1)); }
.mega-link:hover .mega-link__icon, .mega-link:focus-visible .mega-link__icon {
    background: #FF0042; color: #FFFFFF; transform: translateY(-3px) scale(1.06); animation-play-state: paused;
    box-shadow: 0 10px 22px rgba(255, 0, 66, .32), 0 0 0 5px rgba(255, 0, 66, .12);
}
.mega-link:hover .mega-link__icon svg, .mega-link:focus-visible .mega-link__icon svg { transform: rotate(-8deg) scale(1.08); }
.mega-link:active .mega-link__icon { transform: translateY(0) scale(.97); }
.mega-link__title { transition: color .25s var(--ease-out, cubic-bezier(.22,1,.36,1)); }
.mega-link:hover .mega-link__title { color: #FF0042; }
@keyframes megaIconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
[data-theme="dark"] .mega-link__icon, [data-theme="dark"] .mega-link__icon--navy, [data-theme="dark"] .mega-link__icon--mono { box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 6px 14px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .mega-link__icon { animation: none; } .mega-link:hover .mega-link__icon, .mega-link:hover .mega-link__icon svg { transform: none; } }
