/* ============================================================
   Multi-Tenant SaaS Architecture Hub — Main Stylesheet
   Color Scheme: Black & Gold Elegance
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #111827;
  --color-surface-2: #1a2438;
  --color-navy: #0f1f3d;
  --color-gold: #c9a84c;
  --color-gold-light: #e8c97a;
  --color-gold-dim: #a07830;
  --color-white: #f5f5f0;
  --color-text: #e2e2d8;
  --color-muted: #8a8880;
  --color-border: rgba(201, 168, 76, 0.2);
  --color-code-bg: #0d1520;
  --color-code-text: #d4d8e8;

  --header-height: 64px;
  --max-width: 1400px;
  --content-padding: clamp(1rem, 4vw, 3rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.2s ease;
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-content { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-light); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 2px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.logo-link:hover { text-decoration: none; opacity: 0.9; }

.primary-nav {}
.nav-list { list-style: none; display: flex; gap: 0.25rem; align-items: center; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-gold-light);
  text-decoration: none;
  border-color: var(--color-border);
}

.nav-link--active {
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-gold);
  border-color: rgba(201, 168, 76, 0.3);
}

.nav-icon { font-size: 1rem; line-height: 1; }
.nav-text { font-size: 0.85rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--content-padding) 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-logo { height: 32px; width: auto; }
.footer-logo-link:hover { opacity: 0.85; text-decoration: none; }
.footer-tagline { color: var(--color-muted); font-size: 0.85rem; margin-top: 0.75rem; max-width: 320px; }

.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav-heading {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}
.footer-nav-heading:hover { color: var(--color-gold-light); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem var(--content-padding);
  text-align: center;
}
.footer-copy { color: var(--color-muted); font-size: 0.8rem; }

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--content-padding) 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.8rem;
}

.breadcrumb-item { display: flex; align-items: center; gap: 0.25rem; color: var(--color-muted); }
.breadcrumb-link { color: var(--color-muted); transition: color var(--transition); }
.breadcrumb-link:hover { color: var(--color-gold); text-decoration: none; }
.breadcrumb-item--current span { color: var(--color-gold-light); }
.breadcrumb-sep { color: var(--color-muted); opacity: 0.5; font-size: 0.9rem; }

/* ── Homepage ────────────────────────────────────────────────── */
.home-page { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) var(--content-padding) clamp(3rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 31, 61, 0.8) 0%, transparent 70%),
              linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(15, 31, 61, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--color-border);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 40%, var(--color-white) 70%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dim) 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5); color: #0a0a0a; background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%); }

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.btn-secondary:hover { background: rgba(201, 168, 76, 0.1); border-color: var(--color-gold); color: var(--color-gold-light); }

.btn-icon { font-size: 1.1rem; line-height: 1; }

/* Feature Cards */
.features-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--content-padding);
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  text-align: center;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 168, 76, 0.4);
  text-decoration: none;
}

.card-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
}

.card-desc { color: var(--color-muted); font-size: 0.9rem; line-height: 1.65; flex: 1; margin-bottom: 1.5rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  transition: gap var(--transition), color var(--transition);
}

.card:hover .card-link { gap: 0.7rem; color: var(--color-gold-light); }
.card-link-arrow { font-size: 1rem; }

/* Sub-cards (links to sub-pages) */
.sub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }

.sub-card {
  display: block;
  background: rgba(15, 31, 61, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.sub-card:hover { background: rgba(201, 168, 76, 0.08); border-color: rgba(201, 168, 76, 0.35); color: var(--color-gold-light); text-decoration: none; transform: translateY(-2px); }
.sub-card-title { font-weight: 600; color: var(--color-gold); margin-bottom: 0.35rem; }
.sub-card-desc { color: var(--color-muted); font-size: 0.8rem; }

/* Intro Text Section */
.intro-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding) 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.intro-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.intro-block h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
}

.intro-block p { color: var(--color-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── Content Pages ───────────────────────────────────────────── */
.content-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem var(--content-padding) 5rem;
}

/* Typography */
.content-page h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-page h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.content-page h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.content-page h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-gold-light);
  margin: 2.25rem 0 0.85rem;
}

.content-page h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 1.75rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.content-page p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1rem;
}

.content-page ul, .content-page ol {
  margin: 0 0 1.25rem 1.5rem;
  line-height: 1.8;
}

.content-page li { margin-bottom: 0.4rem; color: var(--color-text); }
.content-page li > ul, .content-page li > ol { margin-top: 0.4rem; margin-bottom: 0.4rem; }

/* Inline code */
.content-page :not(pre) > code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.82em;
  background: rgba(13, 21, 32, 0.7);
  color: var(--color-gold-light);
  padding: 0.15em 0.45em;
  border-radius: 3px;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

/* Code blocks */
.content-page pre {
  position: relative;
  background: var(--color-code-bg) !important;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 168, 76, 0.2);
  margin: 1.5rem 0;
  overflow-x: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201, 168, 76, 0.08);
}

.content-page pre::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-navy) 60%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1px -1px 0;
}

.content-page pre code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--color-code-text);
  background: transparent !important;
  padding: 1.25rem 1.5rem;
  display: block;
  line-height: 1.7;
  border: none;
}

/* Copy button */
.copy-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(201, 168, 76, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  z-index: 2;
}

.copy-btn:hover { background: rgba(201, 168, 76, 0.25); color: var(--color-gold-light); border-color: var(--color-gold); }
.copy-btn.copied { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.4); }

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.content-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px;
}

.content-page thead { background: var(--color-navy); }
.content-page th {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  white-space: nowrap;
  border-bottom: 2px solid var(--color-gold-dim);
}

.content-page td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--color-text);
  vertical-align: top;
  line-height: 1.55;
}

.content-page tbody tr { background: var(--color-surface); }
.content-page tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.content-page tbody tr:hover { background: rgba(201, 168, 76, 0.04); }
.content-page tbody tr:last-child td { border-bottom: none; }

/* Mermaid diagrams — centered, responsive, scrollable on overflow */
.mermaid-wrapper {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Centre diagrams that are narrower than the column */
  text-align: center;
}

.mermaid-wrapper .mermaid {
  /* Inline-block so text-align: center works, but fills available width */
  display: inline-block;
  width: 100%;
  max-width: 100%;
  text-align: left; /* Reset for SVG internals */
}

/* Mermaid uses useMaxWidth (default true) which sets max-width on the SVG.
   Override to make the SVG scale up to fill its container while preserving
   the viewBox aspect ratio. The !important beats Mermaid's inline style. */
.mermaid svg {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Mermaid text colours on dark theme (applied by Mermaid's themeVariables,
   this is a backstop for any elements that escape the theme). */
.mermaid .label,
.mermaid .nodeLabel,
.mermaid text {
  fill: var(--color-text) !important;
  color: var(--color-text) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* Checkboxes */
.content-page ul.task-list { list-style: none; margin-left: 0; }
.task-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; }
.task-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--color-gold-dim);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: all var(--transition);
  position: relative;
}

.task-item input[type="checkbox"]:checked {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.task-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 12px;
  color: #0a0a0a;
  font-weight: 900;
}

.task-item input[type="checkbox"]:hover { border-color: var(--color-gold); }
.task-item label { cursor: pointer; line-height: 1.6; transition: all var(--transition); }
.task-item input:checked + label { text-decoration: line-through; color: var(--color-muted); }

/* FAQ / Accordions */
.faq-section {}
.accordion { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.6rem; }

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--color-surface);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
  gap: 1rem;
}

.accordion-header:hover { background: rgba(201, 168, 76, 0.08); color: var(--color-gold-light); }
.accordion-header[aria-expanded="true"] { background: rgba(201, 168, 76, 0.1); color: var(--color-gold-light); }

.accordion-chevron {
  font-size: 0.7rem;
  color: var(--color-gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(15, 31, 61, 0.3);
}

.accordion-body.open { max-height: 600px; }
.accordion-content { padding: 1.1rem 1.4rem 1.4rem; color: var(--color-text); line-height: 1.75; font-size: 0.95rem; }

/* Links inside content */
.content-page a {
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.35);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.content-page a:hover {
  color: var(--color-gold-light);
  text-decoration-color: var(--color-gold-light);
}

/* Blockquotes */
.content-page blockquote {
  border-left: 3px solid var(--color-gold);
  background: rgba(201, 168, 76, 0.05);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text);
  font-style: italic;
}

/* scroll-padding-top on html (line ~39) is the single source of truth for
   sticky-header anchor offset — no per-element scroll-margin-top needed. */

/* ── Sitemap page ─────────────────────────────────────────────── */
.sitemap-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--content-padding) 5rem;
}

/* ── Responsive — Tablet ─────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive — Mobile ─────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --header-height: 58px; }

  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem var(--content-padding);
    z-index: 999;
    backdrop-filter: blur(12px);
  }

  .primary-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-link { padding: 0.75rem 1rem; }

  .hero { padding: 3rem var(--content-padding) 2.5rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .sub-cards { grid-template-columns: 1fr; }
  .intro-section { grid-template-columns: 1fr; }

  .content-page h1 { font-size: 1.85rem; }
  .content-page h2 { font-size: 1.35rem; }
}

/* ── Prism token colors — dark code bg (#0d1520) ─────────────── */
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #6b7a99; font-style: italic; }
.token.punctuation { color: #8899bb; }
.token.namespace { opacity: 0.7; }
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { color: #e8c97a; }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #7dd3b0; }
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string { color: #a8d8ea; }
.token.atrule, .token.attr-value, .token.keyword { color: #c9a84c; font-weight: 600; }
.token.function, .token.class-name { color: #e8a070; }
.token.regex, .token.important, .token.variable { color: #f0b858; }
.token.bold { font-weight: bold; }
.token.italic { font-style: italic; }

/* ── FAQ accordion container ─────────────────────────────────── */
.faq-container { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0 2rem; }

