:root {
  --bg: #0a101b;
  --bg-soft: #111a2a;
  --surface: rgba(18, 28, 43, 0.86);
  --surface-strong: #17243a;
  --surface-light: #f4f7fb;
  --ink: #eef4ff;
  --ink-dark: #0d1523;
  --muted: #9cadc8;
  --muted-dark: #526179;
  --line: rgba(130, 165, 225, 0.18);
  --accent: #ff6b3d;
  --accent-soft: #ff8d68;
  --accent-alt: #5c6cff;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(2, 8, 18, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.14), transparent 28%),
    linear-gradient(180deg, #0a101b 0%, #0e1623 55%, #111a2a 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 27, 0.84);
}

.site-header__inner,
.site-footer__inner,
.hero__grid,
.split-layout,
.cta-band__inner {
  display: grid;
  gap: 2rem;
}

.site-header__inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
  gap: 1.2rem;
}

.site-header__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.site-nav {
  order: 1;
}

.site-header__toggle {
  order: 3;
}

.theme-toggle {
  order: 4;
}

.site-header__cta {
  order: 2;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.13rem 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-dark);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 108, 255, 0.16);
  background: #f3f5fb;
}

.theme-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #f3f5fb;
  color: #4756e6;
  font-size: 0.86rem;
  line-height: 1;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.site-branding__mark {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  flex: 0 0 3rem;
}

.site-branding__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-branding__text {
  display: grid;
}

.site-branding__text strong {
  letter-spacing: 0.02em;
}

.site-branding__text small {
  color: var(--muted);
}

.site-header,
.site-header .site-branding__text strong,
.site-header .site-branding__text small,
.site-header .menu-list a {
  color: var(--ink);
}

.site-nav {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.menu-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.menu-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  color: rgba(238, 244, 255, 0.84);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu-list a:hover,
.menu-list .current-menu-item a {
  color: var(--ink-dark);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.site-main {
  overflow: hidden;
}

.hero,
.page-hero,
.section {
  padding: 3.75rem 0;
}

.hero__grid--wide,
.split-layout,
.cta-band__inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.78fr);
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-alt);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
}

h3 {
  font-size: 1.12rem;
}

.lead,
.section-heading p,
.feature-card p,
.course-card p,
.faq-item p,
.testimonial-card p,
.entry-content,
.site-footer p {
  color: var(--muted);
}

.lead {
  max-width: 52rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.hero--school {
  padding-top: 4.5rem;
}

.hero-panel,
.feature-card,
.course-card,
.testimonial-card,
.faq-item,
.content-shell,
.info-chip,
.list-panel {
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.15rem;
  position: relative;
}

.hero-panel--media {
  padding: 1rem;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 1rem -1rem auto;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(124, 230, 242, 0.4), transparent 70%);
  filter: blur(8px);
}

.hero-panel__stack,
.feature-grid,
.course-grid,
.testimonial-grid,
.faq-list,
.hero-metrics {
  display: grid;
  gap: 0.85rem;
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(136px, 0.72fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.hero-media__portrait,
.hero-media__card,
.about-visual__item {
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #e9edf7;
}

.hero-media__portrait {
  min-height: 100%;
}

.hero-media__portrait img,
.hero-media__card img,
.about-visual__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media__card {
  position: relative;
}

.hero-media__card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-media__card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.hero-media__note {
  grid-column: 1 / -1;
  padding-top: 0.1rem;
}

.hero-media__single {
  margin: 0;
  overflow: hidden;
  border-radius: 1.45rem;
  background: #e9edf7;
  aspect-ratio: 1 / 1;
}

.hero-media__single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: start;
}

.about-visual__lead {
  padding: 0.5rem 0;
}

.about-visual__lead p:last-child {
  margin-bottom: 0;
}

.about-visual__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-visual__item--large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.about-visual__single {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #e9edf7;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.about-visual__single img {
  display: block;
  width: 100%;
  height: auto;
}

.section--tight-top {
  padding-top: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.4rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #08121d;
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.course-card,
.testimonial-card,
.faq-item {
  padding: 1.05rem;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.hero-metrics__primary {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 107, 61, 0.18), rgba(124, 230, 242, 0.16));
  border-radius: 1.4rem;
}

.hero-metrics__primary strong {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
}

.info-chip {
  padding: 0.85rem 0.95rem;
}

.info-chip span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent-alt);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.info-chip strong {
  font-size: 1rem;
}

.section-heading {
  margin-bottom: 1.4rem;
  max-width: 46rem;
}

.section-heading--light h2,
.section-heading--light p {
  color: var(--ink);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card a,
.course-card a {
  color: var(--accent-alt);
  font-weight: 800;
}

:is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .info-chip,
  .list-panel,
  .course-filter,
  .content-shell,
  .content-shell .entry-content,
  .site-footer,
  .site-footer__inner,
  .contact-links a,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body
) {
  color: var(--ink);
}

:is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .info-chip,
  .list-panel,
  .course-filter,
  .content-shell,
  .content-shell .entry-content,
  .site-footer,
  .site-footer__inner,
  .contact-links a,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body
) :is(h1, h2, h3, h4, strong, b, label) {
  color: var(--ink);
}

:is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .info-chip,
  .list-panel,
  .course-filter,
  .content-shell,
  .content-shell .entry-content,
  .site-footer,
  .site-footer__inner,
  .contact-links a,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body
) :is(p, li, small, span) {
  color: var(--muted);
}

.course-card__badge,
.course-card__topics span,
.info-chip span,
.site-footer__eyebrow,
.entry-content .case-meta span,
.entry-content .stack-tags span,
.page-id-10 .entry-content .outsourcing-lead__label {
  color: var(--accent-alt);
}

.site-footer__contact-list a span,
.site-footer__nav a,
.contact-links a span:first-child,
.entry-content .case-button,
.entry-content .case-button--ghost {
  color: var(--ink);
}

.site-footer__contact-list a small,
.contact-links a span:last-child,
.stats-banner__text,
.course-card__meta span,
.course-filter__empty,
.course-filter__hint,
.hero-metrics span {
  color: var(--muted);
}

.section--dark {
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.4), rgba(6, 10, 18, 0.08));
}

.section--contrast {
  background:
    linear-gradient(135deg, rgba(255, 107, 61, 0.12), rgba(124, 230, 242, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.course-grid,
.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.reviews-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-note,
.review-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.review-note {
  padding: 1rem 1.05rem;
}

.review-note p {
  margin: 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
}

.review-card__top,
.review-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.review-card__badge,
.review-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 230, 242, 0.08);
  color: var(--accent-alt);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card__top time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.review-card__author {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.review-card__author a {
  color: var(--ink);
  transition: color 0.18s ease;
}

.review-card__author a:hover {
  color: var(--accent-alt);
}

.review-card__text {
  margin: 0;
  color: var(--muted);
}

.review-card__links {
  margin-top: auto;
  justify-content: flex-start;
}

.review-card__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.review-card__links a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 230, 242, 0.36);
  background: rgba(124, 230, 242, 0.08);
}

.course-card--light {
  background: rgba(244, 247, 251, 0.06);
}

.course-card__badge {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 230, 242, 0.1);
  color: var(--accent-alt);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.8rem;
  font-size: 0.88rem;
}

.course-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.course-card__topics span {
  display: inline-flex;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 230, 242, 0.08);
  color: var(--accent-alt);
  font-size: 0.78rem;
  font-weight: 800;
}

.course-card__meta span {
  color: var(--muted);
}

.list-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.list-panel p {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
}

.list-panel p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.testimonial-card__role {
  margin-top: -0.2rem;
  color: var(--accent-alt);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-hero--dense {
  padding-bottom: 1.25rem;
}

.stats-banner {
  margin: 0 0 1.4rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(255, 107, 61, 0.16), rgba(124, 230, 242, 0.12));
  box-shadow: var(--shadow);
}

.stats-banner__value {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.6rem);
  line-height: 1;
  font-weight: 700;
}

.stats-banner__text {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.stats-banner--compact {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1.25rem;
}

.stats-banner--compact .stats-banner__value {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.stats-banner--compact .stats-banner__text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.course-filter {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.course-filter--compact {
  gap: 0.8rem;
  margin: 0 0 1rem;
  padding: 0.8rem;
  border-radius: 1.2rem;
}

.course-filter__search input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(8, 15, 24, 0.72);
}

.course-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-filter--compact .course-filter__search input {
  min-height: 2.9rem;
  padding: 0.78rem 0.92rem;
  border-radius: 0.9rem;
}

.course-filter--compact .course-filter__chips {
  gap: 0.55rem;
}

.filter-chip {
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.course-filter--compact .filter-chip {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
}

.filter-chip.is-active {
  border-color: rgba(124, 230, 242, 0.35);
  background: rgba(124, 230, 242, 0.12);
  color: var(--accent-alt);
}

.course-filter__empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.course-filter__hint {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.content-shell {
  padding: 1.35rem;
  background: rgba(9, 14, 24, 0.72);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
  color: var(--ink);
}

.entry-content ul {
  padding-left: 1.2rem;
}

.blog-hub,
.blog-single {
  padding: 2.4rem 0 3.4rem;
}

.blog-hub {
  background:
    radial-gradient(circle at top left, rgba(84, 104, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
}

.blog-hub .container,
.blog-single .container {
  width: min(calc(100% - 1.5rem), 1360px);
}

.blog-hub__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.55fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.blog-toolbar {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1.1rem;
  padding: 1rem 1.05rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 230, 242, 0.12);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(84, 104, 255, 0.2), transparent 22rem),
    radial-gradient(circle at bottom left, rgba(124, 230, 242, 0.1), transparent 20rem),
    linear-gradient(135deg, rgba(18, 28, 43, 0.95), rgba(27, 41, 66, 0.92));
  box-shadow: 0 20px 60px rgba(6, 16, 32, 0.12);
}

.blog-toolbar::before,
.blog-feed__empty::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #5468ff, rgba(84, 104, 255, 0.08));
}

.blog-toolbar__search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f8ff;
  font: inherit;
}

.blog-toolbar__search input::placeholder {
  color: rgba(245, 248, 255, 0.62);
}

.blog-toolbar__label {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: rgba(245, 248, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-toolbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.blog-toolbar .filter-chip {
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.82);
  font-size: 0.88rem;
}

.blog-toolbar .filter-chip.is-active {
  border-color: rgba(124, 230, 242, 0.28);
  background: rgba(124, 230, 242, 0.12);
  color: #5c6cff;
}

.blog-hub__hero .eyebrow,
.blog-single .blog-kicker,
.blog-hub .blog-kicker {
  color: #5468ff;
}

.blog-hub__hero h1,
.blog-hub__hero .lead {
  color: #f5f8ff;
}

.blog-hub__hero h1 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.blog-feature h2,
.blog-card h2,
.blog-article h1 {
  max-width: none;
  color: #0e1623;
  line-height: 1.02;
}

.blog-feature p,
.blog-card p,
.blog-article__lead,
.blog-article .entry-content,
.blog-hub__hero-note p {
  color: #516177;
}

.blog-hub__hero-note,
.blog-feature,
.blog-card,
.blog-article,
.blog-feed__empty {
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.7rem;
  background: #f7f9fc;
  box-shadow: 0 20px 60px rgba(6, 16, 32, 0.12);
}

.blog-hub__hero-note {
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 230, 242, 0.12);
  background:
    radial-gradient(circle at top right, rgba(84, 104, 255, 0.2), transparent 22rem),
    radial-gradient(circle at bottom left, rgba(124, 230, 242, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(18, 28, 43, 0.95), rgba(27, 41, 66, 0.92));
}

.blog-hub__hero-note::before,
.blog-feature::before,
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #5468ff, rgba(84, 104, 255, 0.08));
}

.blog-hub__hero-note span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(245, 248, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-hub__hero-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #f5f8ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.blog-hub__hero-note p {
  color: rgba(245, 248, 255, 0.74);
}

.blog-feature {
  margin-bottom: 1rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-feature__cover {
  position: relative;
  padding: 1.45rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(84, 104, 255, 0.24), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(124, 230, 242, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(18, 28, 43, 0.95), rgba(27, 41, 66, 0.92));
}

.blog-feature__cover::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.blog-feature:hover,
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px rgba(6, 16, 32, 0.14);
}

.blog-feature__meta,
.blog-card__meta,
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin-bottom: 0.7rem;
  color: #6f8097;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-feature__meta,
.blog-feature h2 a,
.blog-feature p,
.blog-feature__link,
.blog-feature__taxonomy span {
  position: relative;
  z-index: 1;
}

.blog-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-feature h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.blog-feature h2 a,
.blog-feature p {
  color: #f5f8ff;
}

.blog-feature__meta {
  color: rgba(245, 248, 255, 0.82);
}

.blog-feature__link,
.blog-card__footer a,
.blog-article__back a {
  color: #5468ff;
  font-weight: 800;
}

.blog-feature__link {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #101a29;
}

.blog-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid rgba(124, 230, 242, 0.12);
  background:
    radial-gradient(circle at top right, rgba(84, 104, 255, 0.14), transparent 18rem),
    radial-gradient(circle at bottom left, rgba(124, 230, 242, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(18, 28, 43, 0.95), rgba(27, 41, 66, 0.92));
}

.blog-card h2 {
  margin-bottom: 0.1rem;
  font-size: 1.22rem;
  color: #f5f8ff;
}

.blog-card h2 a,
.blog-card p,
.blog-card__meta,
.blog-card__footer,
.blog-feed__empty,
.blog-feed__empty h2,
.blog-feed__empty p {
  color: #f5f8ff;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  color: rgba(245, 248, 255, 0.78);
  font-size: 0.88rem;
}

.blog-card__taxonomy,
.blog-feature__taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.blog-card__taxonomy span {
  display: inline-flex;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f5f8ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.blog-feature__taxonomy span {
  display: inline-flex;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f5f8ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.blog-feed__empty {
  position: relative;
  margin: 1rem 0 0;
  padding: 1.2rem 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(124, 230, 242, 0.12);
  background:
    radial-gradient(circle at top right, rgba(84, 104, 255, 0.14), transparent 18rem),
    radial-gradient(circle at bottom left, rgba(124, 230, 242, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(18, 28, 43, 0.95), rgba(27, 41, 66, 0.92));
  color: rgba(245, 248, 255, 0.82);
  font-weight: 700;
}

.blog-single {
  background:
    radial-gradient(circle at top left, rgba(84, 104, 255, 0.12), transparent 24rem),
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.08), transparent 22rem),
    linear-gradient(180deg, #eef3fb 0%, #e8eef8 24%, #eef3fb 100%);
}

.blog-article {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.98));
  box-shadow:
    0 24px 72px rgba(12, 24, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-article__progress {
  position: sticky;
  top: 4.6rem;
  z-index: 8;
  width: 100%;
  height: 0.34rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(92, 108, 255, 0.08);
}

.blog-article__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c6cff, #8ba1ff);
  transition: width 0.12s linear;
}

.blog-article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 2rem 2rem 0 0;
  background: linear-gradient(90deg, #5468ff, rgba(124, 230, 242, 0.45));
}

.blog-article__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.45rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__header > div:first-child {
  min-width: 0;
}

.blog-article h1 {
  margin-bottom: 0.9rem;
  color: #0d1523;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.blog-article__lead {
  max-width: 52rem;
  margin: 0;
  color: #40526a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.blog-article__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(92, 108, 255, 0.12);
  border-radius: 999px;
  background: rgba(92, 108, 255, 0.05);
  color: #203157;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.blog-article__actions a:hover {
  border-color: rgba(92, 108, 255, 0.2);
  background: rgba(92, 108, 255, 0.09);
}

.blog-article__insight {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(242, 246, 252, 0.98));
}

.blog-article__visual {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
}

.blog-article__visual svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.3rem;
  box-shadow:
    0 18px 42px rgba(12, 24, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-article__visual figcaption {
  color: #617287;
  font-size: 0.86rem;
  line-height: 1.55;
}

.blog-article__insight-copy {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  min-width: 0;
}

.blog-article__eyebrow {
  margin: 0;
  color: #5c6cff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__insight-copy h2 {
  margin: 0;
  color: #0d1523;
  font-size: clamp(1.28rem, 1.7vw, 1.68rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.blog-article__insight-text {
  max-width: 62ch;
  margin: 0;
  color: #42546b;
}

.blog-article__insight-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-article__insight-points li {
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(92, 108, 255, 0.12);
  border-radius: 999px;
  background: rgba(92, 108, 255, 0.06);
  color: #263651;
  font-size: 0.92rem;
  font-weight: 700;
}

.blog-article__formula {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.blog-article__formula span {
  display: block;
  margin-bottom: 0.55rem;
  color: #5c6cff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__formula strong {
  display: block;
  color: #0f172a;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.blog-article__formula p {
  margin: 0.6rem 0 0;
  color: #5b6c83;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-article__retention {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 1.4rem 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(92, 108, 255, 0.14);
  border-radius: 1.3rem;
  background: linear-gradient(135deg, rgba(92, 108, 255, 0.08), rgba(139, 161, 255, 0.04));
}

.blog-article__retention-copy span {
  display: block;
  margin-bottom: 0.4rem;
  color: #5c6cff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__retention-copy strong {
  display: block;
  color: #0f172a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.blog-article__retention-copy p {
  margin: 0.45rem 0 0;
  color: #55667c;
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-article__retention ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-article__retention li {
  position: relative;
  margin-bottom: 0.42rem;
  padding-left: 1rem;
  color: #263651;
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-article__retention li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #5c6cff;
}

.blog-article__retention a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5c6cff, #8ba1ff);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.blog-article__deep-dive {
  margin-top: 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__deep-dive-head p {
  margin: 0 0 0.35rem;
  color: #5c6cff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__deep-dive-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.24rem, 1.8vw, 1.62rem);
  line-height: 1.16;
}

.blog-article__deep-dive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  margin-top: 1rem;
}

.blog-article__deep-dive-copy {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.68);
}

.blog-article__deep-dive-copy p {
  max-width: 72ch;
  margin: 0;
  color: #31445e;
}

.blog-article__deep-dive-copy p + p {
  margin-top: 0.9rem;
}

.blog-article__deep-dive-lead {
  color: #12213b;
  font-size: 1.01rem;
  font-weight: 700;
}

.blog-article__faq {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(92, 108, 255, 0.05), rgba(92, 108, 255, 0.02));
}

.blog-article__faq > strong {
  display: block;
  margin-bottom: 0.9rem;
  color: #0f172a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.blog-article__faq-item + .blog-article__faq-item {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__faq-item h3 {
  margin: 0 0 0.38rem;
  color: #16233f;
  font-size: 1rem;
  line-height: 1.38;
}

.blog-article__faq-item p {
  margin: 0;
  color: #56687f;
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-article__practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.blog-article__practice-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 249, 255, 0.88));
}

.blog-article__practice-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: #5c6cff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__practice-card p {
  margin: 0;
  color: #485b73;
  font-size: 0.95rem;
  line-height: 1.68;
}

.blog-article__body {
  color: #223247;
  background: transparent;
  font-size: 1.04rem;
  line-height: 1.82;
}

.blog-article__meta {
  margin-bottom: 0.95rem;
}

.blog-article__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(84, 104, 255, 0.12);
  border-radius: 999px;
  background: rgba(84, 104, 255, 0.05);
  color: #516177;
}

.blog-article__body > * + * {
  margin-top: 1.1rem;
}

.blog-article__body > h2:first-child {
  margin-top: 0;
}

.blog-article__body h2,
.blog-article__body h3,
.blog-article__body h4 {
  color: #0e1623;
  scroll-margin-top: 6rem;
  letter-spacing: -0.01em;
}

.blog-article__body h2 {
  margin-top: 2.3rem;
  margin-bottom: 0.7rem;
  padding-top: 0.15rem;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.blog-article__body h3 {
  margin-top: 1.7rem;
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.blog-article__body h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.blog-article__body a {
  color: #5468ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.blog-article__body p {
  max-width: 76ch;
  margin: 0;
}

.blog-article__body ul {
  max-width: 74ch;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.blog-article__body ol {
  max-width: 74ch;
  margin: 0;
  padding-left: 1.3rem;
}

.blog-article__body li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.blog-article__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5468ff, #5c6cff);
}

.blog-article__body blockquote {
  max-width: 70ch;
  margin: 1.55rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(84, 104, 255, 0.14);
  border-left: 4px solid #5468ff;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(84, 104, 255, 0.06), rgba(124, 230, 242, 0.04));
  color: #32445f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.blog-article__body strong {
  color: #0e1623;
}

.blog-article__body > :last-child {
  margin-bottom: 0;
}

.blog-article__body hr {
  margin: 1.8rem 0;
  border: 0;
  border-top: 1px solid rgba(28, 45, 79, 0.12);
}

.blog-article__body p:last-child a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(84, 104, 255, 0.12);
  border-radius: 999px;
  background: rgba(84, 104, 255, 0.05);
  text-decoration: none;
}

.blog-article__body code {
  padding: 0.16rem 0.42rem;
  border-radius: 0.48rem;
  background: rgba(84, 104, 255, 0.08);
  color: #203157;
  font-size: 0.94em;
}

.blog-article__toc {
  position: sticky;
  top: 6.5rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.06);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.blog-article__toc strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #0e1623;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.blog-article__toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-article__toc li + li {
  margin-top: 0.5rem;
}

.blog-article__toc a {
  color: #4b5f79;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.blog-article__toc a:hover {
  color: #5468ff;
}

.blog-article__back {
  margin-top: 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__next {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.blog-article__next-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.1rem;
  background: rgba(84, 104, 255, 0.04);
  text-decoration: none;
}

.blog-article__next-card span {
  color: #5468ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-article__next-card strong {
  color: #16233f;
  font-size: 0.98rem;
  line-height: 1.45;
}

.blog-article__next-card:hover {
  border-color: rgba(84, 104, 255, 0.18);
  background: rgba(84, 104, 255, 0.08);
}

.blog-article__related {
  margin-top: 1.65rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(28, 45, 79, 0.08);
}

.blog-article__related-head p {
  margin: 0 0 0.35rem;
  color: #5c6cff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__related-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.22rem, 1.8vw, 1.56rem);
}

.blog-article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.blog-article__related-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(28, 45, 79, 0.08);
  border-radius: 1.15rem;
  background: rgba(92, 108, 255, 0.04);
  text-decoration: none;
}

.blog-article__related-card span {
  color: #5c6cff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__related-card strong {
  color: #13213a;
  font-size: 1rem;
  line-height: 1.45;
}

.blog-article__related-card small {
  color: #617389;
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-article__related-card:hover {
  border-color: rgba(92, 108, 255, 0.18);
  background: rgba(92, 108, 255, 0.08);
}

.blog-article__back a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(84, 104, 255, 0.12);
  border-radius: 999px;
  background: rgba(84, 104, 255, 0.06);
  color: #203157;
}

.contact-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cta-band {
  padding-top: 0;
}

.cta-band__inner {
  padding: 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.9rem;
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.96));
  align-items: center;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.site-footer {
  padding: 2.4rem 0 2rem;
  border-top: 1px solid rgba(124, 230, 242, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.55), rgba(9, 14, 24, 0.92));
}

.site-footer__inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(160px, 0.6fr) minmax(240px, 0.95fr);
  align-items: start;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(124, 230, 242, 0.1);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(19, 29, 45, 0.94), rgba(11, 19, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 28px 64px rgba(2, 8, 18, 0.3);
}

.site-footer__brand,
.site-footer__nav,
.site-footer__contacts {
  min-width: 0;
}

.site-footer__identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #08121d;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(255, 107, 61, 0.22);
}

.site-footer__eyebrow {
  display: inline-flex;
  margin-bottom: 0.2rem;
  color: var(--accent-alt);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__brand strong,
.site-footer__nav strong,
.site-footer__contacts strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.site-footer__brand p {
  max-width: 28rem;
  margin: 0 0 0.8rem;
}

.site-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer__tags span {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(72, 123, 160, 0.22);
  color: var(--accent-alt);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer__nav {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.2rem;
}

.site-footer__nav p {
  margin: 0;
}

.site-footer__nav a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.25rem 0;
  color: var(--ink);
  font-weight: 700;
}

.site-footer__contact-list {
  display: grid;
  gap: 0.55rem;
}

.site-footer__contact-list a {
  display: grid;
  gap: 0.12rem;
  min-height: 2.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(124, 230, 242, 0.1);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.site-footer__contact-list a span {
  color: var(--ink);
}

.site-footer__contact-list a small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer__contact-list a:hover,
.site-footer__nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 230, 242, 0.24);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.95rem;
  padding: 0.95rem 0.2rem 0;
  border-top: 1px solid rgba(124, 230, 242, 0.08);
}

.site-footer__bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer__bottom-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-card p,
.course-card p,
.faq-item p,
.testimonial-card p,
.entry-content p,
.course-filter__hint,
.stats-banner__text,
.hero-metrics span {
  overflow-wrap: anywhere;
}

.entry-content .case-grid,
.entry-content .stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 1.65rem;
}

.page-id-10 .entry-content .case-section {
  margin: 1rem 0 1.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-id-10 .entry-content .case-section--students {
  background: transparent;
}

.page-id-10 .entry-content .case-section--companies {
  background: transparent;
}

.page-id-10 .entry-content .case-section__head {
  display: block;
  margin-bottom: 0.6rem;
}

.page-id-10 .entry-content .case-section__head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-id-10 .entry-content .case-section__head h2::before {
  display: none;
}

.page-id-10 .entry-content .case-section__eyebrow {
  display: none;
}

.page-id-10 .entry-content .case-section__count {
  display: none;
}

.page-id-10 .entry-content .case-section .case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.entry-content .case-card,
.entry-content .stack-card {
  padding: 1.15rem;
  border: 1px solid rgba(124, 230, 242, 0.12);
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 107, 61, 0.12), rgba(124, 230, 242, 0.07)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 22px 54px rgba(2, 8, 18, 0.28);
}

.entry-content .case-card h3,
.entry-content .stack-card h3 {
  margin-bottom: 0.55rem;
  max-width: 16ch;
}

.entry-content .case-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  isolation: isolate;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  padding: 0.68rem 0.7rem 0.66rem;
  border: 1px solid rgba(124, 230, 242, 0.1);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.14), transparent 15%),
    linear-gradient(180deg, rgba(40, 42, 59, 0.96), rgba(24, 39, 63, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(1, 10, 27, 0.24);
}

.entry-content .case-card:hover,
.entry-content .stack-card:hover,
.entry-content .fit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 230, 242, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 42px rgba(1, 10, 27, 0.34);
}

.entry-content .case-card::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: -0.55rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 230, 242, 0.16), transparent 68%);
  filter: blur(4px);
}

.entry-content .case-card::before {
  display: none;
}

.entry-content .case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1.15rem;
  padding: 0 0.72rem;
  border-radius: 0.78rem;
  background: linear-gradient(135deg, #ff9d6f, #a8f1f4);
  color: #08121d;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 18px rgba(255, 107, 61, 0.14);
  position: relative;
  z-index: 1;
}

.entry-content .case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0.45rem 0 0.52rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.entry-content .case-meta span,
.entry-content .stack-tags span {
  display: inline-flex;
  padding: 0.22rem 0.42rem;
  border-radius: 999px;
  background: rgba(72, 123, 160, 0.28);
  color: var(--accent-alt);
  font-size: 0.62rem;
  font-weight: 800;
}

.entry-content .stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.entry-content .case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.entry-content .case-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(29, 47, 76, 0.9);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.74rem;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.entry-content .case-button:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 230, 242, 0.18);
  background: rgba(38, 61, 94, 0.96);
}

.entry-content .case-button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #08121d;
}

.entry-content .case-button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.entry-content .fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin: 0.55rem 0 0.9rem;
}

.entry-content .fit-card {
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.14);
}

.entry-content .fit-card strong,
.entry-content .stack-card strong {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
}

.entry-content .page-intro {
  max-width: 52rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.page-id-10 .entry-content .page-intro {
  max-width: none;
  margin: 0 0 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(124, 230, 242, 0.12);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(25, 39, 63, 0.92), rgba(17, 29, 48, 0.96));
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.38;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(1, 10, 27, 0.22);
}

.page-id-10 .entry-content .outsourcing-lead {
  margin: 0 0 0.9rem;
  padding: 0.9rem 0.95rem 0.82rem;
  border: 1px solid rgba(124, 230, 242, 0.12);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(24, 38, 61, 0.96), rgba(15, 27, 45, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 30px rgba(1, 10, 27, 0.24);
}

.page-id-10 .entry-content .outsourcing-lead__label {
  display: inline-flex;
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-id-10 .entry-content .outsourcing-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0.9rem;
  align-items: start;
}

.page-id-10 .entry-content .outsourcing-lead__main,
.page-id-10 .entry-content .outsourcing-lead__body {
  min-width: 0;
}

.page-id-10 .entry-content .outsourcing-lead h1 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.95rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.page-id-10 .entry-content .outsourcing-lead__body {
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.page-id-10 .entry-content .outsourcing-lead__body p {
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 700;
  text-wrap: pretty;
}

.page-id-10 .entry-content .outsourcing-lead__body p + p {
  margin-top: 0.45rem;
}

.page-id-10 .entry-content h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(124, 230, 242, 0.12);
}

.page-id-10 .entry-content h2::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.22rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 6px 14px rgba(255, 107, 61, 0.18);
  flex: 0 0 auto;
}

.page-id-10 .entry-content .case-grid + h2 {
  margin-top: 1.25rem;
}

.page-id-10 .entry-content p,
.page-id-10 .entry-content li {
  font-size: 0.92rem;
  line-height: 1.42;
}

.page-id-10 .entry-content .case-card h3 {
  margin-top: 0;
  margin-bottom: 0.18rem;
  font-size: 0.88rem;
  line-height: 1.12;
  max-width: 22ch;
}

.page-id-10 .entry-content .stack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.7rem 0 1rem;
}

.page-id-10 .entry-content .stack-card {
  padding: 0.78rem 0.82rem;
  border-radius: 0.95rem;
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.14);
}

.page-id-10 .entry-content .case-card:nth-child(2n) .case-icon {
  background: linear-gradient(135deg, #ffa97e, #baf3f5);
}

.site-footer a {
  color: var(--accent-alt);
}

.not-found {
  min-height: calc(100vh - 10rem);
  display: grid;
  align-items: center;
}

.not-found__shell {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.12), transparent 18rem),
    radial-gradient(circle at left center, rgba(255, 107, 61, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(19, 30, 48, 0.94), rgba(14, 22, 35, 0.98));
  box-shadow: var(--shadow);
}

.not-found__code {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
}

.not-found__shell h1 {
  max-width: 12ch;
}

.not-found__shell .lead {
  max-width: 42rem;
  margin-bottom: 1.4rem;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #07111d;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.not-found__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.not-found__card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.not-found__card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 230, 242, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.not-found__label {
  color: var(--accent-alt);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.not-found__card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.15;
}

.not-found__card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header__inner,
  .hero__grid--wide,
  .split-layout,
  .cta-band__inner,
  .feature-grid,
  .feature-grid--four,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    overflow: hidden;
    padding: 0.7rem;
    border-radius: 1.15rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    background: rgba(12, 20, 33, 0.98);
    box-shadow: 0 22px 50px rgba(2, 8, 18, 0.34);
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-open .site-header__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .site-header__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-list {
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
  }

  .menu-list a {
    width: 100%;
    min-height: 2.7rem;
    justify-content: center;
  }

  .page-id-10 .entry-content .case-section .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-overview,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: start;
  }

  .not-found__grid {
    grid-template-columns: 1fr;
  }

  .blog-hub__hero,
  .blog-article__header,
  .blog-article__insight,
  .blog-article__deep-dive-grid,
  .blog-article__practice-grid,
  .blog-article__retention,
  .blog-feed {
    grid-template-columns: 1fr;
  }

  .blog-article__next-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__related-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__toc {
    position: static;
  }

  .blog-article {
    padding: 1.55rem;
  }

  .blog-article__insight {
    padding: 0.95rem;
  }

  .blog-article__retention {
    padding: 0.92rem;
  }

  .blog-article__deep-dive-copy,
  .blog-article__faq {
    padding: 0.95rem;
  }

  .blog-feature__cover {
    padding: 1.15rem;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero,
  .section {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics__primary {
    grid-column: auto;
  }

  .course-card__meta {
    flex-direction: column;
  }

  .entry-content .case-grid,
  .entry-content .stack-grid,
  .entry-content .fit-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .reviews-overview,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__visual figcaption {
    font-size: 0.82rem;
  }

  .blog-article__formula {
    padding: 0.92rem;
  }

  .blog-article__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-article__actions a,
  .blog-article__retention a {
    width: 100%;
    justify-content: center;
  }

  .page-id-10 .entry-content .case-section {
    padding: 0;
  }

  .page-id-10 .entry-content .case-section__head {
    display: block;
  }

  .page-id-10 .entry-content .case-section .case-grid {
    grid-template-columns: 1fr;
  }

  .entry-content .case-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .entry-content .case-button {
    width: 100%;
  }

  .page-id-10 .entry-content .case-section__head h2 {
    font-size: 1.5rem;
  }

  .page-id-10 .entry-content .case-card {
    padding: 0.72rem;
  }

  .page-id-10 .entry-content .page-intro {
    padding: 0.72rem 0.78rem;
    font-size: 0.96rem;
  }

  .page-id-10 .entry-content .outsourcing-lead {
    padding: 0.76rem;
  }

  .page-id-10 .entry-content .outsourcing-lead__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .page-id-10 .entry-content .outsourcing-lead h1 {
    font-size: 1.18rem;
  }

  .page-id-10 .entry-content .outsourcing-lead__body p {
    font-size: 0.88rem;
  }

  .not-found__shell {
    padding: 1.2rem;
  }

  .not-found__code {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 4.5rem;
  }

  .not-found__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .blog-article {
    padding: 1.15rem 1rem;
  }

  .blog-article__header {
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .blog-article h1 {
    font-size: 1.6rem;
  }

  .blog-article__lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .blog-article__meta span {
    min-height: 1.85rem;
    font-size: 0.78rem;
  }

  .blog-article__body {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .blog-article__body h2 {
    font-size: 1.28rem;
  }

  .blog-article__body h3 {
    font-size: 1.08rem;
  }

  .blog-article__body p:last-child {
    display: block;
    width: auto;
  }

  .blog-feature,
  .blog-card,
  .blog-hub__hero-note {
    padding: 1rem;
  }
}

/* Manus-like light design system overrides */
:root {
  --bg: #f3f5f8;
  --bg-soft: #eef1f5;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-light: #f8fafc;
  --ink: #121826;
  --ink-dark: #0f172a;
  --muted: #607086;
  --muted-dark: #435165;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #111827;
  --accent-soft: #344154;
  --accent-alt: #5c6cff;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(17, 24, 39, 0.04), transparent 18%),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f8 42%, #eef2f6 100%);
}

a {
  color: var(--ink-dark);
}

.site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.84);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.site-header,
.site-header .site-branding__text strong,
.site-header .site-branding__text small,
.site-header .menu-list a {
  color: var(--ink);
}

.site-branding__mark {
  box-shadow: 0 10px 24px rgba(92, 108, 255, 0.2);
}

.site-branding__text small {
  color: var(--muted);
}

.site-nav {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 26px rgba(15, 23, 42, 0.05);
}

.menu-list a {
  color: #56657a;
}

.menu-list a:hover,
.menu-list .current-menu-item a {
  color: #111827;
  background: #f3f5fb;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.site-header__toggle {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.site-header__toggle span {
  background: var(--ink-dark);
}

.eyebrow,
.info-chip span,
.course-card__badge,
.review-card__badge,
.review-card__eyebrow,
.site-footer__eyebrow,
.not-found__label {
  color: var(--accent-alt);
}

.hero-panel,
.feature-card,
.course-card,
.testimonial-card,
.faq-item,
.content-shell,
.info-chip,
.list-panel,
.review-note,
.review-card,
.stats-banner,
.course-filter,
.contact-links a,
.fit-card,
.stack-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.hero-panel::after {
  background: radial-gradient(circle, rgba(92, 108, 255, 0.22), transparent 70%);
}

.lead,
.section-heading p,
.feature-card p,
.course-card p,
.faq-item p,
.testimonial-card p,
.entry-content,
.site-footer p,
.review-card__text,
.review-note p,
.stats-banner__text,
.course-filter__hint,
.hero-metrics span,
.course-card__meta span,
.review-card__top time {
  color: var(--muted);
}

.hero-metrics strong,
.hero-metrics li,
.feature-card h3,
.course-card h3,
.testimonial-card h3,
.faq-item h3,
.review-card__author,
.review-card__author a,
.entry-content h2,
.entry-content h3,
.entry-content strong {
  color: var(--ink-dark);
}

.hero-metrics__primary {
  background: linear-gradient(135deg, rgba(92, 108, 255, 0.14), rgba(17, 24, 39, 0.05));
}

.info-chip,
.course-card__topics span,
.filter-chip,
.review-card__links a,
.contact-links a,
.site-footer__tags span,
.entry-content .stack-tags span,
.entry-content .case-meta span {
  border-color: rgba(15, 23, 42, 0.06);
  background: #f5f7fb;
  color: #4b5bf5;
}

.button--primary {
  background: linear-gradient(135deg, #111827, #344154);
  color: #ffffff;
}

.button--ghost,
.button--ghost-light {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-dark);
}

.button--ghost:hover,
.button--ghost-light:hover,
.review-card__links a:hover,
.contact-links a:hover,
.filter-chip:hover {
  border-color: rgba(92, 108, 255, 0.18);
  background: #f3f5fb;
}

.section--dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 238, 245, 0.5));
}

.section--contrast {
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(248, 250, 252, 0.72), rgba(238, 242, 247, 0.96));
}

.course-card--light,
.content-shell {
  background: rgba(255, 255, 255, 0.95);
}

.course-filter {
  background: rgba(255, 255, 255, 0.96);
}

.course-filter__search input {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: var(--ink-dark);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.filter-chip.is-active {
  border-color: rgba(92, 108, 255, 0.18);
  background: rgba(92, 108, 255, 0.08);
  color: #4756e6;
}

.stats-banner {
  background: linear-gradient(135deg, rgba(92, 108, 255, 0.14), rgba(17, 24, 39, 0.05));
}

.stats-banner__value {
  color: var(--ink-dark);
}

.blog-hub {
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.07), transparent 22rem),
    linear-gradient(180deg, #f7f9fc 0%, #f1f4f8 100%);
}

.blog-hub__hero h1,
.blog-hub__hero .lead {
  color: var(--ink-dark);
}

.blog-hub__hero-note,
.blog-feature,
.blog-card,
.blog-article,
.blog-feed__empty {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.blog-toolbar {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.blog-toolbar__search input {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: var(--ink-dark);
}

.blog-toolbar__search input::placeholder,
.blog-toolbar__label {
  color: var(--muted);
}

.blog-toolbar .filter-chip {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f6f8fb;
  color: var(--ink-dark);
}

.blog-hub__hero-note {
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
}

.blog-hub__hero-note span,
.blog-hub__hero-note p {
  color: var(--muted);
}

.blog-hub__hero-note strong {
  color: var(--ink-dark);
}

.blog-hub__hero-note::before,
.blog-feature::before,
.blog-card::before,
.blog-article::before {
  background: linear-gradient(90deg, #5c6cff, rgba(92, 108, 255, 0.12));
}

.blog-feature__cover,
.blog-card,
.blog-feed__empty {
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
}

.blog-feature__cover::after {
  background: radial-gradient(circle, rgba(92, 108, 255, 0.12), transparent 60%);
}

.blog-feature h2 a,
.blog-feature p,
.blog-feature__meta,
.blog-feature__link,
.blog-feature__taxonomy span,
.blog-card h2,
.blog-card h2 a,
.blog-card p,
.blog-card__meta,
.blog-card__footer,
.blog-feed__empty,
.blog-feed__empty h2,
.blog-feed__empty p {
  color: var(--ink-dark);
}

.blog-feature p,
.blog-card p,
.blog-article__lead,
.blog-article .entry-content,
.blog-hub__hero-note p,
.blog-card__meta,
.blog-card__footer {
  color: var(--muted);
}

.blog-feature__link,
.blog-card__footer a,
.blog-article__back a {
  background: #111827;
  color: #ffffff;
}

.blog-card__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  color: #ffffff;
}

.blog-feature__link,
.blog-card__footer a {
  color: #ffffff !important;
}

.blog-card__taxonomy span,
.blog-feature__taxonomy span,
.blog-article__meta span {
  border-color: rgba(15, 23, 42, 0.06);
  background: #f4f6fb;
  color: #4d5de9;
}

.blog-single {
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

.blog-article__body,
.blog-article__body p,
.blog-article__body li,
.blog-article__toc a {
  color: #435165;
}

.blog-article__body h2,
.blog-article__body h3,
.blog-article__body h4,
.blog-article__toc strong,
.blog-article h1,
.blog-article__body strong {
  color: var(--ink-dark);
}

.blog-article__toc {
  border-color: rgba(15, 23, 42, 0.06);
  background: rgba(245, 247, 251, 0.92);
}

.reviews-overview,
.review-grid {
  gap: 1rem;
}

.review-card__links a {
  color: var(--ink-dark);
}

.review-card__author a:hover,
.site-footer a:hover,
.site-footer__bottom-links a:hover,
.blog-article__body a:hover,
.blog-article__toc a:hover,
.feature-card a:hover,
.course-card a:hover {
  color: #4756e6;
}

.page-id-10 .entry-content .page-intro,
.page-id-10 .entry-content .outsourcing-lead,
.entry-content .case-card,
.entry-content .stack-card,
.entry-content .fit-card {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.page-id-10 .entry-content .page-intro,
.page-id-10 .entry-content .outsourcing-lead h1,
.page-id-10 .entry-content .outsourcing-lead__body p,
.entry-content .case-card h3,
.entry-content .stack-card h3,
.entry-content .fit-card strong {
  color: var(--ink-dark);
}

.page-id-10 .entry-content .outsourcing-lead__label {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f4f6fb;
  color: #4756e6;
}

.page-id-10 .entry-content .outsourcing-lead__body,
.entry-content .case-button,
.entry-content .case-button--ghost {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: var(--ink-dark);
  box-shadow: none;
}

.entry-content .case-button--primary {
  background: #111827;
  color: #ffffff;
}

.page-id-10 .entry-content h2 {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.page-id-10 .entry-content h2::before,
.list-panel p::before,
.blog-article__body ul li::before {
  background: linear-gradient(135deg, #5c6cff, #8b96ff);
  box-shadow: none;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
}

.site-footer__inner {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.site-footer__mark {
  background: linear-gradient(135deg, #111827, #5c6cff);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(92, 108, 255, 0.18);
}

.site-footer__brand strong,
.site-footer__nav strong,
.site-footer__contacts strong,
.site-footer__contact-list a span,
.site-footer__nav a,
.site-footer__bottom-links a,
.site-footer__bottom p {
  color: var(--ink-dark);
}

.site-footer__brand p,
.site-footer__contact-list a small {
  color: var(--muted);
}

.site-footer__contact-list a {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.site-footer__bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.site-footer a {
  color: var(--ink-dark);
}

.not-found__shell,
.not-found__card {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 108, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.not-found__code {
  color: rgba(17, 24, 39, 0.05);
}

.not-found__shell h1,
.not-found__card strong {
  color: var(--ink-dark);
}

.not-found__card span:last-child {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  }
}

html.theme-dark {
  --bg: #071625;
  --bg-soft: #0d2136;
  --surface: linear-gradient(180deg, rgba(14, 33, 54, 0.96), rgba(10, 24, 40, 0.98));
  --surface-strong: #14304f;
  --surface-light: #102540;
  --ink: #f6fbff;
  --ink-dark: #f6fbff;
  --muted: #a9bfd4;
  --muted-dark: #d7e6f6;
  --line: rgba(109, 171, 224, 0.18);
  --accent: #ffb454;
  --accent-soft: #ffd27a;
  --accent-alt: #6ed7ff;
  --shadow: 0 26px 90px rgba(3, 11, 22, 0.5);
}

html.theme-dark body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 180, 84, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(110, 215, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(110, 215, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #071625 0%, #0a1d31 45%, #102742 100%);
}

html.theme-dark a {
  color: inherit;
}

html.theme-dark .site-header {
  border-bottom-color: rgba(110, 215, 255, 0.12);
  background: rgba(7, 22, 37, 0.86);
  box-shadow: 0 16px 42px rgba(2, 10, 20, 0.28);
}

html.theme-dark .site-nav,
html.theme-dark .theme-toggle,
html.theme-dark .site-header__toggle {
  border-color: rgba(110, 215, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(2, 10, 20, 0.18);
}

html.theme-dark .theme-toggle,
html.theme-dark .site-header__toggle span,
html.theme-dark .menu-list a,
html.theme-dark .site-header .site-branding__text strong,
html.theme-dark .site-header .site-branding__text small {
  color: var(--ink);
}

html.theme-dark .theme-toggle__icon {
  background: rgba(110, 215, 255, 0.12);
  color: #082032;
}

html.theme-dark .menu-list a {
  color: rgba(238, 244, 255, 0.84);
}

html.theme-dark .menu-list a:hover,
html.theme-dark .menu-list .current-menu-item a {
  color: #08131f;
  background: linear-gradient(135deg, rgba(255, 180, 84, 0.98), rgba(255, 210, 122, 0.98));
}

html.theme-dark .hero-panel,
html.theme-dark .feature-card,
html.theme-dark .course-card,
html.theme-dark .testimonial-card,
html.theme-dark .faq-item,
html.theme-dark .content-shell,
html.theme-dark .info-chip,
html.theme-dark .list-panel,
html.theme-dark .review-note,
html.theme-dark .review-card,
html.theme-dark .stats-banner,
html.theme-dark .course-filter,
html.theme-dark .contact-links a,
html.theme-dark .fit-card,
html.theme-dark .stack-card,
html.theme-dark .blog-hub__hero-note,
html.theme-dark .blog-feature,
html.theme-dark .blog-card,
html.theme-dark .blog-article,
html.theme-dark .blog-feed__empty,
html.theme-dark .site-footer__inner,
html.theme-dark .not-found__shell,
html.theme-dark .not-found__card {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

html.theme-dark .section--dark {
  background: linear-gradient(180deg, rgba(7, 22, 37, 0.52), rgba(7, 22, 37, 0.12));
}

html.theme-dark .section--contrast {
  background:
    linear-gradient(135deg, rgba(255, 180, 84, 0.12), rgba(110, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
}

html.theme-dark .button--primary,
html.theme-dark .blog-feature__link,
html.theme-dark .blog-card__footer a,
html.theme-dark .blog-article__back a,
html.theme-dark .entry-content .case-button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #0a1623;
  box-shadow: 0 16px 34px rgba(255, 180, 84, 0.18);
}

html.theme-dark .button--ghost,
html.theme-dark .button--ghost-light,
html.theme-dark .filter-chip,
html.theme-dark .review-card__links a,
html.theme-dark .contact-links a,
html.theme-dark .entry-content .case-button,
html.theme-dark .entry-content .case-button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

html.theme-dark .button--ghost:hover,
html.theme-dark .button--ghost-light:hover,
html.theme-dark .review-card__links a:hover,
html.theme-dark .contact-links a:hover,
html.theme-dark .filter-chip:hover,
html.theme-dark .entry-content .case-button:hover {
  border-color: rgba(110, 215, 255, 0.24);
  background: rgba(110, 215, 255, 0.08);
}

html.theme-dark .hero-metrics__primary,
html.theme-dark .stats-banner {
  background: linear-gradient(135deg, rgba(255, 180, 84, 0.18), rgba(110, 215, 255, 0.16));
}

html.theme-dark .course-filter__search input {
  border-color: var(--line);
  background: rgba(8, 15, 24, 0.72);
  color: var(--ink);
  box-shadow: none;
}

html.theme-dark .info-chip,
html.theme-dark .course-card__topics span,
html.theme-dark .filter-chip.is-active,
html.theme-dark .site-footer__tags span,
html.theme-dark .entry-content .stack-tags span,
html.theme-dark .entry-content .case-meta span,
html.theme-dark .blog-card__taxonomy span,
html.theme-dark .blog-feature__taxonomy span,
html.theme-dark .blog-article__meta span,
html.theme-dark .review-card__badge,
html.theme-dark .review-card__eyebrow,
html.theme-dark .course-card__badge {
  border-color: transparent;
  background: rgba(110, 215, 255, 0.1);
  color: var(--accent-alt);
}

html.theme-dark .blog-hub {
  background: transparent;
}

html.theme-dark .blog-toolbar {
  border-color: rgba(110, 215, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(110, 215, 255, 0.12), transparent 18rem),
    radial-gradient(circle at top left, rgba(255, 180, 84, 0.1), transparent 14rem),
    linear-gradient(135deg, rgba(14, 33, 54, 0.96), rgba(10, 24, 40, 0.98));
  box-shadow: var(--shadow);
}

html.theme-dark .blog-toolbar__search input {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

html.theme-dark .blog-toolbar__search input::placeholder,
html.theme-dark .blog-toolbar__label {
  color: rgba(245, 248, 255, 0.72);
}

html.theme-dark .blog-toolbar .filter-chip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.82);
}

html.theme-dark .blog-hub__hero h1,
html.theme-dark .blog-hub__hero .lead,
html.theme-dark .blog-feature h2 a,
html.theme-dark .blog-feature p,
html.theme-dark .blog-feature__meta,
html.theme-dark .blog-feature__taxonomy span,
html.theme-dark .blog-card h2,
html.theme-dark .blog-card h2 a,
html.theme-dark .blog-card p,
html.theme-dark .blog-card__meta,
html.theme-dark .blog-card__footer,
html.theme-dark .blog-feed__empty,
html.theme-dark .blog-feed__empty h2,
html.theme-dark .blog-feed__empty p,
html.theme-dark .blog-article h1,
html.theme-dark .blog-article__body,
html.theme-dark .blog-article__body p,
html.theme-dark .blog-article__body li,
html.theme-dark .blog-article__body h2,
html.theme-dark .blog-article__body h3,
html.theme-dark .blog-article__body h4,
html.theme-dark .blog-article__body strong,
html.theme-dark .blog-article__insight-copy h2,
html.theme-dark .blog-article__retention-copy strong,
html.theme-dark .blog-article__related-head h2,
html.theme-dark .blog-article__related-card strong,
html.theme-dark .blog-article__deep-dive-head h2,
html.theme-dark .blog-article__faq > strong,
html.theme-dark .blog-article__faq-item h3,
html.theme-dark .blog-article__deep-dive-lead,
html.theme-dark .blog-article__formula strong,
html.theme-dark .blog-article__toc strong,
html.theme-dark .blog-article__toc a,
html.theme-dark .not-found__shell h1,
html.theme-dark .not-found__card strong,
html.theme-dark .site-footer__brand strong,
html.theme-dark .site-footer__nav strong,
html.theme-dark .site-footer__contacts strong,
html.theme-dark .site-footer__contact-list a span,
html.theme-dark .site-footer__nav a,
html.theme-dark .site-footer__bottom-links a,
html.theme-dark .site-footer__bottom p,
html.theme-dark .page-id-10 .entry-content .page-intro,
html.theme-dark .page-id-10 .entry-content .outsourcing-lead h1,
html.theme-dark .page-id-10 .entry-content .outsourcing-lead__body p,
html.theme-dark .entry-content .case-card h3,
html.theme-dark .entry-content .stack-card h3,
html.theme-dark .entry-content .fit-card strong {
  color: var(--ink);
}

html.theme-dark .blog-feature__cover,
html.theme-dark .blog-card,
html.theme-dark .blog-feed__empty,
html.theme-dark .blog-article__insight,
html.theme-dark .blog-article__retention,
html.theme-dark .blog-article__deep-dive-copy,
html.theme-dark .blog-article__faq,
html.theme-dark .blog-article__practice-card,
html.theme-dark .blog-article__related-card,
html.theme-dark .page-id-10 .entry-content .page-intro,
html.theme-dark .page-id-10 .entry-content .outsourcing-lead,
html.theme-dark .entry-content .case-card,
html.theme-dark .entry-content .stack-card,
html.theme-dark .entry-content .fit-card {
  background:
    radial-gradient(circle at top right, rgba(124, 230, 242, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(25, 39, 63, 0.96), rgba(17, 29, 48, 0.98));
}

html.theme-dark .blog-feature__link,
html.theme-dark .blog-card__footer a,
html.theme-dark .blog-article__back a {
  color: #08121d;
}

html.theme-dark .blog-article__next {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .blog-article__next-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

html.theme-dark .blog-article__next-card strong {
  color: #eef2ff;
}

html.theme-dark .blog-article__next-card:hover {
  border-color: rgba(92, 108, 255, 0.24);
  background: rgba(92, 108, 255, 0.12);
}

html.theme-dark .blog-article__toc {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

html.theme-dark .blog-article__visual figcaption,
html.theme-dark .blog-article__insight-text,
html.theme-dark .blog-article__retention-copy p,
html.theme-dark .blog-article__related-card small,
html.theme-dark .blog-article__deep-dive-copy p,
html.theme-dark .blog-article__faq-item p,
html.theme-dark .blog-article__practice-card p,
html.theme-dark .blog-article__formula p {
  color: rgba(235, 241, 255, 0.72);
}

html.theme-dark .blog-article__eyebrow,
html.theme-dark .blog-article__related-head p,
html.theme-dark .blog-article__deep-dive-head p,
html.theme-dark .blog-article__practice-card span,
html.theme-dark .blog-article__formula span {
  color: var(--accent-alt);
}

html.theme-dark .blog-article__insight-points li,
html.theme-dark .blog-article__retention li,
html.theme-dark .blog-article__formula,
html.theme-dark .blog-article__actions a {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

html.theme-dark .blog-article__progress {
  background: rgba(255, 255, 255, 0.08);
}

html.theme-dark .blog-article__progress span,
html.theme-dark .blog-article__retention a {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

html.theme-dark .blog-article__retention a {
  color: #08121d;
}

html.theme-dark .site-footer {
  border-top-color: rgba(124, 230, 242, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.55), rgba(9, 14, 24, 0.92));
}

html.theme-dark .cta-band__inner {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 107, 61, 0.18), rgba(124, 230, 242, 0.14)),
    rgba(15, 25, 39, 0.92);
  box-shadow: var(--shadow);
}

html.theme-dark .site-footer__contact-list a {
  border-color: rgba(124, 230, 242, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

html.theme-dark .site-footer__brand p,
html.theme-dark .site-footer__contact-list a small,
html.theme-dark .review-card__text,
html.theme-dark .review-note p,
html.theme-dark .lead,
html.theme-dark .section-heading p,
html.theme-dark .feature-card p,
html.theme-dark .course-card p,
html.theme-dark .faq-item p,
html.theme-dark .testimonial-card p,
html.theme-dark .entry-content,
html.theme-dark .site-footer p,
html.theme-dark .blog-article__lead,
html.theme-dark .blog-hub__hero-note p,
html.theme-dark .blog-card__meta,
html.theme-dark .blog-card__footer,
html.theme-dark .review-card__top time,
html.theme-dark .stats-banner__text,
html.theme-dark .course-filter__hint,
html.theme-dark .hero-metrics span,
html.theme-dark .course-card__meta span,
html.theme-dark .not-found__card span:last-child {
  color: var(--muted);
}

html.theme-dark .not-found__code {
  color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  .site-header__controls {
    justify-content: flex-end;
  }

  .site-header__toggle {
    order: 1;
  }

  .site-header__cta {
    order: 2;
    padding-inline: 0.82rem;
    font-size: 0.82rem;
  }

  .theme-toggle {
    order: 3;
  }

  .theme-toggle__label {
    display: none;
  }

  .theme-toggle {
    min-width: 2.9rem;
    padding: 0.55rem;
  }

  html.theme-dark .site-nav {
    background: rgba(12, 20, 33, 0.98);
    box-shadow: 0 22px 50px rgba(2, 8, 18, 0.34);
  }
}

/* Final contrast normalization */
html:not(.theme-dark) :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .info-chip,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .contact-links a,
  .fit-card,
  .stack-card,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(h1, h2, h3, h4, strong, a, li, p, small, time, label) {
  color: inherit;
}

html:not(.theme-dark) .blog-feature__link,
html:not(.theme-dark) .blog-card__footer a,
html:not(.theme-dark) .button--primary,
html:not(.theme-dark) .entry-content .case-button--primary {
  color: #ffffff;
}

html:not(.theme-dark) .blog-article__back a,
html:not(.theme-dark) .review-card__links a,
html:not(.theme-dark) .entry-content .case-button,
html:not(.theme-dark) .entry-content .case-button--ghost,
html:not(.theme-dark) .button--ghost,
html:not(.theme-dark) .button--ghost-light {
  color: var(--ink-dark);
}

html:not(.theme-dark) .blog-article__back a {
  color: #ffffff;
}

html:not(.theme-dark) :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .info-chip,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .contact-links a,
  .fit-card,
  .stack-card,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(h1, h2, h3, h4, strong) {
  color: var(--ink-dark);
}

html:not(.theme-dark) :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(p, li, small, time, .lead, .entry-content, .course-card__meta span, .stats-banner__text, .course-filter__hint, .review-card__text, .review-note p) {
  color: var(--muted);
}

html:not(.theme-dark) :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .review-card,
  .stats-banner,
  .course-filter,
  .blog-feature,
  .blog-card,
  .blog-article,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card
) a:not(.button):not(.blog-feature__link):not(.case-button):not(.review-card__links a):not(.site-footer__contact-list a) {
  color: var(--ink-dark);
}

html.theme-dark :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .info-chip,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .contact-links a,
  .fit-card,
  .stack-card,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(h1, h2, h3, h4, strong, a, li, p, small, time, label) {
  color: inherit;
}

html.theme-dark .blog-feature__link,
html.theme-dark .blog-card__footer a,
html.theme-dark .button--primary,
html.theme-dark .entry-content .case-button--primary {
  color: #08121d;
}

html.theme-dark .blog-article__back a,
html.theme-dark .review-card__links a,
html.theme-dark .entry-content .case-button,
html.theme-dark .entry-content .case-button--ghost,
html.theme-dark .button--ghost,
html.theme-dark .button--ghost-light {
  color: var(--ink);
}

html.theme-dark :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .info-chip,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .contact-links a,
  .fit-card,
  .stack-card,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(h1, h2, h3, h4, strong) {
  color: var(--ink);
}

html.theme-dark :is(
  .hero-panel,
  .feature-card,
  .course-card,
  .testimonial-card,
  .faq-item,
  .content-shell,
  .list-panel,
  .review-note,
  .review-card,
  .stats-banner,
  .course-filter,
  .blog-hub__hero-note,
  .blog-feature,
  .blog-card,
  .blog-article,
  .blog-feed__empty,
  .site-footer,
  .site-footer__inner,
  .not-found__shell,
  .not-found__card,
  .page-id-10 .entry-content .page-intro,
  .page-id-10 .entry-content .outsourcing-lead,
  .page-id-10 .entry-content .outsourcing-lead__body,
  .entry-content .case-card,
  .entry-content .stack-card,
  .entry-content .fit-card,
  .section--dark,
  .section--contrast
) :is(p, li, small, time, .lead, .entry-content, .course-card__meta span, .stats-banner__text, .course-filter__hint, .review-card__text, .review-note p) {
  color: var(--muted);
}

html.theme-dark .hero-media__portrait,
html.theme-dark .hero-media__card,
html.theme-dark .about-visual__item {
  background: rgba(15, 23, 42, 0.9);
}

@media (max-width: 960px) {
  .hero-media,
  .about-visual {
    grid-template-columns: 1fr;
  }

  .hero-media__portrait {
    aspect-ratio: 1 / 1;
    max-width: 15rem;
  }
}

@media (max-width: 720px) {
  .hero-media__grid,
  .about-visual__gallery {
    grid-template-columns: 1fr;
  }

  .hero-media__card--wide,
  .about-visual__item--large {
    grid-column: auto;
  }

  .hero-media__portrait {
    max-width: none;
  }
}
