/* ==========================================================================
   HODL LABS - FZCO landing styles
   ========================================================================== */

:root {
  --bg: #11151C;
  --bg-2: #151B24;
  --surface: #1A202A;
  --surface-2: #202733;
  --border: rgba(255, 255, 255, 0.095);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F7F7F4;
  --text-dim: #B8BEC7;
  --text-mute: #747B85;
  --accent: #D6D8DC;
  --accent-2: #FFFFFF;
  --accent-soft: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.055);
  --line-bright: rgba(255, 255, 255, 0.18);
  --green: #34D399;
  --amber: #F59E0B;
  --slate: #64748B;

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --max-w: 1100px;
  --pad-x: clamp(20px, 4vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  background: #11151C;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* Offset section anchors so the fixed nav doesn't cover the title */
.section, .hero {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Background
   -------------------------------------------------------------------------- */

.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(920px 580px at 50% -22%, rgba(255, 255, 255, 0.09), transparent 62%),
    radial-gradient(980px 660px at 112% 16%, rgba(184, 190, 199, 0.07), transparent 64%),
    radial-gradient(900px 620px at 50% 112%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(180deg, #151A23 0%, #11151C 48%, #0E1218 100%);
}

.bg-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), rgba(0,0,0,0.36) 45%, transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), rgba(0,0,0,0.36) 45%, transparent 86%);
  opacity: 0.42;
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* --------------------------------------------------------------------------
   Top nav
   -------------------------------------------------------------------------- */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(17, 21, 28, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topnav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  opacity: 0.55;
}

.topnav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.topnav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.topnav-logo {
  width: 42px;
  height: 42px;
  display: block;
}

.topnav-links {
  display: flex;
  gap: 2px;
  min-width: 0;
}

.topnav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 160ms ease, background 160ms ease;
}

.topnav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.topnav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.topnav-link:hover::after {
  opacity: 0.42;
  transform: scaleX(1);
}

/* Hamburger toggle — visually hidden checkbox + label, shown only on mobile */
.topnav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.topnav-burger {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 160ms ease;
}

.topnav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 160ms ease;
}

@media (max-width: 640px) {
  .topnav-burger {
    display: flex;
  }
  .topnav-burger:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .topnav-toggle:focus-visible + .topnav-burger {
    background: rgba(255, 255, 255, 0.06);
    outline: 2px solid var(--border-strong);
    outline-offset: 2px;
  }

  /* Burger morphs into an X when open */
  .topnav-toggle:checked + .topnav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .topnav-toggle:checked + .topnav-burger span:nth-child(2) {
    opacity: 0;
  }
  .topnav-toggle:checked + .topnav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Links collapse into a dropdown panel under the bar */
  .topnav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px var(--pad-x) 18px;
    background: rgba(13, 17, 24, 0.97);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  .topnav-toggle:checked ~ .topnav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .topnav-link {
    padding: 12px;
    font-size: 13px;
    letter-spacing: 0.04em;
    border-radius: 8px;
  }
  .topnav-link::after {
    display: none;
  }
}

@media (max-width: 380px) {
  .topnav-brand {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .topnav-logo {
    width: 36px;
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(56px, 9vw, 104px) 0 clamp(24px, 4vw, 40px);
  text-align: left;
}

.hero-brand {
  position: relative;
  min-width: 0;
  padding: 28px 0;
}

.hero-logo {
  width: min(100%, 620px);
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.brand-info {
  position: absolute;
  top: 12px;
  right: -28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.62);
  cursor: help;
  transition: color 160ms ease;
}

.brand-info:hover,
.brand-info:focus-visible {
  color: #fff;
}

.brand-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 5;
  width: min(300px, calc(100vw - 48px));
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(14, 18, 24, 0.96);
  color: var(--text-dim);
  box-shadow: 0 20px 42px -24px rgba(0,0,0,0.8);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translate(-3px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.brand-info:hover .brand-tooltip,
.brand-info:focus-visible .brand-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(44px, 9vw, 92px);
  margin: 0 0 28px;
  color: var(--text);
}

.wm-sep {
  display: inline-block;
  width: 0.35em;
}

.wm-labs {
  color: #d7ad62;
}

.wm-fzco {
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-brand {
    padding: 18px 0 8px;
  }
  .hero-logo {
    width: min(100%, 380px);
  }
  .brand-info {
    top: 12px;
    right: 0;
  }
  .brand-tooltip {
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    transform: translateY(-3px);
  }
  .brand-info:hover .brand-tooltip,
  .brand-info:focus-visible .brand-tooltip {
    transform: translateY(0);
  }
  .hero-copy {
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(30px, 4vw, 48px) 0;
}

.section--tight {
  padding-bottom: clamp(24px, 3vw, 34px);
}

.section-head {
  margin-bottom: 24px;
  position: relative;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.7vw, 28px);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.section-prompt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7em;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.9;
}

.section-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 6px;
  background: var(--accent);
  vertical-align: -0.12em;
  animation: section-blink 1.1s steps(2, end) infinite;
  opacity: 0.9;
}

@keyframes section-blink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .section-cursor {
    animation: none;
    opacity: 0.6;
  }
}

.section-sub {
  color: var(--text-mute);
  font-size: 15px;
  margin: 0;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Ventures
   -------------------------------------------------------------------------- */

.ventures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  isolation: isolate;
}

.venture--featured {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .ventures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ventures {
    grid-template-columns: 1fr;
  }
}

.venture-mark--lg {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.venture-mark--lg img {
  width: 34px;
  height: 34px;
}

.venture-name--lg {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.venture-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.venture-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-dim);
}

.venture-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.9;
  opacity: 0.8;
}

.venture-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-mute);
  letter-spacing: 0.03em;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  margin-top: 0;
  width: 100%;
}

.venture-stat {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.chain-logo {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  flex: 0 0 auto;
  opacity: 0.85;
}

.venture-stat-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-mute);
  opacity: 0.4;
  display: inline-block;
}

.venture--featured .venture-stats .venture-stat:first-child {
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.venture {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.018) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  z-index: 0;
  box-shadow: 0 24px 70px -52px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.055);
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.venture > * {
  position: relative;
  z-index: 1;
}

/* Stretched overlay link — makes the whole card clickable to the main site.
   Sits above static content (z-index 2) but below the independently
   clickable links (X icon, partner), which are raised to z-index 3. */
.venture-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  text-decoration: none;
}

.venture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(255, 255, 255, 0.075), transparent 60%);
  opacity: 0;
  z-index: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.venture:hover {
  border-color: var(--border-strong);
  transform: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: 0 24px 70px -52px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.08);
}

.venture:hover::before {
  opacity: 1;
}

.venture:has(.venture-partner-link:hover),
.venture:has(.venture-social:hover) {
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.018) 100%);
  box-shadow: 0 24px 70px -52px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.055);
}

.venture:has(.venture-partner-link:hover)::before,
.venture:has(.venture-social:hover)::before {
  opacity: 0;
}

.venture-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.venture-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  overflow: hidden;
}

.venture-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.venture-title {
  flex: 1 1 auto;
  min-width: 0;
}

.venture-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}

.venture-tag {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

.venture-badges {
  flex: 0 0 auto;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-active {
  background: rgba(52, 211, 153, 0.10);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.25);
}

.badge-sunset {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-mute);
  border-color: rgba(100, 116, 139, 0.28);
}

.venture-desc {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.venture-partner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  /* Not a stacking context, so the partner link can rise above the overlay. */
  z-index: auto;
}

.venture-partner-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.venture-partner-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-mute);
  opacity: 0.5;
  flex: 0 0 3px;
}

.venture-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 8px 3px 3px;
  margin: -3px 0 -3px -3px;
  border-radius: 8px;
  position: relative;
  z-index: 3;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.venture-partner-link:hover {
  background: rgba(240, 185, 11, 0.10);
}

.venture-partner-link:hover .venture-partner-name {
  color: var(--text);
}

.venture-partner-logo {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex: 0 0 16px;
  object-fit: contain;
  display: block;
}

.venture-partner-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.005em;
  transition: color 160ms ease;
}

.venture-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 0;
  /* Not a stacking context, so the X-icon link can rise above the overlay. */
  z-index: auto;
}

.venture-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.venture-action-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.venture-link,
.venture-article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.venture-article-link {
  position: relative;
  z-index: 3;
  text-decoration: none;
}

.venture-article-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}

.venture-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
  flex: 0 0 7px;
}

.venture:hover .venture-link {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.075);
}

.venture:has(.venture-partner-link:hover) .venture-link,
.venture:has(.venture-social:hover) .venture-link,
.venture:has(.venture-article-link:hover) .venture-link {
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.venture-social {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-mute);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  position: relative;
  z-index: 3;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.venture-social:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   Featured tweet (X embed under Ventures)
   -------------------------------------------------------------------------- */

.featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.featured-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  display: inline-block;
}

/* Tweet cards — structure and sizing ported from
   apps/web/components/chat/embeds/XEmbed.tsx in the Privage repo. */
.tweets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.tweet-card {
  flex: 1 1 360px;
  max-width: 420px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.xt-body {
  padding: 14px;
}

.xt-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.xt-avatar-link {
  flex: 0 0 32px;
  display: block;
  width: 32px;
  height: 32px;
}

.xt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--surface);
}

.xt-author {
  flex: 1 1 auto;
  min-width: 0;
}

.xt-author-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.xt-author-link:hover .xt-name {
  text-decoration: underline;
}

.xt-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.xt-verified {
  flex: 0 0 14px;
}

.xt-handle {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.2;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.xt-handle:hover {
  text-decoration: underline;
}

.xt-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.8);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.xt-badge:hover {
  color: #fff;
  background: rgba(0,0,0,0.7);
}

.xt-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0 0 8px;
}

.xt-text a {
  color: #1d9bf0;
  text-decoration: none;
}

.xt-text a:hover {
  text-decoration: underline;
}

.xt-quote {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
}

.xt-quote-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
}

.xt-quote-avatar-link {
  flex: 0 0 20px;
  display: block;
  width: 20px;
  height: 20px;
}

.xt-quote-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  display: block;
}

.xt-quote-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  text-decoration: none;
}

.xt-quote-name:hover {
  text-decoration: underline;
}

.xt-quote-handle {
  font-size: 12px;
  color: var(--text-mute);
  flex: 0 0 auto;
  text-decoration: none;
}

.xt-quote-handle:hover {
  text-decoration: underline;
}

.xt-show-more {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  color: #1d9bf0;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.xt-show-more:hover {
  text-decoration: underline;
}

.xt-quote-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}

.xt-quote-text a {
  color: #1d9bf0;
  text-decoration: none;
}

.xt-quote-text a:hover {
  text-decoration: underline;
}

.xt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--text-mute);
}

.xt-metrics {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.xt-metric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.xt-metric svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.xt-date {
  flex: 0 0 auto;
  white-space: nowrap;
}

.xt-fallback {
  padding: 40px;
  text-align: center;
}

.xt-fallback .xt-badge {
  display: inline-flex;
}

.press-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.press-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.3;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.press-link:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.press-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 3px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.press-source {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  flex: 0 0 auto;
}

.press-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-mute);
  flex: 0 0 auto;
  opacity: 0.6;
}

.press-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.press-arrow {
  flex: 0 0 auto;
  opacity: 0.7;
  transition: transform 200ms ease, opacity 200ms ease;
}

.press-link:hover .press-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

@media (max-width: 560px) {
  .press-title {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Focus pillars
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.pillar {
  --pillar-accent: var(--accent);
  --pillar-accent-rgb: 214, 216, 220;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.pillar:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.025);
  transform: translateY(-1px);
}

.pillar:nth-child(1) {
  --pillar-accent: #DDE2EA;
  --pillar-accent-rgb: 221, 226, 234;
}

.pillar:nth-child(2) {
  --pillar-accent: #AEB8C6;
  --pillar-accent-rgb: 174, 184, 198;
}

.pillar:nth-child(3) {
  --pillar-accent: #DDE2EA;
  --pillar-accent-rgb: 221, 226, 234;
}

.pillar:nth-child(4) {
  --pillar-accent: #AEB8C6;
  --pillar-accent-rgb: 174, 184, 198;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.9;
}

.pillar-path {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--pillar-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  margin-bottom: 14px;
  border: 1px solid rgba(var(--pillar-accent-rgb), 0.34);
  background: rgba(var(--pillar-accent-rgb), 0.11);
  border-radius: 6px;
  opacity: 0.95;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pillar:hover .pillar-path {
  border-color: rgba(var(--pillar-accent-rgb), 0.5);
  background: rgba(var(--pillar-accent-rgb), 0.15);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.pillar p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Entity
   -------------------------------------------------------------------------- */

.entity {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.18) 100%);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 20px 40px -20px rgba(0,0,0,0.4);
}

.entity-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.entity-prompt-dollar {
  color: var(--accent);
  font-weight: 600;
}

.entity-list {
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
}

.entity-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 24px;
  padding: 5px 22px;
  align-items: baseline;
}

.entity-row dt {
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-mono);
  letter-spacing: 0;
  margin: 0;
}

.entity-row dd {
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-mono);
  margin: 0;
  letter-spacing: 0;
}

.entity-str {
  color: #86efac;
}

.entity-num {
  color: #fbbf24;
}

@media (max-width: 560px) {
  .entity-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 6px 18px;
  }
  .entity-prompt {
    padding: 10px 18px;
  }
}

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */

.founder {
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.18) 100%);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 20px 40px -20px rgba(0,0,0,0.4);
}

.terminal-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.terminal-prompt-dollar {
  color: var(--accent);
  font-weight: 600;
}

.terminal-list {
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
}

.terminal-row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr;
  gap: 24px;
  padding: 5px 22px;
  align-items: baseline;
}

.terminal-row dt {
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-mono);
  letter-spacing: 0;
  margin: 0;
}

.terminal-row dd {
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-mono);
  margin: 0;
  letter-spacing: 0;
  min-width: 0;
}

.terminal-link {
  color: #86efac;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.terminal-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .terminal-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 6px 18px;
  }
  .terminal-prompt {
    padding: 10px 18px;
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding: 4px 0;
}

.contact-block {
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.18) 100%);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 20px 40px -20px rgba(0,0,0,0.4);
}

.contact-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.contact-prompt-dollar {
  color: var(--accent);
  font-weight: 600;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: background 160ms ease;
}

.contact-email:hover {
  background: rgba(255, 255, 255, 0.055);
}

.contact-ret {
  color: var(--accent);
  font-weight: 600;
  flex: 0 0 auto;
}

.contact-email-addr {
  color: #86efac;
}

.contact-email:hover .contact-email-addr {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(14, 18, 24, 0.74);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-brand {
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 0;
}

.footer-nav a {
  color: var(--text-mute);
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-mute);
  font-size: 12.5px;
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    width: 100%;
    gap: 10px 16px;
  }
}

/* --------------------------------------------------------------------------
   Legal pages (privacy / terms)
   -------------------------------------------------------------------------- */

.legal {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(96px, 10vw, 120px) var(--pad-x) 60px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--text-mute);
  font-size: 13.5px;
  transition: color 180ms ease;
}

.legal .back:hover {
  color: var(--text);
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.1;
}

.legal .updated {
  color: var(--text-mute);
  font-size: 13px;
  margin: 0 0 36px;
  font-family: var(--font-mono);
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal p, .legal li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
  margin: 10px 0;
}

.legal li {
  margin: 6px 0;
}

.legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.legal a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.82);
}

.legal .profile-links {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.legal .profile-links li {
  margin: 0;
}

.legal .profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  text-decoration: none;
}

.profile-link-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--text);
  opacity: 0.68;
  transition: color 180ms ease, opacity 180ms ease;
}

.profile-link-logo {
  opacity: 0.68;
}

.legal .profile-links a:hover .profile-link-icon {
  color: var(--text);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.blog {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(96px, 10vw, 120px) var(--pad-x) 72px;
}

.blog .back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--text-mute);
  font-size: 13.5px;
  transition: color 180ms ease;
}

.blog .back:hover {
  color: var(--text);
}

.blog-hero {
  max-width: 760px;
  margin-bottom: 44px;
}

.blog-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.blog h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 20px;
  overflow-wrap: break-word;
}

.blog-hero p,
.blog-section-head p,
.blog-empty p,
.blog-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.blog-topics-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

.blog-topics a {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-mute);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.blog-topics a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.blog-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.blog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.blog-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
}

.blog-section-head p {
  max-width: 420px;
  margin: 0;
  font-size: 13.5px;
}

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

.blog-empty,
.blog-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 26px;
}

.blog-empty-label,
.blog-card-meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.blog-empty h3,
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.blog-empty p:last-child,
.blog-card p:last-child {
  margin-bottom: 0;
}

.blog-card a {
  display: block;
  height: 100%;
  padding: 22px;
  text-decoration: none;
}

.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.66;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  margin: 0 0 18px;
  background: rgba(255,255,255,0.03);
}

.blog-card-image--icon {
  object-fit: contain;
  padding: 28px;
}

.blog-card-image--wordmark {
  object-fit: contain;
  padding: 38px 28px;
}

.blog-card {
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.blog-card:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.026);
  transform: translateY(-1px);
}

.article {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(96px, 10vw, 120px) var(--pad-x) 72px;
  overflow-x: hidden;
}

.article .back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--text-mute);
  font-size: 13.5px;
  transition: color 180ms ease;
}

.article .back:hover {
  color: var(--text);
}

.breadcrumb {
  margin-bottom: 30px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mute);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin: 0 9px;
  opacity: 0.45;
}

.breadcrumb a {
  color: var(--text-mute);
  transition: color 160ms ease;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.article .breadcrumb {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-header {
  width: min(100%, calc(100vw - (2 * var(--pad-x))));
  max-width: 760px;
  margin: 0 auto 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.article-figure {
  width: min(100%, calc(100vw - (2 * var(--pad-x))));
  max-width: 760px;
  margin: 0 auto 34px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.article-figure--logo {
  padding: clamp(34px, 6vw, 54px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.article-figure--logo img {
  max-width: min(100%, 460px);
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.article-icon {
  max-width: 760px;
  margin: 0 auto 34px;
}

.article-icon img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
}

.article-embed {
  width: min(100%, calc(100vw - (2 * var(--pad-x))));
  max-width: 760px;
  margin: 28px auto;
}

.article-embed .twitter-tweet {
  margin: 0 auto !important;
}

.article-embed blockquote {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  color: var(--text);
  padding: 18px;
}

.article-embed blockquote p {
  margin-top: 0;
}

.article-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.article h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.article-subtitle {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.25;
}

.article-meta {
  margin: 0;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.article-meta a,
.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.article-meta a:hover,
.article-body a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.82);
}

.article-body {
  color: var(--text-dim);
  width: min(100%, calc(100vw - (2 * var(--pad-x))));
  max-width: 760px;
  margin: 0 auto;
}

.article-body p,
.article-body li {
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.article-body p {
  margin: 0 0 20px;
}

.article-readnext {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 56px 0 18px;
}

@media (max-width: 760px) {
  .blog h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .article h1 {
    font-size: clamp(30px, 8.6vw, 36px);
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
    line-height: 1.75;
  }

  .blog-section-head {
    display: block;
  }

  .blog-section h2 {
    margin-bottom: 8px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-empty {
    padding: 22px;
  }
}

/* --------------------------------------------------------------------------
   Focus states for accessibility
   -------------------------------------------------------------------------- */

a:focus-visible,
.venture-social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
