@font-face {
  font-family: Nunito;
  src: url("/assets/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fff9f2;
  --surface: #fffdf9;
  --text: #4f233e;
  --muted: #816575;
  --accent: #884ba6;
  --accent-text: #fff;
  --lavender: #eedff4;
  --peach: #f9e5dc;
  --mint: #e5eddc;
  --line: #eadce1;
  --dark: #36233c;
  --shadow: 0 16px 48px #78435c0b;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #241b2b;
  --surface: #302437;
  --text: #f9e9ef;
  --muted: #c6adc5;
  --accent: #caa0e4;
  --accent-text: #2e1938;
  --lavender: #493251;
  --peach: #54343e;
  --mint: #36433a;
  --line: #514057;
  --dark: #1d1423;
  --shadow: 0 16px 48px #0002;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.7 Inter, system-ui, sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: Nunito, system-ui, sans-serif;
}
h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -2.8px;
}
h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 850;
}
h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--lavender);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.site-header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-wrap {
  max-width: 1280px;
  padding: 0 40px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 32px;
  font-weight: 1000;
  letter-spacing: -1.6px;
  line-height: 1;
  white-space: nowrap;
}
.brand-symbol {
  height: 46px;
  width: 40px;
  display: flex;
  align-items: center;
}
.brand-dot {
  color: #b591cd;
}
.nav-wrap nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
}
.nav-wrap nav a[aria-current] {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button {
  border: 0;
  background: none;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  padding: 5px;
}
.icon-button:hover {
  background: var(--lavender);
}
kbd {
  font: 11px/1.4 Inter, system-ui;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  padding: 3px 5px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.button:hover {
  color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #8a50a02a;
}
.button.small {
  font-size: 12px;
  padding: 11px 16px;
  border-radius: 9px;
}
.button.secondary {
  background: var(--lavender);
  color: var(--text);
}
.mobile-menu {
  display: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.5;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 22px;
}
.live-dot,
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa87c;
  vertical-align: middle;
  margin-right: 7px;
}
.hero {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 88px 40px 70px;
  gap: 20px;
  overflow: hidden;
}
.swash {
  position: relative;
  isolation: isolate;
}
.swash:after {
  content: "";
  position: absolute;
  left: -3px;
  right: -8px;
  bottom: 3px;
  height: 20px;
  z-index: -1;
  background: var(--lavender);
  border-radius: 50% 30% 45% 25%;
  transform: rotate(-3deg);
}
.hero-description {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.9;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 30px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
}
.platform-line {
  font-size: 11px;
  margin-top: 18px;
}
.platform-line span {
  padding: 0 7px;
  color: #bca0b1;
}
.tiny-proof {
  display: flex;
  align-items: center;
  margin-top: 34px;
  gap: 14px;
}
.mini-avatars {
  display: flex;
  padding-left: 9px;
}
.mini-avatars img {
  width: 33px;
  background: var(--lavender);
  border: 3px solid var(--bg);
  border-radius: 50%;
  margin-left: -9px;
}
.tiny-proof p {
  font-size: 11px;
  line-height: 1.6;
}
.tiny-proof strong {
  font-weight: 500;
  color: var(--text);
}
.hero-art {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.16;
  transform: translateX(16px);
}
.village-art {
  width: 113%;
  max-width: none;
  position: absolute;
  left: -6%;
  top: 0;
}
.art-stars {
  position: absolute;
  font-size: 38px;
  color: #c7a0d6;
  top: 0;
  left: 22%;
  transform: rotate(10deg);
}
.art-stars span {
  position: absolute;
  left: 230px;
  top: 35px;
  font-size: 26px;
  color: #e5b17e;
}
.village-buddy {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 124px;
}
.village-buddy img {
  width: 62px;
  filter: drop-shadow(0 4px 2px #754b6220);
}
.village-buddy > span {
  font-size: 9px;
  white-space: nowrap;
  background: #fffcf7;
  color: #542e45;
  padding: 4px 9px;
  border-radius: 9px;
  box-shadow: 0 3px 8px #5732460c;
}
.buddy-working {
  left: 17%;
  top: 42%;
  animation: bob 5s ease-in-out infinite;
}
.buddy-resting {
  right: 11%;
  top: 35%;
  animation: bob 6s 1s ease-in-out infinite;
}
.buddy-waiting {
  left: 44%;
  top: 67%;
  width: 70px;
}
.resting {
  background: #9e8b9e;
}
.working {
  background: #8aa87c;
}
.village-note {
  position: absolute;
  right: 7%;
  top: 9%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.village-note strong {
  display: block;
  font-size: 12px;
}
.village-note small {
  font-size: 10px;
  color: var(--muted);
}
.note-icon {
  background: #f9d8a0;
  color: #87602f;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  text-align: center;
  font-weight: 800;
}
.art-caption {
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
}
.intro-band {
  max-width: 1200px;
  margin: 15px auto 0;
  border-block: 1px solid var(--line);
  padding: 26px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.intro-band p {
  font-size: 14px;
  line-height: 1.65;
}
.intro-band strong {
  color: var(--text);
  font-weight: 650;
}
.intro-band > div {
  display: flex;
  gap: 48px;
}
.intro-band span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 550;
}
.intro-band .icon {
  color: var(--accent);
}
.section {
  max-width: 1280px;
  margin: auto;
  padding: 95px 40px;
}
.section-heading {
  max-width: 600px;
  margin-bottom: 40px;
}
.section-heading > p:last-child {
  margin-top: 18px;
  max-width: 510px;
  font-size: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 29px 27px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.card-icon {
  height: 39px;
  width: 39px;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon.peach {
  background: var(--peach);
  color: #ab7263;
}
.card-icon.mint {
  background: var(--mint);
  color: #6c8c60;
}
.feature-card > p {
  font-size: 12px;
  margin-top: 15px;
  line-height: 1.8;
}
.mini-terminal {
  margin: 24px -6px -10px;
  padding: 16px 17px;
  background: var(--dark);
  border-radius: 12px 12px 0 0;
  color: #f3e7f4;
  transform: rotate(-2deg);
  font-size: 10px;
  line-height: 1.8;
}
.mini-terminal > div {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 14px;
}
.mini-terminal i {
  width: 6px;
  height: 6px;
  background: #bc8db0;
  border-radius: 50%;
}
.mini-terminal i:nth-child(2) {
  background: #dcbd86;
}
.mini-terminal i:nth-child(3) {
  background: #9eaf89;
}
.mini-terminal div span {
  margin-left: auto;
  color: #b8a2bc;
  font-size: 8px;
}
.mini-terminal code > span {
  color: #e1b8f4;
}
.mini-terminal code > b {
  color: #b7d496;
  font-weight: 500;
}
.queue-demo {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: end;
  height: 143px;
  padding-bottom: 30px;
  margin-top: 15px;
}
.queue-demo img {
  width: 70px;
  margin: 0 -2px;
}
.queue-demo img:nth-child(2) {
  width: 85px;
}
.queue-demo span {
  position: absolute;
  bottom: 1px;
  background: var(--peach);
  font-size: 11px;
  padding: 6px 13px;
  border-radius: 9px;
}
.queue-demo b {
  margin-left: 15px;
  font-size: 10px;
  color: #a37547;
}
.shortcut-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 18px;
}
.shortcut-demo kbd {
  height: 62px;
  width: 62px;
  display: grid;
  place-items: center;
  font-size: 28px;
  border-radius: 12px;
  border-bottom-width: 5px;
  background: var(--bg);
  box-shadow: 0 5px 15px #8c5c7110;
}
.shortcut-demo span {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.family-section {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 55px 60px;
  margin: 0 auto;
  background: var(--lavender);
  border-radius: 28px;
  gap: 70px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.family-copy p:not(.eyebrow) {
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.9;
}
.family-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0;
}
.family-tabs button {
  border: 1px solid transparent;
  background: var(--surface);
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 8px;
  color: var(--muted);
}
.family-tabs button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 10px #8a50a024;
}
.family-showcase {
  text-align: center;
  position: relative;
}
.family-showcase > img {
  width: 185px;
  filter: drop-shadow(0 16px 10px #875a7520);
  animation: bob 6s ease-in-out infinite;
}
.family-showcase > p:first-of-type {
  font-family: Nunito;
  font-weight: 850;
  font-size: 24px;
}
.family-spark {
  position: absolute;
  left: 12%;
  top: 20%;
  font-size: 45px;
  color: #b78bca;
}
.family-variants {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.family-variants button {
  width: 57px;
  height: 60px;
  border: 1px solid transparent;
  background: var(--surface);
  padding: 4px 7px;
  border-radius: 12px;
}
.family-variants img {
  height: 48px;
  width: 40px;
}
.family-variants button[aria-pressed="true"] {
  border: 2px solid var(--accent);
  box-shadow: 0 3px 0 #a775bb33;
}
.family-caption {
  font-size: 10px;
  margin-top: 20px;
}
.docs-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.docs-promo > div > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 420px;
  font-size: 14px;
}
.docs-promo .button {
  margin-top: 26px;
}
.guide-links a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.guide-links a:first-child {
  border-top: 1px solid var(--line);
}
.guide-number {
  font-size: 12px;
  color: #b78bc8;
}
.guide-links strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.guide-links small {
  font-size: 11px;
  color: var(--muted);
}
.guide-links .icon {
  margin-left: auto;
  width: 18px;
  color: var(--accent);
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  padding-top: 20px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  font-size: 13px;
  padding: 0 25px 22px 0;
}
.closing {
  padding: 65px 30px 80px;
  text-align: center;
  background: linear-gradient(0deg, var(--lavender), transparent);
}
.closing img {
  width: 80px;
  margin-bottom: 12px;
}
.closing h2 {
  font-size: 39px;
  margin-bottom: 24px;
}
.site-footer {
  max-width: 1280px;
  margin: auto;
  padding: 45px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 35px;
}
.site-footer .brand {
  font-size: 26px;
}
.site-footer .brand-symbol {
  width: 31px;
  height: 33px;
}
.site-footer > p {
  font-size: 11px;
  line-height: 1.8;
}
.site-footer > div:not(.build-info) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  margin-left: auto;
}
.build-info {
  font-size: 10px;
  color: var(--muted);
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  line-height: 1.8;
}
.build-info span {
  opacity: 0.8;
}
.docs-layout {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 760px) 190px;
  gap: 50px;
  padding: 40px;
}
.docs-nav {
  position: sticky;
  top: 130px;
  align-self: start;
}
.docs-nav .eyebrow {
  margin-bottom: 16px;
}
.doc-search-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  border-radius: 8px;
  padding: 9px;
  width: 100%;
  margin-bottom: 28px;
}
.doc-search-button kbd {
  margin-left: auto;
}
.docs-nav h2 {
  font-family: Inter;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 23px 0 10px;
  color: var(--muted);
}
.docs-nav nav {
  display: grid;
  gap: 3px;
}
.docs-nav nav a {
  padding: 7px 11px;
  font-size: 12px;
  border-radius: 7px;
}
.docs-nav nav a:hover {
  background: var(--surface);
}
.docs-nav a[aria-current="page"] {
  background: var(--lavender);
  color: var(--accent);
  font-weight: 650;
}
.doc-mascot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.doc-mascot img {
  width: 48px;
}
.doc-mascot p {
  font-size: 11px;
}
.doc-main {
  min-width: 0;
  padding: 0 0 45px;
}
.doc-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 30px;
}
.prose h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 25px;
}
.prose h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 38px 0 16px;
  scroll-margin-top: 110px;
}
.prose h3 {
  font-size: 20px;
  margin: 28px 0 12px;
}
.prose p,
.prose li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.prose strong {
  color: var(--text);
  font-weight: 650;
}
.prose a,
.download-help a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  padding-left: 5px;
  margin-bottom: 9px;
}
.prose blockquote {
  margin: 25px 0;
  border-left: 3px solid var(--accent);
  background: var(--lavender);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
}
.prose blockquote p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}
.prose code,
.doc-source code {
  font-size: 0.85em;
  background: var(--lavender);
  padding: 3px 6px;
  border-radius: 5px;
  overflow-wrap: anywhere;
  color: var(--text);
}
.prose pre {
  position: relative;
  background: var(--dark);
  color: #f5e7f4;
  padding: 25px 18px;
  border-radius: 12px;
  overflow: auto;
  margin: 22px 0;
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
  white-space: pre;
}
.copy-code {
  border: 1px solid #846389;
  background: #4e3359;
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin: 25px 0;
}
.prose th,
.prose td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  min-width: 120px;
}
.prose th {
  background: var(--lavender);
}
.prose td {
  color: var(--muted);
}
.doc-next {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.doc-source {
  font-size: 10px;
  margin-top: 35px;
}
.toc {
  position: sticky;
  top: 130px;
  align-self: start;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toc > p {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 650;
  margin-bottom: 5px;
}
.toc a {
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.toc a:hover {
  color: var(--accent);
}
.docs-welcome {
  padding: 14px 0 35px;
}
.docs-welcome h1 {
  font-size: 46px;
  letter-spacing: -1.7px;
  margin-bottom: 24px;
}
.docs-welcome > p:last-child {
  font-size: 14px;
  max-width: 510px;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.docs-grid > a {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s;
}
.docs-grid > a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.docs-grid span {
  display: inline-flex;
  color: var(--accent);
  background: var(--lavender);
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.docs-grid h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.docs-grid p {
  font-size: 12px;
}
.download-page {
  text-align: center;
  min-height: 70vh;
}
.download-page h1 {
  margin-bottom: 25px;
}
.lead {
  font-size: 16px;
}
.access-note {
  max-width: 760px;
  text-align: left;
  background: var(--lavender);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 38px auto;
  padding: 22px 26px;
}
.access-note > strong {
  font-size: 14px;
}
.access-note p {
  font-size: 12px;
  margin-top: 7px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin: 40px 0 30px;
}
.download-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.download-grid h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.download-grid strong {
  font-size: 12px;
}
.download-grid p {
  font-size: 12px;
  margin: 15px 0 25px;
}
.download-grid .button {
  margin-top: auto;
  font-size: 12px;
}
.download-help {
  font-size: 12px;
}
dialog {
  width: 580px;
  max-width: calc(100% - 32px);
  max-height: 80vh;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  padding: 25px;
  box-shadow: 0 30px 100px #21102950;
}
dialog::backdrop {
  background: #27132d80;
  backdrop-filter: blur(4px);
}
.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.search-top h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
}
dialog label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.search-input {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 11px;
  border-radius: 10px;
}
.search-input input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  color: var(--text);
  font-size: 14px;
}
.search-input:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-input input:focus {
  outline: none;
}
#search-status {
  font-size: 11px;
  margin: 14px 0 5px;
}
#search-results {
  padding: 0;
  list-style: none;
  margin: 0;
  max-height: 35vh;
  overflow: auto;
}
#search-results a {
  display: block;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
#search-results a:hover {
  background: var(--lavender);
}
#search-results strong {
  display: block;
  font-size: 13px;
}
#search-results p {
  font-size: 11px;
}
.search-help {
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
}
.search-help kbd {
  margin-inline: 4px;
}
.error-page {
  text-align: center;
  padding: 100px 30px;
  min-height: 65vh;
}
.error-page img {
  width: 110px;
}
.error-page h1 {
  font-size: 42px;
  margin: 20px;
}
.error-page .button {
  margin-top: 25px;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 100px;
  }
  .hero-art {
    transform: translateX(20px) scale(1.04);
  }
}
@media (max-width: 1150px) {
  .nav-wrap {
    gap: 25px;
    padding: 0 28px;
  }
  .nav-wrap nav {
    gap: 18px;
  }
  .nav-actions kbd {
    display: none;
  }
  .hero {
    padding: 65px 30px;
    gap: 0;
  }
  .intro-band {
    margin-inline: 30px;
  }
  .intro-band > div {
    gap: 25px;
  }
  .family-section {
    margin-inline: 30px;
    padding: 45px;
    gap: 35px;
  }
  .docs-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 35px;
    padding: 35px 28px;
  }
  .toc {
    display: none;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-description {
    font-size: 14px;
  }
  .village-note {
    right: 0;
    padding: 11px;
    top: 3%;
  }
  .feature-card {
    padding: 24px 21px 0;
  }
  .docs-promo,
  .faq {
    gap: 50px;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 76px;
  }
  .nav-wrap {
    padding: 0 22px;
    gap: 15px;
  }
  .nav-wrap .brand {
    font-size: 29px;
  }
  .nav-wrap nav {
    gap: 15px;
    font-size: 11px;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-install {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 58px 28px 50px;
    gap: 30px;
    text-align: center;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-description {
    margin: 22px auto 0;
    max-width: 490px;
    font-size: 15px;
  }
  .hero-actions,
  .tiny-proof {
    justify-content: center;
  }
  .tiny-proof {
    margin-top: 26px;
  }
  .hero-art {
    max-width: 570px;
    width: 100%;
    margin: auto;
    transform: none;
    aspect-ratio: 1.2;
  }
  .art-caption {
    bottom: -14px;
  }
  .village-note {
    right: 10%;
    top: 8%;
  }
  .intro-band {
    padding: 25px 0;
    display: block;
    text-align: center;
  }
  .intro-band > div {
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
  }
  .intro-band span {
    font-size: 11px;
    gap: 7px;
  }
  .section {
    padding: 65px 28px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-card {
    padding: 22px 16px 0;
  }
  .feature-card h3 {
    font-size: 21px;
  }
  .feature-card > p {
    font-size: 11px;
  }
  .queue-demo img {
    width: 48px;
  }
  .queue-demo img:nth-child(2) {
    width: 60px;
  }
  .mini-terminal {
    font-size: 8px;
    padding-inline: 12px;
  }
  .shortcut-demo kbd {
    width: 45px;
    height: 52px;
    font-size: 22px;
  }
  .family-section {
    padding: 35px;
    margin-inline: 28px;
    gap: 20px;
  }
  .family-copy h2 {
    font-size: 35px;
  }
  .family-copy p:not(.eyebrow) {
    font-size: 12px;
  }
  .family-variants {
    gap: 7px;
  }
  .family-variants button {
    width: 48px;
    height: 53px;
  }
  .family-showcase > img {
    width: 150px;
  }
  .family-tabs button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .docs-promo,
  .faq {
    gap: 35px;
  }
  .docs-promo h2,
  .faq h2 {
    font-size: 34px;
  }
  .guide-links small {
    display: block;
    line-height: 1.6;
  }
  .guide-links a {
    gap: 12px;
    padding: 20px 0;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .download-grid article {
    display: block;
  }
  .download-grid .button {
    margin-top: 0;
  }
  .docs-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 24px;
    padding-inline: 22px;
  }
  .prose h1 {
    font-size: 31px;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-welcome h1 {
    font-size: 38px;
  }
  .doc-meta {
    font-size: 9px;
  }
  .doc-search-button kbd {
    display: none;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 70px;
  }
  .nav-wrap {
    padding: 0 18px;
  }
  .nav-wrap nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav-wrap nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .nav-actions {
    margin-left: auto;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .hero {
    padding: 45px 22px 40px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 360px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 24px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 13px 17px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .tiny-proof {
    margin-top: 22px;
  }
  .tiny-proof p {
    font-size: 10px;
    text-align: left;
  }
  .hero-art {
    margin-top: 8px;
  }
  .village-buddy {
    width: 94px;
  }
  .village-buddy img {
    width: 44px;
  }
  .village-buddy > span {
    font-size: 7px;
    padding: 3px 6px;
  }
  .buddy-working {
    left: 13%;
    top: 42%;
  }
  .buddy-resting {
    right: 8%;
    top: 34%;
  }
  .buddy-waiting {
    left: 43%;
    width: 50px;
  }
  .village-note {
    top: 2%;
    right: 3%;
    padding: 9px;
    gap: 7px;
    border-radius: 11px;
  }
  .village-note strong {
    font-size: 9px;
  }
  .village-note small {
    font-size: 8px;
  }
  .note-icon {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }
  .art-stars {
    font-size: 26px;
  }
  .art-stars span {
    left: 155px;
    font-size: 20px;
  }
  .art-caption {
    font-size: 8px;
  }
  .intro-band {
    margin: 15px 22px 0;
  }
  .intro-band p {
    font-size: 13px;
  }
  .intro-band > div {
    gap: 16px;
    flex-wrap: wrap;
  }
  .intro-band span {
    font-size: 10px;
  }
  .intro-band .icon {
    width: 16px;
  }
  .section {
    padding: 55px 22px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading > p:last-child {
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 25px 25px 0;
    min-height: 0;
  }
  .feature-card h3 {
    font-size: 25px;
  }
  .feature-card > p {
    font-size: 13px;
  }
  .mini-terminal {
    max-width: 320px;
    margin: 22px auto 0;
    font-size: 11px;
    padding: 18px;
    transform: rotate(-1deg);
  }
  .queue-demo {
    margin-top: 16px;
    height: 150px;
  }
  .queue-demo img {
    width: 75px;
  }
  .queue-demo img:nth-child(2) {
    width: 85px;
  }
  .shortcut-demo {
    margin: 25px 0 0;
    padding-bottom: 25px;
  }
  .shortcut-demo kbd {
    width: 60px;
    height: 60px;
  }
  .family-section {
    grid-template-columns: 1fr;
    text-align: center;
    margin-inline: 22px;
    padding: 35px 24px;
    gap: 30px;
    border-radius: 22px;
  }
  .family-tabs {
    justify-content: center;
  }
  .family-copy p:not(.eyebrow) {
    font-size: 13px;
  }
  .family-tabs button {
    font-size: 11px;
  }
  .family-showcase > img {
    width: 170px;
  }
  .family-variants button {
    width: 55px;
    height: 60px;
  }
  .family-variants {
    gap: 12px;
  }
  .family-spark {
    left: 10%;
  }
  .docs-promo,
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .docs-promo > div > p:not(.eyebrow) {
    font-size: 13px;
  }
  .faq {
    padding-top: 15px;
  }
  .faq summary {
    font-size: 12px;
  }
  .closing {
    padding: 40px 22px 60px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .site-footer {
    padding: 30px 22px;
    gap: 22px;
  }
  .site-footer > p {
    font-size: 10px;
  }
  .site-footer > div:not(.build-info) {
    width: 100%;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 10px;
  }
  .docs-layout {
    display: block;
    padding: 25px 22px;
  }
  .docs-nav {
    position: static;
    margin-bottom: 25px;
  }
  .docs-nav .eyebrow,
  .docs-nav h2,
  .docs-nav nav,
  .doc-mascot {
    display: none;
  }
  .doc-search-button {
    margin-bottom: 0;
    padding: 10px 13px;
  }
  .doc-main {
    padding: 0;
  }
  .doc-meta {
    gap: 8px;
    margin-bottom: 25px;
  }
  .prose h1 {
    font-size: 32px;
  }
  .prose p,
  .prose li {
    font-size: 13px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .docs-welcome h1 {
    font-size: 39px;
  }
  .docs-grid {
    gap: 12px;
  }
  .docs-grid > a {
    padding: 20px;
  }
  .doc-next {
    gap: 18px;
    align-items: start;
  }
  .doc-next a {
    font-size: 11px;
  }
  .download-page h1 {
    font-size: 43px;
    letter-spacing: -1.6px;
  }
  .download-page .lead {
    font-size: 13px;
  }
  .access-note {
    padding: 19px;
  }
  .download-grid {
    margin-top: 25px;
  }
  .download-help {
    font-size: 11px;
  }
  dialog {
    padding: 20px;
  }
  .search-top h2 {
    font-size: 23px;
  }
  .search-input input {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.language-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
