/* General Caster website: brand layer on top of Bootstrap 5.3 */
:root,
[data-bs-theme="light"] {
  --gc-brand: #f1a81d;
  --gc-brand-strong: #d98f06;
  --gc-brand-soft: #fdf3dd;
  --gc-ink: #1d1b16;
  --gc-surface: #ffffff;
  --gc-surface-2: #faf8f4;
  --gc-border: #ebe6dc;
  --gc-code-bg: #1f2329;
  --gc-code-ink: #e8eaed;
  --gc-ref-bg: rgba(241, 168, 29, .22);
  --gc-ref-ink: #ffd27a;
  --gc-shadow: 0 1px 2px rgba(29, 27, 22, .04), 0 8px 24px rgba(29, 27, 22, .06);
  --bs-body-bg: var(--gc-surface);
  --bs-body-color: #2b2924;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-link-color-rgb: 166, 105, 0;
  --bs-link-hover-color-rgb: 120, 76, 0;
  --bs-border-color: var(--gc-border);
}

[data-bs-theme="dark"] {
  --gc-brand: #f5b53a;
  --gc-brand-strong: #f8c766;
  --gc-brand-soft: #3a2f17;
  --gc-ink: #f3efe6;
  --gc-surface: #15161a;
  --gc-surface-2: #1c1e23;
  --gc-border: #2d3038;
  --gc-code-bg: #0e0f12;
  --gc-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --bs-body-bg: var(--gc-surface);
  --bs-body-color: #d9d6cf;
  --bs-link-color-rgb: 245, 181, 58;
  --bs-link-hover-color-rgb: 248, 199, 102;
  --bs-border-color: var(--gc-border);
}

body {
  background: var(--gc-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  color: var(--gc-ink);
  letter-spacing: -.02em;
}

code, pre, .font-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  text-underline-offset: .2em;
}

/* Header */
.site-header {
  background: color-mix(in srgb, var(--gc-surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gc-border);
}
.site-header .navbar-brand span { color: var(--gc-ink); }
.site-header .nav-link {
  color: var(--bs-body-color);
  font-weight: 500;
  padding-left: .9rem !important;
  padding-right: .9rem !important;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--gc-ink); }
.site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--gc-brand); }
.navbar-toggler { color: var(--gc-ink); }
.btn-icon {
  color: var(--bs-body-color);
  border: 1px solid var(--gc-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
}
.btn-icon:hover { color: var(--gc-ink); background: var(--gc-surface-2); }

/* Buttons */
.btn-brand {
  --bs-btn-color: #1d1b16;
  --bs-btn-bg: var(--gc-brand);
  --bs-btn-border-color: var(--gc-brand);
  --bs-btn-hover-color: #1d1b16;
  --bs-btn-hover-bg: var(--gc-brand-strong);
  --bs-btn-hover-border-color: var(--gc-brand-strong);
  --bs-btn-active-bg: var(--gc-brand-strong);
  --bs-btn-active-border-color: var(--gc-brand-strong);
  --bs-btn-active-color: #1d1b16;
  font-weight: 600;
}
.btn-ghost {
  --bs-btn-color: var(--gc-ink);
  --bs-btn-border-color: var(--gc-border);
  --bs-btn-hover-color: var(--gc-ink);
  --bs-btn-hover-bg: var(--gc-surface-2);
  --bs-btn-hover-border-color: var(--gc-border);
  --bs-btn-active-bg: var(--gc-surface-2);
  --bs-btn-active-border-color: var(--gc-border);
  --bs-btn-active-color: var(--gc-ink);
  font-weight: 600;
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--gc-surface-2); border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gc-brand-strong);
  margin-bottom: .75rem;
}
[data-bs-theme="dark"] .eyebrow { color: var(--gc-brand); }
.lead-muted { color: var(--bs-secondary-color); font-size: 1.125rem; }
.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--gc-border); background: var(--gc-surface-2); }
.page-hero h1 { font-weight: 800; }

/* Home hero */
.hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60rem;
  height: 60rem;
  background: radial-gradient(closest-side, rgba(241, 168, 29, .18), transparent);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.07; }
.hero h1 .hl { background: linear-gradient(transparent 62%, rgba(241, 168, 29, .45) 0); }
.trust-row { color: var(--bs-secondary-color); font-size: .9rem; }
.trust-row i { color: var(--gc-brand-strong); }

/* Product demo window */
.demo-window {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: 14px;
  box-shadow: var(--gc-shadow);
  overflow: hidden;
  position: relative;
}
.demo-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--gc-border); background: var(--gc-surface-2); align-items: center; }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--gc-border); }
.demo-bar small { margin-left: 8px; color: var(--bs-secondary-color); font-size: .78rem; }
.demo-recipe { padding: 14px 16px; font-size: .92rem; border-bottom: 1px dashed var(--gc-border); }
.demo-recipe b { background: var(--gc-brand-soft); color: var(--gc-ink); padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.demo-formula { padding: 12px 16px; background: var(--gc-code-bg); color: var(--gc-code-ink); font-family: "JetBrains Mono", monospace; font-size: .8rem; }
.demo-table { width: 100%; font-size: .85rem; }
.demo-table th { font-weight: 600; color: var(--bs-secondary-color); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-bottom: 1px solid var(--gc-border); }
.demo-table td { padding: 10px 14px; border-bottom: 1px solid var(--gc-border); white-space: nowrap; }
.demo-table tr:last-child td { border-bottom: 0; }
.demo-table .cast { background: var(--gc-brand-soft); font-weight: 600; color: var(--gc-ink); }
.pill-status { display: inline-block; padding: 2px 10px; border-radius: 4px; color: #fff; font-size: .78rem; font-weight: 600; }
.pill-done { background: #00c875; }
.pill-wip { background: #fdab3d; }
.pill-stuck { background: #e2445c; }

/* Cards */
.gc-card {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
}
.gc-card-hover { transition: transform .15s ease, box-shadow .15s ease; }
.gc-card-hover:hover { transform: translateY(-2px); box-shadow: var(--gc-shadow); }
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gc-brand-soft);
  color: var(--gc-brand-strong);
  font-size: 1.15rem;
  flex: none;
}
[data-bs-theme="dark"] .icon-tile { color: var(--gc-brand); }
.plan-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid var(--gc-border);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

/* Comparison */
.compare th, .compare td { padding: .85rem 1rem; vertical-align: middle; }
.compare thead th { font-size: .85rem; }
.compare .yes { color: #00a862; }
.compare .no { color: #d83a52; }
.compare .gc-col { background: var(--gc-brand-soft); }

/* Steps */
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gc-ink);
  color: var(--gc-surface);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Stats */
.stat-big { font-size: 2.4rem; font-weight: 800; color: var(--gc-ink); letter-spacing: -.03em; line-height: 1.1; }

/* Pricing */
.billing-toggle { background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 999px; padding: 4px; display: inline-flex; }
.billing-toggle button { border: 0; background: transparent; border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; color: var(--bs-secondary-color); }
.billing-toggle button.active { background: var(--gc-surface); color: var(--gc-ink); box-shadow: var(--gc-shadow); }
.save-badge { background: #00c875; color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 2px 7px; margin-left: 4px; }
.plan-card { position: relative; display: flex; flex-direction: column; }
.plan-card.popular { border: 2px solid var(--gc-brand); box-shadow: var(--gc-shadow); }
.plan-card .popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gc-brand); color: #1d1b16; font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.plan-price { font-size: 2.6rem; font-weight: 800; color: var(--gc-ink); letter-spacing: -.03em; }
.plan-ops { font-weight: 700; background: var(--gc-surface-2); border-radius: 8px; padding: .5rem .75rem; color: var(--gc-ink); }
.plan-features li { padding: .3rem 0; display: flex; gap: .55rem; font-size: .92rem; }
.plan-features i { color: #00a862; margin-top: .25rem; }

/* Code and formulas */
.formula {
  display: block;
  background: var(--gc-code-bg);
  color: var(--gc-code-ink);
  border-radius: 10px;
  padding: .9rem 1rem;
  font-size: .82rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.formula .ref { background: var(--gc-ref-bg); color: var(--gc-ref-ink); border-radius: 4px; padding: 0 3px; }
.formula-wrap { position: relative; }
.formula-wrap .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #e8eaed;
  font-size: .75rem;
  border-radius: 6px;
  padding: 3px 8px;
}
.formula-wrap .copy-btn:hover { background: rgba(255, 255, 255, .14); }
.formula-wrap .formula { padding-right: 4.5rem; }
:not(pre) > code.inline, .doc-content code:not(.formula) {
  background: var(--gc-surface-2);
  border: 1px solid var(--gc-border);
  color: var(--gc-ink);
  border-radius: 5px;
  padding: .05rem .35rem;
  font-size: .85em;
}

/* Docs layout */
.docs-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.docs-nav { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .92rem; }
.docs-nav h6 { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--bs-secondary-color); margin: 1.4rem 0 .4rem; }
.docs-nav h6:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: .32rem .7rem; border-radius: 7px; color: var(--bs-body-color); text-decoration: none; }
.docs-nav a:hover { background: var(--gc-surface-2); color: var(--gc-ink); }
.docs-nav a.active { background: var(--gc-brand-soft); color: var(--gc-ink); font-weight: 600; }
.docs-toc { position: sticky; top: 84px; align-self: start; font-size: .85rem; }
.docs-toc h6 { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--bs-secondary-color); }
.docs-toc a { display: block; padding: .22rem 0 .22rem .75rem; border-left: 2px solid var(--gc-border); color: var(--bs-secondary-color); text-decoration: none; }
.docs-toc a:hover, .docs-toc a.active { color: var(--gc-ink); border-left-color: var(--gc-brand); }
.doc-content { max-width: 760px; }
.doc-content h1 { font-weight: 800; font-size: 2.2rem; margin-bottom: .5rem; }
.doc-content > .lead-muted { margin-bottom: 2rem; }
.doc-content h2 { font-size: 1.45rem; font-weight: 700; margin-top: 2.75rem; margin-bottom: 1rem; scroll-margin-top: 90px; }
.doc-content h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.75rem; scroll-margin-top: 90px; }
.doc-content p, .doc-content li { line-height: 1.7; }
.doc-content table { font-size: .9rem; }
.doc-content .table { --bs-table-bg: transparent; }
.doc-content .table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); font-weight: 600; }
.doc-content img { max-width: 100%; border-radius: 10px; border: 1px solid var(--gc-border); }
.callout { border: 1px solid var(--gc-border); border-left: 4px solid var(--gc-brand); background: var(--gc-surface-2); border-radius: 10px; padding: 1rem 1.15rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: #e2445c; }
.callout-tip { border-left-color: #00c875; }
.callout .callout-title { font-weight: 700; color: var(--gc-ink); margin-bottom: .25rem; display: flex; gap: .5rem; align-items: center; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; }
.doc-pager a { border: 1px solid var(--gc-border); border-radius: 12px; padding: 1rem 1.2rem; text-decoration: none; color: var(--gc-ink); font-weight: 600; }
.doc-pager a:hover { border-color: var(--gc-brand); }
.doc-pager small { display: block; color: var(--bs-secondary-color); font-weight: 500; }
.doc-pager .next { text-align: right; grid-column: 2; }
.doc-mobile-nav { display: none; }
.video-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--gc-border); margin: 1.5rem 0; }
.trigger-matrix td, .trigger-matrix th { text-align: center; white-space: nowrap; }
.trigger-matrix td:first-child, .trigger-matrix th:first-child { text-align: left; white-space: normal; }
.trigger-matrix .fa-check { color: #00a862; }
.trigger-matrix .fa-minus { color: var(--bs-tertiary-color); }

@media (max-width: 1199.98px) {
  .docs-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 991.98px) {
  .docs-shell { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  .docs-nav { display: none; }
  .doc-mobile-nav { display: block; margin-bottom: 1.5rem; }
}

/* Animated scenes (replace the old screen recordings) */
.scene { margin: 1.5rem 0; }
.hero .scene { margin: 0; }
.scene-compact { margin: 1rem 0 0; box-shadow: none; }
.scene-compact .demo-table { font-size: .8rem; }
.scene-compact .demo-table td, .scene-compact .demo-table th { padding: 8px 12px; }
.scene-table { overflow-x: auto; }
.scene-run { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--bs-secondary-color); padding: 2px 8px; border-radius: 99px; border: 1px solid var(--gc-border); transition: all .3s; }
.scene-run.on { background: var(--gc-brand); border-color: var(--gc-brand); color: #1d1b16; box-shadow: 0 0 0 4px var(--gc-brand-soft); }
.scene-run.on i { animation: scene-blink .6s infinite alternate; }
.demo-recipe b { transition: background .25s, color .25s, box-shadow .25s; }
.demo-recipe b.on { background: var(--gc-brand); color: #1d1b16; box-shadow: 0 0 0 3px var(--gc-brand-soft); }
.demo-table th.scene-target { color: var(--gc-brand-strong); }
.scene-type.typing::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--gc-brand); animation: scene-blink .5s infinite alternate; }
.scene td { transition: background .4s, box-shadow .4s; }
.scene td.scene-pending { color: transparent; }
.scene td.scene-pending::before { content: ""; display: inline-block; width: 64px; height: 10px; border-radius: 5px; background: var(--gc-border); vertical-align: middle; }
.scene td.scene-flash { box-shadow: inset 0 0 0 2px var(--gc-brand); }
.scene td.scene-pop > *, .scene td.scene-pop { animation: scene-pop .45s ease-out; }
.scene tr.scene-new { transition: opacity .4s; }
.scene tr.scene-new.hidden { opacity: 0; }
.scene-cursor { position: absolute; left: 0; top: 0; z-index: 3; font-size: 1.15rem; color: var(--gc-ink); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); opacity: 0; pointer-events: none; transition: transform .7s cubic-bezier(.5, 0, .2, 1), opacity .3s; }
.scene-cursor i { -webkit-text-stroke: 1px var(--gc-surface); }
.scene-cursor.on { opacity: 1; }
.scene-cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gc-brand); animation: scene-ripple .45s ease-out forwards; }
.scene-tl { display: inline-block; padding: 1px 10px; border-radius: 99px; background: #333a56; color: #fff; font-size: .78rem; font-weight: 600; }
.scene-stars { color: #fdab3d; letter-spacing: 1px; }
.scene-link { color: #1f76c2; font-weight: 600; }
[data-bs-theme="dark"] .scene-link { color: #6cb4f5; }
.scene-barcode { display: inline-flex; height: 22px; align-items: stretch; padding: 2px 4px; background: #fff; border-radius: 3px; border: 1px solid var(--gc-border); }
.scene-barcode i { display: block; background: #111; }
.pill-blue { background: #579bfc; }
.scene-check { color: #00c875; font-size: 1.1rem; }
.scene-avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #a25ddc; color: #fff; font-size: .7rem; font-weight: 700; margin-right: 6px; }
/* Steps scenes */
.scene-screens { display: grid; }
.scene-screen { grid-area: 1 / 1; padding: 18px; opacity: 0; transform: translateX(24px); transition: opacity .45s, transform .45s; pointer-events: none; }
.scene-screen.active { opacity: 1; transform: none; }
.scene-step-label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.scene-step-label .step-num { width: 26px; height: 26px; font-size: .8rem; }
.scene-search { border: 1px solid var(--gc-border); border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: var(--bs-secondary-color); margin-bottom: 12px; }
.scene-search i { margin-right: 6px; }
.scene-app { display: flex; align-items: center; gap: 12px; border: 1px solid var(--gc-border); border-radius: 10px; padding: 12px; }
.scene-app small, .scene-done small { display: block; color: var(--bs-secondary-color); font-size: .78rem; }
.scene-app .btn { margin-left: auto; }
.scene-dialog { max-width: 300px; margin: 0 auto; border: 1px solid var(--gc-border); border-radius: 12px; padding: 16px; box-shadow: var(--gc-shadow); display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.scene-dialog i { color: var(--gc-brand-strong); margin-right: 6px; }
.scene-dialog .btn { align-self: flex-end; }
.scene-done { text-align: center; padding-top: 24px; }
.scene-done > i { font-size: 2.6rem; color: #00c875; display: block; margin-bottom: 10px; }
.scene-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.scene-toolbar b { margin-right: auto; }
.scene-chip { border: 1px solid var(--gc-border); border-radius: 6px; padding: 3px 10px; font-size: .8rem; }
.scene-lines i { display: block; height: 30px; border-radius: 6px; background: var(--gc-surface-2); border: 1px solid var(--gc-border); margin-bottom: 8px; }
.scene-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scene-card { border: 1px solid var(--gc-border); border-radius: 10px; padding: 10px 12px; font-size: .8rem; line-height: 1.35; }
.scene-card small { display: block; color: var(--bs-secondary-color); font-size: .7rem; margin-bottom: 4px; }
.scene-sentence { font-size: .92rem; margin-bottom: 12px; }
.scene-sentence b { background: var(--gc-brand-soft); padding: 1px 6px; border-radius: 5px; }
.scene-steps .demo-formula { border-radius: 8px; }
.scene [data-click].pressed { box-shadow: 0 0 0 3px var(--gc-brand-soft); transform: scale(.97); transition: transform .15s, box-shadow .15s; }
@keyframes scene-blink { from { opacity: 1; } to { opacity: .2; } }
@keyframes scene-pop { 0% { transform: scale(.85); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
@keyframes scene-ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 575.98px) {
  .scene [data-optional] { display: none; }
  .scene-cards { grid-template-columns: 1fr; }
  .scene-cards .scene-card:nth-child(n+3) { display: none; }
}

/* Ideas */
.chip {
  border: 1px solid var(--gc-border);
  background: var(--gc-surface);
  color: var(--bs-body-color);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .88rem;
  font-weight: 500;
}
.chip:hover { border-color: var(--gc-brand); }
.chip.active { background: var(--gc-ink); border-color: var(--gc-ink); color: var(--gc-surface); }
.chip .count { opacity: .6; margin-left: .25rem; }
.idea-card { display: flex; flex-direction: column; gap: .9rem; scroll-margin-top: 90px; }
.idea-card.highlight { border-color: var(--gc-brand); box-shadow: 0 0 0 3px var(--gc-brand-soft); }
.idea-flow { display: inline-flex; gap: .5rem; align-items: center; color: var(--bs-secondary-color); font-size: .9rem; }
.idea-flow .arrow { font-size: .75rem; }
.idea-meta { font-size: .88rem; }
.idea-meta dt { font-weight: 600; color: var(--gc-ink); }
.fn-chip { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: .75rem; background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 5px; padding: 1px 6px; margin: 0 4px 4px 0; color: var(--gc-ink); }
.new-badge { background: #00c875; color: #fff; font-size: .66rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }

/* Console */
.kpi { padding: 1.25rem 1.35rem; }
.kpi .label { font-size: .8rem; color: var(--bs-secondary-color); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi .value { font-size: 1.9rem; font-weight: 800; color: var(--gc-ink); letter-spacing: -.03em; line-height: 1.2; }
.kpi .sub { font-size: .85rem; color: var(--bs-secondary-color); }
.meter { height: 10px; background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 999px; overflow: hidden; position: relative; }
.meter > span { display: block; height: 100%; background: var(--gc-brand); border-radius: 999px; }
.meter.warn > span { background: #fdab3d; }
.meter.danger > span { background: #e2445c; }
.meter .forecast { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, rgba(241, 168, 29, .35) 0 4px, transparent 4px 8px); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; position: relative; padding-top: 10px; }
.bars .bar { flex: 1; background: var(--gc-brand); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars .bar.muted { background: var(--gc-border); }
.bars .bar.over { background: #e2445c; }
.bars .bar:hover { filter: brightness(.9); }
.bars .limit { position: absolute; left: 0; right: 0; border-top: 2px dashed #e2445c; z-index: 1; }
.bars .limit span { position: absolute; right: 0; top: -1.3rem; font-size: .72rem; color: #e2445c; font-weight: 600; background: var(--gc-surface); padding: 0 4px; }
.bars-axis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--bs-secondary-color); margin-top: 6px; }
.month-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; position: relative; }
.month-bars .col-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font-size: .75rem; }
.month-bars .col-bar .bar { width: 100%; max-width: 54px; background: var(--gc-brand); border-radius: 5px 5px 0 0; min-height: 2px; }
.month-bars .col-bar .bar.over { background: #e2445c; }
.month-bars .col-bar .num { font-weight: 600; color: var(--gc-ink); margin-bottom: 4px; }
.month-bars .col-bar .mon { color: var(--bs-secondary-color); margin-top: 6px; }
.user-share { height: 6px; background: var(--gc-surface-2); border-radius: 999px; overflow: hidden; }
.user-share span { display: block; height: 100%; background: var(--gc-brand); }
.issue { border: 1px solid var(--gc-border); border-radius: 12px; background: var(--gc-surface); }
.issue + .issue { margin-top: .75rem; }
.issue summary { list-style: none; cursor: pointer; padding: 1rem 1.15rem; display: flex; gap: 1rem; align-items: flex-start; }
.issue summary::-webkit-details-marker { display: none; }
.issue summary .chev { transition: transform .15s; color: var(--bs-secondary-color); margin-top: .2rem; }
.issue[open] summary .chev { transform: rotate(90deg); }
.issue .issue-body { padding: 0 1.15rem 1.15rem 3.1rem; font-size: .92rem; }
.issue .count-badge { background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 2px 9px; white-space: nowrap; color: var(--gc-ink); }
.issue dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: .45rem 1rem; margin: 0; }
.issue dt { color: var(--bs-secondary-color); font-weight: 600; font-size: .85rem; }
.issue dd { margin: 0; word-break: break-word; }
.type-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 5px; background: var(--gc-surface-2); border: 1px solid var(--gc-border); color: var(--gc-ink); white-space: nowrap; }
.console-table { font-size: .88rem; }
.console-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); font-weight: 600; }
.scroll-box { max-height: 420px; overflow: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--gc-border); background: var(--gc-surface-2); padding: 3.5rem 0 2rem; margin-top: 0; }
.site-footer h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--bs-secondary-color); margin-bottom: .9rem; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--bs-body-color); text-decoration: none; }
.site-footer a:hover { color: var(--gc-ink); text-decoration: underline; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gc-border); margin-left: 4px; vertical-align: middle; }

/* CTA band */
.cta-band { background: var(--gc-ink); color: var(--gc-surface); border-radius: 20px; padding: 3rem 2rem; }
.cta-band h2 { color: var(--gc-surface); }
[data-bs-theme="dark"] .cta-band { background: var(--gc-brand-soft); color: var(--gc-ink); }
[data-bs-theme="dark"] .cta-band h2 { color: var(--gc-ink); }

/* FAQ accordion */
.faq .accordion-item { border: 1px solid var(--gc-border); border-radius: 12px !important; overflow: hidden; background: var(--gc-surface); }
.faq .accordion-item + .accordion-item { margin-top: .6rem; }
.faq .accordion-button { font-weight: 600; color: var(--gc-ink); background: var(--gc-surface); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--gc-surface-2); }

@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .issue .issue-body { padding-left: 1.15rem; }
  .issue dl { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .issue dd { margin-bottom: .5rem; }
  .cta-band { padding: 2.25rem 1.25rem; }
}

.doc-content td code { white-space: normal; word-break: break-word; }
