/* Chinese text ships its own face: a Source Han Serif SC subset, as on every
   family site, built by scripts/build_fonts.py from every page's CJK
   characters; the hero's 書 is a one-glyph Source Han Serif TC cut. iOS has no Chinese serif, so
   without it every iPhone fell back to PingFang. Latin falls to Charter after
   it; the range also takes the curly quotes and the ellipsis, which Charter
   drew as narrow Latin marks against the Han (as on mole.fit, 2026-10-25). */
@font-face {
  font-family: "Kaku Serif SC";
  src: url("/asset?u=https%3A%2F%2Fkaku.fun%2Ffonts%2Fkaku-serif-sc-regular.woff2%3Fv%3D67ba20e2d263") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+201C-201D, U+2026, U+2E80-2EFF, U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
/* The hero wordmark and the nav's name are STIX Two Text Regular (OFL, Reserved
   Font Name "TM Math"), cut to this name's letters by Kata
   scripts/wordmark-font.py (maintainer 2026-11-07, over Charter Roman, whose M
   read wide and stiff). Copyright and licence stay in the font's name table. */
@font-face {
  font-family: "Kaku Wordmark";
  src: url("data:font/woff2;base64,d09GMgABAAAAAAW0AA8AAAAACzgAAAVcAAIhSAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbgQ4cNgZgP1NUQVRIAEwRCAqFeIR+ATYCJAMUCwwABCAFiSoHIBurCSMRtoNxMiX4ZwJPFt64A+lDihsB2AlS/mdzJDiEjIP64HnCLXt/EqA7QTUVUSNtz6Biwu65WwDs5+Yj03IjJls7td91TY8gFl4uVPofwFb231+a7k/XxVj9GPFozLa0Ny+dkvlp3vuVCrTAh2enjTYWy2GnDnRAFQ9Uz3SpsqBzOPSA5ITcOX7zyRHACwAoBDARBNA0oRNmj17P31Z6+loerfTsZThY6QVTZbbSmACXkKn5M3m2KsHEi4kCEaaolnBmA9pgYDB14f/fAIKBoBaI1BQggZKCoqKb0cJew17DXWPJrTZVQ9mNC1RBjQH6L55GJtFMGiCRwp0NH/Hwbz1Af1aqv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kjzPdsiycvshVReKq2WiLFrWle0XLhrWlFFluWxQoqc+kYIwpfwD/83dUuzGPXO1KMWtVulJXboEaxkMZs0bbrReush0TSlRrolqKmlc01M+JfHjdQfcTUBD5/YrKOu4du3rbZFkpfZL5aJHeewArRajo07u9kMAHK02kiV7xMBPGNOWCOVVqOUbqZ6ExceZusomzGJYOFmdPPcaRjp20GMZocmjPPmLsxoOB7RQItEN3fGkGRD4pbkVL4C4lg3YpmIbFxLkGovKTlEhDZ5Zm9LyhbC0eeaSLTtTrDnsWSz7MzXirKCI3QjHEYgfjqsmALHdh/aybJRB2HFaD7gfGISudbPIiFu0rfb5+TSH55StQcBM7/skyaY3SorpwA=") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Kaku Mark";
  src: url("/asset?u=https%3A%2F%2Fkaku.fun%2Ffonts%2Fkaku-mark.woff2%3Fv%3Dda7d76b08f0a") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+66F8;
}
/* The hero's Han glyph is SemiBold: its stems measure 7.4px beside STIX Two's
   8.0 at 100px, with no stroke on either side. Cut by Kata scripts/mark-font.py. */
@font-face {
  font-family: "Kaku Mark";
  src: url("data:font/woff2;base64,d09GMk9UVE8AAAT8AA8AAAAACXQAAASnAAIAxAAAAAAAAAAAAAAAAAAAAAAAAAAAGYFeDYcsGyAcgQAGYA4IADQBNgIkAwgEBgWDdgcgFyQYCBtvCFFUTCIAXxTGxrKxk+hYOl0aptHoYpCkzS3KkDx/8+WJE/VslZW5rMfSygEnvBB2ANDJIdITgX7EYC1UZWlN07KrsHEFhhHYx3x3j6D0hJqz4+Fxv/25G9qoQSNZREJ7ndbJjS+JFeKquq10y6LhIVUv/p/CBdFQugfXSmcuIinKD2xJD+xwdi8iPtIjUt/+BR8kNKLAimuR3Ym4zHcCAbz0I8tSu/3HT2hsEleH1cElDVZHwbxDQwKDCwjXvgq+CSsCACi4aHGSLC+KbC9NoFBTUUkkubFfg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2ebyU7yx3a0dCc/qaUni6EtVQbdWIzvB2qBeIgrRGSoDovJh5oQGAhK1pIl4JKQsiwNCTQB1BJxMQrUyr4oGkN3LDq5Oa+9C+gErp4sOXLkM1R3sPNiXs+oYAVzk6su/iKbR9/wTQ9r641Y93g/F/cFlY2HEnO5dNMwuHlJghqpIDGqQ6KoLqvTPsWMRNDKtzxDqYM+X21cCj1efD4HoATKAwAAAA==") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}
/* Sibling Mark: the Han characters beside the More Apps names in the footer
   (Mole 鼹, Yado 宿, Pake 殼, MiaoYan 語), cut by Kata scripts/mark-font.py from
   Source Han Serif TC / SC Regular and renamed per the OFL, so Latin and iPhone
   pages show a serif instead of a system Han face. */
@font-face {
  font-family: "Sibling Mark";
  src: url("data:font/woff2;base64,d09GMk9UVE8AAAvoAA8AAAAAEfgAAAuUAAIAxAAAAAAAAAAAAAAAAAAAAAAAAAAAGYFeDZc+GyAcgVgGYA4IAEwBNgIkAxQEBgWDYAcgFyQYFBvzEFGUUFYSxVcFNpHJQxeMok3Nsi6yxYYZC5vFHJrD8Ff2ebn7WPgQ4ix8CB9+yf8aa+/vnrgAEa9q8YZEJDFEQjePmlyTJ2uW8CS++P+ttX/i1WxOXFCPvNn1U890sVApCVqDkoCHp1Pfv4slHQi1hlqwMQZY/dCqXs///80ZlTcza/W0A1XTqIAHkxDMQksU0yRTdftqb9g7exa+7/dTPivUGltAdJ2oAkkVEKpCo6wRhEbcl7k/l2spG2E6c/+FtCw0onKgOnUI+b/kYPeAH7GEqlOHf62xr29PUN0jiTeGEEmUTmi0M+beLWYnmGmkQWI6iVA0iX5RbT/06vk/xRnYrkKNcC7uTwkEUKhDEZO3u8fXENqvxl2onMd0ByoX3GchlAIe7oDHPvC0DxVSZWTSwT4OHh92wo/SMFB7QN0NyoUEmc+w1UhXkiF235Sn6MF40Ou3Nv0A6L2l4CYBJNMYIElnBVkqBl36ih7zzHUzfIcmxfsdZQmTMDdpfMJC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VRflEdgdGKIBF7DMsvJAte4JFDvOTgpMYamyNSdtzlW31TbD+F9VpjeV35cMYlZIxXxAnrMtiVhsVjks61pi6ygpRd2FgCY5X9korqWhrOqK4xM6kk1wqDJsOzlLPjlo+TlNKJq5E6ch5nivTjPAVxrUaG/j1YB81DhuCyRtMwMzpL0TnFIuVM/xek6k9DCP5/mkko63auvAUAITDQA2PD/PIiAgAA") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+5BBF, U+6BBC, U+66F8, U+8A9E;
}
@font-face {
  font-family: "Sibling Mark";
  src: url("data:font/woff2;base64,d09GMk9UVE8AAApAAA8AAAAADywAAAnrAAIAxAAAAAAAAAAAAAAAAAAAAAAAAAAAGYFeDZIDGyAcgXAGYA4IADQBNgIkAwoEBgWDYAcgFyQYChskDlGUT1aX4udhbGxtqnsKBEGlIQl1j9zBmSxSSKnAl37COf9FuMv4hWmGWDCRiUgxaTGda9m8mbtf+IfwEH+1N3+KbtN8qcDuA3w9kURjiO78r40d01lVcztFs5K9FH2HwAEHnfDdOohjwBAvEFcH/QMX1XOkt/+136/ex+LaxLYi0xlSJTQSc99fhvMWs8dHvIt4pNEImVDEJFIhiYceiVQu8exSIvUv9wUH8YGAASDIlo6Hq6SufcFjU1WcD1GH4ow8iDqqNVngIVMOXUg98Kou1UAUxAHL2t2aHSeLog1uLZU2OpiE+a9Rnpkk/bN4HaNOaZmpq680Jz1DW6wt0OSbsRuZenHDsQCBpDKAL9nO9h26afMz+mQU52T2ife8QRMnvqJgxUKxnK6yVqwYxZpVbDjFlN8c8SpqeNK0doPoto0VQAuVneLSWvFQOVoKb9sOim9bwAUYiLFtbsOPaDGuZ/nlnMY1pnl5FmR5ro6YuwHzXZZ/PLqbMwZz9Ml3XeHI2T3Du63Ml4Ny/MGiMi/pV9Zr9REhPtvDgb94jmacXpFak+6tLb41EreJlsQxV7qrNWPVSlNPO1mr5nvezmzSFG2d0jO0N9dvXwLAPFJYOi966L8FV3rwx3GEZ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/CCkNfhhbHcJLEc9etORDuOUFPKgvjoARqFMN8aNHczhr9q0fDAnQhJO+R6lY1owguNVQBi6hrnG0fkCbCFTg2ufj/K22Ag/zNFcPok5YADYGzsQALoEJGYOfhGwjC08OAGCvhBbxfWAmHuouEMWtmQBXzPWpY1iC/tQS7nlAkitsDoBuBLlcyUDDwPQaXkMkAd/lSMv1plZb3fGcJ/RmBGtI/4KyX0AAK/OW3UMdJb+5dNMyaGAJe34uvkVYKmS/AdRmGMcMMlIl6UQPqCnwVdjg0s3rNEKABaBiASGuUUJLGO7EjgpTszlgQkGBoZwGcQpRsJGEj8+fAXzNO7rJ4AkVjqtVBkkLrKVKlUojLcrKuq9qIntJY2gAGC78mALqpCDbILeEJRQdrFywnVDEhwaSGdJd2oF+djO+iShDGqkSc68dKPzAboPhjNHZoSOx7WzlEGgToQfA3zcnf2Fi5UgTg/hGGMllhbwHCg29JCdifrDUSJzGedL6Mg2UCpxMspl8lXU4HAF1PJkwJAZQCVxYOggnBkoTynHybRlfjozfWCezaoxJ+suXPM4ADA2gKtruQAAAAA=") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+9F39;
}
@font-face {
  font-family: "Kaku Serif SC";
  src: url("/asset?u=https%3A%2F%2Fkaku.fun%2Ffonts%2Fkaku-serif-sc-semibold.woff2%3Fv%3D35ed4f490d79") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: block;
  unicode-range: U+201C-201D, U+2026, U+2E80-2EFF, U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}

:root {
  /* Desktop type ladder (decide 1030-13, maintainer 2026-11-01): five sizes, nothing between. */
  --text-meta: 14px;
  /* Reading text moved to 16, the size of the ledes above it, as on mole.fit;
     buttons, inline code, tables and captions keep 15 (maintainer 2026-11-09). */
  --text-body: 16px;
  --text-button: 15px;
  --text-lede: 16px;
  --text-title: 21px;
  --text-section: 32px;
  --parchment: #fbfaf6;
  --ivory: #fefdfb;
  --warm-sand: #ebe9e1;
  --line: #dcd9cd;
  --olive: #504e49;
  --border-soft: #ebe9df;
  --line-faint: #efede5;
  --border-card: color-mix(in srgb, var(--border-soft) 70%, var(--line));
  --near-black: #363433;
  --dark-warm: #3d3d3a;
  --stone: #6b6a64;
  --brand: #287A3D;
  --brand-light: #2C7D40;
  --brand-tint: #EDF4ED;
  /* The logo's two colors: links and tints take its green, solid fills
     take the slate of its disc. */
  --kaku-slate: #2C2F39;
  --kaku-slate-light: #3E414C;
  --foot-ink: #f4f2ec;
  --section-gap: 90px;
  --green: #0d7d4d;
  --green-bright: #5fbf85;
  --red: #a04545;
  --term: #141318;
  --term-soft: #1a191f;
  --term-bar: #1f1e24;
  --term-line: #2a2930;
  --term-text: #e7e4d9;
  --term-muted: #9b978c;
  --serif: "Kaku Serif SC", Charter, Georgia, Palatino, "Times New Roman", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  --sans: var(--serif);
  --ui: var(--serif);
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(20, 19, 19, 0.04), 0 14px 36px rgba(20, 19, 19, 0.06);
  --shadow-lift: 0 1px 2px rgba(20, 19, 19, 0.05), 0 18px 48px rgba(20, 19, 19, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[lang="en"] {
  --serif: Charter, Georgia, Palatino, "Times New Roman", serif;
  --sans: var(--serif);
}

* { box-sizing: border-box; }
/* Nav links jump straight to their section, with no glide, as on mole.fit
   (maintainer 2026-11-02: the glide looked worse than the instant jump). */
/* Short pages: main takes the spare height so the dark footer meets the viewport bottom. */
body > main { flex: 1 0 auto; }
body {
  margin: 0;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--parchment);
  color: var(--near-black);
  font-family: var(--serif);
  font-size: var(--text-lede);
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Every line fills the column, as on mole.fit (maintainer 2026-10-25): no
   pretty, balance, strict breaking, keep-all or glued tails, which all wrapped
   phone lines early. A comma or full stop that does not fit hangs at the edge
   (WebKit). */
html[lang^="zh"] body { hanging-punctuation: allow-end; }
/* Chinese leading in three tiers, as on mole.fit: leads 1.6, answers and
   card prose 1.75, articles, docs and release notes 1.8; phones step to 1.7. */
html[lang^="zh"] :is(.section-head p, .page-hero p) { line-height: 1.6; }
html[lang^="zh"] :is(.faq-answer, .workflow-item p, .feature span, .method p, .quick-card p, .doc-card p) { line-height: 1.75; }
html[lang^="zh"] :is(.doc-content, .release-doc ol li), html[lang^="zh"] .release-doc ol li::before { line-height: 1.8; }
@media (max-width: 640px) {
  html[lang^="zh"] :is(.faq-answer, .workflow-item p, .feature span, .method p, .quick-card p, .doc-card p, .doc-content, .release-doc ol li),
  html[lang^="zh"] .release-doc ol li::before { line-height: 1.7; }
}
#main-content { flex: 1 0 auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }
img { max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); }
.sk {
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--dark-warm);
  white-space: nowrap;
}
button, input { font: inherit; }
:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: var(--radius-pill);
  background: var(--kaku-slate);
  color: var(--ivory);
  padding: 8px 14px;
  font-family: var(--ui);
  font-size: var(--text-meta);
  transition: transform 160ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* mole.fit's page: 1128px with 64px gutters, a 1000px column. */
.wide { max-width: 1128px; margin: 0 auto; padding: 0 64px; }
.hero-wrap { max-width: 1128px; margin: 0 auto; padding: 0 64px; }
.section, .section-tight { padding: 0; margin-bottom: var(--section-gap); }
/* One module gap, as on the rest of the family: 90 on desktop since 2026-11-10 (84 before), 72 below. */
@media (max-width: 880px) { :root { --section-gap: 72px; } }
.label {
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
}
.section-head {
  display: grid;
  margin-bottom: 24px;
}
/* Section titles and ledes use mole.fit's 32px dark-warm title and 16px olive lede. */
.section-head h2,
.contact .contact-title {
  margin: 0;
  color: var(--dark-warm);
  font-size: var(--text-section);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.section-head p {
  margin: 12px 0 0;
  color: var(--olive);
  font-size: var(--text-lede);
  line-height: 1.55;
}
/* The 404 hero's label, the one eyebrow left: section heads carry none since
   2026-10-23 (the content under each title already says what it is). Stone,
   since green means a link. */
.section-num {
  display: block;
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--stone);
  margin-bottom: 4px;
}
.section-body { max-width: none; }
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand);
  padding: 13px 28px;
  min-width: 158px;
  font-family: var(--serif);
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.55;
  text-decoration: none;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  touch-action: manipulation;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--kaku-slate);
  border-color: var(--kaku-slate);
  color: var(--ivory);
  box-shadow: none;
}
.btn-primary:hover { background: var(--kaku-slate-light); border-color: var(--kaku-slate-light); color: var(--ivory); }
/* The family's secondary button (2026-10-20): an ivory pill with a hairline, so
   it never competes with the filled primary beside it. */
.btn-secondary {
  background: var(--ivory);
  border-color: var(--line);
  color: var(--near-black);
}
.btn-secondary:hover { background: var(--warm-sand); color: var(--near-black); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  padding: 16px 50px 0;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment) 72%, transparent 100%);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1028px;
  min-height: 52px;
  margin: 0 auto;
  padding: 8px 13px;
  /* No drawn edge: mole.fit's soft shadow lifts the bar and the transparent
     border keeps its height (maintainer 2026-11-10: the shadow pill read better
     than the hairline one, on every product site). */
  border: 1px solid transparent;
  box-shadow: 0 1px 8px 1px rgba(0, 0, 0, 0.02);
  border-radius: 999px;
  background: var(--ivory);
  font-family: var(--serif);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--stone);
}
@media (prefers-contrast: more) { .site-nav .nav-inner { border-color: var(--line); box-shadow: none; } }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--near-black);
}
.brand::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url('/asset?u=https%3A%2F%2Fkaku.fun%2Fimg%2Fkaku-mark.png') center / contain no-repeat;
}
.brand strong {
  font-family: "Kaku Wordmark", var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  /* Cap height centred on the bar, measured at 6x. */
  position: relative;
  top: 0.9px;
  text-transform: none;
  color: var(--near-black);
}
.nav-links { display: flex; gap: 8px; margin-left: 14px; }
.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  line-height: 1;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
  transition: color 160ms var(--ease);
}
.nav-links a:hover { color: var(--near-black); background: var(--line-faint); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang-switch { position: relative; z-index: 20; font-family: var(--ui); }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--stone);
  font-size: var(--text-meta);
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.lang-trigger::-webkit-details-marker { display: none; }
.site-nav .lang-trigger { min-height: 36px; }
.lang-trigger::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.55;
  transform: rotate(45deg);
}
.lang-switch[open] .lang-trigger::after { margin-top: 2px; transform: rotate(225deg); }
.lang-trigger:hover, .lang-switch[open] .lang-trigger { color: var(--brand); }
.lang-current-code { display: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 150px;
  padding: 6px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--ivory);
  box-shadow: 0 8px 24px rgba(20, 19, 19, 0.08);
}
.lang-option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--dark-warm);
  font-size: var(--text-meta);
  line-height: 1.35;
}
.lang-option:hover { color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.lang-option[aria-current="page"] { color: var(--brand); background: var(--brand-tint); font-weight: 600; }
.lang-trigger:focus-visible, .lang-option:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.nav-icon {
  display: inline-flex;
  align-items: center;
  color: var(--stone);
  transition: color 160ms var(--ease);
}
.nav-icon:hover { color: var(--brand); }

/* No rule under the hero: mole.fit dropped it, and the next section's head
   already marks the break (sumi 6). */
.hero {
  min-height: auto;
  padding: 64px 0 0;
  margin-bottom: var(--section-gap);
  background: var(--parchment);
  overflow: hidden;
  text-align: left;
}
.hero-centered {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 64px;
}
.hero h1 {
  margin: 0 0 calc(40px - 0.115em);
  color: var(--dark-warm);
  font-family: "Kaku Wordmark", var(--serif);
  font-size: 97px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
/* Tracking and the Han glyph's 0.84em follow mole.fit's wordmark
   (maintainer 2026-11-06; reasons in its styles.css). The glyph size sits on the
   orbit wrapper so the dot's em-based path shrinks with it, and its margin adds
   back what the last letter's tracking takes from the gap. */
.hero h1 .cn-orbit { font-size: 0.84em; }
.hero h1 .cn {
  display: inline-block;
  margin-left: calc(18px + 0.016em);
  font-family: "Kaku Mark", "Kaku Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: 0;
}
.hero-sub {
  max-width: none;
  margin: 0 0 32px;
  color: var(--olive);
  font-size: var(--text-title);
  line-height: 1.4;
  letter-spacing: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: var(--text-button);
  color: var(--stone);
}
.hero-trust span:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: color-mix(in srgb, var(--stone) 58%, transparent);
}
.terminal-window {
  overflow: hidden;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-md);
  background: var(--term);
  box-shadow: none;
}
.terminal-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 52px;
  align-items: start;
}
.terminal-body {
  padding: 24px;
  color: var(--term-text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
}
.term-line { margin: 0 0 7px; }
.term-line:last-child { margin-bottom: 0; }
.prompt { color: var(--green-bright); }
.muted { color: var(--term-muted); }
.error { color: #ff7d74; }
.success { color: var(--green-bright); }
.term-callout {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(112, 217, 159, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(112, 217, 159, 0.08);
  color: var(--term-text);
}
.term-callout code {
  color: var(--green-bright);
  background: rgba(112, 217, 159, 0.1);
  border-radius: 3px;
  padding: 1px 4px;
}
.prose h2, .prose h3 { color: var(--near-black); font-weight: 500; letter-spacing: 0; line-height: 1.2; }
.prose h2 { margin: 0 0 16px; font-size: var(--text-section); }
.prose h3 { margin: 0 0 10px; font-size: var(--text-title); }
.prose p { color: var(--dark-warm); margin: 0 0 18px; }
.prose .label { margin-bottom: 18px; display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--border-soft);
  transition: color 160ms var(--ease);
}
.feature strong { color: var(--near-black); font-size: var(--text-title); font-weight: 500; line-height: 1.28; }
.feature span { color: var(--dark-warm); font-family: var(--serif); font-size: var(--text-body); line-height: 1.6; }
.feature:hover strong { color: var(--brand); }

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}
.command-card {
  min-height: 100%;
}
.command-card .terminal-body { min-height: 248px; display: grid; align-content: center; }
.command-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-wrap: anywhere;
}
.command-row:last-child { border-bottom: 0; }
.command-label {
  display: block;
  margin-bottom: 4px;
  color: var(--term-muted);
  font-family: var(--ui);
  font-size: var(--text-meta);
  letter-spacing: 0;
}
/* Homepage compare: the compare page's glance table cut to the four usual picks. */
.home-compare { overflow-x: auto; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.home-compare table { width: 100%; min-width: 760px; border-collapse: collapse; }
.home-compare th, .home-compare td {
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--line-faint);
  text-align: left;
  vertical-align: top;
  font-family: var(--serif);
  font-size: var(--text-button);
  line-height: 1.5;
}
.home-compare tr:first-child > * { border-top: 0; }
.home-compare thead th { color: var(--stone); font-size: var(--text-meta); font-weight: 500; white-space: nowrap; }
.home-compare tbody th { width: 112px; color: var(--stone); font-size: var(--text-meta); font-weight: 500; white-space: nowrap; }
.home-compare td { color: var(--dark-warm); }
.home-compare thead th:nth-child(2), .home-compare td:nth-child(2) { color: var(--near-black); font-weight: 500; }
.home-compare th:last-child, .home-compare td:last-child { padding-right: 0; }
.section-more { margin: 16px 0 0; font-size: var(--text-button); }
.section-more a { color: var(--brand); }
.section-more a:hover { color: var(--brand-light); }
.workflow-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.workflow-item {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
}
.workflow-item:first-child { border-top: 0; }
.workflow-item h3 {
  margin: 0;
  color: var(--near-black);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.2;
}
.workflow-item p {
  margin: 0;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.65;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.shot {
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  outline: 1px solid rgba(20, 19, 19, 0.1);
  outline-offset: -1px;
  box-shadow: 0 10px 26px rgba(20, 19, 19, 0.08);
}
.shot figcaption {
  padding: 10px 2px 0;
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  letter-spacing: 0.2px;
}

/* The homepage gallery follows mole.fit's: captures on the same macOS wallpaper,
   a caption title and line on the left, small pills on the right. */
.gallery {
  --gallery-motion: cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 24px;
  align-items: baseline;
}
.gallery-frame {
  grid-column: 1 / -1;
  position: relative;
  aspect-ratio: 2584 / 1741;
  background: var(--warm-sand);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 19, 19, 0.10);
  touch-action: pan-y;
  cursor: pointer;
}
.gallery-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--gallery-motion), visibility 220ms;
}
.gallery-panel.is-active { opacity: 1; visibility: visible; z-index: 2; }
.gallery-panel.was-active { opacity: 0; visibility: visible; z-index: 3; pointer-events: none; }
.gallery-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gallery-frame { aspect-ratio: 2432 / 1576; } }
.gallery-caption {
  grid-column: 1;
  grid-row: 2;
  min-height: 48px;
  padding: 12px 2px 0;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.gallery-caption .title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--brand);
  font-family: var(--serif);
  font-size: var(--text-lede);
  font-weight: 500;
  letter-spacing: 0.1px;
}
.gallery-caption .line {
  margin: 0 0 1.25px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: var(--text-meta);
}
html[lang^="zh"] .gallery-caption { align-items: center; }
html[lang^="zh"] .gallery-caption .line { margin-bottom: 0; }
.gallery-tabs {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 12px;
  justify-content: flex-end;
}
.gallery-tabs button {
  appearance: none;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--olive);
  font-family: var(--serif);
  font-size: var(--text-meta);
  line-height: 1;
  padding: 6px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.gallery-tabs button:hover { color: var(--brand); border-color: var(--line); }
.gallery-tabs button.is-active { color: var(--ivory); background: var(--kaku-slate); border-color: var(--kaku-slate); }
.gallery-tabs button.is-active:hover { background: var(--kaku-slate-light); border-color: var(--kaku-slate-light); }
.gallery-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
/* Android's Chromium can round a font's ascent up and descent down, which lifted the
   words in these pills 1 to 2.5px on a real tablet while a Mac stayed centred
   (2026-11-08). Trimming the text box to the glyphs takes those metrics out of the sum.
   Same height as before; an older browser keeps the padding above. */
@supports (text-box: trim-both cap alphabetic) {
  html .gallery-tabs button { height: calc(1lh + 14px); padding-block: 0; text-box: trim-both cap alphabetic; }
}
/* Desktop pills, as on mole.fit (maintainer 2026-11-10: the words read big and
   sat high in the pill): 13px in the same 28px pill, a step under the caption
   beside them. Trimming to the cap height centres Latin only, so Han words
   take one more pixel above. */
@media (min-width: 641px) {
  .gallery .gallery-tabs button { font-size: 13px; }
  @supports (text-box: trim-both cap alphabetic) {
    html .gallery .gallery-tabs button { height: 28px; }
    html[lang^="zh"] .gallery .gallery-tabs button { padding-top: 1px; }
  }
}
/* The selected tab already names the shot, so the caption keeps only its line.
   On desktop the line sits beside the pills on one row (maintainer 2026-11-10:
   a caption row under the pills on a PC read badly); the 2026-11-07 stack of
   pills over the line stays for 880 and below, and phones drop the line. */
.gallery-caption .title { display: none; }
.gallery-caption .line { margin-bottom: 0; }
.gallery-caption { align-items: center; min-height: 40px; padding-top: 12px; }
.gallery { align-items: center; }
@media (max-width: 880px) {
  .gallery { grid-template-columns: minmax(0, 1fr); row-gap: 0; align-items: baseline; }
  .gallery-caption, .gallery-tabs { grid-column: 1; }
  .gallery-caption { grid-row: 3; align-items: baseline; min-height: 36px; }
  .gallery-tabs {
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .gallery-tabs::-webkit-scrollbar { display: none; }
}
.gallery-tabs button { flex: 0 0 auto; padding: 6px 14px; }
@media (max-width: 480px) { .gallery-caption { display: none; } }
@media (max-width: 560px) {
  /* Compare and Changelog stay in the footer; the bar keeps Docs and Blog on phones. */
  .nav-links a:nth-child(2), .nav-links a:nth-child(3) { display: none; }
  .lang-current-code { display: inline; }
  .lang-current-name { display: none; }
}
.quick-grid, .doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.method, .quick-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--ivory);
  box-shadow: none;
}
.method, .quick-card { padding: 20px; }
.doc-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
}
.doc-card {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background: transparent;
}
.method h2, .quick-card h3 {
  margin: 0 0 12px;
  color: var(--near-black);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}
/* Quick card titles are h2 for heading order, styled as the h3 they replaced. */
.doc-content .quick-card h2 {
  margin: 32px 0 8px;
  font-size: var(--text-title);
  font-weight: 500;
}
.doc-card h2 {
  margin: 0;
  color: var(--near-black);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}
.method p, .quick-card p {
  margin: 0 0 18px;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.6;
}
.doc-card p {
  margin: 0;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.6;
}
.doc-card:hover h2 { color: var(--brand); }
.doc-card > span { display: none; }
.page-hero {
  /* mole.fit's distances (maintainer 2026-11-01): 47px of ink from the nav pill
     to the title, about 45 from the lede to the content (32 / 38 on phones).
     It read 59 above and 34 below, the lede closer to the content than the
     title was to the nav. The title's 14 top margin only spaces it from a
     breadcrumb above it. */
  padding: 48px 0 44px;
  background: var(--parchment);
}
.page-hero .label { display: none; }
.page-hero .blog-crumb + h1 { margin-top: 14px; }
@media (max-width: 640px) { .page-hero { padding: 33px 0 36px; } }
/* An article head ends on its meta line, 24 above the cover at every width,
   mole.fit's article gap rather than the page-head gap. */
.page-hero.blog-hero { padding-bottom: 24px; }
.page-hero h1 {
  max-width: none;
  margin: 0 0 12px;
  color: var(--dark-warm);
  font-size: var(--text-section);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
/* Page titles step down on phones, as mole.fit's do. */
@media (max-width: 640px) { .page-hero h1 { font-size: 26px; } }
.page-hero p {
  max-width: none;
  margin: 0;
  color: var(--olive);
  font-size: var(--text-lede);
  line-height: 1.55;
}
.error-hero { padding: 104px 0 140px; }
.error-hero .section-num { margin-bottom: 10px; }
.error-actions { margin-top: 30px; }
.docs-section { padding-top: 0; }
.docs-layout {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
  max-height: calc(100svh - 108px);
  overflow: auto;
  padding-right: 4px;
  font-family: var(--sans);
}
.docs-home {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding-left: 16px;
  border-bottom: 0;
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
}
.docs-home:hover { color: var(--brand); }
.docs-menu {
  display: grid;
  gap: 8px;
}
.docs-menu a {
  display: grid;
  gap: 2px;
  padding: 6px 0 6px 14px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  color: var(--dark-warm);
  background: transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.docs-menu a:hover { color: var(--brand); }
.docs-menu a[aria-current="page"] {
  border-left-color: var(--brand);
  color: var(--brand);
}
.docs-menu span {
  color: inherit;
  font-size: var(--text-button);
  font-weight: 500;
  line-height: 1.2;
}
.docs-menu small {
  color: var(--stone);
  font-size: var(--text-meta);
  line-height: 1.45;
  display: none;
}
.section-toc {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  padding-left: 16px;
  border-top: 1px solid var(--border-soft);
}
.section-toc p {
  margin: 0 0 6px;
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
}
.section-toc a {
  padding: 4px 0;
  color: var(--stone);
  font-size: var(--text-meta);
  line-height: 1.35;
}
.section-toc a.depth-3 { padding-left: 12px; }
.section-toc a:hover { color: var(--brand); }
.doc-content {
  min-width: 0;
  color: var(--dark-warm);
  font-family: var(--sans);
  font-size: var(--text-lede);
  line-height: 1.65;
}
.doc-content > :first-child { margin-top: 0; }
/* Sidebar-less prose pages (about, compare, contact, privacy) reuse
   .doc-content and span the same width as their page hero. */
.prose-doc { max-width: none; }
.doc-content .shot { margin: 28px 0 36px; }
/* Headings keep mole.fit's dark-warm 500; sizes step down one notch for long references. */
.doc-content h2, .doc-content h3, .doc-content h4 {
  position: relative;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.22;
  scroll-margin-top: var(--anchor-clear);
}
/* A heading reached by its link lands 47px under the pill, 34 on phones, the
   distance the pill keeps above a page title (it was 19 / 27 at 90). Release
   versions linked from the feed land the same way. */
:root { --anchor-clear: 118px; }
@media (max-width: 640px) { :root { --anchor-clear: 97px; } }
.release-doc h2[id] { scroll-margin-top: var(--anchor-clear); }
.doc-content h2 {
  margin: 56px 0 12px;
  font-size: var(--text-title);
}
.doc-content > h2:first-child {
  margin-top: 0;
}
.doc-block { scroll-margin-top: 24px; }
.doc-block:first-child > h2 {
  margin-top: 0;
}
.doc-content h3 {
  margin: 32px 0 8px;
  font-size: var(--text-lede);
}
.doc-content h4 {
  margin: 26px 0 8px;
  font-size: var(--text-lede);
}
.doc-content .anchor {
  position: absolute;
  left: -24px;
  opacity: 0;
  color: var(--brand-light);
  font-family: var(--mono);
  font-size: var(--text-lede);
  transition: opacity 160ms var(--ease);
}
.doc-content h2:hover .anchor, .doc-content h3:hover .anchor, .doc-content h4:hover .anchor {
  opacity: 1;
}
.doc-content p, .doc-content li {
  color: var(--dark-warm);
}
.doc-content p { margin: 0 0 16px; }
.doc-content ul, .doc-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.doc-content li { margin-bottom: 8px; }
/* A native marker has no box and sits about 1.5px low beside this type, so it is
   hidden, which keeps the list a list to VoiceOver, and the dot is drawn on the first
   line. It rides the baseline, not the line box: line-height differs by locale and the
   baseline snaps to whole pixels, so a dot placed from the top drifts per language.
   .36em lies between Chinese ink (.38) and Latin caps (.335). */
.doc-content ul:not([class]) > li::marker { color: transparent; }
.doc-content ul:not([class]) > li::before, .doc-content ul:not([class]) > li > p:first-child::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 .5em 0 calc(-.5em - 5px);
  border-radius: 50%;
  background: currentColor;
  print-color-adjust: exact;
  vertical-align: calc(.36em - 2.5px);
}
.doc-content ul:not([class]) > li:has(> p:first-child)::before { content: none; }
.doc-content strong { color: var(--near-black); }
/* Links read by colour alone, no underline, as on every family site (maintainer 2026-10-20). */
.doc-content a {
  color: var(--brand);
  font-weight: 500;
}
.doc-content a:hover { color: var(--brand-light); }
.doc-content code {
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--ivory);
  color: var(--brand);
  padding: 0.08em 0.32em;
  font-size: var(--text-button);
  word-break: break-word;
}
/* Code under a 13px caption stays on the meta rung instead of rising above it. */
.doc-content figcaption code { font-size: var(--text-meta); }
.doc-content pre {
  overflow-x: auto;
  margin: 20px 0 24px;
  padding: 18px;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-md);
  background: var(--term);
  box-shadow: none;
}
.doc-content pre code {
  display: block;
  min-width: max-content;
  border: 0;
  background: transparent;
  color: var(--term-text);
  padding: 0;
  font-size: var(--text-meta);
  line-height: 1.65;
  word-break: normal;
}
.doc-content pre .tok-c { color: #79756a; font-style: italic; }
.doc-content pre .tok-k { color: #84aad6; }
.doc-content pre .tok-s { color: #8cbb91; }
.doc-content pre .tok-n { color: #cbab86; }
.doc-content pre .tok-f { color: #d6c78c; }
.doc-content pre .tok-b { color: #b59ccd; }
.doc-content table {
  width: 100%;
  margin: 22px 0 28px;
  border-collapse: collapse;
}
.doc-content thead { background: transparent; }
.doc-content th, .doc-content td {
  padding: 11px 24px 11px 0;
  border-bottom: 1px solid var(--line-faint);
  text-align: left;
  vertical-align: top;
}
.doc-content th:last-child, .doc-content td:last-child { padding-right: 0; }
.doc-content th {
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.doc-content td:first-child { color: var(--near-black); }
.doc-content table:has(td:last-child > code:only-child) th:last-child,
.doc-content table:has(td:last-child > code:only-child) td:last-child {
  width: 1%;
  white-space: nowrap;
}
.doc-content table:not(:has(td:last-child > code:only-child)) th:first-child,
.doc-content table:not(:has(td:last-child > code:only-child)) td:first-child {
  width: 1%;
  white-space: nowrap;
}
/* Config descriptions, and any table marked prose-cells, contain inline code but
   still need to wrap as prose. */
.doc-content table:is(.config-fields, .prose-cells):has(td:last-child > code:only-child) th:first-child,
.doc-content table:is(.config-fields, .prose-cells):has(td:last-child > code:only-child) td:first-child { width: 1%; white-space: nowrap; }
.doc-content table:is(.config-fields, .prose-cells):has(td:last-child > code:only-child) th:last-child,
.doc-content table:is(.config-fields, .prose-cells):has(td:last-child > code:only-child) td:last-child { width: auto; white-space: normal; }
/* Keybinding tables share one action column width, so the shortcut column starts
   at the same place in every section instead of jumping with each table's widest
   key; a shortcut cell may wrap after its key chips. The repeated class outranks
   the :has() column rules above. */
.doc-content table.keys.keys.keys th:first-child,
.doc-content table.keys.keys.keys td:first-child { width: 52%; white-space: normal; }
.doc-content table.keys.keys.keys th:last-child,
.doc-content table.keys.keys.keys td:last-child { width: auto; white-space: normal; }
/* Never break an inline code token inside a table: `word-break` on
   .doc-content code drops its min-content width to one character, which let a
   key column collapse to ~60px and stack `chat_model_choices` letter by letter.
   Note the two rules above are looser than they read: `code:only-child` ignores
   text nodes, so a prose cell that merely contains a code still matches and
   takes the nowrap branch. That is what squeezed the key column. */
.doc-content th code, .doc-content td code {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
/* A table that scrolls sideways shows a soft shadow on each side that still has
   content to reveal. The parchment covers scroll with the content (local) and sit
   over the shadows (scroll) at the ends, so a table that fits, or one scrolled to
   its end, shows nothing on that side. Backgrounds paint under the text, and the
   cells are transparent, so nothing is hidden. */
.doc-content table, .home-compare {
  background:
    linear-gradient(to right, var(--parchment) 18px, transparent 40px) left / 40px 100% no-repeat local,
    linear-gradient(to left, var(--parchment) 18px, transparent 40px) right / 40px 100% no-repeat local,
    linear-gradient(to right, rgba(20, 19, 19, 0.10), transparent) left / 16px 100% no-repeat scroll,
    linear-gradient(to left, rgba(20, 19, 19, 0.10), transparent) right / 16px 100% no-repeat scroll;
}
/* Tables carry nowrap columns, so give them a scroll container as soon as the
   docs layout reflows rather than letting a wide row clip. */
@media (max-width: 820px) {
  .doc-content table { display: block; overflow-x: auto; }
}
@media (max-width: 880px) {
  .doc-content table.config-fields { display: block; overflow-x: auto; }
}
/* The compare table has eight columns whose minimum width (about 805px in
   English) exceeds the prose column until the viewport reaches about 940px. */
@media (max-width: 960px) {
  .doc-content table.compare-table { display: block; overflow-x: auto; }
}
.doc-content blockquote {
  margin: 24px 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--line);
  color: var(--stone);
}
.doc-content blockquote p:last-child { margin-bottom: 0; }
.doc-content hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--border-soft);
}
.doc-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.doc-pager a {
  display: grid;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  transition: opacity 160ms var(--ease);
}
.doc-pager a:active { opacity: 0.6; }
.doc-pager a:last-child { text-align: right; }
.doc-pager span {
  color: var(--stone);
  font-family: var(--ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0;
}
.doc-pager strong {
  color: var(--brand);
  font-family: var(--serif);
  font-size: var(--text-lede);
  font-weight: 500;
  line-height: 1.2;
  transition: color 160ms var(--ease);
}
.doc-pager a:hover strong { color: var(--brand-light); }
.release-doc h2 {
  margin: 44px 0 14px;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.22;
}
.release-doc h2:first-of-type { margin-top: 0; }
.release-doc h2 .release-date,
.release-doc h2 .rel-date {
  margin-left: 12px;
  color: var(--stone);
  font-family: var(--serif);
  font-size: var(--text-meta);
  font-weight: 400;
  letter-spacing: 0.4px;
}
.release-doc hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 32px 0;
}
.release-doc ol {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  counter-reset: rel-item;
}
.release-doc ol li {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-lede);
  line-height: 1.65;
  counter-increment: rel-item;
}
/* 16 is the blog's list step: at 4 the gap to the next item was no wider than the gap
   between two lines of one item, so a release read as one paragraph. */
.release-doc ol li + li { margin-top: 16px; }
.release-doc ol li::before {
  content: counter(rel-item) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  color: var(--stone);
  font-family: var(--serif);
  font-size: var(--text-lede);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}
.release-doc ol li b {
  color: var(--near-black);
  font-weight: 600;
}
.release-doc ol li code {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: var(--mono);
  font-size: var(--text-button);
  color: var(--brand);
  background: var(--brand-tint);
  padding: 1px 5px;
  border-radius: 3px;
}
.release-doc .release-more {
  margin: 28px 0 0;
  color: var(--stone);
  font-family: var(--serif);
  font-size: var(--text-button);
}
.faq { border-top: 1px solid var(--line-faint); interpolate-size: allow-keywords; }
.faq-item { border-bottom: 1px solid var(--line-faint); padding: 20px 0; }
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item h3 {
  margin: 0;
  color: var(--dark-warm);
  font-family: var(--serif);
  font-size: var(--text-lede);
  font-weight: 500;
  line-height: 1.35;
}
.faq-chevron {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  transition: transform 0.25s ease-out;
}
.faq-item[open] .faq-chevron { transform: rotate(135deg); }
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.4px;
  border-radius: 1px;
  background: var(--stone);
  transform: translate(-50%, -50%);
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: hover) {
  .faq-item > summary:hover h3 { color: var(--near-black); }
  .faq-item > summary:hover .faq-chevron::before,
  .faq-item > summary:hover .faq-chevron::after { background: var(--near-black); }
}
.faq-item::details-content {
  height: 0;
  overflow: clip;
  opacity: 0;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.26s ease, content-visibility 0.3s allow-discrete;
}
.faq-item[open]::details-content { height: auto; opacity: 1; }
.faq-answer {
  max-width: 46em;
  /* Padding, not margin: the open/close transition animates the height of
     ::details-content, and margins sit outside it, so they used to snap 12px
     in on the first frame and 12px out on the last. */
  margin: 0;
  padding: 12px 0 4px;
  color: var(--stone);
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.7;
}
/* Inline code stays a rung under the 16 reading text (2026-11-09). */
@media (min-width: 641px) { .workflow-item p code, .method p code, .quick-card p code, .doc-card p code, .feature span code { font-size: var(--text-button); } }
.faq-answer code {
  font-family: var(--mono);
  font-size: var(--text-meta);
  color: var(--near-black);
  background: var(--line-faint);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Author contact under the FAQ, the same block as mole.fit's (2026-10-20).
   The X and GitHub counts are static: update them together with mole.fit's. */
/* The page's last section head, at the section title's size and the gap between sections, as on
   mole.fit and yado.house (maintainer 2026-11-10: at 21px beside a 28px avatar it was the one smaller title). */
.contact { margin-top: var(--section-gap); text-align: left; }
.contact-heading { display: flex; align-items: center; gap: 12px; }
.contact-author { display: block; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.contact .contact-title { padding: 0; transform: translateY(1.5px); }
.contact .contact-sub { margin: 8px 0 0; padding: 0; font-family: var(--serif); font-size: var(--text-body); line-height: 1.55; color: var(--olive); }
.contact-sub a { color: var(--brand); text-decoration: none; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.contact-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--border-card, var(--line));
  border-radius: 14px;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact-channel {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--near-black);
}
.contact-glyph { width: 22px; height: 22px; transition: opacity 0.18s ease; }
.contact-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.18s ease; }
.contact-meta { display: flex; flex-direction: column; min-width: 0; }
.contact-head b { font-family: var(--ui, var(--serif)); font-size: var(--text-button); font-weight: 600; line-height: 1.3; color: var(--near-black); }
.contact-handle { font-family: var(--ui, var(--serif)); font-size: var(--text-meta); line-height: 1.3; color: var(--stone); }
.contact-stat {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-meta);
  font-weight: 700;
  white-space: nowrap;
}
.contact .contact-desc { margin: 4px 0 0; padding: 0; font-family: var(--serif); font-size: var(--text-body); line-height: 1.55; color: var(--olive); }
@media (hover: hover) {
  .contact-card:hover { border-color: var(--line); box-shadow: 0 2px 8px rgba(20, 19, 19, 0.05); }
  .contact-card:hover .contact-glyph { opacity: 0; }
  .contact-card:hover .contact-avatar { opacity: 1; }
  .contact-sub a:hover { color: var(--brand-light); }
}
.contact-card:active { border-color: var(--line); background: linear-gradient(180deg, var(--ivory) 0%, var(--parchment) 100%); }
@media (prefers-reduced-motion: reduce) { .contact-glyph, .contact-avatar { transition: none; } }
/* Two cards side by side squeezed their lines into four or five rows on a
   640 to 700 tablet; mole.fit goes to one column below 700. */
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
@media (max-width: 340px) {
  .contact-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
  .contact-channel { grid-column: 1; grid-row: 1 / span 2; }
  .contact-meta { grid-column: 2; grid-row: 1; }
  .contact-stat { grid-column: 2; grid-row: 2; margin-left: 0; justify-self: start; }
}
/* Links read by colour alone, as on mole.fit (maintainer 2026-10-20). */
.faq-answer a { color: var(--brand); }
@media (prefers-reduced-motion: reduce) {
  .faq-chevron, .faq-item::details-content { transition: none; }
}
.blog-latest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.blog-latest-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; color: var(--dark-warm); text-decoration: none; }
@media (hover: hover) { .blog-latest-list a:hover .blog-latest-title { color: var(--brand); } }
.blog-latest-title { font-size: var(--text-lede); line-height: 1.5; }
.blog-latest-date { flex: none; font-size: var(--text-meta); color: var(--stone); font-variant-numeric: tabular-nums; }
.section-head h2 a { color: inherit; text-decoration: none; }
@media (hover: hover) { .section-head h2 a:hover { color: var(--brand); } }
@media (max-width: 640px) {
  .blog-latest-list { gap: 20px; }
  .blog-latest-list a { flex-direction: column; gap: 4px; }
}
/* mole.fit's dark footer band in Kaku's slate, with Mole's text steps: the
   name and a one-line description on the left, small titled link columns on
   the right. Languages switch only in the nav. */
.site-footer { background: var(--kaku-slate); color: color-mix(in srgb, var(--foot-ink) 62%, transparent); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-top: 60px; padding-bottom: 48px; font-family: var(--serif); font-size: var(--text-meta); }
.foot-brand .name { margin: 0 0 8px; color: #fff; font-size: var(--text-title); font-weight: 500; line-height: 1.1; }
.foot-mark { font-family: "Kaku Mark", "Kaku Serif SC", "Songti TC", serif; font-weight: 400; }
.foot-cn { font-family: "Sibling Mark", var(--serif); font-weight: 400; }
.foot-sub { margin: 10px 0 0; font-size: var(--text-meta); line-height: 1.5; }
.foot-links { display: flex; gap: 44px; }
.foot-links div { display: grid; gap: 12px; align-content: start; }
.foot-links b { margin-bottom: 2px; color: color-mix(in srgb, #fff 92%, transparent); font-size: var(--text-meta); font-weight: 600; letter-spacing: 0.2px; }
/* Chinese blog text tracks at 0.02em, as on mole.fit (maintainer 2026-10-21: zero tracking read cramped);
   headings resolve it at their own size instead of the Latin -0.3px, code keeps 0. */
/* Chinese headings take no Latin -0.3px, which pressed full-em glyphs together. */
html[lang^="zh"] :is(.section-head h2, .contact .contact-title, .page-hero h1) { letter-spacing: 0; }
html[lang^="zh"] .blog-page, html[lang^="zh"] .blog-page :is(h1, h2, h3, h4) { letter-spacing: 0.02em; }
html[lang^="zh"] .blog-page :is(pre, code, kbd) { letter-spacing: 0; }
html[lang^="zh"] .foot-links b { letter-spacing: 0.6px; }
.foot a { color: color-mix(in srgb, var(--foot-ink) 68%, transparent); }
@media (hover: hover) { .foot a:hover { color: #fff; text-decoration: none; } }

@media (hover: hover) {
  .method:hover, .quick-card:hover {
    border-color: var(--line);
  }
  .method, .quick-card {
    transition: border-color 160ms var(--ease);
  }
  .doc-card { transition: color 160ms var(--ease); }
}
@media (max-width: 820px) {
  .section-head, .terminal-demo, .split, .docs-layout {
    grid-template-columns: 1fr;
  }
  .section-head { max-width: none; }
  .foot { flex-direction: column; }
  /* Stacked under the brand, the columns share the full width as on mole.fit;
     at their natural widths they huddled left of an empty half (OPPO Pad mini). */
  .foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
  .docs-layout { gap: 34px; }
  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .docs-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-toc { display: none; }
  .section-toc p { grid-column: 1 / -1; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero { min-height: auto; padding: 44px 0 0; }
}
/* Four groups no longer fit one phone row without wrapping "MiaoYan 語", so they pair up. */
@media (max-width: 600px) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide, .hero-wrap, .hero-centered { padding-inline: 28px; }
  .site-nav { padding-inline: 14px; }
  .hero { padding-top: 44px; }
  .section-head h2, .contact .contact-title { font-size: 26px; }
  .contact-author { width: 30px; height: 30px; }
  /* 64px with -1px tracking under 880 and the 18px gap at every width, as on
     the other product sites (maintainer 2026-11-04: one lockup size). */
  .hero h1 { font-size: 84px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 66px; }
}
/* Phones keep the sizes they had before the desktop ladder (decide 1030-13,
   maintainer 2026-11-01): the ladder above 640px does not change them. */
@media (max-width: 640px) {
  .skip-link, .nav-links a, .docs-home, .shot figcaption, .doc-content pre code { font-size: 14px; }
  .section-num, .release-doc h2 .rel-date { font-size: 15px; }
  .doc-content h4 { font-size: 17px; }
  .doc-content .quick-card h2, .doc-card h2 { font-size: 18px; }
  .faq-item h3 { font-size: 16px; }
  .doc-content h3 { font-size: 19px; }
  .foot-brand .name, .method h2, .quick-card h3, .doc-content h2,
  .release-doc h2, .prose h3 { font-size: 22px; }
  .section-head h2, .contact .contact-title, .prose h2 { font-size: 26px; }
  .feature span, .method p, .quick-card p, .doc-card p { font-size: 16px; }
  .doc-content code, .doc-content figcaption code { font-size: 0.9em; }
  .release-doc ol li code, .faq-answer code { font-size: 14px; }
  .sk { font-size: 0.86em; }
}
@media (max-width: 560px) {
  .wide, .hero-wrap, .hero-centered { padding-inline: 22px; }
  .site-nav { padding: 12px 5px 0; }
  .site-nav .nav-inner { min-height: 48px; padding: 6px 10px; }
  .nav-links { gap: 2px; margin-left: 6px; }
  .nav-links a { padding: 8px 8px; }
  .hero { padding: 40px 0 0; }
  .hero h1 { margin-bottom: calc(24px - 0.115em); }
  /* Phone hero buttons keep their label's width, 42px tall with 22px sides,
     at least 128px wide and 12px apart (maintainer 2026-10-30, from rendered candidates: 44
     read tall and label-width pills read narrow; 128 pairs the Chinese labels
     evenly), 14px sides under 375px. The quiet button's hairline mixes 60% --line into ivory, since
     1px of --line is three device pixels on a phone and read heavy. */
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { flex: 0 0 auto; min-width: 128px; min-height: 0; height: 42px; padding: 0 22px; white-space: nowrap; }
  .hero-actions .btn-secondary { border-color: color-mix(in srgb, var(--line) 60%, var(--ivory)); }
  @media (max-width: 374px) {
    .hero-actions .btn { min-width: 0; padding: 0 14px; }
  }
  .feature-grid, .quick-grid, .doc-grid, .doc-pager, .gallery { grid-template-columns: 1fr; }
  .docs-sidebar { gap: 12px; }
  .docs-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .docs-menu::-webkit-scrollbar { display: none; }
  .docs-home { padding-left: 0; }
  .docs-menu a {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0 0 7px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .docs-menu a[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--brand);
  }
  .workflow-item, .doc-card { grid-template-columns: 1fr; gap: 8px; }
  .workflow-item p { grid-column: auto; }
  .doc-content .anchor { display: none; }
  .doc-content h2 { font-size: 22px; }
  .doc-content pre { margin-left: -2px; margin-right: -2px; padding: 14px; }
  .doc-content pre code { font-size: 12px; line-height: 1.55; }
  .doc-content th, .doc-content td { min-width: 132px; padding: 10px 11px; }
  .doc-pager a:last-child { text-align: left; }
}
.cn-orbit {
  position: relative;
  display: inline-block;
}
/* One small dot circles 書, as mole.fit's does around 鼴; each family site
   gets its own orbit (tilt, direction, pace) so the motion stays theirs. */
@property --mark-orbit {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.cn-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + 9px);
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--brand);
  /* A terminal cursor: it ticks around a flat ellipse in steps instead of
     gliding. */
  transform: translate(calc(cos(var(--mark-orbit)) * 0.8em), calc(sin(var(--mark-orbit)) * 0.48em));
  animation: mark-orbit 12s steps(30) infinite normal;
  pointer-events: none;
}
@keyframes mark-orbit {
  to { --mark-orbit: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .cn-orbit::after { animation: none; }
}

/* ===== Blog =====
   Same parchment cards and serif rhythm as mole.fit's blog, on Kaku's tokens.
   Articles fill the page width like mole.fit's (maintainer 2026-10-21,
   replacing the 760px column of 2026-10-19). */
/* Blog tables hold sentences, not config keys, so the docs rules that pin a
   key column to nowrap would push long cells past the page. */
.doc-content.blog-article table th,
.doc-content.blog-article table td { width: auto !important; white-space: normal !important; }
.blog-crumb {
  margin: 0;
  font-size: var(--text-meta);
  line-height: 1.4;
}
.blog-crumb a { color: var(--stone); }
.blog-crumb a:hover { color: var(--brand); text-decoration: none; }
.page-hero .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--stone);
  font-size: var(--text-meta);
  letter-spacing: 0.4px;
  line-height: 1.5;
}
.blog-meta > span { white-space: nowrap; }
.blog-cover {
  aspect-ratio: 16 / 7;
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-tint);
}
.blog-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-diagram { margin: 28px 0 32px; }
.blog-diagram picture { display: block; }
/* Diagrams are saved at 2x and keep their own width up to the column, so a
   narrow one is not blown up to the full column with oversized text. */
.blog-diagram img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.blog-diagram figcaption {
  margin-top: 10px;
  color: var(--stone);
  font-size: var(--text-meta);
  line-height: 1.55;
}
.blog-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 44px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  background: var(--line-faint);
}
.blog-cta-icon { width: 40px; height: 40px; }
.doc-content .blog-cta p { margin: 0; color: var(--dark-warm); font-size: var(--text-lede); line-height: 1.5; }
.blog-article .blog-cta a.btn { border-bottom: 0; color: #fff; }
.blog-related { margin-top: 84px; }
.doc-content .blog-related-title { margin: 0 0 24px; font-size: var(--text-title); font-weight: 500; }
.blog-related-list, .blog-cards {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-related-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.doc-content .blog-related-list { padding: 0; }
.doc-content .blog-related-list li { margin: 0; }
.doc-content .blog-related-list a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
  color: var(--near-black);
  font-weight: 400;
}
.blog-related-name { font-size: var(--text-lede); font-weight: 600; line-height: 1.35; }
.blog-related-meta, .blog-card-date {
  margin-top: auto;
  color: var(--stone);
  font-size: var(--text-meta);
  font-variant-numeric: tabular-nums;
}
.blog-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.blog-card {
  overflow: hidden;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
}
.blog-card a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.blog-card a:hover { text-decoration: none; }
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line-faint);
  background: var(--brand-tint);
}
.blog-card-media { overflow: hidden; }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 18px 16px;
}
.blog-card-title { margin: 0 0 4px; color: var(--near-black); font-size: var(--text-lede); font-weight: 600; line-height: 1.3; }
.blog-card-desc { margin: 0 0 12px; color: var(--dark-warm); font-size: var(--text-body); line-height: 1.55; }
@media (hover: hover) {
  .blog-card:hover, .doc-content .blog-related-list a:hover { border-color: var(--line); box-shadow: 0 2px 8px rgba(20, 19, 19, 0.05); }
  .blog-card a:hover .blog-card-media img { transform: scale(1.03); }
}
.blog-card a:active, .doc-content .blog-related-list a:active { background: linear-gradient(180deg, var(--ivory) 0%, var(--parchment) 100%); }
@media (max-width: 1024px) {
  .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-cards { grid-template-columns: 1fr; gap: 24px; }
  .blog-related-list { grid-template-columns: 1fr; gap: 14px; }
  .blog-cover { aspect-ratio: 16 / 9; }
  .blog-cta { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; }
  .blog-cta .btn { grid-column: 1 / -1; }
}

/* Blog topic groups: the index lists live posts under their category, and the
   article meta line and related cards name it. Labels stay serif and unuppercased. */
.blog-group + .blog-group { margin-top: 64px; }
.blog-group-head { margin: 0 0 20px; }
.blog-group-title { margin: 0 0 8px; color: var(--dark-warm); font-size: var(--text-title); font-weight: 500; line-height: 1.25; }
.blog-group-description { margin: 0; color: var(--stone); font-size: var(--text-lede); line-height: 1.55; }
.page-hero .blog-meta a { color: var(--stone); }
.page-hero .blog-meta a:hover { color: var(--brand); text-decoration: none; }
.blog-related-cat { color: var(--stone); font-size: var(--text-meta); line-height: 1.4; }

/* The family's phone type ladder (Kata site.md, 2026-10-26): at 640px and
   below, body copy is 16px, secondary copy 15px, meta 13px, nothing under 12px.
   The hero line, home ledes and paragraphs sit on the same 16 as the docs and
   articles they link to. Headings and desktop keep their own values. */
@media (max-width: 640px) {
  .doc-content, .hero-sub, .section-head p, .section-body p, .page-hero p, .workflow-item p,
  .faq-answer, .blog-group-description,
  .release-doc ol li, .release-doc ol li::before { font-size: 16px; }
  .foot, .foot-sub, .contact-head b, .contact .contact-desc, .blog-card-desc { font-size: 15px; }
  .blog-related-meta, .blog-card-date { font-size: 13px; }
  .blog-card-title, .blog-card-desc { overflow-wrap: anywhere; }
}

/* Phone sizes from before the desktop ladder, for rules defined above this
   point at equal or higher specificity. */
@media (max-width: 640px) {
  .home-compare thead th, .home-compare tbody th, .doc-content .blog-diagram figcaption { font-size: 14px; }
  .blog-card-title { font-size: 17px; }
  .blog-group-title, .doc-content .blog-related-title { font-size: 22px; }
  .release-doc h2 .release-date { font-size: 15px; }
}

/* Meta is 14px on desktop (maintainer 2026-11-01: 13 read small beside the
   hero's tagline); phones keep the 13px meta of their own ladder. */
@media (max-width: 640px) {
  :root { --text-meta: 13px; --text-body: 15px; }
}
/* CJK hero tagline on desktop: 18px, the ladder's one exception (maintainer
   2026-11-08: 20 read big once Clear Han's firmer strokes arrived). */
@media (min-width: 641px) {
  html:is([lang^="zh"], [lang="ja"], [lang="ko"]) .hero-sub { font-size: 18px; }
}

/* Chinese pass of 2026-11-08, from mole.fit (maintainer's picks there): tracking
   is two tokens, 0.03em at every width since 2026-11-10 (0.04em read a little
   wide on PC), titles nearly closed and solid on phones. An em
   on body inherits as pixels. The nav, footer, buttons, code and Latin names stay
   at 0, since a trailing track pushes a centered label off center by half of it. */
html[lang^="zh"] {
  --cjk-track: 0.03em;
  --cjk-track-title: 0.01em;
}
@media (max-width: 640px) {
  html[lang^="zh"] {
    --cjk-track: 0.03em;
    --cjk-track-title: 0;
  }
}
html[lang^="zh"] body { letter-spacing: var(--cjk-track); }
html[lang^="zh"] :is(h2, h3, h4, .section-head h2, .prose h2, .prose h3, .doc-content :is(h1, h2, h3, h4), .faq-item h3, .blog-card-title) { letter-spacing: var(--cjk-track-title); }
html[lang^="zh"] :is(.site-nav, .site-footer, .foot-links b, .btn, .terminal-body, .doc-content .anchor, pre, code, kbd, samp) { letter-spacing: 0; }
html[lang^="zh"] .blog-card-desc { color: var(--olive); }
