/* Cropped Help and Blog. The new design's type and colors (Figma "Notes · v2 system and motion"):
   paper, ink, gray, lavender and violet; Host Grotesk for headings, Inter for text. Light only. */
@font-face { font-family: "Host Grotesk"; src: url("/fonts/host-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "LP Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LP Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "LP Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
:root {
  --ink: #0E0E10; --paper: #F6F5F1; --muted: #6B6B70; --line: #E7E5DF;
  --surface: #fff; --card: #EFEEE9; --accent: #641AE6; --accent-soft: #EFEAFE;
  --code: #EFEAFE; --tip: #ecfdf5; --tip-line: #34d399; --win: #eff6ff; --win-line: #60a5fa;
  --display: "Host Grotesk", "LP Inter", ui-sans-serif, system-ui, sans-serif;
  --text: "LP Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
.dark {
  --ink: #f0f0f2; --paper: #0c0c0e; --muted: #a0a0a8; --line: rgba(240, 240, 242, .12);
  --surface: #16161a; --card: #1c1c22; --accent: #a78bfa; --accent-soft: rgba(167, 139, 250, .14);
  --code: #24222e; --tip: rgba(52, 211, 153, .08); --tip-line: #34d399; --win: rgba(96, 165, 250, .08); --win-line: #60a5fa;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; height: 72px; padding: 0 clamp(20px, 3vw, 40px);
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top-hidden .sidenav, .top-hidden .toc { top: 0; }
.top-hidden .sidenav { max-height: 100vh; }
.top-ready .top { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.top-ready .sidenav, .top-ready .toc { transition: top .3s cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) { .top-ready .top, .top-ready .sidenav, .top-ready .toc { transition: none; } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.brand-sub { color: var(--muted); text-decoration: none; font-weight: 500; padding-left: 12px; border-left: 1px solid var(--line); }
.search { position: relative; flex: 1; max-width: 360px; margin-left: auto; }
.search input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.results { position: absolute; top: 44px; left: 0; right: 0; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); padding: 6px; }
.results a { display: block; padding: 9px 11px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.4; }
.results a:hover, .results a[aria-selected="true"] { background: var(--accent-soft); }
.results small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.results p { margin: 10px; color: var(--muted); font-size: 14px; }
.cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(100, 26, 230, .7); transition: transform .15s ease, background-color .15s ease; }
.cta:hover { transform: translateY(-1px); background: #5212C4; }
/* A tight keyboard ring that follows the button's corners, the same in every browser (Safari's own ring is a loose box). */
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cta:focus:not(:focus-visible) { outline: none; }
.cta-ink { background: var(--ink); box-shadow: none; }
.cta-ink:hover { background: #000; }
.site-links { display: flex; gap: 24px; font-size: 14.5px; }
.site-links a { position: relative; padding: 6px 0; color: var(--ink); text-decoration: none; }
.site-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-links a:hover::after, .site-links a[aria-current="page"]::after { transform: scaleX(1); }
.menu { display: none; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }

.layout { display: grid; grid-template-columns: 250px minmax(0, 760px) 210px; gap: 48px; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.sidenav { position: sticky; top: 72px; align-self: start; max-height: calc(100vh - 72px); overflow: auto; padding: 28px 0 40px; }
.nav-group p { margin: 18px 0 6px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-group:first-child p { margin-top: 0; }
.nav-group ul, .toc ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { display: block; padding: 5px 10px; margin: 1px 0; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.nav-group a:hover { background: var(--card); }
.nav-group a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.toc { position: sticky; top: 72px; align-self: start; padding: 32px 0; font-size: 13.5px; }
.toc p { margin: 0 0 8px; font-weight: 650; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--accent); }

.doc { padding: 36px 0 64px; min-width: 0; }
.crumbs { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.doc h1 { margin: 0 0 14px; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.doc h1 + p { font-size: 18.5px; color: var(--muted); }
.doc h2 { margin: 48px 0 12px; font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.doc h3 { margin: 32px 0 8px; font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; text-wrap: balance; }
.doc h2, .doc h3 { position: relative; }
.anchor { position: absolute; left: -22px; color: var(--muted); opacity: 0; text-decoration: none; font-weight: 400; }
.doc h2:hover .anchor, .doc h3:hover .anchor { opacity: .7; }
.doc p, .doc li, figcaption, td { text-wrap: pretty; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--muted); }
.doc code { font: 13.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; font: 600 13px/1.5 ui-sans-serif, system-ui, sans-serif; text-align: center; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: var(--card); }
tr:last-child td { border-bottom: 0; }
.shot { margin: 26px 0; }
.shot img, .shot video { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(20, 16, 40, .12); background: var(--card); }
.shot img { transition: filter 175ms ease-out; }
.shot img.soft { filter: blur(2px); }
.shot figcaption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--muted); text-wrap: balance; }
/* A stepped illustration complements the real app screenshots below it. */
.snap-demo { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.snap-demo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.snap-demo button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.snap-demo button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.snap-demo button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.snap-demo svg { display: block; width: 100%; height: auto; margin: 14px 0; overflow: visible; }
.snap-stage { fill: var(--paper); }
.snap-card rect { fill: var(--surface); stroke: var(--muted); stroke-width: 1; }
.snap-card text { fill: var(--ink); font-family: inherit; }
.snap-card .snap-eyebrow { font-size: 12px; letter-spacing: 1.5px; fill: var(--muted); }
.snap-card .snap-title { font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
.snap-card .snap-small { font-size: 13px; fill: var(--muted); }
.snap-card path { stroke: var(--muted); opacity: .3; stroke-width: 4; stroke-linecap: round; }
.snap-frame { transform-origin: 150px 105px; transform: translate(-14px,-11px) scale(1.13,1.2); transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.snap-frame rect { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.snap-frame circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.snap-lines, .snap-gaps { color: #d91678; }
.dark .snap-lines, .dark .snap-gaps { color: #ff5da8; }
.snap-lines path, .snap-gaps path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.snap-edge-lines, .snap-padding-lines, .snap-gaps { opacity: 0; transition: opacity 200ms ease; }
.snap-gaps rect { fill: currentColor; }
.snap-gaps text { fill: #fff; text-anchor: middle; font: 600 14px system-ui,sans-serif; }
.dark .snap-gaps text { fill: #151017; }
.snap-pointer { transform: translate(520px,303px); transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.snap-pointer path { fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }
.snap-demo[data-snap-step="1"] .snap-frame { transform: none; }
.snap-demo[data-snap-step="1"] .snap-pointer { transform: translate(490px,279px); }
.snap-demo[data-snap-step="1"] .snap-edge-lines { opacity: 1; }
.snap-demo[data-snap-step="2"] .snap-frame { transform: translate(-24px,-24px) scale(1.14117647,1.27586207); }
.snap-demo[data-snap-step="2"] .snap-pointer { transform: translate(514px,303px); }
.snap-demo[data-snap-step="2"] .snap-padding-lines, .snap-demo[data-snap-step="2"] .snap-gaps { opacity: 1; }
.snap-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.snap-demo [hidden] { display: none; }
.snap-demo .snap-step-copy { min-height: 3.3em; font-size: 14px; margin: 14px 0 10px; }
.snap-demo figcaption { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .snap-frame, .snap-pointer, .snap-edge-lines, .snap-padding-lines, .snap-gaps { transition: none; } }
.callout { margin: 22px 0; padding: 12px 16px; border-radius: 12px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.callout p { margin: 6px 0; }
.callout-tip { border-color: var(--tip-line); background: var(--tip); }
.callout-windows { border-color: var(--win-line); background: var(--win); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pager a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--accent); }
.pager span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pager .next { text-align: right; grid-column: 2; }
.help-more { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
/* Footer, as on the homepage */
.ft { position: relative; margin-top: 48px; background: #EFEEE9; border-top: 1px solid #DFDDD6; overflow: hidden; }
.ft-shell { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5.6vw, 80px); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 200px)); gap: 32px; padding: 64px 0 48px; }
.ft-tag { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.ft-col h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ft-col a { color: var(--ink); text-decoration: none; }
.ft-col a:hover { color: var(--accent); }
.ft-copy { font-size: 13px; color: var(--muted); position: relative; z-index: 1; margin: 0; }
.ft-word { font: 500 min(22.6vw, 330px)/.8 var(--display); letter-spacing: -0.05em; color: #E2E1DB; margin: 8px 0 -0.08em -0.04em; white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: span 2; } }

@media (max-width: 1180px) { .site-links { display: none; } .layout { grid-template-columns: 230px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 820px) {
  .top { gap: 10px; padding: 0 16px; }
  .brand-sub, .cta { display: none; }
  .menu { display: block; }
  .layout { display: block; padding: 0 16px; }
  .sidenav { display: none; position: static; max-height: none; padding: 14px 0 0; }
  .sidenav.open { display: block; }
  .anchor { display: none; }
  .doc { padding-top: 22px; }
}

/* Wishlist (/docs/wishlist/) */
.wish-form { display: grid; gap: 14px; margin: 20px 0 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.wish-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.wish-form .optional { font-weight: 400; color: var(--muted); }
.wish-form input, .wish-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; outline: none; resize: vertical; }
.wish-form input:focus, .wish-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wish-form [aria-invalid="true"] { border-color: #e11d48; }
.wish-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wish-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wish-actions p { margin: 0; font-size: 14px; color: var(--muted); text-wrap: pretty; }
.wish-actions p.error { color: #e11d48; }
.wish-actions p.ok { color: var(--ink); }
.wish-form button { height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.wish-form button:disabled { opacity: .6; cursor: default; }
.wish-list { display: grid; gap: 10px; margin: 18px 0; }
.wish-empty { color: var(--muted); }
.wish-item { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.wish-vote[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.wish-vote:disabled { cursor: default; }
.wish-item h3 { margin: 2px 0 6px; font-size: 16.5px; line-height: 1.35; text-wrap: balance; }
.wish-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.wish-badge { padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.wish-badge.s-shipped, .wish-badge.s-fixed { background: var(--tip); color: #059669; }
.dark .wish-badge.s-shipped, .dark .wish-badge.s-fixed { color: var(--tip-line); }
.wish-badge.s-declined, .wish-badge.s-reconsidering { background: var(--card); color: var(--muted); }
.wish-reply { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 8px; background: var(--card); font-size: 14.5px; white-space: pre-line; text-wrap: pretty; }
.wish-reply strong { display: block; font-size: 12.5px; color: var(--muted); }
.wish-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wish-filters button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.wish-filters button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.wish-kind { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; border: 0; }
.wish-kind legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: 14.5px; font-weight: 600; }
.wish-form .wish-kind label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.wish-kind input { width: 18px; height: 18px; accent-color: var(--accent); }
.wish-meta .wish-bug { padding: 2px 9px; border-radius: 99px; background: rgba(225, 29, 72, .1); color: #e11d48; font-weight: 600; }
.dark .wish-meta .wish-bug { color: #fb7185; }
.wish-vote { display: inline-flex; align-items: center; gap: 8px; height: 34px; margin-top: 12px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.wish-vote b { font-weight: 700; color: var(--muted); }
.wish-vote[aria-pressed="true"] b { color: inherit; }
.wish-count { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* Page-to-page transitions and prefetching: public/nav-transition.js. */

/* Screenshot lightbox (lightbox.js): the picture fills the window; click, Esc or × closes it. */
.shot a { cursor: zoom-in; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(8, 8, 12, .86); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: 100%; max-height: calc(100vh - 48px); object-fit: contain; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .45)); }
.lightbox-close { position: fixed; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255, 255, 255, .26); }
.lightbox-open { overflow: hidden; }
@media (max-width: 820px) { .lightbox { padding: 12px; } .lightbox img { max-height: calc(100vh - 24px); } }
@media (max-width: 1280px) { .cta-long { display: none; } }

/* Help pages use the main site's column: 1280px wide with the same side padding, header aligned to it. */
.layout { max-width: calc(1280px + 2 * clamp(20px, 5.6vw, 80px)); padding: 0 clamp(20px, 5.6vw, 80px); grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 56px; }
/* 77px with the 1px bottom border = the React pages' 76px nav row + border, so the logo never shifts between pages. */
.top { padding-inline: max(clamp(20px, 5.6vw, 80px), calc((100% - 1280px) / 2)); height: 77px; }
@media (max-width: 1180px) { .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 820px) { .layout { display: block; } }

/* Blog phone menu (site-chrome.mjs, site-menu.js). The button's two lines slide together and turn into
   an X. Same as landing.css .menu-ico. */
.site-menu-btn, .site-menu { display: none; }
.menu-ico { position: relative; display: block; width: 20px; height: 20px; color: var(--ink); }
.menu-ico i { position: absolute; left: 1px; top: 9.25px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: translate .22s cubic-bezier(.4,0,.2,1) .2s, rotate .26s cubic-bezier(.4,0,.2,1), background-color .2s; }
.menu-ico i:nth-child(1) { translate: 0 -3.5px; }
.menu-ico i:nth-child(2) { translate: 0 3.5px; }
[aria-expanded="true"] > .menu-ico { color: var(--paper); }
[aria-expanded="true"] > .menu-ico i { translate: 0 0; transition: translate .22s cubic-bezier(.4,0,.2,1), rotate .3s cubic-bezier(.34,1.4,.64,1) .18s, background-color .2s; }
[aria-expanded="true"] > .menu-ico i:nth-child(1) { rotate: 45deg; }
[aria-expanded="true"] > .menu-ico i:nth-child(2) { rotate: -45deg; }
@media (max-width: 900px) {
  .site-menu-btn { display: grid; place-content: center; flex: none; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
  .site-menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
  .top.is-open { transform: none !important; background: var(--paper); }
  .site-menu {
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    position: fixed; inset: 0; z-index: 19; padding: calc(77px + 20px) clamp(20px, 5.6vw, 80px) max(28px, env(safe-area-inset-bottom));
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .42s cubic-bezier(.76,0,.24,1), visibility 0s linear .42s;
  }
  .site-menu[data-open] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s cubic-bezier(.16,1,.3,1), visibility 0s; }
  .site-menu-links { display: flex; flex-direction: column; }
  .site-menu-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; overflow: hidden;
    border-bottom: 1px solid transparent; transition: border-color .4s ease;
    font: 500 clamp(34px, 9vw, 52px)/1.05 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
  }
  .site-menu-links a > span { display: block; transform: translateY(105%); transition: transform .5s cubic-bezier(.16,1,.3,1); }
  .site-menu-links a svg { width: 22px; height: 22px; flex: none; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .25s cubic-bezier(.16,1,.3,1); }
  .site-menu-links a:hover svg, .site-menu-links a:focus-visible svg { opacity: 1; transform: none; }
  .site-menu-links a:active { color: var(--accent); }
  .site-menu-foot { display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1); }
  .site-menu-foot .cta { display: flex !important; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 0 !important; font-size: 16px; }
  .site-menu-foot .cta-white { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
  .site-menu-foot .cta-white:hover { background: var(--surface); }
  .site-menu-note { margin-top: 4px; text-align: center; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
  .site-menu[data-open] .site-menu-links a > span { transform: none; transition-delay: calc(.08s + var(--i) * .045s); }
  .site-menu[data-open] .site-menu-links a { border-bottom-color: var(--line); transition-delay: calc(.12s + var(--i) * .045s); }
  .site-menu[data-open] .site-menu-foot { opacity: 1; transform: none; transition-delay: calc(.1s + var(--i) * .045s); }
  html.site-menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-ico i, .site-menu, .site-menu[data-open], .site-menu-links a > span, .site-menu-foot { transition: none !important; }
  .site-menu { clip-path: none; }
}
