/* TiroAgents site: a daylight office floor with a night shift for dark mode. Plain CSS, local fonts only (fonts/fonts.css).
   Pixelify Sans is kept for the hero headline, the logo, big numbers and the closing band; everything else is Instrument Sans. */
:root {
  --paper: #f2f5fb;      /* cool daylight floor */
  --card: #ffffff;
  --ink: #18203f;        /* night-shift navy from the office walls */
  --ink-2: #4a5373;
  --line: #d9dfec;
  --tiro: #ff7a1f;       /* Tiro's own orange */
  --tiro-ink: #2a1200;
  --tiro-text: #b34d00;  /* orange that passes contrast as text on paper */
  --link: #1f4fbf;
  --grass: #2f9e5b;      /* the park lawn: safe / approved */
  --sky: #dbe8ff;
  --sky-top: #a9cbff;    /* the island's daytime sky */
  --screen: #141a33;     /* frame around product shots */
  --code-bg: #e8edf7;
  --warn-bg: #fff4e5;
  --warn-line: #f0b25e;
  --display: 'Pixelify Sans', 'Instrument Sans', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #10142a; --card: #182042; --ink: #eef1fb; --ink-2: #aab3d1; --line: #2a3460; --sky: #1c2a55; --sky-top: #0b1030; --screen: #0a0e1f; --grass: #4cc27e;
  --tiro-text: #ff9a4d; --link: #9cc0ff; --code-bg: #0d1226; --warn-bg: #2a2214; --warn-line: #8a6420; color-scheme: dark } }
:root[data-theme="dark"] { --paper: #10142a; --card: #182042; --ink: #eef1fb; --ink-2: #aab3d1; --line: #2a3460; --sky: #1c2a55; --sky-top: #0b1030; --screen: #0a0e1f; --grass: #4cc27e;
  --tiro-text: #ff9a4d; --link: #9cc0ff; --code-bg: #0d1226; --warn-bg: #2a2214; --warn-line: #8a6420; color-scheme: dark }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--tiro); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; color: var(--ink); line-height: 1.2; }
h1 { font: 600 clamp(2rem, 4.4vw, 3rem)/1.1 var(--body); letter-spacing: -.02em; margin: 0 0 .4em; }
h2 { font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--body); letter-spacing: -.02em; margin: 1.8em 0 .5em; }
h3 { font: 600 1.15rem/1.3 var(--body); margin: 1.4em 0 .4em; }
h4 { font: 600 1rem/1.3 var(--body); margin: 1.2em 0 .3em; }
p, ul, ol { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); }
code { background: var(--code-bg); border-radius: 5px; padding: .08em .35em; font-size: .86em; overflow-wrap: anywhere; }
pre { background: var(--screen); color: #e6eaf7; border-radius: 12px; padding: 1rem; overflow-x: auto; font-size: .86rem; line-height: 1.5; margin: 0 0 1.2em; }
pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote { margin: 0 0 1.2em; padding: .8rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--tiro); border-radius: 0 12px 12px 0; }
blockquote p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--tiro); color: var(--tiro-ink); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.lede { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }
.meta { color: var(--ink-2); font-size: .9rem; }
.meta a { color: var(--ink-2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.25rem var(--display); text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 4px 6px; margin-left: auto; font-weight: 500; font-size: .95rem; flex-wrap: nowrap; }
.site-nav a { text-decoration: none; color: var(--ink-2); padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--tiro); border-radius: 0; }
.site-nav a.btn { margin-left: 6px; color: var(--tiro-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 12px; padding: 10px 20px; font: 600 1rem var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; text-align: center; }
.btn.primary { background: var(--tiro); color: var(--tiro-ink); box-shadow: 0 2px 0 #c95300, 0 8px 24px -10px var(--tiro); }
.btn.primary:hover { filter: brightness(1.05); color: var(--tiro-ink); }
.btn.quiet { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.quiet:hover { border-color: var(--ink-2); }
.btn.small { padding: 6px 14px; font-size: .9rem; border-radius: 10px; }
.btn-small { font: 600 .85rem var(--body); padding: .3rem .7rem; border: 1px solid #39446f; border-radius: 8px; background: #1d2547; color: #eef1fb; cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }

/* hero: the office island, a low-resolution 3D world behind the headline */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-top), var(--sky) 55%, var(--paper)); min-height: clamp(520px, 74vh, 720px); overflow: hidden; display: flex; align-items: center; }
.hero .world { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.hero .world[hidden] { display: none; }
.hero .wrap { position: relative; padding-top: 64px; padding-bottom: 140px; }
.hero .copy { max-width: 560px; }
.hero h1 { font: 700 clamp(2.4rem, 6.2vw, 4.6rem)/1.02 var(--display); letter-spacing: -.01em; max-width: 14ch; margin: 0; }
.hero .lede { font-size: 1.2rem; margin: 18px 0 0; }
.hero .meta { margin: 14px 0 0; }
.showcase { position: relative; margin-top: -120px; }
.stage { position: relative; max-width: 980px; margin: 0 auto; }
.screen { background: var(--screen); border-radius: 18px; padding: 30px 10px 10px; box-shadow: 0 40px 80px -40px rgba(20, 26, 51, .55); }
.screen img { display: block; width: 100%; border-radius: 10px; }
/* the demo notch hangs from the bezel, never over the app's own top bar; sized like the real closed notch */
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(300px, 62%); background: #0c0f1f; color: #eef1fb; border-radius: 0 0 14px 14px; padding: 4px 10px 5px; display: flex; align-items: center; gap: 8px; font: 500 .74rem/1.3 var(--body); box-shadow: 0 8px 18px -10px rgba(0,0,0,.7); }
.notch .eyes { display: flex; gap: 3px; }
.notch .eyes i { width: 5px; height: 8px; background: var(--tiro); border-radius: 2px; display: block; }
.notch .line { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notch .count { background: var(--tiro); color: var(--tiro-ink); border-radius: 99px; padding: 0 7px; font-weight: 600; font-size: .7rem; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .notch .line { transition: opacity .25s; } }

/* facts */
.facts { padding: 28px 0 8px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 700 1.9rem/1.1 var(--display); color: var(--ink); }
.facts span { color: var(--ink-2); font-size: .95rem; }

section.block { padding: 88px 0 0; }
.head { display: grid; gap: 12px; margin-bottom: 36px; }
.head h2 { margin: 0; }
.head p { margin: 0; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 8px; }
.steps .pic { height: 132px; display: grid; place-items: end start; }
.steps .pic img { height: 120px; width: auto; }
.steps h3 { margin: 10px 0 0; }
.steps h3::before { content: counter(s) ". "; color: var(--tiro-text); }
.steps p { color: var(--ink-2); margin: 6px 0 0; font-size: .97rem; }
.steps li + li::after { content: ""; position: absolute; top: 74px; left: -14px; width: 8px; height: 8px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: rotate(45deg); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile h3 { margin: 0; }
.tile p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.tile .shot { margin-top: auto; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; background: var(--screen); border-radius: 12px; padding: 6px; } /* the frame takes the tile's spare height, so a short shot leaves no gap */
.tile .shot + .shot { margin-top: 0; }
.tile .shot picture { display: block; width: 100%; }
.tile .shot img { display: block; width: 100%; border-radius: 8px; }
.tile .shot.slim { flex: none; align-self: flex-start; max-width: 100%; }
.tile .shot.slim img { width: auto; max-width: 100%; }
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.narrow { grid-column: span 2; }
.new { align-self: flex-start; background: color-mix(in srgb, var(--tiro) 18%, transparent); color: var(--ink); border-radius: 99px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: .97rem; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: var(--grass); -webkit-mask: url(check.svg) center/14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* team */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.moods { margin-top: 8px; border-radius: 16px; overflow: hidden; background: #1c1816; }
.moods img { display: block; width: 100%; }
.roster-head { font-size: 1rem; color: var(--ink-2); margin: 0 0 4px; }
.roster-head ~ .roster-head { margin-top: 28px; }
.roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.roster div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.roster dt { font-weight: 600; }
.roster dd { margin: 0; color: var(--ink-2); text-align: right; font-size: .95rem; }
.extras { margin-top: 18px; color: var(--ink-2); font-size: .95rem; }

/* security */
.sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.sec dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.sec dt { font-weight: 600; }
.sec dd { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tiro-text); font: 700 1.3rem/1 var(--display); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-2); margin: 0 0 14px; font-size: .97rem; }

/* downloads: the counts standing on a voxel world map */
.dl-counts { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin: 0 0 20px; }
.dl-counts b { display: block; font: 700 clamp(2rem, 4vw, 3rem)/1 var(--display); }
.dl-counts .total b { font-size: clamp(3.4rem, 8vw, 5.5rem); color: var(--tiro-text); }
.dl-counts span { color: var(--ink-2); }
.dl-map { position: relative; margin-top: 8px; border-radius: 24px; overflow: hidden; background: #5aa9ec; }
.dl-map[hidden] { display: none; }
.dl-map canvas { display: block; width: 100%; height: auto; aspect-ratio: 3; max-height: 420px; image-rendering: pixelated; }
.dl-map .pin { position: absolute; transform: translate(-50%, -100%); background: var(--screen); color: #fff; font: 600 1rem/1 var(--display); padding: 5px 8px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.dl-map .pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--screen); }

/* closing band */
.closing { margin-top: 96px; background: var(--screen); color: #eef1fb; }
.closing .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.closing img { width: 150px; height: auto; }
.closing h2 { color: #fff; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--display); margin: 0; }
.closing p { color: #b8c1e0; margin: 8px 0 0; }
.closing .cta-row { margin-top: 20px; }
.closing .btn.quiet { background: transparent; color: #eef1fb; border-color: #39446f; }
.closing .small { font-size: .9rem; margin-top: 14px; }
.closing a:not(.btn) { color: #cfd6ef; }

/* footer */
.site-footer { background: var(--screen); color: #9aa4c7; border-top: 1px solid #262f55; font-size: .9rem; }
.closing + .site-footer, main + .site-footer { margin-top: 0; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer nav a { color: #cfd6ef; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .legal { margin: 10px 0 0; max-width: 80ch; }
.site-footer .legal a { color: #cfd6ef; }
body:not(.home) .site-footer { margin-top: 72px; }

/* inner pages */
.page { padding-top: 48px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { margin: 0 0 10px; }
.page-head .lede { margin: 0; }
.narrow { max-width: 820px; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin: 0 0 8px; }
.dl-card .cta-row { margin-top: 0; }
.dl-card p:last-child { margin-bottom: 0; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 14px; padding: .9rem 1.1rem; margin: 1rem 0; }
.notice p:last-child { margin-bottom: 0; }
.notice.compact { padding: .5rem .8rem; font-size: .95rem; }
.notice[hidden] { display: none; }
.status:empty { display: none; }
.status { min-height: 1.4em; color: var(--grass); font-size: .95rem; margin: 6px 0; }
.dl-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .4rem 1.2rem; margin: 0 0 1.2rem; }
.dl-meta dt { color: var(--ink-2); }
.dl-meta dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.hash-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.hash { font-family: var(--mono); font-size: .84rem; background: var(--code-bg); border-radius: 8px; padding: .5rem .7rem; overflow-wrap: anywhere; flex: 1 1 18rem; min-width: 0; user-select: all; }
.dl-steps li, .link-list li { margin-bottom: .5rem; }
details.plain { margin: 1rem 0; }
details.plain summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.qs { list-style: none; counter-reset: q; padding: 0; margin: 0 0 2rem; }
.qs > li { counter-increment: q; position: relative; padding: 0 0 1.4rem 3.4rem; border-left: 0; }
.qs > li::before { content: counter(q); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--tiro); color: var(--tiro-ink); font: 700 1.1rem var(--display); border-radius: 10px; }
.qs h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.qs p { margin: 0; color: var(--ink-2); }
.tile-rows { list-style: none; padding: 0; margin: 0 0 .5rem; }
.tile-rows li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 4rem; gap: .6rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.tile-n { text-align: right; font: 600 1.1rem var(--display); }
.tiles { display: flex; flex-wrap: wrap; gap: 2px; }
.tile-sq { width: 10px; height: 10px; background: var(--tiro); display: inline-block; }
.pre-wrap { position: relative; }
.pre-wrap pre { padding-right: 5.5rem; }
.copy-code { position: absolute; top: .45rem; right: .5rem; min-height: 36px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
table.files code { background: none; padding: 0; }

/* docs */
.docs-layout { display: grid; gap: 2rem; padding-top: 2.2rem; grid-template-columns: minmax(0, 1fr); }
.docs-layout > * { min-width: 0; }
.docs-side { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 1rem; }
.docs-side h2 { font: 600 .85rem var(--body); color: var(--ink-2); margin: 1rem 0 .3rem; letter-spacing: 0; }
.docs-side ul { list-style: none; margin: 0; padding: 0; }
.docs-side .top { margin-bottom: .2rem; }
.docs-side a { display: flex; align-items: center; min-height: 40px; padding: .2rem .6rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.docs-side a:hover { background: var(--paper); color: var(--ink); }
.docs-side a[aria-current="page"] { background: color-mix(in srgb, var(--tiro) 18%, transparent); color: var(--ink); font-weight: 600; }
.doc-search { margin: 0 0 .6rem; }
.doc-search label { display: block; font-size: .85rem; color: var(--ink-2); margin-bottom: .3rem; }
.doc-search input { width: 100%; min-height: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: .4rem .7rem; font: inherit; }
#doc-results { margin: .4rem 0 0; }
.doc { min-width: 0; max-width: 52rem; }
.doc > h1 { margin-top: .2rem; }
.doc h2 { scroll-margin-top: 5rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
.doc h3, .doc h4 { scroll-margin-top: 5rem; }
.doc .lede { font-size: 1.12rem; }
.doc img { display: block; border-radius: 12px; margin: 1rem 0 1.3rem; background: var(--screen); padding: 6px; }
.doc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.2rem 0; }
.doc-grid a.card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.doc-grid a.card:hover { border-color: var(--tiro); }
.doc-grid h3 { margin: 0 0 .3rem; }
.doc-grid p { margin: 0; color: var(--ink-2); }
.hub-list { list-style: none; padding: 0; }
.hub-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 0; }
.prev-next a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; text-decoration: none; background: var(--card); color: var(--ink); font-weight: 600; }
.prev-next a:hover { border-color: var(--tiro); }
.prev-next a span { display: block; color: var(--ink-2); font-size: .85rem; font-weight: 400; }
.prev-next .next { text-align: right; grid-column: 2; }
.prev-next .prev { grid-column: 1; }
.page-toc h2 { font: 600 .85rem var(--body); color: var(--ink-2); margin: 0 0 .5rem; border: 0; }
.page-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.page-toc a { display: block; padding: .2rem .8rem; color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.page-toc a:hover { color: var(--ink); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1.1rem; margin: 1.2rem 0 1.5rem; }
.toc h2 { font-size: .9rem; margin: 0 0 .4rem; border: 0; padding: 0; color: var(--ink-2); }
.toc ul { margin: 0; padding-left: 1.1rem; columns: 2 14rem; }
@media (min-width: 900px) {
  .docs-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .docs-side { position: sticky; top: 4.8rem; align-self: start; max-height: calc(100vh - 5.8rem); overflow: auto; }
}
@media (min-width: 1200px) {
  .docs-layout { grid-template-columns: 250px minmax(0, 1fr) 210px; }
  .page-toc { position: sticky; top: 4.8rem; align-self: start; max-height: calc(100vh - 6rem); overflow: auto; }
}
@media (max-width: 899px) {
  .docs-side nav ul { display: flex; flex-wrap: wrap; gap: .3rem; }
  .docs-side nav a { border: 1px solid var(--line); min-height: 40px; }
  .page-toc { display: none; }
}

/* responsive */
@media (max-width: 959px) { .hero { align-items: flex-start; min-height: 760px; } .hero .wrap { padding-top: 40px; padding-bottom: 360px; } }
@media (max-width: 860px) {
  .facts ul, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li + li::after { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile.wide, .tile.half, .tile.narrow { grid-column: auto; }
  .team, .sec, .faq, .roster, .sec dl { grid-template-columns: minmax(0, 1fr); }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .closing img { width: 110px; }
}
@media (max-width: 760px) { .site-nav .wide-only { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  section.block { padding-top: 64px; }
  .showcase { margin-top: -80px; }
  .screen { padding-top: 22px; border-radius: 14px; }
  .notch { font-size: .66rem; padding: 3px 8px 4px; width: min(250px, 78%); }
  .facts li { padding: 16px 12px; }
  .facts b { font-size: 1.35rem; }
  .dl-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dl-counts .total { grid-column: 1 / -1; }
  .dl-map canvas { aspect-ratio: 2.6; }
  .hero .cta-row .btn, .closing .cta-row .btn, .dl-card .cta-row .btn { flex: 1 1 100%; }
  .tile { padding: 18px; }
  .dl-meta { grid-template-columns: minmax(0, 1fr); }
  .tile-rows li { grid-template-columns: minmax(0, 1fr) 4rem; }
  .tile-rows .tiles { grid-column: 1 / -1; grid-row: 2; }
  .page { padding-top: 32px; }
}
@media (max-width: 400px) { .brand { font-size: 1.1rem; } .brand img { width: 28px; height: 28px; } .site-nav a { padding: 0 8px; } }
@media print { .site-header, .docs-side, .site-footer, .skip, .hero .world, .dl-map { display: none; } body { background: #fff; color: #000; } }
