:root {
  --bg: #0b0f19;
  --bg-alt: #0f1626;
  --surface: #151e32;
  --surface-hover: #1d2842;
  --border: #26334d;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #38bdf8;
  --success: #10b981;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.brand-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-nav a {
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-sm {
  padding: 6px 13px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}

/* Hero */
.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.12), transparent 52%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.pill-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
}

.install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  max-width: 560px;
}

.install-bar code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e2e8f0;
  overflow-x: auto;
}

.copy-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--surface-hover);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.proof-sep {
  opacity: 0.45;
}

/* Terminal Card */
.terminal-window {
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.terminal-body {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #e2e8f0;
}

/* Metrics Strip */
.metrics-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.metric-value {
  font-size: 1.15rem;
  color: var(--text);
  font-family: var(--font-mono);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-header h2,
.protocol-grid h2 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.section-header p,
.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.feature-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.feature-list li {
  margin-bottom: 4px;
}

/* Interactive Examples Tabs */
.examples-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.examples-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 12px;
  background: #0b101d;
  border-bottom: 1px solid var(--border);
}

.example-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.15s ease;
}

.example-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.example-tab.active {
  color: #fff;
  background: var(--surface);
  border-color: var(--border);
}

.example-panel {
  padding: 24px;
}

.hidden {
  display: none !important;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.pkg-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #93c5fd;
  margin-bottom: 4px;
}

.panel-meta h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.panel-meta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 720px;
}

.code-box {
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
}

.code-box pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Protocol & Lifecycle */
.protocol-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.wire-table-wrapper {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.wire-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--surface);
}

.wire-table th,
.wire-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.wire-table th {
  background: #0b101d;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.wire-table code {
  font-family: var(--font-mono);
  color: var(--accent);
}

.lifecycle-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lifecycle-steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lifecycle-steps strong {
  font-size: 0.95rem;
}

.lifecycle-steps span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.lifecycle-steps code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Docs / Spec Tables & Grids */
.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.example-code-wrap {
  background: #080b12;
  overflow: hidden;
}

.code-topbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.code-pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: #0b101d;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.muted {
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.card-flex {
  display: flex;
  flex-direction: column;
}

.card-flex p {
  flex: 1;
}

.card-footer {
  margin-top: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.callout-banner {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-left: 3px solid var(--primary);
}

.callout-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 6px;
  font-weight: 600;
}

.callout-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.exports-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.84rem;
}

.exports-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  margin-right: 4px;
}

.exports-strip code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 6px;
}

.exports-link {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.exports-link:hover {
  text-decoration: underline;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}

.package-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.package-header code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  color: #93c5fd;
}

.layer-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 999px;
}

.package-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 36px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-muted {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
}

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

@media (max-width: 960px) {
  .hero-grid,
  .protocol-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .packages-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
  .features-grid,
  .packages-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .panel-meta {
    flex-direction: column;
  }
}

/* Highlight.js integration inside terminal and code boxes */
.terminal-body code.hljs,
.code-box pre code.hljs,
.code-pre code.hljs {
  background: transparent;
  padding: 0;
}

/* Animated P2P Flow Diagram */
.flow-diagram {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr minmax(200px, 240px);
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 24px;
}

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 12px;
}

.flow-node strong {
  font-size: 0.98rem;
}

.flow-node span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flow-node-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.flow-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: dropspace-pulse 2.2s infinite ease-out;
}

.flow-pulse-delayed {
  animation-delay: 1.1s;
}

.flow-pipes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flow-lane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-lane-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: center;
}

.flow-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(56, 189, 248, 0.65), rgba(59, 130, 246, 0.25));
  overflow: hidden;
}

.flow-track-dashed {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.45) 0 8px,
    transparent 8px 16px
  );
}

.flow-packet {
  position: absolute;
  top: -3px;
  left: -18%;
  width: 18%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #60a5fa, #34d399);
  animation: dropspace-packet 2.4s linear infinite;
}

.packet-2 {
  animation-delay: 0.8s;
}

.packet-3 {
  animation-delay: 1.6s;
}

.flow-signal-dot {
  position: absolute;
  top: -3px;
  left: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  animation: dropspace-signal 3.6s ease-in-out infinite alternate;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.flow-step:hover,
.card:hover,
.feature-card:hover,
.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.45);
}

.card,
.feature-card,
.package-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.flow-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.flow-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@keyframes dropspace-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes dropspace-packet {
  0% {
    left: -18%;
  }
  100% {
    left: 105%;
  }
}

@keyframes dropspace-signal {
  0% {
    left: 4%;
  }
  100% {
    left: 94%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-pulse,
  .flow-packet,
  .flow-signal-dot {
    animation: none;
  }
  .flow-step:hover,
  .card:hover,
  .feature-card:hover,
  .package-card:hover {
    transform: none;
  }
}

/* Mobile Navigation & Responsive Overflow Hardening */
.nav-toggle,
.mobile-nav-toggle {
  display: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.hero-grid > *,
.protocol-grid > *,
.grid-3 > *,
.examples-grid > * {
  min-width: 0;
}

.terminal-window,
.code-box,
.wire-table-wrapper {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 960px) {
  .hero-grid,
  .protocol-grid,
  .grid-3,
  .flow-diagram,
  .flow-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 10px 0;
  }

  .nav-toggle,
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0 6px;
    border-top: 1px solid var(--border);
    order: 4;
  }

  .site-nav.open {
    display: flex;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .install-bar {
    flex-wrap: wrap;
  }

  .examples-tabs {
    flex-wrap: wrap;
  }
}
