/* ================================================================
   VIREON — Legal Pages Stylesheet (privacy, terms, cookies)
   ================================================================ */

/* ── LEGAL HERO ── */
.legal-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.legal-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200,146,42,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(123,94,167,0.08) 0%, transparent 55%);
}
.legal-hero-content {
  position: relative; z-index: 1;
  max-width: 800px;
  width: 100%;
}
.legal-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px;
}
.legal-breadcrumb a { color: var(--accent-gold); transition: color 0.2s; }
.legal-breadcrumb a:hover { color: var(--accent-gold-light); }
.legal-breadcrumb span { color: var(--text-muted); }

.legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(200,146,42,0.12); border: 1px solid rgba(200,146,42,0.3);
  font-size: 0.8rem; font-weight: 600; color: var(--accent-gold-light);
  margin-bottom: 20px;
}
.legal-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 12px;
}
.legal-subtitle {
  font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px;
  font-style: italic;
}
.legal-intro {
  font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 640px; margin: 0 auto;
}

/* ── LEGAL LAYOUT ── */
.legal-container {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 5% 100px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── SIDEBAR ── */
.legal-sidebar {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 20px;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-card h3 {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-gold); margin-bottom: 16px;
}
.sidebar-nav {
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-nav a {
  font-size: 0.83rem; color: var(--text-muted);
  padding: 7px 10px; border-radius: var(--radius-sm);
  transition: all 0.2s; border-left: 2px solid transparent;
}
.sidebar-nav a:hover { color: var(--text-primary); background: rgba(200,146,42,0.06); }
.sidebar-nav a.active {
  color: var(--accent-gold-light);
  border-left-color: var(--accent-gold);
  background: rgba(200,146,42,0.08);
  font-weight: 600;
}

.sidebar-contact {
  text-align: center;
}
.sidebar-contact-icon {
  font-size: 2rem; margin-bottom: 12px;
}
.sidebar-contact h4 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 8px;
}
.sidebar-contact p {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px;
}

/* ── LEGAL MAIN ── */
.legal-main {
  display: flex; flex-direction: column; gap: 0;
}

.legal-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(200,146,42,0.12); border: 1px solid rgba(200,146,42,0.25);
  color: var(--accent-gold); font-size: 0.85rem; font-weight: 800;
  flex-shrink: 0;
}
.legal-section p {
  font-size: 0.93rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-subsection {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.legal-subsection h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary);
}
.legal-subsection p {
  margin-bottom: 12px;
}

/* ── LISTS ── */
.legal-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0;
}
.legal-list li {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65;
  display: flex; gap: 12px; padding-left: 4px;
}
.legal-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-gold); flex-shrink: 0; margin-top: 9px;
}

/* ── CALLOUTS ── */
.legal-callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--radius);
  margin: 20px 0; font-size: 0.9rem; line-height: 1.6;
}
.legal-callout span { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.legal-callout p { margin: 0; color: inherit; }
.legal-callout a { color: var(--accent-gold); }
.legal-callout.green {
  background: rgba(0,229,160,0.07); border: 1px solid rgba(0,229,160,0.2);
  color: #9EFAD8;
}
.legal-callout.blue {
  background: rgba(100,160,255,0.07); border: 1px solid rgba(100,160,255,0.2);
  color: #A8C8FF;
}
.legal-callout.amber {
  background: rgba(200,146,42,0.08); border: 1px solid rgba(200,146,42,0.2);
  color: var(--accent-gold-light);
}

/* ── DATA CARDS (Privacy) ── */
.data-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.data-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  transition: border-color 0.2s;
}
.data-card:hover { border-color: var(--border-hover); }
.data-icon { font-size: 1.5rem; flex-shrink: 0; }
.data-card strong { display: block; font-size: 0.95rem; margin-bottom: 6px; }
.data-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── PURPOSE GRID (Privacy) ── */
.purpose-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px;
}
.purpose-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
  transition: all 0.3s;
}
.purpose-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.purpose-card span { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.purpose-card strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.purpose-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── PROVIDER CARD ── */
.provider-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-top: 16px;
}
.provider-logo { font-size: 2rem; flex-shrink: 0; }
.provider-card strong { display: block; font-size: 0.95rem; margin-bottom: 6px; }
.provider-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── SECURITY GRID (Privacy) ── */
.security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0;
}
.security-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: all 0.2s;
}
.security-card:hover { border-color: var(--border-hover); }
.security-card span { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.security-card strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.security-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── RIGHTS LIST (Privacy) ── */
.rights-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.right-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  transition: border-color 0.2s;
}
.right-item:hover { border-color: var(--border-hover); }
.right-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(200,146,42,0.1); border: 1px solid rgba(200,146,42,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.right-item strong { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.right-item p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── CONTACT METHODS ── */
.contact-methods { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.contact-method {
  display: flex; gap: 16px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  transition: all 0.3s; flex: 1; min-width: 220px;
  cursor: pointer;
}
.contact-method:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.contact-method span { font-size: 1.6rem; }
.contact-method strong { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.contact-method p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ── PROHIBITED GRID (Terms) ── */
.prohibited-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px;
}
.prohibited-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,80,80,0.05); border: 1px solid rgba(255,80,80,0.12);
  border-radius: var(--radius); padding: 16px;
}
.prohibited-item span { font-size: 1.1rem; flex-shrink: 0; }
.prohibited-item p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

/* ── COOKIE VISUAL ── */
.cookie-visual {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0;
}
.cookie-type-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
  transition: all 0.2s;
}
.cookie-type-card:hover { border-color: var(--border-hover); }
.cookie-type-card span { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.cookie-type-card strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.cookie-type-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── COOKIE TABLE ── */
.cookie-table-wrapper {
  overflow-x: auto; margin: 20px 0;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.cookie-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem;
}
.cookie-table thead tr {
  background: rgba(200,146,42,0.08);
}
.cookie-table th {
  padding: 14px 16px; text-align: left;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.cookie-table td {
  padding: 14px 16px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: rgba(200,146,42,0.03); }

.cookie-badge {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.cookie-badge.essential { background: rgba(200,146,42,0.15); color: var(--accent-gold-light); }
.cookie-badge.functional { background: rgba(0,229,160,0.12); color: #00E5A0; }
.cookie-badge.analytics { background: rgba(123,94,167,0.15); color: #A78BE8; }
.cookie-required { color: #FF6B6B; font-weight: 600; font-size: 0.82rem; }
.cookie-optional { color: var(--text-muted); font-size: 0.82rem; }

/* ── BROWSER GUIDE ── */
.browser-guide {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0;
}
.browser-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 16px;
  font-size: 0.83rem; color: var(--text-secondary);
  transition: all 0.2s;
}
.browser-link:hover { border-color: var(--accent-gold); color: var(--accent-gold-light); }

/* ── HIGHLIGHT ── */
.legal-highlight {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(123,94,167,0.08); border: 1px solid rgba(123,94,167,0.2);
  border-radius: var(--radius); padding: 16px 20px; margin: 16px 0;
}
.highlight-icon { font-size: 1.4rem; flex-shrink: 0; }
.legal-highlight p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .legal-container {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
  }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .prohibited-grid { grid-template-columns: 1fr; }
  .cookie-visual { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .purpose-grid { grid-template-columns: 1fr; }
  .contact-methods { flex-direction: column; }
}

/* ================================================================
   FAQ PAGE — faq.html
   ================================================================ */
.faq-page-container {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 5% 100px;
  display: grid; grid-template-columns: 260px 1fr;
  gap: 48px; align-items: start;
}
.faq-main { display: flex; flex-direction: column; }
.faq-section { padding: 48px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.faq-section:last-of-type { border-bottom: none; }
.faq-section-title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; }
.faq-section-title span { font-size: 1.3rem; }
.faq-cta-box {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: rgba(200,146,42,0.06); border: 1px solid rgba(200,146,42,0.2);
  border-radius: var(--radius-lg); padding: 28px 32px; margin-top: 48px;
}
.faq-cta-box > span { font-size: 2rem; flex-shrink: 0; }
.faq-cta-box > div { flex: 1; min-width: 180px; }
.faq-cta-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.faq-cta-box p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* ================================================================
   CONTACT PAGE — contact.html
   ================================================================ */
.contact-page-container {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 5% 100px;
  display: grid; grid-template-columns: 300px 1fr;
  gap: 48px; align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.contact-side-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.contact-side-card h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); margin-bottom: 16px; }
.contact-topic-list { display: flex; flex-direction: column; gap: 14px; }
.contact-topic { display: flex; gap: 12px; align-items: flex-start; }
.contact-topic span { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-topic strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.contact-topic p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.contact-email-btn { display: flex; gap: 14px; align-items: center; background: rgba(200,146,42,0.06); border: 1px solid rgba(200,146,42,0.2); border-radius: var(--radius); padding: 14px 16px; transition: all 0.2s; }
.contact-email-btn:hover { border-color: var(--accent-gold); }
.contact-email-btn span { font-size: 1.5rem; }
.contact-email-btn strong { display: block; font-size: 0.82rem; color: var(--accent-gold-light); font-weight: 700; }
.contact-email-btn small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.contact-faq-link { display: flex; gap: 12px; align-items: flex-start; }
.contact-faq-link > span { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-faq-link strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.contact-faq-link p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.contact-faq-link a { color: var(--accent-gold); }
.contact-legal-links { display: flex; flex-direction: column; gap: 8px; }
.contact-legal-links a { font-size: 0.83rem; color: var(--text-muted); padding: 6px 10px; border-radius: var(--radius-sm); transition: all 0.2s; border-left: 2px solid transparent; }
.contact-legal-links a:hover { color: var(--accent-gold-light); border-left-color: var(--accent-gold); background: rgba(200,146,42,0.06); }
.contact-form-main { display: flex; flex-direction: column; gap: 24px; }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-header { margin-bottom: 32px; }
.contact-form-header h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.contact-form-header p { font-size: 0.9rem; color: var(--text-muted); }
.response-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.response-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: border-color 0.2s; }
.response-info-card:hover { border-color: var(--border-hover); }
.response-info-card > span { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.response-info-card strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.response-info-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* ================================================================
   GUIDE PAGE — guide.html
   ================================================================ */
.guide-page-container { max-width: 1200px; margin: 0 auto; padding: 60px 5% 100px; display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.guide-page-main { display: flex; flex-direction: column; }
.guide-role-header { display: flex; align-items: center; gap: 20px; background: rgba(200,146,42,0.05); border: 1px solid rgba(200,146,42,0.15); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 8px; scroll-margin-top: 100px; }
.guide-role-icon { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; background: rgba(200,146,42,0.1); border: 1px solid rgba(200,146,42,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.guide-role-header h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.guide-role-header p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }
.guide-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-hover), transparent); margin: 48px 0; }
.guide-page-step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.guide-page-step:last-of-type { border-bottom: none; }
.guide-page-step-num { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; background: rgba(200,146,42,0.12); border: 1px solid rgba(200,146,42,0.25); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 800; color: var(--accent-gold); }
.guide-page-step-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.guide-page-step-body > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.guide-ordered-list { list-style: none; counter-reset: guide-counter; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.guide-ordered-list li { counter-increment: guide-counter; display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.guide-ordered-list li::before { content: counter(guide-counter); min-width: 22px; height: 22px; border-radius: 6px; background: rgba(200,146,42,0.12); border: 1px solid rgba(200,146,42,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--accent-gold); flex-shrink: 0; margin-top: 1px; }
.guide-tip { background: rgba(0,229,160,0.06); border: 1px solid rgba(0,229,160,0.15); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px; font-size: 0.85rem; color: #9EFAD8; line-height: 1.55; }
.guide-info-box { background: rgba(100,160,255,0.06); border: 1px solid rgba(100,160,255,0.15); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }
.guide-info-box strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; color: #A8C8FF; }
.guide-info-box p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.guide-info-box a { color: var(--accent-gold); }
.guide-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.guide-method { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.guide-method-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.guide-method-header span { font-size: 1.3rem; }
.guide-method-header strong { font-size: 0.92rem; font-weight: 700; }

/* ── RESPONSIVE PAGES ── */
@media (max-width: 960px) {
  .faq-page-container, .contact-page-container, .guide-page-container { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .guide-page-step { grid-template-columns: 1fr; }
  .response-info-grid { grid-template-columns: 1fr 1fr; }
  .guide-two-col { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
}
@media (max-width: 600px) {
  .response-info-grid { grid-template-columns: 1fr; }
  .faq-cta-box { flex-direction: column; text-align: center; }
}

/* ── FIX: sidebar sticky override for new page containers ── */
.faq-page-container .legal-sidebar,
.guide-page-container .legal-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  align-self: start;
}

/* ── FIX: sidebar isolation & containment ── */
.faq-page-container,
.guide-page-container,
.contact-page-container {
  isolation: isolate;
}

.faq-page-container .legal-sidebar,
.guide-page-container .legal-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  isolation: isolate;
  z-index: 1;
}

.sidebar-card {
  background: var(--bg-card);
  overflow: hidden;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: transparent;
}

.sidebar-nav a {
  display: block;
  background: transparent;
  text-decoration: none;
}
