/* Artificial Labs Help Center & User Guides */

.guide-page {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-card: #141416;
  --bg-code: #0d0d0f;
  --border: rgba(255, 255, 255, 0.10);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-light: #71717a;
  --accent-green: #43b14b;
  --accent-cyan: #5ce1e6;
  --accent-purple: #a78bfa;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --mono: 'Fira Code', 'JetBrains Mono', monospace;
}

.guide-page .guide-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 80px;
}

.guide-page .guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.guide-page .guide-sidebar h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin: 0 0 18px;
}

.guide-page .guide-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-page .guide-sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-page .guide-sidebar a:hover,
.guide-page .guide-sidebar a.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.guide-page .guide-sidebar a.support-home {
  margin-bottom: 14px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.guide-page .guide-main {
  min-width: 0;
}

.guide-page .guide-main h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 14px;
  line-height: 1.1;
}

.guide-page .guide-main h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.guide-page .guide-main h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.guide-page .guide-main h4 {
  font-size: 1.05rem;
  margin: 22px 0 10px;
  color: var(--text-muted);
}

.guide-page .guide-main p,
.guide-page .guide-main li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.guide-page .guide-main a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-page .guide-main ul,
.guide-page .guide-main ol {
  padding-left: 22px;
  margin: 14px 0;
}

.guide-page .guide-main li {
  margin-bottom: 8px;
}

.guide-page .guide-main code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-code);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 5px;
}

.guide-page .guide-main pre {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 18px 0;
}

.guide-page .guide-main pre code {
  background: transparent;
  color: var(--text);
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.guide-page .guide-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.95rem;
}

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

.guide-page .guide-main th {
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.guide-page .guide-main td {
  color: var(--text-muted);
}

.guide-page .guide-main blockquote {
  border-left: 3px solid var(--accent-green);
  margin: 22px 0;
  padding: 14px 20px;
  background: rgba(67, 177, 75, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.guide-page .guide-main blockquote p {
  margin: 0;
}

.guide-page .toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0 40px;
}

.guide-page .toc h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.guide-page .toc ul {
  margin: 0;
  padding-left: 18px;
}

.guide-page .toc li {
  margin-bottom: 6px;
}

.guide-page .support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.guide-page .support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.guide-page .support-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 225, 230, 0.35);
}

.guide-page .support-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.guide-page .support-card p {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.guide-page .support-card .btn {
  width: 100%;
}

.guide-page .support-hero {
  text-align: center;
  padding: 64px 0 40px;
}

.guide-page .support-hero .eyebrow {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.guide-page .support-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 16px;
}

.guide-page .support-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.guide-page .cta-band {
  background: linear-gradient(135deg, rgba(92, 225, 230, 0.08), rgba(67, 177, 75, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 64px 0;
}

.guide-page .cta-band h2 {
  margin: 0 0 12px;
  border: none;
}

.guide-page .cta-band p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .guide-page .guide-shell {
    grid-template-columns: 1fr;
  }

  .guide-page .guide-sidebar {
    position: static;
  }

  .guide-page .support-grid {
    grid-template-columns: 1fr;
  }
}
