/* MindMotion blog: same dark look as the landing page (src/landing/landing.css). */

@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/blog/fraunces.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/blog/inter.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Nunito Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('/blog/nunito.woff2') format('woff2-variations');
}

:root {
  --green: #00d889;
  --blue: #1e8fff;
  --teal: #00b8b0;
  --night: #061217;
  --night-2: #0a1d24;
  --card: rgba(255, 255, 255, 0.045);
  --card-line: rgba(255, 255, 255, 0.09);
  --text: #b5c8cd;
  --prose: #cfdde0;
  --muted: #7d959b;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.08);
  --font: 'Nunito Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grad: linear-gradient(100deg, #00d889, #00b8b0 45%, #1e8fff);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

.bp-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bp-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── Reading progress (CSS only, where supported) ───────── */

.bp-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 30;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
  display: none;
}
@supports (animation-timeline: scroll()) {
  .bp-post ~ .bp-progress,
  body:has(.bp-post) .bp-progress {
    display: block;
    animation: bp-progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes bp-progress {
  to {
    transform: scaleX(1);
  }
}

/* ───────── Header ───────── */

.bp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(6, 18, 23, 0.6);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid var(--line);
}
.bp-header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.bp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.bp-brand__mark {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 216, 137, 0.35));
}
.bp-brand__word {
  font-weight: 650;
  font-size: 22px;
  color: #3ed6d0;
}
.bp-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.bp-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s;
}
.bp-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.bp-nav a:hover,
.bp-nav a[aria-current='page'] {
  color: var(--white);
}
.bp-nav a:hover::after,
.bp-nav a[aria-current='page']::after {
  transform: scaleX(1);
}
.bp-header__end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bp-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bp-lang a {
  font: 800 12px/1 var(--font);
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
}
.bp-lang a[aria-current='true'] {
  background: var(--white);
  color: var(--night);
}

/* ───────── Buttons ───────── */

.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px -8px rgba(0, 216, 137, 0.5),
    0 8px 30px -10px rgba(30, 143, 255, 0.55);
  transition: transform 0.25s var(--ease);
}
.bp-btn:hover {
  transform: translateY(-2px);
}
.bp-btn svg,
.bp-card__more svg,
.bp-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.bp-btn:hover svg {
  transform: translateX(3px);
}
.bp-btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: none;
}

/* ───────── Hero ───────── */

.bp-hero {
  position: relative;
  overflow-x: clip;
  padding: 150px 0 56px;
  isolation: isolate;
}
.bp-hero--archive {
  padding-bottom: 40px;
}
.bp-aurora {
  position: absolute;
  inset: 0 0 -120px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 18% 20%, rgba(0, 216, 137, 0.22), transparent 70%),
    radial-gradient(38% 50% at 82% 10%, rgba(30, 143, 255, 0.24), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, rgba(0, 184, 176, 0.12), transparent 70%);
  filter: blur(10px);
  animation: bp-drift 18s ease-in-out infinite alternate;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.bp-aurora--0 {
  background:
    radial-gradient(45% 60% at 20% 15%, rgba(0, 216, 137, 0.26), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, rgba(0, 184, 176, 0.16), transparent 70%);
}
.bp-aurora--2 {
  background:
    radial-gradient(45% 60% at 80% 15%, rgba(30, 143, 255, 0.28), transparent 70%),
    radial-gradient(35% 45% at 15% 20%, rgba(0, 184, 176, 0.14), transparent 70%);
}
@keyframes bp-drift {
  to {
    transform: translate3d(0, 24px, 0) scale(1.05);
  }
}
.bp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 216, 137, 0.18);
  animation: bp-pulse 2.4s ease-in-out infinite;
}
@keyframes bp-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(0, 216, 137, 0);
  }
}
.bp-hero__title {
  margin: 0;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}
.bp-hero__lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 21px);
}

/* ───────── Archive ───────── */

.bp-archive {
  padding-bottom: 96px;
}
.bp-label {
  margin: 40px 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.bp-card {
  border-radius: 28px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--card-line);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.bp-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 30px 60px -30px rgba(0, 184, 176, 0.45);
}
.bp-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.bp-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 28px;
  flex: 1;
}
.bp-card__title {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.bp-card__excerpt {
  margin: 0;
}
.bp-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-weight: 800;
  color: #3ed6d0;
}
.bp-card:hover .bp-card__more svg {
  transform: translateX(4px);
}
.bp-card--featured .bp-card__link {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.bp-card--featured .bp-card__title {
  font-size: clamp(26px, 3.2vw, 38px);
}
.bp-card--featured .bp-card__body {
  padding: 40px 44px;
  justify-content: center;
}
.bp-card--featured .bp-card__excerpt {
  font-size: 18px;
}

/* Abstract card art: glowing rings in the logo colours (no stock photos). */
.bp-card__art {
  position: relative;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  background: radial-gradient(120% 120% at 30% 20%, #22677a, #13475a 75%);
  overflow: hidden;
}
.bp-card--featured .bp-card__art {
  aspect-ratio: auto;
  min-height: 340px;
}
.bp-card__art span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 10px solid transparent;
  transform: translate(-50%, -50%);
  animation: bp-spin 26s linear infinite;
}
.bp-card__art span:nth-child(1) {
  width: 62%;
  aspect-ratio: 1;
  border-color: rgba(0, 216, 137, 0.9) transparent rgba(0, 216, 137, 0.15) rgba(0, 216, 137, 0.15);
  filter: drop-shadow(0 0 18px rgba(0, 216, 137, 0.55));
}
.bp-card__art span:nth-child(2) {
  width: 44%;
  aspect-ratio: 1;
  border-color: rgba(0, 184, 176, 0.15) rgba(0, 184, 176, 0.9) rgba(0, 184, 176, 0.9) rgba(0, 184, 176, 0.15);
  filter: drop-shadow(0 0 16px rgba(0, 184, 176, 0.55));
  animation-duration: 20s;
  animation-direction: reverse;
}
.bp-card__art span:nth-child(3) {
  width: 26%;
  aspect-ratio: 1;
  border-color: rgba(30, 143, 255, 0.9) rgba(30, 143, 255, 0.15) rgba(30, 143, 255, 0.9) rgba(30, 143, 255, 0.15);
  filter: drop-shadow(0 0 14px rgba(30, 143, 255, 0.6));
  animation-duration: 14s;
}
.bp-art--0 {
  background: radial-gradient(120% 120% at 25% 20%, #1d6a5e, #13475a 75%);
}
.bp-art--2 {
  background: radial-gradient(120% 120% at 75% 20%, #235f86, #13475a 75%);
}
@keyframes bp-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.bp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.bp-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 216, 137, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───────── Post ───────── */

.bp-hero--post {
  padding-bottom: 40px;
}
.bp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-weight: 800;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.bp-back:hover {
  color: var(--white);
}
.bp-back:hover svg {
  transform: translateX(-3px);
}
.bp-post__title {
  margin: 18px 0 0;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}
.bp-post__excerpt {
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text);
  text-wrap: pretty;
}
.bp-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.bp-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bp-avatar .bp-brand__mark {
  width: 26px;
  filter: none;
}

.bp-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: 64px;
  padding-bottom: 96px;
}
.bp-layout--hero {
  padding-bottom: 0;
}
.bp-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  font-size: 14px;
}
.bp-toc__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.bp-toc a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.bp-toc a:hover {
  color: var(--white);
  border-color: var(--teal);
}

.bp-short {
  margin: 0 0 40px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(0, 216, 137, 0.1), rgba(30, 143, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(0, 216, 137, 0.22);
}
.bp-short__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.bp-short ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bp-short li {
  position: relative;
  padding-left: 26px;
  color: var(--prose);
}
.bp-short li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
}

.bp-prose {
  font-size: 19px;
  line-height: 1.75;
  color: var(--prose);
}
.bp-prose p {
  margin: 0 0 1.2em;
}
.bp-prose .bp-lead {
  font-size: 21px;
  line-height: 1.65;
  color: var(--white);
}
.bp-prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--white);
}
.bp-prose h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--grad);
}
.bp-prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 20px;
  font-weight: 850;
  color: #3ed6d0;
}
.bp-prose strong {
  color: var(--white);
  font-weight: 800;
}
.bp-prose em {
  font-style: italic;
}
.bp-prose a {
  color: #3ed6d0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.bp-cite {
  white-space: nowrap;
  font-size: 0.6em;
  font-weight: 800;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -0.75em;
  margin-left: 1px;
}
.bp-cite a {
  padding: 0 0.3em;
  border-radius: 4px;
  color: #3ed6d0;
  text-decoration: none;
}
.bp-cite a + a::before {
  content: ',';
  color: var(--muted);
  margin-right: 0.15em;
}
.bp-cite a:hover {
  background: rgba(0, 184, 176, 0.2);
  color: var(--white);
}
.bp-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.4em;
  padding: 0;
  display: grid;
  gap: 14px;
}
.bp-steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 22px 20px 72px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--card-line);
  font-size: 18px;
}
.bp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-weight: 900;
  font-size: 17px;
}
.bp-steps strong {
  display: block;
}

/* Target highlight when jumping to a source */
.bp-sources li:target {
  background: rgba(0, 184, 176, 0.12);
  box-shadow: 0 0 0 8px rgba(0, 184, 176, 0.12);
  border-radius: 4px;
}

.bp-cta {
  position: relative;
  overflow: hidden;
  margin: 56px 0;
  padding: 40px 40px 44px;
  border-radius: 32px;
  background: linear-gradient(150deg, #0c2a33, #0a1d24 60%);
  box-shadow: inset 0 0 0 1px var(--card-line);
  isolation: isolate;
}
.bp-cta h2 {
  max-width: 460px;
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 900;
  color: var(--white);
}
.bp-cta p:not(.bp-kicker) {
  max-width: 460px;
  margin: 0 0 26px;
}
.bp-cta__rings {
  position: absolute;
  right: -60px;
  top: 50%;
  width: 300px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0.9;
}
.bp-cta__rings span {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.05);
}
.bp-cta__rings span:nth-child(1) {
  border-top-color: var(--green);
  border-right-color: var(--green);
  filter: drop-shadow(0 0 16px rgba(0, 216, 137, 0.6));
  animation: bp-spin-plain 22s linear infinite;
}
.bp-cta__rings span:nth-child(2) {
  width: 70%;
  height: 70%;
  border-top-color: var(--teal);
  border-left-color: var(--teal);
  filter: drop-shadow(0 0 14px rgba(0, 184, 176, 0.6));
  animation: bp-spin-plain 16s linear infinite reverse;
}
.bp-cta__rings span:nth-child(3) {
  width: 40%;
  height: 40%;
  border-bottom-color: var(--blue);
  border-right-color: var(--blue);
  filter: drop-shadow(0 0 12px rgba(30, 143, 255, 0.6));
  animation: bp-spin-plain 12s linear infinite;
}
@keyframes bp-spin-plain {
  to {
    transform: rotate(360deg);
  }
}

.bp-sources {
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.bp-sources h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}
.bp-sources ol {
  margin: 0;
  padding-left: 1.6em;
  display: grid;
  gap: 12px;
}
.bp-sources li::marker {
  color: var(--muted);
  font-weight: 800;
}
.bp-sources__site {
  color: var(--muted);
  font-style: italic;
}
.bp-sources a {
  color: #3ed6d0;
  word-break: break-word;
  text-underline-offset: 3px;
}
.bp-sources__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.bp-note {
  margin: 32px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--muted);
}
.bp-note a {
  color: var(--text);
  font-weight: 700;
}

/* ───────── Footer ───────── */

.bp-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  background: #040c10;
  font-size: 15px;
}
.bp-footer__in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bp-footer__powered {
  margin: 8px 0 0;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.bp-footer__powered strong {
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bp-footer__links {
  margin: 0;
  color: var(--muted);
}
.bp-footer__links a {
  text-decoration: none;
}
.bp-footer__links a:hover {
  color: var(--white);
}

/* ───────── Light theme (matches landing since PR #13) ─────────
   Dark petrol only for the hero; content, cards and footer are light. */

:root {
  --paper: #f4faf9;
  --ink: #0b2e36;
  --ink-text: #3a575e;
  --ink-muted: #6b8a91;
  --ink-line: rgba(11, 46, 54, 0.09);
  --accent: #00a2aa;
  --shadow: 0 1px 2px rgba(11, 46, 54, 0.05), 0 24px 50px -30px rgba(11, 46, 54, 0.35);
}
html,
body,
main {
  background: var(--paper);
}
.bp-hero {
  background: radial-gradient(120% 90% at 70% 0%, #22677a 0%, #175062 50%, #13475a 100%);
  padding-bottom: 96px;
}
.bp-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 48px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--paper));
}
.bp-hero--archive {
  padding-bottom: 88px;
}
.bp-aurora {
  mask-image: none;
  -webkit-mask-image: none;
}

/* header: dark glass over the hero, light glass over content */
.bp-header {
  transition:
    background 0.3s,
    border-color 0.3s;
}
.bp-header--light {
  background: rgba(244, 250, 249, 0.82);
  border-bottom-color: rgba(11, 46, 54, 0.08);
}
.bp-header--light .bp-brand__word {
  color: var(--accent);
}
.bp-header--light .bp-nav a {
  color: #4f6d74;
}
.bp-header--light .bp-nav a:hover,
.bp-header--light .bp-nav a[aria-current='page'] {
  color: var(--ink);
}
.bp-header--light .bp-lang {
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 46, 54, 0.08), 0 6px 18px -10px rgba(11, 46, 54, 0.3);
}
.bp-header--light .bp-lang a {
  color: #5f7f86;
}
.bp-header--light .bp-lang a[aria-current='true'] {
  background: var(--ink);
  color: #fff;
}

/* archive */
.bp-archive {
  margin-top: -40px;
  position: relative;
}
.bp-label {
  color: var(--ink-muted);
}
.bp-card {
  background: #fff;
  box-shadow: var(--shadow);
}
.bp-card:hover {
  box-shadow: 0 30px 60px -28px rgba(0, 162, 170, 0.45);
}
.bp-card__title {
  color: var(--ink);
}
.bp-card__excerpt {
  color: var(--ink-text);
}
.bp-card__more {
  color: var(--accent);
}
.bp-card .bp-meta,
.bp-content .bp-meta {
  color: var(--ink-muted);
}
.bp-card .bp-chip {
  background: rgba(0, 162, 170, 0.1);
  color: var(--accent);
}

/* post */
.bp-content {
  color: var(--ink-text);
}
.bp-toc__title {
  color: var(--ink-muted);
}
.bp-toc ol {
  border-left-color: var(--ink-line);
}
.bp-toc a {
  color: var(--ink-muted);
}
.bp-toc a:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.bp-short {
  margin-top: -56px;
  position: relative;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(0, 162, 170, 0.18),
    var(--shadow);
}
.bp-short__title {
  color: var(--accent);
}
.bp-short li {
  color: var(--ink-text);
}
.bp-short li::before {
  border-color: #00b8b0;
}
.bp-prose {
  color: var(--ink-text);
}
.bp-prose .bp-lead,
.bp-prose h2,
.bp-prose strong {
  color: var(--ink);
}
.bp-prose h3,
.bp-prose a,
.bp-cite a {
  color: var(--accent);
}
.bp-cite a:hover {
  background: rgba(0, 162, 170, 0.14);
  color: var(--ink);
}
.bp-steps li {
  background: #fff;
  box-shadow: var(--shadow);
}
.bp-steps strong {
  color: var(--ink);
}

/* the CTA stays a dark accent band, like the AI section on the landing page */
.bp-cta {
  background:
    radial-gradient(60% 80% at 85% 50%, rgba(0, 216, 137, 0.22), transparent 70%),
    linear-gradient(160deg, #15495a, #1c5d70 60%, #15495a);
  box-shadow: 0 30px 60px -30px rgba(11, 46, 54, 0.6);
  color: var(--text);
}

.bp-sources {
  border-top-color: var(--ink-line);
}
.bp-sources h2 {
  color: var(--ink);
}
.bp-sources li::marker,
.bp-sources__site,
.bp-sources__note {
  color: var(--ink-muted);
}
.bp-sources a {
  color: var(--accent);
}
.bp-sources li:target {
  background: rgba(0, 162, 170, 0.1);
  box-shadow: 0 0 0 8px rgba(0, 162, 170, 0.1);
}
.bp-note {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-line);
  color: var(--ink-muted);
}
.bp-note a {
  color: var(--ink);
}

/* idea list (app features) */
.bp-ideas {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: grid;
  gap: 12px;
}
.bp-ideas li {
  position: relative;
  padding: 18px 20px 18px 56px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 17px;
  line-height: 1.6;
}
.bp-ideas li::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
}
.bp-ideas strong {
  display: block;
  color: var(--ink);
}

/* related posts */
.bp-related {
  margin: 0 0 56px;
}
.bp-related h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bp-related .bp-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.bp-related .bp-card__art {
  min-height: 140px;
}

/* cover images */
.bp-cover {
  margin: -64px 0 32px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11, 46, 54, 0.55);
}
.bp-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.bp-cover + .bp-short {
  margin-top: 0;
}
.bp-card__art--img {
  background: #175062;
}
.bp-card__art--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bp-card:hover .bp-card__art--img img {
  transform: scale(1.04);
}

/* footer */
.bp-footer {
  background: #fff;
  border-top-color: var(--ink-line);
}
.bp-footer .bp-brand__word {
  color: var(--accent);
}
.bp-footer__powered,
.bp-footer__links {
  color: var(--ink-muted);
}
.bp-footer__links a:hover {
  color: var(--ink);
}

/* ───────── Fully light (matches landing since PR #19) ───────── */

.bp-hero {
  background:
    radial-gradient(90% 70% at 85% 10%, #e3f2ff, transparent 60%),
    radial-gradient(80% 70% at 5% 0%, #dcfbef, transparent 60%),
    linear-gradient(180deg, #fff, #f6fbfa);
  color: var(--ink-text);
  padding-bottom: 88px;
}
.bp-hero::after {
  display: none;
}
.bp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 46, 54, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 46, 54, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
}
.bp-aurora,
.bp-aurora--0,
.bp-aurora--1,
.bp-aurora--2 {
  inset: -80px 0 0;
  filter: blur(100px);
  background:
    radial-gradient(28% 40% at 15% 30%, rgba(0, 216, 137, 0.35), transparent 70%),
    radial-gradient(28% 40% at 85% 15%, rgba(30, 143, 255, 0.3), transparent 70%),
    radial-gradient(24% 34% at 55% 80%, rgba(255, 211, 161, 0.35), transparent 70%);
}
.bp-hero__title,
.bp-post__title {
  color: var(--ink);
}
.bp-hero__lead,
.bp-post__excerpt,
.bp-byline {
  color: var(--ink-text);
}
.bp-hero .bp-meta,
.bp-back {
  color: var(--ink-muted);
}
.bp-back:hover {
  color: var(--ink);
}
.bp-hero .bp-chip {
  background: rgba(0, 162, 170, 0.1);
  color: var(--accent);
}
.bp-kicker {
  background: #fff;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(11, 46, 54, 0.1),
    0 6px 18px -12px rgba(11, 46, 54, 0.3);
}
.bp-avatar {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 46, 54, 0.1);
}

/* header is always light glass now */
.bp-header,
.bp-header--light {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(11, 46, 54, 0.08);
}
.bp-header .bp-brand__word {
  color: var(--accent);
}
.bp-header .bp-nav a {
  color: #4f6d74;
}
.bp-header .bp-nav a:hover,
.bp-header .bp-nav a[aria-current='page'] {
  color: var(--ink);
}
.bp-header .bp-lang {
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 46, 54, 0.08), 0 6px 18px -10px rgba(11, 46, 54, 0.3);
}
.bp-header .bp-lang a {
  color: #5f7f86;
}
.bp-header .bp-lang a[aria-current='true'] {
  background: var(--ink);
  color: #fff;
}

/* light accent band for the CTA */
.bp-cta {
  background: linear-gradient(120deg, #e7f8f2, #e9f3fd);
  box-shadow:
    inset 0 0 0 1px rgba(0, 162, 170, 0.14),
    var(--shadow);
  color: var(--ink-text);
}
.bp-cta h2 {
  color: var(--ink);
}
.bp-cta__rings span {
  border-color: rgba(11, 46, 54, 0.06);
}
.bp-cta__rings span:nth-child(1) {
  border-top-color: var(--green);
  border-right-color: var(--green);
}
.bp-cta__rings span:nth-child(2) {
  border-top-color: var(--teal);
  border-left-color: var(--teal);
}
.bp-cta__rings span:nth-child(3) {
  border-bottom-color: var(--blue);
  border-right-color: var(--blue);
}

/* cards without cover image */
.bp-card__art,
.bp-art--0,
.bp-art--2 {
  background: linear-gradient(140deg, #e7f8f2, #e9f3fd);
}
.bp-card__art--img {
  background: #f4faf9;
}
.bp-cover {
  margin-top: -48px;
  box-shadow: var(--shadow);
}

/* ───────── Responsive ───────── */

@media (max-width: 1020px) {
  .bp-layout {
    grid-template-columns: minmax(0, 720px);
    gap: 0;
  }
  .bp-toc,
  .bp-layout--hero > div:first-child {
    display: none;
  }
}
@media (max-width: 860px) {
  .bp-card--featured .bp-card__link {
    grid-template-columns: 1fr;
  }
  .bp-card--featured .bp-card__art {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .bp-card--featured .bp-card__body {
    padding: 26px 26px 30px;
  }
}
@media (max-width: 720px) {
  .bp-nav {
    display: none;
  }
  .bp-header__end {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .bp-wrap {
    padding: 0 16px;
  }
  .bp-header__in {
    gap: 12px;
  }
  .bp-header .bp-brand__word {
    display: none;
  }
  .bp-brand__mark {
    width: 40px;
  }
  .bp-header .bp-btn--sm {
    padding: 10px 16px;
  }
  .bp-hero {
    padding-top: 112px;
    padding-bottom: 72px;
  }
  .bp-meta {
    gap: 6px 10px;
    font-size: 13px;
  }
  .bp-prose {
    font-size: 18px;
  }
  .bp-prose .bp-lead {
    font-size: 19px;
  }
  .bp-short,
  .bp-cta {
    padding: 24px 20px;
    border-radius: 22px;
  }
  .bp-cta__rings {
    width: 200px;
    right: -90px;
    opacity: 0.45;
  }
  .bp-steps li {
    padding: 18px 18px 18px 64px;
  }
  .bp-steps li::before {
    left: 16px;
  }
  .bp-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* featured card shows the whole cover on a matching light background */
.bp-card--featured .bp-card__art--img {
  background: linear-gradient(140deg, #eaf8f2, #e6f1fc);
}
.bp-card--featured .bp-card__art--img img {
  top: 50%;
  bottom: auto;
  height: auto;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.bp-card--featured .bp-card__art--img img.bp-card__blur {
  object-fit: cover;
  -webkit-mask-image: none;
  mask-image: none;
  filter: blur(28px) saturate(1.1);
  transform: scale(1.3);
}
.bp-card--featured:hover .bp-card__art--img img.bp-card__blur {
  transform: scale(1.3);
}
.bp-card--featured .bp-card__art--img img.bp-card__blur {
  top: 0;
  bottom: 0;
  height: 100%;
}
.bp-card--featured:hover .bp-card__art--img img:not(.bp-card__blur) {
  transform: translateY(-50%) scale(1.03);
}

/* ---------------------------------------------------------------------------
   Editorial, like the landing page (PR #22): serif headlines, Inter body,
   5px corners on controls, 10px on cards, no moving decoration.
   ------------------------------------------------------------------------- */
:root {
  --font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
  --r-btn: 5px;
  --r-card: 10px;
  --r-icon: 6px;
  --r-band: 12px;
}
body {
  font-family: var(--font);
  letter-spacing: -0.005em;
}
.bp-brand__word {
  font-family: 'Nunito Variable', var(--font);
}

/* serif headlines */
.bp-hero__title,
.bp-post__title,
.bp-card__title,
.bp-card--featured .bp-card__title,
.bp-prose h2,
.bp-prose h3,
.bp-related h2,
.bp-cta h2,
.bp-sources h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bp-hero__title,
.bp-post__title {
  line-height: 1.08;
}
.bp-prose h2 {
  line-height: 1.15;
}
.bp-kicker,
.bp-chip,
.bp-toc__title,
.bp-short__title {
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* corners: controls */
.bp-btn,
.bp-lang,
.bp-kicker,
.bp-chip {
  border-radius: var(--r-btn);
}
.bp-btn {
  font-weight: 650;
  letter-spacing: 0;
}
.bp-lang a {
  border-radius: 3px;
  font-weight: 700;
}

/* corners: cards and boxes */
.bp-card,
.bp-cover,
.bp-short,
.bp-steps li,
.bp-ideas li,
.bp-note {
  border-radius: var(--r-card);
}
.bp-cta {
  border-radius: var(--r-band);
}
.bp-steps li::before,
.bp-ideas li::before {
  border-radius: var(--r-icon);
}
.bp-ideas li::before {
  width: 16px;
  height: 16px;
}
.bp-short li::before {
  border-radius: 3px;
}
.bp-prose h2::before,
.bp-cite a,
.bp-sources li:target {
  border-radius: 3px;
}

/* calmer: no spinning rings, no drifting light, no grid */
.bp-hero::before,
.bp-cta__rings,
.bp-card__art span {
  display: none;
}
.bp-aurora,
.bp-aurora--0,
.bp-aurora--1,
.bp-aurora--2,
.bp-dot {
  animation: none;
}
.bp-aurora {
  opacity: 0.7;
}

@media (max-width: 520px) {
  .bp-short,
  .bp-cta {
    border-radius: var(--r-card);
  }
}
