/* ────────────────────────────────────────────────────────────────────────────
   ark ai — resources page
   White, editorial. Instrument Serif display + Geist body (default).
   Two font alternates: "modern" (all-sans, Geist) and "tech" (mono accents).
   ──────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg, #fafaf7);
  color: var(--ink, #111);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ark-root {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  transition: background 0.4s ease, color 0.4s ease;
}

/* Font pairings ─────────────────────────────────────────────────────────── */
.font-editorial .hero-title,
.font-editorial .card-title,
.font-editorial .library-h2,
.font-editorial .hero-unlocked-title,
.font-editorial .wordmark {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.font-editorial .hero-title em,
.font-editorial .card-title em { font-style: italic; }

.font-modern .hero-title,
.font-modern .card-title,
.font-modern .library-h2,
.font-modern .hero-unlocked-title,
.font-modern .wordmark {
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.font-modern .hero-title em,
.font-modern .card-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
}

.font-tech .hero-title,
.font-tech .card-title,
.font-tech .library-h2,
.font-tech .hero-unlocked-title,
.font-tech .wordmark {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.font-tech .hero-title em,
.font-tech .card-title em {
  font-style: normal;
  color: var(--accent);
}

/* Top nav ───────────────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.topnav-left { display: flex; align-items: center; gap: 10px; }
.topnav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; transition: opacity .15s; }
.topnav-brand:hover { opacity: .82; }
.topnav-left svg path { stroke: none; }
.wordmark { font-size: 19px; letter-spacing: -0.02em; }
.topnav-pill {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--rule); border-radius: 100px;
  color: var(--ink-2);
}
.topnav-right { display: flex; align-items: center; gap: 26px; }
.topnav-right a {
  color: var(--ink-2); text-decoration: none; font-size: 14px;
  transition: color 0.15s;
}
.topnav-right a:hover { color: var(--ink); }
.topnav-cta {
  padding: 7px 14px; border: 1px solid var(--ink);
  border-radius: 100px; color: var(--ink) !important;
}
.topnav-cta:hover { background: var(--ink); color: var(--bg) !important; }

/* Eyebrow chips ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 500;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}

/* Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1280px; margin: 0 auto;
  padding: 96px 32px 64px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-submitting { opacity: 0.4; transform: translateY(-8px); pointer-events: none; }

.hero-centered { text-align: center; }
.hero-centered .eyebrow { margin-bottom: 24px; }
.hero-centered .hero-stats { justify-content: center; }
.hero-centered .email-form { max-width: 520px; margin-left: auto; margin-right: auto; }

.hero-title {
  font-size: clamp(40px, 6.8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 400;
  text-wrap: balance;
}
.hero-title em { color: var(--accent); font-style: italic; }
.font-modern .hero-title { font-weight: 600; }
.font-tech .hero-title { font-size: clamp(32px, 4.8vw, 64px); }

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }

/* Email form */
.email-form {
  display: flex; gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -22px rgba(0,0,0,0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-form:focus-within {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -18px color-mix(in srgb, var(--accent) 40%, transparent);
}
.email-input {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--ink);
  font-size: 15px;
}
.email-input::placeholder { color: var(--ink-3); }
.email-cta {
  appearance: none; border: 0;
  padding: 0 22px;
  border-radius: 9px;
  background: var(--accent); color: white;
  font: inherit; font-weight: 500; font-size: 14.5px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.06s;
  white-space: nowrap;
}
.email-cta:hover:not(:disabled) { filter: brightness(0.94); }
.email-cta:active:not(:disabled) { transform: translateY(1px); }
.email-cta:disabled { opacity: 0.55; cursor: not-allowed; }

.hero-fine {
  font-size: 12.5px; color: var(--ink-3);
  margin: 14px 0 0;
}
.hero-centered .hero-fine { text-align: center; }

/* Hero stats */
.hero-stats {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 40px;
  font-size: 13px; color: var(--ink-3);
}
.hero-stat-inline strong {
  color: var(--ink); font-weight: 600; margin-right: 4px;
  font-variant-numeric: tabular-nums;
}
.hero-stat-sep { color: var(--ink-3); }

/* Split hero */
.hero-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-split-right {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 36px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--card-bg);
}
.hero-stat-value {
  font-size: 44px; line-height: 1; font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-family: "Instrument Serif", serif;
}
.font-modern .hero-stat-value { font-family: inherit; font-weight: 600; }
.font-tech .hero-stat-value { font-family: "JetBrains Mono", monospace; font-size: 32px; }
.hero-stat-label {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 6px;
}

/* Minimal hero */
.hero-minimal { text-align: center; padding-top: 140px; }
.hero-minimal .hero-title { font-size: clamp(56px, 9vw, 140px); margin-bottom: 16px; }
.hero-minimal .hero-sub { margin-left: auto; margin-right: auto; }
.hero-minimal .email-form { max-width: 480px; margin: 32px auto 0; }

/* Hero unlocked ─────────────────────────────────────────────────────────── */
.hero-unlocked {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--rule);
  animation: slideDown 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-unlocked-left { display: flex; align-items: center; gap: 14px; }
.check-mark {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
}
.hero-unlocked-title { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.hero-unlocked-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.hero-unlocked-link {
  font-size: 14px; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.hero-unlocked-link:hover { color: var(--ink); border-color: var(--ink); }

/* Library ───────────────────────────────────────────────────────────────── */
.library {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 96px;
}

.library-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
  flex-wrap: wrap;
}
.library-h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0; font-weight: 400;
}
.font-modern .library-h2 { font-weight: 600; }
.library-sub {
  font-size: 13px; color: var(--ink-2); margin: 6px 0 0;
}

.library-controls {
  display: flex; align-items: center; gap: 10px;
}
.search {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0 12px;
  height: 38px;
  color: var(--ink-2);
  transition: border-color 0.15s;
}
.search:focus-within { border-color: var(--ink-2); }
.search input {
  width: 220px; height: 100%; border: 0; outline: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 14px;
}
.search input::placeholder { color: var(--ink-3); }
.search input:disabled { opacity: 0.5; }
.sort {
  appearance: none;
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--card-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23999' d='M0 0h10L5 6z'/></svg>") no-repeat right 12px center;
  font: inherit; font-size: 14px; color: var(--ink);
  cursor: pointer;
}
.sort:disabled { opacity: 0.5; }

/* Filter chips ──────────────────────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.filter-chip {
  appearance: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  background: var(--card-bg);
  color: var(--ink);
  font: inherit; font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover:not(:disabled):not(.active) { background: var(--chip-bg-hover); }
.filter-chip.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.filter-chip .kind-icon { color: currentColor; }
.filter-chip svg { width: 100%; height: 100%; }
.filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; padding: 0 5px; height: 17px;
  font-size: 11px; font-variant-numeric: tabular-nums;
  background: var(--chip-bg); color: var(--ink-2);
  border-radius: 100px;
  margin-left: 2px;
}
.filter-chip.active .filter-count {
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  color: var(--bg);
}
.filter-chip:disabled { opacity: 0.6; cursor: not-allowed; }

/* Grid ──────────────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.grid-cell {
  opacity: 1;
  transform: translateY(0);
}
.grid-unlocked .grid-cell {
  animation: cardIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  animation-delay: var(--stagger, 0ms);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Card ──────────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.2s ease,
              border-color 0.2s;
  height: 100%;
}
.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.card-style-bordered { border: 1px solid var(--rule); }
.card-style-bordered:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.card-style-flat { border: 0; background: var(--chip-bg); }
.card-style-flat:hover { background: var(--chip-bg-hover); transform: translateY(-2px); }
.card-style-shadow {
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 22px -16px rgba(0,0,0,0.18);
}
.card-style-shadow:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 40px -18px rgba(0,0,0,0.28);
  transform: translateY(-3px);
}

.card-art {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-bottom: 1px solid var(--rule);
  background: #fafaf7;
}

.card-body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 10px;
}
.card-body[data-density="compact"] { padding: 16px; gap: 8px; }
.card-body[data-density="comfy"]   { padding: 26px; gap: 14px; }

.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-2);
}
.kind-badge {
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 500;
  font-size: 11px;
}
.kind-badge .kind-icon { color: var(--accent); }
.kind-badge .kind-icon svg { width: 100%; height: 100%; }
.card-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0;
}

.card-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.font-modern .card-title { font-weight: 600; }
.card-body[data-density="comfy"] .card-title { font-size: 26px; }

.card-blurb {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}
.card-body[data-density="compact"] .card-blurb { font-size: 13px; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 4px;
}
.card-length {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: -0.01em;
}
.card-count {
  display: inline-flex; align-items: center; gap: 5px;
}
.card-count::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.card:hover .card-cta {
  background: var(--ink); color: var(--bg);
}
.card.is-locked .card-cta {
  border-color: var(--rule); color: var(--ink-3); cursor: not-allowed;
}
.card.is-locked:hover .card-cta { background: transparent; color: var(--ink-3); }

/* Locked cards ──────────────────────────────────────────────────────────── */
.card.is-locked .card-cta { pointer-events: none; }

/* Library-wide lock treatments — applied to .grid via parent class */
.ark-root:has(.lock-style-blur) .card.is-locked .card-blurb,
.ark-root:has(.lock-style-blur) .card.is-locked .card-title {
  user-select: none;
}

.ark-root:has(.lock-style-dim) .card.is-locked {
  opacity: 0.45;
}
.ark-root:has(.lock-style-dim) .card.is-locked .card-blurb,
.ark-root:has(.lock-style-dim) .card.is-locked .card-title {
  user-select: none;
}

/* Lock bar ──────────────────────────────────────────────────────────────── */
.lock-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: auto;
}
.lock-bar-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 20px;
  border-radius: 100px;
  background: rgba(20, 20, 20, 0.96);
  color: white;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.lock-bar-text { display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.lock-bar-text strong { font-weight: 600; }
.lock-bar-text span { color: rgba(255,255,255,0.6); font-size: 12.5px; }
.lock-bar-cta {
  appearance: none; border: 0;
  padding: 9px 18px; border-radius: 100px;
  background: var(--accent); color: white;
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
}
.lock-bar-cta:hover { filter: brightness(0.94); }

.lock-style-sticky { /* same chrome — kept as default sticky-bar */ }

/* Trust strip ──────────────────────────────────────────────────────────── */
.trust {
  /* Full-bleed for the marquee so cards can travel past the page gutters. */
  max-width: none; margin: 0;
  padding: 64px 0 72px;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.trust-head {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 0 32px;
  text-align: center;
}
.trust-eyebrow {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.trust-h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.font-modern .trust-h2 { font-family: inherit; font-weight: 600; }
.font-tech .trust-h2 { font-family: "JetBrains Mono", monospace; font-size: clamp(22px, 2.6vw, 30px); }
.trust-h2 em { font-style: italic; }
.trust-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* Marquee — two rows, opposite directions, masked at both edges */
.trust-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Soft edge mask so cards fade in/out instead of clipping hard */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.trust-row {
  width: 100%;
  overflow: hidden;
}
.trust-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  padding: 4px 10px;
  animation-duration: var(--marquee-duration, 64s);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  will-change: transform;
}
.trust-row-left  .trust-track { animation-name: marquee-left; }
.trust-row-right .trust-track { animation-name: marquee-right; }
.trust-track:hover { animation-play-state: paused; }
@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  /* Pre-shifted so set B is on-screen at start; loops back to origin */
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
/* The marquee is intentional brand motion, not decoration — keep it moving
   even when prefers-reduced-motion is set, but at half speed for accessibility. */
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation-duration: calc(var(--marquee-duration, 64s) * 2); }
}

.trust-track .testimonial {
  flex: 0 0 380px;
  margin: 0;
}
.quote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--card-bg);
}
.quote blockquote {
  margin: 0 0 18px;
  font-size: 17px; line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-family: "Instrument Serif", serif;
}
.font-modern .quote blockquote { font-family: inherit; font-weight: 500; }
.font-tech .quote blockquote { font-family: "JetBrains Mono", monospace; font-size: 14.5px; }
.quote figcaption {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
}
.quote figcaption strong { color: var(--ink); font-weight: 500; }
.quote figcaption span { color: var(--ink-3); font-size: 12px; }

/* Footer ────────────────────────────────────────────────────────────────── */
.site-foot {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.foot-left { display: flex; align-items: center; gap: 10px; }
.foot-left svg path { stroke: none; }
.foot-right { display: flex; gap: 22px; }
.foot-right a { color: var(--ink-2); }
.foot-right a:hover { color: var(--ink); }
.foot-right a { color: var(--ink-2); text-decoration: none; }
.foot-right a:hover { color: var(--ink); }

/* Dark mode tweaks ─────────────────────────────────────────────────────── */
.is-dark .topnav { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.is-dark .card-art { background: #141414; border-bottom-color: var(--rule); }
.is-dark .card-style-shadow { box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 18px 40px -18px rgba(0,0,0,0.8); }
.is-dark .topnav-cta { border-color: var(--ink); }
.is-dark .topnav-cta:hover { background: var(--ink); color: var(--bg) !important; }
.is-dark .filter-chip.active { background: var(--ink); color: var(--bg); }
.is-dark .email-cta { color: white; }

/* Capture form (name + email + phone) ─────────────────────────────────── */
.capture-form {
  display: flex; flex-direction: column;
  gap: 12px;
  max-width: 520px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -22px rgba(0,0,0,0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.capture-form:focus-within {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -18px color-mix(in srgb, var(--accent) 40%, transparent);
}
.capture-fields {
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  border-radius: 10px;
  overflow: hidden;
}
.capture-field {
  display: flex; flex-direction: column;
  padding: 10px 14px;
  cursor: text;
}
.capture-field + .capture-field {
  border-top: 1px solid var(--rule);
}
.capture-field:focus-within {
  background: var(--card-bg);
}
.capture-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 2px;
}
.capture-label-opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-3);
}
.capture-field input {
  border: 0; outline: 0;
  background: transparent;
  font: inherit; font-size: 15px;
  color: var(--ink);
  padding: 2px 0;
}
.capture-field input::placeholder { color: var(--ink-3); }
.capture-cta {
  appearance: none; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--accent); color: white;
  font: inherit; font-weight: 500; font-size: 14.5px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.06s;
  white-space: nowrap;
}
.capture-cta:hover:not(:disabled) { filter: brightness(0.94); }
.capture-cta:active:not(:disabled) { transform: translateY(1px); }
.capture-cta:disabled { opacity: 0.5; cursor: not-allowed; }

.hero-centered .capture-form { margin-left: auto; margin-right: auto; }
.hero-minimal .capture-form { margin: 32px auto 0; }

/* Testimonials redesign — dark/light card with avatar + brand logo ─────── */
.testimonial {
  margin: 0;
  display: flex; flex-direction: column;
  padding: 28px 28px 22px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--card-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 240px;
}
.testimonial:hover {
  border-color: var(--ink-3);
  box-shadow: 0 6px 24px -16px rgba(0,0,0,0.18);
}
.testimonial-q {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  flex: 1;
}
.testimonial-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 18px;
}
.testimonial-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.testimonial-person {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.testimonial-avatar {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.testimonial-who {
  display: flex; flex-direction: column; gap: 1px;
  min-width: 0;
}
.testimonial-who strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimonial-who span {
  font-size: 12px;
  color: var(--ink-3);
}
.testimonial-brand {
  color: var(--ink);
  opacity: 0.72;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.testimonial-brand svg {
  display: block;
  height: 20px;
  width: auto;
  max-width: 100px;
}

/* Empty state */
.empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
  font-family: "Instrument Serif", serif;
  font-size: 22px;
}

/* Modal ─────────────────────────────────────────────────────────────────── */
.modal-shroud {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 20, 20, 0.42);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 24px;
  overflow-y: auto;
  opacity: 1;
  animation: modalShroudIn 0.18s ease;
}
@keyframes modalShroudIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.modal {
  position: relative;
  width: min(720px, 100%);
  background: var(--card-bg);
  color: var(--ink);
  border-radius: 18px;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: modalEnter 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalEnter {
  0% { opacity: 0; transform: translateY(16px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-x {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 100px;
  background: rgba(255,255,255,0.9);
  color: #111;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.15s;
}
.modal-x:hover { background: white; }
.is-dark .modal-x { background: rgba(40,40,40,0.95); color: #fff; }
.is-dark .modal-x:hover { background: rgba(60,60,60,0.95); }

.modal-hero {
  width: 100%;
  aspect-ratio: 5 / 2.2;
  overflow: hidden;
  position: relative;
}
.modal-hero .card-art {
  width: 100%; height: 100%;
  aspect-ratio: auto;
  border-bottom: 1px solid var(--rule);
}
.modal-hero .card-art svg { width: 100%; height: 100%; }
/* hide the small per-card number stamp inside the big modal hero */
.modal-hero .card-art svg > text { display: none; }

.modal-body {
  padding: 32px 36px 36px;
  display: flex; flex-direction: column; gap: 20px;
}

.modal-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.modal-meta-sep { color: var(--ink-3); }
.modal-meta .kind-badge .kind-icon { color: var(--accent); }

.modal-title {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.font-modern .modal-title { font-family: "Geist", ui-sans-serif, sans-serif; font-weight: 600; }
.font-tech   .modal-title { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: clamp(26px, 3vw, 36px); }

.modal-lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
  max-width: 56ch;
}

.modal-section {
  padding-top: 6px;
  display: flex; flex-direction: column; gap: 12px;
}

.modal-unlock { width: min(560px, 100%); }
.modal-unlock .modal-body { padding-top: 40px; }
.modal-fine {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 4px 0 0;
}
.modal-section-h {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.modal-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.modal-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--ink);
  line-height: 1.5;
  padding-left: 2px;
}
.modal-list-dot {
  flex: 0 0 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

.modal-actions {
  display: flex; align-items: center; gap: 12px;
  padding-top: 6px;
  flex-wrap: wrap;
}
.modal-action {
  appearance: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 100px;
  border: 0;
  font: inherit; font-size: 14.5px; font-weight: 500;
  cursor: pointer;
  transition: filter 0.15s, transform 0.06s, background 0.15s;
}
.modal-action.primary {
  background: var(--accent); color: white;
}
.modal-action.primary:hover { filter: brightness(0.94); }
.modal-action.primary:active { transform: translateY(1px); }
.modal-action.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.modal-action.secondary:hover { background: var(--chip-bg-hover); }

.modal-action-fine {
  font-size: 12px;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
}

.modal-sent {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--ink);
  font-size: 14px;
}
.modal-sent-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Related */
.modal-related {
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.modal-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.modal-related-card {
  appearance: none;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  transition: all 0.15s;
}
.modal-related-card:hover {
  background: var(--chip-bg-hover);
  border-color: var(--ink-2);
  transform: translateY(-1px);
}
.modal-related-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.modal-related-title {
  font-family: "Instrument Serif", serif;
  font-size: 19px; line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.font-modern .modal-related-title { font-family: inherit; font-weight: 600; }
.font-tech   .modal-related-title { font-family: "JetBrains Mono", monospace; font-size: 14px; }
.modal-related-blurb {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Make card row keyboard-friendly */
.card[role="button"] { cursor: pointer; }
.card[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero { padding: 72px 24px 48px; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split-right { grid-template-columns: repeat(3, 1fr); }
  .topnav { padding: 14px 20px; }
  .topnav-right { gap: 16px; }
  .library { padding: 48px 24px 80px; }
  .library-head { flex-direction: column; align-items: stretch; }
  .library-controls { width: 100%; }
  .search input { width: 100%; }
  .search { flex: 1; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .trust { padding: 48px 0 56px; }
  .trust-head { padding: 0 24px; margin-bottom: 32px; }
  .trust-track .testimonial { flex-basis: 300px; }
  .testimonial { padding: 22px 22px 18px; min-height: 220px; }
  .site-foot { padding: 24px 24px 36px; }
}
@media (max-width: 560px) {
  .topnav-pill { display: none; }
  .topnav-right { gap: 12px; }
  .topnav-right a:not(.topnav-cta) { display: none; }
  .email-form { flex-direction: column; padding: 8px; }
  .email-cta { padding: 14px; }
  .hero-split-right { grid-template-columns: 1fr; }
  .lock-bar { left: 12px; right: 12px; transform: none; bottom: 12px; }
  .lock-bar-inner { padding: 6px; gap: 0; }
  .lock-bar-text { display: none; }
  .lock-bar-cta { flex: 1; text-align: center; padding: 14px 16px; font-size: 14px; font-weight: 600; }
  .modal-shroud { padding: 24px 12px; }
  .modal-body { padding: 24px 22px 28px; }
  .modal-actions { flex-direction: column; align-items: stretch; }
  .modal-action { justify-content: center; }
  .modal-action-fine { text-align: center; }
}

/* ── Gym hero art + number bar ─────────────────────────────────────────────
   Added 2026-05-20. All color via var(--accent) so the theme is unchanged. */
.hero-art-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-art-hero .eyebrow { margin-bottom: 20px; }
.hero-art-hero .hero-title { margin-bottom: 20px; }
.hero-art-hero .hero-sub { margin-bottom: 28px; }
.hero-art-hero .capture-form,
.hero-art-hero .email-form { max-width: 560px; }

/* Right column — animated "bundle" card cluster (ported from the gym standalone
   design). Source coral became var(--accent), so it inherits the page theme. */
.hero-art-right { min-width: 0; display: flex; flex-direction: column; gap: 14px; max-width: 520px; width: 100%; margin: 0 auto; }

.hero-side-caption { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; padding: 0 4px; }
.hero-side-caption-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: var(--accent); }

.bundle-stack { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 1 / 1.05; isolation: isolate; }
.bundle-stack::before {
  content: ""; position: absolute; inset: 8% 6%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}

.bundle-pill {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px;
  background: var(--card-bg); border: 1px solid var(--rule);
  font-size: 12.5px; color: var(--ink); letter-spacing: -0.005em; z-index: 20; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04), 0 12px 28px -16px rgba(0,0,0,0.18);
}
.bundle-pill strong { font-weight: 600; }
.bundle-pill-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: var(--accent); animation: bundle-pulse 2.2s ease-in-out infinite; }
@keyframes bundle-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.85); } }

.bundle-tag {
  position: absolute; z-index: 15; padding: 4px 10px; border-radius: 100px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--card-bg); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,0.15); white-space: nowrap; pointer-events: none;
}
.bundle-tag-1 { top: 7%;  left: -2%; transform: rotate(-6deg); }
.bundle-tag-2 { top: 42%; left: 84%; transform: rotate(8deg); }
.bundle-tag-3 { top: 70%; left: 78%; transform: rotate(6deg); }
.bundle-tag-4 { top: 88%; left: -2%; transform: rotate(-4deg); }

.bundle-item { position: absolute; z-index: 5; }
.bundle-inner { width: 100%; height: 100%; animation: bundleFloat 7s ease-in-out infinite; transform-origin: center; }
.bundle-item-playbook .bundle-inner { animation-delay: 0s; }
.bundle-item-phone    .bundle-inner { animation-delay: 1.8s; }
.bundle-item-ad       .bundle-inner { animation-delay: 0.8s; }
.bundle-item-dash     .bundle-inner { animation-delay: 2.6s; }
@keyframes bundleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.bcard {
  width: 100%; height: 100%; background: var(--card-bg); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 12px 28px -16px rgba(0,0,0,0.18), 0 40px 60px -40px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
}

.bundle-item-playbook { top: 2%; left: 0%; width: 44%; height: 56%; transform: rotate(-7deg); z-index: 4; }
.bcard-playbook { padding: 16px 16px 14px; background: linear-gradient(180deg, #fefdfa 0%, #f7f3ea 100%); }
.bcard-corner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bcard-eyebrow { font-size: 9px; letter-spacing: 0.12em; font-weight: 600; color: var(--accent); }
.bcard-num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; color: var(--ink-3); }
.bcard-title { font-family: "Instrument Serif", "Times New Roman", serif; font-size: clamp(18px, 2.2vw, 24px); font-weight: 400; font-style: italic; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--ink); }
.font-modern .bcard-title { font-family: inherit; font-style: normal; font-weight: 600; }
.font-tech   .bcard-title { font-family: "JetBrains Mono", monospace; font-style: normal; font-weight: 500; font-size: 14px; }
.bcard-period { font-style: italic; color: var(--accent); }
.bcard-art { flex: 1; padding: 8px 0; display: flex; align-items: center; min-height: 40px; }
.bcard-foot { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 10.5px; color: var(--ink-3); font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: -0.01em; }
.bcard-meta-sep { opacity: 0.5; }

.bundle-item-phone { top: 9%; left: 36%; width: 39%; height: 68%; transform: rotate(2.5deg); z-index: 7; }
.bcard-phone { border-radius: 18px; background: #fff; }
.is-dark .bcard-phone { background: #181818; }
.bphone-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--ink) 2%, transparent); }
.bphone-avatar { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 700; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #111)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.bphone-bar-text { min-width: 0; flex: 1; }
.bphone-name { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.bphone-status { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--ink-3); }
.bphone-dot { width: 5px; height: 5px; border-radius: 50%; background: #1F8A5B; box-shadow: 0 0 0 2px rgba(31,138,91,0.18); animation: bphone-pulse 2s ease-in-out infinite; }
@keyframes bphone-pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(31,138,91,0.18); } 50% { box-shadow: 0 0 0 4px rgba(31,138,91,0.06); } }
.bphone-body { padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 1.5%, transparent) 0%, transparent 100%); flex: 1; }
.bphone-row { display: flex; max-width: 86%; }
.bphone-row-them { align-self: flex-start; }
.bphone-row-us { align-self: flex-end; justify-content: flex-end; }
.bphone-bubble { padding: 7px 10px; border-radius: 12px; font-size: 11px; line-height: 1.35; text-wrap: pretty; }
.bphone-them { background: color-mix(in srgb, var(--ink) 7%, var(--card-bg)); color: var(--ink); border-bottom-left-radius: 4px; }
.bphone-us { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bphone-event { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; margin-top: 4px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 100px; font-size: 9.5px; color: var(--ink); letter-spacing: -0.005em; }
.bphone-event-dot { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 5px; background: var(--accent); }
.bphone-event strong { font-weight: 600; }

.bundle-item-ad { top: 28%; left: 64%; width: 38%; height: 50%; transform: rotate(8deg); z-index: 5; }
.bcard-ad { background: #fff; }
.is-dark .bcard-ad { background: #181818; }
.bad-chrome { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 10px; }
.bad-chrome-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #111, #444); flex: 0 0 22px; }
.bad-chrome-text { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; }
.bad-chrome-text strong { font-size: 10.5px; font-weight: 600; color: var(--ink); }
.bad-chrome-text span { font-size: 9px; color: var(--ink-3); }
.bad-chrome-more { color: var(--ink-3); font-size: 12px; letter-spacing: -0.5px; }
.bad-creative { flex: 1; background: radial-gradient(ellipse at top left, color-mix(in srgb, var(--accent) 18%, #111) 0%, #111 70%); color: #fff; padding: 14px 14px 12px; display: flex; flex-direction: column; justify-content: space-between; min-height: 70px; }
.bad-stat { font-family: "Instrument Serif", "Times New Roman", serif; font-size: clamp(28px, 3.4vw, 38px); font-weight: 400; font-style: italic; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.font-modern .bad-stat { font-family: inherit; font-style: normal; font-weight: 600; }
.font-tech   .bad-stat { font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 22px; }
.bad-stat-label { font-size: 8.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); margin-top: 2px; margin-bottom: 8px; }
.bad-cta-row { display: flex; }
.bad-cta { display: inline-flex; padding: 6px 10px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: -0.005em; }
.bad-actions { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--rule); font-size: 10px; color: var(--ink-2); }

.bundle-item-dash { top: 70%; left: 8%; width: 60%; height: 28%; transform: rotate(-4deg); z-index: 6; }
.bcard-dash { padding: 12px 14px; background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--ink) 2%, #fff) 100%); }
.is-dark .bcard-dash { background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%); }
.bdash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 9px; }
.bdash-eyebrow { letter-spacing: 0.12em; color: var(--ink-3); font-weight: 600; }
.bdash-date { color: var(--ink-3); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; }
.bdash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bdash-stat { display: flex; flex-direction: column; gap: 0; }
.bdash-stat strong { font-family: "Instrument Serif", "Times New Roman", serif; font-size: clamp(22px, 2.6vw, 28px); font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.font-modern .bdash-stat strong { font-family: inherit; font-weight: 600; }
.font-tech   .bdash-stat strong { font-family: "JetBrains Mono", monospace; font-size: 18px; }
.bdash-stat-accent { color: var(--accent); }
.bdash-stat-accent strong { color: inherit; }
.bdash-stat span { font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 4px; }
.bdash-bar { margin-top: 10px; height: 3px; background: color-mix(in srgb, var(--ink) 6%, transparent); border-radius: 100px; overflow: hidden; }
.bdash-bar-fill { height: 100%; border-radius: 100px; background: var(--accent); }
.bdash-foot { margin-top: 6px; font-size: 9.5px; color: var(--ink-3); letter-spacing: -0.005em; }

.is-dark .bundle-stack::before { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 70%); }
.is-dark .bcard { box-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 12px 28px -16px rgba(0,0,0,0.7), 0 40px 60px -40px rgba(0,0,0,0.8); }
.is-dark .bcard-playbook { background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%); }

/* Number bar */
.statbar { max-width: 1280px; margin: 0 auto; padding: 8px 32px 24px; }
.statbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.statbar-item { padding: 30px 24px 30px 30px; border-left: 1px solid var(--rule); }
.statbar-item:first-child { border-left: 0; padding-left: 0; }
.statbar-value {
  font-family: "Instrument Serif", serif; font-size: 46px; line-height: 1;
  color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.statbar-item:first-child .statbar-value { color: var(--accent); }
.statbar-label { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.35; max-width: 20ch; }

@media (prefers-reduced-motion: reduce) {
  .bundle-inner, .bundle-pill-dot, .bphone-dot { animation: none; }
}
@media (max-width: 920px) {
  .hero-art-hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-art-right { max-width: 460px; }
  .statbar-inner { grid-template-columns: repeat(2, 1fr); }
  .statbar-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .statbar-item:nth-child(1), .statbar-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  /* Keep the 2×2 grid from the 920px rule — no tall vertical stack on phones. */
  .statbar { padding: 8px 16px 20px; }
  .statbar-item { padding: 18px 12px; }
  .statbar-item:nth-child(odd) { padding-left: 2px; }
  .statbar-value { font-size: 30px; }
  .statbar-label { font-size: 11px; margin-top: 6px; max-width: 18ch; }
  .bundle-stack { max-width: 380px; }
  .bundle-tag { font-size: 9.5px; padding: 3px 8px; }
  .bcard-title { font-size: 16px; }
  .bphone-bubble { font-size: 10px; }
  .bdash-stat strong { font-size: 20px; }
  .bad-stat { font-size: 24px; }
}

/* Text wordmark fallback for testimonials without a bespoke SVG logo */
.testimonial-brand-name {
  font-family: "Geist", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: -0.2px; white-space: nowrap;
}

/* Real thumbnail image in a library card (gym vault swaps these in via item.image) */
.card-art-img { overflow: hidden; }
.card-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
