/* Compact editorial homepage. Guide pages retain landing.css. */
body.redesign { background:#fff; color:#101114; --muted:#656a73; --line:#e3e6ec; --green:#1769ed; font-size:18px; }
.redesign .shell { max-width:1560px; padding:0 clamp(24px,3.9vw,56px); }
.redesign .nav { min-height:76px; gap:20px; }
.redesign .brand { font-size:29px; letter-spacing:-1.3px; gap:12px; }
.redesign .brand-image { width:39px; height:39px; }
.redesign .nav-links { gap:24px; font-size:16px; }
.redesign .nav-links .nav-download { background:#101114; color:#fff; padding:10px 23px; border-radius:8px; font-weight:700; }
.redesign .hero { padding:28px 0 24px; display:grid; grid-template-columns:minmax(0,.76fr) minmax(0,2fr); gap:28px; align-items:center; }
.redesign .eyebrow { color:#e95018; font-size:17px; letter-spacing:0; font-weight:650; line-height:1.6; margin:0 0 12px; }
.redesign .eyebrow::before { display:none; }
.redesign .hero h1 { font-size:clamp(48px,min(5.2vw,8.4svh),76px); font-weight:850; letter-spacing:-.065em; line-height:1.12; margin:12px 0 18px; }
.redesign .hero h1 > span { display:block; overflow-wrap:anywhere; }
.redesign .accent-blue, .redesign .lead strong { color:#1769ed; }
.redesign .lead { font-size:21px; line-height:1.65; color:#262a31; font-weight:600; margin:0; }
.redesign .lead em { font-style:normal; color:#da4b16; }
.redesign .actions { margin:22px 0 12px; gap:16px; }
.redesign .button { background:#101114; color:white; font-size:16px; min-height:48px; padding:12px 20px; border-radius:9px; font-weight:700; }
.redesign .button:hover, .redesign .nav-download:hover { background:#252932; color:#fff; box-shadow:none; transform:none; }
.redesign .text-link { font-size:16px; color:#1769ed; text-decoration:underline; text-underline-offset:5px; font-weight:600; }
.redesign .trust { font-size:14px; color:var(--muted); line-height:1.7; margin:0; }
.demo-pair { display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); gap:18px; min-width:0; }
.demo-panel { display:flex; flex-direction:column; min-width:0; height:clamp(400px,calc(100svh - 290px),540px); border:1px solid #e1e5ec; border-radius:12px; overflow:hidden; box-shadow:0 6px 24px #1b2b4609; background:#fff; }
.demo-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:49px; padding:11px 16px; border-bottom:1px solid #e7eaf0; background:#f9fafc; flex:none; }
.demo-panel-heading > h2 { font-size:16px; line-height:1.5; font-weight:650; letter-spacing:0; margin:0; }
#demo-reset { background:transparent; border:0; padding:4px 0 4px 8px; border-radius:4px; color:#1769ed; font:inherit; font-size:12px; white-space:nowrap; cursor:pointer; }
#demo-reset:disabled { color:#98a2b3; cursor:default; }
#demo-reset:focus-visible { outline:2px solid #1769ed; outline-offset:2px; }
#demo-source { display:block; flex:1; min-height:0; width:100%; resize:none; border:0; outline:0; margin:0; padding:16px; overflow:auto; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:15px; line-height:1.65; color:#293548; background:#fff; tab-size:2; white-space:pre-wrap; overflow-wrap:anywhere; border-radius:0; }
.source-panel:focus-within { border-color:#8ab5fa; box-shadow:0 0 0 3px #1769ed0d; }
.demo-editor-hint { flex:none; margin:0; padding:9px 16px; border-top:1px solid #eef1f5; color:#718096; font-size:12px; line-height:1.6; background:#fcfdff; }
.demo-result-body { flex:1; min-height:0; position:relative; display:flex; }
.demo-preview { min-width:0; width:100%; margin:0; padding:16px; overflow:auto; color:#1e293b; transition:opacity .15s; }
.demo-preview[aria-busy="true"] { opacity:.3; }
.demo-preview > p { margin:0 0 10px; font-size:17px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.demo-preview > p:first-child { font-size:24px; line-height:1.3; font-weight:750; color:#101114; }
.demo-preview strong { color:#1769ed; }
.demo-preview > p:first-child strong { color:inherit; }
.demo-preview em { color:#df501c; font-weight:650; }
.demo-preview > img { display:block; width:auto; height:auto; max-width:100%; max-height:none; object-fit:contain; margin:6px auto 0; }
.demo-preview.is-example { display:flex; flex-direction:column; }
.demo-preview.is-example > p { flex:none; }
.demo-preview.is-example > img { flex:1; min-height:0; width:100%; object-fit:contain; max-height:none; }
.demo-preview .demo-inline-math { display:inline-block; vertical-align:middle; height:auto; max-width:100%; }
.demo-loading, .demo-error { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:24px; text-align:center; color:#52647d; background:#ffffffc9; }
.demo-loading[hidden], .demo-error[hidden] { display:none; }
.demo-loading { pointer-events:none; font-size:14px; }
#demo-status { margin:0; }
.render-spinner { opacity:.7; animation:preview-spin .9s linear infinite; }
@keyframes preview-spin { to { transform:rotate(360deg); } }
.demo-error p { font-size:15px; line-height:1.7; margin:0; }
#demo-retry { background:#1769ed; border:0; padding:9px 18px; color:white; border-radius:7px; font:inherit; font-size:14px; cursor:pointer; }
.redesign .steps { list-style:none; padding:18px 0 20px; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line); gap:32px; }
.step-heading { display:flex; align-items:center; gap:16px; }
.step-heading > span { font-size:49px; font-weight:850; line-height:1.1; color:#e5edfa; font-style:italic; letter-spacing:-3px; }
.step-heading h2 { font-size:23px; letter-spacing:-.03em; margin:0; }
.steps p { font-size:16px; color:var(--muted); line-height:1.75; margin:5px 0 0; }
.redesign .download { background:#f7f9fc; color:#101114; padding:36px; margin-top:44px; border:1px solid var(--line); border-radius:16px; }
.section-heading { margin-bottom:24px; }
.section-heading h2 { font-size:36px; line-height:1.25; margin:8px 0; }
.section-heading p { color:var(--muted); font-size:17px; }
.redesign .download-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.redesign .download-card { padding:26px; background:white; border:1px solid var(--line); border-radius:10px; display:flex; flex-direction:column; align-items:start; }
.redesign .download-card h3 { font-size:25px; margin:0 0 10px; color:#101114; }
.redesign .download-card p { font-size:16px; color:var(--muted); line-height:1.8; margin:0 0 24px; }
.redesign .download-card .button { margin-top:auto; font-size:16px; }
.redesign .button.secondary { background:#fff; border:1px solid #c4cddc; color:#1769ed; }
.redesign .download-meta { display:flex; justify-content:space-between; gap:20px; margin-top:24px; font-size:16px; color:var(--muted); }
.redesign .download-meta p { margin:0; }
.redesign .guides-section { padding:50px 0; }
.redesign .guide-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 48px; }
.redesign .guide-links a { font-size:18px; display:flex; justify-content:space-between; gap:12px; padding:22px 0; border-bottom:1px solid var(--line); color:#263348; }
.redesign .guide-links a:hover, .redesign .guide-links [aria-hidden] { color:#1769ed; }
.redesign .footer { padding:24px 0 30px; gap:20px; display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); }
.redesign .footer .brand { font-size:24px; }
.redesign .footer .brand-image { width:32px; height:32px; }
.redesign .footer-links { display:flex; gap:22px; align-items:center; font-size:15px; flex-wrap:wrap; }
.redesign .footer-links > span { flex-basis:auto; color:var(--muted); }
.locale-status { color:#b42318; font-size:14px; }
.locale-status:empty { display:none; }
html:not([lang="zh-CN"]):not([lang="ja"]):not([lang="ko"]) .redesign .hero h1 { font-size:clamp(40px,min(4vw,7.6svh),58px); letter-spacing:-.055em; }
@media(max-width:1190px) {
 .redesign .shell { padding:0 28px; } .redesign .hero { grid-template-columns:minmax(0,.74fr) minmax(0,1.8fr); gap:20px; }
 .redesign .nav-links { gap:16px; } .redesign .hero .lead { font-size:19px; } .redesign .eyebrow { font-size:15px; }
 .demo-pair { gap:14px; } .demo-panel-heading { padding:11px 12px; } .demo-panel-heading h2 { font-size:14px; }
 #demo-source { padding:14px; font-size:13px; } .demo-preview { padding:14px 10px; } .demo-preview > p { font-size:16px; }
 .demo-preview > p:first-child { font-size:22px; } .redesign .hero .button { padding:12px 16px; font-size:15px; }
 .step-heading h2 { font-size:21px; } .redesign .steps { gap:24px; } .steps p { font-size:15px; }
}
@media(max-width:960px) {
 .redesign .nav { min-height:68px; } .redesign .hero { grid-template-columns:1fr; padding:22px 0; gap:22px; }
 .redesign .hero h1, html:not([lang="zh-CN"]):not([lang="ja"]):not([lang="ko"]) .redesign .hero h1 { font-size:42px; margin:8px 0 12px; }
 .redesign .hero h1 > span { display:inline; } .redesign .hero .lead { font-size:18px; } .redesign .lead br { display:none; }
 .redesign .eyebrow { margin-bottom:6px; } .redesign .actions { margin:16px 0 9px; }
 .redesign .nav-links .nav-github { display:none; } .demo-panel { height:460px; }
 .redesign .download { padding:28px; } .redesign .download-options { gap:14px; } .redesign .download-card { padding:20px; }
 .step-heading { gap:10px; } .step-heading > span { font-size:42px; } .step-heading h2 { font-size:20px; }
}
@media(max-width:640px) {
 .redesign .shell { padding:0 18px; } .redesign .nav { min-height:64px; gap:10px; } .redesign .brand { font-size:25px; gap:9px; }
 .redesign .brand-image { width:33px; height:33px; } .redesign .nav-links { gap:8px; font-size:15px; }
 .redesign .nav-links .guides-nav, .redesign .nav-links .nav-download { display:none; }
 .redesign .hero { padding:22px 0; gap:22px; } .redesign .hero h1, html:not([lang="zh-CN"]):not([lang="ja"]):not([lang="ko"]) .redesign .hero h1 { font-size:44px; line-height:1.16; margin:10px 0 16px; }
 .redesign .hero h1 > span { display:block; } .redesign .hero .lead { font-size:18px; } .redesign .lead br { display:block; }
 .redesign .hero .actions { gap:16px; margin-top:18px; } .redesign .hero .button { font-size:15px; } .redesign .text-link { font-size:15px; }
 .redesign .trust { font-size:13px; } .demo-pair { grid-template-columns:1fr; gap:16px; }
 .demo-panel { height:400px; } .source-panel { height:340px; } .demo-panel-heading h2 { font-size:16px; }
 #demo-source { padding:14px; font-size:13px; line-height:1.65; } .demo-editor-hint { padding:8px 14px; font-size:12px; }
 .demo-preview { padding:14px; }  .demo-preview > p:first-child { font-size:22px; }
 .demo-preview > p { font-size:16px; } .redesign .steps { grid-template-columns:1fr; gap:20px; padding:22px 0; }
 .step-heading { gap:16px; } .step-heading > span { font-size:42px; } .step-heading h2 { font-size:23px; }
 .steps p { font-size:16px; } .redesign .download { margin-top:32px; padding:24px 18px; } .section-heading h2 { font-size:29px; }
 .redesign .download-options { grid-template-columns:1fr; } .redesign .download-card { padding:22px; }
 .redesign .download-meta { flex-direction:column; font-size:16px; gap:10px; } .redesign .guides-section { padding:36px 0; }
 .redesign .guide-links { grid-template-columns:1fr; } .redesign .guide-links a { font-size:17px; padding:18px 0; }
 .redesign .footer { flex-direction:column; align-items:start; } .redesign .footer-links { font-size:15px; gap:14px 22px; justify-content:start; }
 .redesign .footer-links > span { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) { .render-spinner { animation:none; } .demo-preview { transition:none; } }

/* Product facts and platform instructions are static, readable page content. */
#hero-title { font-size:clamp(36px,3.6vw,54px); letter-spacing:-.045em; }
.product-definition { font-size:15px; line-height:1.8; color:var(--muted); margin:16px 0 0; max-width:46ch; }
.site-languages { display:flex; gap:10px; font-size:13px; white-space:nowrap; }
.site-languages [aria-current="page"] { font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.product-details { padding:36px 0; border-bottom:1px solid var(--line); }
.product-details > h2 { font-size:30px; line-height:1.35; margin:0 0 24px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.feature-grid h3 { font-size:20px; margin:0 0 12px; }
.product-details p, .product-details td, .product-details th { font-size:16px; line-height:1.85; }
.product-details p { color:var(--muted); }
.table-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:10px; }
.product-details table { width:100%; border-collapse:collapse; text-align:left; }
.product-details th, .product-details td { padding:16px; border-bottom:1px solid var(--line); vertical-align:top; }
.product-details thead { background:#f7f9fc; }
.product-details tbody th { min-width:100px; }
.product-details details { border-top:1px solid var(--line); padding:18px 0; }
.product-details summary { cursor:pointer; font-size:18px; font-weight:600; line-height:1.65; }
.product-details details p { max-width:85ch; margin-bottom:0; }
@media(max-width:640px) {
 #hero-title { font-size:38px; }
 .product-definition { max-width:none; }
 .feature-grid { grid-template-columns:1fr; gap:18px; }
 .product-details { padding:28px 0; }
 .product-details > h2 { font-size:25px; }
 .product-details table { min-width:540px; }
}
