@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('./dm-sans-latin-wght-normal.woff2') format('woff2');
}

:root { --sidebar-width: 240px; --topbar-height: 56px; }
* { box-sizing: border-box; }
html { background: var(--background); color-scheme: light; }
html.dark { color-scheme: dark; }
body { margin: 0; color: var(--foreground); font: 14px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
svg, img { flex-shrink: 0; }
:is(a, button):focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2 { margin: 0; font-family: var(--font-wordmark); font-weight: 600; }
.app-shell { min-height: 100vh; min-height: 100svh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 20px 12px 16px; background: var(--sidebar); border-right: 1px solid var(--sidebar-border); }
.brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px; margin-bottom: 36px; text-decoration: none; }
.brand > span { font: 600 20px/1 var(--font-wordmark); letter-spacing: -.4px; }
.open-word { padding-left: 5px; font: 400 13px/1 var(--font-sans); letter-spacing: 0; color: var(--muted-foreground); }
.sidebar-label { margin: 0 10px 8px; color: var(--muted-foreground); font-size: 12px; }
.nav-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 0 10px; margin-bottom: 2px; border-radius: 8px; font-size: 13px; color: var(--muted-foreground); text-decoration: none; }
.nav-item:hover { color: var(--foreground); background: var(--secondary); }
.nav-active { color: var(--foreground); background: var(--secondary); font-weight: 500; }
.sidebar-bottom { margin-top: auto; padding: 16px 10px 0; color: var(--muted-foreground); font-size: 12px; }
.workspace { width: calc(100% - var(--sidebar-width)); min-width: 0; margin-left: var(--sidebar-width); }
.topbar { height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px; border-bottom: 1px solid var(--border); }
.demo-status { display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 12px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-foreground); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; color: var(--muted-foreground); background: transparent; }
.icon-button:hover { color: var(--foreground); background: var(--secondary); }
.sun-icon, .dark .moon-icon { display: none; }
.dark .sun-icon { display: block; }
.mobile-brand, .mobile-credit { display: none; }
.main-content { max-width: 856px; margin: 0 auto; padding: 76px 32px 40px; }
.eyebrow { margin: 0 0 10px; color: var(--muted-foreground); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.8px; }
.intro { max-width: 49ch; margin: 16px 0 0; color: var(--muted-foreground); font-size: 15px; line-height: 1.65; }
.download-card { margin-top: 32px; padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); scroll-margin-top: 24px; }
.release-heading { display: flex; align-items: center; gap: 14px; }
.release-heading .eyebrow { margin-bottom: 3px; }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.4px; }
.release-description { max-width: 52ch; margin: 20px 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.65; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 10px 16px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: var(--primary-foreground); font-size: 13px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.button-primary:hover { background: color-mix(in srgb, var(--primary) 85%, var(--background)); }
.repository { margin: 12px 0 0; color: var(--muted-foreground); font-size: 12px; }
.page-footer { margin-top: 24px; color: var(--muted-foreground); font-size: 12px; }
.page-footer p { margin: 0; }
@media (max-width: 700px) {
  .sidebar { display: none; }
  .workspace { width: 100%; margin-left: 0; }
  .topbar { padding: 0 20px; gap: 8px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--font-wordmark); text-decoration: none; }
  .demo-status { margin-left: auto; font-size: 11px; }
  .demo-status .status-dot { display: none; }
  .icon-button { width: 32px; height: 36px; }
  .main-content { padding: 48px 20px 32px; }
  .desktop-break { display: none; }
  h1 { max-width: 23ch; font-size: 28px; }
  .intro { font-size: 14px; }
  .download-card { margin-top: 28px; padding: 22px; }
  .button-primary { width: 100%; }
  .page-footer { display: flex; flex-direction: column; gap: 8px; }
  .mobile-credit { display: inline; }
}
@media (max-width: 360px) {
  .topbar { padding: 0 14px; }
  .mobile-brand { font-size: 14px; gap: 6px; }
  .main-content { padding-inline: 16px; }
  .download-card { padding: 18px; }
}
