.sitebar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(4vw, 16px); border-bottom: 1px solid var(--line); }
.sitebar { position: sticky; top: 0; z-index: 5; background: var(--surface); }
.sitebar nav { display: flex; gap: 16px; }
.sitebar nav a, #site-menu a, .foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sitebar nav a { color: var(--muted); font-size: .9375rem; }
.sitebar nav a[aria-current] { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.home { width: min(1152px, 92%); margin: auto; }
.home > section { margin: clamp(40px, 7vw, 88px) 0; }
.home section > p { max-width: 66ch; color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 6vw, 96px); padding: 16px 0 24px; }
.hero h1 { font-size: clamp(2.125rem, 5vw, 3.5rem); margin: 16px 0; line-height: 1.17; }
.hero h1 span { color: var(--primary); }
.hero > div > p:not(.kicker) { font-size: 1.125rem; max-width: 30em; color: var(--muted); margin-bottom: 24px; }
.kicker { font-size: .875rem; letter-spacing: .04em; font-weight: 650; color: var(--muted); }
.demo-wrap { position: relative; isolation: isolate; padding: 16px 12px 16px 0; }
.demo-wrap::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 14px 14px; border-radius: var(--r3); }
.demo-wrap::after { content: ""; position: absolute; z-index: -1; inset: 24px 0 6px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r3); }
.hero article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(16px, 3vw, 32px); box-shadow: var(--s2); }
.hero article h2 { font-size: 1.5rem; }
.demo-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; font-size: .875rem; color: var(--primary); }
.demo-paper { background: var(--surface-2); border: 1px solid var(--line); padding: 16px; border-radius: var(--r2); margin: 16px 0; }
.demo-paper h3 { font-size: 1.125rem; }
.demo-paper .badge { margin-bottom: 8px; }
.home-features { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 0; color: var(--muted); font-size: .875rem; list-style: none; }
.home-features li { display: flex; align-items: center; gap: 6px; }
.home-features svg.lucide { color: var(--primary); width: 16px; height: 16px; }
.scenario-icon { border-radius: 10px; padding: 8px; margin-bottom: 12px; display: inline-flex; }
.section-surface { background: var(--surface); border-radius: var(--r3); padding: clamp(16px, 3vw, 32px); }
.home table { border-collapse: collapse; width: 100%; text-align: left; }
.home th, .home td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.home th { background: var(--soft); }
.home tr:hover { background: var(--surface-2); }
.home td:first-child { width: 28%; }
.home details { margin-bottom: 8px; }
.home details > p { margin-top: 12px; }
.home details summary { width: 100%; justify-content: flex-start; border-color: transparent; padding-inline: 0; text-align: start; }
.home details summary:hover { color: var(--primary); background: transparent; }
.prose { max-width: 820px; padding: 40px 0; }
.prose > section { margin: 16px 0; }
#mobile-menu { display: none; }
#site-menu[open] { display: grid; align-content: start; gap: 16px; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
.foot { margin-top: 48px; background: var(--soft); flex-wrap: wrap; }
@media (max-width: 760px) {
  .sitebar { gap: 8px; }
  .sitebar nav { display: none; }
  #mobile-menu { display: inline-flex; }
  .sitebar .brand { margin-right: auto; font-size: 1.125rem; }
  .sitebar .brand img { width: 28px; }
  .sitebar .btn { padding: 8px; }
  .hero { grid-template-columns: 1fr; }
  .home { width: calc(100% - 32px); }
}