/* =====================================================================
   Captain Compliance — design tokens & global styles
   Adapted from the approved design file. Prefix: .cc-
   ===================================================================== */

:root {
  /* Default (light) palette. The site default is light; the frontend always
     sets data-theme via the inline wp_head script, and the block editor (which
     has no data-theme) inherits this light palette directly. */
  --bg:        oklch(0.985 0.002 60);
  --bg-1:      oklch(0.965 0.003 60);
  --bg-2:      oklch(0.94  0.004 60);
  --panel:     oklch(1 0 0);
  --line:      oklch(0.9  0.004 60);
  --line-2:    oklch(0.82 0.005 60);
  --fg:        oklch(0.17 0.006 30);
  --fg-1:      oklch(0.32 0.006 30);
  --fg-2:      oklch(0.48 0.008 30);
  --fg-3:      oklch(0.52 0.008 30);

  --accent:    #E02444;
  --accent-fg: #ffffff;
  --accent-tint: color-mix(in oklab, var(--accent) 14%, transparent);
  --ok:        #136b40;
  --warn:      oklch(0.82 0.14 80);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius:    10px;
  --radius-lg: 16px;
  --maxw:      1440px;
  --gutter:    40px;
}

/* Explicit light (same as :root default) for when data-theme="light" is set. */
[data-theme="light"] {
  --bg:        oklch(0.985 0.002 60);
  --bg-1:      oklch(0.965 0.003 60);
  --bg-2:      oklch(0.94  0.004 60);
  --panel:     oklch(1 0 0);
  --line:      oklch(0.9  0.004 60);
  --line-2:    oklch(0.82 0.005 60);
  --fg:        oklch(0.17 0.006 30);
  --fg-1:      oklch(0.32 0.006 30);
  --fg-2:      oklch(0.48 0.008 30);
  --fg-3:      oklch(0.62 0.008 30);
}

[data-theme="dark"] {
  --bg:        oklch(0.155 0.005 30);
  --bg-1:      oklch(0.185 0.006 30);
  --bg-2:      oklch(0.215 0.006 30);
  --panel:     oklch(0.195 0.006 30);
  --line:      oklch(0.28  0.005 30);
  --line-2:    oklch(0.34  0.006 30);
  --fg:        oklch(0.965 0.003 60);
  --fg-1:      oklch(0.82  0.005 60);
  --fg-2:      oklch(0.64  0.008 60);
  --fg-3:      oklch(0.48  0.008 60);
}

[data-accent="amber"]   { --accent: #E8A33B; --accent-fg: #111; }
[data-accent="emerald"] { --accent: #2DB37A; }
[data-accent="azure"]   { --accent: #3B82F6; }

/* ---------- Base ---------- */
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-fg); }

.cc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Topbar / Header ---------- */
.cc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.cc-topbar-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.cc-brand { display: flex; align-items: center; gap: 10px; }
/* Covers both the bundled <img> and the native Site Logo block's img.custom-logo.
   The .custom-logo selector (two classes) wins over WP's default block sizing. */
.cc-brand img,
.cc-brand .custom-logo { height: 26px; width: auto; max-width: none; display: block; }
.cc-brand .custom-logo-link { display: block; line-height: 0; }
[data-theme="dark"] .cc-brand img,
[data-theme="dark"] .cc-brand .custom-logo { filter: brightness(1.05); }

.cc-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.cc-nav a.cc-nav-item,
.cc-nav .cc-nav-item {
  position: relative;
  padding: 8px 12px; border-radius: 6px;
  color: var(--fg-1); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; user-select: none;
  transition: color 120ms ease, background 120ms ease;
}
.cc-nav .cc-nav-item:hover { color: var(--fg); }
.cc-nav .cc-caret { opacity: .5; transition: transform 180ms ease, opacity 180ms ease; }
.cc-nav .cc-nav-item:hover .cc-caret { transform: rotate(180deg); opacity: 1; }

/* Accent underline on hover for items with a mega panel. */
.cc-nav .cc-nav-item[data-open]::after {
  content: "";
  position: absolute; left: 8px; right: 8px; bottom: -1px;
  height: 2px; background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0; transform: scaleX(.4); transform-origin: center;
  transition: opacity 160ms ease, transform 220ms cubic-bezier(.2,.7,.2,1);
}
.cc-nav .cc-nav-item[data-open]:hover::after,
.cc-nav .cc-nav-item[data-open]:focus-within::after { opacity: 1; transform: scaleX(1); }

/* Hover bridge — prevents gap-flicker between trigger and panel. */
.cc-nav .cc-nav-item[data-open]::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 100%; height: 14px;
  display: none;
}
.cc-nav .cc-nav-item[data-open]:hover::before,
.cc-nav .cc-nav-item[data-open]:focus-within::before { display: block; }

/* ---------- Mega menu panel ---------- */
.cc-mega {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 64px -16px rgba(0,0,0,.45),
    0 6px 16px -8px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.02) inset;
  display: none;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 160ms ease, transform 200ms cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
  z-index: 60;
}
[data-theme="light"] .cc-mega,
:root .cc-mega {
  box-shadow:
    0 24px 64px -16px rgba(20, 12, 14, .14),
    0 6px 16px -8px rgba(20, 12, 14, .08),
    0 0 0 1px rgba(0,0,0,.02) inset;
}
.cc-nav-item:hover .cc-mega,
.cc-nav-item:focus-within .cc-mega { display: grid; opacity: 1; transform: translateY(0); }

.cc-mega-platform  { width: 880px; grid-template-columns: 1.15fr 1.15fr 1fr; }
.cc-mega-solutions { width: 820px; grid-template-columns: 1fr 1fr 1fr; }
.cc-mega-resources { width: 760px; grid-template-columns: 1.2fr 1fr 1fr; }

.cc-mega.cc-anchor-right { left: auto; right: -16px; }

.cc-mega-col { padding: 18px 18px 14px; border-right: 1px solid var(--line); }
.cc-mega-col:last-child { border-right: 0; }

.cc-mega-empty { grid-column: 1 / -1; padding: 24px; color: var(--fg-3); font-family: var(--mono); font-size: 12.5px; }

.cc-mega-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
  margin: 2px 0 12px;
}
.cc-mega-eyebrow::before { content: ""; width: 14px; height: 1px; background: var(--accent); display: inline-block; }

.cc-mega-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--fg-1);
  align-items: flex-start;
  margin: 0 -10px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.cc-mega-link:hover { background: var(--bg-1); color: var(--fg); }
.cc-mega-link:hover .cc-mega-link-arrow { opacity: 1; transform: translateX(2px); }

.cc-mega-mark {
  width: 18px; height: 18px;
  position: relative; margin-top: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.cc-mega-mark .sq   { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; }
.cc-mega-mark .ci   { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 999px; }
.cc-mega-mark .di   { width: 9px;  height: 9px;  border: 1.5px solid currentColor; transform: rotate(45deg); }
.cc-mega-mark .ba   { width: 12px; height: 4px;  background: currentColor; border-radius: 2px; }
.cc-mega-mark .ri   { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 999px; }
.cc-mega-mark .ri::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; background: currentColor; border-radius: 999px; transform: translate(-50%, -50%); }
.cc-mega-mark .sl   { width: 12px; height: 2px;  background: currentColor; transform: rotate(-30deg); box-shadow: 0 5px 0 currentColor; }
.cc-mega-mark .grid { width: 12px; height: 12px; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 4px 4px; opacity: .85; }

.cc-mega-link-body { min-width: 0; display: block; }
.cc-mega-link-title {
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 6px;
  color: inherit;
}
.cc-mega-link-desc { display: block; font-size: 12px; line-height: 1.45; color: var(--fg-3); margin-top: 2px; }
.cc-mega-link-arrow {
  display: inline-block;
  font-family: var(--mono); font-size: 12px;
  color: var(--accent);
  opacity: 0; transform: translateX(-2px);
  transition: opacity 160ms ease, transform 200ms cubic-bezier(.2,.7,.2,1);
}
.cc-mega-link-tag {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  background: var(--accent-tint); color: var(--accent);
  margin-left: 6px;
}

/* Feature card column (right-most). */
.cc-mega-feature {
  padding: 0;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  display: flex; flex-direction: column;
}
.cc-mega-feature-art {
  position: relative;
  margin: 18px 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  height: 124px;
  background:
    radial-gradient(ellipse 70% 60% at 75% 25%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-2), var(--panel));
}
.cc-mega-feature-art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .35;
}
.cc-mega-feature-badge {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  backdrop-filter: blur(4px);
}
.cc-mega-feature-badge i { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent); }
.cc-mega-feature-num {
  position: absolute; right: 14px; bottom: 12px;
  font-family: var(--mono);
  font-size: 38px; font-weight: 600; letter-spacing: -.02em;
  color: var(--fg);
  line-height: 1;
}
.cc-mega-feature-num small { font-size: 13px; font-weight: 500; color: var(--fg-2); letter-spacing: 0; display: block; text-align: right; margin-top: 2px; }
.cc-mega-feature-body { padding: 14px 18px 16px; }
.cc-mega-feature-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--fg); }
.cc-mega-feature-desc { font-size: 12.5px; line-height: 1.5; color: var(--fg-2); margin-top: 4px; }
.cc-mega-feature-cta {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--accent);
  text-transform: uppercase;
}
.cc-mega-feature-cta::after { content: " →"; }

.cc-topbar-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.cc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent;
  transition: background 120ms, border-color 120ms, transform 120ms;
  white-space: nowrap;
}
.cc-btn-ghost     { color: var(--fg-1); }
.cc-btn-ghost:hover { color: var(--fg); background: var(--bg-1); }
.cc-btn-secondary { color: var(--fg); background: var(--bg-1); border-color: color-mix(in oklab, var(--fg-3) 42%, var(--line)); }
.cc-btn-secondary:hover { background: var(--bg-2); border-color: var(--line-2); }
.cc-btn-primary   { background: var(--accent); color: var(--accent-fg); border-color: color-mix(in oklab, var(--accent) 60%, black); }
.cc-btn-primary:hover { transform: translateY(-1px); }
.cc-btn-lg { padding: 12px 18px; font-size: 14px; }

/* ---------- Theme toggle ---------- */
.cc-theme-toggle {
  width: 34px; height: 34px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--fg-1);
}
.cc-theme-toggle:hover { background: var(--bg-1); color: var(--fg); }

/* ---------- Hero ---------- */
.cc-hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cc-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 20% 40%, #000 10%, transparent 70%);
  opacity: .35; pointer-events: none;
}
.cc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px; align-items: center; position: relative;
}

.cc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
}
.cc-pip {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}

.cc-head-hero {
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 600; margin: 20px 0 18px; text-wrap: balance;
}
.cc-head-hero em { color: var(--accent); font-style: normal; }

.cc-sub {
  font-size: 18px; line-height: 1.55;
  color: var(--fg-1); max-width: 56ch; text-wrap: pretty;
}

.cc-hero-ctas { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.cc-hero-meta {
  margin-top: 22px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--fg-3);
}
.cc-hero-meta span::before { content: "//"; margin-right: 8px; color: var(--accent); opacity: .8; }

/* ---------- Live stream (hero right) ---------- */
.cc-hero-right { position: relative; }
.cc-stream {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
}
.cc-stream-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-1), var(--panel));
}
.cc-stream-head .dots { display: flex; gap: 6px; }
.cc-stream-head .dots i { width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); display: block; }
.cc-stream-title { font-family: var(--mono); font-size: 12px; color: var(--fg-2); letter-spacing: .02em; }
.cc-stream-title b { color: var(--fg); font-weight: 600; }
.cc-stream-live {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px;
  color: var(--ok); display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border: 1px solid color-mix(in oklab, var(--ok) 40%, transparent);
  border-radius: 999px; background: color-mix(in oklab, var(--ok) 10%, transparent);
}
.cc-stream-live i { width: 6px; height: 6px; border-radius: 999px; background: var(--ok); animation: cc-pulse 1.6s infinite; }
@keyframes cc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.cc-stream-body {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.65;
  padding: 14px 16px; color: var(--fg-1);
  height: 320px; overflow: hidden; position: relative;
}
.cc-stream-body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--panel));
  pointer-events: none;
}
.cc-ev { display: grid; grid-template-columns: 74px 54px 1fr auto; gap: 14px; padding: 2px 0; align-items: baseline; }
.cc-ev .t { color: var(--fg-3); }
.cc-ev .m {
  font-size: 10px; padding: 1px 6px; border-radius: 4px;
  border: 1px solid var(--line-2); color: var(--fg-2);
  justify-self: start; letter-spacing: .04em;
}
.cc-ev .m.allow { color: var(--ok); border-color: color-mix(in oklab, var(--ok) 50%, transparent); }
.cc-ev .m.block { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 50%, transparent); }
.cc-ev .m.grant { color: var(--fg-2); }
.cc-ev .d { color: var(--fg); }
.cc-ev .d strong { color: var(--fg); font-weight: 600; }
.cc-ev .d span { color: var(--fg-2); }
.cc-ev .r { color: var(--fg-3); }

.cc-stream-foot {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-2);
}
.cc-stream-foot b { color: var(--fg); font-weight: 600; }

/* Shield card inset */
.cc-shield-card {
  position: absolute;
  right: -8px; bottom: -40px;
  width: 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
}
.cc-shield-head { display: flex; align-items: center; justify-content: space-between; }
.cc-shield-head .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.cc-shield-head .active { font-family: var(--mono); font-size: 10.5px; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.cc-shield-head .active i { width: 6px; height: 6px; border-radius: 999px; background: var(--ok); }
.cc-shield-mark {
  margin-top: 10px; display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 10px;
  background: var(--bg-1); border: 1px dashed var(--line-2);
}
.cc-shield-seal {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center; color: var(--accent);
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  font-weight: 700; position: relative;
}
.cc-shield-seal::before { content: ""; position: absolute; inset: 3px; border-radius: 999px; border: 1px dashed color-mix(in oklab, var(--accent) 40%, transparent); }
.cc-shield-sig { font-family: "Geist"; font-style: italic; color: var(--fg); font-size: 18px; letter-spacing: -0.01em; }
.cc-shield-sig small { display: block; font-style: normal; font-size: 10.5px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-top: 2px; }
.cc-shield-rows { margin-top: 12px; display: grid; gap: 6px; }
.cc-shield-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; }
.cc-shield-row span:first-child { color: var(--fg-3); }
.cc-shield-row span:last-child  { color: var(--fg-1); }

/* ---------- Trust bar ---------- */
.cc-trust { padding: 44px 0; border-bottom: 1px solid var(--line); }
.cc-trust-eyebrow { text-align: center; color: var(--fg-2); font-size: 13px; font-family: var(--mono); letter-spacing: .04em; }
.cc-trust-row { margin-top: 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: center; }
.cc-trust-logo { height: 28px; display: grid; place-items: center; color: var(--fg-3); font-weight: 700; letter-spacing: -0.01em; font-size: 17px; opacity: .9; }
.cc-trust-logo.mono  { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.cc-trust-logo.serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 20px; }
.cc-trust-logo img   { max-height: 28px; width: auto; opacity: .85; filter: grayscale(1); transition: opacity 120ms, filter 120ms; }
.cc-trust-logo:hover img { opacity: 1; filter: grayscale(0); }

/* ---------- Section scaffolding ---------- */
.cc-section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.cc-section-tag {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.cc-section-tag::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
.cc-head-section {
  margin: 18px 0 12px;
  font-size: clamp(34px, 3.6vw, 46px);
  letter-spacing: -0.02em; line-height: 1.08;
  font-weight: 600; text-wrap: balance;
}
.cc-section-sub { color: var(--fg-1); font-size: 17px; max-width: 58ch; line-height: 1.55; text-wrap: pretty; }

/* ---------- Stats ---------- */
.cc-stat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cc-stat {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg);
  padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.cc-stat .num { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.cc-stat .num em { color: var(--accent); font-style: normal; }
.cc-stat .lab { color: var(--fg-1); font-size: 14.5px; line-height: 1.4; }
.cc-stat .src { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .04em; }

/* ---------- Proof ---------- */
.cc-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cc-proof {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 18px;
}
.cc-proof q { quotes: none; font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; color: var(--fg); text-wrap: pretty; }
.cc-proof q::before { content: "\201C"; color: var(--accent); font-size: 28px; margin-right: 2px; line-height: 0; vertical-align: -10px; }
.cc-proof q::after  { content: "\201D"; color: var(--accent); }
.cc-proof .who { font-size: 13px; color: var(--fg-1); }
.cc-proof .who b { color: var(--fg); font-weight: 600; }
.cc-proof .who span { color: var(--fg-3); display: block; }
.cc-proof .metric { margin-top: auto; font-family: var(--mono); font-size: 12px; color: var(--fg-2); padding-top: 14px; border-top: 1px dashed var(--line); }
.cc-proof .metric b { color: var(--fg); font-weight: 600; }

/* ---------- FAQ ---------- */
.cc-faq { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; }
.cc-faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.cc-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--fg); letter-spacing: -0.005em;
}
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after { content: "+"; font-family: var(--mono); color: var(--fg-2); font-size: 18px; font-weight: 400; transition: transform 200ms; }
.cc-faq details[open] summary::after { content: "\2013"; }
.cc-faq p { margin: 12px 0 0; color: var(--fg-1); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }

/* ---------- Final CTA ---------- */
.cc-final { padding: 96px 0 120px; text-align: center; position: relative; overflow: hidden; }
.cc-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.cc-final h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.025em; margin: 0 0 28px; font-weight: 600; text-wrap: balance; }
.cc-final .row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.cc-final .note { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); position: relative; }

/* ---------- Footer ---------- */
.cc-footer { padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--bg-1); }
.cc-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; }
.cc-foot-brand img { height: 26px; width: auto; display: block; margin-bottom: 18px; }
.cc-foot-brand p { color: var(--fg-2); font-size: 14px; line-height: 1.55; max-width: 34ch; }
.cc-foot-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin: 0 0 18px; }
.cc-foot-col a { display: block; font-size: 14px; color: var(--fg-1); padding: 6px 0; }
.cc-foot-col a:hover { color: var(--fg); }
.cc-foot-bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em;
}

/* ---------- Shield chip (persistent corner) ---------- */
.cc-shield-chip {
  position: fixed; bottom: 20px; right: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 6px 24px -8px rgba(0,0,0,.4);
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-1); letter-spacing: .02em;
}
.cc-shield-chip b { color: var(--ok); font-weight: 600; }
.cc-shield-chip .d { width: 6px; height: 6px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 20%, transparent); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cc-hero-inner,
  .cc-trust-row { grid-template-columns: 1fr; }
  .cc-trust-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .cc-proof-grid { grid-template-columns: 1fr; }
  .cc-faq { grid-template-columns: 1fr; }
  .cc-foot-grid { grid-template-columns: 1fr 1fr; }
  .cc-shield-card { position: static; width: 100%; margin-top: 20px; }
}

/* ---------- Diff cards ---------- */
.cc-diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.diff-card {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg);
  padding: 28px 26px 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  min-height: 300px; position: relative; overflow: hidden;
}
.diff-card .idx { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .12em; }
.diff-card h3 { margin: 0; font-size: 22px; letter-spacing: -0.015em; font-weight: 600; }
.diff-card p { margin: 0; color: var(--fg-1); font-size: 14.5px; line-height: 1.55; }
.diff-visual {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-1); padding: 12px 14px;
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-1); min-height: 70px;
}
.diff-visual .tok  { color: var(--fg-3); }
.diff-visual .kw   { color: var(--accent); }
.diff-visual .ok   { color: var(--ok); }
.diff-visual .warn { color: var(--warn); }

/* Card 01: request-time timeline visual. */
.diff-visual .timeline { display: flex; align-items: center; gap: 0; }
.diff-visual .step { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; }
.diff-visual .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--line-2); display: inline-block; }
.diff-visual .dot.on { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent); }
.diff-visual .bar { flex: 1; height: 1px; background: var(--line-2); margin: 0 8px; }
.diff-visual .lbl { color: var(--fg-2); }

/* ---------- Modules ---------- */
.cc-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.cc-module {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px;
}
.cc-module-head { display: flex; align-items: center; gap: 12px; }
.cc-module-num  { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .15em; }
.cc-module h3 { margin: 0; font-size: 22px; letter-spacing: -0.015em; font-weight: 600; }
.cc-module p  { margin: 0; color: var(--fg-1); font-size: 14.5px; line-height: 1.55; }
.cc-module-link {
  margin-top: auto; color: var(--accent); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.cc-module-link:hover { text-decoration: underline; }

/* ---------- Shield callout ---------- */
.cc-shield-wrap {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: 24px;
  padding: 72px 64px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px;
  align-items: center; position: relative; overflow: hidden;
}
.cc-shield-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in oklab, var(--accent) 7%, transparent) 12px 13px);
  pointer-events: none; opacity: .7;
}
.cc-shield-wrap > * { position: relative; }
.cc-shield-stamp {
  width: 280px; height: 280px; border-radius: 999px;
  border: 2px solid var(--accent);
  display: grid; place-items: center; position: relative; margin: 0 auto;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%), var(--bg);
}
.cc-shield-stamp::before { content: ""; position: absolute; inset: 10px; border: 1px dashed color-mix(in oklab, var(--accent) 50%, transparent); border-radius: 999px; }
.cc-shield-stamp .inner { text-align: center; color: var(--accent); }
.cc-shield-stamp .inner .k { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.cc-shield-stamp .inner .v { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 0; color: var(--fg); font-family: "Geist"; font-style: italic; }
.cc-shield-stamp .inner .y { font-family: var(--mono); font-size: 10.5px; color: var(--fg-2); letter-spacing: .15em; margin-top: 8px; }

/* ---------- Comparison ---------- */
.cc-cmp {
  margin-top: 40px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--panel);
}
.cc-cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.cc-cmp-row > * { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-1); }
.cc-cmp-row:first-child > * { border-top: 0; }
.cc-cmp-row > *:not(:first-child) { border-left: 1px solid var(--line); }
.cc-cmp-head > * {
  background: var(--bg-1); padding: 22px; font-weight: 600; color: var(--fg);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
}
.cc-cmp-head > *:first-child { color: var(--fg-3); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.cc-cmp-head .us { color: var(--accent); }
.cc-cmp-lbl { font-weight: 600; color: var(--fg); font-size: 14px; }
.cc-cmp-cell { font-size: 13.5px; line-height: 1.5; color: var(--fg-1); }
.cc-cmp-cell.muted { color: var(--fg-2); }
.cc-cmp-cell.strong { color: var(--fg); font-weight: 600; }
.cc-cmp-cell.us { color: var(--fg); }
.cc-cmp-cell.us::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); margin-right: 8px; transform: translateY(-2px);
}

/* ---------- Pricing teaser ---------- */
.cc-pricing-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cc-pricing-card {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--radius-lg); padding: 28px;
}
.cc-pricing-card h4 { margin: 0 0 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.cc-pricing-rows { display: grid; gap: 12px; margin-top: 18px; }
.cc-pricing-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.cc-pricing-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-pricing-row .tier { font-weight: 600; font-size: 15px; }
.cc-pricing-row .tier small { display: block; font-weight: 400; color: var(--fg-2); font-size: 12.5px; margin-top: 2px; }
.cc-pricing-row .px { font-family: var(--mono); font-size: 13px; color: var(--fg-1); }

/* ---------- Responsive overrides ---------- */
@media (max-width: 960px) {
  .cc-diff-grid,
  .cc-modules { grid-template-columns: 1fr; }
  .cc-shield-wrap { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
  .cc-cmp-row { grid-template-columns: 1fr; }
  .cc-cmp-row > *:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); }
  .cc-pricing-wrap { grid-template-columns: 1fr; }
}

/* =====================================================================
   Pricing page — tier grid
   ===================================================================== */
.cc-price-hero {
  padding: 64px 0 32px; text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cc-price-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.cc-price-hero .cc-wrap > * { position: relative; }
.cc-price-hero .cc-price-crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 14px;
}
.cc-price-hero h1 {
  font-size: clamp(44px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 600; margin: 0 0 16px; text-wrap: balance;
}
.cc-price-hero h1 em { color: var(--accent); font-style: normal; }
.cc-price-hero p.sub {
  font-size: 18px; color: var(--fg-1); max-width: 64ch;
  margin: 0 auto; line-height: 1.55;
}
.cc-price-hero .cc-shield-bar {
  margin: 26px auto 0;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 16px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  border-radius: 999px;
  background: var(--accent-tint);
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-1); letter-spacing: .04em;
}
.cc-price-hero .cc-shield-bar b { color: var(--fg); font-weight: 600; }

.cc-tiers {
  margin: 40px auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: var(--maxw); padding: 0 var(--gutter);
}
.cc-tier {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.cc-tier-feat {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 8%, var(--panel)), var(--panel));
  border-color: var(--accent);
  box-shadow: 0 24px 64px -24px color-mix(in oklab, var(--accent) 30%, transparent);
}
.cc-tier-feat::before {
  content: "MOST POPULAR";
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-fg);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  padding: 4px 10px; border-radius: 4px;
}
.cc-tier-name {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3);
}
.cc-tier-price {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.cc-tier-price em { color: var(--accent); font-style: normal; }
.cc-tier-price small {
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--fg-2);
  letter-spacing: .02em;
}
.cc-tier-blurb { font-size: 13.5px; color: var(--fg-1); line-height: 1.55; max-width: 28ch; margin: 0; }
.cc-tier ul {
  margin: 0; padding: 14px 0 0; list-style: none;
  display: grid; gap: 8px; border-top: 1px solid var(--line);
}
.cc-tier ul li {
  font-size: 13px; color: var(--fg-1); line-height: 1.5;
  display: grid; grid-template-columns: 14px 1fr; gap: 8px;
}
.cc-tier ul li::before { content: "✓"; color: var(--accent); font-size: 12px; }
.cc-tier-cta { margin-top: 4px; }
.cc-tier-cta .cc-btn { width: 100%; justify-content: center; }
.cc-tier-micro {
  font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .04em;
  padding-top: 12px; border-top: 1px dashed var(--line);
}

@media (max-width: 960px) {
  .cc-tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cc-tiers { grid-template-columns: 1fr; }
}

/* =====================================================================
   Article single-post template (templates/single.html)
   ===================================================================== */
:root {
  --c-regulations: var(--accent);
  --c-consent:     oklch(0.72 0.12 240);
  --c-sst:         oklch(0.76 0.13 162);
  --c-dsar:        oklch(0.82 0.13 80);
  --c-litigation:  oklch(0.70 0.14 350);
  --c-industry:    oklch(0.74 0.12 300);
  --c-product:     oklch(0.78 0.12 200);
}
/* Per-article accent variants — set on cc-article-hero wrapper via data-cat. */
.cc-article[data-cat="regulations"] { --cat: var(--c-regulations); }
.cc-article[data-cat="consent"]     { --cat: var(--c-consent); }
.cc-article[data-cat="sst"]         { --cat: var(--c-sst); }
.cc-article[data-cat="dsar"]        { --cat: var(--c-dsar); }
.cc-article[data-cat="litigation"]  { --cat: var(--c-litigation); }
.cc-article[data-cat="industry"]    { --cat: var(--c-industry); }
.cc-article[data-cat="product"]     { --cat: var(--c-product); }
.cc-article { --cat: var(--c-sst); }

/* HERO */
.cc-ahero { padding: 40px 0 38px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.cc-ahero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 58% 80% at 90% 8%, #000, transparent 70%); opacity: .3; }
.cc-ahero::after  { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 120% at 88% 0%, color-mix(in oklab, var(--cat) 15%, transparent), transparent 55%); }
.cc-ahero-inner { position: relative; max-width: 860px; }
.cc-acrumb { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 22px; }
.cc-acrumb a { color: var(--fg-2); }
.cc-acrumb a:hover { color: var(--accent); }
.cc-acrumb i { font-style: normal; margin: 0 8px; color: var(--fg-3); }

.cc-acat {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: color-mix(in oklab, var(--cat) 72%, var(--fg));
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--cat) 50%, var(--line));
  background: color-mix(in oklab, var(--cat) 12%, var(--bg-1));
}
.cc-acat .cc-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cat); }

.cc-ahero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; margin: 20px 0 18px; text-wrap: balance; max-width: 19ch; }
.cc-adek { font-size: 19px; line-height: 1.55; color: var(--fg-1); max-width: 60ch; text-wrap: pretty; }
.cc-ameta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.cc-byline { display: flex; align-items: center; gap: 12px; }
.cc-byline .cc-av {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  background: linear-gradient(135deg, color-mix(in oklab, var(--cat) 42%, var(--bg-2)), var(--bg-2));
  border: 1px solid var(--line-2); display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--fg);
  overflow: hidden;
}
.cc-byline .cc-av img,
.cc-article-author .cc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-byline .cc-who { line-height: 1.3; }
.cc-byline .cc-who b { font-size: 14px; font-weight: 600; display: block; }
.cc-byline .cc-who small { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.cc-ameta .cc-facts { display: flex; gap: 18px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.cc-ameta .cc-facts span::before { content: "//"; margin-right: 7px; color: var(--accent); opacity: .75; }

/* PROSE BODY */
.cc-article-body { padding: 52px 0 80px; }
.cc-prose { font-size: 17.5px; line-height: 1.72; color: var(--fg-1); max-width: 720px; margin: 0 auto; }
.cc-prose > * + * { margin-top: 1.35em; }
/* Drop-cap on first paragraph — article-reading context only.
   Solutions / regulations pages reuse .cc-prose for narrow intro paragraphs
   but should not show a drop-cap (it competes with the hero). */
.cc-article-body .cc-prose > p:first-of-type::first-letter {
  float: left; font-size: 64px; line-height: .82; font-weight: 600; padding: 6px 12px 0 0;
  color: var(--accent); font-family: var(--sans);
}
.cc-prose h2 { font-size: 27px; line-height: 1.18; letter-spacing: -0.015em; font-weight: 600; color: var(--fg); margin-top: 2em; scroll-margin-top: 92px; }
.cc-prose h3 { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--fg); margin-top: 1.7em; scroll-margin-top: 92px; }
.cc-prose p { max-width: 68ch; }
.cc-prose a { color: color-mix(in oklab, var(--accent) 90%, var(--fg)); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.cc-prose a:hover { text-decoration-color: var(--accent); }
.cc-prose strong { color: var(--fg); font-weight: 600; }
.cc-prose ul, .cc-prose ol { max-width: 66ch; padding-left: 0; list-style: none; }
.cc-prose li { position: relative; padding-left: 28px; margin-top: .7em; }
.cc-prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--cat); }
.cc-prose ol { counter-reset: li; }
.cc-prose ol li { counter-increment: li; }
.cc-prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cat); }
.cc-prose blockquote {
  margin: 1.8em 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-1);
  font-size: 23px; line-height: 1.42; font-weight: 500; color: var(--fg); letter-spacing: -0.01em;
}
.cc-prose blockquote cite { display: block; margin-top: 14px; font: 500 12px var(--mono); color: var(--fg-3); font-style: normal; letter-spacing: .04em; }
.cc-prose blockquote cite::before { content: "— "; }
.cc-prose code, .cc-prose pre { font-family: var(--mono); font-size: 13px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 6px; }
.cc-prose code { padding: 2px 5px; }
.cc-prose pre { padding: 16px 18px; overflow-x: auto; }

/* AUTHOR */
.cc-article-author { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.cc-article-author-inner { max-width: 820px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.cc-article-author .cc-av { width: 64px; height: 64px; border-radius: 999px; flex: none; background: linear-gradient(135deg, color-mix(in oklab, var(--cat) 42%, var(--bg-2)), var(--bg-2)); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 17px; font-weight: 700; }
.cc-article-author .cc-ab small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cat); }
.cc-article-author .cc-ab h4 { margin: 5px 0 6px; font-size: 18px; font-weight: 600; }
.cc-article-author .cc-ab p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); max-width: 56ch; }

/* RELATED */
.cc-related { padding: 64px 0; }
.cc-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.cc-rel { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; transition: border-color 140ms ease, transform 220ms ease; }
.cc-rel:hover { border-color: color-mix(in oklab, var(--cat) 50%, var(--line)); transform: translateY(-3px); }
.cc-rel .cc-rcov { position: relative; aspect-ratio: 16/9; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-1); }
.cc-rel .cc-rcov-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-rel .cc-rcov::before { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 120% at 80% 20%, color-mix(in oklab, var(--cat) 24%, transparent), transparent 60%), linear-gradient(160deg, var(--bg-2), var(--bg-1)); }
.cc-rel .cc-rcov::after  { content: ""; position: absolute; inset: 0; z-index: 3; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000, transparent 75%); opacity: .5; }
.cc-rel .cc-rcov.cc-has-thumb::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%),
              radial-gradient(120% 100% at 80% 20%, color-mix(in oklab, var(--cat) 20%, transparent), transparent 65%);
}
.cc-rel .cc-rcov.cc-has-thumb::after { opacity: .15; }
.cc-rel .cc-rtag { position: absolute; left: 14px; top: 12px; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--cat) 72%, var(--fg)); }
.cc-rel .cc-rcov.cc-has-thumb .cc-rtag { color: #fff; }
.cc-rel .cc-rb { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cc-rel .cc-rm { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }
.cc-rel h3 { margin: 9px 0 0; font-size: 16.5px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; text-wrap: balance; }

/* NEWSLETTER */
.cc-newsletter { padding: 0 0 84px; }
.cc-newsletter-card {
  position: relative; overflow: hidden; max-width: 820px; margin: 0 auto;
  background: linear-gradient(120deg, color-mix(in oklab, var(--accent) 16%, var(--panel)), var(--panel) 60%);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: var(--radius-lg); padding: 40px 44px; text-align: center;
}
.cc-newsletter-card h2 { margin: 12px 0 10px; font-size: 28px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.cc-newsletter-card p { margin: 0 auto 22px; color: var(--fg-1); font-size: 15px; line-height: 1.55; max-width: 46ch; }
.cc-newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.cc-newsletter-form input { flex: 1; background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px; padding: 13px 16px; color: var(--fg); font: 500 14px var(--sans); outline: none; transition: border-color 120ms ease, box-shadow 120ms ease; }
.cc-newsletter-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

@media (max-width: 960px) {
  .cc-rel-grid { grid-template-columns: 1fr; }
  .cc-article-author-inner { grid-template-columns: 1fr; text-align: center; }
}

/* =====================================================================
   Education Hub — /education/ landing (cc-topbar + dark hero + listing)
   Ported from design-reference/Education.html. cc-edu- prefixed to avoid
   collisions with WP's `.post`/`.news` and the editorial-newspaper styles.
   ===================================================================== */

/* HERO */
.cc-edu-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cc-edu-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 8%, transparent 72%);
  opacity: .32; pointer-events: none;
}
.cc-edu-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.92fr); gap: 56px; align-items: center; }
.cc-edu-crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.cc-edu-crumb a { color: var(--fg-2); }
.cc-edu-crumb a:hover { color: var(--accent); }
.cc-edu-crumb i { font-style: normal; margin: 0 8px; color: var(--fg-3); }
.cc-edu-kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.cc-edu-hero h1 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 600; margin: 18px 0 16px; text-wrap: balance; max-width: 16ch; }
.cc-edu-hero h1 em { color: var(--accent); font-style: normal; }
.cc-edu-hero .cc-edu-sub { font-size: 18px; line-height: 1.55; color: var(--fg-1); max-width: 52ch; text-wrap: pretty; }

.cc-edu-search { margin-top: 26px; display: flex; gap: 10px; max-width: 520px; }
.cc-edu-search-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 0 14px; transition: border-color 120ms ease, box-shadow 120ms ease;
}
.cc-edu-search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cc-edu-search-field svg { color: var(--fg-3); flex: none; }
.cc-edu-search-field input { flex: 1; background: none; border: 0; outline: none; color: var(--fg); font: 500 15px var(--sans); padding: 13px 0; }
.cc-edu-search-field input::placeholder { color: var(--fg-3); }
.cc-edu-search-field kbd { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: var(--bg-1); }

/* Filter chips */
.cc-edu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cc-edu-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-1);
  color: var(--fg-1); font-size: 13px; font-weight: 500;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
  text-decoration: none;
}
.cc-edu-chip .cc-edu-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cat, var(--accent)); flex: none; }
.cc-edu-chip .cc-edu-ct { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }
.cc-edu-chip:hover { color: var(--fg); border-color: var(--line-2); }
.cc-edu-chip.cc-edu-on { color: var(--fg); border-color: color-mix(in oklab, var(--cat, var(--accent)) 60%, var(--line)); background: color-mix(in oklab, var(--cat, var(--accent)) 12%, var(--bg-1)); }

/* Cover decoration shared by featured + posts */
.cc-edu-cover { position: relative; overflow: hidden; background: var(--bg-1); border-bottom: 1px solid var(--line); }
.cc-edu-cover-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cc-edu-cover::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(120% 120% at 82% 18%, color-mix(in oklab, var(--cat, var(--accent)) 26%, transparent), transparent 60%), linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.cc-edu-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000, transparent 75%); opacity: .5;
}
/* When a real thumbnail is rendered, fade the placeholder gradient to a subtle
   tint overlay + soft bottom shadow (so the photo reads + the tag stays legible),
   and keep just a hint of the grid texture. */
.cc-edu-cover.cc-has-thumb::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%),
              radial-gradient(120% 100% at 82% 18%, color-mix(in oklab, var(--cat, var(--accent)) 22%, transparent), transparent 65%);
}
.cc-edu-cover.cc-has-thumb::after { opacity: .15; }
.cc-edu-cover .cc-edu-cov-tag {
  position: absolute; left: 16px; top: 14px; z-index: 4;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--cat, var(--accent)) 86%, white);
  display: inline-flex; align-items: center; gap: 7px;
}
.cc-edu-cover.cc-has-thumb .cc-edu-cov-tag { color: #fff; }
.cc-edu-cover .cc-edu-cov-tag::before { content: ""; width: 14px; height: 1px; background: currentColor; }

/* Featured card (hero right) */
.cc-edu-feat {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color 160ms ease, transform 220ms ease;
  box-shadow: 0 28px 70px -34px rgba(0,0,0,.6);
}
.cc-edu-feat:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); transform: translateY(-3px); }
.cc-edu-feat .cc-edu-cover { aspect-ratio: 16/10; }
.cc-edu-feat .cc-edu-fc-body { padding: 22px 24px 24px; }
.cc-edu-feat .cc-edu-fc-meta { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .04em; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc-edu-feat .cc-edu-fc-meta b { color: var(--accent); font-weight: 600; }
.cc-edu-feat h2 { margin: 12px 0 10px; font-size: 25px; line-height: 1.14; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
.cc-edu-feat p { margin: 0; color: var(--fg-1); font-size: 14.5px; line-height: 1.55; }
.cc-edu-feat .cc-edu-fc-foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--fg-2); }
.cc-edu-feat .cc-edu-fc-foot .cc-edu-read { color: var(--accent); font-weight: 600; font-size: 13px; }

/* Listing */
.cc-edu-listing { padding: 48px 0 88px; }
.cc-edu-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 22px; }
.cc-edu-sec-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.cc-edu-sec-head h2 .cc-edu-ct { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .14em; margin-left: 10px; text-transform: uppercase; font-weight: 500; }
.cc-edu-sec-head a { font-size: 13px; color: var(--accent); font-weight: 600; }

.cc-edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cc-edu-post {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color 140ms ease, transform 220ms ease;
}
.cc-edu-post:hover { border-color: color-mix(in oklab, var(--cat, var(--accent)) 50%, var(--line)); transform: translateY(-3px); }
.cc-edu-post .cc-edu-cover { aspect-ratio: 16/9; }
.cc-edu-post .cc-edu-pb { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-edu-post .cc-edu-pm { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .04em; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.cc-edu-post .cc-edu-pm .cc-edu-pc { color: color-mix(in oklab, var(--cat, var(--accent)) 84%, var(--fg-1)); font-weight: 600; }
.cc-edu-post h3 { margin: 11px 0 9px; font-size: 17.5px; line-height: 1.22; letter-spacing: -0.01em; font-weight: 600; text-wrap: balance; }
.cc-edu-post p { margin: 0; color: var(--fg-2); font-size: 13.5px; line-height: 1.5; }
.cc-edu-post .cc-edu-pf { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }
.cc-edu-post .cc-edu-pf .cc-edu-by { display: inline-flex; align-items: center; gap: 8px; }
.cc-edu-post .cc-edu-pf .cc-edu-av { width: 20px; height: 20px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 9px; color: var(--fg-1); font-weight: 600; overflow: hidden; }
.cc-edu-post .cc-edu-pf .cc-edu-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-edu-post .cc-edu-pf .cc-edu-read { color: color-mix(in oklab, var(--cat, var(--accent)) 80%, var(--fg-1)); }

/* Topics strip */
.cc-edu-topics { padding: 64px 0; border-top: 1px solid var(--line); background: var(--bg-1); }
.cc-edu-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.cc-edu-topic {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: border-color 140ms ease, transform 200ms ease;
}
.cc-edu-topic:hover { border-color: color-mix(in oklab, var(--cat, var(--accent)) 55%, var(--line)); transform: translateY(-2px); }
.cc-edu-topic .cc-edu-th { display: flex; align-items: center; gap: 10px; }
.cc-edu-topic .cc-edu-gl { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--cat, var(--accent)); color: var(--cat, var(--accent)); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; flex: none; }
.cc-edu-topic h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.cc-edu-topic small { color: var(--fg-3); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.cc-edu-topic p { margin: 0; color: var(--fg-2); font-size: 13px; line-height: 1.5; }

/* Newsletter (education hub variant) */
.cc-edu-news { padding: 80px 0; border-top: 1px solid var(--line); }
.cc-edu-news-card {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, color-mix(in oklab, var(--accent) 16%, var(--panel)), var(--panel) 60%);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: var(--radius-lg); padding: 48px 52px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.cc-edu-news-card h2 { margin: 12px 0 12px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.cc-edu-news-card p { margin: 0; color: var(--fg-1); font-size: 15px; line-height: 1.55; max-width: 44ch; }
.cc-edu-news-form { display: flex; flex-direction: column; gap: 10px; }
.cc-edu-news-form .cc-edu-row { display: flex; gap: 10px; }
.cc-edu-news-form input { flex: 1; background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px; padding: 14px 16px; color: var(--fg); font: 500 14px var(--sans); outline: none; transition: border-color 120ms ease, box-shadow 120ms ease; }
.cc-edu-news-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cc-edu-news-form small { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }

@media (max-width: 1100px) {
  .cc-edu-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .cc-edu-grid { grid-template-columns: 1fr 1fr; }
  .cc-edu-topic-grid { grid-template-columns: 1fr 1fr; }
  .cc-edu-news-card { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .cc-edu-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Article body grid + sticky TOC (single-education.html)
   ===================================================================== */
.cc-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.cc-article-grid .cc-prose { max-width: none; margin: 0; }

.cc-toc { position: sticky; top: 92px; }
.cc-toc .cc-tl {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.cc-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-toc li { padding: 0; margin: 0; }
.cc-toc li::before { content: none; }
.cc-toc a {
  display: flex; gap: 11px; padding: 6px 0;
  font-size: 13px; line-height: 1.35; color: var(--fg-2);
  text-decoration: none;
  transition: color 120ms ease;
}
.cc-toc a .cc-tn { font-family: var(--mono); font-size: 11px; color: var(--fg-3); flex: none; transition: color 120ms ease; }
.cc-toc a .cc-tt { text-wrap: pretty; }
.cc-toc a:hover { color: var(--fg); }
.cc-toc a:hover .cc-tn { color: var(--fg-2); }
.cc-toc a.cc-active { color: var(--fg); font-weight: 600; }
.cc-toc a.cc-active .cc-tn { color: var(--cat, var(--accent)); }
.cc-toc .cc-progwrap {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
}
.cc-toc .cc-progwrap .cc-bar { height: 4px; border-radius: 999px; background: var(--bg-2); margin-top: 8px; overflow: hidden; }
.cc-toc .cc-progwrap .cc-bar i { display: block; height: 100%; width: 0; background: var(--cat, var(--accent)); transition: width 80ms linear; }

@media (max-width: 1080px) {
  .cc-article-grid { grid-template-columns: 1fr; gap: 32px; }
  .cc-toc {
    position: static;
    order: -1;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 18px 20px;
    background: var(--panel);
  }
  .cc-toc .cc-progwrap { display: none; }
}

/* =====================================================================
   Subhero (cc/subhero) — detail-page hero used on solutions /
   regulations / integrations / etc. Left-aligned scaffold; right slot
   reserved for future per-page visualizations (DPA tracker, risk-tabs).
   ===================================================================== */
.cc-subhero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cc-subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 8%, transparent 72%);
  opacity: .32;
}
.cc-subhero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.cc-subhero-crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 18px;
}
.cc-subhero-crumb a { color: var(--fg-2); }
.cc-subhero-crumb a:hover { color: var(--accent); }
.cc-subhero-crumb i { font-style: normal; margin: 0 8px; color: var(--fg-3); }
.cc-subhero .cc-head-section { margin: 18px 0 14px; max-width: 20ch; }
.cc-subhero .cc-section-sub { max-width: 56ch; }
.cc-subhero .cc-hero-ctas { margin-top: 26px; }
.cc-subhero-meta {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-3);
}
.cc-subhero-meta span::before { content: "//"; margin-right: 7px; color: var(--accent); opacity: .75; }

/* =====================================================================
   Subhero "At-a-glance" card — standardized hero widget for the Supporting
   scaffold (and reusable on Regulation/Industry pages). Ported from
   design-reference/Solution - Supporting Template.html.
   ===================================================================== */
.cc-subhero-has-glance .cc-subhero-inner,
.cc-subhero-has-right .cc-subhero-inner {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px); gap: 48px; align-items: start;
}
.cc-glance {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 64px -28px rgba(0,0,0,.5);
}
.cc-glance-head {
  background: var(--bg-1); border-bottom: 1px solid var(--line);
  padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);
}
.cc-glance-live { color: var(--ok); display: inline-flex; align-items: center; gap: 7px; }
.cc-glance-live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--ok); }
.cc-glance-rows { display: grid; }
.cc-grow {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.cc-grow:last-child { border-bottom: 0; }
.cc-grow .cc-k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--fg-3); text-transform: uppercase; }
.cc-grow .cc-v { font-size: 14px; color: var(--fg); line-height: 1.45; }
.cc-grow .cc-v em { color: var(--accent); font-style: normal; font-family: var(--mono); }
.cc-grow .cc-v .pill { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cc-grow .cc-v .pill span {
  font-family: var(--mono); font-size: 11px; color: var(--fg-1);
  border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 8px; background: var(--bg-1);
}

@media (max-width: 1100px) {
  .cc-subhero-has-glance .cc-subhero-inner,
  .cc-subhero-has-right .cc-subhero-inner { grid-template-columns: 1fr; gap: 32px; }
  .cc-enf-body { grid-template-columns: 1fr !important; }
  .cc-enf-list { max-height: 360px; }
}

/* =====================================================================
   Enforcement tracker (cc/subhero rightWidget="enforcement_tracker")
   Generic "enforcement bodies" widget used on Regulation pages — EU DPAs
   for GDPR, California AG for CPRA, ANPD for LGPD, etc.
   Ported from design-reference/Solutions - GDPR.html .dpa-* classes.
   ===================================================================== */
.cc-enf-stage {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.5);
}
.cc-enf-head {
  background: var(--bg-1); padding: 14px 20px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 12px; color: var(--fg-1); letter-spacing: .04em;
}
.cc-enf-head b { color: var(--fg); font-weight: 600; }
.cc-enf-total { color: var(--accent); }
.cc-enf-body { display: grid; grid-template-columns: 1.1fr 1fr; }
.cc-enf-list { border-right: 1px solid var(--line); max-height: 480px; overflow-y: auto; }
.cc-enf-item {
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 36px 1fr auto; gap: 14px;
  cursor: pointer; transition: background 120ms ease;
}
.cc-enf-item:hover { background: var(--bg-1); }
.cc-enf-item.cc-on { background: var(--accent-tint); }
.cc-enf-item:last-child { border-bottom: 0; }
.cc-enf-code {
  width: 36px; height: 24px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--mono); font-size: 11px; color: var(--fg); font-weight: 600;
}
.cc-enf-info b { color: var(--fg); font-size: 13.5px; font-weight: 600; }
.cc-enf-info small { display: block; color: var(--fg-3); font-family: var(--mono); font-size: 11px; margin-top: 2px; letter-spacing: .04em; }
.cc-enf-fines { font-family: var(--mono); font-size: 11.5px; color: var(--accent); text-align: right; }
.cc-enf-fines small { display: block; color: var(--fg-3); font-size: 10px; margin-top: 2px; letter-spacing: .04em; }

.cc-enf-detail { padding: 22px; }
.cc-enf-key { font-family: var(--mono); font-size: 10.5px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; }
.cc-enf-detail h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 10px 0 6px; }
.cc-enf-detail p { font-size: 13.5px; color: var(--fg-1); line-height: 1.6; margin: 0 0 14px; }
.cc-enf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.cc-enf-stat { background: var(--bg-1); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.cc-enf-v { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1; }
.cc-enf-v em { color: var(--accent); font-style: normal; }
.cc-enf-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; margin-top: 6px; }

/* =====================================================================
   Regulation body sections — frameworks 2-up, articles ribbon (4-col),
   pattern features (3-col). Ported from design-reference/Solutions - GDPR.html
   .tcf / .arts / .feat3 / .art / .c.
   ===================================================================== */

/* 2-up framework cards (TCF / Consent Mode style) */
.cc-tcf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cc-tcf-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.cc-tcf-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cc-tcf-card p { margin: 0; font-size: 14px; color: var(--fg-1); line-height: 1.55; }
.cc-tcf-card .cc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-1); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; color: var(--fg-2); letter-spacing: .04em;
}
.cc-tcf-card .cc-badge.cc-live { color: var(--ok); border-color: color-mix(in oklab, var(--ok) 40%, transparent); }
.cc-tcf-card .cc-badge.cc-live::before { content: "●"; color: var(--ok); margin-right: 2px; font-size: 9px; }

/* Article ribbon — N columns, auto-flowing */
.cc-arts {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.cc-art { padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cc-art:nth-child(4n) { border-right: 0; }
.cc-arts > .cc-art:nth-last-child(-n+4) { border-bottom: 0; }
.cc-art .cc-n { font-family: var(--mono); font-size: 10.5px; color: var(--accent); letter-spacing: .14em; }
.cc-art h4 { margin: 12px 0 8px; font-size: 16px; font-weight: 600; }
.cc-art p { margin: 0; font-size: 13px; color: var(--fg-1); line-height: 1.55; }

/* 3-col features with glyph (cc-feat3) */
.cc-feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cc-feat3 .cc-c { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.cc-feat3 .cc-c .cc-gl {
  width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 6px;
  display: grid; place-items: center; color: var(--accent);
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
}
.cc-feat3 .cc-c h3 { margin: 10px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.cc-feat3 .cc-c p { margin: 0; color: var(--fg-1); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 960px) {
  .cc-tcf { grid-template-columns: 1fr; }
  .cc-arts { grid-template-columns: 1fr 1fr; }
  .cc-arts .cc-art:nth-child(2n) { border-right: 0; }
  .cc-arts .cc-art { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cc-feat3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cc-arts { grid-template-columns: 1fr; }
  .cc-arts .cc-art { border-right: 0; }
  .cc-feat3 { grid-template-columns: 1fr; }
}

/* =====================================================================
   Author profile (taxonomy-authors archive). Ported from
   design-reference/author_profile.html — .ahero / .aprofile / .astats
   become .cc-au-* and reuse the existing edu post grid below.
   ===================================================================== */

.cc-author-profile { display: block; }

.cc-au-hero {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.cc-au-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 360px at 12% 18%, color-mix(in oklab, var(--cat, var(--accent)) 10%, transparent), transparent 60%),
    radial-gradient(700px 320px at 85% 12%, color-mix(in oklab, var(--cat, var(--accent)) 6%, transparent), transparent 60%);
}
.cc-au-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}

.cc-au-crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--fg-3); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px; margin-bottom: 22px;
}
.cc-au-crumb a { color: var(--fg-2); text-decoration: none; }
.cc-au-crumb a:hover { color: var(--accent); }
.cc-au-crumb i { color: var(--fg-3); font-style: normal; }

.cc-au-profile { display: flex; gap: 22px; align-items: center; }
.cc-au-av {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--cat, var(--accent)) 65%, var(--bg-2)) 0%,
    color-mix(in oklab, var(--cat, var(--accent)) 20%, var(--panel)) 100%);
  color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: 36px; letter-spacing: -0.01em;
  box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--cat, var(--accent)) 50%, transparent);
  flex: 0 0 104px;
}

.cc-au-role {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--cat, var(--accent)); text-transform: uppercase;
  padding: 5px 10px; border: 1px solid color-mix(in oklab, var(--cat, var(--accent)) 35%, transparent);
  background: color-mix(in oklab, var(--cat, var(--accent)) 8%, transparent);
  border-radius: 999px;
}
.cc-au-role .cc-au-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat, var(--accent)); }

.cc-au-profile h1 {
  margin: 10px 0 4px;
  font-size: clamp(32px, 4.2vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
}
.cc-au-title { margin: 0; color: var(--fg-1); font-size: 15px; }

.cc-au-bio {
  margin: 22px 0 0; max-width: 64ch;
  font-size: 16px; line-height: 1.6; color: var(--fg-1);
}
.cc-au-bio a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); }
.cc-au-bio a:hover { border-bottom-color: var(--accent); }

.cc-au-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-au-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cat2, var(--accent));
  padding: 6px 10px;
  background: color-mix(in oklab, var(--cat2, var(--accent)) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--cat2, var(--accent)) 30%, transparent);
  border-radius: 999px;
}
.cc-au-tag .cc-au-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat2, var(--accent)); }

.cc-au-social { display: flex; gap: 10px; margin-top: 22px; }
.cc-au-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--fg-2); background: var(--panel);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.cc-au-social a:hover { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); transform: translateY(-1px); }

.cc-au-stats { display: grid; gap: 10px; }
.cc-au-stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.cc-au-stat b { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; line-height: 1; color: var(--fg); }
.cc-au-stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; }
.cc-au-stat-cta { padding: 14px 16px; }
.cc-au-stat-cta .cc-btn { width: 100%; justify-content: center; }

.cc-au-listing { padding: 56px 0 24px; }
.cc-au-sec-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.cc-au-sec-head h2 {
  margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  display: inline-flex; align-items: baseline; gap: 14px;
}
.cc-au-sec-head .cc-au-ct {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase;
}

@media (max-width: 960px) {
  .cc-au-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .cc-au-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cc-au-profile { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cc-au-av { width: 88px; height: 88px; flex: 0 0 88px; font-size: 32px; }
  .cc-au-stats { grid-template-columns: 1fr; }
}

/* =====================================================================
   News hub (archive-news.html). Ported from design-reference/news_section.html
   — .nhero / .toolbar / .listing / .lead / .post → .cc-news-* prefixed.
   News category accents extend the article-hero accent set.
   ===================================================================== */

:root {
  --c-breach:      oklch(0.72 0.14 45);
  --c-litigation:  oklch(0.70 0.14 350);
  --c-regulation:  oklch(0.72 0.12 240);
  --c-enforce:     oklch(0.82 0.13 80);
  --c-breach-fg:   var(--c-breach);
  --accent-tint:   color-mix(in oklab, var(--accent) 18%, transparent);
}

.cc-news-hub { display: block; }

.cc-news-hero { padding: 52px 0 38px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cc-news-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 16% 30%, #000 8%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 60% at 16% 30%, #000 8%, transparent 70%);
  opacity: .3; pointer-events: none;
}
.cc-news-hero-inner { position: relative; z-index: 1; }
.cc-news-crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 16px;
}
.cc-news-crumb a { color: var(--fg-2); text-decoration: none; }
.cc-news-crumb a:hover { color: var(--accent); }
.cc-news-crumb i { font-style: normal; margin: 0 8px; color: var(--fg-3); }

.cc-news-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cc-news-hero h1 {
  font-size: clamp(38px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 600; margin: 16px 0 0; text-wrap: balance; max-width: 18ch;
}
.cc-news-hero h1 em { color: var(--accent); font-style: normal; }

.cc-news-live {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-1);
  white-space: nowrap;
}
.cc-news-blip { width: 7px; height: 7px; border-radius: 999px; background: var(--ok, var(--accent)); box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok, var(--accent)) 60%, transparent); animation: cc-news-blip 2.4s ease-out infinite; }
@keyframes cc-news-blip {
  0%   { box-shadow: 0 0 0 0   color-mix(in oklab, var(--ok, var(--accent)) 55%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0   transparent; }
}
@media (prefers-reduced-motion: reduce) { .cc-news-blip { animation: none; } }

.cc-news-lead-sub { font-size: 17px; line-height: 1.55; color: var(--fg-1); max-width: 74ch; text-wrap: pretty; margin: 18px 0 0; }
.cc-news-lead-sub b { color: var(--accent); font-weight: 600; }

.cc-news-search { margin-top: 26px; display: flex; gap: 10px; max-width: 560px; }
.cc-news-search-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 0 14px; transition: border-color 120ms ease, box-shadow 120ms ease;
}
.cc-news-search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cc-news-search-field svg { color: var(--fg-3); flex: none; }
.cc-news-search-field input {
  flex: 1; background: none; border: 0; outline: none; color: var(--fg);
  font: 500 15px var(--sans); padding: 13px 0;
}
.cc-news-search-field input::placeholder { color: var(--fg-3); }
.cc-news-search-field kbd {
  font-family: var(--mono); font-size: 10.5px; color: var(--fg-3);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: var(--bg-1);
}

.cc-news-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cc-news-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-1);
  color: var(--fg-1); font-size: 13px; font-weight: 500; text-decoration: none;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.cc-news-chip .cc-news-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cat, var(--accent)); flex: none; }
.cc-news-chip .cc-news-ct { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }
.cc-news-chip:hover { color: var(--fg); border-color: var(--line-2); }
.cc-news-chip.cc-news-on { color: var(--fg); border-color: color-mix(in oklab, var(--cat, var(--accent)) 60%, var(--line)); background: color-mix(in oklab, var(--cat, var(--accent)) 12%, var(--bg-1)); }
.cc-news-chip.cc-news-on .cc-news-ct { color: color-mix(in oklab, var(--cat, var(--accent)) 80%, var(--fg-1)); }

/* Sticky chip rail */
.cc-news-toolbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
          backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.cc-news-toolbar-inner { display: flex; align-items: center; gap: 18px; height: 60px; }
.cc-news-chips-bar { margin: 0; flex: 1; overflow-x: auto; flex-wrap: nowrap; padding: 2px; scrollbar-width: none; }
.cc-news-chips-bar::-webkit-scrollbar { display: none; }
.cc-news-count { font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em; white-space: nowrap; }
.cc-news-count b { color: var(--fg-1); font-weight: 600; }

/* Cover (gradient + tag + read-time mark) */
.cc-news-cover { position: relative; overflow: hidden; background: var(--bg-1); border-bottom: 1px solid var(--line); }
.cc-news-cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 82% 18%, color-mix(in oklab, var(--cat, var(--accent)) 24%, transparent), transparent 60%),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.cc-news-cover::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000, transparent 75%);
  opacity: .5;
}
.cc-news-cover.cc-has-thumb::before,
.cc-news-cover.cc-has-thumb::after { opacity: 0; }
.cc-news-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-news-cov-tag {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--cat, var(--accent)) 86%, white);
  display: inline-flex; align-items: center; gap: 7px;
}
.cc-news-cov-tag::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.cc-news-cov-mark {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .06em;
}

/* Listing */
.cc-news-listing { padding: 40px 0 64px; }
.cc-news-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 20px; }
.cc-news-sec-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; font-family: var(--mono); text-transform: uppercase; color: var(--fg-2); display: inline-flex; align-items: center; gap: 10px; }
.cc-news-sec-head h2::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.cc-news-sec-head a { font-size: 13px; color: var(--accent); font-weight: 600; text-decoration: none; }

/* Top story (wide lead) */
.cc-news-top-story { margin-bottom: 40px; }
.cc-news-lead {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: inherit; text-decoration: none; transition: border-color 160ms ease;
}
.cc-news-lead:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.cc-news-lead .cc-news-cover { border-bottom: 0; border-right: 1px solid var(--line); min-height: 320px; }
.cc-news-lead-body { padding: 36px 40px; display: flex; flex-direction: column; }
.cc-news-lead-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 9px;
}
.cc-news-lead-eyebrow .cc-news-blip { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cc-news-lead h2 { margin: 16px 0 14px; font-size: clamp(25px, 2.5vw, 33px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.cc-news-lead p { margin: 0; color: var(--fg-1); font-size: 15px; line-height: 1.6; max-width: 54ch; }
.cc-news-lead-meta { margin-top: auto; padding-top: 24px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.cc-news-lead-meta .cc-news-by { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); }
.cc-news-lead-meta .cc-news-av {
  width: 22px; height: 22px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 9px; color: var(--fg-1); font-weight: 600; font-family: var(--mono);
}
.cc-news-sep { color: var(--accent); opacity: .7; }
.cc-news-lead-cta { margin-top: 22px; }

/* Grid + post cards */
.cc-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cc-news-post {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color 140ms ease, transform 220ms ease, background 140ms ease;
}
.cc-news-post:hover { border-color: color-mix(in oklab, var(--cat, var(--accent)) 50%, var(--line)); transform: translateY(-3px); }
.cc-news-post .cc-news-cover { aspect-ratio: 16/9; }
.cc-news-pb { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-news-pm { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .04em; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.cc-news-pc { color: color-mix(in oklab, var(--cat, var(--accent)) 84%, var(--fg-1)); font-weight: 600; }
.cc-news-pd { width: 6px; height: 6px; border-radius: 999px; background: var(--cat, var(--accent)); display: inline-block; margin-right: 6px; vertical-align: middle; }
.cc-news-post h3 { margin: 11px 0 9px; font-size: 17px; line-height: 1.24; letter-spacing: -0.01em; font-weight: 600; text-wrap: balance; }
.cc-news-post p { margin: 0; color: var(--fg-2); font-size: 13.5px; line-height: 1.5; }
.cc-news-pf { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }
.cc-news-read { color: color-mix(in oklab, var(--cat, var(--accent)) 80%, var(--fg-1)); font-weight: 600; }

.cc-news-empty { padding: 60px 0; text-align: center; color: var(--fg-3); font-family: var(--mono); font-size: 13px; grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .cc-news-grid { grid-template-columns: 1fr 1fr; }
  .cc-news-lead { grid-template-columns: 1fr; }
  .cc-news-lead .cc-news-cover { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
}
@media (max-width: 720px) {
  .cc-news-grid { grid-template-columns: 1fr; }
  .cc-news-top { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =====================================================================
   Pager — shared paginator used by cc/education-hub, cc/news-hub and
   cc/author-profile. Ported from design-reference/news_section.html .pager.
   ===================================================================== */
.cc-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.cc-pager-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-1); color: var(--fg-1);
  font: 600 13px var(--sans); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease, transform 120ms ease;
}
.cc-pager-btn:hover { color: var(--fg); border-color: var(--line-2); }
.cc-pager-on {
  background: var(--accent); color: var(--accent-fg, white);
  border-color: color-mix(in oklab, var(--accent) 60%, black);
  cursor: default;
}
.cc-pager-on:hover { color: var(--accent-fg, white); border-color: color-mix(in oklab, var(--accent) 60%, black); }
.cc-pager-disabled { opacity: .4; cursor: default; pointer-events: none; }
.cc-pager-disabled:hover { color: var(--fg-1); border-color: var(--line); }
.cc-pager-nav { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.cc-pager-ellip { color: var(--fg-3); padding: 0 4px; font-family: var(--mono); }

/* Education article CTAs */
.cc-edu-cta{display:block;border:1px solid var(--line);border-radius:16px;background:var(--bg-1);padding:20px 22px;margin:28px 0;}
.cc-edu-cta-bottom{margin-top:40px;}
.cc-edu-cta-kicker{display:block;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);margin-bottom:6px;}
.cc-edu-cta-head{display:block;font-size:20px;font-weight:600;color:var(--fg);margin-bottom:8px;}
.cc-edu-cta-text{display:block;font-size:14px;line-height:1.6;color:var(--fg-1);max-width:64ch;}
.cc-edu-cta-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.cc-edu-cta .btn{display:inline-block;text-decoration:none;border-radius:8px;padding:11px 18px;font-size:14px;font-weight:500;line-height:1;border:1px solid transparent;}
.cc-edu-cta .btn-primary{background:var(--accent);color:#fff;border-color:var(--accent);}
.cc-edu-cta .btn-secondary{background:transparent;color:var(--fg);border-color:var(--line);}


/* Pricing: keep button label colours on visited/active links */
a.cc-btn:link, a.cc-btn:visited, a.cc-btn:active { color: inherit; }
a.cc-btn-primary:link, a.cc-btn-primary:visited, a.cc-btn-primary:active { color: var(--accent-fg); }
a.cc-btn-secondary:link, a.cc-btn-secondary:visited, a.cc-btn-secondary:active { color: var(--fg); }
a.cc-btn-ghost:link, a.cc-btn-ghost:visited, a.cc-btn-ghost:active { color: var(--fg-1); }

/* Status + accent-on-text tokens that invert with the theme. */
:root{--risk-high:#a8271b;--risk-med:#7a5200;--risk-ok:#136b40;--accent-ink:#b81d38;}
[data-theme="dark"]{--risk-high:#ff8a99;--risk-med:#e8b04b;--risk-ok:#4ade80;--accent-ink:#ff6b85;}

/* Category label already appears in the meta row beneath each card. */
.cc-edu-cov-tag{display:none !important;}

/* Paid landing page: sticky mobile conversion bar. */
.cc-lp-sticky{display:none;}
@media(max-width:780px){.cc-lp-sticky{display:block;position:fixed;left:16px;right:16px;bottom:16px;z-index:60;background:#E02444;color:#fff !important;-webkit-text-fill-color:#fff;text-align:center;text-decoration:none;border-radius:10px;padding:15px 18px;font:600 15px/1 Geist,ui-sans-serif,system-ui,sans-serif;box-shadow:0 4px 18px rgba(0,0,0,.25);}}
@media(prefers-reduced-motion:reduce){.cc-lp-sticky{transition:none;}}

/* Hero meta now carries prose, not short chips: drop the // prefix. */
.cc-hero-meta span::before{content:none !important;}

/* Module grid: four-up, theme-aware, with hover lift. */
.cc-modules{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr)) !important;gap:14px !important;}
.cc-modules > *{background:var(--bg-1) !important;border:1px solid var(--line) !important;border-radius:14px !important;padding:22px !important;position:relative;overflow:hidden;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;}
.cc-modules > *:hover{border-color:color-mix(in oklab,var(--accent) 45%,var(--line)) !important;transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.07);}
.cc-module-head{display:flex;align-items:baseline;gap:10px;margin-bottom:10px;}
.cc-module-num{font:600 10.5px/1.6 ui-monospace,monospace;letter-spacing:1px;color:var(--accent-ink);}
.cc-modules h3{font:600 16px/1.3 Geist,ui-sans-serif,system-ui,sans-serif;color:var(--fg);margin:0;letter-spacing:-.3px;}
.cc-modules p{font:400 13px/1.65 Geist,ui-sans-serif,system-ui,sans-serif;color:var(--fg-1);margin:0 0 14px;}
.cc-module-link{font:500 12.5px/1 Geist,ui-sans-serif,system-ui,sans-serif;color:var(--accent-ink) !important;text-decoration:none;}
.cc-modules > *:hover .cc-module-link{text-decoration:underline;}
@media(prefers-reduced-motion:reduce){.cc-modules > *{transition:none;}.cc-modules > *:hover{transform:none;}}

/* Scan section: copy left, plans card right on desktop. */
.cc-scan-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:40px;align-items:start;}
.cc-scan-aside .cc-pricing-card{position:sticky;top:96px;}
@media(max-width:900px){.cc-scan-split{grid-template-columns:1fr;gap:28px;}.cc-scan-aside .cc-pricing-card{position:static;}}

/* Homepage CTA buttons + mobile overflow fixes. */
.cc-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.cc-cta-row .btn{display:inline-block;text-decoration:none;border-radius:8px;padding:13px 22px;font:500 14.5px/1 Geist,ui-sans-serif,system-ui,sans-serif;border:1px solid transparent;white-space:nowrap;}
.cc-cta-row .btn-primary{background:var(--accent);color:#fff !important;border-color:var(--accent);}
.cc-cta-row .btn-secondary{background:var(--bg-1);color:var(--fg) !important;border-color:var(--line);}
/* Stop the logo strip forcing horizontal scroll on phones. */
.cc-trust-row{max-width:100%;}
@media(max-width:720px){.cc-trust-row{grid-template-columns:repeat(2,minmax(0,1fr)) !important;justify-items:center;gap:20px 12px !important;}}
.cc-trust-logo{max-width:100%;}
.cc-trust-logo img{max-width:100%;height:auto;}

@media(max-width:640px){.cc-cta-row .btn{width:100%;text-align:center;}.cc-scan-split{gap:24px;}}

/* Mobile tap targets: make module links reliably tappable. */
@media(max-width:900px){
  .cc-module-link{display:inline-flex;align-items:center;min-height:44px;}
  .cc-modules > *{padding:20px !important;}
}

/* Mobile layout repair: grid tracks were exceeding the viewport. */
@media(max-width:860px){
  .cc-wrap,.cc-hero-inner{padding-left:20px !important;padding-right:20px !important;}
  .cc-hero-inner{grid-template-columns:minmax(0,1fr) !important;gap:28px !important;}
  .cc-hero-meta{flex-wrap:wrap !important;max-width:100% !important;}
  .cc-hero-meta > *{max-width:100% !important;}
  .cc-stat-grid,.cc-diff-grid,.cc-modules,.cc-scan-split{grid-template-columns:minmax(0,1fr) !important;}
  .cc-stat-card,[class*="stat-card"]{grid-template-columns:minmax(0,1fr) !important;gap:6px !important;}
  .cc-shield-card,.cc-pricing-card{max-width:100% !important;}
  .cc-head-hero{font-size:clamp(30px,8vw,44px) !important;line-height:1.1 !important;}
  .cc-head-section{font-size:clamp(24px,6.4vw,32px) !important;}
}
/* Nothing may exceed its container on any screen. */
.cc-wrap,.cc-hero-inner,.cc-stat-grid,.cc-diff-grid,.cc-modules{max-width:100%;}
.cc-wrap > *,.cc-hero-inner > *{min-width:0;}
img,svg,table{max-width:100%;}

/* Mobile header: keep the bar inside the viewport on small phones. */
@media(max-width:520px){
  .topbar-inner{padding-left:14px !important;padding-right:14px !important;gap:8px !important;}
  .topbar-cta{gap:8px !important;flex-shrink:1 !important;min-width:0 !important;}
  .topbar-cta .btn,.topbar-cta a{padding:9px 12px !important;font-size:13px !important;white-space:nowrap;}
  .topbar-cta a[href*="sign"],.topbar-cta .btn-ghost{display:none !important;}
  .custom-logo-link img,.brand img{max-width:120px !important;height:auto !important;}
}

/* Utility bar above the header. */
.cc-util{display:flex;align-items:center;justify-content:center;gap:16px;position:relative;background:#E02444;color:#fff;padding:11px 46px 11px 20px;text-align:center;}
.cc-util-msg{font:500 13.5px/1.4 Geist,ui-sans-serif,system-ui,sans-serif;color:#fff;}
.cc-util-msg-sm{display:none;font:500 13px/1.4 Geist,ui-sans-serif,system-ui,sans-serif;color:#fff;}
.cc-util-cta{flex:0 0 auto;display:inline-block;border:1px solid rgba(255,255,255,.85);border-radius:999px;padding:7px 16px;font:600 13px/1 Geist,ui-sans-serif,system-ui,sans-serif;color:#fff !important;text-decoration:none;white-space:nowrap;transition:background .16s ease;}
.cc-util-cta:hover{background:rgba(255,255,255,.16);}
.cc-util-x{position:absolute;right:14px;top:50%;transform:translateY(-50%);background:none;border:0;color:rgba(255,255,255,.8);font-size:22px;line-height:1;cursor:pointer;padding:4px 8px;}
.cc-util-x:hover{color:#fff;}
@media(max-width:640px){
  .cc-util{gap:10px;padding:9px 40px 9px 14px;}
  .cc-util-msg{display:none;}
  .cc-util-msg-sm{display:inline;}
  .cc-util-cta{padding:6px 12px;font-size:12.5px;}
}
@media(prefers-reduced-motion:reduce){.cc-util-cta{transition:none;}}

/* HubSpot iframe forms cannot inherit our theme, so give them a light
   surface in dark mode. Remove once the forms are rebuilt inline. */
[data-theme="dark"] .hbspt-form{
  background:#ffffff;
  border:1px solid #e6e4e0;
  border-radius:14px;
  padding:20px 18px;
  color-scheme:light;
}
[data-theme="dark"] .hbspt-form iframe{color-scheme:light;}
@media(max-width:640px){[data-theme="dark"] .hbspt-form{padding:16px 12px;border-radius:12px;}}

/* Inline logo: colours flip with the theme. */
:root{--logo-mark:#d81d44;--logo-word:#111111;}
[data-theme="dark"]{--logo-mark:#ff3b5c;--logo-word:#e8e6e3;}
.cc-logo-svg{display:block;height:30px;width:auto;}
.brand{display:inline-flex;align-items:center;}
@media(max-width:520px){.cc-logo-svg{height:24px;}}

/* Footer logos: brand lockup + small inline mark. */
.cc-foot-brand .cc-logo-svg{height:34px;width:auto;margin-bottom:12px;}
.cc-logo-inline{height:16px;width:auto;display:inline-block;vertical-align:-3px;margin-left:4px;}
.cc-footer{--logo-mark:#ff3b5c;--logo-word:#e8e6e3;}
@media(max-width:520px){.cc-foot-brand .cc-logo-svg{height:28px;}}

/* Phones: stop content from pushing the page sideways.
   Long URLs wrap, wide tables scroll inside themselves, and inline grids written
   into page content (min 300px columns) collapse to one column. */
.wp-block-post-content a, .wp-block-post-content p, .wp-block-post-content li { overflow-wrap: anywhere; }
.wp-block-post-content table, .tablepress { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cc-lp-sticky { box-sizing: border-box; }
@media (max-width: 640px) {
  .wp-block-post-content [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  .wp-block-post-content [style*="min-width:640px"] { min-width: 0 !important; }
}

/* Phones: module cards size to their content. The 260px floor left large blank
   areas once the grid collapsed to a single column. */
@media (max-width: 860px) {
  .cc-module { min-height: 0; }
}

/* Dark mode: customer logos are dark artwork on transparent backgrounds, so
   flip them to light. Greyscale-until-hover treatment is kept. */
[data-theme="dark"] .cc-trust-logo img { filter: grayscale(1) invert(1) brightness(1.6); }
[data-theme="dark"] .cc-trust-logo:hover img { filter: invert(1) brightness(1.6); }

/* Legacy `solutions` posts are plain paragraphs with no section blocks, so the
   shared single-solutions template (which deliberately has no prose wrapper)
   rendered them edge to edge. Give bare top-level prose a reading column;
   block-built pages bring their own .cc-section/.cc-wrap and are untouched. */
.single-solutions .wp-block-post-content > :where(p, ul, ol, h2, h3, h4, h5, h6, blockquote, table, figure, .wp-block-buttons, .wp-block-image, .wp-block-quote, .wp-block-table) {
  max-width: 800px; margin-left: auto; margin-right: auto;
  padding-left: 24px; padding-right: 24px; box-sizing: border-box;
}
.single-solutions .wp-block-post-content > :where(p, ul, ol) { font-size: 16px; line-height: 1.7; color: var(--fg-1); }
.single-solutions .wp-block-post-content > :where(h2, h3, h4) { margin-top: 1.6em; }
.single-solutions .wp-block-post-content > :last-child { margin-bottom: 64px; }

/* Footer status badge (status.captaincompliance.com): one iframe per theme; the hidden
   one is display:none + loading=lazy, so it never loads. */
.cc-foot-bottom { flex-wrap: wrap; gap: 14px 24px; }
.cc-foot-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cc-status-badge iframe { display: block; border: 0; width: 250px; height: 30px; }
.cc-status-badge .cc-status-dark { display: none; }
[data-theme="dark"] .cc-status-badge .cc-status-light { display: none; }
[data-theme="dark"] .cc-status-badge .cc-status-dark { display: block; }

/* "Book with an expert" card: replaces the old Elementor block inside articles
   (functions.php cc_elementor_block_to_card). Same family as the article CTAs. */
.cc-expert-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg-1);padding:20px 22px;margin:32px 0;}
.cc-expert-photo{width:88px;height:88px;border-radius:999px;object-fit:cover;object-position:top;display:block;filter:grayscale(1);margin:0!important;}
.cc-expert-body{min-width:0;}
.cc-expert-kicker{margin:0 0 6px!important;font-family:var(--mono);font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);}
.cc-expert-head{margin:0 0 6px!important;font-size:19px;line-height:1.3;font-weight:600;color:var(--fg);}
.cc-expert-text{margin:0!important;font-size:14px;line-height:1.55;color:var(--fg-1);}
.cc-expert-card .cc-expert-btn{display:inline-block;white-space:nowrap;text-decoration:none;border-radius:8px;padding:12px 18px;font-size:14px;font-weight:600;line-height:1;background:var(--accent);color:#fff!important;border:1px solid var(--accent);}
.cc-expert-card .cc-expert-btn:hover{filter:brightness(1.08);}
@media (max-width:640px){
  .cc-expert-card{grid-template-columns:auto 1fr;gap:14px;padding:18px;}
  .cc-expert-photo{width:64px;height:64px;}
  .cc-expert-card .cc-expert-btn{grid-column:1/-1;text-align:center;}
}

/* Design standard: no colored side stripes on cards. Hand-built page content carries
   inline `border-left: 2px/3px solid <color>` accents; neutralize them. Cards (elements
   that also set a full 1px border) get their even 1px line back; stripe-only elements
   simply lose the stripe. */
main [style*="border-left:2px solid"], main [style*="border-left: 2px solid"],
main [style*="border-left:3px solid"], main [style*="border-left: 3px solid"],
main [style*="border-left:4px solid"], main [style*="border-left: 4px solid"] { border-left-width: 0 !important; }
main [style*="border-left:2px solid"][style*="border:1px"], main [style*="border-left: 2px solid"][style*="border:1px"],
main [style*="border-left:3px solid"][style*="border:1px"], main [style*="border-left: 3px solid"][style*="border:1px"],
main [style*="border-left:2px solid"][style*="border: 1px"], main [style*="border-left: 2px solid"][style*="border: 1px"],
main [style*="border-left:3px solid"][style*="border: 1px"], main [style*="border-left: 3px solid"][style*="border: 1px"] { border-left: 1px solid var(--line) !important; }

/* Sticky header: the template-part wrapper must stick, not just the inner bar. */
header.wp-block-template-part{position:sticky;top:0;z-index:60;}
.cc-topbar{position:static !important;background:var(--bg);border-bottom:1px solid var(--line);}
[data-theme="dark"] .cc-topbar{background:var(--bg);}
/* Platform sub-navigation sits below the sticky header. */
.cc-subnav{top:65px !important;z-index:40;}
@media(max-width:520px){.cc-subnav{top:57px !important;}}
/* Anchor targets clear the sticky header. */
html{scroll-padding-top:120px;}

/* Author page audit CTA card. */
.cc-edu-news-card{background:var(--bg-1);border:1px solid var(--line);border-radius:16px;padding:34px 36px;}
.cc-edu-news-eyebrow{font:400 11.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace !important;text-transform:uppercase;letter-spacing:1.38px;color:var(--accent-ink) !important;margin:0 0 12px !important;}
.cc-edu-news-title{font:600 27px/1.2 Geist,ui-sans-serif,system-ui,sans-serif !important;letter-spacing:-0.6px;color:var(--fg) !important;margin:0 0 12px !important;max-width:24ch;}
.cc-edu-news-sub{font:400 14.5px/1.7 Geist,ui-sans-serif,system-ui,sans-serif !important;color:var(--fg-1) !important;margin:0 0 22px !important;max-width:62ch;}
.cc-edu-news-cta{margin:0 !important;}
.cc-edu-news-cta .btn-primary{display:inline-block;background:#E02444;color:#fff !important;text-decoration:none;border:1px solid #E02444;border-radius:8px;padding:13px 24px;font:600 14.5px/1 Geist,ui-sans-serif,system-ui,sans-serif;transition:opacity .16s ease;}
.cc-edu-news-cta .btn-primary:hover{opacity:.88;}
@media(max-width:640px){.cc-edu-news-card{padding:24px 20px;}.cc-edu-news-title{font-size:22px !important;}.cc-edu-news-cta .btn-primary{display:block;text-align:center;}}
@media(prefers-reduced-motion:reduce){.cc-edu-news-cta .btn-primary{transition:none;}}

/* Contact page: centred title. */
body.page-id-294 h1.wp-block-post-title{text-align:center;}

/* Footer logo: larger and links home. */
.cc-foot-logo{display:inline-block;line-height:0;}
.cc-foot-brand .cc-foot-logo .cc-logo-svg{height:46px;}
@media(max-width:520px){.cc-foot-brand .cc-foot-logo .cc-logo-svg{height:38px;}}

/* Legacy portal embeds (Privacy Notice, Manage Your Data Rights): full width, tall. */
.cc-embed-frame{display:block;width:min(1200px,calc(100vw - 32px));max-width:none;position:relative;left:50%;transform:translateX(-50%);height:85vh;min-height:900px;border:0;}
p:has(> .cc-embed-frame){max-width:none !important;margin:0;}

/* HubSpot iframe height: the embed can fail to auto-resize and clip the form. */
.hbspt-form iframe{min-height:560px !important;width:100% !important;border:0;}
@media(max-width:640px){.hbspt-form iframe{min-height:620px !important;}}

/* Accessible --ok: light surfaces need a dark green, dark surfaces a bright one. */
[data-theme="dark"]{--ok:#4ade80;}
/* Components that sit on a fixed navy panel keep the bright green. */
/* dark-surface override removed: shield card is a light panel */

/* Accessible muted text in light mode (was 3.52:1, below the 4.5 minimum). */
:root:not([data-theme="dark"]){--fg-3:oklch(0.50 0.008 30);}

/* Accessible muted text in dark mode (was 2.8:1 on the dark surface). */
[data-theme="dark"]{--fg-3:oklch(0.72 0.008 60);}
/* Primary buttons keep white label text on the brand red. */
.btn-primary,.btn.btn-primary,a.btn-primary{color:#fff !important;}

/* Secondary button in dark mode had near-white text on a near-white fill. */
[data-theme="dark"] .cc-btn-secondary{background:transparent !important;color:var(--fg) !important;border:1px solid var(--line) !important;}
[data-theme="dark"] .cc-btn-secondary:hover{background:var(--bg-1) !important;}

/* Higher specificity: the earlier rule was being overridden. */
html[data-theme="dark"] a.cc-btn-secondary,html[data-theme="dark"] button.cc-btn-secondary,html[data-theme="dark"] .cc-btn.cc-btn-secondary{background:transparent !important;background-color:transparent !important;color:var(--fg) !important;border:1px solid var(--line) !important;}

/* ---------- Theme menu (System / Light / Dark) ---------- */
.cc-theme-menu { position: relative; display: inline-flex; }
.cc-theme-toggle svg { display: none; }
.cc-theme-toggle .ico-system,
:root[data-theme-pref="light"] .cc-theme-toggle .ico-light,
:root[data-theme-pref="dark"] .cc-theme-toggle .ico-dark { display: block; }
:root[data-theme-pref="light"] .cc-theme-toggle .ico-system,
:root[data-theme-pref="dark"] .cc-theme-toggle .ico-system { display: none; }
.cc-theme-options {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  min-width: 148px; padding: 4px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 32px -12px rgba(20,12,14,.18), 0 4px 10px -6px rgba(20,12,14,.10);
}
:root[data-theme="dark"] .cc-theme-options { box-shadow: 0 12px 32px -12px rgba(0,0,0,.55), 0 4px 10px -6px rgba(0,0,0,.35); }
.cc-theme-options[hidden] { display: none; }
.cc-theme-options button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 6px; background: none;
  font: inherit; font-size: 14px; color: var(--fg-1); text-align: left; cursor: pointer;
}
.cc-theme-options button:hover,
.cc-theme-options button:focus-visible { background: var(--bg-1); color: var(--fg); outline: none; }
.cc-theme-options button[aria-checked="true"] { color: var(--fg); font-weight: 600; }
.cc-theme-options button[aria-checked="true"]::after { content: "\2713"; margin-left: auto; color: var(--accent); font-weight: 600; }
