/* Consolidated type system. Loaded after legacy and merged styles. */
:root {
 --type-hero:2.25rem;
 --type-title:1.875rem;
 --type-body:1rem;
 --type-meta:.875rem;
 --text-main:#252521;
 --text-body:#44443e;
 --text-meta:#66645c;
}
.site-shell { font-family:var(--font-body-cjk); }
.site-shell .hero-title.hero-title-intro { font-size:var(--type-hero); line-height:1.25; font-weight:400; }
.site-shell .hero-intro-zh,
.site-shell .built-copy p,
.site-shell .product-intro p,
.site-shell .compact-work-card p,
.site-shell .merged-about p,
.site-shell .merged-index a {
 font-family:var(--font-body-cjk); font-size:var(--type-body); font-weight:400; line-height:1.75; color:var(--text-body);
}
.site-shell .product-intro h3,
.site-shell .compact-work-card h3,
html[lang^="zh"] .site-shell .product-intro h3,
.site-shell .merged-about h1 {
 font-family:var(--font-body-cjk); font-size:var(--type-title); line-height:1.25; font-weight:600; letter-spacing:-.02em; color:var(--text-main); margin:0 0 16px;
}
.site-shell .merged-index h2,
.site-shell .merged-about h2 {
 font-family:var(--font-body-cjk); font-size:var(--type-body); font-weight:600; line-height:1.5; letter-spacing:0; color:var(--text-main);
}
.site-shell .section-kicker,
.site-shell .compact-work-group h2,
html[lang^="zh"] .site-shell .compact-work-group h2,
.site-shell .build-entry-label,
.site-shell .build-entry-summary {
 font-family:var(--font-body-cjk); font-size:var(--type-meta); font-weight:400; line-height:1.5; letter-spacing:0; text-transform:none; color:var(--text-meta);
}
.site-shell .hero-nav a,
.site-shell .lang-switch { font-family:var(--font-body-cjk); font-size:var(--type-meta); }
/* Inline text keeps the underline continuous beneath text, space and arrow. */
.site-shell .planfold-play-link,
.site-shell .build-entry-link,
.site-shell .build-entry:hover .build-entry-link,
.site-shell .build-entry:focus-visible .build-entry-link {
 display:inline-block; font-family:var(--font-body-cjk); font-size:var(--type-body); font-weight:400; line-height:1.5; letter-spacing:0; text-transform:none;
 border:0; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:6px; text-decoration-skip-ink:none; padding:6px 0; min-height:0; color:var(--ink-blue);
}
.site-shell .product-intro p { margin-top:0; }
@media(max-width:640px) { :root { --type-hero:1.875rem; --type-title:1.5rem; } }
