/* ============================================================
   sytezo.css — Sytezo layer on top of the engine (site.css).
   Layout concept: a black hero carrying the funding signal (one
   bar per scheme, coloured by status, echoing the bars of the Ξ)
   over a quiet monochrome docs shell. Below the hero the page
   reads as lists, a ledger and tracks rather than card grids.
   Status is the only thing allowed to carry colour.
   Reads only tokens from tokens.css.
   ============================================================ */

/* ---------- base type ---------- */
body { font-size: 16px;                                 /* was 15 */ line-height: 1.65; letter-spacing: 0.002em; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
h1 { font-weight: 400; letter-spacing: -0.025em; font-size: clamp(2.0rem, 4.2vw, 2.8rem); line-height: 1.08; }
h2 { letter-spacing: -0.015em; }
h1, h2, h3 { text-wrap: balance; }
.page-head .kicker, .eyebrow {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--text-faint);
}
.sidebar-title, .hero .kicker, .fact .k, .pagenav .dir, .toc .toc-title, .qcard .qnum, .stage-card .col h4,
.org-card .o-org, .inc-leg-t, .ss-elig span, .scheme-card .abbr, .nav-new, .ss-verified,
table.data thead th, table.compare tbody th, .author-role { text-transform: none; letter-spacing: 0.005em; }
.sidebar-title { font-size: 0.8125rem; font-weight: 500; color: var(--text-faint); }
.fact .k, .toc .toc-title, table.data thead th, table.compare tbody th { font-size: 0.8125rem; font-weight: 500; }
.eyebrow { display: block; margin-bottom: 10px; }
a { text-decoration: none; }
.prose a, .callout a, .footer-note a, .sz-lede a, .muted a, .page-head .lede a, .card p a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
::selection { background: var(--text); color: var(--bg); }

/* ---------- logo ---------- */
.logo { display: block; height: 16px; width: auto; color: var(--text); stroke-width: var(--logo-stroke, 1.4px); }
.logo .logo-e { opacity: 0.78; }
.brand { gap: 12px; }
.brand-logo { height: 15px; --logo-stroke: 1.35px; }
.brand-sep { width: 1px; height: 18px; background: var(--border-strong); }
.brand-name { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 520px) { .brand-sep, .brand-name { display: none; } }

/* ---------- topbar ---------- */
.topbar { height: 60px; gap: 8px; }
.searchbtn { border-radius: var(--radius-pill); background: transparent; }
.topbar-cta { padding: 8px 16px; font-size: 0.8125rem; margin-left: 4px; }
@media (max-width: 560px) { .topbar-cta { padding: 8px 12px; font-size: 0.8125rem; } }
.sidebar { top: 60px; height: calc(100dvh - 60px); }
@media (max-width: 1023px) { .sidebar { top: 60px; height: calc(100dvh - 60px); } }

/* ---------- sidebar ---------- */
.sidebar-title { font-weight: 500; }
.sidebar a.nav-link[aria-current="page"] { background: var(--accent-tint); color: var(--text); font-weight: 600; }
.nav-ic { width: 22px; height: 22px; display: grid; place-items: center; color: var(--text-faint); flex: none; }
.nav-new { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 0 6px; color: var(--text-muted); margin-left: auto; }

/* ---------- buttons: pills, monochrome ---------- */
.btn { border-radius: var(--radius-pill); font-weight: 500; padding: 11px 20px; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); box-shadow: none; }
.btn-primary:hover { background: var(--primary); color: var(--primary-contrast); opacity: 0.9; box-shadow: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { color: var(--text); }

/* ---------- status chips (the only colour) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em;
  border-radius: var(--radius-pill); padding: 3px 10px 3px 9px; border: 1px solid transparent;
  background: var(--surface-sunken); color: var(--text-muted); line-height: 1.5;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.status.st-open { background: var(--ok-tint); color: var(--ok); }
.status.st-active { background: var(--surface-sunken); color: var(--text-muted); border-color: var(--border); }
.status.st-waiting { background: var(--wait-tint); color: var(--wait); }
.status.st-closed { background: var(--stop-tint); color: var(--stop); }
.status.sm { font-size: 0.8125rem; padding: 1px 8px 1px 7px; }
button.status { cursor: pointer; }
button.status[aria-pressed="true"] { border-color: currentColor; }
.status .sl-n { opacity: 0.75; font-weight: 500; }
.st-dot, .pill-st { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text-faint); display: inline-block; }
.st-dot.st-open, .pill-st.st-open { background: var(--ok); }
.st-dot.st-waiting, .pill-st.st-waiting { background: var(--wait); }
.st-dot.st-closed, .pill-st.st-closed { background: var(--stop); }
.st-dot.st-active { background: var(--border-strong); }
.pill-list a { display: inline-flex; align-items: center; gap: 6px; }
.badge.b-new { background: transparent; color: var(--text); border: 1px solid var(--border-strong); font-size: 0.8125rem; letter-spacing: 0.01em; text-transform: none; padding: 0 7px; vertical-align: 2px; }
.badge.b-new::before { display: none; }
.badge { font-weight: 500; }

/* ---------- monochrome engine surfaces ---------- */
.card-icon { background: var(--accent-tint); color: var(--text); border-radius: 50%; }
.card { border-radius: var(--radius-lg); }
a.card:hover, a.scheme-card:hover { box-shadow: none; transform: translateY(-1px); border-color: var(--text-faint); }
.scheme-card .amount, .fact-amount { color: var(--text); font-weight: 600; }
.scheme-card .abbr { font-family: var(--font-body); font-size: 0.8125rem; color: var(--text-faint); }
.scheme-card h3 { font-weight: 700; }
.card-count { color: var(--text-faint) !important; }
.b-head.h-0, .b-head.h-1, .b-head.h-2, .b-head.h-3, .b-head.h-4, .b-head.h-5 { background: var(--surface-alt); color: var(--text); }
.tree-q > h3 .qn { color: var(--text-faint); }
.callout { border-radius: var(--radius-md); }
.callout.tone-info { background: var(--surface-alt); border: 1px solid var(--border); }
.callout.tone-warn { background: var(--wait-tint); }
.callout .ic { color: var(--text-muted); }
.callout.tone-warn .ic { color: var(--wait); }
.callout.policy-changes { margin: -6px 0 18px; }
.wizard-progress .seg .fill { background: var(--text); }
.answer:hover { border-color: var(--text); box-shadow: none; }
.stat { background: transparent; border-color: var(--border); }
.stat .n { font-weight: 400; font-size: 2.0rem; color: var(--text); }
.stat .l { color: var(--text-faint); }
.chip[aria-pressed="true"], :root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.keylink:hover { border-color: var(--text); }
.toolbar input[type="search"]:focus { outline-color: var(--text); }

/* ---------- landing hero ---------- */
.content.home { max-width: 1240px; }
.sz-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero-bg); color: var(--hero-text);
  border: 1px solid var(--hero-line); border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(28px, 5vw, 60px);
}
/* signal bars — the FounderOS / SYTΞZO three-bar motif, stretched into a field */
.sz-hero-bars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.9;
  background:
    linear-gradient(180deg, transparent 0%, #000 82%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.055) 0 22px, transparent 22px 60px),
    radial-gradient(900px 420px at 78% -10%, rgb(255 255 255 / 0.13), transparent 70%);
}
.sz-hero-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .sz-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: 48px; } }
.sz-hero .eyebrow { color: var(--hero-muted); }
.sz-hero-copy { container-type: inline-size; min-width: 0; }
.sz-hero h1 { color: var(--hero-text); font-size: clamp(2.0rem, 5.4vw, 3.9rem); font-size: clamp(2.0rem, 12.5cqi, 3.9rem); max-width: 15ch; margin-top: 6px; }
.sz-lede { color: var(--hero-muted); font-size: clamp(1.0rem, 1.8vw, 1.1rem); max-width: 54ch; margin-top: 18px; }

/* the funding signal: one bar per central scheme, grouped by status */
.signal { margin: 32px 0 0; max-width: 640px; }
.signal-bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.sb {
  flex: 1 1 0; min-width: 0; height: 100%; border-radius: 2px; background: var(--hero-active);
  transform-origin: 50% 100%; transition: transform 160ms var(--ease), opacity 160ms var(--ease);
}
.sb.t-open { background: var(--hero-ok); }
.sb.t-waiting { background: var(--hero-wait); }
.sb.t-closed { background: var(--hero-stop); }
.signal-bars:hover .sb, .signal-bars:focus-within .sb { opacity: 0.38; }
.signal-bars .sb:hover, .signal-bars .sb:focus { opacity: 1; transform: scaleY(1.16); outline: none; }
.signal-bars .sb:focus-visible { box-shadow: 0 0 0 2px var(--hero-bg), 0 0 0 3px var(--hero-text); }
.signal-read { margin-top: 14px; min-height: 26px; display: flex; align-items: center; font-size: 0.8125rem; color: var(--hero-muted); }
.signal-read .sr-live { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.signal-read .sr-live[hidden], .signal-read .sr-default[hidden] { display: none; }
.signal-read strong { color: var(--hero-text); font-weight: 600; }
.sr-coarse { display: none; }
@media (hover: none), (pointer: coarse) {
  .sb { pointer-events: none; }
  .sr-fine { display: none; }
  .sr-coarse { display: inline; }
}
.signal-legend { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.8125rem; color: var(--hero-muted); }
.signal-legend li { display: flex; align-items: baseline; gap: 7px; }
.signal-legend li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--hero-active); transform: translateY(-1px); }
.signal-legend .t-open::before { background: var(--hero-ok); }
.signal-legend .t-waiting::before { background: var(--hero-wait); }
.signal-legend .t-closed::before { background: var(--hero-stop); }
.signal-legend b { font-family: var(--font-display); font-weight: 400; font-size: 1.1875rem; color: var(--hero-text); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .signal { margin-top: 26px; } .signal-bars { gap: 2px; height: 48px; } }
@media (prefers-reduced-motion: no-preference) {
  .sb { animation: sb-rise 720ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 8ms); }
  @keyframes sb-rise { from { transform: scaleY(0.2); opacity: 0.45; } }
}
/* status chips inside the always-dark hero */
.sz-hero .status.st-open { background: rgb(110 231 168 / 0.13); color: var(--hero-ok); }
.sz-hero .status.st-waiting { background: rgb(245 197 107 / 0.13); color: var(--hero-wait); }
.sz-hero .status.st-closed { background: rgb(255 154 143 / 0.13); color: var(--hero-stop); }
.sz-hero .status.st-active { background: rgb(255 255 255 / 0.08); color: var(--hero-text); border-color: rgb(255 255 255 / 0.16); }

.glass-card {
  background: rgb(18 18 20 / 0.66); border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
}
.sz-form-title { font-size: 1.375rem; color: #f6f6f5; }
.sz-form-sub { color: #a1a1a6; font-size: 0.875rem; margin-top: 6px; }
.sz-hero .hero-actions { margin-top: 18px; }
.sz-hero .btn-primary { background: #ffffff; color: #000000; }
.sz-hero .btn-secondary { color: #f6f6f5; border-color: rgb(255 255 255 / 0.3); }
.sz-hero .hero-search { margin-top: 16px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.18); color: #a1a1a6; border-radius: var(--radius-pill); width: 100%; }
.sz-hero .hero-search kbd { background: transparent; border-color: rgb(255 255 255 / 0.25); color: #a1a1a6; }

/* locked / unlocked swaps */
.unlocked-only { display: none; }
:root.sz-unlocked .unlocked-only { display: block; }
:root.sz-unlocked .locked-only { display: none; }

/* ---------- lead form ---------- */
.gate-form { display: grid; gap: 12px; margin-top: 16px; }
.gf-row { display: grid; gap: 12px; }
.gf-two { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.gf-field { display: grid; gap: 6px; font-size: 0.8125rem; color: var(--text-muted); min-width: 0; }
.gf-field em { font-style: normal; color: var(--text-faint); }
.gf-field input, .gf-field select {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 0.9375rem;
  color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--speed) var(--ease);
  appearance: none;
}
.gf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8b91' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.gf-field input::placeholder { color: var(--text-faint); }
.gf-field input:hover, .gf-field select:hover { border-color: var(--text-faint); }
.gf-field input:focus, .gf-field select:focus { outline: none; border-color: var(--text); }
.gf-hint { font-size: 0.8125rem; color: var(--text-faint); margin-top: -4px; }
.gf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.gf-consent input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--text); }
.gf-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gf-error { font-size: 0.8125rem; color: var(--stop); background: var(--stop-tint); border-radius: var(--radius-sm); padding: 8px 12px; }
.gf-submit { width: 100%; height: 48px; font-size: 0.9375rem; }
.gf-fine { font-size: 0.8125rem; color: var(--text-faint); text-align: center; }
/* the hero is always black, so its form is always dark */
.sz-hero .gf-field { color: #b4b4b9; }
.sz-hero .gf-field input, .sz-hero .gf-field select { color: #f6f6f5; background-color: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.22); color-scheme: dark; }
.sz-hero .gf-field input::placeholder { color: rgb(255 255 255 / 0.4); }
.sz-hero .gf-field input:focus, .sz-hero .gf-field select:focus { border-color: #ffffff; }
.sz-hero .gf-hint, .sz-hero .gf-fine, .sz-hero .gf-field em { color: #8b8b91; }
.sz-hero .gf-consent { color: #a1a1a6; }
.sz-hero .gf-consent input { accent-color: #ffffff; }
.sz-hero .gf-error { color: #ff9a8f; background: rgb(255 154 143 / 0.12); }
.sz-hero .gf-submit { background: #ffffff; color: #000000; }

/* ---------- gate overlay ---------- */
.gate { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.gate[hidden] { display: none; }
:root.gate-open .gate { display: grid; }          /* shown from first paint on gated pages (set in <head>) */
.gate-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.gate-panel {
  position: relative; width: min(560px, 100%); margin: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius-lg) + 4px); padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-3);
}
.gate-head h2 { font-size: clamp(1.375rem, 3.4vw, 1.8rem); font-weight: 400; letter-spacing: -0.02em; margin-top: 4px; }
.gate-head p { color: var(--text-muted); font-size: 0.875rem; margin-top: 8px; }
.gate-logo { height: 14px; margin-bottom: 18px; }
.gate-leave { display: block; text-align: center; margin-top: 12px; font-size: 0.8125rem; color: var(--text-faint); }
/* phones: keep the whole form within about one screen */
@media (max-width: 560px) {
  .gate { padding: 10px; place-items: start center; }
  .gate-panel { padding: 20px 18px; border-radius: var(--radius-lg); }
  .gate-logo { height: 12px; margin-bottom: 12px; }
  .gate-head h2 { font-size: 1.375rem; }
  .gate-head p { font-size: 0.8125rem; margin-top: 6px; }
  .gate .gate-form { gap: 10px; margin-top: 12px; }
  .gate .gf-field input, .gate .gf-field select { height: 42px; }
  .gate .gf-two.gf-opt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gate .gf-fine { display: none; }
}
/* touch devices: 16px+ form text so iOS doesn't zoom in on focus */
@media (hover: none) and (pointer: coarse) {
  main input:not([type="checkbox"]):not([type="radio"]), main select, #search-input,
  .gate input:not([type="checkbox"]), .gate select { font-size: max(16px, 1em); }
}
:root.gate-open, :root.gate-open body { overflow: hidden; }
:root.gate-open .layout, :root.gate-open .footer { filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .gate:not([hidden]) .gate-panel { animation: gate-in 320ms var(--ease) both; }
  @keyframes gate-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
}

/* ---------- landing sections ---------- */
.sz-section { margin-top: clamp(44px, 7vw, 76px); }
.sz-section-head { margin-bottom: 18px; }
.sz-section-head h2 { font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 400; letter-spacing: -0.02em; }
.sz-section-head .muted { margin-top: 6px; max-width: 64ch; }
.sz-more { margin-top: 14px; font-size: 0.875rem; }
.sz-more a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }

.open-list { border-top: 1px solid var(--border); }
.open-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline;
  padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--text);
}
@media (min-width: 860px) { .open-item { grid-template-columns: minmax(140px, 0.9fr) minmax(0, 2.2fr) minmax(120px, 0.8fr) 20px; } }
.open-item:hover { text-decoration: none; background: var(--surface-alt); }
.oi-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.oi-what { color: var(--text-muted); font-size: 0.875rem; grid-column: 1 / -1; }
.oi-win { display: block; margin-top: 4px; font-style: normal; font-size: 0.8125rem; font-weight: 500; color: var(--ok); }
@media (min-width: 860px) { .oi-what { grid-column: auto; } }
.oi-amt { font-size: 0.8125rem; color: var(--text); text-align: right; }
.oi-go { color: var(--text-faint); display: none; }
@media (min-width: 860px) { .oi-go { display: block; } .oi-amt { order: 0; } }
.oi-go svg { width: 16px; height: 16px; }
@media (max-width: 859px) { .oi-amt { text-align: left; grid-column: 1 / -1; font-weight: 600; } }

/* what changed: a dated ledger */
.ledger { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.lg-row {
  display: grid; grid-template-columns: 104px 136px minmax(0, 1fr); gap: 6px 20px; align-items: baseline;
  padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--text);
}
.lg-row:hover { text-decoration: none; background: var(--surface-alt); }
.lg-row time { font-family: var(--font-display); font-size: 1rem; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lg-row .status { justify-self: start; }
.lg-body { display: grid; gap: 3px; min-width: 0; }
.lg-body strong { font-weight: 600; }
.lg-body span { color: var(--text-muted); font-size: 0.875rem; max-width: 72ch; }
@media (max-width: 720px) { .lg-row { grid-template-columns: auto minmax(0, 1fr); } .lg-body { grid-column: 1 / -1; } }

/* how it works: four steps on one rule */
.steps { list-style: none; padding: 0; display: grid; gap: 30px 28px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); counter-reset: step; }
.steps li { position: relative; padding-top: 24px; border-top: 1px solid var(--border-strong); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: -14px; left: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-size: 0.875rem; color: var(--text);
}
.steps h3 { font-size: 1rem; }
.steps p { color: var(--text-muted); font-size: 0.875rem; margin-top: 6px; max-width: 36ch; }

/* index lists: browse rows with a count */
.index-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); column-gap: 36px; border-top: 1px solid var(--border); }
.ix-row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "ic t n" "ic d n";
  gap: 2px 14px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--border); color: var(--text);
}
.ix-row:hover { text-decoration: none; background: var(--surface-alt); }
.ix-ic { grid-area: ic; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-muted); }
.ix-ic svg { width: 17px; height: 17px; }
.ix-t { grid-area: t; font-weight: 600; }
.ix-d { grid-area: d; color: var(--text-muted); font-size: 0.875rem; }
.ix-n { grid-area: n; font-family: var(--font-display); font-size: 1.625rem; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }

/* browse by stage: the startup lifecycle as a track */
.life { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; position: relative; }
.life::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 1px; background: var(--border-strong); }
.life a { position: relative; display: grid; gap: 4px; padding-top: 30px; color: var(--text); }
.life a:hover { text-decoration: none; }
.life a:hover .life-t { text-decoration: underline; text-underline-offset: 3px; }
.life-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--c); border: 1px solid var(--border-strong); box-shadow: 0 0 0 4px var(--bg); }
.life-t { font-weight: 600; }
.life-d { font-size: 0.8125rem; color: var(--text-muted); }
.life-n { font-size: 0.8125rem; color: var(--text-faint); font-variant-numeric: tabular-nums; margin-top: 2px; }
@media (max-width: 860px) {
  .life { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .life::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .life a { padding: 0 0 0 34px; }
}

/* ---------- directory status legend ---------- */
.status-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 6px; }

/* ---------- scheme page status panel ---------- */
.status-panel { border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--radius-md); padding: 16px 18px; margin: 4px 0 22px; background: var(--surface); }
.status-panel.tone-open { border-left-color: var(--ok); }
.status-panel.tone-waiting { border-left-color: var(--wait); }
.status-panel.tone-closed { border-left-color: var(--stop); }
.status-panel.tone-active { border-left-color: var(--text-faint); }
.sp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-date { font-size: 0.8125rem; color: var(--text-faint); letter-spacing: 0.04em; }
.sp-note { margin-top: 10px; font-size: 0.9375rem; }
.sp-change { margin-top: 8px; font-size: 0.875rem; color: var(--text-muted); }
.sp-sources { margin-top: 10px; font-size: 0.8125rem; color: var(--text-faint); }
.sp-sources summary { cursor: pointer; width: fit-content; }
.sp-sources ul { margin-top: 6px; padding-left: 18px; display: grid; gap: 2px; }
.sp-sources a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.related .rn { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---------- status table (about / start) ---------- */
.status-table { display: grid; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-top: 12px; }
.st-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 0.875rem; }
.st-row:first-child { border-top: none; }
.status-table.compact .st-row { grid-template-columns: 128px minmax(0, 1fr); font-size: 0.8125rem; }
@media (max-width: 560px) { .st-row, .status-table.compact .st-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- before you apply ---------- */
.prep-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.prep-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); min-width: 0; }
.prep-n { font-family: var(--font-display); color: var(--text-faint); font-size: 0.875rem; letter-spacing: 0.08em; }
.prep-card h2 { font-size: 1.1875rem; margin-top: 6px; }
.prep-card h3 { font-size: 0.875rem; margin-top: 14px; color: var(--text-muted); }
.prep-card p, .prep-card li { font-size: 0.875rem; color: var(--text-muted); }
.prep-card p { margin-top: 8px; }
.prep-card ul { margin-top: 8px; padding-left: 18px; display: grid; gap: 6px; }
.prep-card strong { color: var(--text); }
.prep-note { border-top: 1px dashed var(--border); padding-top: 10px; }
.check-cols { columns: 2; column-gap: 18px; }
@media (max-width: 480px) { .check-cols { columns: 1; } }

/* ---------- change log ---------- */
.chg-section { margin-top: 34px; }
.chg-section h2 { font-size: 1.1875rem; }
.chg-section > .muted { margin-top: 4px; }
.chg-list { margin-top: 12px; border-top: 1px solid var(--border); }
.chg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--border); color: var(--text); }
@media (min-width: 820px) { .chg-row { grid-template-columns: minmax(160px, 1fr) 150px minmax(0, 2.4fr); } }
.chg-row:hover { text-decoration: none; background: var(--surface-alt); }
.chg-name { font-weight: 600; font-size: 0.9375rem; }
.chg-what { color: var(--text-muted); font-size: 0.875rem; grid-column: 1 / -1; }
@media (min-width: 820px) { .chg-what { grid-column: auto; } }
.chg-row .status { justify-self: start; }

/* ---------- shortlist ---------- */
.sl-prefs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.sl-prefs label { display: grid; gap: 6px; min-width: 0; font-size: 0.8125rem; font-weight: 500; color: var(--text-faint); }
.sl-prefs select { width: 100%; min-width: 0; text-overflow: ellipsis; height: 42px; padding: 0 30px 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: 0.875rem; text-transform: none; letter-spacing: 0; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8b91' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.sl-block { margin-top: 30px; }
.sl-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sl-head h2 { font-size: 1.1875rem; }
.sl-list { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.sl-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); }
.sl-card:hover { text-decoration: none; border-color: var(--text-faint); }
.sl-card .sl-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sl-card h3 { font-size: 1rem; }
.sl-card p { font-size: 0.8125rem; color: var(--text-muted); }
.sl-card .sl-amt { font-size: 0.8125rem; font-weight: 600; margin-top: auto; }
.sl-state { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: var(--surface); margin-top: 14px; }
.sl-state .sl-policy { font-weight: 600; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sl-state p { color: var(--text-muted); font-size: 0.875rem; margin-top: 8px; }
.sl-inc { margin-top: 12px; display: grid; gap: 8px; }
.sl-inc li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.875rem; }
.sl-inc li span { color: var(--text-muted); font-size: 0.8125rem; }
.sl-inc { padding: 0; }

/* ---------- FounderOS (subtle) ---------- */
.fos-card { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-alt); }
.fos-mark { display: grid; gap: 5px; flex: none; padding-top: 6px; width: 34px; }
.fos-mark span { display: block; height: 2px; background: var(--text); }
.fos-mark span:nth-child(2) { width: 68%; opacity: 0.72; }
.fos-mark span:nth-child(3) { width: 36%; opacity: 0.44; }
.fos-copy h2 { font-size: 1.1875rem; }
.fos-copy p { color: var(--text-muted); font-size: 0.875rem; margin: 6px 0 14px; max-width: 62ch; }
.fos-copy .eyebrow { margin-bottom: 6px; }

/* ---------- state schemes: policy status ---------- */
.ss-policy-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; font-size: 0.8125rem; color: var(--text-muted); }
.ss-verified { font-size: 0.8125rem; color: var(--ok); border: 1px solid currentColor; border-radius: var(--radius-pill); padding: 0 7px; }
.ss-badge { background: var(--surface-sunken) !important; color: var(--text-muted) !important; }
.inc-badge { background: var(--surface-sunken); color: var(--text-muted); }

/* ---------- footer ---------- */
.footer { background: var(--bg); }
.footer-inner { align-items: flex-start; }
.footer-brand { flex: 1 1 260px; max-width: 40ch; display: grid; gap: 12px; }
.footer-logo { height: 14px; }
.footer-brand p { font-size: 0.8125rem; color: var(--text-faint); line-height: 1.55; }
.footer-brand a, .footer-note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.f-legal { flex-basis: 100%; font-size: 0.8125rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 14px; }
.f-legal a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- misc ---------- */
.muted { color: var(--text-muted); }
.small { font-size: 0.8125rem; }
@media print { .gate, .topbar-cta { display: none !important; } :root.gate-open .layout { filter: none; } }
.empty-state .big { color: var(--text-faint); display: flex; justify-content: center; }

/* ---------- incubators: optional note (e.g. build3) ---------- */
.inc-grid { align-items: start; }
.inc-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }
.inc-pi-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.inc-top .badge.b-new, .inc-pi-h .badge.b-new { margin-left: 2px; }

/* ---------- pager arrows (icons, not glyphs) ---------- */
.pagenav .dir { display: inline-flex; align-items: center; gap: 6px; }
.pn-ic { display: inline-grid; place-items: center; }
.pn-ic svg { width: 13px; height: 13px; }
.pn-prev svg { transform: rotate(180deg); }

/* ---------- preview notice (claude.ai artifact build only) ---------- */
.preview-bar { padding: 7px 16px; text-align: center; font-size: 0.8125rem; color: var(--text-muted); background: var(--surface-alt); border-bottom: 1px solid var(--border); }

/* ============================================================
   Chrome alignment with sytezo.com
   The guide keeps its own navigation — search, theme toggle and
   the 16-page sidebar are what make it usable — but the topbar
   now wears the same frosted treatment as the marketing header
   so the two read as one product.
   ============================================================ */
.topbar {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--glass-border);
}
.topbar-cta { font-weight: 500; }
.brand { gap: 10px; }
.footer-inner { max-width: var(--container-page, 72rem); }
