.section {
  padding: 5rem 2rem;
  background: var(--ifm-background-surface-color);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.container.visible {
  opacity: 1;
  transform: translateY(0);
}

.label {
  font-family: var(--ifm-heading-font-family);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ifm-color-primary);
  margin-bottom: 0.75rem;
  text-align: center;
}

.heading {
  font-family: var(--ifm-heading-font-family);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1.25rem;
}

.description {
  font-size: 1rem;
  color: var(--ifm-font-color-secondary);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Terminal chrome */
.terminalWrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.5rem;
}

[data-theme='dark'] .terminalWrapper {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.terminalHeader {
  background: #2d2d2d;
  padding: 0;
  display: flex;
  align-items: stretch;
}

[data-theme='dark'] .terminalHeader {
  background: #1c1c1e;
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
}

/* Tabs — terminal app style */
.tabs {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-x: auto;
}

.tab {
  background: transparent;
  border: none;
  padding: 0.55rem 1rem;
  font-family: var(--ifm-font-family-monospace);
  font-size: 0.8rem;
  color: #777;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.tab:hover {
  color: #bbb;
  background: rgba(255, 255, 255, 0.04);
}

.tabActive {
  color: #e6edf3;
  background: #0d1117;
  border-bottom-color: #06d6f0;
}

[data-theme='dark'] .tabActive {
  background: #090d12;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dotRed {
  background: #ff5f57;
}

.dotYellow {
  background: #febc2e;
}

.dotGreen {
  background: #28c840;
}

.terminalBody {
  background: #0d1117;
  padding: 1.5rem;
  font-family: var(--ifm-font-family-monospace);
  font-size: 0.875rem;
  line-height: 1.6;
}

[data-theme='dark'] .terminalBody {
  background: #090d12;
}

.terminalLine {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

.terminalSpacer {
  height: 0.75rem;
}

.prompt {
  color: #06d6f0;
  font-weight: 700;
  white-space: pre;
}

.command {
  color: #e6edf3;
}

.output {
  color: #8b949e;
  padding-left: 0;
}

.annotation {
  color: #06d6f0;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 0.75rem;
}

.jsonBrace {
  color: #e6edf3;
}

.jsonKey {
  color: #06d6f0;
}

.jsonColon {
  color: #e6edf3;
}

.jsonNumber {
  color: #f59e0b;
}

.jsonComma {
  color: #e6edf3;
}

/* Code display — Monokai-inspired */
.codeLine {
  line-height: 1.6;
}

.codeText {
  color: #f8f8f2;
}

.codeKeyword {
  color: #f92672;
}

.codeComment {
  color: #75715e;
  font-style: italic;
}

.codeString {
  color: #e6db74;
}

.codeFunction {
  color: #a6e22e;
}

.codeType {
  color: #66d9ef;
  font-style: italic;
}

.codeNumber {
  color: #ae81ff;
}

.codeOperator {
  color: #f92672;
}

