/* ===== Tetiva — design tokens & base styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Light — warm cream */
  --bg: #F5F1E8;
  --bg-elev: #FBF8F1;
  --bg-sunken: #EFEADD;
  --fg: #1F1A14;
  --fg-2: #44382C;
  --fg-muted: #6B6359;
  --fg-subtle: #9A9085;
  --border: #E0D8C8;
  --border-strong: #C9C0AD;
  --accent: #6B1F2B;
  --accent-hover: #561822;
  --accent-fg: #FBF8F1;
  --accent-soft: rgba(107, 31, 43, 0.07);
  --accent-line: rgba(107, 31, 43, 0.22);
  --good: #2D5A3D;
  --warn: #8A5A14;
  --code-bg: #1A1814;
  --code-fg: #ECE6D9;
  --code-dim: #8A8378;
  --code-accent: #D88B9B;
  --code-green: #87B299;
  --code-blue: #8FAAC4;
  --code-yellow: #D9B569;
  --code-red: #C77383;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --container: 1180px;
  --container-narrow: 880px;

  --font-sans: 'Mona Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', 'Consolas', monospace;
}

[data-theme="dark"] {
  --bg: #16130E;
  --bg-elev: #1D1913;
  --bg-sunken: #100E0A;
  --fg: #ECE6D9;
  --fg-2: #C9C0AD;
  --fg-muted: #9A9085;
  --fg-subtle: #6B6359;
  --border: #2D2820;
  --border-strong: #3F3829;
  --accent: #C77383;
  --accent-hover: #D6889A;
  --accent-fg: #16130E;
  --accent-soft: rgba(199, 115, 131, 0.1);
  --accent-line: rgba(199, 115, 131, 0.28);
  --good: #87B299;
  --warn: #D9B569;
  --code-bg: #0E0C09;
  --code-fg: #ECE6D9;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
.nostyle, .nostyle:hover { text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.022em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--fg-2); font-weight: 400; }
.serif { font-family: var(--font-serif); font-weight: 400; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
.muted { color: var(--fg-muted); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; padding: 3px 8px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--fg-muted); }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

code { font-family: var(--font-mono); font-size: 0.9em; background: var(--accent-soft); color: var(--fg); padding: 1px 5px; border-radius: 3px; }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: 5rem 0; border-top: 1px solid var(--border); }
.section.first { border-top: none; }
.section-hero { padding: 5.5rem 0 4rem; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.h2-after { margin-top: 2.5rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; height: 62px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.025em; }
.brand svg { display: block; height: 22px; width: auto; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; align-items: center; flex: 1; }
.nav a { font-size: 0.93rem; color: var(--fg-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--fg); border-bottom-color: var(--accent); }
.nav a.active { color: var(--fg); border-bottom-color: var(--accent); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-md); border: 1px solid var(--border); background: transparent; color: var(--fg-2); cursor: pointer; }
.icon-btn:hover { color: var(--fg); border-color: var(--border-strong); }
.icon-btn svg { width: 16px; height: 16px; }

.menu-toggle { display: none; }
@media (max-width: 880px) {
  .site-header .container { gap: 12px; }
  .nav { position: fixed; inset: 62px 0 0 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); padding: 24px; border-top: 1px solid var(--border); transform: translateX(100%); transition: transform 0.22s ease; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-install-text { display: none; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 500; font-size: 0.92rem; padding: 9px 16px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background 0.12s, color 0.12s, border-color 0.12s; line-height: 1; }
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; color: var(--accent-fg); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-elev); border-color: var(--fg-muted); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg-2); border-color: transparent; padding: 9px 4px; }
.btn-ghost:hover { color: var(--fg); text-decoration: none; }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.5rem 0; }
.btn-arrow::after { content: "→"; font-weight: 400; }

/* ===== Code blocks ===== */
.code-block { background: var(--code-bg); color: var(--code-fg); font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.6; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--border); overflow-x: auto; position: relative; }
.code-block .prompt { color: var(--code-dim); user-select: none; }
.code-block .cmd { color: var(--code-fg); }
.code-block .out { color: var(--code-dim); }
.code-block .green { color: var(--code-green); }
.code-block .red { color: var(--code-red); }
.code-block .blue { color: var(--code-blue); }
.code-block .yellow { color: var(--code-yellow); }
.code-block .accent { color: var(--code-accent); }
.code-block.compact { padding: 12px 16px; font-size: 0.84rem; }
.code-inline-row { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 14px; font-family: var(--font-mono); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 12px; }
.copy-btn { background: transparent; border: none; color: var(--fg-subtle); cursor: pointer; font-family: var(--font-mono); font-size: 0.78rem; padding: 0; }
.copy-btn:hover { color: var(--accent); }

/* Diff highlighting */
.diff-line { display: block; white-space: pre; }
.diff-line.add { background: rgba(135, 178, 153, 0.13); color: var(--code-green); }
.diff-line.del { background: rgba(199, 115, 131, 0.13); color: var(--code-red); }
.diff-line.add::before { content: "+ "; color: var(--code-green); }
.diff-line.del::before { content: "- "; color: var(--code-red); }
.diff-line.ctx::before { content: "  "; }

/* ===== Cards / panels ===== */
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; }
.card.compact { padding: 22px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card h3 { margin-top: 0; font-size: 1.15rem; }
.card .card-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Two-col layout */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--r-md); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--bg-sunken); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fg-muted); }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--bg-sunken); }
table.data td.num, table.data th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
table.data .winner { font-weight: 700; color: var(--fg); }
table.data .dash { color: var(--fg-subtle); }
table.data .col-tetiva { background: var(--accent-soft); }
table.data thead th.col-tetiva { background: color-mix(in oklab, var(--accent) 12%, var(--bg-sunken)); color: var(--accent); font-weight: 700; }

/* ===== Pricing table ===== */
.pricing-grid { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-elev); margin: 2rem 0; }
.pricing-grid > div { padding: 14px 16px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 0.9rem; }
.pricing-grid > div:nth-child(6n) { border-right: none; }
.pricing-grid .row-label { font-weight: 500; color: var(--fg-2); }
.pricing-grid .tier-name { font-weight: 700; font-size: 1.05rem; }
.pricing-grid .tier-sub { color: var(--fg-muted); font-size: 0.82rem; line-height: 1.4; margin-top: 4px; }
.pricing-grid .tier-price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--fg); }
.pricing-grid .check { color: var(--good); }
.pricing-grid .x { color: var(--fg-subtle); }
.pricing-grid .col-team { background: var(--accent-soft); position: relative; box-shadow: inset 1px 0 0 var(--accent-line), inset -1px 0 0 var(--accent-line); }
.pricing-grid .team-flag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid > div { border-right: none; }
  .pricing-grid .pricing-tier-header { border-top: 2px solid var(--accent-line); padding-top: 20px; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-sunken); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { font-size: 0.92rem; color: var(--fg-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal { font-family: var(--font-mono); font-size: 0.78rem; color: var(--fg-muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer-legal .registry-pending { color: var(--fg-subtle); font-style: italic; }

/* ===== Hero animation ===== */
.hero-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 520px; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(31, 26, 20, 0.18); }
[data-theme="dark"] .hero-stage { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
.hero-stage .scene { position: absolute; inset: 0; opacity: 0; padding: 24px 28px; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.65; color: var(--code-fg); animation: heroCycle 9s infinite; }
.hero-stage .scene:nth-child(1) { animation-delay: 0s; }
.hero-stage .scene:nth-child(2) { animation-delay: 2.25s; }
.hero-stage .scene:nth-child(3) { animation-delay: 4.5s; }
.hero-stage .scene:nth-child(4) { animation-delay: 6.75s; }
@keyframes heroCycle {
  0%   { opacity: 0; transform: translateY(8px); }
  3%   { opacity: 1; transform: translateY(0); }
  22%  { opacity: 1; transform: translateY(0); }
  25%  { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; transform: translateY(-8px); }
}
.hero-stage .scene-label { position: absolute; bottom: 14px; right: 18px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--code-dim); letter-spacing: 0.04em; }
.hero-stage .scene-num { position: absolute; top: 14px; right: 18px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--code-dim); }
.hero-stage .scene .typed { display: inline-block; }
.hero-stage .scene .blink::after { content: "▌"; color: var(--code-accent); animation: blink 1s infinite step-end; }
@keyframes blink { 50% { opacity: 0; } }

.hero-progress { display: flex; gap: 6px; margin-top: 16px; }
.hero-progress .dot { flex: 1; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; position: relative; }
.hero-progress .dot::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: progress 9s infinite linear; }
.hero-progress .dot:nth-child(1)::after { animation-delay: 0s; }
.hero-progress .dot:nth-child(2)::after { animation-delay: 2.25s; }
.hero-progress .dot:nth-child(3)::after { animation-delay: 4.5s; }
.hero-progress .dot:nth-child(4)::after { animation-delay: 6.75s; }
@keyframes progress {
  0% { transform: scaleX(0); }
  3% { transform: scaleX(0); }
  25% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage .scene, .hero-progress .dot::after { animation: none; }
  .hero-stage .scene:nth-child(1) { opacity: 1; }
}

/* ===== Hero layout ===== */
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero-grid h1 { margin-bottom: 0.5em; }
.hero-grid .lede { margin-bottom: 1.4em; }

/* ===== Big number ===== */
.bignum { font-family: var(--font-sans); font-weight: 800; font-size: clamp(5rem, 14vw, 11rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--accent); margin: 0; }
.bignum-label { font-family: var(--font-serif); font-size: 1.1rem; color: var(--fg-2); max-width: 28em; }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 12px 36px -12px rgba(31, 26, 20, 0.18); z-index: 100; }
[data-theme="dark"] .cookie-banner { box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.5); }
.cookie-banner h4 { margin: 0 0 6px; font-size: 0.95rem; }
.cookie-banner p { font-size: 0.86rem; color: var(--fg-2); margin: 0 0 14px; }
.cookie-banner .btn-row { margin: 0; gap: 8px; }
.cookie-banner .btn { padding: 7px 14px; font-size: 0.85rem; }
.cookie-banner .more { display: block; font-size: 0.8rem; color: var(--fg-muted); text-decoration: underline; text-decoration-color: var(--accent-line); margin-top: 12px; cursor: pointer; background: none; border: none; padding: 0; }
.cookie-detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: none; }
.cookie-banner.expanded .cookie-detail { display: block; }
.cookie-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 0.84rem; }
.cookie-cat strong { display: block; }
.cookie-cat .desc { color: var(--fg-muted); font-size: 0.78rem; }
.cookie-cat input { margin-top: 4px; }

/* ===== Diagrams (geometric) ===== */
.diagram { width: 100%; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-elev); padding: 28px; overflow-x: auto; }
.diagram svg { display: block; width: 100%; height: auto; min-width: 720px; max-width: 1080px; margin: 0 auto; }
.diagram .node { fill: var(--bg); stroke: var(--fg-2); stroke-width: 1; }
.diagram .node.accent { stroke: var(--accent); }
.diagram .node-text { font-family: var(--font-mono); font-size: 12px; fill: var(--fg); }
.diagram .node-sub { font-family: var(--font-mono); font-size: 10px; fill: var(--fg-muted); }
.diagram .arrow { stroke: var(--fg-2); stroke-width: 1; fill: none; }
.diagram .arrow.accent { stroke: var(--accent); }
.diagram .group-label { font-family: var(--font-mono); font-size: 10px; fill: var(--fg-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.diagram .group-box { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 3; }

/* ===== Validator list ===== */
.validators { font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.8; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 22px; color: var(--fg-2); }
.validators .v-name { color: var(--fg); font-weight: 500; }
.validators .v-desc { color: var(--fg-muted); }

/* ===== Page-of-links (docs / blog / legal) ===== */
.linklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 720px) { .linklist { grid-template-columns: 1fr; } }
.linklist a { display: block; padding: 18px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--fg); }
.linklist a:hover { color: var(--accent); }
.linklist .l-title { font-weight: 500; }
.linklist .l-sub { font-size: 0.86rem; color: var(--fg-muted); margin-top: 4px; }

/* Step list */
.step-list { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.step-list > li { counter-increment: step; padding: 28px 0 28px 80px; border-bottom: 1px solid var(--border); position: relative; }
.step-list > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 30px; font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; color: var(--accent); }
.step-list > li:last-child { border-bottom: none; }
.step-list h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.15rem; }
@media (max-width: 600px) { .step-list > li { padding-left: 56px; } .step-list > li::before { font-size: 1.1rem; top: 32px; } }

/* Form */
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: block; font-size: 0.85rem; color: var(--fg-2); margin-bottom: 6px; font-weight: 500; }
.form input, .form textarea { width: 100%; font-family: var(--font-sans); font-size: 0.95rem; padding: 10px 12px; background: var(--bg-elev); color: var(--fg); border: 1px solid var(--border-strong); border-radius: var(--r-md); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form textarea { min-height: 110px; resize: vertical; }

/* Big quote / example */
.example { background: var(--bg-elev); border-left: 2px solid var(--accent); padding: 18px 22px; margin: 1.5rem 0; font-family: var(--font-serif); font-size: 1rem; line-height: 1.6; color: var(--fg-2); }
.example .src { font-family: var(--font-mono); font-size: 0.85rem; color: var(--fg-muted); display: block; margin-bottom: 8px; }

/* CI checklist */
.ci-check { font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.85; color: var(--fg-2); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 22px; }
.ci-check .ok { color: var(--good); }

/* Persona pull-quote block */
.persona-block { padding: 26px 0; border-bottom: 1px solid var(--border); }
.persona-block:last-child { border-bottom: none; }
.persona-block .p-eyebrow { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 8px; text-transform: uppercase; }
.persona-block p { font-family: var(--font-serif); font-size: 1.08rem; color: var(--fg); margin: 0; }

/* Trust signal table */
.trust-table { font-size: 0.93rem; }
.trust-table td { padding: 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.trust-table td:first-child { color: var(--fg-muted); width: 32%; padding-right: 24px; font-weight: 500; }
.trust-table tr:last-child td { border-bottom: none; }

/* Inline pill / status */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.75rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--fg-muted); }
.pill.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Page header section (non-home pages) */
.page-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 38ch; }

/* Floating side meta */
.meta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--fg-muted); }
.meta-row .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-row a { color: var(--fg-muted); }
.meta-row a:hover { color: var(--accent); }

/* Final CTA section */
.final-cta { padding: 5rem 0; border-top: 1px solid var(--border); }
.final-cta h2 { margin-bottom: 1rem; }

/* Misc helpers */
.text-center { text-align: center; }
.max-prose { max-width: 64ch; }
.max-prose-serif { max-width: 60ch; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.65; color: var(--fg-2); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.divider-dot::before { content: " · "; color: var(--fg-subtle); margin: 0 4px; }

/* Skip / a11y */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
