/* Rooney.ai homepage - design tokens and base */

:root {
  --ink: #0c0c0c;
  --ink-2: #1a1a18;
  --paper: #faf9f5;
  --paper-2: #f1efe7;
  --rule: rgba(12, 12, 12, 0.12);
  --rule-strong: rgba(12, 12, 12, 0.22);
  --muted: rgba(12, 12, 12, 0.58);
  --muted-2: rgba(12, 12, 12, 0.42);
  --accent: #2541b2;
  --accent-ink: #ffffff;
  --claude: #cc785c;

  /* density (airy default) */
  --section-y: 160px;
  --gutter: 96px;
  --max: 1280px;

  --f-display: "Söhne", "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-sans: "Söhne", "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "GT Sectra", "Tiempos Headline", "Source Serif 4", "Cormorant Garamond", Georgia, serif;
  --f-mono: "Berkeley Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="dark"] {
  --ink: #f4f2ec;
  --ink-2: #e7e5dd;
  --paper: #0b0b0a;
  --paper-2: #131311;
  --rule: rgba(244, 242, 236, 0.14);
  --rule-strong: rgba(244, 242, 236, 0.28);
  --muted: rgba(244, 242, 236, 0.6);
  --muted-2: rgba(244, 242, 236, 0.42);
  --accent: #6b8cff;
  --accent-ink: #0b0b0a;
}

[data-density="compact"] {
  --section-y: 96px;
  --gutter: 64px;
}
[data-density="comfy"] {
  --section-y: 200px;
  --gutter: 112px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  transition: background 200ms ease, color 200ms ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: default; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* shell */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 900px) {
  :root { --gutter: 24px; --section-y: 72px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; --section-y: 64px; }
  .num-meta { display: none; }
  /* Tighten eyebrow tracking so single-line copy doesn't wrap on phones */
  .eyebrow { letter-spacing: 0.08em; font-size: 10.5px; }
  /* Anchor the hero top row's live pill to the left when the meta is hidden */
  .hero-top-row { justify-content: flex-start; }
}

/* type system */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(44px, 4.8vw, 72px);
  margin: 0;
  text-wrap: balance;
}
[data-type="serif"] .h-display {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.h-section {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 80px);
  margin: 0;
  text-wrap: balance;
}
[data-type="serif"] .h-section {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 38ch;
}
[data-type="serif"] .lede {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(22px, 1.7vw, 28px);
}

.body-prose {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body-prose p + p { margin-top: 1em; }

/* CTA buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: default;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--ink); }
.btn-primary .arr { transition: transform 200ms ease; }
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 200ms ease, background 200ms ease, border-color 200ms ease;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 150ms ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
}

.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}
[data-type="serif"] .logo { font-family: var(--f-serif); font-weight: 400; }
.logo .dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 2px;
  display: inline-block;
}
.logo .ai { color: var(--muted-2); }
.logo[data-style="dot"] .ai { color: inherit; }
.logo[data-style="plain"] .dot { display: none; }
.logo[data-style="plain"] .ai { color: inherit; }
.logo[data-style="muted"] .dot { display: none; }

/* Mobile nav */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  border: 0.5px solid var(--rule-strong);
}
.hamburger span {
  display: block; width: 14px; height: 1px; background: var(--ink); position: relative;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
}
.hamburger span::before { top: -4px; }
.hamburger span::after  { top: 4px; }
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  transition: transform 180ms ease, top 180ms ease, background 180ms ease;
}
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after  { top: 0; transform: rotate(-45deg); }

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

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  padding: 80px 24px 24px;
  display: flex; flex-direction: column; gap: 0;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 38px;
  letter-spacing: -0.02em;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--rule);
}
[data-type="serif"] .mobile-menu a { font-family: var(--f-serif); font-weight: 400; }

/* Section scaffolding */
section {
  padding: var(--section-y) 0;
  position: relative;
}
section + section { border-top: 0.5px solid var(--rule); }

.sec-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.sec-head .meta {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 18px;
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .sec-head .meta { flex-direction: row; gap: 16px; padding-top: 0; }
}

/* Bullet lists with bold lead-ins */
.bullets {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.bullets li {
  padding: 28px 32px 28px 0;
  border-bottom: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}
.bullets li:nth-child(odd) { padding-right: 48px; }
.bullets li:nth-child(even) { padding-left: 32px; }
.bullets li:nth-child(even) { border-left: 0.5px solid var(--rule); }
.bullets li .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  padding-top: 5px;
}
.bullets li b {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
[data-density="compact"] .bullets li { padding-top: 18px; padding-bottom: 18px; font-size: 16px; }

@media (max-width: 900px) {
  .bullets { grid-template-columns: 1fr; }
  .bullets li:nth-child(even) { padding-left: 0; border-left: 0; }
  .bullets li:nth-child(odd)  { padding-right: 0; }
}

/* Single column variant */
.bullets-1 { grid-template-columns: 1fr; }
.bullets-1 li:nth-child(even) { padding-left: 0; border-left: 0; }
.bullets-1 li:nth-child(odd) { padding-right: 0; }

/* Reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero {
  padding-top: 96px; padding-bottom: 0; border-top: 0;
}
.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 0.5px solid var(--rule-strong);
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.hero-scroll:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { padding-top: 88px; }
  .hero-scroll { margin-top: 56px; }
}

/* Direction A - Operator (asymmetric grid + system plate) */
.hero-a {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.hero-a .lhs { padding-right: 8px; }
.hero-a .rhs {
  display: flex; flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}
.system-plate {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 0.5px solid var(--rule-strong);
  background:
    linear-gradient(transparent 0, transparent calc(100% - 1px), var(--rule) 100%) 0 0/100% 32px,
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--rule) 100%) 0 0/32px 100%,
    var(--paper);
  overflow: hidden;
}
.system-plate .corner {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 12px 14px;
}
.system-plate .corner.tl { top: 0; left: 0; }
.system-plate .corner.tr { top: 0; right: 0; text-align: right; }
.system-plate .corner.bl { bottom: 0; left: 0; }
.system-plate .corner.br { bottom: 0; right: 0; text-align: right; color: var(--ink); }

/* Operating model diagram */
.opmodel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 28px;
  gap: 0;
}
.opmodel-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 14px 0;
}
.opmodel-lbl {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  width: 64px;
  flex-shrink: 0;
}
.opmodel-tag {
  display: inline-flex; align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 0.5px solid var(--rule);
  white-space: nowrap;
}
.opmodel-tag.accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.opmodel-tag.ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.opmodel-plus {
  font-size: 14px;
  color: var(--muted-2);
  padding: 0 2px;
}
.opmodel-tie {
  width: 1px; height: 18px;
  background: var(--rule-strong);
  margin-left: 64px;
  position: relative;
}
.opmodel-tie::before {
  content: ""; position: absolute;
  left: -2.5px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  transform: translateY(-50%);
}
.opmodel-row.layer-mid .opmodel-tag {
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Inputs row: stack the two input chips vertically inside their column so
   the diagram renders consistently regardless of plate width. */
.opmodel-row.layer-in {
  align-items: flex-start;
}
.opmodel-row.layer-in .opmodel-lbl {
  padding-top: 6px;
}
.opmodel-inputs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.opmodel-inputs .opmodel-plus {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1;
  padding-left: 4px;
}

@media (max-width: 900px) {
  .hero-a { grid-template-columns: 1fr; gap: 32px; }
  .hero-a .rhs {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  /* On small screens, scale the operating-model plate down so the
     diagram is readable but doesn't dominate the hero. */
  .hero-a .system-plate {
    aspect-ratio: auto;
    min-height: 360px;
  }
  .hero-a .opmodel {
    padding: 56px 24px 48px;
  }
  .hero-a .lede {
    font-size: 18px;
  }
  .hero-a .hero-ctas .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Tablet (iPad Mini portrait, etc.): keep the operating-model plate at
   roughly desktop proportions instead of stretching to full container width. */
@media (min-width: 600px) and (max-width: 900px) {
  .hero-a .system-plate {
    max-width: 480px;
    aspect-ratio: 5 / 4;
    min-height: 0;
    align-self: flex-start;
  }
}

/* What's changing - featured big block */
.shifts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.shifts li {
  list-style: none;
  padding: 32px 32px 40px 0;
  border-bottom: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}
.shifts li:nth-child(even) {
  padding-left: 32px;
  border-left: 0.5px solid var(--rule);
}
.shifts li .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.shifts li h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
[data-type="serif"] .shifts li h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 22px;
}
.shifts li p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .shifts { grid-template-columns: 1fr; }
  .shifts li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.shifts-coda {
  margin-top: 56px;
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 26ch;
  color: var(--ink);
  text-wrap: balance;
}
[data-type="serif"] .shifts-coda { font-family: var(--f-serif); font-weight: 400; }

/* Engage cards */
.engage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.engage > article {
  padding: 36px 32px 56px 0;
  border-bottom: 0.5px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.engage > article + article { padding-left: 32px; border-left: 0.5px solid var(--rule); }
.engage h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
[data-type="serif"] .engage h3 { font-family: var(--f-serif); font-weight: 400; font-size: 32px; }
.engage p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}
.engage .marker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 900px) {
  .engage { grid-template-columns: 1fr; }
  .engage > article + article { padding-left: 0; border-left: 0; }
}

/* Why blocks (3-up) */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.why > article {
  padding: 32px 32px 48px 0;
  border-bottom: 0.5px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
}
.why > article + article { padding-left: 32px; border-left: 0.5px solid var(--rule); }
.why > article:nth-child(3n+1):not(:first-child) { padding-left: 0; border-left: 0; }
.why h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
[data-type="serif"] .why h3 { font-family: var(--f-serif); font-weight: 400; font-size: 24px; }
.why p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.why .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
  .why > article + article { padding-left: 0; border-left: 0; }
}

/* Steps (next) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.steps > div {
  padding: 36px 24px 56px 0;
  border-bottom: 0.5px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px;
}
.steps > div + div { padding-left: 24px; border-left: 0.5px solid var(--rule); }
.steps h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
[data-type="serif"] .steps h3 { font-family: var(--f-serif); font-weight: 400; font-size: 26px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps > div + div { padding-left: 0; border-left: 0; }
}

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
}
.form {
  display: flex; flex-direction: column; gap: 0;
}
.field {
  display: flex; flex-direction: column;
  border-bottom: 0.5px solid var(--rule);
  padding: 18px 0 12px;
  position: relative;
}
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  font: inherit;
  font-size: 18px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  padding: 4px 0 6px;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field.invalid { border-bottom-color: #c2410c; }
.field .err {
  position: absolute; right: 0; bottom: 4px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #c2410c;
}
.form .submit-row {
  margin-top: 36px;
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
}

.form-success {
  border: 0.5px solid var(--rule);
  padding: 56px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.form-success h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
[data-type="serif"] .form-success h3 { font-family: var(--f-serif); font-weight: 400; }

/* Footer */
.foot {
  padding: 32px 0 36px;
  border-top: 0.5px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.foot a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .foot { flex-direction: column; align-items: flex-start; }
}

/* Marquee divider used between sections */
.divider {
  border-top: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  padding: 24px 0;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.divider .l { text-align: left; }
.divider .r { text-align: right; color: var(--ink); }

/* "Live" pill in hero */
.live {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 0.5px solid var(--rule-strong);
  background: var(--paper);
}
.live .pulse, .pulse-dot {
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  position: relative;
  display: inline-block;
}
.live .pulse::after, .pulse-dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--accent);
  animation: pulse 1.8s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* spec-style stat block */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
}
.stats div {
  display: flex; flex-direction: column; gap: 4px;
}
.stats .v {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
}
[data-type="serif"] .stats .v { font-family: var(--f-serif); font-weight: 400; font-size: 36px; }
.stats .l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Hero scroll-indicator arrow */
.scroll-arr {
  display: inline-block;
  animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-arr { animation: none; }
}

/* ─────────────────────────────────────────────
   Small-screen final overrides (placed at EOF
   so they win against earlier base type rules)
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .eyebrow { font-size: 10px; letter-spacing: 0.06em; }
  .h-display { font-size: 44px; line-height: 0.96; letter-spacing: -0.025em; }
  .h-display-sm { font-size: 34px; line-height: 1.04; }
}

/* Inline who-grid responsive override (was injected by sections.jsx; live here now) */
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-grid .about-photo { order: -1; max-width: 320px; width: 100%; margin: 0 auto; }
}

/* About section body: two editorial columns on desktop, one on mobile. */
.about-prose {
  columns: 2;
  column-gap: 64px;
  max-width: none;
}
.about-prose > p {
  break-inside: avoid;
  margin: 0 0 1em 0;
}
.about-prose > p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about-prose { columns: 1; }
}

/* Claude brand color highlight on the word "Claude" wherever it appears. */
.claude-mark { color: var(--claude); }

/* Sections proper hierarchy - main wraps everything between nav and footer */
main { display: block; }

/* 404 page - uses same .h-display + .lede; just centers a small layout */
.fourohfour {
  min-height: calc(100vh - 200px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 112px;
}
.fourohfour .actions {
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
