/* ================================================================
   Gubbins Documentation — main.css
   Dark theme, modern documentation layout
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  --bg-primary:    #0d1117;
  --bg-secondary:  #161b22;
  --bg-tertiary:   #21262d;
  --bg-hover:      #2d333b;
  --border:        #30363d;
  --border-subtle: #21262d;

  --text:          #e6edf3;
  --text-muted:    #8b949e;
  --text-subtle:   #6e7681;

  --accent:        #06b6d4;
  --accent-hover:  #22d3ee;
  --accent-bg:     rgba(6, 182, 212, 0.08);
  --accent-border: rgba(6, 182, 212, 0.3);

  --green:         #3fb950;
  --green-bg:      rgba(63, 185, 80, 0.08);
  --purple:        #a371f7;
  --purple-bg:     rgba(163, 113, 247, 0.08);
  --orange:        #d29922;
  --orange-bg:     rgba(210, 153, 34, 0.08);
  --red:           #f85149;
  --red-bg:        rgba(248, 81, 73, 0.08);

  --nav-height:    64px;
  --sidebar-width: 240px;
  --content-max:   860px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow:     0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.6);
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-tertiary);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
  border: none;
  font-size: 0.875rem;
}

pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  position: relative;
}

ul, ol {
  padding-left: 1.5rem;
}
li {
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ----------------------------------------------------------------
   Navigation Bar
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text) !important;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand:hover {
  color: var(--text) !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-tertiary);
}

.nav-spacer {
  flex: 1;
}

.nav-external {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-external a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nav-external a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-bg);
}

.nav-version {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 400;
  margin-left: -0.25rem;
}

/* ----------------------------------------------------------------
   Page Layout — Docs
   ---------------------------------------------------------------- */
.docs-layout {
  display: flex;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  padding: 1.5rem 0;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  background: var(--bg-primary);
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.sidebar-section {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
}
.sidebar-nav li {
  margin: 0;
}
.sidebar-nav a {
  display: block;
  padding: 0.3rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  border-left: 2px solid transparent;
}
.sidebar-nav a:hover {
  color: var(--text);
  background: var(--bg-tertiary);
}
.sidebar-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-bg);
}

.sidebar-nav .sub-nav {
  margin-left: 0.75rem;
}
.sidebar-nav .sub-nav a {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
}

/* Main content */
.docs-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2.5rem 2rem 4rem;
  max-width: calc(var(--sidebar-width) + var(--content-max) + 4rem);
}

.docs-content-inner {
  max-width: var(--content-max);
}

/* ----------------------------------------------------------------
   Page Layout — Full (home page)
   ---------------------------------------------------------------- */
.full-layout {
  padding-top: var(--nav-height);
}

/* ----------------------------------------------------------------
   Hero Section
   ---------------------------------------------------------------- */
.hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-install {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.hero-install:hover {
  border-color: var(--accent);
}
.hero-install .prompt {
  color: var(--accent);
  user-select: none;
}
.hero-install .copy-btn {
  color: var(--text-subtle);
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  background: none;
}
.hero-install .copy-btn:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0d1117;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0d1117;
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  color: var(--accent);
}

/* ----------------------------------------------------------------
   Features Grid
   ---------------------------------------------------------------- */
.features {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
}
.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-icon.cyan   { background: var(--accent-bg);  border: 1px solid var(--accent-border); }
.feature-icon.green  { background: var(--green-bg);   border: 1px solid rgba(63, 185, 80, 0.3); }
.feature-icon.purple { background: var(--purple-bg);  border: 1px solid rgba(163, 113, 247, 0.3); }
.feature-icon.orange { background: var(--orange-bg);  border: 1px solid rgba(210, 153, 34, 0.3); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   Quick Start / Example Section
   ---------------------------------------------------------------- */
.quickstart {
  padding: 3rem 2rem 4rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quickstart-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .quickstart-inner {
    grid-template-columns: 1fr;
  }
}

.quickstart-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.quickstart-text p {
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   Docs Navigation Cards
   ---------------------------------------------------------------- */
.docs-nav-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.docs-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.docs-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  text-decoration: none;
}

.docs-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.25rem;
}

.docs-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.docs-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.docs-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  flex: 1;
}

.docs-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-tertiary);
}

/* ----------------------------------------------------------------
   Docs Page — Page Header
   ---------------------------------------------------------------- */
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header .namespace-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.625rem;
}

.page-header p {
  font-size: 1rem;
  max-width: 600px;
}

/* ----------------------------------------------------------------
   Class / Method Cards
   ---------------------------------------------------------------- */
.class-section {
  margin-bottom: 3.5rem;
}

.class-section:target .class-header {
  background: var(--accent-bg);
  border-color: var(--accent-border);
}

.class-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}

.class-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.class-title code {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
  padding: 0;
}

.class-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.badge-class    { background: var(--purple-bg); color: var(--purple); border: 1px solid rgba(163,113,247,0.3); }
.badge-interface{ background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-model    { background: var(--green-bg);  color: var(--green);  border: 1px solid rgba(63,185,80,0.3); }
.badge-static   { background: var(--orange-bg); color: var(--orange); border: 1px solid rgba(210,153,34,0.3); }
.badge-disposable { background: var(--red-bg);  color: var(--red);    border: 1px solid rgba(248,81,73,0.3); }

.class-body {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1.5rem;
}

.class-desc {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.class-note {
  background: var(--orange-bg);
  border: 1px solid rgba(210, 153, 34, 0.3);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--orange);
}
.class-note strong {
  color: var(--orange);
}

/* Method / Constructor sections within a class */
.method-group {
  margin-bottom: 2rem;
}

.method-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.method-entry {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}
.method-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.method-sig {
  margin-bottom: 0.75rem;
}
.method-sig .method-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
}
.method-sig .method-name code {
  background: none;
  border: none;
  color: var(--accent);
  padding: 0;
  font-size: 1rem;
}

.method-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Sub-headings inside method entries */
.sub-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

/* ----------------------------------------------------------------
   Tables
   ---------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead {
  background: var(--bg-tertiary);
}

th {
  text-align: left;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.5;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: var(--bg-hover);
}

td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}

td strong {
  color: var(--text);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   Highlight.js overrides
   ---------------------------------------------------------------- */
.hljs {
  background: var(--bg-secondary) !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  overflow-x: auto;
}

/* Override pre wrapping hljs */
pre.hljs-pre {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* ----------------------------------------------------------------
   Section Anchors
   ---------------------------------------------------------------- */
.anchor-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.anchor-heading a {
  opacity: 0;
  color: var(--text-subtle);
  font-size: 0.875em;
  transition: opacity 0.15s;
}
.anchor-heading:hover a {
  opacity: 1;
}

/* ----------------------------------------------------------------
   Info / Tip Callouts
   ---------------------------------------------------------------- */
.callout {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  border-left: 3px solid;
}
.callout p {
  font-size: 0.875rem;
  margin: 0;
}
.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.callout-info {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}
.callout-info p { color: color-mix(in srgb, var(--accent) 80%, var(--text)); }

.callout-tip {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green);
}
.callout-tip p { color: color-mix(in srgb, var(--green) 70%, var(--text)); }

.callout-warning {
  background: var(--orange-bg);
  border-color: var(--orange);
  color: var(--orange);
}
.callout-warning p { color: color-mix(in srgb, var(--orange) 80%, var(--text)); }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.8rem;
}
.footer a {
  color: var(--text-muted);
}
.footer a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1rem;
    gap: 1rem;
  }
  .nav-links {
    display: none;
  }

  .sidebar {
    display: none;
  }

  .docs-content {
    margin-left: 0;
    padding: 1.5rem 1rem 3rem;
  }

  .docs-content-inner {
    max-width: 100%;
  }

  .quickstart-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .features,
  .docs-nav-section {
    padding: 2.5rem 1rem;
  }

  table {
    font-size: 0.8rem;
  }
}

/* ----------------------------------------------------------------
   Utility classes
   ---------------------------------------------------------------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.font-mono   { font-family: var(--font-mono); }
