/* ── cookie-policy.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE POLICY — Styles for the /cookie-policy page.
   Uses the shared .page-banner, .section, .section.alt, .section-eyebrow,
   .section-title, and footer from shared.css.
   All cp-* classes are scoped to this page only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   BODY TEXT CONTAINER
──────────────────────────────────────────── */
.cp-body {
  max-width: 760px;
}
.cp-body p {
  font-size: 0.96rem;
  color: rgba(13, 26, 27, 0.65);
  line-height: 1.85;
  margin-bottom: 20px;
}
.cp-body p:last-child { margin-bottom: 0; }
.cp-body strong { color: var(--ink); font-weight: 600; }

/* ── Last Updated label ── */
.cp-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #88AB3C !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
}

/* ── List ── */
.cp-list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cp-list li {
  font-size: 0.96rem;
  color: rgba(13, 26, 27, 0.65);
  line-height: 1.75;
  padding-left: 24px;
  position: relative;
}
.cp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 2px;
  background: #326BCD;
}
.cp-list strong { color: var(--ink); font-weight: 600; }


/* ────────────────────────────────────────────
   COOKIE TYPE CARDS
──────────────────────────────────────────── */
.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.cp-card {
  border: 1px solid var(--border);
  padding: 36px;
  background: #fff;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.cp-card:hover { box-shadow: 0 4px 24px rgba(50, 107, 205, 0.08); }

.cp-card-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  width: fit-content;
}
.cp-card-badge.essential {
  background: #0d1a1b;
  color: #fff;
}
.cp-card-badge.analytics {
  background: #eef3ff;
  color: #326BCD;
  border: 1px solid #c5d5f5;
}

.cp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.cp-card-body {
  font-size: 0.9rem;
  color: rgba(13, 26, 27, 0.6);
  line-height: 1.8;
  flex: 1;
}
.cp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.cp-card-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(13, 26, 27, 0.45);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f2f5f5;
  padding: 4px 10px;
  border-radius: 2px;
}


/* ────────────────────────────────────────────
   THIRD-PARTY COOKIES
──────────────────────────────────────────── */
.cp-third-party-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.cp-third-party-item {
  border: 1px solid var(--border);
  border-left: 4px solid #326BCD;
  padding: 32px 36px;
  background: #fff;
}
.cp-tp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cp-tp-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.cp-tp-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #88AB3C;
  background: #f2f8e8;
  border: 1px solid #c8de99;
  padding: 4px 10px;
  border-radius: 2px;
}
.cp-tp-body {
  font-size: 0.9rem;
  color: rgba(13, 26, 27, 0.62);
  line-height: 1.8;
  margin-bottom: 12px;
}
.cp-tp-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  background: #f2f5f5;
  color: #326BCD;
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid #e0e8f4;
}
.cp-tp-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #326BCD;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}
.cp-tp-link:hover { color: #1a4fa0; }


/* ────────────────────────────────────────────
   MANAGING COOKIES
──────────────────────────────────────────── */
.cp-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 28px;
}
.cp-control-item {
  padding: 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cp-control-item:nth-child(2n) { border-right: none; }
.cp-control-item:nth-child(3),
.cp-control-item:nth-child(4) { border-bottom: none; }
.cp-control-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(50, 107, 205, 0.5);
  margin-bottom: 12px;
}
.cp-control-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.cp-control-body {
  font-size: 0.88rem;
  color: rgba(13, 26, 27, 0.6);
  line-height: 1.8;
}
.cp-control-body a {
  color: #326BCD;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.cp-control-body a:hover { color: #1a4fa0; }


/* ────────────────────────────────────────────
   CONTACT BLOCK
──────────────────────────────────────────── */
.cp-contact-block {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-left: 4px solid #88AB3C;
  padding: 32px 36px;
  display: inline-block;
  min-width: 340px;
}
.cp-contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 26, 27, 0.4);
  margin-bottom: 6px;
}
.cp-contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
a.cp-contact-value:hover { color: #326BCD; }


/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cp-grid          { grid-template-columns: 1fr; }
  .cp-controls-grid { grid-template-columns: 1fr; }
  .cp-control-item  { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .cp-control-item:last-child { border-bottom: none !important; }
  .cp-third-party-item { padding: 28px 24px; }
}
@media (max-width: 680px) {
  .cp-card       { padding: 28px 24px; }
  .cp-control-item { padding: 28px 24px; }
  .cp-contact-block { min-width: 0; width: 100%; }
}


/* ── legal.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES — Shared styles for Privacy Policy and Terms of Use.
   Uses the shared .page-banner, .section, .section.alt, .section-eyebrow,
   .section-title, and footer from shared.css.
   All lp-* classes are scoped to legal pages only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   BODY TEXT CONTAINER
──────────────────────────────────────────── */
.lp-body {
  max-width: 780px;
}
.lp-body p {
  font-size: 0.96rem;
  color: rgba(13, 26, 27, 0.65);
  line-height: 1.85;
  margin-bottom: 18px;
}
.lp-body p:last-child { margin-bottom: 0; }
.lp-body strong { color: var(--ink); font-weight: 600; }
.lp-body a { color: #326BCD; text-decoration: none; transition: color 0.2s; }
.lp-body a:hover { color: #1a4fa0; }
.lp-body em { font-style: italic; }

/* ── Last Updated label ── */
.lp-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #88AB3C !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
}

/* ── Lists ── */
.lp-body ul,
.lp-body ol {
  margin: 16px 0 20px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-body ul li,
.lp-body ol li {
  font-size: 0.95rem;
  color: rgba(13, 26, 27, 0.65);
  line-height: 1.75;
  padding-left: 22px;
  position: relative;
}
.lp-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 2px;
  background: #326BCD;
}
.lp-body ol {
  counter-reset: lp-counter;
}
.lp-body ol li {
  counter-increment: lp-counter;
}
.lp-body ol li::before {
  content: counter(lp-counter) '.';
  position: absolute;
  left: 0; top: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #326BCD;
  font-family: 'JetBrains Mono', monospace;
}
/* nested sub-lists */
.lp-body ul ul,
.lp-body ol ul {
  margin: 10px 0 0 16px;
}

/* ────────────────────────────────────────────
   TABLE OF CONTENTS
──────────────────────────────────────────── */
.lp-toc {
  border: 1px solid var(--border);
  border-left: 4px solid #326BCD;
  padding: 32px 36px;
  margin-bottom: 0;
  max-width: 780px;
  background: #fff;
}
.lp-toc-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(13, 26, 27, 0.4);
  margin-bottom: 16px;
}
.lp-toc-list {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: toc-counter;
}
.lp-toc-list li {
  counter-increment: toc-counter;
  font-size: 0.88rem;
  color: rgba(13, 26, 27, 0.6);
  padding-left: 32px;
  position: relative;
  line-height: 1.5;
}
.lp-toc-list li::before {
  content: counter(toc-counter, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(50, 107, 205, 0.5);
  top: 1px;
}
.lp-toc-list li a {
  color: rgba(13, 26, 27, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-toc-list li a:hover { color: #326BCD; }

/* ────────────────────────────────────────────
   SECTION NUMBER CHIP
──────────────────────────────────────────── */
.lp-section-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(50, 107, 205, 0.5);
  margin-bottom: 10px;
}

/* ────────────────────────────────────────────
   DATA CATEGORIES TABLE
──────────────────────────────────────────── */
.lp-table-wrap {
  overflow-x: auto;
  margin: 24px 0 0;
}
.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border: 1px solid var(--border);
}
.lp-table th {
  background: #0d1a1b;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
}
.lp-table td {
  border: 1px solid var(--border);
  padding: 13px 16px;
  color: rgba(13, 26, 27, 0.65);
  line-height: 1.6;
  vertical-align: top;
}
.lp-table tr:nth-child(even) td { background: #f9fafa; }
.lp-yes {
  color: #326BCD;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.lp-no {
  color: rgba(13, 26, 27, 0.3);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ────────────────────────────────────────────
   ADDRESS / CONTACT BLOCK
──────────────────────────────────────────── */
.lp-contact-block {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-left: 4px solid #88AB3C;
  padding: 28px 32px;
  display: inline-block;
  min-width: 300px;
}
.lp-contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 26, 27, 0.4);
  margin-bottom: 4px;
}
.lp-contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
}
a.lp-contact-value:hover { color: #326BCD; }

/* ────────────────────────────────────────────
   HIGHLIGHT BOX (for "In Short" notes)
──────────────────────────────────────────── */
.lp-note {
  background: #f2f5f5;
  border-left: 3px solid #326BCD;
  padding: 18px 24px;
  margin: 0 0 20px;
  max-width: 780px;
}
.lp-note p {
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}
.lp-note strong { color: #326BCD !important; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-toc { padding: 24px 28px; }
  .lp-contact-block { min-width: 0; width: 100%; }
}
@media (max-width: 680px) {
  .lp-toc { padding: 20px 20px; }
  .lp-table th,
  .lp-table td { padding: 10px 12px; }
  .lp-contact-block { padding: 22px 20px; }
}
