:root {
  --blog-shell: rgba(9, 21, 36, 0.86);
  --blog-card: rgba(255, 255, 255, 0.03);
  --blog-card-strong: rgba(255, 255, 255, 0.06);
  --blog-line: rgba(184, 207, 235, 0.14);
  --blog-blue: #8ec8ff;
  --blog-cyan: #74ead7;
  --blog-amber: #ffbf72;
  --blog-rose: #ff8f98;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  margin-right: 12px;
}

.lang-switcher select {
  appearance: none;
  min-height: 42px;
  padding: 10px 34px 10px 14px !important;
  border: 1px solid rgba(184, 207, 235, 0.14) !important;
  border-radius: 12px !important;
  color: #d7eaff !important;
  background: rgba(255, 255, 255, 0.04) !important;
  font: inherit;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.1;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switcher select:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(125, 183, 246, 0.25) !important;
}

.lang-switcher select:focus-visible {
  outline: 3px solid rgba(118, 185, 255, 0.75);
  outline-offset: 3px;
}

.lang-switcher svg {
  right: 12px !important;
  width: 10px;
  height: 10px;
  fill: #d7eaff !important;
  transition: fill 0.2s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(184, 207, 235, 0.14);
  border-radius: 12px;
  color: #d7eaff;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(125, 183, 246, 0.25);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(118, 185, 255, 0.75);
  outline-offset: 3px;
}

.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  color: var(--blog-cyan);
  font-size: 0.95rem;
  line-height: 1;
}

.blog-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(118, 185, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 14%, rgba(116, 234, 215, 0.12), transparent 20rem),
    radial-gradient(circle at 70% 86%, rgba(255, 191, 114, 0.08), transparent 22rem),
    linear-gradient(180deg, #06101c 0%, #071522 42%, #081320 100%);
}

.blog-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(133, 183, 225, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 183, 225, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.blog-main {
  padding: 148px 0 110px;
}

.blog-hero {
  position: relative;
  padding: 18px 0 56px;
}

.blog-hero::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 42px;
  background: linear-gradient(90deg, rgba(98, 231, 219, 0.65), rgba(184, 207, 235, 0.12), transparent);
}

.blog-label,
.blog-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-label::before,
.blog-crumbs::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.blog-hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 670;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.blog-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--blog-blue), var(--blog-cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.blog-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #a8b6c8;
  font-size: 1.06rem;
  line-height: 1.78;
}

.blog-meta-row,
.blog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.blog-chip,
.blog-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #d7e6f4;
  font-size: 0.78rem;
}

.blog-meta-pill {
  color: #94a7bd;
}

.blog-meta-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(98, 231, 219, 0.45);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.blog-card {
  position: relative;
  grid-column: span 4;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 234, 215, 0.08), transparent 32%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.blog-card[data-card-link] {
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118, 185, 255, 0.3);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.blog-card[data-card-link]:focus-visible {
  outline: 3px solid rgba(118, 185, 255, 0.75);
  outline-offset: 4px;
  border-color: rgba(118, 185, 255, 0.34);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

.blog-card::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -96px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 169, 229, 0.12), transparent 70%);
}

.blog-card.featured {
  grid-column: span 6;
  min-height: 320px;
}

.blog-card .eyebrow {
  margin: 0 0 20px;
  color: var(--blog-cyan);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.blog-card h3 {
  font-size: 1.3rem;
}

.blog-card p {
  margin: 16px 0 0;
  color: #92a6bd;
  line-height: 1.72;
  font-size: 0.95rem;
}

.blog-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.blog-card .card-footer span {
  color: #6e839a;
  font-size: 0.76rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-link span {
  color: var(--blog-cyan);
}

.blog-story-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 42px;
}

.blog-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}

.blog-rail-card,
.blog-panel,
.blog-note,
.blog-highlight,
.blog-related,
.blog-download-panel {
  border: 1px solid var(--blog-line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.blog-rail-card,
.blog-download-panel {
  padding: 22px;
}

.blog-rail-card strong {
  display: block;
  margin-bottom: 14px;
  color: #d6e8ff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-rail-card ul,
.blog-checklist,
.blog-takeaways ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-rail-card li,
.blog-checklist li,
.blog-takeaways li {
  position: relative;
  padding-left: 18px;
  color: #98acc2;
  font-size: 0.88rem;
  line-height: 1.65;
}

.blog-rail-card li + li,
.blog-checklist li + li,
.blog-takeaways li + li {
  margin-top: 10px;
}

.blog-rail-card li::before,
.blog-checklist li::before,
.blog-takeaways li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blog-cyan);
  box-shadow: 0 0 12px rgba(98, 231, 219, 0.5);
}

.blog-download-panel h2,
.blog-related h2 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.blog-download-panel p,
.blog-related p {
  margin: 10px 0 0;
  color: #8ea2b9;
  line-height: 1.68;
}

.blog-prose {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.blog-panel,
.blog-highlight,
.blog-related {
  padding: 28px;
}

.blog-panel h2,
.blog-highlight h2,
.blog-related h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-panel h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.blog-panel p,
.blog-highlight p,
.blog-related p,
.blog-note p {
  margin: 0;
  color: #a3b3c8;
  line-height: 1.8;
}

.blog-panel ul,
.blog-panel ol {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #a3b3c8;
  line-height: 1.8;
}

.blog-panel li + li,
.blog-panel ol li + li {
  margin-top: 8px;
}

.blog-panel p + p,
.blog-highlight p + p,
.blog-note p + p {
  margin-top: 14px;
}

.blog-signal-grid,
.blog-related-grid,
.blog-metric-strip {
  display: grid;
  gap: 14px;
}

.blog-signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.blog-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.blog-metric-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.blog-signal,
.blog-related-card,
.blog-metric {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(184, 207, 235, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.024);
}

.blog-signal b,
.blog-related-card b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-cyan);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-signal h3,
.blog-related-card h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.blog-signal p,
.blog-related-card p {
  color: #8ca1b8;
  line-height: 1.68;
  font-size: 0.88rem;
}

.blog-metric strong {
  display: block;
  color: #d7ecff;
  font-size: 1.55rem;
  font-weight: 660;
}

.blog-metric span {
  display: block;
  margin-top: 8px;
  color: #7f92a8;
  font-size: 0.78rem;
  line-height: 1.55;
}

.blog-note {
  padding: 20px 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 114, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.blog-note strong {
  display: block;
  margin-bottom: 8px;
  color: #f0f6ff;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-takeaways h2 {
  margin-bottom: 16px;
}

.blog-related-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blog-blue);
  font-size: 0.84rem;
  font-weight: 700;
}

.blog-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.blog-summary-strip div {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.blog-summary-strip strong {
  display: block;
  color: #d8ecff;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-summary-strip p {
  margin: 14px 0 0;
  color: #8398ae;
  line-height: 1.62;
  font-size: 0.84rem;
}

.blog-example,
.blog-compare-table,
.blog-faq,
.blog-number-grid {
  margin-top: 18px;
}

.blog-example {
  padding: 22px;
  border: 1px solid rgba(184, 207, 235, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 114, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.02);
}

.blog-example strong,
.blog-faq strong {
  display: block;
  margin-bottom: 10px;
  color: #e7f2ff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-example p + p {
  margin-top: 12px;
}

.blog-compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(184, 207, 235, 0.12);
  border-radius: 16px;
}

.blog-table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 18px;
  overflow-x: auto;
  border-radius: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(116, 234, 215, 0.5) rgba(255, 255, 255, 0.04);
}

.blog-table-scroll:focus-visible {
  outline: 3px solid rgba(118, 185, 255, 0.7);
  outline-offset: 3px;
}

.blog-table-scroll .blog-compare-table {
  min-width: 620px;
  margin-top: 0;
}

.blog-chart {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 20px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid rgba(184, 207, 235, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.blog-chart-svg {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
  margin: 0 auto;
}

.blog-chart-svg text {
  fill: #b9c9dc;
}

.blog-chart-svg line[stroke="#333"] {
  stroke: #7890aa;
}

.blog-panel a:not(.blog-button),
.blog-faq a {
  color: var(--blog-blue);
  text-decoration: underline;
  text-decoration-color: rgba(142, 200, 255, 0.38);
  text-underline-offset: 0.18em;
}

.blog-panel a:not(.blog-button):hover,
.blog-faq a:hover {
  color: var(--blog-cyan);
}

.blog-compare-table th,
.blog-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(184, 207, 235, 0.09);
  text-align: left;
  vertical-align: top;
}

.blog-compare-table th {
  color: #dcecff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.blog-compare-table td {
  color: #9cb0c6;
  line-height: 1.65;
}

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

.blog-number {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(184, 207, 235, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.blog-number b {
  display: block;
  color: #ebf5ff;
  font-size: 1.4rem;
  font-weight: 680;
}

.blog-number span {
  display: block;
  margin-top: 8px;
  color: #8095ac;
  font-size: 0.8rem;
  line-height: 1.55;
}

.blog-faq {
  padding: 22px;
  border: 1px solid rgba(184, 207, 235, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.blog-faq p + strong {
  margin-top: 16px;
}

.blog-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(125, 183, 246, 0.25);
  border-radius: 12px;
  color: #d7eaff;
  background: rgba(86, 151, 222, 0.1);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.blog-button:hover {
  transform: translateY(-1px);
  background: rgba(86, 151, 222, 0.18);
}

.blog-button.secondary {
  border-color: rgba(98, 231, 219, 0.18);
  background: rgba(98, 231, 219, 0.06);
}

.blog-feature-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 46px;
}

.blog-feature-panel {
  padding: 30px;
  border: 1px solid var(--blog-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(118, 185, 255, 0.12), transparent 35%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.blog-feature-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.blog-feature-panel p {
  margin: 18px 0 0;
  color: #92a7bd;
  line-height: 1.75;
}

.blog-topic-list {
  display: grid;
  gap: 12px;
}

.blog-topic {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.024);
}

.blog-topic-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blog-cyan);
  background: rgba(116, 234, 215, 0.1);
  font-size: 0.8rem;
  font-weight: 760;
}

.blog-topic strong {
  display: block;
  font-size: 0.95rem;
}

.blog-topic span {
  display: block;
  margin-top: 4px;
  color: #8095ac;
  font-size: 0.76rem;
  line-height: 1.45;
}

html[data-theme="light"] .blog-page {
  color: #102338;
  background:
    radial-gradient(circle at 8% 10%, rgba(118, 185, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 14%, rgba(64, 210, 193, 0.12), transparent 20rem),
    radial-gradient(circle at 70% 86%, rgba(255, 191, 114, 0.12), transparent 22rem),
    linear-gradient(180deg, #f4f8fc 0%, #edf4fb 42%, #e9f1f8 100%);
}

html[data-theme="light"] .blog-page::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(98, 132, 166, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 132, 166, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] .inner-header,
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(244, 248, 252, 0.88);
  border-bottom-color: rgba(104, 133, 164, 0.18);
}

html[data-theme="light"] .inner-nav {
  color: #5a7088;
}

html[data-theme="light"] .inner-nav a:hover,
html[data-theme="light"] .inner-nav a[aria-current="page"] {
  color: #102338;
}

html[data-theme="light"] .brand-mark {
  border-color: rgba(114, 154, 194, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 10px 24px rgba(154, 178, 205, 0.16);
}

html[data-theme="light"] .lang-switcher select {
  border-color: rgba(104, 133, 164, 0.18) !important;
  color: #183049 !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="light"] .lang-switcher select:hover {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(86, 151, 222, 0.28) !important;
}

html[data-theme="light"] .lang-switcher svg {
  fill: #183049 !important;
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(104, 133, 164, 0.18);
  color: #183049;
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(86, 151, 222, 0.28);
}

html[data-theme="light"] .blog-hero::after {
  background: linear-gradient(90deg, rgba(35, 173, 163, 0.55), rgba(76, 109, 143, 0.14), transparent);
}

html[data-theme="light"] .blog-label,
html[data-theme="light"] .blog-crumbs,
html[data-theme="light"] .blog-signal b,
html[data-theme="light"] .blog-related-card b,
html[data-theme="light"] .blog-topic-badge {
  color: #0b766f;
}

html[data-theme="light"] .blog-link,
html[data-theme="light"] .blog-panel a:not(.blog-button),
html[data-theme="light"] .blog-faq a {
  color: #145d91;
  text-decoration-color: rgba(20, 93, 145, 0.36);
}

html[data-theme="light"] .blog-link span,
html[data-theme="light"] .blog-panel a:not(.blog-button):hover,
html[data-theme="light"] .blog-faq a:hover {
  color: #0b766f;
}

html[data-theme="light"] .blog-hero h1,
html[data-theme="light"] .blog-card h2,
html[data-theme="light"] .blog-card h3,
html[data-theme="light"] .blog-panel h2,
html[data-theme="light"] .blog-highlight h2,
html[data-theme="light"] .blog-related h2,
html[data-theme="light"] .blog-feature-panel h2,
html[data-theme="light"] .blog-download-panel h2,
html[data-theme="light"] .blog-rail-card strong,
html[data-theme="light"] .blog-topic strong,
html[data-theme="light"] .blog-number b,
html[data-theme="light"] .blog-metric strong,
html[data-theme="light"] .blog-note strong,
html[data-theme="light"] .blog-example strong,
html[data-theme="light"] .blog-faq strong,
html[data-theme="light"] .blog-compare-table th,
html[data-theme="light"] .blog-summary-strip strong {
  color: #102338;
}

html[data-theme="light"] .blog-lead,
html[data-theme="light"] .blog-panel p,
html[data-theme="light"] .blog-highlight p,
html[data-theme="light"] .blog-related p,
html[data-theme="light"] .blog-note p,
html[data-theme="light"] .blog-feature-panel p,
html[data-theme="light"] .blog-card p,
html[data-theme="light"] .blog-signal p,
html[data-theme="light"] .blog-related-card p,
html[data-theme="light"] .blog-panel ul,
html[data-theme="light"] .blog-panel ol,
html[data-theme="light"] .blog-rail-card li,
html[data-theme="light"] .blog-checklist li,
html[data-theme="light"] .blog-takeaways li,
html[data-theme="light"] .blog-compare-table td,
html[data-theme="light"] .blog-summary-strip p,
html[data-theme="light"] .blog-topic span,
html[data-theme="light"] .blog-metric span,
html[data-theme="light"] .blog-number span,
html[data-theme="light"] .blog-download-panel p,
html[data-theme="light"] .blog-card .card-footer span {
  color: #54697f;
}

html[data-theme="light"] .blog-chip {
  color: #42607d;
  border-color: rgba(104, 133, 164, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 253, 0.92));
  box-shadow: 0 12px 26px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .blog-meta-pill {
  color: #59718a;
  border-color: rgba(104, 133, 164, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 253, 0.92));
  box-shadow: 0 12px 26px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .blog-chip,
html[data-theme="light"] .blog-meta-pill,
html[data-theme="light"] .blog-topic,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .blog-feature-panel,
html[data-theme="light"] .blog-rail-card,
html[data-theme="light"] .blog-download-panel,
html[data-theme="light"] .blog-panel,
html[data-theme="light"] .blog-highlight,
html[data-theme="light"] .blog-related,
html[data-theme="light"] .blog-note,
html[data-theme="light"] .blog-example,
html[data-theme="light"] .blog-faq,
html[data-theme="light"] .blog-number,
html[data-theme="light"] .blog-signal,
html[data-theme="light"] .blog-related-card,
html[data-theme="light"] .blog-metric,
html[data-theme="light"] .blog-summary-strip div,
html[data-theme="light"] .blog-compare-table,
html[data-theme="light"] .blog-compare-table th {
  border-color: rgba(104, 133, 164, 0.16);
  box-shadow: 0 16px 40px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .blog-chip,
html[data-theme="light"] .blog-meta-pill,
html[data-theme="light"] .blog-topic,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .blog-feature-panel,
html[data-theme="light"] .blog-rail-card,
html[data-theme="light"] .blog-download-panel,
html[data-theme="light"] .blog-panel,
html[data-theme="light"] .blog-highlight,
html[data-theme="light"] .blog-related,
html[data-theme="light"] .blog-note,
html[data-theme="light"] .blog-example,
html[data-theme="light"] .blog-faq,
html[data-theme="light"] .blog-number,
html[data-theme="light"] .blog-signal,
html[data-theme="light"] .blog-related-card,
html[data-theme="light"] .blog-metric,
html[data-theme="light"] .blog-summary-strip div {
  background:
    radial-gradient(circle at 100% 0%, rgba(118, 185, 255, 0.08), transparent 35%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.82));
}

html[data-theme="light"] .blog-chip {
  color: #42607d;
  border-color: rgba(104, 133, 164, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 253, 0.94));
  box-shadow: 0 12px 26px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .blog-meta-pill {
  color: #59718a;
  border-color: rgba(104, 133, 164, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 253, 0.94));
  box-shadow: 0 12px 26px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .nav-cta,
html[data-theme="light"] .blog-button {
  border-color: rgba(86, 151, 222, 0.24);
  color: #14304d;
  background: rgba(118, 185, 255, 0.14);
}

html[data-theme="light"] .nav-cta:hover,
html[data-theme="light"] .blog-button:hover {
  background: rgba(118, 185, 255, 0.22);
}

html[data-theme="light"] .blog-button.secondary {
  border-color: rgba(35, 173, 163, 0.24);
  background: rgba(98, 231, 219, 0.12);
}

html[data-theme="light"] .blog-note,
html[data-theme="light"] .blog-example {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 114, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.88));
}

html[data-theme="light"] .blog-compare-table th {
  background: rgba(228, 238, 248, 0.92);
}

html[data-theme="light"] .blog-compare-table td,
html[data-theme="light"] .blog-compare-table th {
  border-bottom-color: rgba(104, 133, 164, 0.14);
}

html[data-theme="light"] .blog-chart {
  border-color: rgba(104, 133, 164, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(123, 147, 172, 0.08);
}

html[data-theme="light"] .blog-chart-svg text {
  fill: #334b64;
}

html[data-theme="light"] .blog-chart-svg line[stroke="#333"] {
  stroke: #5f7690;
}

html[data-theme="light"] .blog-card:hover {
  border-color: rgba(86, 151, 222, 0.26);
  box-shadow: 0 22px 42px rgba(123, 147, 172, 0.14);
}

html[data-theme="light"] .blog-card[data-card-link]:focus-visible {
  outline-color: rgba(86, 151, 222, 0.72);
  border-color: rgba(86, 151, 222, 0.3);
  box-shadow: 0 22px 42px rgba(123, 147, 172, 0.16);
}

html[data-theme="light"] footer {
  border-top-color: rgba(104, 133, 164, 0.16);
  background: rgba(239, 245, 251, 0.92);
}

html[data-theme="light"] .footer-inner > p,
html[data-theme="light"] .footer-links {
  color: #60768d;
}

html[data-theme="light"] .footer-links a:hover {
  color: #102338;
}

@media (max-width: 1040px) {
  .blog-card,
  .blog-card.featured {
    grid-column: span 6;
  }

  .blog-story-layout,
  .blog-feature-strip {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .blog-story-layout > *,
  .blog-rail,
  .blog-panel,
  .blog-highlight,
  .blog-related,
  .blog-note {
    min-width: 0;
  }

  .blog-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-main {
    padding: 120px 0 86px;
  }

  .header-actions {
    gap: 10px;
  }

  .blog-grid,
  .blog-signal-grid,
  .blog-related-grid,
  .blog-summary-strip,
  .blog-metric-strip,
  .blog-number-grid,
  .blog-rail {
    grid-template-columns: 1fr;
  }

  .blog-card,
  .blog-card.featured {
    grid-column: auto;
  }

  .blog-panel,
  .blog-highlight,
  .blog-related,
  .blog-card,
  .blog-feature-panel {
    padding: 22px;
  }

  .blog-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (max-width: 480px) {
  .lang-switcher {
    margin-right: 0;
  }

  .lang-switcher::before {
    content: "EN";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #d7eaff;
    pointer-events: none;
  }

  html[lang="hi"] .lang-switcher::before {
    content: "हि";
  }

  html[lang="mr"] .lang-switcher::before {
    content: "म";
  }

  html[data-theme="light"] .lang-switcher::before {
    color: #183049;
  }

  .lang-switcher select {
    width: 39px;
    padding: 0 24px 0 0 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    font-size: 0 !important;
    line-height: 0;
    text-indent: -999px;
    text-shadow: none;
  }

  .lang-switcher svg {
    right: 8px !important;
  }

  .theme-toggle {
    width: 39px;
    padding: 0;
    justify-content: center;
  }

  .theme-toggle-label {
    display: none;
  }
}
