:root {
  color-scheme: dark;
  --bg: #141414;
  --ink: #f3f4f3;
  --muted: #a2a5a4;
  --accent: #00a961;
  --bright: #67d9a3;
  --dark-ink: #101a14;
  --rule: #2e302f;
  --editor: #1e1e1e;
  --mono: Consolas, 'SFMono-Regular', monospace;
  font: 15px / 1.65 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bright); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
h2, .feature-wide > h3, .feature-wide .feature-heading h3 { font-size: 1.53rem; line-height: 1.3; font-weight: 600; }
h3, h4 { font-size: 1.2rem; line-height: 1.4; font-weight: 600; }
p { color: var(--muted); }
.wrap { width: min(1312px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 75px; align-items: center; column-gap: 22px; }
.brand, .header-actions, .actions { display: flex; align-items: center; }
.brand { gap: 10px; width: max-content; font-size: 18px; font-weight: 700; }
.brand small { font: 12px var(--mono); color: var(--muted); }
.tabs { display: flex; align-self: stretch; gap: 34px; }
.tabs a { display: flex; align-items: center; position: relative; white-space: nowrap; color: var(--muted); }
.tabs a[aria-current], .tabs a:hover { color: var(--ink); }
.tabs a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); }
.header-actions { gap: 23px; justify-self: end; }
.github, .release-summary a, .footer a:not(.brand) { color: var(--muted); }
.github:hover, .release-summary a:hover, .footer a:not(.brand):hover { color: var(--ink); }
.download { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 16px; border-radius: 7px; background: var(--accent); color: var(--dark-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.download::before { content: ''; width: 15px; height: 15px; background: currentColor; clip-path: polygon(43% 1%,57% 1%,57% 48%,74% 30%,84% 40%,50% 75%,16% 40%,26% 30%,43% 48%,43% 1%,0 1%,0 70%,12% 70%,12% 88%,88% 88%,88% 70%,100% 70%,100% 100%,0 100%,0 1%); }
.download:hover { color: var(--dark-ink); background: var(--bright); }
.hero { margin: 72px 0 50px; }
.hero-product { white-space: nowrap; }
.hero-product img { display: inline-block; width: .85em; height: .85em; margin-inline-end: .15em; vertical-align: -.09em; }
.last-update { font-size: .8rem; line-height: 1.35; }
.eyebrow { color: var(--bright); font: 13px / 1.5 var(--mono); margin-bottom: 12px; }
.lede { font-size: 19px; margin-top: 20px; }
.actions { flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
#text-shortcuts > h3 { margin-bottom: 15px; }
.menu-image, .review-image, .release-image { display: block; overflow: hidden; border-radius: 8px; background: var(--editor); }
.menu-image, .review-image { border: 1px solid var(--rule); }
.menu-image img, .review-image img { width: 100%; }
.feature-catalog { margin: 45px 0 57px; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.motion-control { color: var(--muted); padding: 5px 11px; border-radius: 6px; border: 1px solid var(--rule); background: transparent; font: inherit; font-size: .87rem; white-space: nowrap; cursor: pointer; }
.motion-control:hover { color: var(--ink); }
.feature-wide { grid-column: 1 / -1; min-width: 0; scroll-margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.feature { display: flex; flex-direction: column; min-width: 0; }
.feature-hot { display: inline-block; margin-inline-start: 5px; padding: 1px 6px; border-radius: 4px; background: #36251d; color: #ffb07c; font: 700 11px / 1.5 var(--mono); vertical-align: .12em; }
.feature-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
kbd { color: var(--ink); font: .9em var(--mono); white-space: nowrap; }
.shortcut-badge { display: inline-block; margin-inline-start: 5px; padding: 1px 6px; border: 1px solid #414442; border-radius: 4px; color: var(--muted); font: 11px / 1.5 var(--mono); vertical-align: .12em; }
.feature p, .review p { margin: 5px 0 13px; }
.feature p { flex: 1; }
.demo { --demo-cycle: 4.2s; position: relative; display: grid; min-width: 0; aspect-ratio: 642 / 301; border-radius: 8px; overflow: hidden; background: var(--editor); container-type: inline-size; }
.demo:empty { display: none; }
#text-shortcuts .grid { align-items: start; }
.shortcut-syntax { margin-top: 12px; }
.editor-frame { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.editor-frame pre { display: flex; align-items: center; margin: 0; flex: 1; min-height: 0; overflow: hidden; padding: 10px 5%; color: #dcdcdc; font: clamp(10px, 3cqw, 18px) / 1.43 var(--mono); }
.editor-frame code { font: inherit; }
.editor-frame .keyword { color: #569cd6; }
.editor-frame .string { color: #d69d85; }
.editor-frame .type { color: #4ec9b0; }
.editor-frame .number { color: #b5cea8; }
.editor-frame .parameter { color: #999; }
.caret { display: inline-block; width: 0; border-inline-start: 1px solid var(--ink); height: 1.04em; vertical-align: -.12em; }
.editor-tabs { display: flex; min-width: 0; background: #2d2d30; color: var(--muted); font-size: .83rem; }
.editor-tabs span { padding: 6px 10px; border-top: 2px solid transparent; white-space: nowrap; }
.editor-tabs .selected { color: var(--ink); background: var(--editor); border-color: #3794ff; }
.editor-frame.before, .editor-frame.between, .recording { display: none; }
.has-recording .recording { display: block; grid-area: 1 / 1; position: relative; z-index: 1; align-self: stretch; width: 100%; height: 100%; object-fit: contain; background: #252a32; }
.demo-keys { position: absolute; z-index: 2; display: flex; width: max-content; gap: 4px; visibility: hidden; pointer-events: none; }
.demo-keys kbd { padding: 4px 10px; border: 1px solid #777; border-bottom-width: 2px; border-radius: 5px; background: #151515; color: #fff; font: 700 clamp(15px, 4cqw, 18px) / 1.25 var(--mono); }
.demo.is-playing .recorded-key:not([hidden]) { visibility: visible; }
.demo.is-playing:not(.has-recording) .before { display: flex; animation: before var(--demo-cycle) steps(1) infinite; }
.demo.is-playing:not(.has-recording) .after { animation: after var(--demo-cycle) steps(1) infinite; }
.demo.is-playing:has(.between) .before { animation-name: before-first-change; }
.demo.is-playing .between { display: flex; animation: between var(--demo-cycle) steps(1) infinite; }
.demo.is-playing:not(.has-recording) .first-key { animation: first-key var(--demo-cycle) steps(1) infinite; }
.demo.is-playing:not(.has-recording) .last-key { animation: last-key var(--demo-cycle) steps(1) infinite; }
@keyframes before { 0% { visibility: visible; } 54% { visibility: hidden; } }
@keyframes after { 0% { visibility: hidden; } 54% { visibility: visible; } }
@keyframes before-first-change { 0% { visibility: visible; } 32% { visibility: hidden; } }
@keyframes between { 0%, 54% { visibility: hidden; } 32% { visibility: visible; } }
@keyframes first-key { 0%, 32% { visibility: hidden; } 16% { visibility: visible; } }
@keyframes last-key { 0%, 54% { visibility: hidden; } 36% { visibility: visible; } }
.zen-demo { --demo-cycle: 6s; display: grid; container-type: inline-size; }
.zen-standard, .zen-active { grid-area: 1 / 1; }
.zen-standard { position: relative; visibility: hidden; }
.zen-standard .demo-keys { top: 44%; left: 35%; }
.zen-demo.is-playing .zen-standard { animation: before var(--demo-cycle) steps(1) infinite; }
.zen-demo.is-playing .zen-active { animation: after var(--demo-cycle) steps(1) infinite; }
.zen-demo.is-playing .first-key { animation: first-key var(--demo-cycle) steps(1) infinite; }
.zen-demo.is-playing .last-key { animation: last-key var(--demo-cycle) steps(1) infinite; }
.zen-state { display: block; padding: 3px 10px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .8rem; text-align: right; }
#review > .review-image { margin-top: 12px; }
.review .review-warning { margin: 12px 0 8px; padding: 10px 14px; border: 1px solid #83464a; border-radius: 6px; background: #321c20; color: #ffc6c8; }
.review-warning strong { color: #ff969b; }
.review-keys { display: flex; flex-wrap: wrap; gap: 9px 22px; font-size: .87rem; color: var(--muted); }
.setup-steps, .setup-updates { max-width: 1000px; }
.setup-steps { padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.setup-steps > li, .setup-updates { border-top: 1px solid var(--rule); padding: 25px 0 32px; scroll-margin-top: 12px; }
.setup-steps > li { position: relative; padding-left: 42px; counter-increment: steps; }
.setup-steps > li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 31px; font: 14px / 1.5 var(--mono); color: var(--bright); }
.setup-steps .feature-heading { align-items: center; }
.setup-steps p, .setup-updates p { margin-top: 9px; max-width: 78ch; overflow-wrap: anywhere; }
.setup-steps p strong, .setup-updates p strong { color: var(--ink); font-weight: 600; }
.setup-steps p a { color: var(--bright); text-decoration: underline; }
#theme .menu-image { max-width: 891px; }
.setup-media { margin: 16px 0; }
.setup-steps .menu-image { margin-bottom: 0; }
.update-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; background: #252528; color: #eee; border: 1px solid #424247; border-bottom-color: #3794ff; border-radius: 6px; padding: 10px 13px; font-size: 14px; }
.update-icon { display: inline-grid; place-items: center; width: 17px; height: 17px; background: #3794ff; border-radius: 50%; color: #141414; font-weight: 700; line-height: 1; }
.update-preview-button { padding: 2px 10px; background: #3d3d40; border: 1px solid #68686c; border-radius: 3px; }
.update-preview-link { color: #79b8ff; text-decoration: underline; }
.footer { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 28px 0; }
.footer div { display: flex; flex-wrap: wrap; gap: 10px 27px; }
.release-hero { margin: 54px 0 50px; }
.release { display: grid; grid-template-columns: minmax(135px, 18%) 1fr minmax(255px, 29%); gap: 16px 20px; border-top: 1px solid var(--rule); padding: 27px 0 35px; align-items: start; }
.release-version strong { font-size: 1.4rem; font-weight: 600; }
.release-version time { display: block; font-size: .87rem; color: var(--muted); }
.latest { display: inline-block; background: #183529; color: var(--bright); padding: 2px 9px; border-radius: 4px; font-size: .82rem; vertical-align: 2px; }
.release h2 { margin-bottom: 11px; }
.release p { max-width: 58ch; }
.release-image { aspect-ratio: 2.15; }
.release-image img { width: 100%; }
.release-image .review-pane { max-width: none; width: 182%; margin-left: -82%; }
.release-link { color: var(--bright); border-top: 1px solid var(--rule); padding: 26px 0 50px; }
@media (max-width: 880px) {
  .header-row { column-gap: 14px; }
  .header-actions { gap: 9px; }
  .header-actions .github { display: none; }
  .release { grid-template-columns: 112px 1fr; }
  .release-image { grid-column: 2; width: min(100%, 380px); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { grid-template-columns: 1fr auto; min-height: 0; padding-top: 12px; row-gap: 6px; }
  .tabs { grid-row: 2; grid-column: 1 / -1; min-height: 42px; gap: 24px; }
  .hero { margin-top: 43px; margin-bottom: 34px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .setup-steps > li { padding-left: 30px; }
  .feature-catalog { margin-bottom: 44px; }
  .release { grid-template-columns: minmax(0, 1fr); }
  .release-image { grid-column: 1; }
}
@media (max-width: 370px) {
  .brand { gap: 6px; font-size: 15px; }
  .brand small { display: none; }
  .download { padding-inline: 11px; }
  .catalog-bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .demo.is-playing .before { display: none; }
  .demo.is-playing .after { animation: none; }
}
