:root {
    --ink: #172033;
    --ink-soft: #273247;
    --muted: #5E6B7C;
    --paper: #F4F1EA;
    --paper-deep: #EAE4D9;
    --surface: #FFFDF8;
    --line: #D8D2C7;
    --accent: #315C4C;
    --accent-dark: #234438;
    --warm: #B95F3D;
    --yellow: #F6C91F;
    --font-sans: "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --shadow-soft: 0 24px 64px rgba(77, 65, 49, 0.14);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 8%, rgba(246, 201, 31, 0.12), transparent 25rem),
        var(--paper);
    font-family: var(--font-sans);
    line-height: 1.65;
}
a { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
    background: var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.02em;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px 8px 8px 2px;
    color: var(--surface);
    background: var(--accent);
    box-shadow: 0 7px 18px rgba(49, 92, 76, 0.22);
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-primary {
    padding: 9px 14px;
    border-radius: 8px;
    color: white;
    background: var(--accent);
}
.site-nav .nav-primary:hover { color: white; background: var(--accent-dark); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
    width: min(1160px, calc(100% - 40px));
    min-height: 700px;
    margin: 0 auto;
    padding: 44px 0 80px;
}
.hero-copy-column { min-width: 0; }
.eyebrow {
    margin: 0 0 18px;
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
h1, h2, h3 {
    margin-top: 0;
    letter-spacing: -0.045em;
    text-wrap: balance;
}
h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-size: clamp(3.35rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.95;
}
.hero-copy {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.04rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    text-wrap: pretty;
}
.hero-copy code {
    padding: 2px 5px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink-soft);
    background: rgba(255, 253, 248, 0.75);
    font-size: 0.88em;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.primary-link, .secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.primary-link {
    color: white;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(49, 92, 76, 0.18);
}
.primary-link:hover {
    background: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(49, 92, 76, 0.24);
    transform: translateY(-1px);
}
.secondary-link {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.5);
}
.secondary-link:hover { background: var(--surface); transform: translateY(-1px); }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 28px 0 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}
.hero-proof li::before { content: "◆"; margin-right: 7px; color: var(--yellow); font-size: 9px; }

.product-frame {
    position: relative;
    margin: 0;
    padding: 14px;
    border: 1px solid #C9C2B7;
    border-radius: 24px 24px 24px 8px;
    background: #E9E3D9;
    box-shadow: var(--shadow-soft);
    transform: rotate(0.8deg);
}
.product-frame::before {
    position: absolute;
    top: -18px;
    right: 28px;
    width: 72px;
    height: 32px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--yellow);
    content: "REAL UI";
    font-size: 10px;
    font-weight: 850;
    line-height: 32px;
    text-align: center;
    letter-spacing: 0.08em;
}
.product-frame-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 5px 12px;
    color: #6A6258;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.product-frame img {
    width: 100%;
    aspect-ratio: 670 / 640;
    border: 1px solid #D3CDC2;
    border-radius: 14px 14px 14px 5px;
    object-fit: cover;
    object-position: center;
    background: white;
}
.product-frame figcaption { padding: 11px 5px 1px; color: #6A6258; font-size: 11px; }

.fact-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.48);
}
.product-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}
.product-facts div { padding: 24px 22px; border-left: 1px solid var(--line); }
.product-facts div:last-child { border-right: 1px solid var(--line); }
.product-facts dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.product-facts dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 720; }

.section {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 110px 0;
    border-bottom: 1px solid var(--line);
}
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .use-case-copy h2, .final-cta h2 {
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 500;
    line-height: 1.02;
}
.section-heading p:last-child { max-width: 650px; color: var(--muted); font-size: 17px; }

.capability-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
}
.capability-card {
    min-height: 270px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 18px 6px;
    background: var(--surface);
}
.capability-card-wide {
    display: grid;
    grid-row: span 2;
    grid-template-columns: 64px 1fr;
    min-height: 554px;
    align-items: end;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.2), var(--surface)),
        radial-gradient(circle at 20% 10%, rgba(246, 201, 31, 0.22), transparent 18rem);
}
.capability-card-dark { color: #F7F4ED; background: var(--ink); border-color: var(--ink); }
.capability-card-dark p { color: #C9D0DC; }
.feature-number {
    display: block;
    margin-bottom: 44px;
    color: var(--warm);
    font: italic 19px var(--font-serif);
}
.capability-card-wide .feature-number { align-self: start; }
.capability-card h3 { margin-bottom: 12px; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.15; }
.capability-card p { margin: 0; color: var(--muted); font-size: 15px; }
.capability-card .card-note {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
}

.process-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 8vw, 110px);
}
.process-heading { margin-bottom: 0; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.step-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--surface);
    background: var(--accent);
    font: italic 19px var(--font-serif);
}
.process-list h3 { margin-bottom: 7px; font-size: 20px; }
.process-list p { margin: 0; color: var(--muted); }
.process-list code { padding: 2px 5px; border-radius: 4px; background: var(--paper-deep); font-size: 0.88em; }

.use-case-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 80px;
    align-items: end;
}
.use-case-copy h2 { max-width: 760px; margin-bottom: 0; }
.use-case-list { display: flex; flex-wrap: wrap; gap: 8px; align-content: end; }
.use-case-list span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255, 253, 248, 0.55);
    font-size: 12px;
    font-weight: 700;
}

.faq-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; }
.faq-section .section-heading { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    position: relative;
    padding: 24px 40px 24px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 750;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    position: absolute;
    top: 24px;
    right: 5px;
    content: "+";
    color: var(--warm);
    font: 24px/1 var(--font-serif);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 660px; margin: -4px 0 24px; color: var(--muted); }

.final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
    margin-top: 110px;
    margin-bottom: 110px;
    padding: clamp(34px, 6vw, 70px);
    border: 0;
    border-radius: 24px 24px 24px 8px;
    color: #F8F5EE;
    background: var(--ink);
    box-shadow: 0 28px 70px rgba(23, 32, 51, 0.18);
}
.final-cta .eyebrow { color: var(--yellow); }
.final-cta h2 { max-width: 760px; margin-bottom: 16px; }
.final-cta p:last-child { max-width: 650px; margin: 0; color: #CBD2DE; }
.final-cta .primary-link { white-space: nowrap; color: var(--ink); background: var(--yellow); box-shadow: none; }
.final-cta .primary-link:hover { background: #FFD841; }

.page-shell {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0 80px;
}
.page-shell article {
    padding: clamp(30px, 7vw, 68px);
    border: 1px solid var(--line);
    border-radius: 20px 20px 20px 7px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(77, 65, 49, 0.08);
}
.page-shell h1 {
    max-width: none;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 7vw, 5rem);
}
.page-shell h2 { margin-top: 46px; margin-bottom: 10px; font-size: 25px; }
.page-shell h3 { margin-top: 30px; margin-bottom: 8px; font-size: 18px; }
.page-shell p, .page-shell li { color: #455164; }
.page-shell code { padding: 2px 5px; border-radius: 4px; background: #EEE9DF; }
.page-shell .primary-link { margin-top: 12px; color: white; }
.updated { color: var(--muted); font-size: 12px; }
.support-callout {
    margin: 30px 0;
    padding: 22px;
    border-left: 4px solid var(--yellow);
    background: var(--paper);
}
.support-callout p { margin: 0; }

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (max-width: 900px) {
    .site-nav a:not(.nav-primary) { display: none; }
    .hero { grid-template-columns: 1fr; min-height: 0; gap: 68px; padding-top: 52px; }
    .hero-copy-column { max-width: 760px; }
    .product-frame { width: min(620px, 100%); transform: none; }
    .product-facts { grid-template-columns: repeat(2, 1fr); }
    .product-facts div:nth-child(2) { border-right: 1px solid var(--line); }
    .product-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card-wide { grid-row: auto; min-height: 430px; }
    .process-section, .use-case-section, .faq-section { grid-template-columns: 1fr; gap: 46px; }
    .final-cta { grid-template-columns: 1fr; }
    .final-cta .primary-link { justify-self: start; }
}

@media (max-width: 580px) {
    .site-header, .hero, .section, .site-footer, .page-shell, .product-facts { width: min(100% - 24px, 1160px); }
    .site-header { padding: 16px 0; }
    .brand { font-size: 13px; }
    .site-nav { gap: 10px; }
    .site-nav .nav-primary { padding: 8px 10px; font-size: 11px; }
    h1 { font-size: clamp(3.15rem, 17vw, 4.7rem); }
    .hero { padding-bottom: 82px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .primary-link, .secondary-link { width: 100%; }
    .product-frame { padding: 10px; }
    .product-frame-topline { font-size: 8px; }
    .product-facts { grid-template-columns: 1fr; }
    .product-facts div, .product-facts div:nth-child(2) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .product-facts div:last-child { border-bottom: 0; }
    .section { padding: 82px 0; }
    .capability-card { padding: 25px; }
    .capability-card-wide { grid-template-columns: 1fr; min-height: 0; }
    .capability-card-wide .feature-number { margin-bottom: 48px; }
    .process-list li { grid-template-columns: 48px 1fr; gap: 14px; }
    .final-cta { width: calc(100% - 24px); margin-top: 82px; margin-bottom: 82px; padding: 32px 24px; }
    .final-cta .primary-link { width: 100%; }
    .page-shell article { padding: 28px 22px; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}

[hidden] { display: none !important; }



/* Evidence, guide, entity, and changelog pages */
.site-nav a[aria-current="page"] { color: var(--ink); }
.content-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 42px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.content-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(48px, 8vw, 104px);
    align-items: end;
    padding: 54px 0 94px;
    border-top: 1px solid var(--line);
}
.content-hero h1 {
    max-width: 820px;
    margin-bottom: 24px;
    font-size: clamp(3.35rem, 7vw, 6.6rem);
    line-height: 0.94;
}
.content-lead {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.7;
    text-wrap: pretty;
}
.evidence-stats,
.entity-fact-list {
    margin: 0;
    border-top: 1px solid var(--ink);
}
.evidence-stats div,
.entity-fact-list div {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.evidence-stats dt,
.entity-fact-list dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.evidence-stats dd,
.entity-fact-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}
.entity-fact-list a { text-underline-offset: 3px; }
.content-section {
    padding: clamp(74px, 10vw, 132px) 0;
    border-top: 1px solid var(--line);
}
.content-section h2 {
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    font-weight: 500;
    line-height: 0.98;
}
.content-section h3 { font-size: 21px; }
.content-section p { text-wrap: pretty; }
.compact-heading { max-width: 860px; margin-bottom: 54px; }
.compact-heading h2 { max-width: 830px; }
.compact-heading p:last-child { max-width: 700px; color: var(--muted); font-size: 17px; }
.evidence-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(46px, 7vw, 92px);
    align-items: start;
}
.evidence-layout.reverse-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); }
.section-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.sticky-copy { position: sticky; top: 28px; }
.evidence-frame {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 18px 6px;
    background: rgba(255, 253, 248, 0.7);
    box-shadow: 0 24px 64px rgba(77, 65, 49, 0.09);
}
.evidence-frame img { width: 100%; height: auto; border-radius: 9px; background: #FAF8F5; }
.evidence-frame figcaption { padding: 12px 4px 2px; color: var(--muted); font-size: 11px; }
.evidence-frame-tall { max-width: 720px; justify-self: end; }
.evidence-frame-wide { max-width: 760px; }
.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--accent-dark);
    font-weight: 800;
    text-underline-offset: 4px;
}
.download-ledger { border-top: 1px solid var(--ink); }
.download-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding 160ms ease, color 160ms ease, background 160ms ease;
}
.download-row:hover { padding-left: 12px; padding-right: 12px; color: var(--accent-dark); background: rgba(255, 253, 248, 0.5); }
.download-row strong,
.download-row small { display: block; }
.download-row small { margin-top: 4px; color: var(--muted); }
.format-token {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
}
.source-layout,
.preview-layout,
.manifesto-layout,
.release-policy {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(48px, 8vw, 106px);
    align-items: start;
}
.preview-layout { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); align-items: center; }
.source-code,
.code-card {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 16px 16px 5px;
    color: #F7F4ED;
    background: var(--ink);
    box-shadow: 0 24px 58px rgba(23, 32, 51, 0.16);
}
.source-code {
    min-width: 0;
    padding: clamp(24px, 5vw, 46px);
    overflow: auto;
    font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: pre-wrap;
}
.content-final-cta { width: 100%; }
.guide-hero { align-items: center; }
.guide-hero h1 { max-width: 780px; }
.code-card { overflow: hidden; }
.code-card-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #AEB8C8;
    font-size: 11px;
    font-weight: 700;
}
.code-card pre { margin: 0; padding: 26px; overflow: auto; }
.code-card code { color: #F7F4ED; font: 13px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.editorial-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.editorial-steps li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}
.editorial-steps > li > span {
    color: var(--warm);
    font: 500 38px/1 var(--font-serif);
}
.editorial-steps h3 { margin: 0 0 8px; font-size: 24px; }
.editorial-steps p { max-width: 720px; margin: 0; color: var(--muted); }
.comparison-table { overflow-x: auto; border-top: 1px solid var(--ink); }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 720px; }
.comparison-table th,
.comparison-table td { padding: 20px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.comparison-table tbody th { width: 110px; font: 500 24px/1 var(--font-serif); }
.comparison-table td { color: var(--muted); }
.question-grid,
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.question-grid .section-heading,
.principles-grid .section-heading { grid-column: 1 / -1; }
.question-grid article,
.principles-grid article {
    min-height: 210px;
    padding: 30px 32px 34px 0;
    border-top: 1px solid var(--line);
}
.question-grid article:nth-of-type(even),
.principles-grid article:nth-of-type(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.question-grid h3,
.principles-grid h3 { margin-bottom: 12px; }
.question-grid p,
.principles-grid p { max-width: 500px; margin: 0; color: var(--muted); }
.entity-hero { align-items: start; }
.large-prose p {
    max-width: 790px;
    margin: 0 0 24px;
    color: var(--ink-soft);
    font: 500 clamp(1.35rem, 2.5vw, 2.1rem)/1.45 var(--font-serif);
    letter-spacing: -0.02em;
}
.fact-ledger { border-top: 1px solid var(--ink); }
.fact-ledger div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.fact-ledger span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.fact-ledger strong { font-size: 16px; }
.principles-grid article > span { color: var(--warm); font: 500 30px/1 var(--font-serif); }
.entity-links {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 8vw, 100px);
}
.entity-links nav { border-top: 1px solid var(--ink); }
.entity-links nav a {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.entity-links nav a:hover strong { color: var(--accent-dark); }
.entity-links nav span { color: var(--muted); }
.changelog-hero { align-items: center; }
.changelog-hero h1 { margin-bottom: 20px; }
.current-release-stamp {
    display: grid;
    justify-items: start;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px 16px 16px 5px;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(77, 65, 49, 0.08);
}
.current-release-stamp span,
.current-release-stamp small { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.current-release-stamp strong { margin: 10px 0; font: 500 clamp(3.5rem, 7vw, 6rem)/1 var(--font-serif); letter-spacing: -0.06em; }
.timeline { border-top: 1px solid var(--ink); }
.timeline-entry {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(40px, 8vw, 100px);
    padding: clamp(54px, 8vw, 92px) 0;
    border-bottom: 1px solid var(--line);
}
.timeline-meta { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; }
.timeline-meta time { color: var(--ink); font-weight: 800; }
.timeline-body h2 { max-width: 800px; margin-bottom: 20px; font-family: var(--font-serif); font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.timeline-body > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 17px; }
.change-list { max-width: 780px; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.change-list li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.change-list li::before { position: absolute; left: 2px; content: "—"; color: var(--warm); }
.release-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.release-links a { color: var(--accent-dark); font-weight: 800; text-underline-offset: 4px; }
.release-policy > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }

@media (max-width: 900px) {
    .content-hero,
    .evidence-layout,
    .evidence-layout.reverse-layout,
    .source-layout,
    .preview-layout,
    .manifesto-layout,
    .release-policy,
    .entity-links { grid-template-columns: 1fr; }
    .content-hero { align-items: start; }
    .evidence-frame-tall { justify-self: start; }
    .sticky-copy { position: static; }
    .preview-layout .evidence-frame { order: 2; }
    .timeline-entry { grid-template-columns: 160px minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 580px) {
    .content-shell { width: calc(100% - 24px); padding-top: 6px; }
    .breadcrumb { margin-bottom: 24px; }
    .content-hero { gap: 42px; padding: 36px 0 72px; }
    .content-hero h1 { font-size: clamp(3rem, 15vw, 4.65rem); }
    .content-section { padding: 72px 0; }
    .content-section h2 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
    .evidence-stats div,
    .entity-fact-list div { grid-template-columns: 1fr; gap: 5px; }
    .download-row { grid-template-columns: 62px 1fr; gap: 14px; }
    .download-row > span:last-child { display: none; }
    .editorial-steps li { grid-template-columns: 58px 1fr; gap: 12px; }
    .question-grid,
    .principles-grid { grid-template-columns: 1fr; }
    .question-grid article,
    .question-grid article:nth-of-type(even),
    .principles-grid article,
    .principles-grid article:nth-of-type(even) { padding: 26px 0; border-left: 0; }
    .fact-ledger div { grid-template-columns: 1fr; gap: 7px; }
    .entity-links nav a { grid-template-columns: 1fr; gap: 5px; }
    .timeline-entry { grid-template-columns: 1fr; gap: 22px; }
    .timeline-meta { flex-direction: row; justify-content: space-between; }
    .current-release-stamp { max-width: 260px; }
}
