:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-alt: #edf2f7;
  --navy: #0f223d;
  --navy-soft: #1b365d;
  --border: #dce3ec;
  --border-strong: #c2cedc;
  --text: #253449;
  --muted: #596b82;
  --accent: #0c669e;
  --accent-hover: #084e7a;
  --accent-tint: #e8f4fb;
  --gold: #b45309;
  --gold-tint: #fef7e6;
  --gold-border: #f3d08a;
  --green: #15803d;
  --green-tint: #ecfdf5;
  --red: #b91c1c;
  --red-tint: #fef2f2;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 61, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 34, 61, 0.07);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  margin: 0 0 12px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header with 3px lane-rope top accent stripe */
header.site-header {
  background: var(--surface);
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--shadow-sm);
}

header.site-header::before {
  content: "";
  display: block;
  height: 3px;
  margin-top: -3px;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) 44%,
    var(--accent) 44%,
    var(--accent) 82%,
    #d97706 82%,
    #d97706 100%
  );
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand:hover {
  color: var(--navy);
}

.brand-icon {
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}

.brand span.brand-accent {
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

nav a:hover {
  background: var(--surface-alt);
  color: var(--navy);
}

nav a[aria-current="page"] {
  background: var(--accent-tint);
  color: var(--accent-hover);
}

/* Page sections & hero */
section {
  padding: 44px 0;
}

.page-intro {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 34px;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.95fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 68ch;
  margin: 0 0 24px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--navy);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Deep-navy poolside spec panel inside Hero */
.spec-panel {
  background: var(--navy);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #1e3a5f;
  box-shadow: var(--shadow-md);
}

.spec-panel-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 14px;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #facc15;
}

.spec-val {
  font-size: 0.94rem;
  color: #f8fafc;
  font-weight: 500;
}

.spec-panel code {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.24);
}

/* Strip bar */
.compat-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text);
}

.compat-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.compat-strip strong {
  color: var(--navy);
}

/* Cards & grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-featured {
  border-color: var(--accent);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.card ul,
.card ol {
  margin: 10px 0 16px;
  padding-left: 20px;
}

.card li {
  margin-bottom: 5px;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--accent-tint);
  color: var(--accent-hover);
  border: 1px solid #bfdbfe;
  margin-bottom: 10px;
}

.badge-gold {
  background: var(--gold-tint);
  color: var(--gold);
  border-color: var(--gold-border);
}

.badge-green {
  background: var(--green-tint);
  color: var(--green);
  border-color: #bbf7d0;
}

.price {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin: 4px 0 8px;
}

.muted {
  color: var(--muted);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

tbody tr:last-child td {
  border-bottom: none;
}

th {
  background: var(--surface-alt);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  font-weight: 700;
}

/* Configurator & Forms */
/* Two-Layer Pricing Cards & Comparison Matrix */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.pricing-card--popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 32%);
}

.pricing-card h2,
.pricing-card h3 {
  margin: 0 0 6px;
}

.pricing-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 6px 0 6px;
}

.pricing-bullets {
  margin: 12px 0 22px;
  padding-left: 19px;
  flex: 1;
}

.pricing-bullets li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

.checkout-legal-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.demo-banner {
  margin-top: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.demo-banner-copy h3 {
  margin: 0 0 4px;
}

.demo-banner-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.comparison-section {
  padding-top: 12px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--navy);
  color: #f8fafc;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 15px 16px;
  border-bottom: 2px solid var(--accent);
}

.comparison-table thead th.col-popular {
  background: #0f3a75;
}

.comparison-table tbody th[scope="row"] {
  background: transparent;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 210px;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--surface-alt);
}

.comparison-table td,
.comparison-table th {
  vertical-align: middle;
}

.cmp-check {
  color: var(--green);
  font-weight: 800;
}

.cmp-dash {
  color: var(--muted);
  font-weight: 600;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.field select,
.field input[type="date"],
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  font-size: 0.95rem;
  font-family: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.mor-notice-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text);
}

/* Support page layout & form */
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.93rem;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--green-tint);
  border-color: #86efac;
  color: #14532d;
}

.alert-error {
  background: var(--red-tint);
  border-color: #fca5a5;
  color: #7f1d1d;
}

.alert-info {
  background: var(--accent-tint);
  border-color: #bae6fd;
  color: var(--navy);
}

.alert-gold {
  background: var(--gold-tint);
  border-color: var(--gold-border);
  color: #78350f;
}

/* Legal documents */
.legal-doc {
  max-width: 840px;
}

.legal-doc h2 {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 1.18rem;
}

.legal-doc h2:first-of-type {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}

.mor-callout {
  background: var(--accent-tint);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0 22px;
  font-size: 0.94rem;
  color: var(--navy);
}

code {
  background: var(--surface-alt);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

/* Deep-navy structured footer */
footer.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  border-top: 3px solid var(--accent);
  padding: 40px 0 32px;
  margin-top: 48px;
  font-size: 0.9rem;
}

footer.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 1fr));
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Documentation portal & FAQ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.docs-version-banner {
  background: var(--accent-tint);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--navy);
}

.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 210px;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 56px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 8px;
}

.docs-search-box {
  position: relative;
  margin-bottom: 18px;
}

.docs-search-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text);
}

.docs-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 40;
  max-height: 360px;
  overflow-y: auto;
}

.docs-search-item {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.docs-search-item:last-child {
  border-bottom: 0;
}

.docs-search-item:hover {
  background: var(--accent-tint);
}

.docs-search-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.docs-search-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.docs-search-empty {
  padding: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.docs-nav-group {
  margin-bottom: 18px;
}

.docs-nav-heading {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.docs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-nav-list a {
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
}

.docs-nav-list a:hover {
  background: var(--surface-alt);
  color: var(--navy);
}

.docs-nav-list a.active {
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-weight: 600;
}

.docs-main {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.docs-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.docs-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.docs-article h2 {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.docs-article h3 {
  margin-top: 20px;
}

.docs-article .docs-anchor {
  opacity: 0;
  text-decoration: none;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.docs-article h2:hover .docs-anchor,
.docs-article h3:hover .docs-anchor,
.docs-article .docs-anchor:focus-visible {
  opacity: 1;
}

.docs-article pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.88rem;
}

.docs-article pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.docs-article kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  color: var(--navy);
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
}

.docs-article figure {
  margin: 18px 0;
}

.docs-article figure img,
.docs-article img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.docs-article figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.docs-callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.docs-callout-tip {
  border-left-color: var(--green);
  background: var(--green-tint);
}

.docs-callout-important {
  border-left-color: var(--navy);
  background: var(--surface-alt);
}

.docs-callout-warning {
  border-left-color: var(--gold);
  background: var(--gold-tint);
}

.docs-callout-title {
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  color: var(--navy);
}

.docs-report-bar {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.docs-pager-link {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  min-width: 160px;
}

.docs-pager-link:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.docs-pager-link span {
  font-size: 0.78rem;
  color: var(--muted);
}

.docs-pager-next {
  text-align: right;
  margin-left: auto;
}

.docs-toc {
  position: sticky;
  top: 76px;
  font-size: 0.85rem;
}

.docs-toc-title {
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.docs-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.docs-toc-d3 {
  padding-left: 12px;
}

.docs-toc a {
  text-decoration: none;
  color: var(--muted);
}

.docs-toc a:hover {
  color: var(--accent);
}

.faq-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0 24px;
}

.faq-controls input {
  flex: 1 1 260px;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.faq-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-cat-bar .btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.faq-group {
  margin-bottom: 28px;
}

.faq-item {
  margin-bottom: 10px;
  padding: 14px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1020px) {
  .docs-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
}

@media (max-width: 780px) {
  .docs-shell {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    display: none;
    position: static;
    max-height: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
  }
  .docs-sidebar.open {
    display: block;
  }
  .docs-mobile-bar {
    display: flex;
  }
  .docs-main {
    padding: 20px 18px;
  }
}

@media print {
  header.site-header,
  footer.site-footer,
  .docs-sidebar,
  .docs-toc,
  .docs-mobile-bar,
  .docs-report-bar,
  .docs-pager,
  .docs-version-banner {
    display: none !important;
  }
  .docs-shell {
    display: block;
    padding: 0;
  }
  .docs-main {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
