/* Direction C — approved 2026-11-05. Loads last; overrides older component CSS. */
body { background: #ffffff; color: #16151a; font-weight: 500; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; text-rendering: optimizeLegibility; padding-top: 0 !important; }
body.c-body { font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.55; }
.c-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.c-body a { color: #5b21b6; text-decoration: none; }
.c-body a:hover { color: #3b0764; text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #5b21b6; outline-offset: 2px; }

/* Header */
.site-header.c-header { position: sticky; top: 0; z-index: 40; background: #ffffff; border-bottom: 1px solid #16151a; backdrop-filter: none; -webkit-backdrop-filter: none; height: auto; box-shadow: none; }
.c-header-inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.c-brand { display: flex; align-items: center; gap: 10px; color: #16151a !important; text-decoration: none !important; }
.c-brand svg { width: 30px; height: 30px; flex: none; }
.c-brand-name { font-family: var(--font-editorial); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.01em; line-height: 1; }
.c-nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; }
.c-nav a { padding: 10px 12px; color: #3b3742 !important; font-weight: 600; font-size: 0.9375rem; text-decoration: none !important; border-bottom: 2px solid transparent; }
.c-nav a:hover { color: #16151a !important; border-bottom-color: #d9d5df; }
.c-nav a[aria-current="page"] { color: #16151a !important; font-weight: 800; border-bottom-color: #5b21b6; }
.c-actions { display: flex; gap: 10px; align-items: center; }
.c-search { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #d9d5df; background: #ffffff; color: #4a4553 !important; font-size: 0.875rem; text-decoration: none !important; }
.c-search kbd { font-family: var(--font-data); font-size: 0.75rem; color: #5e5868; }
.c-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #16151a; color: #ffffff !important; font-weight: 700; font-size: 0.875rem; text-decoration: none !important; }
.c-cta:hover { background: #3b3742; }
.c-strip { background: #f6f5f8; border-top: 1px solid #e6e3ea; }
.c-strip-inner { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--font-data); font-size: 0.75rem; color: #5e5868; }
.c-strip-inner strong { color: #16151a; font-weight: 600; }
.c-strip-inner a { margin-left: auto; }
@media (max-width: 860px) {
  .c-nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
  .c-nav a { white-space: nowrap; }
  .c-brand-name { font-size: 1.375rem; }
  .c-search .c-search-label, .c-search kbd { display: none; }
  .c-actions { margin-left: auto; }
  .c-strip-inner a { margin-left: 0; }
}

/* Shared type and controls */
.c-kicker { margin: 0 0 12px; font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5b21b6; }
.c-h1 { margin: 0 0 16px; font-family: var(--font-editorial); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.65rem); line-height: 1.03; letter-spacing: -0.02em; color: #16151a; }
.c-h2 { margin: 0 0 6px; font-family: var(--font-editorial); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.1; color: inherit; }
.c-sub { margin: 0; color: #4a4553; max-width: 64ch; }
.c-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.c-head > a { font-weight: 700; white-space: nowrap; }
.c-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #5b21b6; color: #ffffff !important; font-weight: 700; text-decoration: none !important; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.c-btn:hover { background: #4c1d95; }
.c-btn.is-light { background: #c4b5fd; color: #16151a !important; }
.c-btn.is-ghost { background: transparent; color: #16151a !important; border: 1px solid #16151a; }
.c-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.c-mono { font-family: var(--font-data); font-size: 0.75rem; color: #5e5868; }
.c-section { padding-top: 56px; padding-bottom: 56px; }
.c-rule { border-top: 1px solid #e6e3ea; }

/* Evidence chips */
.c-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-data); font-size: 0.71875rem; font-weight: 600; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px; border: 1px solid #d9d5df; background: #f6f5f8; color: #4a4553; text-transform: uppercase; }
.c-chip.is-plain { text-transform: none; font-weight: 400; letter-spacing: 0; }
.c-chip.is-announced { background: #fff4e0; color: #8a4b00; border-color: #f1d29c; }
.c-chip.is-advisory, .c-chip.is-tested, .c-chip.is-demonstrated { background: #e7f6ef; color: #047857; border-color: #9fd8bf; }
.c-chip.is-mixed { background: #fff1e8; color: #9a3412; border-color: #f5c3a4; }
.c-chip.is-contradicted { background: #fde8ec; color: #b4233c; border-color: #f2b3bf; }
.c-chip.is-unverified { background: #f3f1f6; color: #4a4553; border-color: #d9d5df; }
.c-dot { font-family: var(--font-data); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.c-dot.is-announced { color: #8a4b00; } .c-dot.is-advisory, .c-dot.is-tested, .c-dot.is-demonstrated { color: #047857; } .c-dot.is-mixed { color: #9a3412; } .c-dot.is-unverified { color: #5e5868; }

/* Front page */
.c-front { display: flex; flex-wrap: wrap; padding-top: 36px; padding-bottom: 48px; }
.c-lead { flex: 6 1 520px; min-width: 0; padding-right: 28px; }
.c-also { flex: 4 1 320px; min-width: 0; padding-left: 28px; border-left: 1px solid #e6e3ea; }
.c-triple { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 2px solid #16151a; margin-top: 22px; }
.c-triple > div { padding: 16px 18px; border-left: 1px solid #e6e3ea; }
.c-triple > div:first-child { padding-left: 0; border-left: 0; }
.c-triple p { margin: 0; font-size: 0.96875rem; }
.c-triple .c-mono { display: block; margin-bottom: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.c-triple .is-build { color: #047857; }
.c-story { padding: 16px 0; border-bottom: 1px solid #e6e3ea; }
.c-story h3 { margin: 6px 0; font-family: var(--font-editorial); font-weight: 500; font-size: 1.375rem; line-height: 1.15; }
.c-story h3 a { color: #16151a !important; }
.c-story p { margin: 0; font-size: 0.90625rem; color: #4a4553; }
.c-story strong { color: #047857; }
@media (max-width: 860px) {
  .c-lead { padding-right: 0; }
  .c-also { padding-left: 0; border-left: 0; border-top: 2px solid #16151a; margin-top: 28px; padding-top: 8px; }
  .c-triple > div { padding-left: 0; border-left: 0; border-top: 1px solid #e6e3ea; }
}

/* Dark band (Pulse) */
.c-dark { background: #111018; color: #f4f1fa; }
.c-dark a { color: #c4b5fd !important; }
.c-dark .c-kicker { color: #c4b5fd; }
.c-dark .c-sub { color: #c9c5d2; }
.c-pulse { display: flex; flex-wrap: wrap; gap: 28px; }
.c-figure { flex: 7 1 560px; min-width: 0; margin: 0; padding: 20px; border-radius: 16px; background: #15141b; border: 1px solid #26242e; }
.c-figure svg { width: 100%; height: auto; display: block; }
.c-figure svg .s-hit { cursor: pointer; }
.c-figure svg .s-hit:focus { outline: none; }
.c-figure svg .s-hit:focus + .s-ring, .c-figure svg .s-hit:hover + .s-ring { opacity: 1; }
.c-figure .s-ring { opacity: 0; pointer-events: none; }
.c-figure[data-view="closed"] .s-open, .c-figure[data-view="open"] .s-closed { display: none; }
.c-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; font-size: 0.8125rem; color: #c9c5d2; }
.c-legend span { display: inline-flex; align-items: center; gap: 8px; }
.c-legend i { width: 18px; height: 2px; display: inline-block; }
.c-tip { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #1d1b25; font-size: 0.875rem; }
.c-tip b { font-weight: 800; } .c-tip span { color: #c9c5d2; } .c-tip code { font-family: var(--font-data); color: #f4f1fa; }
.c-figcap { margin-top: 12px; font-size: 0.78125rem; color: #a39dad; }
.c-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #1d1b25; border: 1px solid #2f2c38; }
.c-seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: #c9c5d2; font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.c-seg button[aria-pressed="true"] { background: #f4f1fa; color: #111018; }
.c-side { flex: 4 1 320px; min-width: 0; }
.c-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.c-table th { text-align: left; color: #a39dad; font-size: 0.75rem; font-family: var(--font-data); font-weight: 500; padding: 6px 0; }
.c-table td { padding: 9px 0; border-top: 1px solid #26242e; vertical-align: top; }
.c-table td small { display: block; font-size: 0.75rem; color: #a39dad; }
.c-table .num { text-align: right; font-family: var(--font-data); }
.c-table .ci { text-align: right; font-family: var(--font-data); font-size: 0.75rem; color: #a39dad; padding-left: 12px; }
.c-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.c-stats div { padding: 14px; border-radius: 12px; background: #15141b; border: 1px solid #26242e; }
.c-stats b { display: block; font-family: var(--font-editorial); font-weight: 500; font-size: 1.875rem; }
.c-stats span { font-size: 0.78125rem; color: #c9c5d2; }
.c-light-table td { border-top-color: #e6e3ea; } .c-light-table th, .c-light-table .ci, .c-light-table td small { color: #5e5868; }

/* Cards */
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.c-card { padding: 20px; border-radius: 14px; border: 1px solid #e6e3ea; background: #ffffff; }
.c-card h3 { margin: 12px 0 8px; font-size: 1.125rem; line-height: 1.3; }
.c-card p { margin: 0 0 10px; font-size: 0.90625rem; color: #4a4553; }
.c-run { display: block; padding: 16px 18px; margin-bottom: 10px; border-radius: 12px; background: #f5f3ff; color: #16151a !important; text-decoration: none !important; }
.c-run:hover { background: #ede9fe; }
.c-run .c-mono { color: #5b21b6; display: block; margin-bottom: 4px; }
.c-run b { display: block; font-size: 1.03125rem; line-height: 1.3; margin-bottom: 4px; }
.c-run span:last-child { font-size: 0.875rem; color: #4a4553; }
.c-signal { display: flex; gap: 16px; padding: 16px 0; border-top: 2px solid #16151a; margin-bottom: 14px; }
.c-avatar { width: 48px; height: 48px; flex: none; border-radius: 999px; background: #ede9fe; color: #4c1d95; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.c-signal h3 { margin: 0 0 6px; font-family: var(--font-editorial); font-weight: 500; font-size: 1.4375rem; line-height: 1.15; }
.c-signal p { margin: 0 0 6px; color: #4a4553; font-size: 0.9375rem; }
.c-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.c-cols > * { min-width: 0; }

/* Pro */
.c-pro { background: #f6f5f8; border-top: 1px solid #e6e3ea; }
.c-plans { display: flex; flex-wrap: wrap; gap: 20px; }
.c-plan { flex: 1 1 300px; padding: 24px; border-radius: 16px; background: #ffffff; border: 1px solid #e6e3ea; }
.c-plan.is-pro { background: #16151a; color: #ffffff; border-color: #16151a; }
.c-plan.is-pro .c-price small { color: #c9c5d2; }
.c-plan h3 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 800; }
.c-price { margin: 0 0 14px; font-family: var(--font-editorial); font-size: 2rem; }
.c-price small { font-family: var(--font-ui); font-size: 0.9375rem; color: #5e5868; }
.c-plan ul { margin: 0 0 18px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; }
.c-pack { flex: 1.3 1 340px; min-width: 0; margin: 0; padding: 20px; border-radius: 16px; background: #111018; color: #e7e3ee; font-family: var(--font-data); font-size: 0.78125rem; line-height: 1.65; white-space: pre-wrap; overflow-x: auto; }
.c-faq { max-width: 760px; }
.c-faq details { border-top: 1px solid #e6e3ea; padding: 14px 0; }
.c-faq summary { font-weight: 700; cursor: pointer; }
.c-faq p { color: #4a4553; margin: 8px 0 0; }
.c-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.c-form input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid #bdb7c6; background: #ffffff; color: #16151a; font: inherit; }

/* Footer */
.colophon.c-footer { border-top: 2px solid #16151a; background: #ffffff; margin-top: 0; }
.c-footer-inner { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 0.875rem; color: #4a4553; align-items: baseline; }
.c-footer-inner .c-brand-name { font-size: 1.25rem; margin-right: auto; color: #16151a; }
.c-footer-inner p { flex-basis: 100%; margin: 8px 0 0; font-size: 0.8125rem; color: #5e5868; }

/* Existing app pages inherit the paper theme; give their headings the editorial face */
.hub-page { max-width: 1240px; margin: 0 auto; padding: 32px 24px 56px; }
.hub-intro h1, .hub-page h1 { font-family: var(--font-editorial); font-weight: 500; letter-spacing: -0.02em; color: #16151a; }
.hub-page h2 { font-family: var(--font-editorial); font-weight: 500; color: #16151a; }

.c-chart-scroll { overflow-x: auto; }
@media (max-width: 700px) { .c-chart-scroll svg { min-width: 640px; } .c-figure { padding: 14px; } }

/* App pages: editorial left alignment to match the homepage */
.hub-intro { text-align: left; max-width: none; margin-inline: 0; padding: 0.5rem 0 1.4rem; border-bottom: 2px solid #16151a; margin-bottom: 1.6rem; }
.hub-intro h1 { font-size: clamp(2.4rem, 4.6vw, 3.65rem); line-height: 1.03; margin: 0 0 .6rem; max-width: 18ch; }
.hub-intro p { max-width: 64ch; margin-inline: 0; color: #3b3742; }
#hub > .hub-status { margin-inline: 0; text-align: left; max-width: 64ch; }
.hub-section-head { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; text-align: left; }
#hub > .hub-section > h2, #hub > .hub-section > p, #hub > .hub-meta, .hub-columns > div > h2, .hub-columns > div > .hub-meta, .hub-detail > .hub-meta, .impact-story > h2, .impact-story > .hub-meta { text-align: left; margin-inline: 0; }
.hub-card { align-items: flex-start; text-align: left; background: #ffffff; border: 1px solid #e6e3ea; border-radius: 14px; }
.hub-card h3 { font-size: 1.125rem; line-height: 1.3; }
.hub-stats { text-align: left; }
.hub-subnav { justify-content: flex-start; }
.c-pulse { align-items: flex-start; }
#pro-form input { flex: none; border-radius: 12px; }
.hub-intro h1, .hub-intro p { margin-left: 0; margin-right: 0; text-align: left; }
.hub-card > *, .hub-card h3, .hub-card p { text-align: left; }
.hub-card .hub-actions { justify-content: flex-start; }

/* Guideline pass (Vercel Web Interface Guidelines, UI UX Pro Max, Anthropic frontend-design), 2026-11-05 */
body::before { display: none; }                         /* remove the old purple glow: crisper paper */
h1, h2, h3, .c-h1, .c-h2 { text-wrap: balance; }       /* no orphaned headline words */
p, li, dd { text-wrap: pretty; }
.c-table, .c-stats b, .c-mono, .c-chip, .c-price, .c-tip code, .hub-stats, table { font-variant-numeric: tabular-nums; }
[id] { scroll-margin-top: 140px; }                      /* anchors clear the sticky header */
a, button, summary, select, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(91, 33, 182, 0.15); }
.c-btn, .c-cta, .c-search, .c-run, .c-seg button, .c-nav a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.c-search:hover { border-color: #16151a; }
.c-btn:focus-visible, .c-cta:focus-visible, .c-search:focus-visible, .c-run:focus-visible { outline: 2px solid #5b21b6; outline-offset: 3px; }
.c-dark :focus-visible { outline-color: #c4b5fd; }
.c-form input, .c-form select { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}
