/* =============================================================
   FAIR BUSINESS — PUBLIC / MARKETING PAGES
   Shared styles for support, about, legal, public company pages.
   ============================================================= */

/* ============== MARKETING HERO ============== */
.mk-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(56,173,78,.10) 0%, transparent 35%),
    radial-gradient(circle at 88% 88%, rgba(77,190,99,.08) 0%, transparent 38%),
    var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 64px 24px 56px;
  text-align: center;
}
.mk-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.mk-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-50);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.mk-h1 {
  font-size: var(--fs-7xl);   /* v1.2.91: 44 → 50 via token (H1 parity) */
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--slate-900);
  margin-bottom: 14px;
}
.mk-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-lede {
  font-size: var(--fs-2xl);
  color: var(--slate-500);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .mk-hero { padding: 48px 18px 40px; }
  .mk-h1 { font-size: 32px; }
  .mk-lede { font-size: var(--fs-lg); }
}

/* Hero search (used on Support page) */
.mk-hero-search {
  margin: 28px auto 0;
  max-width: 520px;
  position: relative;
}
.mk-hero-search input {
  width: 100%;
  height: 56px;
  padding: 0 60px 0 50px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: var(--fs-lg);
  color: var(--slate-900);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all .15s var(--ease);
}
.mk-hero-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(56,173,78,.15);
}
.mk-hero-search-icon {
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  stroke: var(--slate-400); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.mk-hero-search-kbd {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  pointer-events: none;
}

/* ============== MARKETING SECTION ============== */
.mk-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}
.mk-section-narrow {
  max-width: 760px;
}
.mk-section-head {
  text-align: center;
  margin-bottom: 44px;
}
.mk-section-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.mk-section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.mk-section-lede {
  font-size: var(--fs-xl);
  color: var(--slate-500);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .mk-section { padding: 48px 18px; }
  .mk-section-title { font-size: 26px; }
  .mk-section-lede { font-size: var(--fs-lg); }
}

/* ============== CONTACT TILES ============== */
.mk-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .mk-contact-grid { grid-template-columns: 1fr; } }

.mk-contact-tile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: all .2s var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
}
.mk-contact-tile:hover {
  border-color: var(--green);
  box-shadow: 0 12px 32px -8px rgba(56,173,78,.16);
  transform: translateY(-2px);
}
.mk-contact-tile-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.mk-contact-tile-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-contact-tile-title { font-size: var(--fs-xl); font-weight: 700; color: var(--slate-900); letter-spacing: -.005em; margin-bottom: 6px; }
.mk-contact-tile-desc { font-size: var(--fs-md); color: var(--slate-500); line-height: 1.55; margin-bottom: 14px; }
.mk-contact-tile-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-md); font-weight: 600; color: var(--green-600);
  transition: gap .15s var(--ease);
}
.mk-contact-tile:hover .mk-contact-tile-cta { gap: 10px; }
.mk-contact-tile-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mk-contact-tile-meta { font-size: var(--fs-base); color: var(--slate-500); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--slate-100); }

/* ============== FAQ ACCORDION ============== */
.faq-categories {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.faq-category {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all .15s var(--ease);
}
.faq-category:hover { border-color: var(--slate-300); color: var(--slate-900); }
.faq-category.is-active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
}

.faq-list {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--slate-100);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  transition: background .15s var(--ease);
}
.faq-q:hover { background: var(--slate-50); }
.faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s var(--ease);
}
.faq-q-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.faq-item.is-open .faq-q-icon { background: var(--green-100); color: var(--green-dark); }
.faq-item.is-open .faq-q-icon svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item.is-open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: var(--fs-md);
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 740px;
}
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ul { padding-left: 20px; margin-bottom: 12px; }
.faq-a-inner li { margin-bottom: 6px; }
.faq-a-inner a { color: var(--green-600); font-weight: 500; }
.faq-a-inner a:hover { text-decoration: underline; }

/* ============== STATS / FEATURE TILES ============== */
.mk-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .mk-features { grid-template-columns: 1fr; } }
.mk-feature {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}
.mk-feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mk-feature-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-feature-title { font-size: var(--fs-xl); font-weight: 700; color: var(--slate-900); letter-spacing: -.005em; margin-bottom: 8px; }
.mk-feature-desc { font-size: var(--fs-md); color: var(--slate-500); line-height: 1.6; }

.mk-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a2f 100%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: white;
  text-align: center;
}
@media (max-width: 768px) { .mk-numbers { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; } }
.mk-number-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: white;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.mk-number-label {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.7);
}

/* ============== TIMELINE / VALUES ============== */
.mk-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .mk-values { grid-template-columns: 1fr; gap: 32px; } }
.mk-values-list { display: flex; flex-direction: column; gap: 22px; }
.mk-value {
  display: flex;
  gap: 16px;
}
.mk-value-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 28px;
  padding-top: 4px;
}
.mk-value-body { flex: 1; }
.mk-value-title { font-size: var(--fs-2xl); font-weight: 700; color: var(--slate-900); letter-spacing: -.01em; margin-bottom: 6px; }
.mk-value-desc { font-size: var(--fs-md); color: var(--slate-500); line-height: 1.6; }
.mk-values-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--slate-100) center/cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.mk-values-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============== CTA STRIP ============== */
.mk-cta-strip {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 55%, var(--green-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 40px -12px rgba(56,173,78,.45);
}
.mk-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  opacity: .22;
  mix-blend-mode: overlay;
  z-index: -1;
}
.mk-cta-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: white;
}
.mk-cta-lede {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 24px;
}
.mk-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--green-dark);
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: var(--fs-lg);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.mk-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.mk-cta-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ============== LEGAL DOCUMENT ============== */
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 18px 64px; }
}
.legal-toc {
  position: sticky;
  top: 124px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) { .legal-toc { position: static; } }
.legal-toc-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-500);
  padding: 8px 12px 6px;
}
.legal-toc a {
  display: block;
  padding: 8px 12px;
  font-size: var(--fs-base);
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: all .15s var(--ease);
}
.legal-toc a:hover { background: var(--slate-50); color: var(--slate-900); }
.legal-toc a.is-active { background: var(--green-50); color: var(--green-dark); font-weight: 600; }

.legal-doc { min-width: 0; }
.legal-doc h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.legal-doc-meta {
  font-size: var(--fs-base);
  color: var(--slate-500);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}
.legal-doc h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--slate-900);
  margin: 38px 0 14px;
  scroll-margin-top: 124px;
}
.legal-doc h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--slate-900);
  margin: 24px 0 10px;
}
.legal-doc p {
  font-size: var(--fs-md);
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-doc ul, .legal-doc ol {
  padding-left: 22px;
  font-size: var(--fs-md);
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { color: var(--slate-900); font-weight: 600; }
.legal-doc a { color: var(--green-600); font-weight: 500; }
.legal-doc a:hover { text-decoration: underline; }

/* ============== SITE FOOTER ==============
   Legacy block removed. The shared footer is now self-contained in
   assets/css/footer.css (loaded on every page) — keeping these rules here
   was overriding the footer's own background (slate-900 = #0F172A) on top
   of the new footer's --fb-bg (#0B0F14), so pages that loaded public.css
   showed a noticeably lighter footer than pages that didn't. Side-effect:
   no inconsistency in footer color between archives and singles. */

/* ===== Filters bottom-sheet backdrop (mobile)
   Loaded globally so it applies on every archive (companies, products, complaints, categories).
   Without position:fixed, this empty div would occupy a CSS grid cell in .layout and push
   the main column to the next row.
   ===== */
.filters-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.filters-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
