/* ========================================================================
   MIMIX BOOSTS — Boosts homepage & creator guide
   Tokens mirror the Mimix design system (Mimix DS.fig + mimix-frontend
   app/globals.css). Keep the token names in sync with that source.
   ======================================================================== */

:root {
  /* ---------- Brand ---------- */
  --primary-200: #ffc8b8;
  --primary-400: #ff734c;
  --primary-500: #ff5a2c;
  --primary-600: #e44012;

  /* ---------- Warm neutrals ---------- */
  --warm-neutral-500: #8c8982;
  --warm-neutral-950: #13110f;
  --warm-neutral-1000: #0d0c0b;

  /* ---------- Surfaces ---------- */
  --surface-1: #f2efea;
  --surface-2: #f7f6f5;
  --surface-3: #fcfbf9;
  --surface-solid: #ffffff;

  /* ---------- Borders ---------- */
  --border-1: rgba(140, 137, 130, 0.08);
  --border-2: rgba(140, 137, 130, 0.16);

  /* ---------- Text ---------- */
  --text-50: #0d0c0b;
  --text-100: rgba(13, 12, 11, 0.72);
  --text-200: rgba(13, 12, 11, 0.56);
  --text-on-solid: #faf8f5;
  --text-on-dark-100: rgba(250, 248, 245, 0.72);
  --text-on-dark-200: rgba(250, 248, 245, 0.56);

  /* ---------- Elevation ---------- */
  --shadow-lg: 0px 4px 16px -8px rgba(0, 0, 0, 0.08),
               0px 3px 12px -4px rgba(0, 0, 0, 0.05),
               0px 2px 3px -2px rgba(0, 0, 61, 0.05);

  /* ---------- Radius ---------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ---------- Type families ---------- */
  --font-sans: 'Zalando Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-ui: 'Albert Sans', 'Zalando Sans', -apple-system, sans-serif;
  /* Design-system "mono" slot: a compact label face, not a fixed-width font. */
  --font-mono: 'Source Sans 3', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1280px;
  --pad: 24px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` rather than `hidden`: it contains the marquee and hover cards
     without turning the root into a scroll container, which would break the
     sticky nav. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface-1);
  color: var(--text-50);
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; }

a {
  color: var(--text-50);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--primary-600); }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.bx-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Sticky nav must not cover anchored section headings. */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.bx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}
.bx-skip:focus { left: 16px; top: 16px; }

/* ---------------------------------------------------------------- Nav --- */
.bx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 239, 234, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-2);
}
.bx-nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bx-nav-brand { display: flex; align-items: center; }
.bx-nav-brand img { height: 24px; width: auto; display: block; }

.bx-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.bx-nav-links a { color: var(--text-100); }
.bx-nav-links a[aria-current='page'] { color: var(--text-50); }

.bx-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bx-nav-cta {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 90, 44, 0.14);
  color: var(--primary-600);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.bx-nav-cta:hover,
.bx-nav-cta:focus-visible { background: rgba(255, 90, 44, 0.24); color: var(--primary-600); }

.bx-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 90, 44, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--primary-600);
  transition: background 0.2s ease;
}
.bx-icon-link:hover,
.bx-icon-link:focus-visible { background: rgba(255, 90, 44, 0.24); color: var(--primary-600); }
.bx-icon-link svg { display: block; }

@media (max-width: 900px) {
  .bx-nav-links { display: none; }
}

/* ------------------------------------------------------- Shared bits --- */
.bx-eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
}
.bx-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--primary-500);
  flex: none;
}

.bx-sechead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.bx-sechead h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.bx-accent { color: var(--primary-500); }

.bx-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--warm-neutral-950);
  color: var(--text-on-solid);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

.bx-meta { font-family: var(--font-mono); font-size: 13px; color: var(--text-200); }

.bx-btn {
  font-family: var(--font-ui);
  background: var(--primary-500);
  color: var(--text-on-solid);
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.bx-btn:hover,
.bx-btn:focus-visible { opacity: 0.9; color: var(--text-on-solid); }
.bx-btn--block { display: block; width: 100%; text-align: center; }
.bx-btn--inline { display: inline-block; padding: 14px 32px; }
.bx-btn--sm { display: inline-block; font-size: 14px; padding: 10px 20px; }

.bx-btn-ghost {
  font-family: var(--font-ui);
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 44, 0.14);
  color: var(--primary-600);
  transition: background 0.2s ease;
}
.bx-btn-ghost:hover,
.bx-btn-ghost:focus-visible { background: rgba(255, 90, 44, 0.24); color: var(--primary-600); }

/* -------------------------------------------------------------- Hero --- */
.bx-hero {
  padding: 64px var(--pad) 44px;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 90, 44, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin: 0 0 24px;
}
.bx-badge svg { flex: none; display: block; color: var(--primary-500); }
.bx-badge span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-600);
}
.bx-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 860px;
  text-wrap: balance;
}
.bx-hero-lede {
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--text-100);
  max-width: 560px;
  text-wrap: pretty;
}

/* ----------------------------------------------------- Boost builder --- */
.bx-builder {
  width: 100%;
  max-width: 720px;
  margin-top: 30px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 200, 184, 0.45), rgba(252, 251, 249, 0) 55%),
    var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
  text-align: left;
  position: relative;
}
.bx-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
  margin-bottom: 8px;
}
.bx-url-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 28px;
}
.bx-url-field svg { flex: none; display: block; color: var(--warm-neutral-500); }
.bx-url-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-50);
  letter-spacing: -0.02em;
}

.bx-budget-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.bx-budget-head .bx-label { margin-bottom: 0; }
.bx-budget-amount {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--primary-600);
}

.bx-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    to right,
    var(--primary-500) var(--fill, 33%),
    rgba(140, 137, 130, 0.24) var(--fill, 33%)
  );
  outline: none;
  margin: 0;
}
.bx-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  border: 2px solid var(--primary-500);
  box-shadow: 0px 4px 16px -8px rgba(0, 0, 0, 0.16), 0px 2px 3px -2px rgba(0, 0, 61, 0.1);
  cursor: pointer;
}
.bx-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  border: 2px solid var(--primary-500);
  cursor: pointer;
}

.bx-tier-stops {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 24px;
}
.bx-tier-stop {
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--text-200);
  font-weight: 400;
  transition: color 0.2s ease;
}
.bx-tier-stop[aria-pressed='true'] { color: var(--primary-600); font-weight: 600; }

.bx-estimates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.bx-estimate {
  background: var(--surface-solid);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.bx-estimate-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
  margin-bottom: 4px;
}
.bx-estimate-value {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.bx-estimate-value .bx-unit { font-size: 14px; color: var(--text-200); font-weight: 400; }

.bx-roster { margin-bottom: 24px; }
.bx-roster-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
  margin-bottom: 10px;
}
.bx-avatar-row {
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 100%;
}
.bx-avatar-more {
  align-self: center;
  margin-left: auto;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
  white-space: nowrap;
}

/* Avatar + hover card. CSS-only so it works without JavaScript. */
.bx-avatar {
  position: relative;
  display: inline-flex;
  border-radius: var(--radius-full);
}
.bx-avatar-row .bx-avatar { margin-right: -6px; }
.bx-avatar img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: block;
  object-fit: cover;
  border: 2px solid var(--surface-3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bx-avatar:hover,
.bx-avatar:focus-visible { z-index: 10; outline: none; }
.bx-avatar:hover img,
.bx-avatar:focus-visible img {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px var(--primary-500);
}

.bx-avatar-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.bx-avatar:hover .bx-avatar-card,
.bx-avatar:focus-visible .bx-avatar-card {
  opacity: 1;
  visibility: visible;
}
.bx-avatar-handle {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.bx-avatar-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
}
.bx-avatar-loc svg { flex: none; display: block; color: var(--primary-500); }
.bx-avatar-followers {
  font-size: 13px;
  color: var(--text-200);
  margin-top: 6px;
  white-space: nowrap;
}

.bx-builder-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
  margin: 12px 0 0;
}

@media (max-width: 720px) {
  .bx-avatar-row { flex-wrap: wrap; row-gap: 10px; }
}

/* ----------------------------------------------------------- Marquee --- */
.bx-marquee {
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding: 14px 0;
  overflow: hidden;
}
.bx-marquee-track {
  display: flex;
  width: max-content;
  animation: bx-marquee 32s linear infinite;
}
.bx-marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 40px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-100);
}
.bx-marquee-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary-500);
  border-radius: 1px;
  flex: none;
}
@keyframes bx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------- Logos --- */
.bx-logos { padding: 40px var(--pad) 8px; }
.bx-logos-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
  margin: 0 0 24px;
}
.bx-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px clamp(36px, 6.5vw, 80px);
  opacity: 0.5;
}
.bx-logos-row img { display: block; }

/* --------------------------------------------------------- Stat band --- */
.bx-band { padding: 56px var(--pad) 0; }
.bx-band-inner {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.bx-band-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 64px;
  text-align: center;
}
.bx-band-value {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.bx-band-label { font-size: 14px; color: var(--text-200); margin-top: 4px; }

/* ------------------------------------------------------------- Steps --- */
.bx-section { padding: 72px var(--pad) 32px; }
.bx-section .bx-sechead { margin-bottom: 36px; }

.bx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.bx-step {
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bx-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bx-step--dark {
  background: var(--warm-neutral-950);
  border-color: var(--warm-neutral-950);
  color: var(--text-on-solid);
}
.bx-step-num {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-500);
  margin-bottom: 18px;
}
.bx-step-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.bx-step-body {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
  color: var(--text-100);
}
.bx-step--dark .bx-step-body { color: var(--text-on-dark-100); }
.bx-step-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 600;
}
.bx-step--dark .bx-step-meta { color: var(--text-on-dark-200); }

/* --------------------------------------------------------- Case study --- */
.bx-proof-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 640px;
}
.bx-case {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255, 200, 184, 0.5), rgba(252, 251, 249, 0) 55%),
    var(--surface-3);
  border: 1px solid rgba(255, 115, 76, 0.45);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.bx-case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bx-case-brand { display: flex; align-items: center; gap: 12px; }
.bx-case-brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-100);
}
.bx-case-lede {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-100);
  max-width: 640px;
}
.bx-case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.bx-case-stat {
  background: var(--surface-solid);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.bx-case-stat-value {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.bx-case-stat-label { font-size: 13px; color: var(--text-200); margin-top: 2px; }

.bx-case-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.bx-post {
  display: block;
  color: inherit;
  background: var(--surface-solid);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bx-post:hover,
.bx-post:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.bx-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.bx-post-head img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}
.bx-post-id { display: flex; flex-direction: column; min-width: 0; }
.bx-post-handle { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.bx-post-followers { font-size: 13px; color: var(--text-200); }

.bx-post-thumb {
  position: relative;
  border-radius: var(--radius-md);
  height: 368px;
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-neutral-950);
}
.bx-post-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bx-post-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 17, 15, 0.55), rgba(19, 17, 15, 0) 45%);
}
.bx-post-play {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 90, 44, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.35);
  color: var(--text-on-solid);
}
.bx-post-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.7);
}
.bx-post-metrics {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
  margin-bottom: 14px;
}
.bx-post-metrics strong { color: var(--text-50); font-weight: 600; }
.bx-post-metrics .bx-post-views { margin-left: auto; }
.bx-post-metrics .bx-post-views strong { color: var(--primary-600); }

.bx-post-track { border-top: 1px solid var(--border-1); padding-top: 12px; }
.bx-post-track-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-200);
  margin-bottom: 6px;
}
.bx-post-track-head b { color: var(--primary-600); font-weight: 600; }
.bx-post-bars { display: flex; gap: 4px; align-items: center; }
.bx-bar-before {
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(140, 137, 130, 0.32);
}
.bx-bar-after {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary-500);
  flex: 1;
}

.bx-case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bx-case-foot b { color: var(--primary-600); font-weight: 600; }

/* ---------------------------------------------------------- Creators --- */
.bx-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.bx-creators-head h2 { line-height: 1.14; }
.bx-creators-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-100);
}
.bx-creators-copy p { margin: 0; }
.bx-creators-copy .bx-lead { color: var(--text-50); font-weight: 600; }

.bx-standards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}
.bx-standards li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.bx-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 90, 44, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}
.bx-check svg { display: block; color: var(--primary-600); }

.bx-panel {
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
}
.bx-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.bx-panel-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
}
.bx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 90, 44, 0.14);
  color: var(--primary-600);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  white-space: nowrap;
}
.bx-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--primary-500);
}

.bx-avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  position: relative;
}
.bx-avatar-grid .bx-avatar img {
  width: 52px;
  height: 52px;
  border: 0;
}
.bx-avatar-grid .bx-avatar:hover img,
.bx-avatar-grid .bx-avatar:focus-visible img {
  transform: none;
  box-shadow: none;
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
/* Centred on the avatar so cards on the last column stay inside the viewport. */
.bx-avatar-grid .bx-avatar-card {
  background: var(--surface-solid);
  min-width: 210px;
}
.bx-panel-foot {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-200);
  margin: 16px 0 0;
  border-top: 1px solid var(--border-1);
  padding-top: 12px;
}

/* --------------------------------------------------------- Use cases --- */
.bx-usecases-head { margin-bottom: 12px; }
.bx-usecases-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.bx-usecases-head p {
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-100);
  max-width: 540px;
}
.bx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.bx-card {
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bx-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-lg);
}
.bx-card .bx-tag { align-self: flex-start; margin-bottom: 14px; }
.bx-card-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.bx-card-body {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-100);
  flex: 1;
}
.bx-card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-200);
  border-top: 1px solid var(--border-1);
  padding-top: 12px;
}

/* ----------------------------------------------------------- Details --- */
.bx-faq-head { align-items: center; }
.bx-faq-head h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
}
.bx-faq-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bx-faq {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: 100%;
}
.bx-faq-item { border-bottom: 1px solid var(--border-2); }
.bx-faq-item > summary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-50);
  list-style: none;
}
.bx-faq-item > summary::-webkit-details-marker { display: none; }
.bx-faq-q { display: flex; align-items: center; gap: 12px; }
.bx-faq-q::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-500);
  border-radius: 1px;
  flex: none;
}
.bx-faq-chevron {
  flex: none;
  display: flex;
  color: var(--warm-neutral-500);
  transition: transform 0.2s ease;
}
.bx-faq-item[open] .bx-faq-chevron { transform: rotate(180deg); }
.bx-faq-item p {
  margin: 0;
  padding: 0 32px 18px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-100);
}

/* --------------------------------------------------------- Final CTA --- */
.bx-final { padding: 56px var(--pad) 80px; }
.bx-final-card {
  background:
    radial-gradient(100% 120% at 0% 100%, rgba(255, 200, 184, 0.5), rgba(252, 251, 249, 0) 55%),
    radial-gradient(80% 100% at 100% 0%, rgba(255, 200, 184, 0.4), rgba(252, 251, 249, 0) 50%),
    var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 96px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bx-final-card h2 {
  margin: 0 auto 36px;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 760px;
  text-wrap: balance;
  position: relative;
}
.bx-final-lede {
  margin: -16px auto 32px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-100);
  max-width: 540px;
  text-wrap: pretty;
  position: relative;
}
.bx-final-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
  margin: 14px 0 0;
  position: relative;
}
.bx-bolt {
  position: absolute;
  left: clamp(96px, 12vw, 155px);
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  height: clamp(105px, 11.9vw, 157px);
  width: auto;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .bx-bolt { left: 48px; height: 100px; top: auto; bottom: 20px; transform: rotate(-6deg); }
}
@media (max-width: 800px) {
  .bx-bolt { height: 76px; left: 24px; opacity: 0.9; }
}
@media (max-width: 560px) {
  .bx-bolt { display: none; }
}

/* ------------------------------------------------------------ Footer --- */
.bx-footer {
  border-top: 1px solid var(--border-2);
  background: var(--surface-2);
}
.bx-footer-top {
  padding: 56px var(--pad) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.bx-footer-brand { min-width: 160px; }
.bx-footer-brand img { height: 20px; width: auto; display: block; margin-bottom: 12px; }
.bx-footer-tagline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
}
.bx-footer-tagline svg { flex: none; display: block; color: var(--text-50); }
.bx-footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.bx-footer-heading {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
  margin-bottom: 14px;
}
.bx-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.bx-footer-links a { color: var(--text-100); }
.bx-footer-bottom {
  padding: 0 var(--pad) 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
}

/* ------------------------------------------------- Creator guide only --- */
.bx-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: bx-flow;
}
.bx-flow > li {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.bx-flow > li::before {
  counter-increment: bx-flow;
  content: '0' counter(bx-flow);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-500);
  margin-bottom: 16px;
}

.bx-flow .bx-step-body { margin: 0 0 20px; }

.bx-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.bx-fact {
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.bx-fact dt {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
  font-weight: 500;
}
.bx-fact dd {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.bx-fact-note { margin: 6px 0 0; font-size: 13px; color: var(--text-200); }

.bx-kv {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.bx-kv > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-1);
}
.bx-kv > div:last-child { border-bottom: 0; }
.bx-kv dt { font-size: 14px; color: var(--text-200); }
.bx-kv dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.bx-rules {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.bx-rules li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-100);
}
.bx-rules strong { color: var(--text-50); font-weight: 600; }

.bx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

/* -------------------------------------------------------------- Blog --- */
.bx-hero--page {
  padding: 56px var(--pad) 36px;
  align-items: flex-start;
  text-align: left;
}
.bx-hero--page h1 {
  font-size: clamp(36px, 5vw, 56px);
  max-width: 720px;
}
.bx-hero--page .bx-hero-lede {
  max-width: 560px;
}

.bx-posts {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px var(--pad) 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bx-post-card {
  display: grid;
  gap: 10px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bx-post-card:hover {
  border-color: rgba(255, 115, 76, 0.45);
  box-shadow: var(--shadow-lg);
  color: var(--text-50);
}
.bx-post-card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-200);
}
.bx-post-card h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.bx-post-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-100);
}
.bx-post-card-more {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-600);
}

.bx-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px var(--pad) 96px;
}
.bx-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-100);
}
.bx-article-back:hover { color: var(--primary-600); }
.bx-article header h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.bx-article-dek {
  margin: 16px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--text-100);
}
.bx-article-meta {
  margin: 14px 0 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-200);
}
.bx-article-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-100);
}
.bx-article-body p {
  margin: 0 0 1.25em;
}
.bx-article-body p:has(+ ul),
.bx-article-body p:has(+ ol) {
  margin-bottom: 0.65em;
}
.bx-article-body h2 {
  margin: 2.4em 0 0.7em;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-50);
}
.bx-article-body h3 {
  margin: 1.7em 0 0.4em;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-50);
}
.bx-article-body h2 + h3 {
  margin-top: 0.85em;
}
.bx-article-body a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bx-article-body a:hover { color: var(--primary-400); }
.bx-article-body ul,
.bx-article-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}
.bx-article-body li { margin: 0; }
.bx-article-body li + li { margin-top: 0.55em; }
.bx-article-body li::marker { color: var(--primary-500); }
.bx-article-body strong { color: var(--text-50); font-weight: 600; }
.bx-article-body > :last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .bx-2col,
  .bx-case-posts { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .bx-nav-actions { gap: 10px; }
  .bx-estimates { grid-template-columns: 1fr; }
  .bx-post-thumb { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bx-marquee-track { animation: none; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
