/* microscopio.mx — base styles */
:root {
  --brand: #185FA5;
  --brand-dark: #0C447C;
  --brand-pale: #E6F1FB;
  --text: #1A1A1A;
  --text-2: #5F5E5A;
  --surface: #FFFFFF;
  --surface-alt: #F1EFE8;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --success: #3B6D11;
  --warning: #BA7517;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 22px; line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.4; }
p  { margin: 0; text-wrap: pretty; }

@media (min-width: 800px) {
  body { font-size: 17px; }
  h1 { font-size: 44px; letter-spacing: -0.02em; }
  h2 { font-size: 30px; letter-spacing: -0.015em; }
  h3 { font-size: 22px; }
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 800px) { .container { padding: 0 32px; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-pale); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-alt); text-decoration: none; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 120ms ease, transform 120ms ease;
}
a.card { color: inherit; }
a.card:hover { border-color: var(--brand); text-decoration: none; }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}

.muted { color: var(--text-2); }
.mono  { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Grids */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Image placeholder */
.imgph {
  background: var(--surface-alt);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 11px,
    rgba(0,0,0,0.035) 11px,
    rgba(0,0,0,0.035) 12px
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
  padding: 16px;
  line-height: 1.5;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-mark {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand-mark .dot { color: var(--brand); }
.brand-mark:hover { text-decoration: none; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a {
  color: var(--text);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav a:hover { background: var(--surface-alt); text-decoration: none; }
.nav a.active { color: var(--brand); }
@media (min-width: 800px) { .nav { display: flex; } }

.hamb {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 38px; height: 38px;
  border-radius: 8px;
  display: grid; place-items: center;
  cursor: pointer;
}
@media (min-width: 800px) { .hamb { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  padding: 12px 20px;
  font-size: 15px;
}

/* Hero */
.hero {
  background: var(--brand-pale);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 48px 0;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 80px 0;
    gap: 48px;
  }
}
.hero h1 { margin-top: 12px; max-width: 18ch; }
.hero p.lead { margin-top: 16px; color: var(--text-2); max-width: 48ch; font-size: 17px; }
@media (min-width: 800px) { .hero p.lead { font-size: 19px; } }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Sections */
section.block { padding: 48px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 800px) { section.block { padding: 72px 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .left { max-width: 56ch; }
.section-head h2 { margin-top: 6px; }
.section-head p { color: var(--text-2); margin-top: 6px; }

/* Footer */
.site-footer {
  background: var(--surface-alt);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--text-2);
}
.site-footer a { color: var(--text); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid h4 { font-size: 13px; color: var(--text); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--text-2); padding: 16px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--text-2); }
.crumb .sep { color: var(--border-strong); }

/* Article */
.article-body { max-width: 68ch; }
.article-body p { margin: 0 0 18px; }
.article-body p + h2 { margin-top: 36px; }
.article-body h2 { margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { margin-top: 32px; margin-bottom: 10px; }
.article-body figure { margin: 24px 0; }
.article-body figcaption { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 4px 0; }

.callout {
  background: var(--brand-pale);
  border-left: 3px solid var(--brand);
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 15px;
  border-radius: 0 8px 8px 0;
}
.callout strong { color: var(--brand-dark); }

/* TOC */
.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
}
.toc h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 12px; font-weight: 500; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.toc li { counter-increment: toc; display: flex; gap: 10px; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; min-width: 22px; }
.toc a { color: var(--text); }
.toc a.current { color: var(--brand); font-weight: 500; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform 200ms ease; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-top: 12px; color: var(--text-2); }

/* Inputs */
.input, .select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 120ms ease;
}
.input:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24,95,165,0.15); }

/* Microscope diagram */
.scope-interactive {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .scope-interactive:not(.compact) {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: start;
  }
}
.scope-stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 360px;
}
.scope-interactive.compact .scope-stage { padding: 16px; min-height: 320px; }
.scope-stage-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-2);
  background: var(--surface-alt);
  padding: 4px 8px;
  border-radius: 4px;
}
.part-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 80px;
}
.part-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.close-btn {
  background: none; border: 1px solid var(--border);
  width: 30px; height: 30px;
  border-radius: 6px;
  color: var(--text-2);
  display: grid; place-items: center; cursor: pointer;
}
.close-btn:hover { color: var(--text); border-color: var(--text); }
.part-panel-actions { margin-top: 18px; }
.part-quicklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.quicklist-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 8px 0;
  font-family: inherit; font-size: 14px; color: var(--text);
  cursor: pointer; text-align: left; width: 100%;
}
.quicklist-btn:hover { color: var(--brand); }
.dot-mark {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); display: inline-block;
}

/* Tipos card */
.tipo-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tipo-card .num { font-size: 11px; letter-spacing: 0.1em; color: var(--text-2); }
.tipo-card h3 { font-size: 17px; }
.tipo-card .desc { font-size: 14px; color: var(--text-2); flex: 1; }
.tipo-card .arrow { font-size: 14px; color: var(--brand); margin-top: 4px; }

/* Calc card */
.calc-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.calc-card .icon-frame {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--brand-pale);
  color: var(--brand);
  display: grid; place-items: center;
}
.calc-card h3 { font-size: 17px; }
.calc-card p { font-size: 14px; color: var(--text-2); }

/* Calc result */
.calc-result {
  background: var(--brand-pale);
  border: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
  border-radius: var(--radius);
  padding: 24px;
}
.calc-result .label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
}
.calc-result .value {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 56px; font-weight: 500; color: var(--brand-dark);
  line-height: 1; letter-spacing: -0.02em; margin-top: 8px;
}
.calc-result .desc { margin-top: 14px; font-size: 15px; }
.formula {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: var(--surface-alt);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-block;
}

/* Part list */
.part-list { display: flex; flex-direction: column; gap: 12px; }
.part-list-row {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.part-list-row .num { color: var(--text-2); font-size: 13px; padding-top: 2px; }
.part-list-row h3 { margin-bottom: 4px; font-size: 18px; }
.part-list-row p { color: var(--text-2); font-size: 15px; }

/* Pillar layout */
.pillar { display: grid; gap: 32px; grid-template-columns: 1fr; padding: 32px 0 64px; }
@media (min-width: 1000px) {
  .pillar { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 48px 0 80px; }
  .pillar .toc { position: sticky; top: 80px; }
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

/* === Static-page additions (added 2026-05-04) === */

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus { left: 16px; color: #fff; text-decoration: none; }

/* FAQ accordion (uses native <details>) */
.faq-static details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-static details:first-child { border-top: 1px solid var(--border); }
.faq-static summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-static summary::-webkit-details-marker { display: none; }
.faq-static summary::after {
  content: '+';
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  transition: transform 200ms;
}
.faq-static details[open] summary::after { content: '−'; }
.faq-static details[open] summary { color: var(--brand); }
.faq-static .faq-answer {
  color: var(--text-2);
  padding-bottom: 18px;
  font-size: 15px;
  line-height: 1.65;
}

/* Topic tags row */
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.topic-tags a {
  font-size: 13px;
  background: var(--surface-alt);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
}
.topic-tags a:hover { background: var(--brand-pale); text-decoration: none; }

/* Inline TOC (mobile-friendly) */
.toc-inline {
  background: var(--surface-alt);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.toc-inline h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; font-weight: 500; }
.toc-inline ol { padding-left: 22px; margin: 0; }
.toc-inline li { font-size: 14px; margin: 4px 0; }
.toc-inline a { color: var(--text); }

/* Glossary */
.gloss-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.gloss-az a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--surface-alt);
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
}
.gloss-az a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.gloss-section { margin: 32px 0; }
.gloss-section h2 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: var(--brand);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.gloss-term { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--border); }
.gloss-term:last-child { border-bottom: 0; }
.gloss-term h3 { font-size: 17px; margin-bottom: 6px; }
.gloss-term p { color: var(--text-2); font-size: 15px; }

/* Sample table */
.sample-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.sample-table th, .sample-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.sample-table th { background: var(--surface-alt); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }

/* Card grid for related links */
.related-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 700px) { .related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.related-grid a {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.related-grid a:hover { border-color: var(--brand); text-decoration: none; }
.related-grid h3 { font-size: 15px; margin-bottom: 4px; }
.related-grid p { font-size: 13px; color: var(--text-2); }

/* Bio header for inventor pages */
.bio-header {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
@media (min-width: 700px) { .bio-header { grid-template-columns: 200px 1fr; align-items: end; } }
.bio-portrait {
  background: var(--surface-alt);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--text-2);
  font-size: 12px;
}
.bio-meta { font-size: 13px; color: var(--text-2); margin-top: 12px; }
.bio-meta span { display: inline-block; margin-right: 16px; }
.bio-meta strong { color: var(--text); font-weight: 500; }

/* Print styles for diagrams page */
@media print {
  .site-header, .site-footer, .crumb, .nav, .hamb { display: none !important; }
  body { font-size: 12pt; }
  a { color: var(--text); text-decoration: none; }
}

/* === Utility classes (added 2026-05-04) === */
.mt-6  { margin-top: 6px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; }
.mi-auto { margin-left: auto; margin-right: auto; }

.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-18 { font-size: 18px; }

.mw-18ch { max-width: 18ch; }
.mw-20ch { max-width: 20ch; }
.mw-22ch { max-width: 22ch; }
.mw-24ch { max-width: 24ch; }
.mw-32ch { max-width: 32ch; }
.mw-48ch { max-width: 48ch; }
.mw-52ch { max-width: 52ch; }
.mw-55ch { max-width: 55ch; }
.mw-60ch { max-width: 60ch; }
.mw-none { max-width: none; }

.text-default { color: var(--text); }
.text-muted   { color: var(--text-2); }

/* Hero/section spacing */
.section-hero  { padding: 24px 0 8px; }
.section-pad   { padding: 32px 0; }
.section-pad-b { padding: 32px 0 48px; }
.section-pad-l { padding: 32px 0 64px; }

/* Lead paragraphs */
.lead-large    { margin-top: 16px; font-size: 18px; max-width: 60ch; }
.lead-bio      { margin-top: 16px; max-width: 55ch; }

/* Footer description */
.footer-blurb  { margin-top: 12px; font-size: 14px; max-width: 32ch; }

/* Other */
.callout-spaced { margin-top: 32px; }
.text-center    { text-align: center; }
.related-margin { margin-top: 24px; }

.flex-between { display: flex; justify-content: space-between; }
.flex-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-404 { padding: 120px 24px; text-align: center; max-width: 560px; margin: 0 auto; }
.section-pad-y24 { padding: 24px 0; }
.mt-16-mw60ch { margin-top: 16px; max-width: 60ch; }

/* Topics cloud (SEO internal linking) */
.topics-cloud {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-2);
}
.topics-cloud h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
  font-weight: 500;
}
.topics-cloud .topics-row { margin-bottom: 18px; }
.topics-cloud .topics-row:last-child { margin-bottom: 0; }
.topics-cloud a {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.topics-cloud a:hover {
  background: var(--brand-pale);
  border-color: var(--brand);
  color: var(--brand-dark);
  text-decoration: none;
}

/* Author byline */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-2);
}
.byline .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}
.byline .meta { flex: 1; line-height: 1.4; }
.byline .meta strong { color: var(--text); font-weight: 500; }
.byline a { color: var(--brand); }
.byline time { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; }

/* Answer-first block: surfaces in featured snippets and AI Overview */
.answer-block {
  background: var(--brand-pale);
  border-left: 4px solid var(--brand);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 32px;
  font-size: 16px;
  line-height: 1.6;
}
.answer-block strong { color: var(--brand-dark); }
.answer-block .answer-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 8px;
}

/* "Recientes" block (auto-updated by scripts/regenerate.py) */
.recientes-block {
  background: var(--surface-alt);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.recientes-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .recientes-list { grid-template-columns: repeat(2, 1fr); }
}
.recientes-list li {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.recientes-list a {
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.recientes-list a:hover { color: var(--brand); text-decoration: none; }
.recientes-list a strong { font-weight: 500; font-size: 14px; }
.recientes-list time { white-space: nowrap; font-size: 11px; }

/* Hero diagram card (homepage) */
.hero-diagram-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 200ms, transform 200ms;
}
.hero-diagram-card:hover {
  border-color: var(--brand);
  text-decoration: none;
  transform: translateY(-2px);
}
.hero-diagram-card svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 240px;
  margin: 0 auto;
}

/* Hero CTA spacing */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

