/* Latin display face for the name; CJK text stays on the system stack. */
@font-face { font-family: "Unbounded"; src: url('/assets/unbounded-latin-wght.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
/* Pico sets its light colours on :root:not([data-theme=dark]); a plain :root
   here would lose to it, so the same selector is used. */
:root:not([data-theme="dark"]), [data-theme="light"] {
  --display: "Unbounded", "Noto Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --pico-font-family: "Noto Sans", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --pico-font-family-monospace: "JetBrains Mono", "Cascadia Code", "Liberation Mono", Consolas, monospace;
  --pico-font-size: 16px;
  --pico-line-height: 1.65;
  --pico-background-color: #fffafd;
  --pico-color: #6d5262;
  --pico-muted-color: #8a6a7c;
  --pico-muted-border-color: #ecd5e1;
  --pico-primary: #a4597e;
  --pico-primary-hover: #873e63;
  --pico-primary-focus: #f4cddd70;
  --pico-primary-inverse: #fff;
  --pico-primary-background: #a4597e;
  --pico-primary-border: #a4597e;
  --pico-primary-hover-background: #8a4468;
  --pico-primary-hover-border: #8a4468;
  --pico-secondary: #6d5262;
  --pico-secondary-background: #fffdfe;
  --pico-secondary-border: #dbb7cb;
  --pico-secondary-inverse: #4b2d3e;
  --pico-secondary-hover: #4b2d3e;
  --pico-secondary-hover-background: #fdeff6;
  --pico-secondary-hover-border: #c79ab4;
  --pico-form-element-background-color: #fffdfe;
  --pico-form-element-border-color: #dbb7cb;
  --pico-form-element-active-border-color: #a4597e;
  --pico-form-element-focus-color: #f3d9e780;
  --pico-code-background-color: #fdeff6;
  --pico-code-color: #8a4468;
  --pico-card-background-color: #ffffff;
  --pico-border-radius: 12px;
  --pico-typography-spacing-vertical: 1.1rem;
  --pico-spacing: 1rem;
  --ink: #4b2d3e;
  --text: #6d5262;
  --muted: #8a6a7c;
  --accent: #a4597e;
  --accent-deep: #8a4468;
  --line: #ecd5e1;
  --line-strong: #dbb7cb;
  --tint: #fdeff6;
  --paper: #fffdfe;
  /* The one dark surface: a command that is copied and run. */
  --terminal: #2e1b27;
  --terminal-text: #ffe4f1;
  /* Surfaces. Glass is translucent and lets the page's colour through; a
     sheet is nearly opaque and is used where many panels share a page. Both
     carry a lit upper edge, a faint outline and a soft rose shadow. */
  --glass: linear-gradient(150deg, #ffffffa6, #fff3f980);
  --sheet: linear-gradient(150deg, #ffffffe6, #fff6fbbf);
  --edge: #ffffffd9;
  --lift: inset 0 1px 0 #fff, 0 0 0 1px #eec3d94d, 0 44px 80px -48px #b0527f80, 0 14px 28px -20px #b0527f4d;
  --rose-fill: linear-gradient(180deg, #b96a92, #99497a);
  --ink-fill: linear-gradient(180deg, #5d3b4e, #3e2333);
  --gutter: clamp(20px, 4.4vw, 72px);
  --header: 64px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body {
  min-width: 320px; margin: 0;
  background-color: #fff6fb;
  /* Fields of rose and a little warm light, so translucent surfaces have
     something behind them. */
  background-image:
    radial-gradient(58vw 44vw at 90% 2%, #ffc4df 0%, #ffc4df00 64%),
    radial-gradient(44vw 38vw at 58% 34%, #ffe6d6a6 0%, #ffe6d600 62%),
    radial-gradient(52vw 46vw at 2% 60%, #ffd9ebb3 0%, #ffd9eb00 64%),
    radial-gradient(64vw 50vw at 96% 100%, #ffcfe5a6 0%, #ffcfe500 62%),
    linear-gradient(180deg, #fffafd, #fff4f9);
  background-attachment: fixed;
}
/* Fine grain over the whole window gives the flat colour a paper-like tooth. */
body:after { content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none; background: url('/assets/grain.svg'); opacity: .26; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: 40px; line-height: 1.25; }
h2 { font-size: 23px; }
h3 { font-size: 18px; }
p { font-size: 15px; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 5px; transition: color .16s ease, border-color .16s ease; }
a:hover { color: var(--accent-deep); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #c087a7; outline-offset: 5px; }
button { font-size: 14px; transition: background .16s ease, transform .16s ease; }
button:active { transform: translateY(1px); }
[hidden] { display: none !important; }
.mono, code, pre { font-family: var(--pico-font-family-monospace); }
.shell { width: min(1520px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: absolute; left: 20px; top: -80px; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; color: #fff; }

/* The bar spans the window and stays put: frosted glass with a lit lower edge. */
.site-header {
  position: sticky; top: 0; z-index: 5; margin: 0; padding: 0;
  border-bottom: 1px solid #ffffffb3; background: #fff8fc99;
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 1px 0 #ecd0df, 0 18px 36px -30px #b0527f80;
}
.header-inner { width: min(1520px, calc(100% - 2 * var(--gutter))); height: var(--header); margin-inline: auto; display: flex; align-items: center; gap: 46px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--accent); font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.brand:hover { color: var(--accent-deep); }
.brand img { display: block; width: 30px; height: 30px; }
.site-header nav { display: flex; align-self: stretch; align-items: stretch; gap: 32px; padding: 0; }
.site-header nav a { position: relative; display: flex; align-items: center; margin: 0; padding: 0; border-radius: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.site-header nav a:hover { color: var(--ink); }
.site-header nav [aria-current="page"] { color: var(--ink); }
.site-header nav [aria-current="page"]:after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.header-version { margin-left: auto; color: var(--muted); font: 12px var(--pico-font-family-monospace); }
.header-version:hover { color: var(--ink); }
/* The page ends on the name again, cut by the window's lower edge, with the
   figure looking over its letters. */
.site-footer { margin: 0; padding: 0; overflow: hidden; background: radial-gradient(92% 120% at 50% 100%, #ffbfda 0%, #ffd6e899 44%, #ffd6e800 78%); }
.footer-inner { width: min(1520px, calc(100% - 2 * var(--gutter))); margin-inline: auto; container-type: inline-size; }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-meta .mono { margin-left: 8px; }
.footer-meta div { display: flex; gap: 28px; }
.footer-meta a { color: var(--text); }
.footer-meta a:hover { color: var(--accent); }
.footer-meta > span:before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 9px; background: url('/assets/paw.svg') center/contain no-repeat; vertical-align: -3px; }
/* Sized like the home page's name: 7.62 is its width in ems. The ems below are
   this element's own, so the figure keeps its place on the letters at any width. */
.footer-word { position: relative; margin: 1.15em 0 -.17em -.035em; color: #efb9d2; font-family: var(--display); font-size: 12.3vw; font-size: calc(100cqi / 7.62); font-weight: 700; line-height: .82; letter-spacing: -.035em; white-space: nowrap; user-select: none; }
/* The letters are lit from above, like the name at the top of the home page. */
.footer-word span { display: block; background: linear-gradient(180deg, #f3bdd6 0%, #e596bd 52%, #cf73a2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 -1px 0 #ffffffd9); }
.footer-word img { position: absolute; z-index: 1; left: 1.42em; bottom: .6em; width: 1.3em; height: 1.3em; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 16px #a94b7a40); }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(.65); } to { opacity: 1; transform: rotate(0) scale(1); } }

.home { --entrance: 2.05s; padding: 0; overflow-x: clip; }
.intro-seen .home { --entrance: 0s; }

/* Entrance. A frosted pane lies over the page, which shows through blurred,
   while the name's letters slide in from alternating sides of their own line,
   hold, and slide on out the far side as the pane clears. The page's own name
   arrives the same way once they have left. The pane never takes pointer
   events, so nothing waits on it. */
.intro {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(135deg, #fff5fb99, #ffe4f280 55%, #fff9fd99);
  -webkit-backdrop-filter: blur(30px) saturate(1.35); backdrop-filter: blur(30px) saturate(1.35);
  animation: intro-pane 2.5s cubic-bezier(.65,0,.35,1) both;
}
.intro-seen .intro { display: none; }
.intro-word, .wordmark { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.035em; white-space: nowrap; color: var(--accent); }
.intro-word { margin: 0; font-size: clamp(38px, 11.4vw, 148px); }
/* Each letter moves inside its own clipping box; the padding keeps the box
   from cutting the glyph's overshoot once the letter is at rest. */
.intro-word span, .wordmark span { display: inline-block; overflow: hidden; padding: .1em 0 .14em; margin: -.1em 0 -.14em; vertical-align: top; }
/* Each letter is lit from above. The shading runs straight down, so it reads
   as one surface across letters that are painted separately. */
.intro-word b, .wordmark b { display: inline-block; font-weight: inherit; background: linear-gradient(180deg, #cb8cad 4%, #a4597e 48%, #7d3a5d 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro-word b { animation: intro-rise 2.3s both; }
.intro-word span:nth-child(even) b { animation-name: intro-fall; }
.wordmark b { animation: word-rise 1.05s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--entrance); }
.wordmark span:nth-child(even) b { animation-name: word-fall; }
.intro-word span:nth-child(2) b { animation-delay: .05s; }
.intro-word span:nth-child(3) b { animation-delay: .1s; }
.intro-word span:nth-child(4) b { animation-delay: .15s; }
.intro-word span:nth-child(5) b { animation-delay: .2s; }
.intro-word span:nth-child(6) b { animation-delay: .25s; }
.intro-word span:nth-child(7) b { animation-delay: .3s; }
.intro-word span:nth-child(8) b { animation-delay: .35s; }
.intro-word span:nth-child(9) b { animation-delay: .4s; }
.wordmark span:nth-child(2) b { animation-delay: calc(var(--entrance) + .05s); }
.wordmark span:nth-child(3) b { animation-delay: calc(var(--entrance) + .1s); }
.wordmark span:nth-child(4) b { animation-delay: calc(var(--entrance) + .15s); }
.wordmark span:nth-child(5) b { animation-delay: calc(var(--entrance) + .2s); }
.wordmark span:nth-child(6) b { animation-delay: calc(var(--entrance) + .25s); }
.wordmark span:nth-child(7) b { animation-delay: calc(var(--entrance) + .3s); }
.wordmark span:nth-child(8) b { animation-delay: calc(var(--entrance) + .35s); }
.wordmark span:nth-child(9) b { animation-delay: calc(var(--entrance) + .4s); }
@keyframes intro-rise {
  0% { transform: translateY(118%); animation-timing-function: cubic-bezier(.16,1,.3,1); }
  36%, 60% { transform: translateY(0); animation-timing-function: cubic-bezier(.7,0,.84,0); }
  100% { transform: translateY(-118%); }
}
@keyframes intro-fall {
  0% { transform: translateY(-118%); animation-timing-function: cubic-bezier(.16,1,.3,1); }
  36%, 60% { transform: translateY(0); animation-timing-function: cubic-bezier(.7,0,.84,0); }
  100% { transform: translateY(118%); }
}
@keyframes intro-pane { 0%, 64% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes word-rise { from { transform: translateY(118%); } to { transform: translateY(0); } }
@keyframes word-fall { from { transform: translateY(-118%); } to { transform: translateY(0); } }
/* No fade: what settles is already visible, blurred, behind the pane. */
@keyframes settle { from { transform: translateY(30px); } to { transform: translateY(0); } }

/* First screen. The name runs the full width of the stage; the figure stands
   in front of a lit disc on the stage's lower edge; a strip of frosted glass
   carrying the release facts lies across that edge, so the figure and the
   disc show through it blurred. */
.hero { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: min(calc(100vh - var(--header) - 1px), 68vw); min-height: min(calc(100svh - var(--header) - 1px), 68vw); padding-bottom: 26px; }
.hero-stage { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); padding-top: clamp(16px, 2.4vw, 34px); container-type: inline-size; }
/* 7.62 is the name's width in ems at this weight and tracking, so the name
   spans the stage exactly; the vw line serves browsers without container units. */
.wordmark { position: relative; z-index: 1; margin: 0 0 0 -.035em; font-size: clamp(40px, 12.3vw, 200px); font-size: clamp(40px, calc(100cqi / 7.62), 200px); filter: drop-shadow(0 16px 26px #a4597e2e); }
/* The strip overlaps the stage by --overlap; the text stops above it. */
.hero { --overlap: 46px; }
.hero-copy { position: relative; z-index: 3; align-self: end; width: min(470px, 40%); padding: 40px 0 calc(var(--overlap) + clamp(26px, 3.4vw, 46px)); animation: settle 1.1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--entrance) - .35s); }
.lead { margin: 0 0 28px; color: var(--ink); font-size: clamp(19px, 1.9vw, 27px); font-weight: 500; line-height: 1.5; }
.primary-download { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; padding: 10px 10px 10px 26px; border-radius: 18px; background: var(--rose-fill); color: #fff; box-shadow: inset 0 1px 0 #ffffff59, inset 0 -1px 0 #0000001f, 0 24px 38px -20px #a4597ecc, 0 6px 12px -6px #a4597e80; transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, filter .2s; }
.primary-download:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffffff59, inset 0 -1px 0 #0000001f, 0 32px 44px -22px #a4597ecc, 0 8px 14px -6px #a4597e80; }
.primary-download:active { transform: translateY(1px); }
.download-label { display: grid; gap: 4px; }
.download-label strong { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.download-label small { color: #fff; font-size: 12.5px; }
.download-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(180deg, #ffffff4d, #ffffff1f); box-shadow: inset 0 1px 0 #ffffff66; }
.download-icon svg { transition: transform .2s; }
.primary-download:hover svg { transform: translateY(3px); }
.download-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 24px 0 0; font-size: 14px; }
.download-links a, .section-heading a { padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); color: var(--ink); }
.download-links a:hover, .section-heading a:hover { border-color: var(--accent); color: var(--accent); }
/* The illustration is cropped at the knees, so its lower edge is the stage's.
   Its height stops short of the stage by most of the name's height, so only
   the ear tips reach the letters and the name stays readable. */
.hero-mascot { position: absolute; z-index: 2; right: -1.2vw; bottom: 0; display: block; height: min(calc(100% - 11.4vw), 60vw, 800px); height: min(calc(100% - 11.4cqi), 60vw, 800px); aspect-ratio: 1; pointer-events: none; animation: settle 1.25s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--entrance) - .45s); }
/* The disc is smaller than the figure, so her head and hair stand out of it. */
.hero-mascot:before {
  content: ""; position: absolute; z-index: -1; left: 9%; right: 5%; bottom: -4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #fffbfd 0%, #ffe4ef 32%, #ffc9df 66%, #f4a9ca 100%);
  box-shadow: inset 0 0 0 1px #ffffffcc, inset 0 2px 26px #ffffffb3, inset 0 -46px 70px #ffffff40, 0 60px 90px -40px #cf6f9f80;
}
.hero-mascot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 24px 28px #b0527f38); }
.release-facts {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: calc(var(--overlap) * -1) 0 0; padding: 0;
  border: 1px solid var(--edge); border-radius: 22px; background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: var(--lift);
}
.release-facts>div { padding: 18px 28px 20px; border-left: 1px solid #eac4d866; }
.release-facts>div:first-child { border-left: 0; }
.release-facts dt { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .08em; }
.release-facts dd { margin: 0; color: var(--ink); font-size: 15px; }
.release-facts a { color: var(--ink); }
.release-facts a:hover { color: var(--accent); }

/* A section is a heading that stays beside its content while that content
   scrolls, and the content on a surface of its own. */
.install, .guide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 96px); align-items: start; padding: clamp(72px, 8.4vw, 128px) 0 0; }
.guide { padding-bottom: clamp(72px, 9vw, 136px); }
.section-heading { position: sticky; top: calc(var(--header) + 36px); }
.section-heading h2 { margin: 0 0 22px; font-size: clamp(30px, 4.2vw, 62px); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; background: linear-gradient(105deg, #4b2d3e 24%, #a4597e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-heading a { font-size: 14px; white-space: nowrap; }

/* Choices are cells of one ruled block, not separate tiles: the one-pixel gaps
   show the block's own colour as the lines between them, so every column
   count used must divide the number of cells. A chosen cell is filled and
   ticked; the native control stays focusable underneath. */
.install-form { margin: 0; padding: clamp(20px, 2.6vw, 38px); border: 1px solid var(--edge); border-radius: 28px; background: var(--glass); box-shadow: var(--lift); }
fieldset { margin: 0 0 30px; padding: 0; border: 0; }
legend { margin-bottom: 12px; padding: 0; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.choice-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid #e3bfd2; border-radius: 16px; background: #e9cbdb; box-shadow: 0 1px 0 #fff, 0 12px 22px -18px #b0527f80; }
.mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.client-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
/* Pico shrinks a label that holds a checkbox or radio to its text. */
.choice-grid>label { position: relative; width: 100%; margin: 0; background: linear-gradient(180deg, #fffefe, #fff7fb); color: var(--ink); cursor: pointer; transition: background .16s, color .16s; }
.choice-grid input { position: absolute; width: 1px; height: 1px; margin: 0 !important; opacity: 0; pointer-events: none; }
.mode-grid>label { display: block; min-height: 122px; padding: 20px 40px 22px 22px; }
.mode-grid strong { display: block; color: inherit; font-size: 16px; font-weight: 600; }
.mode-grid small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.65; transition: color .16s; }
.client-grid>label { display: grid; place-items: center; min-height: 62px; padding: 10px 8px; font-size: 14px; line-height: 1.35; text-align: center; }
.choice-grid>label:hover { background: #fff0f7; }
.choice-grid>label:has(input:checked) { background: var(--rose-fill); color: #fff; box-shadow: inset 0 1px 0 #ffffff4d; }
.choice-grid>label:has(input:checked) small { color: #fff; }
.choice-grid>label:has(input:checked):after { content: ""; position: absolute; top: 14px; right: 16px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.client-grid>label:has(input:checked):after { top: 9px; right: 12px; width: 5px; height: 9px; }
.choice-grid>label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -5px; }
.install-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 4px; }
/* Pico sizes button[type=submit] to the full row; the element name here outranks it. */
button.copy-install { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: auto; min-height: 58px; margin: 0; padding: 0 28px; border: 0; border-radius: 14px; background: var(--ink-fill); color: #fff; font-size: 15.5px; font-weight: 600; box-shadow: inset 0 1px 0 #ffffff33, 0 20px 30px -18px #3e2333cc; transition: transform .2s cubic-bezier(.16,1,.3,1), filter .2s; }
button.copy-install:hover { color: #fff; filter: brightness(1.18); transform: translateY(-1px); }
.inline-status { min-height: 22px; margin: 0; color: var(--text); font-size: 14px; }
.inline-status.error { color: #a8325f; }
.inline-status.success { color: var(--accent-deep); }
.inline-status.success:before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; background: url('/assets/paw.svg') center/contain no-repeat; animation: stamp .2s ease-out; }
.install-output { margin: 28px 0 0; animation: reveal .2s ease-out; }
.install-output label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.install-output textarea, .install-form noscript pre { display: block; margin: 0; padding: 22px 24px; border: 0; border-radius: 16px; background: linear-gradient(160deg, #3b2432, #26151f); color: var(--terminal-text); font-family: var(--pico-font-family-monospace); font-size: 12.5px; line-height: 1.9; box-shadow: inset 0 1px 0 #ffffff1f, inset 0 0 0 1px #ffffff0d, 0 30px 50px -30px #2e1b27b3; }
.install-output textarea { min-height: 290px; max-height: 620px; opacity: 1; resize: vertical; }
.install-output textarea:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.install-form noscript p { margin: 16px 0 8px; font-size: 14px; }
.install-form noscript pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.install-form noscript pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

.guide-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-group { padding: 24px 24px 8px; border: 1px solid var(--edge); border-radius: 24px; background: var(--sheet); box-shadow: var(--lift); }
.guide-group h3 { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.guide-group a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; transition: color .18s; }
.guide-group a:last-child { border-bottom: 0; }
.guide-group a:hover { color: var(--accent); }
.guide-group a span:last-child { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #b9809f; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line), 0 6px 10px -8px #b0527f80; transition: background .2s, color .2s, transform .2s cubic-bezier(.16,1,.3,1); }
.guide-group a:hover span:last-child { background: var(--rose-fill); color: #fff; transform: translate(2px, -2px); }

/* Reading pages: a ruled index beside the text, and the text set straight on
   the page with no frame around it. */
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 820px); gap: clamp(36px, 6vw, 104px); align-items: start; padding-top: clamp(32px, 4.4vw, 64px); padding-bottom: clamp(64px, 8vw, 112px); }
.docs-sidebar { position: sticky; top: calc(var(--header) + 32px); max-height: calc(100vh - var(--header) - 64px); overflow: auto; }
.docs-navigation { margin: 0; padding: 0; border: 0; background: none; }
.docs-navigation>summary { display: none; }
.docs-navigation nav { display: flex; flex-direction: column; gap: 0; padding: 0; }
.docs-navigation nav h2 { margin: 26px 0 10px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.docs-navigation nav h2:first-child { margin-top: 0; }
.docs-navigation nav a { margin: 0; padding: 7px 0 7px 15px; border-left: 1px solid var(--line); border-radius: 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.docs-navigation nav a:hover { border-left-color: var(--line-strong); color: var(--ink); }
.docs-navigation nav [aria-current="page"] { padding-left: 14px; border-left: 2px solid var(--accent); color: var(--accent-deep); font-weight: 600; }
/* Pico draws every article as a card; this one is the page. */
.document { min-width: 0; max-width: 820px; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.doc-tools { margin-bottom: 20px; font-size: 13px; }
.doc-tools a { color: var(--muted); }
.doc-tools a:hover { color: var(--ink); }
.document h1 { margin: 0 0 30px; color: var(--ink); font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.document h2 { margin: 52px 0 18px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--ink); font-size: 24px; letter-spacing: 0; }
.document h3 { margin: 34px 0 12px; color: var(--ink); font-size: 18px; letter-spacing: 0; }
.document p, .document li { color: var(--text); font-size: 15.5px; line-height: 1.9; }
.document li { margin: 5px 0; }
.document ul, .document ol { padding-left: 23px; }
.document strong { color: var(--ink); font-weight: 600; }
.document a { overflow-wrap: anywhere; }
.document a:hover { text-decoration: underline; }
.document code { padding: .13em .4em; border-radius: 5px; background: var(--tint); color: var(--accent-deep); font-size: .88em; overflow-wrap: anywhere; }
.document blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); border-radius: 0; background: none; }
.document blockquote p:last-child { margin-bottom: 0; }
.document pre, .tool pre { padding: 20px 22px; overflow: auto; border: 0; border-radius: 12px; background: #fbeaf3; font-size: 13px; line-height: 1.75; }
.document pre code, .tool pre code { padding: 0; background: transparent; color: #5c3a4d; font-size: inherit; overflow-wrap: normal; }
.document table, .tool table { display: block; width: 100%; margin: 24px 0; overflow: auto; border-collapse: collapse; font-size: 13.5px; line-height: 1.7; }
.document th, .tool th { background: transparent; color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.document td, .tool td { min-width: 80px; background: transparent; color: var(--text); vertical-align: top; }
.document td:first-child { color: var(--ink); }
.document th, .document td, .tool th, .tool td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.document th, .tool th { border-bottom-color: var(--line-strong); }
.mermaid-diagram { margin: 28px 0; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--sheet); box-shadow: var(--lift); }
.mermaid-diagram svg { display: block; max-width: 100%; height: auto; margin-inline: auto; font-family: var(--pico-font-family); }
.mermaid-diagram svg .mm-subgraph { fill: #fff8fc; stroke: #e5c6d7; stroke-width: 1.2; }
.mermaid-diagram svg .mm-subgraph-title { fill: var(--muted); font-weight: 600; }
.mermaid-diagram svg .mm-node-rect { fill: #ffffff; stroke: #dbb7cb; stroke-width: 1.35; }
.mermaid-diagram svg .mm-node-stadium { fill: #fdeff6; stroke: #c580a3; stroke-width: 1.45; }
.mermaid-diagram svg .mm-node-diamond { fill: #fff3f9; stroke: #b96a92; stroke-width: 1.45; }
.mermaid-diagram svg .mm-node-cylinder, .mermaid-diagram svg .mm-cylinder-rim { fill: #fdeff6; stroke: #b96a92; stroke-width: 1.4; }
.mermaid-diagram svg .mm-text { fill: var(--ink); font-weight: 500; }
.mermaid-diagram svg .mm-edge { stroke: #9e5479; stroke-width: 1.5; }
.mermaid-diagram svg .mm-edge-dotted { stroke: #b07c96; stroke-width: 1.45; }
.mermaid-diagram svg .mm-edge-pill { fill: #fffafd; stroke: #ecd5e1; stroke-width: 1; }
.mermaid-diagram svg .mm-edge-text { fill: var(--text); }
.mermaid-diagram svg .mm-lifeline { stroke: #d8b4c8; stroke-width: 1.25; }
.mermaid-diagram svg .mm-seq-band-a { fill: #fdeff699; stroke: #ecd5e1; stroke-width: 1; }
.mermaid-diagram svg .mm-seq-band-b { fill: #fff5eb99; stroke: #eed8c7; stroke-width: 1; }
.mermaid-diagram svg .mm-alt-box { stroke: #c580a3; stroke-width: 1.25; }
.mermaid-diagram svg .mm-alt-tag { fill: #a4597e; }
.mermaid-diagram svg .mm-alt-tag-text { fill: #ffffff; font-weight: 600; }
.mermaid-diagram svg .mm-note { fill: #fffdf8; stroke: #e2c5d4; stroke-width: 1.15; }
.mermaid-diagram svg .mm-seq-num { fill: #a4597e; }
.mermaid-diagram svg .mm-seq-num-text { fill: #ffffff; font-weight: 600; }
.doc-end { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-strong); font-size: 14px; }
.doc-end a { color: var(--ink); }
.doc-end a:hover { color: var(--accent); text-decoration: none; }
.code-wrap { position: relative; }
.code-wrap pre { padding-top: 46px; }
.copy-code { position: absolute; top: 10px; right: 10px; z-index: 1; width: auto; margin: 0; padding: 4px 11px; border: 0; border-radius: 7px; background: #fff; color: var(--text); font-size: 12px; }
.copy-code:hover { background: #fff; color: var(--accent-deep); }

/* Tool reference: a ruled index. Each category is a line, its name in the
   left column and its tools as rows in the right one. */
.tools-page { padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(64px, 8vw, 112px); }
.tools-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.tools-heading h1, .connect-heading h1, .document h1 { background: linear-gradient(105deg, #4b2d3e 24%, #a4597e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tools-heading h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.tools-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.tools-heading>a { padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; white-space: nowrap; }
.tools-heading>a:hover { border-color: var(--accent); color: var(--accent); }
.tool-search { display: grid; grid-template-columns: minmax(160px, 1fr) 220px auto; gap: 12px; margin: 0; }
.tool-search label { margin: 0; }
.tool-search input, .tool-search select { height: 54px; margin: 0; padding: 10px 16px; border: 1px solid #e3bfd2; border-radius: 12px; background-color: #ffffffcc; color: var(--ink); font-size: 15px; box-shadow: inset 0 1px 0 #fff, 0 14px 24px -20px #b0527f80; }
.tool-search input[type="search"] { padding-left: 44px; }
.tool-search select { padding-right: 36px; }
.tool-search button { width: auto; height: 54px; margin: 0; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--text); font-size: 14px; }
.tool-search button:hover { background: var(--tint); color: var(--ink); }
/* Pico joins the children of a role=search form into one pill; the id outranks it. */
#tool-search input, #tool-search select, #tool-search button { border-radius: 12px; }
.tool-search-meta { display: flex; justify-content: space-between; gap: 15px; margin: 18px 0 8px; color: var(--muted); font-size: 13px; }
.tool-search-meta a { color: var(--ink); }
.tool-search-meta a:hover { color: var(--accent); }
.tools-boundary { max-width: 900px; margin: 0 0 40px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.tools-boundary code { background: var(--tint); color: var(--accent-deep); font-size: 12px; }
.tool-category { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(24px, 4vw, 72px); margin: 0 0 18px; padding: 10px 30px 10px; border: 1px solid var(--edge); border-radius: 24px; background: var(--sheet); box-shadow: var(--lift); }
.tool-category>h2 { grid-column: 1; grid-row: 1; margin: 17px 0 0; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.tool-category>.tool { grid-column: 2; }
.tool { margin: 0; border-bottom: 1px solid var(--line); }
.tool:last-child { border-bottom: 0; }
.tool>summary { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 34px 18px 0; list-style: none; }
.tool>summary:after { position: absolute; right: 2px; }
.tool>summary::-webkit-details-marker { display: none; }
.tool>summary code { flex: 1; padding: 0; background: none; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.tool>summary span { color: var(--muted); font-size: 14px; }
.tool>summary .tool-tag { flex: none; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text); font-size: 12px; }
.tool[open]>summary code { color: var(--accent-deep); }
.tool-body { margin: 0; padding: 2px 0 28px; animation: reveal .18s ease-out; }
.tool-body p { margin: 0 0 14px; color: var(--text); font-size: 14.5px; line-height: 1.9; }
.tool-body h3 { margin: 26px 0 10px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.tool-body table { margin-top: 8px; }
.tool-body td:first-child { color: var(--ink); font-family: var(--pico-font-family-monospace); white-space: nowrap; }
.tool-body td small { display: block; color: var(--muted); font-family: var(--pico-font-family); font-size: 12px; }
.tool-required { color: var(--accent) !important; }
.tool-body pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-params { max-width: 100%; overflow: auto; }
.tool-params table { min-width: 480px; }
.schema-disclosure summary { padding: 8px 0; color: var(--text); font-size: 13px; }
.schema-disclosure pre { max-height: 420px; white-space: pre; font-size: 12px; }
#no-tools { padding: 48px 0; color: var(--text); text-align: center; }
#no-tools img { display: block; width: 150px; margin: 0 auto 16px; }
#no-tools p { font-size: 14px; }

/* Three panels of links need the full width before the form does. */
@media (max-width: 1300px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .guide .section-heading { position: static; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
  .guide .section-heading h2 { margin: 0; }
}
@media (max-width: 1050px) {
  .hero-copy { width: min(430px, 44%); }
  .release-facts>div { padding-left: 20px; padding-right: 20px; }
  .install, .guide { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .section-heading { position: static; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
  .section-heading h2 { margin: 0; }
  .docs-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  .tool-category { grid-template-columns: minmax(0, 1fr); }
  .tool-category>h2 { margin: 18px 0 4px; }
  .tool-category>.tool { grid-column: 1; }
  .connect-layout { gap: 40px; }
}
@media (max-width: 760px) {
  :root { --header: 56px; }
  .header-inner { gap: 20px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 26px; height: 26px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .header-version { display: none; }
  /* The figure no longer overlaps: name, text and download first, figure after. */
  .hero { min-height: 0; }
  .hero-stage { grid-template-rows: auto; padding-top: 22px; }
  .hero-copy { width: auto; padding: 22px 0 0; }
  .lead { margin-bottom: 24px; }
  .primary-download { min-height: 70px; padding-left: 22px; }
  .download-label strong { font-size: 17px; }
  .download-icon { width: 50px; height: 50px; }
  .hero-mascot { position: relative; right: auto; width: min(92%, 430px); height: auto; margin: 6px auto 0; }
  .release-facts { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .release-facts>div { padding: 14px 18px 16px; }
  .release-facts>div:nth-child(odd) { border-left: 0; }
  .release-facts>div:nth-child(n+3) { border-top: 1px solid #eac4d866; }
  .install, .guide { padding-top: 64px; }
  .guide { padding-bottom: 72px; }
  .install-form { padding: 18px 16px 20px; border-radius: 22px; }
  .mode-grid { grid-template-columns: minmax(0, 1fr); }
  .mode-grid>label { min-height: 0; padding: 18px 44px 18px 18px; }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-grid>label { font-size: 13px; }
  button.copy-install { width: 100%; }
  .install-output textarea { padding: 18px; }
  .guide-columns { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guide-group { padding: 20px 18px 6px; border-radius: 22px; }
  .guide-group a { font-size: 15px; }
  .tool-category { padding: 8px 18px 8px; border-radius: 20px; }
  .connect-config, .connect-command { padding: 22px 18px; border-radius: 22px; }
  .footer-meta { flex-direction: column; gap: 14px; }
  /* The letters are small here, so the figure is larger against them. */
  .footer-word { margin-top: 2.5em; }
  .footer-word img { left: .95em; width: 2.3em; height: 2.3em; }
  .docs-layout { display: block; padding-top: 24px; }
  .docs-sidebar { position: static; max-height: none; margin-bottom: 32px; overflow: visible; }
  .docs-navigation { padding: 14px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .docs-navigation>summary { display: block; color: var(--ink); font-size: 14px; }
  .docs-navigation[open]>summary { margin-bottom: 14px; }
  .docs-navigation nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .docs-navigation nav h2 { grid-column: 1 / -1; margin: 16px 0 6px; }
  .docs-navigation nav a { font-size: 13.5px; }
  .document h2 { margin-top: 40px; padding-top: 24px; font-size: 21px; }
  .document p, .document li { font-size: 15px; }
  .document pre { padding: 16px; font-size: 12px; }
  .mermaid-diagram { padding: 14px; border-radius: 14px; }
  .mermaid-diagram svg { max-width: none; }
  .tools-heading { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 22px; }
  .tool-search { grid-template-columns: minmax(0, 1fr) auto; }
  .tool-search label:first-child { grid-column: 1 / -1; }
  .tool-search input, .tool-search select, .tool-search button { height: 50px; font-size: 14px; }
  .tool>summary { display: block; padding: 16px 30px 16px 0; }
  .tool>summary:after { top: 20px; }
  .tool>summary code { display: block; font-size: 13.5px; }
  .tool>summary span { display: inline-block; margin-top: 5px; font-size: 13px; }
  .tool>summary .tool-tag { margin-right: 8px; font-size: 11px; }
  .tool-body p { font-size: 14px; }
  .tool-body pre { padding: 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  /* The mark alone carries the brand where the name would crowd the navigation. */
  .brand span { display: none; }
  .header-inner { gap: 16px; }
  .site-header nav { gap: 16px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  /* Reduced motion keeps the entrance but takes the movement out of it: the
     pane and the name stand still, then the pane fades. */
  .intro { animation: intro-pane 1.7s ease both !important; }
  .primary-download:hover svg, .guide-group a:hover span:last-child { transform: none; }
}

/* Device onboarding: a title on a ruled line, then the name to fill in beside
   the script to run. The script is the page's one dark surface. */
.connect-page { padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(64px, 8vw, 112px); }
.connect-heading { padding: 0 0 28px; }
.connect-heading h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.connect-heading p { margin: 0; color: var(--text); font-size: 15px; }
.connect-heading .connect-platform { margin-bottom: 16px; color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.connect-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; padding-top: 8px; }
.connect-config, .connect-command { min-width: 0; padding: clamp(22px, 2.4vw, 34px); border: 1px solid var(--edge); border-radius: 26px; background: var(--sheet); box-shadow: var(--lift); }
.connect-section-title { margin-bottom: 22px; }
.connect-section-title h2 { margin: 0; color: var(--ink); font-size: 22px; }
.connect-config p, .connect-effects p { font-size: 14px; }
.connect-page label { margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.connect-page input, .connect-page textarea { margin-bottom: 16px; padding: 13px 15px; border-radius: 12px; font-size: 14.5px; }
.connect-page textarea { font-family: var(--pico-font-family-monospace); line-height: 1.7; overflow-wrap: anywhere; resize: vertical; }
.connect-page small { display: block; margin-top: -9px; margin-bottom: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.connect-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.connect-page button { width: 100%; min-height: 54px; margin-bottom: 0; border-radius: 12px; font-size: 15px; font-weight: 600; }
.connect-page .connect-share { border-color: var(--ink); background: var(--ink); color: #fff; }
.connect-page .connect-share:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
.connect-page button.secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.connect-page button.secondary:hover { background: var(--tint); }
.connect-route { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; margin-bottom: 20px; padding: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.connect-route code { padding: 0; background: none; color: var(--muted); font-size: 12px; }
.connect-steps { margin-bottom: 26px; padding-left: 22px; }
.connect-steps li { padding-left: 4px; padding-bottom: 10px; color: var(--text); font-size: 14.5px; }
.connect-steps strong { color: var(--ink); }
.connect-steps code { font-size: 12px; word-break: break-word; }
#connect-command, #temporary-command { min-height: 190px; padding: 20px 22px; border: 0; border-radius: 16px; background: linear-gradient(160deg, #3b2432, #26151f); color: var(--terminal-text); font-size: 12.5px; line-height: 1.85; opacity: 1; box-shadow: inset 0 1px 0 #ffffff1f, inset 0 0 0 1px #ffffff0d, 0 30px 50px -30px #2e1b27b3; }
#connect-command::placeholder, #temporary-command::placeholder { color: #c9a5ba; }
#connect-command:focus, #temporary-command:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
#copy-connect:disabled { opacity: .45; }
#connect-status { min-height: 20px; margin: 12px 0 8px; font-size: 13.5px; }
#connect-status.error { color: #a8325f; }
#connect-status.success { color: var(--accent-deep); animation: reveal .18s ease-out; }
#share-output { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); animation: reveal .18s ease-out; }
.connect-effects { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.connect-effects summary { color: var(--ink); font-size: 14px; }
.connect-effects p { margin-top: 15px; }
.connect-page [aria-invalid="true"] { border-color: #b44360; }
.temporary-boundary { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); font-size: 13.5px; }
.connect-manual-link { margin: 48px 0 0; font-size: 14px; }
.connect-manual-link a { padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); color: var(--ink); }
.connect-manual-link a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) {
  .connect-layout { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
  .connect-layout>section { width: 100%; }
  .connect-page.has-device .connect-command { order: -1; }
  .connect-fields { gap: 12px; }
}
