@charset "UTF-8";
@font-face {
  font-family: "DrRobo Sans";
  src: url("/assets/fonts/noto-sans-jp-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  /* Brand colors sampled from https://www.drrobo.ai/; darker orange is for readable text/focus. */
  --ink: #292929;
  --text: #454545;
  --muted: #66615b;
  --line: #e2dcd4;
  --line-strong: #b5aaa0;
  --orange: #ff8501;
  --gold: #fbb03b;
  --orange-dark: #9b4700;
  --orange-hover: #ffab46;
  --orange-soft: #fff3e3;
  --orange-tint: #ffe5c2;
  --paper: #faf8f5;
  --white: #ffffff;
  --lavender: #d7d0e5;
  --lavender-soft: #f3eff8;
  --shadow: #e4d9cc;
  --focus: #9b4700;
  --font: "DrRobo Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  /* The hero description is the minimum; the hero title sets the responsive maximum. */
  --text-min: 16px;
  --text-max: clamp(45px, 4.65vw, 68px);
  --text-nav: 17px;
  --text-nav-heading: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 174px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: var(--text-min); font-weight: 500; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
small, sup, sub { font-size: max(var(--text-min), .8em); }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { background: none; border: 0; cursor: pointer; color: inherit; }
button:disabled { cursor: wait; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.6; letter-spacing: -.025em; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; z-index: 999; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; height: 88px; padding: 0 50px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 23px; }
.brand img { width: 150px; height: auto; }
.brand > span { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: 23px; font-size: var(--text-min); font-weight: 800; line-height: 1.6; }
.brand small { font-size: var(--text-min); letter-spacing: .16em; font-weight: 700; color: var(--muted); }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: var(--text-min); font-weight: 750; white-space: nowrap; }
.header-nav a { position: relative; padding: 32px 0; }
.header-nav a:after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.header-nav a:hover:after, .header-nav a[aria-current]:after { transform: scaleX(1); }
.official-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; font-size: var(--text-min); font-weight: 700; white-space: nowrap; transition: background 180ms; }
.official-link:hover { background: var(--paper); }
.official-link .icon { width: 14px; height: 14px; }
.mobile-nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.mobile-nav { padding: 12px 24px 22px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav a { display: block; padding: 12px 8px; font-weight: 700; }
.mobile-nav a[aria-current] { color: var(--orange-dark); background: var(--orange-soft); box-shadow: inset 3px 0 var(--orange); }
/* Home: a bold headline and a small, tangible automation workspace. */
.hero { background: linear-gradient(115deg, var(--white) 20%, var(--orange-soft) 75%, var(--lavender-soft)); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { max-width: 1320px; margin: auto; padding: 74px 36px 58px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.hero h1 { font-size: var(--text-max); font-weight: 900; line-height: 1.5; letter-spacing: -.06em; white-space: nowrap; }
.hero-emphasis { position: relative; display: inline-block; z-index: 0; }
.hero-emphasis:after { content: ""; position: absolute; height: 24%; left: -3px; right: 3px; bottom: 9%; z-index: -1; background: var(--orange); transform: rotate(-2deg); transform-origin: left; }
.hero-description { margin-top: 24px; font-size: var(--text-min); font-weight: 550; line-height: 1.95; color: var(--text); }
.search-form { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); background: var(--white); border-radius: 5px; padding: 5px 6px 5px 16px; }
.search-form > .icon { color: var(--text); }
.search-form input { flex: 1; width: 100%; min-width: 0; height: 40px; background: transparent; border: 0; outline: none; color: var(--ink); font-size: var(--text-min); font-weight: 550; }
.search-form input::placeholder { color: var(--muted); opacity: 1; }
.search-form input:focus-visible { outline: none; }
.search-form:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-form button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 10px 21px; border-radius: 3px; font-size: var(--text-min); font-weight: 800; background: var(--orange); color: var(--ink); transition: background 160ms, transform 160ms; white-space: nowrap; }
.search-form button:hover { background: var(--orange-hover); }
.search-form button:active { transform: translateY(2px); }
.search-form-hero { margin-top: 32px; padding: 7px 8px 7px 19px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); border-radius: 6px; }
.search-form-hero input { height: 47px; font-size: var(--text-min); }
.search-form-hero button { min-height: 48px; background: var(--orange); color: var(--ink); padding: 11px 21px; }
.search-form-hero button:hover { background: var(--orange-hover); }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--text-min); }
.search-suggestions > span { color: var(--muted); margin-right: 4px; font-weight: 600; }
.search-suggestions a { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 2px 8px; border-bottom: 1px solid var(--line-strong); font-weight: 650; }
.search-suggestions .icon { width: 11px; height: 11px; transform: rotate(-45deg); transition: transform 180ms var(--ease); }
.search-suggestions a:hover { color: var(--orange-dark); border-color: var(--orange-dark); }
.search-suggestions a:hover .icon { transform: rotate(-45deg) translateX(3px); }
.hero-footnote { display: flex; align-items: center; gap: 9px; margin-top: 30px; font-size: var(--text-min); color: var(--muted); font-weight: 600; }
.tiny-square { width: 5px; height: 5px; background: var(--muted); }
.hero-art { min-width: 0; padding-top: 22px; }
.hero-stage { position: relative; max-width: 440px; margin: auto; padding-bottom: 33px; }
.stage-window { position: relative; background: var(--orange-soft); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 9px 9px 0 var(--shadow); }
.stage-window-bar { height: 46px; padding: 0 17px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border-radius: 12px 12px 0 0; font-size: var(--text-min); font-weight: 700; }
.stage-window-bar > .icon { width: 17px; height: 17px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; }
.window-dots i:first-child { background: var(--orange); }
.stage-canvas { position: relative; height: 420px; overflow: visible; }
.stage-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(#d4bd9e 1px, transparent 1px), linear-gradient(90deg,#d4bd9e 1px,transparent 1px); background-size: 28px 28px; border-radius: 0 0 12px 12px; }
.stage-sun { position: absolute; width: 270px; height: 270px; left: 50%; top: 35px; transform: translateX(-50%); border-radius: 50%; background: var(--gold); border: 1px solid #ed953e; }
.stage-sun:before { content: ""; position: absolute; inset: 15px; border: 1px dashed #b27539; border-radius: 50%; }
.stage-path { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--muted); }
.mascot-trigger { position: absolute; left: 50%; top: 74px; width: 228px; padding: 0; transform: translateX(-50%); z-index: 3; border-radius: 50%; }
.hero-mascot { width: 228px; height: auto; transform-origin: 50% 88%; }
.mascot-hint { display: inline-flex; gap: 5px; align-items: center; padding: 2px 9px; color: var(--text); font-size: var(--text-min); font-weight: 700; transform: rotate(-4deg); }
.mascot-hint .icon { width: 13px; height: 13px; }
.flow-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--white); box-shadow: 3px 3px 0 #29292918; z-index: 4; pointer-events: none; }
.flow-note small { display: block; font-size: var(--text-min); font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.flow-note strong { display: block; font-size: var(--text-min); font-weight: 800; }
.flow-note > .icon { width: 14px; height: 14px; color: var(--orange-dark); }
.flow-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--orange-soft); }
.flow-icon .icon { width: 17px; height: 17px; }
.note-find { top: 22px; left: -28px; transform: rotate(-5deg); }
.note-done { bottom: 10px; right: -22px; transform: rotate(5deg); background: var(--orange-soft); }
.note-done .flow-icon { background: var(--white); }
.stage-asterisk { position: absolute; font-size: min(68px, var(--text-max)); top: 53px; right: -25px; line-height: 1; color: var(--ink); z-index: 4; }
.mascot-message { position: absolute; bottom: 19px; left: -15px; border: 1.5px solid var(--ink); background: var(--orange); padding: 8px 14px; border-radius: 4px; font-size: var(--text-min); font-weight: 800; transform: rotate(-5deg); z-index: 5; max-width: calc(100% - 15px); }
.mascot-message { pointer-events: none; transform-origin: 75% 0; box-shadow: 3px 3px 0 #29292918; }
.mascot-message:before { content: ""; position: absolute; top: -7px; right: 28px; width: 11px; height: 11px; background: var(--orange); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); transform: rotate(45deg); }
.hero-bottom-rule { flex-wrap: wrap; max-width: 1248px; margin: 0 auto; border-top: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; gap: 54px; font-size: var(--text-min); font-weight: 650; color: var(--muted); }
.hero-bottom-rule > span:not(.down-arrow):before { content: "＋"; margin-right: 9px; color: var(--muted); font-weight: 800; }
.down-arrow { margin-left: auto; font-size: 23px; color: var(--ink); line-height: 1; }
.home-content { max-width: 1320px; margin: auto; padding: 0 36px 80px; }
/* A warm start panel keeps the primary path clear without a large dark surface. */
.start-banner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 75px; margin-top: 66px; padding: 48px 54px; background: linear-gradient(115deg, var(--orange-soft), var(--orange-tint)); color: var(--ink); border: 1px solid #edc799; border-radius: 8px; }
.small-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: var(--text-min); font-weight: 750; letter-spacing: .05em; }
.section-number { display: inline-block; font-family: sans-serif; font-size: var(--text-min); line-height: 24px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 3px; font-weight: 700; letter-spacing: .05em; }
.start-banner .small-eyebrow { color: var(--orange-dark); }
.start-banner .section-number { border-color: var(--line-strong); }
.start-banner h2 { font-size: 34px; font-weight: 850; line-height: 1.65; }
.start-banner p { font-size: var(--text-min); color: var(--muted); margin-top: 17px; font-weight: 450; line-height: 1.9; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 20px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: var(--text-min); font-weight: 800; background: var(--white); color: var(--ink); min-height: 46px; transition: box-shadow 160ms,transform 160ms,background 160ms; }
.text-button .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.text-button:hover { background: var(--orange-soft); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px,-2px); }
.text-button:hover .icon { transform: translateX(3px); }
.start-banner .text-button { margin-top: 28px; background: var(--orange); border-color: var(--orange); }
.start-banner .text-button:hover { box-shadow: 3px 3px 0 var(--shadow); background: var(--orange-hover); }
.start-steps { align-self: center; }
.start-step { display: flex; align-items: center; gap: 18px; min-height: 93px; border-bottom: 1px solid #dec6a8; padding: 15px 0; transition: color 160ms; }
.start-step:first-child { border-top: 1px solid #dec6a8; }
.step-number { color: var(--orange-dark); font-family: sans-serif; font-size: var(--text-min); font-weight: 650; }
.step-content { display: flex; flex-direction: column; flex: 1; }
.step-content strong { font-weight: 750; font-size: 18px; }
.step-content > span { font-size: var(--text-min); color: var(--muted); margin-top: 3px; font-weight: 450; }
.step-icon { display: grid; place-items: center; border: 1px solid #d3b58e; border-radius: 5px; width: 37px; height: 37px; }
.step-icon .icon { width: 19px; height: 19px; }
.start-step > .icon { width: 17px; height: 17px; transition: transform 220ms var(--ease); }
.start-step:hover { color: var(--orange-dark); }
.start-step:hover > .icon { transform: translateX(5px); }
.category-section { margin-top: 78px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { font-size: 34px; font-weight: 850; letter-spacing: -.04em; }
.section-caption { font-size: var(--text-min); color: var(--muted); line-height: 1.9; font-weight: 500; }
.featured-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.category-card { display: block; position: relative; padding: 28px 32px 33px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; transition: transform 220ms var(--ease),box-shadow 220ms var(--ease); }
.featured-categories .category-card:first-child { background: var(--orange-soft); }
.featured-categories .category-card:last-child { background: var(--lavender-soft); }
.category-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.category-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.category-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink); }
.category-icon .icon { width: 23px; height: 23px; }
.category-count { display: flex; align-items: baseline; gap: 5px; font-size: 32px; font-family: sans-serif; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.category-count small { font-family: var(--font); font-size: var(--text-min); font-weight: 650; letter-spacing: 0; }
.category-card h3 { font-size: 23px; font-weight: 850; margin-bottom: 10px; padding-right: 25px; }
.category-card p { font-size: var(--text-min); color: var(--text); font-weight: 500; padding-right: 30px; }
.card-arrow { position: absolute; bottom: 31px; right: 28px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--white); transition: background 200ms; }
.card-arrow .icon { width: 16px; height: 16px; transform: rotate(-40deg); transition: transform 220ms var(--ease); }
.category-card:hover .card-arrow { background: var(--orange); }
.category-card:hover .card-arrow .icon { transform: rotate(0); }
.directory-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.directory-row { display: flex; align-items: center; gap: 15px; padding: 25px 5px; border-bottom: 1px solid var(--line-strong); position: relative; transition: background 180ms; }
.directory-row:nth-child(-n+2) { border-top: 1px solid var(--line-strong); }
.directory-index { font-family: sans-serif; font-size: var(--text-min); font-weight: 650; color: var(--muted); }
.directory-icon { color: var(--text); display: flex; }
.directory-icon .icon { width: 22px; height: 22px; }
.directory-copy { min-width: 0; flex: 1; }
.directory-copy strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.directory-copy > span { display: block; font-size: var(--text-min); color: var(--muted); margin-top: 4px; }
.directory-count { font-size: var(--text-min); white-space: nowrap; color: var(--muted); }
.directory-row > .icon { width: 17px; height: 17px; transition: transform 220ms var(--ease); }
.directory-row:hover { background: var(--paper); }
.directory-row:hover > .icon { transform: translateX(5px); }
.directory-row:hover .directory-icon { color: var(--orange-dark); }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.category-grid .category-card { padding: 24px 25px 30px; }
.category-grid .category-card h3 { font-size: 20px; }
.category-grid .category-card:nth-child(3n+1) { background: var(--orange-soft); }
.category-grid .category-card:nth-child(3n+2) { background: var(--paper); }
.category-grid .category-card:nth-child(3n) { background: var(--lavender-soft); }
.recommended-section { margin-top: 78px; }
.subtle-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--text-min); border-bottom: 1px solid var(--line-strong); padding: 8px 0; white-space: nowrap; }
.subtle-link .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.subtle-link:hover .icon { transform: translateX(4px); }
.recommended-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.recommended-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color 180ms,transform 220ms var(--ease); }
.recommended-top { display: flex; justify-content: space-between; align-items: center; position: relative; min-height: 138px; padding: 17px 27px; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.recommended-card:nth-child(2) .recommended-top { background: var(--paper); }
.recommended-card:nth-child(3) .recommended-top { background: var(--lavender-soft); }
.recommended-number { font-family: sans-serif; font-size: min(75px, var(--text-max)); font-weight: 800; letter-spacing: -.08em; line-height: 1; color: #d6c9b9; transition: transform 250ms var(--ease); }
.recommended-symbol { display: grid; place-items: center; width: 69px; height: 69px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 9px; box-shadow: 4px 4px 0 var(--shadow); transform: rotate(-7deg); transition: transform 250ms var(--ease); }
.recommended-symbol .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.recommended-copy { padding: 24px; }
.article-overline { font-size: var(--text-min); font-weight: 650; color: var(--muted); }
.recommended-card h3 { font-size: 18px; font-weight: 800; margin: 9px 0 23px; min-height: 58px; }
.read-link { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-min); font-weight: 750; }
.read-link .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.recommended-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.recommended-card:hover .recommended-symbol { transform: rotate(4deg) translateY(-3px); }
.recommended-card:hover .recommended-number { transform: translateX(-5px); }
.recommended-card:hover .read-link .icon { transform: translateX(5px); }
.help-strip { display: flex; align-items: center; gap: 30px; margin-top: 72px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 35px 5px; }
.help-strip-icon { font-family: sans-serif; font-size: min(66px, var(--text-max)); font-weight: 900; line-height: 1; background: var(--orange); width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; transform: rotate(-12deg); flex-shrink: 0; }
.help-strip h2 { font-size: 27px; font-weight: 850; }
.help-strip p { font-size: var(--text-min); color: var(--muted); margin-top: 8px; }
.help-strip .text-button { margin-left: auto; }
.mobile-break { display: none; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { flex-wrap: wrap; max-width: 1360px; margin: auto; padding: 35px 40px; display: flex; align-items: center; gap: 28px; font-size: var(--text-min); color: var(--muted); }
.footer-brand img { width: 126px; height: auto; }
.footer-tagline { font-size: var(--text-min); font-weight: 650; }
.footer-copyright { font-family: sans-serif; font-size: var(--text-min); margin-left: auto; }
/* Documentation: generous text, steady navigation, no motion in the prose. */
.docs-topbar { position: sticky; top: 88px; z-index: 40; border-bottom: 1px solid var(--line); background: var(--white); }
.docs-topbar-inner { max-width: 1440px; margin: auto; padding: 12px 35px; display: flex; align-items: center; gap: 28px; min-height: 62px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: var(--text-min); color: var(--muted); font-weight: 550; }
.breadcrumbs > a { white-space: nowrap; }
.breadcrumbs > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs .icon { width: 12px; height: 12px; }
.breadcrumbs > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.docs-topbar .search-form { margin-left: auto; width: 300px; min-width: 230px; flex-shrink: 0; background: var(--paper); padding: 0 7px 0 12px; border-color: var(--line); }
.docs-topbar input { height: 35px; font-size: var(--text-min); }
.docs-topbar .search-form > .icon { width: 16px; height: 16px; }
.docs-topbar .search-form button { min-height: 34px; padding: 5px; background: transparent; color: var(--ink); }
.docs-topbar .search-form button .icon { width: 16px; height: 16px; }
.search-form kbd { padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: var(--text-min); line-height: 19px; color: var(--muted); }
.sidebar-toggle { display: none; }
.docs-shell { max-width: 1440px; margin: auto; padding: 0 35px; display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 42px; min-height: calc(100vh - 250px); }
.article-shell { grid-template-columns: 290px minmax(0,1fr) 200px; gap: 33px; }
.sidebar { overflow-wrap: anywhere; position: sticky; top: 151px; height: calc(100vh - 151px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; padding: 33px 22px 40px 0; border-right: 1px solid var(--line); align-self: start; }
.sidebar-home { display: flex; align-items: center; gap: 9px; padding: 8px 10px; font-size: var(--text-nav-heading); font-weight: 750; margin-bottom: 27px; }
.sidebar-home .icon { width: 18px; height: 18px; }
.sidebar-label { font-size: var(--text-min); font-weight: 650; color: var(--muted); padding: 0 10px; margin-bottom: 14px; }
.sidebar-category { margin-bottom: 5px; }
.sidebar-category-link { display: flex; align-items: center; gap: 9px; padding: 11px 9px; border-radius: 4px; font-size: var(--text-nav-heading); font-weight: 650; color: var(--text); }
.sidebar-category-link > .icon { width: 17px; height: 17px; }
.sidebar-category-link > span:not(.sidebar-count) { min-width: 0; }
.sidebar-count { margin-left: auto; flex-shrink: 0; white-space: nowrap; font-family: sans-serif; font-size: var(--text-min); color: var(--muted); font-weight: 600; }
.sidebar-category-link:hover { background: var(--paper); }
.is-active > .sidebar-category-link { background: var(--orange-tint); color: var(--orange-dark); font-weight: 800; }
.sidebar-articles { padding: 5px 0 7px 10px; }
.nav-group { margin-bottom: 5px; }
.nav-group summary { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 6px; font-size: var(--text-nav); font-weight: 700; color: var(--muted); list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary:before { content: "›"; font-size: 18px; line-height: 1; transition: transform 160ms; }
.nav-group[open] summary:before { transform: rotate(90deg); }
.nav-group summary > span { flex-shrink: 0; white-space: nowrap; font-size: var(--text-min); color: var(--muted); margin-left: auto; }
.nav-group > div { margin-left: 11px; border-left: 1px solid var(--line); }
.nav-group a { display: block; font-size: var(--text-nav); line-height: 1.8; font-weight: 500; color: var(--muted); padding: 8px 10px; margin-left: -1px; border-left: 2px solid transparent; }
.nav-group a:hover { background: var(--paper); color: var(--ink); }
.nav-group a[aria-current] { color: var(--orange-dark); background: var(--orange-soft); border-left-color: var(--orange-dark); font-weight: 750; }
.sidebar-help { display: flex; align-items: center; gap: 7px; font-size: var(--text-min); font-weight: 600; margin: 32px 8px 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.sidebar-help .icon { width: 16px; height: 16px; }
.sidebar-help > .icon:last-child { margin-left: auto; width: 14px; }
.category-main { min-width: 0; width: 100%; max-width: 950px; padding: 45px 0 75px; }
.page-heading h1 { font-size: min(38px, var(--text-max)); font-weight: 850; margin: 9px 0 12px; line-height: 1.5; }
.page-heading p { font-size: var(--text-min); color: var(--muted); font-weight: 500; }
.category-heading-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 15px; }
.count-pill { display: inline-block; border: 1px solid var(--line-strong); border-radius: 4px; padding: 3px 10px; font-size: var(--text-min); font-weight: 700; color: var(--text); }
.category-filter { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 35px 0; padding-bottom: 25px; border-bottom: 1px solid var(--ink); }
.category-filter label { display: flex; align-items: center; gap: 10px; padding: 6px 13px; width: 375px; max-width: 80%; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper); }
.category-filter input { width: 100%; min-width: 0; border: none; outline: none; background: none; height: 32px; font-size: var(--text-min); color: var(--ink); }
.category-filter label:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.category-filter .icon { width: 17px; height: 17px; }
.category-filter > span { font-size: var(--text-min); font-weight: 650; white-space: nowrap; color: var(--muted); }
.article-group { margin-bottom: 35px; }
.article-group h2 { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.article-group h2 > span { font-size: var(--text-min); font-weight: 600; color: var(--muted); }
.article-list { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.filterable-article:not([hidden]) ~ .filterable-article { border-top: 1px solid var(--line); }
.article-link { display: flex; align-items: center; gap: 13px; padding: 18px 19px; font-size: var(--text-min); font-weight: 600; transition: background 160ms; }
.article-link > .icon:first-child { width: 17px; height: 17px; color: var(--muted); }
.article-link > .icon:last-child { width: 14px; height: 14px; margin-left: auto; transition: transform 180ms; }
.article-link:hover { background: var(--orange-soft); }
.article-link:hover > .icon:last-child { transform: translateX(4px); }
.empty-filter { padding: 45px 20px; text-align: center; color: var(--muted); font-size: var(--text-min); }
.all-categories { max-width: 1320px; margin: auto; padding: 48px 36px 80px; min-height: 75vh; }
.all-categories .page-heading { margin-bottom: 38px; }
.article-main { width: 100%; min-width: 0; max-width: 800px; padding: 43px 0 65px; }
.article-category { display: inline-block; font-size: var(--text-min); font-weight: 750; padding: 4px 11px; color: var(--orange-dark); border-left: 3px solid var(--orange); background: var(--orange-soft); }
.article-header h1 { font-size: 32px; font-weight: 850; line-height: 1.65; letter-spacing: -.035em; margin: 21px 0 20px; overflow-wrap: anywhere; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-bottom: 25px; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: var(--text-min); font-weight: 550; }
.article-meta > .icon { width: 14px; height: 14px; }
.article-meta > span:first-of-type { margin: 0 3px; }
.copy-link { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 0; font-size: var(--text-min); font-weight: 650; }
.copy-link .icon { width: 14px; height: 14px; }
.copy-link:hover { color: var(--orange-dark); }
.prose { font-size: var(--text-min); line-height: 2.1; font-weight: 500; color: var(--text); padding-top: 28px; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose .screenshot-link { display: block; width: fit-content; max-width: 100%; margin: 24px 0; cursor: zoom-in; }
.prose .screenshot-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 6px; }
.prose .article-screenshot { width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.prose p, .prose ul, .prose ol { margin: 19px 0; }
.prose h1 { font-size: 26px; }
.prose h2 { font-size: 25px; font-weight: 800; margin: 42px 0 22px; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.prose h3 { font-size: 21px; font-weight: 800; margin: 32px 0 15px; color: var(--ink); }
.prose h4, .prose h5, .prose h6 { font-size: 18px; font-weight: 750; margin: 27px 0 12px; color: var(--ink); }
.prose strong { font-weight: 750; }
.prose h2 strong, .prose h3 strong { font-weight: 800; }
.prose a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c49465; }
.prose a:hover { color: var(--orange-dark); text-decoration-color: var(--orange-dark); }
.prose ul, .prose ol { padding-left: 27px; }
.prose li { margin: 7px 0; }
.prose li > p { margin: 8px 0; }
.prose ul ul { margin: 6px 0; }
.prose blockquote { margin: 25px 0; border-left: 4px solid var(--orange); padding: 7px 22px; background: var(--orange-soft); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose pre { position: relative; padding: 48px 22px 23px; border: 1px solid var(--line); border-radius: 6px; margin: 25px 0; background: var(--paper); overflow: auto; max-width: 100%; font-size: var(--text-min); line-height: 1.85; tab-size: 2; }
.prose code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--text); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: max(var(--text-min), .88em); font-weight: 500; }
.prose pre code { padding: 0; border: 0; background: none; font-size: var(--text-min); white-space: pre; }
.prose .table-scroll { margin: 25px 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; scrollbar-width: thin; }
.prose table { border-collapse: collapse; width: 100%; min-width: 380px; margin: 0; font-size: var(--text-min); line-height: 1.9; }
.prose th { background: var(--orange-soft); color: var(--text); font-weight: 750; text-align: left; }
.prose td, .prose th { padding: 13px 15px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 95px; vertical-align: top; }
.prose td:last-child, .prose th:last-child { border-right: 0; }
.prose tr:last-child td { border-bottom: 0; }
.prose td p { margin: 5px 0; }
.prose td code { white-space: normal; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: #7d3373; }
.hljs-string, .hljs-attr { color: #21653e; }
.hljs-number, .hljs-symbol { color: #a44612; }
.hljs-title, .hljs-built_in { color: #705080; }
.hljs-comment { color: var(--muted); font-style: italic; }
.hljs-variable, .hljs-params { color: var(--muted); }
.code-copy { position: absolute; top: 7px; right: 8px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); padding: 2px 9px; font-size: var(--text-min); font-weight: 650; color: var(--text); }
.code-copy:hover { background: var(--orange-tint); }
.toc { position: sticky; top: 152px; max-height: calc(100vh - 160px); align-self: start; overflow-y: auto; padding: 46px 0 30px; font-size: var(--text-min); line-height: 1.8; color: var(--muted); scrollbar-width: thin; }
.toc > p { font-size: var(--text-min); font-weight: 800; color: var(--ink); margin-bottom: 17px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 13px; border-left: 1px solid var(--line); }
.toc li { margin-bottom: 14px; }
.toc li.toc-level-3 { padding-left: 8px; font-size: var(--text-min); }
.toc a { display: block; }
.toc a:hover, .toc a.is-current { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; }
.toc a.is-current { font-weight: 750; }
.toc-help { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 20px 1fr; gap: 6px; align-items: center; }
.toc-help > .icon { width: 17px; height: 17px; }
.toc-help strong { font-size: var(--text-min); font-weight: 750; }
.toc-help a { grid-column: 2; display: flex; align-items: center; gap: 5px; font-size: var(--text-min); }
.toc-help a .icon { width: 12px; height: 12px; }
.article-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 27px 0; border-top: 1px solid var(--line); margin-top: 45px; font-size: var(--text-min); font-weight: 650; color: var(--muted); }
.article-bottom a { display: flex; align-items: center; gap: 8px; }
.article-bottom .icon { width: 15px; height: 15px; }
.article-bottom a:hover { color: var(--orange-dark); }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-pagination > a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 5px; font-size: var(--text-min); transition: background 150ms; }
.article-pagination > a:last-child { text-align: right; }
.article-pagination > a:hover { background: var(--orange-soft); border-color: var(--ink); }
.article-pagination span { font-size: var(--text-min); color: var(--muted); }
.article-pagination strong { font-weight: 700; }
.mobile-toc { display: none; }
.article-empty { padding: 23px; background: var(--paper); border: 1px solid var(--line); font-size: var(--text-min); }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 100; pointer-events: none; }
.reading-progress-bar { display: block; height: 100%; background: var(--orange-dark); transform: scaleX(0); transform-origin: left; }
/* Search and states use the same typographic contrast. */
.search-page-main { max-width: 960px; min-height: calc(100vh - 185px); margin: auto; padding: 28px 34px 85px; }
.search-page-main .page-heading { margin: 42px 0 32px; }
.search-form-results input { height: 48px; font-size: var(--text-min); }
.search-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: var(--text-min); font-weight: 600; color: var(--muted); padding: 28px 0 18px; border-bottom: 1px solid var(--ink); }
.search-tools select { max-width: 220px; border: 1px solid var(--line); background: var(--paper); font-size: var(--text-min); font-weight: 600; padding: 8px 11px; color: var(--text); border-radius: 3px; }
.search-result { display: block; padding: 27px 5px; border-bottom: 1px solid var(--line); }
.search-result .result-category { font-size: var(--text-min); color: var(--orange-dark); font-weight: 700; }
.search-result h2 { font-size: 21px; font-weight: 800; margin: 7px 0 10px; }
.search-result p { font-size: var(--text-min); color: var(--muted); line-height: 1.95; font-weight: 450; }
.search-result:hover h2 { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 5px; }
.search-result mark { background: var(--orange-tint); color: var(--orange-dark); padding: 0 2px; }
.search-placeholder { padding: 65px 20px; text-align: center; color: var(--muted); }
.search-placeholder > .icon { width: 38px; height: 38px; }
.search-placeholder h2 { font-size: 23px; margin-top: 20px; font-weight: 750; }
.search-placeholder p { margin-top: 9px; font-size: var(--text-min); }
.search-placeholder .search-suggestions { justify-content: center; margin-top: 24px; }
.load-more { display: block; margin: 30px auto 0; padding: 12px 30px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); font-size: var(--text-min); font-weight: 750; }
.load-more:hover { background: var(--orange-tint); }
.not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: calc(100vh - 190px); padding: 55px 25px; text-align: center; }
.not-found img { margin-bottom: 12px; }
.not-found h1 { font-size: 32px; font-weight: 850; }
.not-found p { font-size: var(--text-min); color: var(--muted); }
.primary-button { display: inline-flex; align-items: center; gap: 22px; background: var(--orange); border: 1.5px solid var(--ink); padding: 13px 24px; border-radius: 4px; font-size: var(--text-min); font-weight: 800; margin-top: 12px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,15px); padding: 12px 24px; font-size: var(--text-min); font-weight: 650; border: 1px solid var(--line); border-radius: 5px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: opacity 160ms,transform 160ms; z-index: 100; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
/* Short, finite motion. No perpetual decoration competing with the reading task. */
@media(prefers-reduced-motion:no-preference) {
  .hero-copy { animation: hero-arrive 650ms var(--ease) both; }
  .hero-art { animation: hero-arrive 850ms 90ms var(--ease) both; }
  .hero-emphasis:after { animation: underline-in 650ms 300ms var(--ease) both; }
  .stage-asterisk { animation: asterisk-turn 1300ms 400ms var(--ease) both; }
  .note-find { animation: note-arrive 850ms 260ms var(--ease) both; }
  .note-done { animation: note-arrive 850ms 400ms var(--ease) both; }
}
@keyframes hero-arrive { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes underline-in { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes asterisk-turn { from { rotate: -65deg; scale: .5; opacity: 0; } to { rotate: 0deg; scale: 1; opacity: 1; } }
@keyframes note-arrive { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media(max-width:1200px) {
  :root { --text-max: 52px; }
  .header-inner { padding: 0 30px; gap: 22px; }
  .header-nav { gap: 20px; font-size: var(--text-min); }
  .brand { gap: 17px; }
  .brand > span { padding-left: 17px; font-size: var(--text-min); }
  .official-link { padding: 7px 11px; font-size: var(--text-min); }
  .hero-inner { padding: 57px 40px 45px; gap: 42px; }
  .hero h1 { font-size: var(--text-max); }
  .hero-description { font-size: var(--text-min); }
  .search-form-hero input { font-size: var(--text-min); }
  .search-form-hero button { padding: 10px 16px; font-size: var(--text-min); }
  .stage-canvas { height: 380px; }
  .stage-sun { width: 244px; height: 244px; }
  .hero-mascot, .mascot-trigger { width: 213px; }
  .flow-note { gap: 7px; padding: 9px 11px; }
  .flow-note strong { font-size: var(--text-min); }
  .note-find { left: -22px; }
  .note-done { right: -17px; }
  .stage-asterisk { font-size: min(53px, var(--text-max)); right: -17px; }
  .hero-bottom-rule { margin: 0 40px; }
  .home-content { padding: 0 40px 65px; }
  .start-banner { padding: 42px; gap: 42px; }
  .start-banner h2 { font-size: 31px; }
  .directory-row { gap: 11px; }
  .directory-copy strong { font-size: var(--text-min); }
  .directory-copy > span { font-size: var(--text-min); }
  .directory-count { font-size: var(--text-min); }
  .directory-icon .icon { width: 19px; height: 19px; }
  .toc { display: none; }
  .mobile-toc { display: block; padding: 13px 16px; margin-top: 23px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: var(--text-min); color: var(--text); }
  .mobile-toc summary { cursor: pointer; font-weight: 750; }
  .mobile-toc ol { padding-left: 23px; }
  .mobile-toc a { display: block; padding: 4px 0; }
  .article-shell { grid-template-columns: 280px minmax(0,1fr); gap: 25px; }
  .docs-shell { padding: 0 26px; }
  .sidebar { padding-right: 15px; }
  .article-header h1 { font-size: 30px; }
  .toc { font-size: var(--text-min); }
  .toc li.toc-level-3 { font-size: var(--text-min); }
  .category-grid .category-card h3 { font-size: 18px; }
}
@media(max-width:1000px) {
  :root { --text-max: 43px; }
  .official-link { display: none; }
  .header-nav { display: none; }
  .mobile-nav-toggle { display: flex; margin-left: auto; flex-shrink: 0; }
  .hero-inner { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 38px; padding: 48px 32px 40px; }
  .hero h1 { font-size: var(--text-max); }
  .hero-description { font-size: var(--text-min); margin-top: 20px; }
  .search-form-hero { padding: 6px; gap: 8px; }
  .search-form-hero > .icon { width: 17px; margin-left: 4px; }
  .search-form-hero input { font-size: var(--text-min); }
  .search-form-hero button { font-size: var(--text-min); padding: 9px 12px; }
  .hero-footnote { margin-top: 20px; }
  .stage-window-bar { height: 39px; font-size: var(--text-min); padding: 0 12px; }
  .stage-canvas { height: 380px; }
  .stage-sun { width: 225px; height: 225px; }
  .hero-mascot, .mascot-trigger { width: 195px; }
  .mascot-trigger { top: 78px; }
  .flow-note strong { font-size: var(--text-min); }
  .flow-icon { width: 25px; height: 25px; }
  .mascot-message { font-size: var(--text-min); left: -8px; padding: 7px 11px; }
  .note-done { right: -10px; }
  .hero-bottom-rule { margin: 0 32px; gap: 30px; font-size: var(--text-min); }
  .home-content { padding: 0 32px 60px; }
  .start-banner { padding: 35px; gap: 32px; }
  .start-banner h2 { font-size: 28px; }
  .start-banner p { font-size: var(--text-min); }
  .step-content strong { font-size: var(--text-min); }
  .start-step { gap: 12px; }
  .step-icon { display: none; }
  .section-heading h2 { font-size: 30px; }
  .category-card { padding: 25px; }
  .category-card h3 { font-size: 20px; }
  .category-card p { font-size: var(--text-min); }
  .directory-grid { column-gap: 26px; }
  .directory-copy > span { display: none; }
  .directory-copy strong { font-size: var(--text-min); }
  .recommended-grid { gap: 18px; }
  .recommended-top { padding: 17px 20px; min-height: 120px; }
  .recommended-number { font-size: min(64px, var(--text-max)); }
  .recommended-symbol { width: 55px; height: 55px; }
  .recommended-symbol .icon { width: 28px; height: 28px; }
  .recommended-copy { padding: 20px; }
  .recommended-card h3 { font-size: var(--text-min); }
  .help-strip { gap: 20px; }
  .help-strip h2 { font-size: 22px; }
  .help-strip p { font-size: var(--text-min); }
  .help-strip-icon { width: 66px; height: 66px; font-size: min(50px, var(--text-max)); }
  .text-button { font-size: var(--text-min); gap: 14px; }
  .article-shell { grid-template-columns: 260px minmax(0,1fr); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .docs-topbar .search-form { width: 250px; min-width: 200px; }
}
@media(max-width:760px) {
  :root { --text-max: clamp(36px, 9.8vw, 50px); }
  html { scroll-padding-top: 133px; }
  body { font-size: var(--text-min); }
  .header-inner { height: 73px; padding: 0 23px; gap: 12px; }
  .brand { gap: 16px; }
  .brand img { width: 110px; }
  .brand > span { font-size: var(--text-min); padding-left: 16px; }
  .brand small { font-size: var(--text-min); }
  .header-nav { display: none; }
  .mobile-nav-toggle { display: flex; margin-left: auto; flex-shrink: 0; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding: 36px 24px 25px; max-width: 560px; }
  .hero h1 { font-size: var(--text-max); line-height: 1.55; letter-spacing: -.05em; }
  .hero-description { font-size: var(--text-min); margin-top: 22px; }
  .search-form-hero { margin-top: 25px; border-radius: 5px; box-shadow: 3px 3px 0 var(--shadow); padding: 6px; gap: 9px; }
  .search-form-hero input { font-size: var(--text-min); height: 42px; }
  .search-form-hero button { font-size: var(--text-min); min-height: 44px; padding: 9px 15px; }
  .search-suggestions { margin-top: 14px; gap: 7px; font-size: var(--text-min); }
  .search-suggestions > span { font-size: var(--text-min); }
  .search-suggestions a { padding: 3px 6px; min-height: 34px; }
  .hero-footnote { display: none; }
  .hero-art { padding: 0 19px; }
  .hero-stage { max-width: 350px; padding-bottom: 30px; }
  .stage-window { box-shadow: 6px 6px 0 var(--shadow); border-radius: 10px; }
  .stage-window-bar { height: 37px; border-radius: 8px 8px 0 0; font-size: var(--text-min); }
  .stage-canvas { height: 380px; }
  .stage-sun { width: 210px; height: 210px; top: 69px; }
  .hero-mascot, .mascot-trigger { width: 176px; }
  .mascot-trigger { top: 94px; }
  .mascot-hint { font-size: var(--text-min); }
  .note-find { left: -19px; top: 13px; }
  .note-done { bottom: 10px; right: -18px; }
  .flow-note { padding: 7px 10px; gap: 7px; }
  .flow-note strong { font-size: var(--text-min); }
  .flow-note small { font-size: var(--text-min); }
  .flow-icon { width: 24px; height: 24px; }
  .flow-icon .icon { width: 14px; height: 14px; }
  .stage-asterisk { font-size: min(43px, var(--text-max)); top: 51px; right: -21px; }
  .mascot-message { font-size: var(--text-min); left: -13px; padding: 7px 11px; bottom: 17px; }
  .hero-bottom-rule { margin: 0 24px; padding: 15px 0; font-size: var(--text-min); gap: 20px; }
  .hero-bottom-rule > span:nth-child(2) { display: none; }
  .hero-bottom-rule > span:not(.down-arrow):before { margin-right: 6px; }
  .down-arrow { font-size: 20px; }
  .home-content { padding: 0 24px 44px; }
  .start-banner { grid-template-columns: 1fr; gap: 30px; margin-top: 38px; padding: 30px 25px; border-radius: 6px; }
  .small-eyebrow { font-size: var(--text-min); margin-bottom: 14px; gap: 10px; }
  .section-number { font-size: var(--text-min); padding: 0 7px; line-height: 22px; }
  .start-banner h2 { font-size: 29px; line-height: 1.6; }
  .start-banner p { font-size: var(--text-min); line-height: 1.95; }
  .start-banner .text-button { margin-top: 22px; font-size: var(--text-min); }
  .start-step { min-height: 80px; padding: 13px 0; gap: 14px; }
  .step-content strong { font-size: var(--text-min); }
  .step-content > span { font-size: var(--text-min); }
  .step-number { font-size: var(--text-min); }
  .step-icon { display: none; }
  .category-section, .recommended-section { margin-top: 48px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { font-size: 28px; font-weight: 850; line-height: 1.6; }
  .section-caption { margin-top: 14px; font-size: var(--text-min); }
  .section-caption br { display: none; }
  .featured-categories { grid-template-columns: 1fr; gap: 17px; }
  .category-card { padding: 22px 24px 26px; border-radius: 5px; }
  .category-card-top { margin-bottom: 14px; }
  .category-icon { width: 39px; height: 39px; border-radius: 6px; }
  .category-icon .icon { width: 21px; height: 21px; }
  .category-count { font-size: 30px; }
  .category-count small { font-size: var(--text-min); }
  .category-card h3 { font-size: 21px; }
  .category-card p { font-size: var(--text-min); line-height: 1.9; }
  .card-arrow { width: 29px; height: 29px; bottom: 23px; right: 21px; }
  .directory-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .directory-row { padding: 21px 2px; gap: 12px; }
  .directory-row:nth-child(2) { border-top: 0; }
  .directory-index { font-size: var(--text-min); }
  .directory-icon .icon { width: 21px; height: 21px; }
  .directory-copy strong { font-size: var(--text-min); }
  .directory-count { font-size: var(--text-min); }
  .directory-row > .icon { width: 15px; height: 15px; }
  .recommended-section .subtle-link { margin-top: 16px; font-size: var(--text-min); }
  .recommended-grid { grid-template-columns: 1fr; gap: 17px; }
  .recommended-card { display: grid; grid-template-columns: 105px minmax(0,1fr); }
  .recommended-top { padding: 16px 12px; border-right: 1px solid var(--line); border-bottom: 0; flex-direction: column; min-height: 170px; align-items: center; justify-content: center; gap: 13px; }
  .recommended-number { font-size: min(43px, var(--text-max)); }
  .recommended-symbol { width: 41px; height: 41px; border-radius: 6px; box-shadow: 3px 3px 0 var(--shadow); }
  .recommended-symbol .icon { width: 23px; height: 23px; }
  .recommended-copy { padding: 19px 17px; display: flex; flex-direction: column; }
  .article-overline { font-size: var(--text-min); }
  .recommended-card h3 { font-size: 17px; min-height: 0; margin: 8px 0 16px; }
  .read-link { font-size: var(--text-min); margin-top: auto; }
  .read-link .icon { width: 17px; }
  .help-strip { margin-top: 45px; padding: 28px 0; display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 18px 17px; align-items: center; }
  .help-strip-icon { width: 58px; height: 58px; font-size: min(43px, var(--text-max)); }
  .help-strip h2 { font-size: 24px; line-height: 1.55; }
  .mobile-break { display: block; }
  .help-strip p { font-size: var(--text-min); margin-top: 11px; line-height: 1.9; }
  .help-strip .text-button { grid-column: 2; justify-self: start; margin-left: 0; font-size: var(--text-min); gap: 15px; padding: 11px 17px; }
  .footer-inner { padding: 28px 24px; flex-wrap: wrap; gap: 19px 22px; }
  .footer-brand img { width: 115px; }
  .footer-tagline { font-size: var(--text-min); }
  .footer-copyright { margin-left: 0; font-size: var(--text-min); }
  .docs-topbar { top: 73px; }
  .docs-topbar-inner { min-height: 50px; padding: 6px 21px; gap: 12px; }
  .docs-topbar .search-form { display: none; }
  .docs-topbar .breadcrumbs { min-width: 0; flex: 1; font-size: var(--text-min); gap: 6px; }
  .docs-topbar .breadcrumbs > span { max-width: 130px; }
  .docs-topbar .breadcrumbs > a { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .sidebar-toggle { display: flex; align-items: center; gap: 6px; min-height: 42px; font-size: var(--text-min); font-weight: 750; margin-left: auto; padding: 0 2px; flex-shrink: 0; }
  .sidebar-toggle .icon { width: 18px; height: 18px; }
  .docs-shell { display: block; padding: 0 23px; }
  .sidebar { display: none; position: fixed; left: 0; top: 123px; bottom: 0; width: min(340px, 100vw); height: calc(100vh - 123px); padding: 22px 20px 35px; background: var(--white); z-index: 45; border-right: 1px solid var(--ink); box-shadow: 15px 0 50px #29292924; }
  .sidebar.is-open { display: block; }
  .sidebar-category-link { font-size: var(--text-nav-heading); padding: 12px 10px; }
  .nav-group a { font-size: var(--text-nav); }
  .nav-group summary { font-size: var(--text-nav); }
  .sidebar-home { font-size: var(--text-nav-heading); }
  .category-main { padding: 30px 0 45px; max-width: 100%; }
  .page-heading h1 { font-size: 29px; line-height: 1.6; }
  .page-heading p { font-size: var(--text-min); }
  .category-heading-row { gap: 12px; margin-top: 10px; }
  .category-filter { flex-wrap: wrap; margin: 27px 0; padding-bottom: 20px; gap: 13px; }
  .category-filter label { max-width: 100%; padding: 5px 10px; gap: 7px; }
  .category-filter input { font-size: var(--text-min); }
  .category-filter > span { font-size: var(--text-min); }
  .article-group h2 { font-size: var(--text-min); gap: 10px; }
  .article-link { padding: 15px 13px; font-size: var(--text-min); gap: 10px; }
  .all-categories { padding: 30px 23px 50px; }
  .all-categories .page-heading { margin-bottom: 30px; }
  .category-grid { grid-template-columns: 1fr; gap: 17px; }
  .category-grid .category-card { padding: 23px; }
  .category-grid .category-card h3 { font-size: 22px; }
  .article-main { padding: 30px 0 45px; max-width: 100%; }
  .article-header h1 { font-size: 28px; line-height: 1.6; margin: 17px 0; }
  .article-category { font-size: var(--text-min); }
  .article-meta { font-size: var(--text-min); gap: 6px; padding-bottom: 19px; }
  .copy-link { font-size: var(--text-min); min-height: 32px; }
  .prose { font-size: var(--text-min); line-height: 2.05; padding-top: 24px; }
  .prose h2 { font-size: 22px; margin-top: 34px; }
  .prose h3 { font-size: 19px; }
  .prose h4, .prose h5, .prose h6 { font-size: 17px; }
  .prose pre { padding: 48px 17px 20px; }
  .prose pre code { font-size: var(--text-min); }
  .prose table { font-size: var(--text-min); }
  .prose td, .prose th { padding: 11px 13px; }
  .article-bottom { flex-wrap: wrap; font-size: var(--text-min); gap: 15px; margin-top: 35px; padding: 23px 0; }
  .article-pagination { gap: 12px; }
  .article-pagination > a { font-size: var(--text-min); padding: 14px; }
  .article-pagination span { font-size: var(--text-min); }
  .search-page-main { padding: 23px 24px 50px; }
  .search-page-main .page-heading { margin: 30px 0 27px; }
  .search-page-main h1 { font-size: 28px; }
  .search-form-results { gap: 8px; padding: 5px 6px 5px 12px; }
  .search-form-results input { font-size: var(--text-min); height: 42px; }
  .search-form-results button { font-size: var(--text-min); padding: 10px 15px; }
  .search-tools { flex-wrap: wrap; gap: 12px; padding: 24px 0 18px; font-size: var(--text-min); }
  .search-tools select { max-width: 100%; font-size: var(--text-min); }
  .search-result h2 { font-size: 19px; }
  .search-result p { font-size: var(--text-min); }
  .search-result .result-category { font-size: var(--text-min); }
  .search-placeholder h2 { font-size: 21px; }
  .search-placeholder p { font-size: var(--text-min); }
  .not-found h1 { font-size: 26px; }
  .not-found p { font-size: var(--text-min); }
  .not-found img { width: 170px; height: auto; }
}
@media(max-width:380px) {
  :root { --text-max: 35px; }
  .header-inner { padding: 0 18px; }
  .brand { gap: 13px; }
  .brand img { width: 82px; }
  .brand > span { padding-left: 13px; font-size: var(--text-min); }
  .hero-inner { padding-left: 21px; padding-right: 21px; }
  .hero h1 { font-size: var(--text-max); white-space: normal; }
  .search-form-hero input { font-size: var(--text-min); }
  .search-form-hero button { font-size: var(--text-min); padding: 9px 12px; }
  .search-suggestions { gap: 6px; font-size: var(--text-min); }
  .search-suggestions > span { width: 100%; }
  .hero-art { padding: 0 5px; }
  .hero-bottom-rule { margin: 0 21px; font-size: var(--text-min); gap: 14px; }
  .home-content { padding-left: 21px; padding-right: 21px; }
  .start-banner { padding: 27px 22px; }
  .start-banner h2 { font-size: 27px; }
  .directory-row { gap: 9px; }
  .directory-copy strong { font-size: var(--text-min); }
  .directory-count { font-size: var(--text-min); }
  .recommended-card { grid-template-columns: 91px minmax(0,1fr); }
  .recommended-copy { padding: 17px 14px; }
  .help-strip h2 { font-size: 22px; }
  .help-strip .text-button { grid-column: 1 / -1; }
  .footer-tagline { font-size: var(--text-min); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .category-card:hover, .recommended-card:hover, .text-button:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .docs-topbar, .sidebar, .toc, .article-bottom, .article-pagination, .mobile-toc, .copy-link, .code-copy, .skip-link, .toast, .reading-progress { display: none !important; }
  .docs-shell { display: block; padding: 0; }
  .article-main { max-width: 100%; padding: 0; }
  .prose pre, .prose pre code { white-space: pre-wrap; }
  .prose .table-scroll { overflow: visible; }
  .prose table { min-width: 0; }
  .prose a { color: inherit; }
  .article-header h1 { font-size: 26px; }
}
