/* Guides: a reading layout in the site's own tokens. */
:root {
  --ground: #111213; --surface: #18191b; --surface-2: #202124; --surface-3: #2a2b2f;
  --ink: #ecede9; --muted: #a9aba6; --line: #34363a;
  --accent: #ff4733; --accent-ink: #160403;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 999px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --ground: #f4f4f1; --surface: #eaeae6; --surface-2: #e0e0db; --surface-3: #d4d4ce; --ink: #141516; --muted: #4f5154; --line: #c9c9c3; --accent: #dc2f1c; --accent-ink: #ffffff; color-scheme: light; }
}
:root[data-theme="light"] { --ground: #f4f4f1; --surface: #eaeae6; --surface-2: #e0e0db; --surface-3: #d4d4ce; --ink: #141516; --muted: #4f5154; --line: #c9c9c3; --accent: #dc2f1c; --accent-ink: #ffffff; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; max-width: 1180px; margin: 0 auto; }
.wm { display: flex; align-items: center; gap: 10px; font: 600 24px/1 var(--text); letter-spacing: -0.03em; text-decoration: none; }
.wm svg { width: 22px; height: 22px; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; }
.dl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding-block: 40px 96px; }
.crumbs { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 24px; text-wrap: balance; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 56px 0 16px; text-wrap: balance; }
h3 { font-size: 20px; margin: 32px 0 8px; font-weight: 600; }
p, ul, ol { margin: 0 0 18px; }
li { margin-bottom: 6px; }
.answer { font-size: 21px; line-height: 1.55; background: var(--surface); padding: 22px 24px; border-radius: 10px; margin-bottom: 18px; }
.answer strong { font-weight: 600; }
.meta { font-size: 15px; color: var(--muted); }
.table { overflow-x: auto; margin: 0 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; white-space: nowrap; }
td.n, th.n { text-align: right; white-space: nowrap; }
caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--muted); padding-top: 10px; }
figure { margin: 28px 0; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
code, kbd { font: 500 0.88em/1 var(--text); background: var(--surface-3); padding: 0.15em 0.4em; border-radius: 4px; }
pre { background: var(--surface); padding: 16px 18px; border-radius: 8px; overflow-x: auto; font-size: 15px; }
pre code { background: none; padding: 0; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.note { border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; margin: 24px 0; }
.more { margin-top: 64px; padding: 28px; background: var(--surface); border-radius: 10px; }
.more h2 { margin-top: 0; }
.more ul { list-style: none; padding: 0; margin: 0 0 22px; }
.more li a { font-weight: 500; }
.guides { list-style: none; padding: 0; display: grid; gap: 8px; }
.guides a { display: block; padding: 22px 24px; background: var(--surface); border-radius: 10px; text-decoration: none; transition: background-color 140ms ease; }
.guides a:hover { background: var(--surface-2); }
.guides b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.guides span { color: var(--muted); font-size: 16px; }
.foot { max-width: 1180px; margin: 0 auto; padding-block: 32px 40px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--muted); }
@media (max-width: 560px) { .top nav .gh { display: none; } body { font-size: 17px; } .answer { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .guides a { transition: none; } }
