/* schemadrawer.com - site styles on top of Bootstrap 5.3 */

:root {
  color-scheme: light;
  --sd-navy: #0b1020;
  --sd-navy-2: #101a33;
  --sd-ink: #0f172a;
  --sd-body: #1f2937;
  --sd-muted: #5b6474;
  --sd-primary: #3b5bdb;
  --sd-primary-dark: #2f4ac0;
  --sd-primary-soft: #eef2ff;
  --sd-cyan: #22d3ee;
  --sd-violet: #7c3aed;
  --sd-surface: #f6f8fc;
  --sd-border: #e3e8f1;
  --sd-code-bg: #0f172a;
  --sd-radius: 14px;
  --sd-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --sd-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sd-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bs-body-font-family: var(--sd-font);
  --bs-body-color: var(--sd-body);
  --bs-body-bg: #ffffff;
  --bs-link-color: var(--sd-primary);
  --bs-link-color-rgb: 59, 91, 219;
  --bs-link-hover-color: var(--sd-primary-dark);
  --bs-link-hover-color-rgb: 47, 74, 192;
  --bs-primary: var(--sd-primary);
  --bs-primary-rgb: 59, 91, 219;
  --bs-border-color: var(--sd-border);
  --bs-font-monospace: var(--sd-mono);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: #fff;
  color: var(--sd-body);
  font-family: var(--sd-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  color: var(--sd-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1, .h1 { font-weight: 800; }
.text-muted { color: var(--sd-muted) !important; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn, .nav-link, .navbar-brand, .card a.stretched-link { text-decoration: none; }
.btn:hover { text-decoration: none; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--sd-ink); color: #fff; padding: .5rem .75rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid rgba(59, 91, 219, .55); outline-offset: 2px; }

/* Buttons */
.btn { border-radius: 10px; font-weight: 600; padding: .6rem 1.1rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn-primary {
  --bs-btn-bg: var(--sd-primary);
  --bs-btn-border-color: var(--sd-primary);
  --bs-btn-hover-bg: var(--sd-primary-dark);
  --bs-btn-hover-border-color: var(--sd-primary-dark);
  --bs-btn-active-bg: var(--sd-primary-dark);
  --bs-btn-active-border-color: var(--sd-primary-dark);
  --bs-btn-disabled-bg: var(--sd-primary);
  --bs-btn-disabled-border-color: var(--sd-primary);
  box-shadow: 0 8px 20px -10px rgba(59, 91, 219, .9);
}
.btn-outline-primary {
  --bs-btn-color: var(--sd-primary);
  --bs-btn-border-color: #c7d0f2;
  --bs-btn-hover-bg: var(--sd-primary-soft);
  --bs-btn-hover-color: var(--sd-primary-dark);
  --bs-btn-hover-border-color: #b3bfee;
  --bs-btn-active-bg: var(--sd-primary-soft);
  --bs-btn-active-color: var(--sd-primary-dark);
  --bs-btn-active-border-color: #b3bfee;
}
.btn-ghost-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .28);
  --bs-btn-hover-bg: rgba(255, 255, 255, .1);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: rgba(255, 255, 255, .5);
  --bs-btn-active-bg: rgba(255, 255, 255, .14);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: rgba(255, 255, 255, .5);
}

/* Navbar */
.site-nav {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transition: box-shadow .2s ease;
}
.site-nav.is-scrolled { box-shadow: 0 6px 24px -16px rgba(15, 23, 42, .35); }
.site-nav .navbar-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--sd-ink); font-size: 1.15rem; }
.site-nav .navbar-brand .brand-mark { width: 30px; height: 30px; }
.site-nav .nav-link { color: #334155; font-weight: 500; padding: .5rem .8rem; border-radius: 8px; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--sd-ink); background: var(--sd-surface); }
.site-nav .nav-link.active { color: var(--sd-primary); }
.site-nav .btn { padding: .45rem .95rem; }
.site-nav .navbar-toggler { border: 0; padding: .25rem .5rem; }
.site-nav .navbar-toggler:focus { box-shadow: none; outline: 3px solid rgba(59, 91, 219, .55); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 560px at 8% -20%, rgba(59, 91, 219, .65), transparent 62%),
    radial-gradient(900px 520px at 95% 0%, rgba(34, 211, 238, .30), transparent 60%),
    radial-gradient(700px 400px at 60% 110%, rgba(124, 58, 237, .30), transparent 60%),
    linear-gradient(180deg, var(--sd-navy) 0%, var(--sd-navy-2) 100%);
  padding: 5.5rem 0 4.5rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.06; margin-bottom: 1.1rem; }
.hero h1 .accent { background: linear-gradient(90deg, #8fb3ff 0%, var(--sd-cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.2rem; max-width: 40rem; }
.hero .eyebrow { color: #a5b4fc; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-facts .bi { color: var(--sd-cyan); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sd-primary); margin-bottom: .75rem;
}

/* Framed "window" for screenshots and diagrams */
.window {
  background: #fff; border-radius: var(--sd-radius); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(2, 6, 23, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #f1f4fa; border-bottom: 1px solid var(--sd-border); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dce8; display: inline-block; }
.window-bar i:nth-child(1) { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar .window-title { margin-left: .5rem; font-size: .8rem; color: var(--sd-muted); font-family: var(--sd-mono); }
.window-body { padding: 1rem; background: #fff; }
.window-body img { display: block; width: 100%; height: auto; }
.window.light { box-shadow: var(--sd-shadow); border: 1px solid var(--sd-border); }

/* Terminal mockup */
.terminal {
  background: #0b1020; color: #dbe4ff; border-radius: var(--sd-radius);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px -30px rgba(2, 6, 23, .8);
  font-family: var(--sd-mono); font-size: .82rem; line-height: 1.6;
  overflow: hidden;
}
.terminal .window-bar { background: rgba(255, 255, 255, .04); border-bottom-color: rgba(255, 255, 255, .08); }
.terminal .window-bar .window-title { color: rgba(255, 255, 255, .5); }
.terminal pre { margin: 0; padding: 1rem 1.15rem; background: transparent; color: inherit; font-size: inherit; overflow-x: auto; }
.terminal .p { color: var(--sd-cyan); }
.terminal .c { color: #7c8db5; }
.terminal .o { color: #a7f3d0; }
.terminal .k { color: #c4b5fd; }

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--sd-surface); }
.section-dark { background: linear-gradient(180deg, var(--sd-navy-2), var(--sd-navy)); color: rgba(255, 255, 255, .85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #a5b4fc; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.section-head p { font-size: 1.1rem; color: var(--sd-muted); margin-bottom: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }

/* Cards */
.feature-card {
  height: 100%; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius);
  padding: 1.5rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sd-shadow); border-color: #d3dbf0; }
.feature-card h3 { font-size: 1.1rem; margin: .9rem 0 .5rem; }
.feature-card p { color: var(--sd-muted); margin-bottom: 0; font-size: .97rem; }
.icon-box {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sd-primary), var(--sd-violet)); color: #fff; font-size: 1.25rem;
  box-shadow: 0 10px 20px -12px rgba(59, 91, 219, .9);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sd-primary-soft); color: var(--sd-primary); font-weight: 800;
}

.tool-card {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: #fff; border: 1px solid var(--sd-border); border-radius: 12px; padding: .85rem 1rem; height: 100%;
  color: var(--sd-ink); font-weight: 600; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tool-card:hover { text-decoration: none; border-color: #c7d0f2; box-shadow: var(--sd-shadow); transform: translateY(-2px); color: var(--sd-primary-dark); }
.tool-card .badge { font-weight: 600; }
.badge-soft { background: var(--sd-primary-soft); color: var(--sd-primary-dark); }
.badge-lang { background: #f1f5f9; color: #475569; font-weight: 600; }

.db-card { background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); padding: 1.35rem; height: 100%; }
.db-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.db-card .versions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.chip { display: inline-block; padding: .18rem .55rem; border-radius: 999px; background: var(--sd-surface); border: 1px solid var(--sd-border); font-size: .8rem; font-family: var(--sd-mono); color: #334155; }
.chip.chip-off { color: #94a3b8; text-decoration: line-through; }
.chip.chip-primary { background: var(--sd-primary-soft); border-color: #c7d0f2; color: var(--sd-primary-dark); }

/* Scroll containers own their absolutely positioned descendants (visually-hidden labels in table cells) */
.table-responsive, .diagram-scroll { position: relative; }

/* Comparison table */
.compare-table th, .compare-table td { padding: .9rem 1rem; vertical-align: top; }
.compare-table thead th { border-bottom: 2px solid var(--sd-border); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sd-muted); }
.compare-table .yes { color: #15803d; } .compare-table .no { color: #b91c1c; } .compare-table .so { color: #b45309; }

/* Pricing */
.price-card { background: #fff; border: 1px solid var(--sd-border); border-radius: 18px; padding: 2rem; height: 100%; position: relative; }
.price-card.featured { border-color: #c7d0f2; box-shadow: 0 30px 60px -30px rgba(59, 91, 219, .5); }
.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--sd-ink); }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.price-card li { padding: .4rem 0; display: flex; gap: .6rem; align-items: flex-start; }
.price-card li .bi { color: var(--sd-primary); margin-top: .15rem; }
.ribbon { position: absolute; top: 1.25rem; right: 1.25rem; }

/* FAQ / accordion */
.accordion-sd .accordion-item { border: 1px solid var(--sd-border); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-sd .accordion-button { font-weight: 600; color: var(--sd-ink); background: #fff; padding: 1.1rem 1.25rem; }
.accordion-sd .accordion-button:not(.collapsed) { background: var(--sd-primary-soft); color: var(--sd-primary-dark); box-shadow: none; }
.accordion-sd .accordion-button:focus { box-shadow: none; outline: 3px solid rgba(59, 91, 219, .35); }
.accordion-sd .accordion-body { color: var(--sd-body); }

/* Video */
.video-frame { position: relative; border-radius: var(--sd-radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(2, 6, 23, .7); background: #0b1020; aspect-ratio: 16 / 9; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; color: #fff; border: 0; width: 100%; cursor: pointer;
  background: radial-gradient(700px 360px at 30% 20%, rgba(59, 91, 219, .6), transparent 60%), radial-gradient(600px 320px at 80% 80%, rgba(34, 211, 238, .35), transparent 60%), #0b1020; }
.video-facade .play { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--sd-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transition: transform .15s ease; }
.video-facade:hover .play { transform: scale(1.06); }
.video-facade .label { font-weight: 600; font-size: 1.05rem; }
.video-facade .sub { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.video-facade.is-placeholder { cursor: default; }
.video-facade.is-placeholder .play { background: rgba(255, 255, 255, .12); color: #fff; }

/* Code */
pre {
  background: var(--sd-code-bg); color: #e2e8f0; border-radius: 12px; padding: 1rem 1.2rem;
  font-family: var(--sd-mono); font-size: .86rem; line-height: 1.6; overflow-x: auto; position: relative;
  margin: 1.25rem 0;
}
pre code { font-family: inherit; color: inherit; background: transparent; padding: 0; font-size: inherit; white-space: pre; }
pre code.hljs { background: transparent; padding: 0; }
:not(pre) > code { font-family: var(--sd-mono); font-size: .86em; background: var(--sd-primary-soft); color: #3730a3; padding: .12em .4em; border-radius: 6px; word-break: break-word; }
.section-dark :not(pre) > code, .hero :not(pre) > code { background: rgba(255, 255, 255, .12); color: #e0e7ff; }
.code-wrap { position: relative; }
.code-wrap .copy-btn {
  position: absolute; top: .55rem; right: .55rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
  color: #cbd5e1; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 6px; line-height: 1.4; font-family: var(--sd-font);
  opacity: 0; transition: opacity .15s ease;
}
.code-wrap:hover .copy-btn, .code-wrap .copy-btn:focus { opacity: 1; }
.code-wrap .copy-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.code-wrap .copy-btn.copied { color: #a7f3d0; border-color: rgba(167, 243, 208, .4); }
.file-tabs .nav-link { font-family: var(--sd-mono); font-size: .8rem; color: #475569; padding: .45rem .8rem; border-radius: 8px 8px 0 0; }
.file-tabs .nav-link.active { color: var(--sd-ink); background: var(--sd-surface); border-color: var(--sd-border) var(--sd-border) transparent; }
.file-tabs + .tab-content pre { margin-top: 0; border-top-left-radius: 0; }

/* File tree */
.file-tree { font-family: var(--sd-mono); font-size: .84rem; background: var(--sd-surface); border: 1px solid var(--sd-border); border-radius: 12px; padding: 1rem 1.2rem; color: #334155; margin: 0; white-space: pre; overflow-x: auto; }

/* Page header (inner pages) */
.page-head { padding: 3.5rem 0 2.5rem; background: linear-gradient(180deg, var(--sd-surface), #fff); border-bottom: 1px solid var(--sd-border); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .75rem; }
.page-head .lead { color: var(--sd-muted); font-size: 1.15rem; max-width: 46rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb-item + .breadcrumb-item::before { color: #94a3b8; }
.breadcrumb a { color: var(--sd-muted); }

/* Docs / prose */
.prose { font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 2.75rem; margin-bottom: 1rem; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.22rem; margin-top: 2rem; margin-bottom: .75rem; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15rem; }
.prose li { margin-bottom: .35rem; }
.prose li > ul, .prose li > ol { margin-top: .35rem; margin-bottom: .35rem; }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 1.75rem 0; }
.prose figure img { border: 1px solid var(--sd-border); border-radius: 12px; background: #fff; padding: .5rem; }
.prose figcaption { font-size: .88rem; color: var(--sd-muted); margin-top: .6rem; }
.prose blockquote { border-left: 4px solid #c7d0f2; padding: .25rem 0 .25rem 1.1rem; color: #475569; font-style: italic; margin: 1.5rem 0; }
.prose .table { font-size: .95rem; }
.prose .table th { white-space: nowrap; }
.prose .table-responsive { margin: 1.5rem 0; border: 1px solid var(--sd-border); border-radius: 12px; }
.prose .table-responsive .table { margin-bottom: 0; }
.prose .table > :not(caption) > * > * { padding: .7rem .9rem; }
.prose .lead { font-size: 1.22rem; color: #334155; font-weight: 400; line-height: 1.6; margin-bottom: 1.75rem; }
.prose a { text-decoration: underline; text-decoration-color: #c7d0f2; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .anchor { color: #cbd5e1; margin-left: .4rem; text-decoration: none; font-weight: 400; opacity: 0; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus { opacity: 1; }

.callout { border: 1px solid var(--sd-border); border-left-width: 4px; border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; background: var(--sd-surface); }
.callout p:last-child { margin-bottom: 0; }
.callout-tip { border-left-color: #16a34a; background: #f0fdf4; }
.callout-note { border-left-color: var(--sd-primary); background: var(--sd-primary-soft); }
.callout-warn { border-left-color: #f59e0b; background: #fffbeb; }

.param-table th { white-space: nowrap; }
.param-table code { white-space: nowrap; }

/* TOC */
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc .toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-muted); margin-bottom: .75rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--sd-border); }
.toc li a { display: block; padding: .3rem 0 .3rem .9rem; color: var(--sd-muted); border-left: 2px solid transparent; margin-left: -2px; }
.toc li a:hover { color: var(--sd-ink); text-decoration: none; }
.toc li a.active { color: var(--sd-primary); border-left-color: var(--sd-primary); font-weight: 600; }
.toc li li a { padding-left: 1.7rem; font-size: .85rem; }

/* Blog */
.post-card { background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; position: relative; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sd-shadow); }
.post-card h3, .post-card h2 { font-size: 1.15rem; margin: .6rem 0 .5rem; line-height: 1.35; }
.post-card h3 a, .post-card h2 a { color: var(--sd-ink); }
.post-card p { color: var(--sd-muted); font-size: .95rem; margin-bottom: 1rem; flex: 1; }
.post-meta { font-size: .82rem; color: var(--sd-muted); display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; }
.post-meta .badge { font-weight: 600; }
.post-header { padding: 3.5rem 0 2rem; }
.post-header h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 52rem; }
.post-header .post-meta { font-size: .95rem; }
.author-box { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); padding: 1.25rem; background: var(--sd-surface); }
.author-box .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--sd-primary), var(--sd-cyan)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.tag-list a { display: inline-block; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; background: var(--sd-surface); border: 1px solid var(--sd-border); color: #475569; margin: 0 .35rem .35rem 0; }
.tag-list a:hover { border-color: #c7d0f2; color: var(--sd-primary-dark); text-decoration: none; }

/* CTA band */
.cta-band { background: radial-gradient(800px 400px at 20% 0%, rgba(59, 91, 219, .7), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(34, 211, 238, .35), transparent 60%), var(--sd-navy); color: #fff; border-radius: 24px; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); }

/* Footer */
.site-footer { background: var(--sd-navy); color: rgba(255, 255, 255, .7); padding: 4rem 0 2rem; font-size: .93rem; }
.site-footer .footer-heading { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .brand { color: #fff; font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; gap: .55rem; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* Misc */
.stat { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--sd-ink); line-height: 1; }
.stat-label { color: var(--sd-muted); font-size: .9rem; margin-top: .35rem; }
.section-dark .stat { color: #fff; } .section-dark .stat-label { color: rgba(255, 255, 255, .65); }
.diagram-scroll { overflow: auto; max-height: 640px; }
.diagram-scroll img { max-width: none; }
.img-frame { border: 1px solid var(--sd-border); border-radius: 12px; background: #fff; padding: .5rem; }
.matrix-table { font-size: .88rem; }
.matrix-table th { font-weight: 600; white-space: nowrap; }
.matrix-table td { text-align: center; }
.matrix-table .bi-check-lg { color: #15803d; }
.matrix-table .bi-x-lg { color: #cbd5e1; }
.matrix-table .partial { color: #b45309; font-size: .75rem; }
.lang-group h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-muted); margin: 1.75rem 0 .75rem; }
.job-status { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--sd-mono); font-size: .8rem; padding: .2rem .55rem; border-radius: 6px; background: var(--sd-surface); border: 1px solid var(--sd-border); }

@media (max-width: 991.98px) {
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .toc { position: static; margin-bottom: 2rem; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2.1rem; }
  .btn-lg { width: 100%; }
  .cta-band { padding: 2.5rem 1.25rem; }
  .price-card { padding: 1.5rem; }
}
@media print {
  .site-nav, .site-footer, .cta-band, .copy-btn, .toc { display: none !important; }
  pre { white-space: pre-wrap; }
}
