/* =========================================================================
   Crux Adjacent Labs — design system v1
   Mercury-anchored palette (dark by default, light via prefers-color-scheme)
   Inter for prose, IBM Plex Mono for technical accents.
   ========================================================================= */

:root {
  /* Dark-mode tokens — Mercury original */
  --surface-canvas: #171721;
  --surface-page: #1e1e2a;
  --surface-elevated: #272735;
  --text-primary: #ededf3;
  --text-secondary: #c3c3cc;
  --text-muted: #82828d;
  --border-subtle: rgba(195, 195, 204, 0.10);
  --border-soft: rgba(195, 195, 204, 0.18);
  --accent: #2F6DF6;
  --accent-hover: #4F86F8;
  --accent-on: #ffffff;
  --accent-soft-bg: rgba(47, 109, 246, 0.12);

  /* Gloss register (Tim's ruling 2026-07-31: treatment A — macOS gloss,
     ONE continuous page background, no section seams) */
  --gloss-hi: rgba(255, 255, 255, 0.10);
  --gloss-card-top: #2b2b3b;
  --glow-a: rgba(47, 109, 246, 0.14);
  --glow-b: rgba(47, 109, 246, 0.06);
  --header-glass: rgba(23, 23, 33, 0.72);
  --shadow-card: rgba(0, 0, 0, 0.35);
  --shadow-card-hover: rgba(0, 0, 0, 0.45);

  /* Typography */
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-serif: Georgia, "Times New Roman", "Times", serif;

  /* Mercury type scale (lightly tuned for content-forward use) */
  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 17px;
  --text-subheading: 19px;
  --text-heading-sm: 22px;
  --text-heading: 32px;
  --text-heading-lg: 48px;
  --text-display: 64px;

  /* Mercury spacing scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-56: 56px;
  --space-72: 72px;
  --space-80: 80px;
  --space-112: 112px;
  --space-128: 128px;

  --page-max-width: 1200px;
  --prose-max-width: 720px;
}

@media (prefers-color-scheme: light) {
  :root {
    --surface-canvas: #f6f6f9;
    --surface-page: #ffffff;
    --surface-elevated: #fafafc;
    --text-primary: #171721;
    --text-secondary: #4a4a5a;
    --text-muted: #82828d;
    --border-subtle: rgba(23, 23, 33, 0.08);
    --border-soft: rgba(23, 23, 33, 0.14);
    --accent: #2F6DF6;
    --accent-hover: #1F5AE8;
    --accent-on: #ffffff;
    --accent-soft-bg: rgba(47, 109, 246, 0.10);

    --gloss-hi: rgba(255, 255, 255, 0.65);
    --gloss-card-top: #ffffff;
    --glow-a: rgba(47, 109, 246, 0.07);
    --glow-b: rgba(47, 109, 246, 0.04);
    --header-glass: rgba(246, 246, 249, 0.80);
    --shadow-card: rgba(23, 23, 33, 0.10);
    --shadow-card-hover: rgba(23, 23, 33, 0.16);
  }
}

/* -------------------------------------------------------------------------
   Reset and base
   ------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* ONE continuous background for the whole page — sections are transparent
     so no gradient seam can appear between them (Tim, 2026-07-31) */
  background:
    radial-gradient(ellipse 60rem 34rem at 12% -6%, var(--glow-a), transparent 70%),
    radial-gradient(ellipse 44rem 30rem at 92% 38%, var(--glow-b), transparent 70%),
    var(--surface-canvas);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover { color: var(--accent-hover); }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--space-32);
}

@media (max-width: 720px) {
  .container { padding: 0 var(--space-20); }
}

.section {
  padding: var(--space-112) 0;
  background: transparent; /* the body owns the background — no banding */
}

.section--page {
  background: transparent;
}

.section--tight { padding: var(--space-72) 0; }

@media (max-width: 720px) {
  .section { padding: var(--space-72) 0; }
  .section--tight { padding: var(--space-56) 0; }
}

/* -------------------------------------------------------------------------
   Buttons — macOS gloss (treatment A, Tim's pick 2026-07-31)
   ------------------------------------------------------------------------- */

.btn {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.5rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    border-color 160ms ease, filter 160ms ease;
  white-space: nowrap;
}

.btn--sm { font-size: 0.84rem; min-height: 38px; padding: 0.45rem 1.1rem; }

.btn--primary {
  background: linear-gradient(180deg, #5f90fa 0%, #2F6DF6 52%, #2559d8 100%);
  border: 1px solid rgba(13, 34, 90, 0.65);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 10px 26px rgba(47, 109, 246, 0.32);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.btn--primary:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 14px 34px rgba(47, 109, 246, 0.42);
}

.btn--secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
}

.btn--secondary:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  color: var(--text-primary);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: light) {
  .btn--secondary {
    background: linear-gradient(180deg, #ffffff, #eef0f5);
    border: 1px solid var(--border-soft);
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(23, 23, 33, 0.14);
  }
  .btn--secondary:hover {
    background: linear-gradient(180deg, #ffffff, #f5f6fa);
  }
}

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: var(--text-heading-lg);
  font-weight: 300;
  line-height: 1.10;
  letter-spacing: -0.012em;
  margin: 0;
}

.heading {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 400;
  line-height: 1.20;
  letter-spacing: -0.008em;
  margin: 0;
}

.heading-sm {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  font-weight: 500;
  line-height: 1.30;
  letter-spacing: -0.003em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.lede {
  font-family: var(--font-body);
  font-size: var(--text-subheading);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.muted { color: var(--text-muted); }

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

@media (max-width: 720px) {
  .display { font-size: 44px; }
  .heading-lg { font-size: 34px; }
  .heading { font-size: 26px; }
}

/* -------------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  /* glassy, top-lit (treatment A) — translucent so the blur reads */
  background:
    linear-gradient(180deg, var(--gloss-hi), transparent),
    var(--header-glass);
  box-shadow: inset 0 1px 0 var(--gloss-hi);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-primary);
}

.brand__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.brand:hover { color: var(--text-primary); }

/* Serif wordmark — matches the brand pack logotype (Georgia, "Labs" in accent) */
.brand__text {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.brand__mark { color: var(--accent); }

.site-nav {
  display: flex;
  gap: var(--space-32);
}

.site-nav a {
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  font-weight: 400;
}

.site-nav a:hover { color: var(--text-primary); }

@media (max-width: 560px) {
  .site-nav { gap: var(--space-20); }
  .site-nav a { font-size: 13px; }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  padding: var(--space-128) 0 var(--space-112);
}

.hero__eyebrow { margin-bottom: var(--space-24); }
.hero__title { margin-bottom: var(--space-32); max-width: 16ch; }
.hero__lede { max-width: 56ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-40);
}

@media (max-width: 720px) {
  .hero { padding: var(--space-72) 0 var(--space-56); }
}

/* -------------------------------------------------------------------------
   Focus areas (three columns)
   ------------------------------------------------------------------------- */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-40) var(--space-56);
  margin-top: var(--space-56);
}

@media (max-width: 720px) {
  .focus-grid { grid-template-columns: 1fr; gap: var(--space-32); }
}

.focus-item__label {
  margin-bottom: var(--space-16);
}

.focus-item__title {
  margin-bottom: var(--space-12);
}

.focus-item__body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Area cards (home page — large, clickable, one per area of inquiry)
   ------------------------------------------------------------------------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-56);
}

@media (max-width: 720px) {
  .area-grid { grid-template-columns: 1fr; }
}

.area-card {
  display: flex;
  flex-direction: column;
  /* top-lit gloss card (treatment A) */
  background: linear-gradient(180deg, var(--gloss-card-top), var(--surface-elevated) 60%);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: var(--space-40);
  box-shadow: inset 0 1px 0 var(--gloss-hi), 0 14px 36px var(--shadow-card);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  color: var(--text-primary);
}

.area-card:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--gloss-hi), 0 20px 48px var(--shadow-card-hover);
}

.area-card__label {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: var(--space-16);
}

.area-card__title {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--space-16) 0;
  color: var(--text-primary);
}

.area-card__body {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0 0 var(--space-24) 0;
  flex: 1;
}

.area-card__inside {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 var(--space-20) 0;
}

.area-card__cta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.area-card__cta::after { content: " →"; }

@media (max-width: 720px) {
  .area-card { padding: var(--space-32); }
  .area-card__title { font-size: 26px; }
}

/* -------------------------------------------------------------------------
   People (who's behind the lab)
   ------------------------------------------------------------------------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-56);
}

@media (max-width: 860px) {
  .people-grid { grid-template-columns: 1fr; }
}

.person-card {
  padding: var(--space-32);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--surface-elevated);
}

.person-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-12) 0;
}

.person-card__name {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  font-weight: 500;
  letter-spacing: -0.003em;
  color: var(--text-primary);
  margin: 0 0 var(--space-12) 0;
}

.person-card__body {
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Project cards (used on area pages to list the work within an area)
   ------------------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-40);
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: var(--space-32);
  transition: border-color 160ms ease, transform 160ms ease;
  color: var(--text-primary);
}

.project-card:hover {
  border-color: var(--border-soft);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.project-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-20);
}

.project-card__status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.project-card__status--active::before { background: var(--accent); }
.project-card__status--active { color: var(--text-secondary); }

.project-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0 0 var(--space-12) 0;
  color: var(--text-primary);
}

.project-card__body {
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
  line-height: 1.55;
  margin: 0 0 var(--space-24) 0;
  flex: 1;
}

.project-card__cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-card__cta::after {
  content: " →";
}

/* Non-linked project entry — named work whose detail page isn't published yet */
.project-card--soon { cursor: default; }
.project-card--soon:hover {
  transform: none;
  border-color: var(--border-subtle);
}

.project-card__soon {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   Adjacent / linked work strip (VentureOS, AgentOS)
   ------------------------------------------------------------------------- */

.adjacent {
  margin-top: var(--space-56);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

@media (max-width: 720px) {
  .adjacent { grid-template-columns: 1fr; }
}

.adjacent-item {
  padding: var(--space-24) var(--space-32);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
}

.adjacent-item__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-8) 0;
}

.adjacent-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 var(--space-8) 0;
}

.adjacent-item__body {
  font-size: var(--text-body-sm);
  line-height: 1.55;
  margin: 0 0 var(--space-12) 0;
}

.adjacent-item__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Contact section
   ------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-56);
  margin-top: var(--space-40);
}

@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; gap: var(--space-32); }
}

.contact__title { margin-bottom: var(--space-16); }

.contact__body {
  color: var(--text-secondary);
  margin: 0 0 var(--space-24) 0;
  max-width: 52ch;
}

.contact__email {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  letter-spacing: 0.005em;
}

.newsletter-slot {
  padding: var(--space-32);
  border: 1px dashed var(--border-soft);
  border-radius: 4px;
  background: transparent;
}

.newsletter-slot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-12) 0;
}

.newsletter-slot__body {
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* Live (published) newsletter — solid card with read + subscribe actions */
.newsletter-slot--live {
  border-style: solid;
  border-color: var(--border-subtle);
  background: var(--surface-elevated);
}

.newsletter-slot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  margin: var(--space-20) 0 0 0;
}

.newsletter-slot__actions a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-56) 0 var(--space-40);
  background: transparent; /* the body owns the background — hairline only */
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-40);
}

@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-24); }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 var(--space-12) 0;
}

.site-footer__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.site-footer__tagline {
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  margin: 0;
  max-width: 40ch;
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-16) 0;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: var(--space-8);
  font-size: var(--text-body-sm);
}

.site-footer__list a { color: var(--text-secondary); }
.site-footer__list a:hover { color: var(--text-primary); }

.site-footer__meta {
  margin-top: var(--space-40);
  padding-top: var(--space-24);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .site-footer__meta { flex-direction: column; gap: var(--space-8); }
}

/* -------------------------------------------------------------------------
   Drill-down (project page) layout
   ------------------------------------------------------------------------- */

.back-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-40);
  display: inline-block;
}

.back-link:hover { color: var(--text-primary); }
.back-link::before { content: "← "; }

.project-page {
  padding: var(--space-72) 0 var(--space-112);
}

.project-page__eyebrow { margin-bottom: var(--space-16); }
.project-page__title { margin-bottom: var(--space-20); }

.project-page__status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  margin-top: var(--space-32);
  margin-bottom: var(--space-56);
  padding: var(--space-20) var(--space-24);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--surface-elevated);
}

.status-cell__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-4) 0;
}

.status-cell__value {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-primary);
  margin: 0;
}

.prose {
  max-width: var(--prose-max-width);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  font-weight: 500;
  margin: var(--space-56) 0 var(--space-16) 0;
  letter-spacing: -0.003em;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-20) 0;
  line-height: 1.65;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 500;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--accent-soft-bg);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--text-primary);
}

/* -------------------------------------------------------------------------
   Ventures (hub banner — previews the venture register: dark, evidence-room)
   ------------------------------------------------------------------------- */

.venture-banner {
  background:
    radial-gradient(ellipse 30rem 16rem at 88% -20%, rgba(47, 109, 246, 0.22), transparent),
    #0e0e16;
  border: 1px solid rgba(242, 242, 246, 0.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 24px 60px rgba(0, 0, 0, 0.40);
  color: #f2f2f6;
  display: block;
  margin-top: var(--space-56);
  overflow: hidden;
  padding: var(--space-56) var(--space-56) var(--space-40);
  position: relative;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.venture-banner:hover {
  border-color: rgba(119, 160, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(119, 160, 255, 0.25),
    0 30px 80px rgba(47, 109, 246, 0.22);
  transform: translateY(-3px);
}

.venture-banner__kicker {
  color: #77a0ff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.venture-banner__title {
  font-size: clamp(26px, 3.4vw, 40px);
  /* 600 is the heaviest Inter weight the hub loads — anything above renders
     as synthetic bold (the cheap fake-bold look). Never exceed loaded weights. */
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: var(--space-16);
  max-width: 24ch;
}

.venture-banner__body {
  color: rgba(242, 242, 246, 0.66);
  font-size: var(--text-body);
  margin-top: var(--space-16);
  max-width: 58ch;
}

.venture-banner__cta {
  color: #77a0ff;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  margin-top: var(--space-24);
}

@media (max-width: 720px) {
  .venture-banner { padding: var(--space-40) var(--space-32); }
}
