*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080d17;
  --bg2: #0d1424;
  --surface: #111c2e;
  --surface2: #162038;
  --border: #1e2e48;
  --border2: #253651;
  --text: #e8edf5;
  --text2: #8fa3c0;
  --text3: #546a87;
  --accent: #4f8ef7;
  --accent2: #6ba3ff;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 14px;
  --radius-sm: 8px;
  --sidebar-w: 260px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  position: relative;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 23, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.link-accent {
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-accent:hover,
.link-accent:focus-visible {
  color: var(--accent);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
}

.nav-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-sep {
  color: var(--border2);
}

.nav-pkg {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text2);
}

.btn-sm,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-sm {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.btn-ghost-sm,
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}

.btn-ghost-sm:hover,
.btn-ghost:hover {
  background: var(--surface2);
  color: var(--text);
}

.btn-accent-sm,
.btn-primary,
.btn-back {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
}

.btn-accent-sm:hover,
.btn-primary:hover,
.btn-back:hover {
  background: var(--accent2);
}

.btn-disabled {
  background: var(--surface2);
  color: var(--text3);
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid var(--border);
}

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79,142,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--accent2);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.search-wrap {
  position: relative;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  pointer-events: none;
  font-size: 0.9rem;
}

#search {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.15);
}

#search::placeholder {
  color: var(--text3);
}

.stats-bar {
  display: flex;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text3);
  letter-spacing: 0.04em;
}

.packages-section {
  padding: 2rem 0 6rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.4s ease both;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,142,247,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.status-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-weight: 500;
}

.status-stable {
  background: rgba(52,211,153,0.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
}

.status-preview {
  background: rgba(251,191,36,0.12);
  color: var(--amber);
  border: 1px solid rgba(251,191,36,0.25);
}

.status-planned {
  background: rgba(84,106,135,0.15);
  color: var(--text3);
  border: 1px solid var(--border);
}

.card-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-package {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--text3);
  margin-bottom: 0.9rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.meta-chip,
.key-badge,
.sidebar-group-label,
.breadcrumb,
.pre-label,
.cta-label {
  font-family: 'DM Mono', monospace;
}

.meta-chip {
  font-size: 0.68rem;
  color: var(--text3);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(79,142,247,0.08);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

.page-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text3);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--accent2);
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.page-desc {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.meta-chip.green {
  color: var(--green);
  border-color: rgba(52,211,153,0.3);
  background: rgba(52,211,153,0.07);
}

.meta-chip.amber {
  color: var(--amber);
  border-color: rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.07);
}

.layout {
  display: flex;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

.sidebar-group {
  margin-bottom: 1.75rem;
}

.sidebar-group-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 1.25rem;
  margin-bottom: 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  font-size: 0.83rem;
  color: var(--text2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}

.sidebar-link:hover {
  color: var(--text);
  background: var(--surface);
}

.sidebar-link.active {
  color: var(--accent2);
  border-left-color: var(--accent);
  background: rgba(79,142,247,0.06);
}

.sidebar-link .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 2.5rem;
  max-width: 900px;
}

.doc-section {
  margin-bottom: 3rem;
}

.doc-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-section h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.doc-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.6rem;
}

.doc-section p,
.doc-section li,
.feature-card p,
.roadmap-body p,
.callout {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.75;
}

.doc-section p {
  margin-bottom: 0.75rem;
}

.doc-section ul,
.doc-section ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.doc-section li {
  margin-bottom: 0.25rem;
}

.doc-section li strong {
  color: var(--text);
  font-weight: 600;
}

pre {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  position: relative;
}

pre code,
code {
  font-family: 'DM Mono', monospace;
  color: #c9d8f0;
}

pre code {
  font-size: 0.82rem;
  line-height: 1.7;
}

.pre-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.4rem;
}

code:not(pre code) {
  font-size: 0.82em;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--accent2);
}

.callout {
  display: flex;
  gap: 0.75rem;
  background: rgba(79,142,247,0.07);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.callout-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead {
  background: var(--surface);
}

th {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 500;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--surface);
}

td code {
  font-size: 0.78rem;
}

td:first-child {
  color: var(--accent2);
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.key-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.key-badge {
  font-size: 0.72rem;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  color: var(--text3);
  min-width: 1.5rem;
  text-align: center;
}

.key-label {
  font-size: 0.8rem;
  color: var(--text2);
}

.tree {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--text2);
}

.tree .dir {
  color: var(--text);
  font-weight: 500;
}

.tree .file {
  color: var(--accent2);
}

.tree .comment {
  color: var(--text3);
}

.sidebar-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  gap: 0.4rem;
}

.preview-banner {
  display: flex;
  gap: 1rem;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.22);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.preview-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.preview-banner-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.feature-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.feature-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.feature-card p {
  margin: 0;
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 0;
}

.roadmap-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.roadmap-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.roadmap-dot {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 1px;
}

.roadmap-dot.done {
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.4);
  color: #34d399;
}

.roadmap-dot.active {
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--amber);
}

.roadmap-dot.planned {
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text3);
}

.roadmap-body h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.roadmap-body p {
  margin: 0;
}

.coming-soon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 3rem 1.5rem;
}

.coming-soon {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.cs-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.cs-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cs-desc {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.planned-features {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.planned-features h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1rem;
}

.planned-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.planned-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.5;
}

.planned-item::before {
  content: '○';
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  flex-shrink: 0;
  margin-top: 1px;
}

.planned-item strong {
  color: var(--text);
  font-weight: 600;
}

.cs-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}

.btn-outline:hover {
  background: var(--surface2);
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .stats-bar {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sidebar {
    display: none;
  }

  .sidebar.open {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--bg);
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  .content {
    padding: 1.5rem;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
