/* v5 local comparison only: existing styles and original images stay frozen. */
body.public-v4 .matrix-hero {
display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
gap: 3rem; align-items: center; text-align: left; padding-block: 3rem;
}
body.public-v4 .matrix-hero .hero-copy { min-width: 0; max-width: none; margin: 0; text-align: left; }
body.public-v4 .matrix-hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.25rem); line-height: 1.4; overflow-wrap: anywhere; }
body.public-v4 .matrix-hero .hero-description { margin: .9rem 0 0; max-width: none; }
body.public-v4 .matrix-hero .hero-actions,
body.public-v4 .matrix-hero .trust-list { justify-content: flex-start; }
.matrix-title-mark { color: inherit; background: linear-gradient(transparent 60%, var(--matrix-highlight) 60%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.matrix-title-home { --matrix-highlight: #dce9f5; }
.matrix-title-library { --matrix-highlight: #deebe3; }
.matrix-title-store { --matrix-highlight: #fbe4ce; }
.matrix-hero-image { min-width: 0; width: 100%; max-width: 320px; margin: 0; justify-self: center; }
.matrix-hero-screen { position: relative; aspect-ratio: 1206 / 2471; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.matrix-hero-screen img { display: block; position: relative; z-index: 1; width: 100%; height: auto; }
.matrix-hero-image figcaption, .matrix-closeup figcaption { font-size: .85rem; line-height: 1.8; color: var(--muted); margin-block: .75rem; text-align: center; }
body.public-v4 .ownership-matrix-intro { display: block; text-align: left; }
.ownership-matrix-intro > h2 { text-align: center; }
.ownership-matrix-intro .ownership-conclusion { max-width: none; margin: 1.5rem 0; text-align: left; }
.ownership-matrix-intro .ownership-copy p, .ownership-explanation p { margin: .8rem 0 0; }
.matrix-visual-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-top: 1.5rem; }
.matrix-diagram, .matrix-closeup { min-width: 0; margin: 0; }
.ownership-reading-matrix { width: 100%; table-layout: fixed; border-spacing: 0; border-collapse: collapse; font-size: 1rem; line-height: 1.75; color: var(--ink); }
.ownership-reading-matrix caption { text-align: left; font-weight: 700; line-height: 1.7; padding: 0 0 .8rem; }
.ownership-reading-matrix .matrix-row-label { width: 21%; }
.ownership-reading-matrix th, .ownership-reading-matrix td { padding: .8rem; border: 1px solid #d4dee7; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ownership-reading-matrix thead th { background: #eaf1ed; color: #42644f; }
.ownership-reading-matrix tbody th { background: #e7eff7; color: #315b85; font-weight: 700; }
.ownership-reading-matrix tbody td { background: #fff; }
.ownership-reading-matrix td strong { display: block; line-height: 1.65; font-weight: 700; }
.ownership-reading-matrix td p { margin: .45rem 0 0; font-size: .9rem; line-height: 1.8; color: var(--muted); }
.matrix-axis-corner { font-size: .85rem; line-height: 1.7; }
.matrix-axis-corner span { display: block; }
.matrix-reading-name { color: #315b85; }
.matrix-ownership-name, .matrix-borrow { color: #42644f; }
.matrix-buy { color: #965018; }
.matrix-borrow { background: #eaf1ed; }
.matrix-buy { background: #fbefe4; }
.matrix-borrow, .matrix-buy { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.matrix-note { margin-top: .75rem; font-size: .85rem; line-height: 1.9; color: var(--muted); }
.matrix-closeup-screen { position: relative; width: 100%; aspect-ratio: 572.1393034825871 / 156.17401861594296; overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; background: #fff; }
.matrix-closeup-screen img { position: absolute; z-index: 1; width: 104.869564%; max-width: none; height: auto; left: -2.434782%; top: -63.056%; }
.matrix-closeup .enlarge-image { width: 100%; }
@media (max-width: 900px) {
body.public-v4 .matrix-hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem; }
.matrix-visual-layout { grid-template-columns: 1fr; gap: 1.5rem; }
.matrix-closeup { width: 100%; max-width: 560px; justify-self: center; }
}
@media (max-width: 480px) {
.ownership-reading-matrix th, .ownership-reading-matrix td { padding: .55rem; }
.ownership-reading-matrix .matrix-row-label { width: 22%; }
}
html[data-text-scale] body.public-v4 .matrix-hero,
html[data-text-scale] .matrix-visual-layout { grid-template-columns: 1fr; }
html[data-text-scale] .matrix-closeup { max-width: 560px; width: 100%; justify-self: center; }
@media (forced-colors: active) {
.matrix-title-mark { background: none; border-bottom: 2px solid; }
}
