/* Quickflow brand overrides on Softland base */
:root {
  --qf-ink: #0f172a;
  --qf-muted: #475569;
  --qf-accent: #2563eb;
  --qf-accent-2: #0ea5e9;
  --qf-surface: #f8fafc;
  --qf-card: #ffffff;
  --qf-border: #e2e8f0;
  --qf-ok: #059669;
  --qf-page: #ffffff;
  --qf-nav-bg: rgba(255, 255, 255, 0.92);
  --qf-gray-bg: #f3f6fb;
  --qf-shadow: rgba(15, 23, 42, 0.12);
  --qf-toggle-bg: #f1f5f9;
  --qf-toggle-border: #cbd5e1;
  color-scheme: light;
}

html[data-theme="dark"] {
  --qf-ink: #e2e8f0;
  --qf-muted: #94a3b8;
  --qf-accent: #60a5fa;
  --qf-accent-2: #38bdf8;
  --qf-surface: #111827;
  --qf-card: #0f172a;
  --qf-border: #334155;
  --qf-ok: #34d399;
  --qf-page: #0b1220;
  --qf-nav-bg: rgba(11, 18, 32, 0.92);
  --qf-gray-bg: #0f172a;
  --qf-shadow: rgba(0, 0, 0, 0.45);
  --qf-toggle-bg: #1e293b;
  --qf-toggle-border: #475569;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--qf-ink);
  background-color: var(--qf-page);
  overflow-x: hidden;
  max-width: 100%;
}

.qf-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--qf-ink);
  text-decoration: none;
}

.qf-wordmark .qf-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--qf-accent), var(--qf-accent-2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.qf-wordmark .qf-brand-text {
  display: inline-flex !important;
  align-items: baseline;
  gap: 0 !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.qf-wordmark span.qf-name {
  color: var(--qf-ink);
  letter-spacing: -0.02em;
}

.qf-wordmark span.qf-tld {
  color: var(--qf-muted);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-left: 0;
}

.navbar-area.sticky {
  background: var(--qf-nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--qf-border);
}

.navbar-area.sticky .navbar,
.sticky .navbar {
  background: var(--qf-nav-bg) !important;
}

.navbar-nav .nav-item a {
  font-weight: 600;
  color: var(--qf-ink) !important;
}

.sticky .navbar .nav-item a {
  color: var(--qf-ink) !important;
}

.qf-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.qf-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--qf-toggle-border);
  background: var(--qf-toggle-bg);
  color: var(--qf-ink);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.qf-theme-toggle:hover,
.qf-theme-toggle:focus {
  border-color: var(--qf-accent);
  color: var(--qf-accent);
  outline: none;
}

.qf-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: none;
  pointer-events: none;
}

html[data-theme-pref="system"] .qf-theme-toggle .qf-icon-system,
html[data-theme-pref="light"] .qf-theme-toggle .qf-icon-sun,
html[data-theme-pref="dark"] .qf-theme-toggle .qf-icon-moon {
  display: block;
}

html:not([data-theme-pref]) .qf-theme-toggle .qf-icon-system {
  display: block;
}

.qf-nav-cta {
  margin-left: 0.75rem;
}

.qf-nav-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--qf-accent);
  color: #fff !important;
  font-weight: 600;
  line-height: 1.2;
  box-sizing: border-box;
}

.qf-nav-cta a:hover {
  background: #1d4ed8;
}

.hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  display: table;
  clear: both;
}

.hero-content-wrapper h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: #fff !important;
}

.hero-content-wrapper p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
}

.qf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.qf-hero-actions .theme-btn {
  margin: 0;
}

.qf-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
}

.qf-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.hero-section .theme-btn {
  background: #fff;
  color: #0f172a !important;
}

.hero-section .theme-btn:hover,
.hero-section .theme-btn:focus {
  background: #e2e8f0;
  color: #0f172a !important;
}

.hero-section .qf-hero-note {
  color: rgba(255, 255, 255, 0.85);
}

.qf-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qf-accent);
  margin-bottom: 0.75rem;
}

/* Softland default accent is pink/red — rebrand section labels and links */
.section-title span,
.section-title > span {
  color: var(--qf-accent) !important;
}

a {
  color: var(--qf-accent);
}

a:hover {
  color: #1d4ed8;
}

code,
pre {
  color: inherit;
  background: var(--qf-surface);
  border: 1px solid var(--qf-border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-size: 0.92em;
}

/* FAQ: Softland expects .faq-item + .faq-btn — kill raw button chrome */
.faq-section .faq-item {
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--qf-border);
  background: var(--qf-card);
}

.faq-section .faq-item .faq-header {
  margin: 0;
}

.faq-section .faq-item .faq-header h4 {
  margin: 0;
}

.faq-section .faq-item .faq-btn {
  background: var(--qf-card);
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  width: 100%;
  text-align: left;
  padding: 1rem 2.75rem 1rem 1.25rem;
  position: relative;
  cursor: pointer;
  color: var(--qf-ink);
}

.faq-section .faq-item .faq-btn span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--qf-ink);
  display: block;
  padding-top: 0;
  line-height: 1.35;
}

.faq-section .faq-item .faq-btn::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  margin-top: -3px;
  border-top: 6px solid var(--qf-accent);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.faq-section .faq-item .faq-btn.collapsed::after {
  transform: rotate(0deg);
  border-top-color: var(--qf-muted);
}

.faq-section .faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
}

.faq-section .faq-item .faq-body p {
  margin: 0;
  color: var(--qf-muted);
  line-height: 1.6;
}

.qf-price-note a {
  color: var(--qf-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-title p {
  color: var(--qf-muted);
}

.single-service {
  background: var(--qf-card);
  border: 1px solid var(--qf-border);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  height: 100%;
}

.single-service h4 {
  font-size: 1.05rem;
}

.single-service p {
  color: var(--qf-muted);
  margin-bottom: 0;
}

.qf-steps .single-service {
  text-align: left;
}

.qf-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--qf-surface);
  border: 1px solid var(--qf-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--qf-accent);
  margin-bottom: 1rem;
}

.pricing-section .section-title p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-palden .pricing-item,
.pricing-palden .pricing__item--featured,
.pricing-section .features-item {
  overflow: visible !important;
}

.pricing__item--featured {
  position: relative;
  z-index: 2;
}

.pricing-feature-list .pricing-feature {
  font-size: 0.95rem;
  color: #1e293b !important;
  font-weight: 500;
}

.pricing-action {
  text-decoration: none;
}

.qf-price-note {
  text-align: center;
  color: var(--qf-muted);
  font-size: 0.92rem;
  margin-top: 1.75rem;
}

.qf-price-note a {
  color: var(--qf-accent);
  font-weight: 600;
}

.qf-badge-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 0.85rem 0 0.35rem;
  padding: 0 0.75rem;
}

.qf-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--qf-accent), var(--qf-accent-2));
  color: #ffffff !important;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.faq-section .faq-content p,
.faq-section .faq-body p {
  color: var(--qf-muted);
}

.qf-cta-band {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
}

.qf-cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.qf-cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.qf-cta-band .theme-btn {
  background: #fff;
  color: #0f172a !important;
}

.qf-cta-band .theme-btn:hover,
.qf-cta-band .theme-btn:focus {
  background: #e2e8f0;
  color: #0f172a !important;
}

.footer .qf-wordmark {
  margin-bottom: 1rem;
}

.footer-menu a,
.footer p {
  color: var(--qf-muted);
}

.footer-copyright {
  border-top: 1px solid var(--qf-border);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

.footer-copyright a {
  color: var(--qf-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copyright a:hover {
  color: var(--qf-accent);
}

@media (max-width: 991px) {
  .qf-nav-cta,
  .navbar-nav .nav-item.qf-nav-cta {
    margin: 0.85rem 0 0.35rem;
    width: 100%;
  }

  .navbar-nav .nav-item.qf-nav-cta a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 1.25rem !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--qf-accent) !important;
    color: #fff !important;
    line-height: 1.25;
  }

  .hero-content-wrapper h1 {
    max-width: 100% !important;
    font-size: clamp(1.7rem, 7.2vw, 2.45rem) !important;
  }

  .hero-content-wrapper p {
    max-width: 100% !important;
  }

  .qf-kicker {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .navbar.navbar-expand-lg {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    max-width: 100% !important;
  }

  .qf-wordmark.navbar-brand {
    margin-right: 0.5rem;
    max-width: calc(100% - 6.5rem);
    flex: 1 1 auto;
    min-width: 0;
  }

  .qf-nav-tools {
    margin-left: auto;
    order: 2;
  }

  .navbar-toggler {
    margin-left: 0;
    flex-shrink: 0;
    order: 3;
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    order: 4;
  }

  .qf-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qf-hero-actions .theme-btn,
  .qf-hero-actions .qf-btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pricing.pricing-palden {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-palden .pricing-item {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.75rem 0 !important;
  }

  .qf-enterprise-plus-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .qf-enterprise-plus .theme-btn {
    width: 100%;
    text-align: center;
  }

  .section-title h2 {
    font-size: clamp(1.45rem, 5.5vw, 2rem) !important;
    line-height: 1.25 !important;
  }

  .service-section .single-service,
  .qf-steps .single-service {
    margin-bottom: 1rem;
  }

  .faq-section .faq-img {
    margin-bottom: 1.5rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-section .faq-img img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) {
  .sticky .navbar,
  .navbar {
    padding: 10px 14px !important;
  }

  .navbar-area .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 56px !important;
  }

  .qf-wordmark {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .qf-wordmark .qf-mark {
    width: 30px;
    height: 30px;
  }
}

.footer {
  overflow: hidden;
}

.footer .footer-bg {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  left: 0;
  right: 0;
}

.qf-hero-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85) !important;
}

.qf-hero-panel {
  background: var(--qf-card);
  border: 1px solid var(--qf-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px var(--qf-shadow);
  overflow: hidden;
  display: block;
  width: 100%;
}

.qf-hero-panel-top {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: var(--qf-surface);
  border-bottom: 1px solid var(--qf-border);
}

.qf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
  flex-shrink: 0;
}

.qf-dot:first-child { background: #f87171; }
.qf-dot:nth-child(2) { background: #fbbf24; }
.qf-dot:nth-child(3) { background: #34d399; }

.qf-hero-panel-url {
  margin-left: 0.5rem;
  font-size: 0.82rem;
  color: var(--qf-muted);
  font-weight: 600;
}

.qf-hero-panel-list {
  display: block !important;
  margin: 0 !important;
  padding: 0.25rem 0 !important;
  list-style: none !important;
}

.qf-hero-panel-item {
  display: block !important;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--qf-border);
}

.qf-hero-panel-item:last-child {
  border-bottom: 0;
}

.qf-hero-panel-title {
  display: block !important;
  color: var(--qf-ink) !important;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

.qf-hero-panel-desc {
  display: block !important;
  color: var(--qf-muted) !important;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
}

.qf-trust-bar {
  background: var(--qf-card) !important;
  border-bottom: 1px solid var(--qf-border);
  padding: 1.1rem 0;
  clear: both;
  overflow: hidden;
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.qf-trust-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.qf-trust-list li {
  display: inline-block !important;
  float: none !important;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--qf-muted) !important;
  position: relative;
  padding-left: 1.1rem;
  width: auto !important;
}

.qf-trust-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qf-accent);
  position: absolute;
  left: 0;
  top: 0.45em;
}

.qf-metrics {
  background: linear-gradient(135deg, #0f172a, #1e3a8a) !important;
  padding: 3.25rem 0 2.5rem !important;
  color: #fff !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  overflow: hidden;
  position: relative;
  z-index: 2;
  float: none !important;
}

.qf-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.qf-metric {
  text-align: center;
  padding: 0.5rem 0.75rem;
  float: none !important;
  width: auto !important;
}

.qf-metric-value {
  display: block !important;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff !important;
}

.qf-metric-label {
  display: block !important;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78) !important;
}

.qf-cta-reassure {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7) !important;
}

.qf-enterprise-plus {
  margin: 2.5rem auto 0;
  max-width: 920px;
}

.qf-enterprise-plus-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--qf-border);
  border-radius: 16px;
  background: var(--qf-surface);
}

.qf-enterprise-plus-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--qf-ink);
}

.qf-enterprise-plus-text {
  margin: 0;
  max-width: 38rem;
  color: var(--qf-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.qf-enterprise-plus .theme-btn {
  flex-shrink: 0;
  margin: 0;
}

/* ---- Dark theme surface overrides (Softland hardcodes) ---- */
html[data-theme="dark"] .navbar-area,
html[data-theme="dark"] .navbar-area.sticky {
  background: var(--qf-nav-bg) !important;
}

html[data-theme="dark"] .sticky .navbar,
html[data-theme="dark"] .navbar-area .navbar {
  background: var(--qf-nav-bg) !important;
  box-shadow: 0 1px 0 var(--qf-border);
}

html[data-theme="dark"] .navbar-collapse {
  background-color: var(--qf-card) !important;
}

html[data-theme="dark"] .navbar-nav .nav-item a,
html[data-theme="dark"] .sticky .navbar .nav-item a,
html[data-theme="dark"] .qf-wordmark,
html[data-theme="dark"] .qf-wordmark span.qf-name {
  color: var(--qf-ink) !important;
}

html[data-theme="dark"] .qf-wordmark span.qf-tld {
  color: var(--qf-muted) !important;
}

html[data-theme="dark"] .gray-bg,
html[data-theme="dark"] .service-section.gray-bg,
html[data-theme="dark"] .footer.gray-bg {
  background-color: var(--qf-gray-bg) !important;
}

html[data-theme="dark"] .service-section,
html[data-theme="dark"] .why-use-section,
html[data-theme="dark"] .pricing-section,
html[data-theme="dark"] .faq-section {
  background-color: var(--qf-page);
}

html[data-theme="dark"] .section-title span,
html[data-theme="dark"] .section-title h2,
html[data-theme="dark"] .section-title p,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
  color: var(--qf-ink);
}

html[data-theme="dark"] .single-service,
html[data-theme="dark"] .features-item,
html[data-theme="dark"] .pricing-item {
  background: var(--qf-card) !important;
  border-color: var(--qf-border) !important;
  color: var(--qf-ink);
}

html[data-theme="dark"] .faq-section .faq-item,
html[data-theme="dark"] .faq-section .faq-item .faq-btn {
  background: var(--qf-card) !important;
  border-color: var(--qf-border) !important;
  color: var(--qf-ink) !important;
}

html[data-theme="dark"] .faq-section .faq-item .faq-btn span {
  color: var(--qf-ink) !important;
}

html[data-theme="dark"] .faq-section .faq-item .faq-body,
html[data-theme="dark"] .faq-section .faq-item .faq-body p {
  color: var(--qf-muted) !important;
  background: transparent !important;
}

html[data-theme="dark"] .single-service h4,
html[data-theme="dark"] .single-service p,
html[data-theme="dark"] .pricing-feature,
html[data-theme="dark"] .pricing-title,
html[data-theme="dark"] .pricing-price {
  color: var(--qf-ink) !important;
}

html[data-theme="dark"] .pricing-feature,
html[data-theme="dark"] .section-title p,
html[data-theme="dark"] .single-service p {
  color: var(--qf-muted) !important;
}

/* White CTA pills must stay dark text in dark mode */
html[data-theme="dark"] .theme-btn {
  background: #fff !important;
  color: #0f172a !important;
}

html[data-theme="dark"] .theme-btn:hover,
html[data-theme="dark"] .theme-btn:focus {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-theme="dark"] .qf-trust-bar {
  background: var(--qf-card) !important;
}

html[data-theme="dark"] .qf-trust-list li {
  color: var(--qf-muted) !important;
}

html[data-theme="dark"] .pricing-action {
  background: var(--qf-accent) !important;
  color: #0b1220 !important;
}

html[data-theme="dark"] .navbar-area .toggler-icon {
  background-color: var(--qf-ink) !important;
}

html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer-menu a {
  color: var(--qf-muted);
}

html[data-theme="dark"] .footer a:hover,
html[data-theme="dark"] .footer-menu a:hover {
  color: var(--qf-accent);
}

html[data-theme="dark"] .qf-btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] .qf-hero-panel-title,
html[data-theme="dark"] .qf-hero-panel-desc,
html[data-theme="dark"] .qf-hero-panel-row,
html[data-theme="dark"] .qf-hero-panel-row span {
  color: var(--qf-ink);
}

html[data-theme="dark"] .qf-hero-panel-desc,
html[data-theme="dark"] .qf-hero-panel-row span:last-child {
  color: var(--qf-muted);
}

/* Desktop: keep toggle next to hamburger collapse area */
@media (min-width: 992px) {
  .qf-nav-tools {
    margin-left: 0.75rem;
    margin-right: 0;
    order: 3;
  }

  .qf-nav-tools .navbar-toggler {
    display: none !important;
  }

  .navbar-expand-lg .navbar-collapse {
    flex-grow: 1;
    order: 2;
  }

  .navbar.navbar-expand-lg {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
}
