/* ══════════════════════════════════════════════════════════
   vibe-init docs — Apple-inspired design system
   Light / Dark theme with Apple HIG color philosophy
   ══════════════════════════════════════════════════════════ */

/* ── Dark theme (default) — Apple Dark Mode ──────────────── */
:root {
  /* Brand */
  --brand: #FF6D35;
  --brand-light: #FF8B5E;
  --brand-dark: #E65520;
  --brand-subtle: rgba(255, 109, 53, 0.12);

  /* Backgrounds — Apple dark layering */
  --bg: #000000;
  --bg-secondary: #1C1C1E;
  --bg-card: #2C2C2E;
  --bg-elevated: #3A3A3C;

  /* Text — Apple dark typography */
  --text: #F5F5F7;
  --text-secondary: #A1A1A6;
  --text-muted: #6E6E73;

  /* Borders */
  --border: #38383A;
  --border-light: #48484A;

  /* Code */
  --code-bg: #1C1C1E;
  --code-text: #D1D1D6;

  /* Semantic colors — Apple vibrant dark */
  --success: #30D158;
  --success-subtle: rgba(48, 209, 88, 0.12);
  --warning: #FFD60A;
  --warning-subtle: rgba(255, 214, 10, 0.12);
  --info: #64D2FF;
  --info-subtle: rgba(100, 210, 255, 0.12);
  --error: #FF453A;
  --error-subtle: rgba(255, 69, 58, 0.12);

  /* Shadows — Apple dark elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);

  /* Nav */
  --nav-bg: rgba(0, 0, 0, 0.72);

  /* Mermaid diagrams */
  --diagram-bg: #1C1C1E;
  --diagram-border: #38383A;
  --diagram-node: #2C2C2E;
  --diagram-node-text: #F5F5F7;
  --diagram-line: #636366;
  --diagram-cluster: #1C1C1E;
  --diagram-cluster-border: #48484A;

  color-scheme: dark;
}

/* ── Light theme — Apple Light Mode ──────────────────────── */
[data-theme="light"] {
  /* Brand */
  --brand: #E8511A;
  --brand-light: #FF6D35;
  --brand-dark: #CC4412;
  --brand-subtle: rgba(232, 81, 26, 0.07);

  /* Backgrounds — Apple light layering */
  --bg: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-elevated: #F5F5F7;

  /* Text — Apple light typography */
  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-muted: #AEAEB2;

  /* Borders */
  --border: #D2D2D7;
  --border-light: #E8E8ED;

  /* Code */
  --code-bg: #F5F5F7;
  --code-text: #1D1D1F;

  /* Semantic colors — Apple vibrant light */
  --success: #34C759;
  --success-subtle: rgba(52, 199, 89, 0.08);
  --warning: #FF9500;
  --warning-subtle: rgba(255, 149, 0, 0.08);
  --info: #007AFF;
  --info-subtle: rgba(0, 122, 255, 0.08);
  --error: #FF3B30;
  --error-subtle: rgba(255, 59, 48, 0.08);

  /* Shadows — Apple light elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Nav */
  --nav-bg: rgba(255, 255, 255, 0.72);

  /* Mermaid diagrams */
  --diagram-bg: #F5F5F7;
  --diagram-border: #D2D2D7;
  --diagram-node: #FFFFFF;
  --diagram-node-text: #1D1D1F;
  --diagram-line: #AEAEB2;
  --diagram-cluster: #F5F5F7;
  --diagram-cluster-border: #D2D2D7;

  color-scheme: light;
}

/* ── Reset ───────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.35s ease, color 0.35s ease;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.nav-logo {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--brand); }
.nav-cta {
  background: var(--brand) !important;
  color: white !important;
  padding: 0.4rem 1rem;
  border-radius: 980px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.1s !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta:hover { background: var(--brand-dark) !important; text-decoration: none !important; transform: scale(1.02); }

/* ── Theme toggle — Apple-style pill button ──────────────── */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 0.35rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.1s;
}
.theme-toggle:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-subtle);
  transform: scale(1.05);
}
.theme-toggle:active { transform: scale(0.95); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ── Mobile hamburger ────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}
.nav-toggle svg { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { width: fit-content; }
}

/* ── Shared layout ───────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; }
section { padding: 5rem 2rem; }

.section-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.5;
}

/* ── Terminal block ──────────────────────────────────────── */
.terminal {
  max-width: 720px;
  width: 100%;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-md);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FEBC2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: -apple-system, sans-serif;
}
.terminal-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.terminal-body .cmd { color: var(--text); }
.terminal-body .prompt { color: var(--brand); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .success { color: var(--success); display: flex; align-items: center; gap: 0.5rem; }
.terminal-body .info { color: var(--info); }

/* ── Install bar ─────────────────────────────────────────── */
.install-bar {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.875rem 1.25rem;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--text-secondary);
}
.install-bar code { color: var(--text); }
.install-bar .prompt { color: var(--brand); }
.copy-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.3rem 0.75rem;
  border-radius: 980px;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: -apple-system, sans-serif;
  font-weight: 500;
  transition: all 0.2s;
}
.copy-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-subtle); }

/* ── Buttons — Apple pill style ──────────────────────────── */
.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); transform: scale(1.02); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); }

/* ── Cards — Apple glass morphism ────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.card:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── Feature grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); letter-spacing: -0.01em; }
.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.5; }

/* ── Steps ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative; padding: 1.75rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  counter-increment: step;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step::before {
  content: counter(step);
  position: absolute; top: -10px; left: 18px;
  background: var(--brand); color: white;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.step p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; }

/* ── Command reference ───────────────────────────────────── */
.command-ref { display: grid; gap: 1.25rem; }
.command-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.25rem 1.75rem;
  display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.command-card:hover { border-color: var(--border-light); }
.command-name {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-weight: 600; font-size: 0.9375rem; color: var(--brand);
}
.command-desc { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.5; }
.command-flags { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.flag {
  font-family: 'JetBrains Mono', 'SF Mono', monospace; font-size: 0.7rem;
  padding: 0.15rem 0.5rem; background: var(--code-bg);
  border: 1px solid var(--border); border-radius: 980px; color: var(--text-muted);
}

/* ── Stack grid ──────────────────────────────────────────── */
.stack-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.875rem;
}
.stack-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.25rem; text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-sm);
}
.stack-item:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stack-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.6rem;
}
.stack-icon svg { width: 20px; height: 20px; }
.stack-item h4 { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.stack-item p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ── CTA section ─────────────────────────────────────────── */
.cta-section { text-align: center; padding: 7rem 2rem; position: relative; }
.cta-section::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand-subtle) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 2.5rem 2rem;
  text-align: center; color: var(--text-muted); font-size: 0.8125rem;
  transition: border-color 0.35s;
}
footer a { color: var(--brand); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Doc page layout ─────────────────────────────────────── */
.doc-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}
.doc-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.15;
}
.doc-page .subtitle {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.doc-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.02em;
}
.doc-page h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
  color: var(--text);
}
.doc-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}
.doc-page ul, .doc-page ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.doc-page li { margin-bottom: 0.4rem; line-height: 1.55; font-size: 0.9375rem; }
.doc-page code {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.8125em;
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  color: var(--brand-light);
}
.doc-page pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.doc-page pre code {
  background: none;
  padding: 0;
  color: var(--code-text);
}
.doc-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.doc-page th, .doc-page td {
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.doc-page th {
  color: var(--text);
  font-weight: 600;
  background: var(--bg-secondary);
}
.doc-page td { color: var(--text-secondary); }

/* ── Callout boxes ───────────────────────────────────────── */
.callout {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}
.callout p { margin-bottom: 0; }
.callout-info { background: var(--info-subtle); border-color: var(--info); }
.callout-warning { background: var(--warning-subtle); border-color: var(--warning); }
.callout-success { background: var(--success-subtle); border-color: var(--success); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 0.35rem; }

/* ── Page nav (prev/next) ────────────────────────────────── */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.page-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 180px;
}
.page-nav a:hover { border-color: var(--brand); transform: translateY(-1px); }
.page-nav .label { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.page-nav .title { color: var(--brand); font-weight: 600; font-size: 0.9375rem; }
.page-nav .next { text-align: right; margin-left: auto; }

/* ── Diagram containers ──────────────────────────────────── */
.diagram-container {
  background: var(--diagram-bg);
  border: 1px solid var(--diagram-border);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  transition: background 0.35s, border-color 0.35s;
}
.diagram-container pre.mermaid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.diagram-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ── Diagram tabs (landing page) ─────────────────────────── */
.diagram-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.diagram-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 980px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: -apple-system, sans-serif;
}
.diagram-tab:hover { border-color: var(--brand); color: var(--text); }
.diagram-tab.active { background: var(--brand); color: white; border-color: var(--brand); }
.diagram-panel { display: none; visibility: hidden; height: 0; overflow: hidden; }
.diagram-panel.active { display: block; visibility: visible; height: auto; overflow: visible; }
/* Render all panels visibly during init, then hide via JS */
.diagram-panel.mermaid-init { display: block; visibility: visible; height: auto; overflow: visible; position: absolute; left: -9999px; }
.diagram-panel .diagram-container {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.diagram-panel .diagram-container pre.mermaid {
  flex: 1;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .command-card { grid-template-columns: 1fr; gap: 0.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .page-nav { flex-direction: column; }
  .page-nav .next { text-align: left; }
  h2 { font-size: 1.75rem; }
  .doc-page h1 { font-size: 1.875rem; }
  section { padding: 3.5rem 1.5rem; }
}

/* ── Utility ─────────────────────────────────────────────── */
.icon-inline { display: inline-flex; align-items: center; vertical-align: middle; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Smooth transitions for theme switch ─────────────────── */
nav, .card, .feature-card, .step, .command-card, .stack-item,
.terminal, .install-bar, .diagram-container, footer,
.doc-page th, .doc-page td, .callout, .page-nav a,
.btn-secondary, .flag, .copy-btn, .theme-toggle,
.terminal-header, .doc-page pre, .doc-page code {
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
