/* ════════════════════════════════════════════════════════════════
   Legal Pages — Reusable 3-column layout
   Apply this CSS + structure to ALL legal pages
   ════════════════════════════════════════════════════════════════ */

.product-id-mark-legal {
  background: var(--bg-elev-2);
  color: var(--accent);
  border: 1px solid var(--line-accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.legal-mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */

.legal-layout {
  padding: 32px 0 80px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.bc-link {
  color: var(--ink-2);
  transition: color var(--transition);
}

.bc-link:hover {
  color: var(--accent);
}

.bc-sep {
  color: var(--ink-4);
}

.bc-current {
  color: var(--ink);
  font-weight: 600;
}

/* 3-column grid */
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 48px;
  align-items: start;
}

/* ═══════════════════════════════════════════
   LEFT SIDEBAR
═══════════════════════════════════════════ */

.legal-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.legal-sidebar::-webkit-scrollbar {
  width: 4px;
}

.legal-sidebar::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 2px;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  cursor: pointer;
}

.legal-group {
  margin-bottom: 24px;
}

.legal-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-group-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.legal-group-list a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.legal-group-list a:hover {
  color: var(--ink);
  background: var(--bg-elev);
  border-left-color: var(--line-strong);
}

.legal-group-list a.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 600;
}

.sidebar-foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sf-email {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
  word-break: break-all;
}

.sf-email:hover {
  color: var(--accent-deep);
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */

.legal-main {
  min-width: 0;
}

.legal-head {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.legal-meta-tag {
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta-sep {
  color: var(--ink-4);
}

.legal-meta-date {
  color: var(--ink-3);
}

.legal-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.legal-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 640px;
}

/* Short version (TL;DR) callout */
.short-version {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: var(--accent-soft);
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}

.sv-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 6px 10px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1;
}

.sv-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.sv-body strong {
  font-weight: 700;
  margin-right: 2px;
}

.sv-body em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-display);
}

/* ═══════════════════════════════════════════
   LEGAL CONTENT — TYPOGRAPHY
═══════════════════════════════════════════ */

.legal-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-content section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.section-marker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sm-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--ink-2);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-content em {
  font-style: italic;
  color: var(--ink-2);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line-accent);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}

.legal-content a:hover {
  text-decoration-color: var(--accent);
}

.legal-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-elev-2);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 500;
}

/* Lists */
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.legal-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.legal-list li:last-child {
  border-bottom: none;
}

.legal-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  line-height: 1.75;
}

.legal-list-defined li > div > strong:first-child,
.legal-list-defined li > strong:first-child {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════
   NOTES / CALLOUTS
═══════════════════════════════════════════ */

.legal-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left-width: 3px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
}

.legal-note .ln-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

.legal-note strong {
  display: inline;
  margin-right: 4px;
}

.legal-note-accent {
  background: var(--accent-soft);
  border-color: var(--line-accent);
  border-left-color: var(--accent);
}

.legal-note-accent .ln-mark {
  background: var(--accent);
  color: var(--accent-ink);
}

.legal-note-info {
  background: var(--info-soft);
  border-left-color: var(--info);
}

.legal-note-info .ln-mark {
  background: var(--info);
  color: var(--accent-ink);
}

.legal-note-warn {
  background: var(--warn-soft);
  border-left-color: var(--warn);
}

.legal-note-warn .ln-mark {
  background: var(--warn);
  color: var(--accent-ink);
}

/* ═══════════════════════════════════════════
   TABLES
═══════════════════════════════════════════ */

.legal-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.legal-table thead th {
  background: var(--bg-inset);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.legal-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
  color: var(--ink-2);
}

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

.legal-table tbody tr:hover {
  background: var(--bg-elev);
}

.legal-table td strong {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 8px;
}

.badge-yes {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-no {
  background: var(--danger-soft);
  color: var(--danger);
}

/* Severity badges for incident-reporting page */
.sev {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}

.sev-critical {
  background: var(--danger-soft);
  color: var(--danger);
}

.sev-high {
  background: var(--warn-soft);
  color: var(--warn);
}

.sev-medium {
  background: var(--info-soft);
  color: var(--info);
}

.sev-low {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Legal H3 subheadings inside sections */
.legal-h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   CONTACT BLOCK
═══════════════════════════════════════════ */

.contact-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 20px 0;
}

.cb-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cb-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cb-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.cb-row:last-child {
  border-bottom: none;
}

.cb-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.cb-val {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.cb-val-link {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.cb-val-accent {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.cb-val code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-inset);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════
   PAGER
═══════════════════════════════════════════ */

.legal-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pager-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: all var(--transition);
}

.pager-link:hover {
  border-color: var(--line-accent);
  background: var(--bg-elev-2);
}

.pager-prev {
  justify-content: flex-start;
  text-align: left;
}

.pager-next {
  justify-content: flex-end;
  text-align: right;
}

.pager-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pager-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pager-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pager-link svg {
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.pager-link:hover svg {
  color: var(--accent);
}

.pager-prev:hover svg {
  transform: translateX(-3px);
}

.pager-next:hover svg {
  transform: translateX(3px);
}

/* Support strip */
.legal-support {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.ls-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.ls-body strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Related */
.legal-related {
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.related-label {
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-related a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ═══════════════════════════════════════════
   RIGHT TOC
═══════════════════════════════════════════ */

.legal-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.legal-toc::-webkit-scrollbar {
  width: 4px;
}

.legal-toc::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 2px;
}

.toc-head {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid var(--line);
  padding-left: 2px;
}

.toc-nav a {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: none;
  transition: all var(--transition);
  border-left: 2px solid transparent;
  margin-left: -3px;
  line-height: 1.4;
}

.toc-nav a:hover {
  color: var(--ink);
}

.toc-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* Indented sub-section TOC links (e.g. A. B. C. under a parent section) */
.toc-nav a.toc-sub {
  padding-left: 24px;
  font-size: 11.5px;
  color: var(--ink-4);
}

.toc-nav a.toc-sub:hover {
  color: var(--ink-2);
}

.toc-nav a.toc-sub.active {
  color: var(--accent);
}

.toc-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.back-top {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--transition);
}

.back-top:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

@media (max-width: 1200px) {
  .legal-grid {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }
  .legal-toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .legal-mobile-toggle {
    display: inline-flex;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .legal-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 90%;
    max-height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--line);
    padding: 24px;
    z-index: 200;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
  }
  .legal-sidebar.open {
    transform: translateX(0);
  }
  .sidebar-close {
    display: inline-flex;
  }
  .legal-head {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .short-version {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sv-marker {
    justify-self: start;
  }
  .legal-pager {
    grid-template-columns: 1fr;
  }
  .pager-next {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
  .legal-support {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .legal-layout {
    padding: 24px 0 56px;
  }
  .legal-h1 {
    font-size: 32px;
  }
  .legal-h2 {
    font-size: 22px;
  }
  .legal-content {
    font-size: 14.5px;
    line-height: 1.7;
  }
  .legal-content section {
    margin-bottom: 40px;
  }
  .cb-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal-table-wrap {
    overflow-x: auto;
  }
  .legal-table {
    min-width: 500px;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   COOKIE PREFERENCES PANEL
   ════════════════════════════════════════════════════════════════════════════ */

/* Preference card */
.cp-card {
  background: var(--surface-1);
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .15s ease;
}

.cp-card:hover {
  border-color: var(--rule-strong);
}

.cp-card-disabled {
  opacity: .65;
}

/* Card head with toggle */
.cp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--rule);
}

.cp-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Category icon — colored circle with letter/symbol */
.cp-cat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.cp-cat-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}

.cp-cat-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Toggle wrapper */
.cp-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cp-toggle-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  min-width: 28px;
  text-align: right;
}

/* "Always On" / "Not Used" tag */
.cp-always-on {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.25);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Custom switch */
.cp-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cp-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cp-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface-3);
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  transition: all .2s ease;
}

.cp-toggle-slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink-2);
  border-radius: 50%;
  transition: all .2s ease;
}

.cp-toggle input:checked + .cp-toggle-slider {
  background: var(--accent);
  border-color: var(--accent);
}

.cp-toggle input:checked + .cp-toggle-slider::before {
  transform: translate(20px, -50%);
  background: #000;
}

.cp-toggle input:focus-visible + .cp-toggle-slider {
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

/* Card body */
.cp-card-body {
  padding: 16px 20px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

.cp-card-body p {
  margin: 0 0 12px;
}

.cp-card-body p:last-child {
  margin-bottom: 0;
}

/* Cookie name tags */
.cp-cookie-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 8px;
}

.cp-cookie-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 11.5px;
}

.cp-cookie-tag code {
  background: transparent;
  padding: 0;
  font-size: 11.5px;
  color: var(--ink-2);
}

/* Lifespan footer line */
.cp-lifespan {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cp-lifespan a {
  color: var(--accent);
  text-decoration: none;
}

.cp-lifespan a:hover {
  text-decoration: underline;
}

/* Action button row */
.cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.cp-btn-secondary,
.cp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 3px;
  border: 1px solid var(--rule-strong);
  background: var(--surface-1);
  color: var(--ink-1);
  cursor: pointer;
  transition: all .15s ease;
}

.cp-btn-secondary:hover {
  border-color: var(--ink-3);
  background: var(--surface-3);
}

.cp-btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  margin-left: auto;
}

.cp-btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

@media (max-width: 640px) {
  .cp-card-head {
    flex-wrap: wrap;
  }
  .cp-actions {
    flex-direction: column;
  }
  .cp-btn-primary,
  .cp-btn-secondary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   FAQ PAGE
   ════════════════════════════════════════════════════════════════════════════ */

.faq-hero {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.faq-search {
  position: relative;
  max-width: 540px;
  margin: 24px 0 28px;
}

.faq-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 14px;
}

.faq-search input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: var(--surface-1);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease;
}

.faq-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}

/* Category tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--surface-1);
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s ease;
}

.faq-tab:hover {
  border-color: var(--rule-strong);
  color: var(--ink-1);
}

.faq-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

/* Section block */
.faq-section {
  margin-bottom: 40px;
}

.faq-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.faq-section-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.faq-section-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

.faq-section-count {
  margin-left: auto;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
}

/* FAQ accordion item */
.faq-item {
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface-1);
  transition: border-color .15s ease;
}

.faq-item:hover {
  border-color: var(--rule-strong);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-1);
  cursor: pointer;
  transition: background .12s ease;
}

.faq-q:hover {
  background: var(--surface-2);
}

.faq-chevron {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform .2s ease, color .15s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  border-top: 1px solid transparent;
  transition: max-height .25s ease, padding .25s ease, border-color .25s ease;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding: 14px 18px 16px;
  border-top-color: var(--rule);
}

.faq-a ul {
  margin: 8px 0;
  padding-left: 18px;
}

.faq-a li {
  margin-bottom: 4px;
}

.faq-a code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--accent);
  border: 1px solid var(--rule);
}

/* No results */
.faq-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
}

.faq-no-results-icon {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--ink-4);
  margin-bottom: 12px;
  display: block;
}

/* Mobile */
@media (max-width: 640px) {
  .faq-section-head {
    flex-wrap: wrap;
  }
  .faq-section-count {
    margin-left: 0;
  }
}