/* ============================================
   Docs hero
   ============================================ */
.docs-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 56px 0 64px;
}
.docs-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.docs-hero-sub {
  color: #B7C4D6;
  max-width: 560px;
  font-size: 1.02rem;
}

/* ============================================
   Docs layout: sidebar + content
   ============================================ */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 88px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 32px;
}
.docs-nav-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.docs-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--border);
}
.docs-nav a {
  display: block;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.docs-nav a:hover {
  color: var(--text-dark);
}
.docs-nav a:focus-visible {
  outline-offset: -2px;
}

.docs-content {
  min-width: 0;
}

.docs-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.docs-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.docs-section h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.docs-section > p {
  margin-bottom: 18px;
}

.docs-os-list {
  margin-top: 4px;
  margin-bottom: 22px;
}

/* ============================================
   Spec grid (hardware requirements)
   ============================================ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.spec-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.spec-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================
   Callouts
   ============================================ */
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  margin-top: 16px;
}
.callout p {
  color: inherit;
  font-size: 0.92rem;
  margin: 0;
}
.callout-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.callout-warning {
  background: #FBF2E4;
  border-left-color: #C98A1F;
  color: #6B4C12;
}
.callout-warning .callout-icon { color: #C98A1F; }

.callout-tip {
  background: var(--blue-accent-light);
  border-left-color: var(--blue-accent);
  color: var(--blue-accent-dark);
}
.callout-tip .callout-icon { color: var(--blue-accent); }

.callout-note {
  background: var(--bg-alt);
  border-left-color: var(--border-strong, #B9C2CE);
  color: var(--text-muted);
}
.callout-note .callout-icon { color: var(--text-muted); }

/* ============================================
   Docs footer nav
   ============================================ */
.docs-footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }
  .docs-nav {
    position: static;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .docs-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-left: none;
    gap: 8px;
    padding-bottom: 4px;
  }
  .docs-nav a {
    white-space: nowrap;
    border-left: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    margin-left: 0;
  }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .docs-hero { padding: 44px 0 48px; }
}
