/* Copied from portal plugin to preserve marketing styles exactly */
/* Content Compass Portal basic styles */
body:not(.cc-marketing-bg) {
  background: #f8fafb !important;
}
.cc-portal-login-form, .cc-portal-dashboard {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin: 2rem auto; color: var(--cc-text);
}
.cc-portal-login-form { max-width: 440px; }
.cc-portal-need-login { text-align: center; }
.cc-portal-login-form h2, .cc-portal-dashboard h2 { margin-top: 0; }
.cc-login-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.cc-login-logo img { height: 46px; width: auto; display: block; }
/* Login header: logo + title inline, like demo header */
.cc-login-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cc-login-header .cc-login-logo { margin-bottom: 0; justify-content: flex-start; }
.cc-login-header h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .2px;
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Marketing page: spacing under the chat form */
.cc-portal.cc-portal-marketing .cca-form {
  margin-bottom: 50px;
}
.cc-portal-login-form input[type="text"], .cc-portal-login-form input[type="password"] { width: 100%; padding: 8px; background: var(--cc-input-bg); color: var(--cc-text); border: 1px solid var(--cc-border); border-radius: 6px; }
.cc-portal-login-actions { display: flex; justify-content: space-between; align-items: center; }
.cc-portal-section { margin-top: 2rem; }
.cc-portal-pre { white-space: pre-wrap; background: var(--cc-input-bg); color: var(--cc-text); padding: 0.8rem; border-radius: 6px; border: 1px solid var(--cc-border); }
.cc-portal-errors { color: #f87171; margin-bottom: 1rem; }

/* Dashboard form controls */
.cc-portal-dashboard input[type="text"],
.cc-portal-dashboard input[type="url"],
.cc-portal-dashboard input[type="number"],
.cc-portal-dashboard textarea,
.cc-portal-dashboard select {
  width: 100%;
  padding: 8px;
  background: var(--cc-input-bg);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  border-radius: 6px;
}

/* Ensure dark inputs within the portal regardless of container specificity */
.cc-portal input[type="text"],
.cc-portal input[type="url"],
.cc-portal input[type="number"],
.cc-portal input[type="password"],
.cc-portal input[type="email"],
.cc-portal input[type="file"],
.cc-portal textarea,
.cc-portal select {
  width: 100%;
  padding: 8px;
  background: var(--cc-input-bg);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  border-radius: 6px;
}

/* Dashboard grid and cards */
.cc-portal-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 600px) { .cc-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cc-portal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cc-portal-pricing .cc-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cc-portal-pricing .cc-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-portal-grid.cc-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cc-portal-grid.cc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cc-portal-grid.cc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-crawl-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .cc-crawl-grid { grid-template-columns: 1fr 1fr; } }
.cc-card { background: var(--cc-card); color: var(--cc-text); border: 1px solid var(--cc-border); border-radius: 8px; padding: 12px; box-shadow: 0 1px 1px rgba(0,0,0,0.2); }
/* Plain variant: keep spacing but remove visual chrome */
.cc-card.cc-plain { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }

/* Split layout used in marketing sections (text left, graphic + CTA right) */
.cc-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }
@media (max-width: 800px) { .cc-split { grid-template-columns: 1fr; } }
.cc-split-left { display: grid; gap: 8px; }
.cc-split-right { display: grid; gap: 16px; align-content: center; justify-items: end; grid-auto-rows: min-content; padding: 14px 14px 14px; }
@media (max-width: 800px) { .cc-split-right { align-content: start; } }
@media (max-width: 800px) { .cc-split-right .button { justify-self: start; } }
/* Variant: when content is on the right, make it the larger column */
.cc-split.cc-content-right { grid-template-columns: .8fr 1.2fr; }
/* When content is on the right, left-align its items */
.cc-split.cc-content-right .cc-split-right { justify-items: start; }

/* Abstract two-tone accent (inline SVG fills width) */
.cc-abstract { width: 100%; max-width: 420px; margin-left: auto; padding-block: 8px; overflow: visible; }
.cc-abstract svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Hero abstract: fade in shortly after titles lift */
.cc-portal-marketing .cc-hero .cc-abstract {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .9s ease, transform .9s ease;
  margin-inline: auto;
}
.cc-portal-marketing .cc-hero.is-abstract-in .cc-abstract {
  opacity: 1;
  transform: translateY(0);
}

/* CTA wrapper to give button presence alongside abstract */
.cc-cta { justify-self: end; margin-top: 20px; margin-bottom: 16px; }
.cc-cta .button { box-shadow: 0 2px 10px rgba(37,208,187,0.22); text-decoration: none; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cc-cta .button:hover { box-shadow: 0 4px 16px rgba(37,208,187,0.28); transform: translateY(-1px); }
.cc-cta .button:active { transform: translateY(0); }
@media (max-width: 800px) { .cc-cta { justify-self: start; } }
/* Align CTA based on split column */
.cc-split .cc-split-left .cc-cta { justify-self: start; }
.cc-split .cc-split-right .cc-cta { justify-self: end; }
@media (max-width: 800px) {
  .cc-split .cc-split-right .cc-cta { justify-self: start; }
}

/* Small icon block for cards */
.cc-card .cc-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(37,208,187,0.10);
  color: var(--cc-brand-primary);
  border: 1px solid var(--cc-border);
  margin: 0 8px 6px 0;
  padding: 6px; /* avoid stroke clipping on edges */
}
.cc-card .cc-icon svg { width: 20px; height: 20px; stroke: currentColor; }
/* Light-mode icon: bolder presence */
.cc-light-mode .cc-card .cc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(13,148,136,0.10);
  border: 1px solid rgba(13,148,136,0.18);
  color: #0d9488;
  margin-bottom: 10px;
}
.cc-light-mode .cc-card .cc-icon svg { width: 22px; height: 22px; }

/* Ensure all portal grids/sections align with the dashboard container width */
.cc-portal .cc-portal-grid,
.cc-portal .cc-crawl-grid {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.cc-metric-title { font-size: 13px; color: var(--cc-muted); margin-bottom: 6px; }
.cc-metric-stats { font-size: 16px; color: var(--cc-text); margin-bottom: 8px; display: flex; align-items: baseline; gap: 6px; }
.cc-metric-sep { color: var(--cc-muted); }
.cc-metric-limit { color: var(--cc-muted); font-size: 13px; }
.cc-progress { height: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; border: 1px solid var(--cc-border); }
.cc-progress-bar { height: 100%; background: var(--cc-brand-gradient); width: 0%; transition: width .4s ease; }

/* Tables */
.cc-table-wrap { overflow-x: auto; }
.cc-table { width: 100%; border-collapse: collapse; background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 8px; color: var(--cc-text); }
.cc-table thead th { text-align: left; font-weight: 600; font-size: 13px; color: var(--cc-muted); padding: 10px 12px; border-bottom: 1px solid var(--cc-border); background: rgba(255,255,255,0.02); }
.cc-table tbody td { padding: 10px 12px; border-bottom: 1px solid var(--cc-border); font-size: 14px; color: var(--cc-text); }
.cc-table tbody tr:nth-child(even) td { background: transparent; }
/* Stripe tables: first and every second row gets alt background */
.cc-table tbody tr:nth-child(odd) td { background: var(--cc-stripe); }
/* Ensure links in tables are readable on dark bg */
.cc-table a { color: var(--cc-brand-primary); text-decoration: underline; }
.cc-table a:hover, .cc-table a:focus { color: var(--cc-brand-primary-hover); }
.cc-table code { color: var(--cc-text); }
/* If the link wraps a <code>, color that too for higher contrast */
.cc-table a code { color: var(--cc-brand-primary); }
.cc-table a:hover code, .cc-table a:focus code { color: var(--cc-brand-primary-hover); }

/* Misc */
.cc-muted { color: var(--muted); font-size: 16px; }
.cc-price {
  margin: 6px 0 0;
  font-weight: 800;
  line-height: 1.2;
}
.cc-price .cc-old {
  text-decoration: line-through;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 700;
}
.cc-price .cc-amount {
  font-size: 22px;
  color: var(--cc-brand-primary);
}
/* Top navigation within dashboard */
.cc-portal-nav { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
.cc-portal-nav .cc-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-portal-nav h2 { margin: 0; }
/* Brand row: logo + gradient title inline */
.cc-portal-nav .cc-brand { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; }
.cc-portal-nav .cc-login-logo { margin-bottom: 0; justify-content: flex-start; }
/* Tabs and actions layout: allow wrapping and spacing */
.cc-portal-nav .cc-portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-portal-nav .cc-portal-actions { margin-left: auto; }
/* Make nav tabs visible on dark background */
.cc-portal-nav .cc-portal-tabs .cc-tab {
  color: var(--cc-brand-primary);
  text-decoration: none;
  min-width: 144px;
  white-space: nowrap;
}
.cc-portal-nav .cc-portal-tabs .cc-tab:hover,
.cc-portal-nav .cc-portal-tabs .cc-tab:focus {
  color: var(--cc-brand-primary-hover);
}
.cc-portal-nav .cc-portal-tabs .cc-tab.active {
  color: var(--cc-brand-primary);
}
/* Add subtle separators between nav tabs */
.cc-portal-nav .cc-portal-tabs .cc-tab + .cc-tab::before {
  content: '|';
  color: var(--cc-muted);
  margin: 0 6px;
}
/* Actions row: identity + logout */
.cc-portal-nav .cc-portal-actions { display: flex; align-items: center; gap: 10px; }
.cc-portal-nav .cc-user { color: var(--cc-muted); font-size: 13px; }

/* Brand link: no underline; inherit text color */
.cc-portal .cc-brand a { text-decoration: none; color: inherit; }
.cc-portal .cc-brand a:hover,
.cc-portal .cc-brand a:focus { text-decoration: none; color: inherit; }
/* Do not show focus outline on the brand link */
.cc-portal .cc-brand a:focus,
.cc-portal .cc-brand a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Stack company above user email in nav actions */
.cc-portal-nav .cc-portal-actions .cc-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* right-align near the logout button */
  line-height: 1.1;
}
.cc-portal-nav .cc-portal-actions .cc-company {
  color: var(--cc-text);
  font-size: 13px;
}
.cc-portal-nav .cc-portal-actions .cc-user { /* refine spacing when stacked */
  line-height: 1.1;
}

/* Responsive stacking for small screens: place tabs and actions on their own rows */
@media (max-width: 700px) {
  .cc-portal-nav .cc-portal-tabs,
  .cc-portal-nav .cc-portal-actions {
    flex: 1 1 100%;
  }
  .cc-portal-nav { justify-content: flex-start; }
  .cc-portal-nav .cc-portal-actions { margin-left: 0; }
}

/* WordPress notices in dark theme context */
.cc-portal .notice {
  background: var(--cc-card);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  border-left: 4px solid var(--cc-border);
}
.cc-portal .notice-success { border-left-color: #22c55e; background: rgba(34,197,94,0.12); }
.cc-portal .notice-warning { border-left-color: #f59e0b; background: rgba(245,158,11,0.12); }
.cc-portal .notice-error { border-left-color: #ef4444; background: rgba(239,68,68,0.12); }

/* Badges */
.cc-badge { display: inline-block; padding: 2px 8px; font-size: 12px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--cc-text); border: 1px solid var(--cc-border); }
.cc-badge-plan { background: rgba(89,101,255,0.10); color: #b8c0ff; border-color: rgba(89,101,255,0.35); }
.cc-badge-success { background: rgba(34,197,94,0.12); color: #34d399; border-color: rgba(34,197,94,0.35); }
.cc-badge-warn { background: rgba(245,158,11,0.12); color: #fbbf24; border-color: rgba(245,158,11,0.35); }
.cc-badge-danger { background: rgba(239,68,68,0.12); color: #f87171; border-color: rgba(239,68,68,0.35); }
.cc-badge-info { background: rgba(89,101,255,0.12); color: #aab2ff; border-color: rgba(89,101,255,0.35); }

/* Progress bar states */
.cc-progress-bar.cc-ok { background: linear-gradient(90deg, #22c55e, #16a34a); }
.cc-progress-bar.cc-warn { background: linear-gradient(90deg, #f59e0b, #d97706); }
.cc-progress-bar.cc-danger { background: linear-gradient(90deg, #a78bfa, #8b5cf6); }

/* Messages */
.cc-messages { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cc-message { padding: 10px; border-radius: 10px; border: 1px solid var(--cc-border); background: var(--cc-card); color: var(--cc-text); }
.cc-role-user .cc-message-content { white-space: pre-wrap; }
.cc-role-assistant .cc-message-content { white-space: pre-wrap; }
.cc-role-user { background: transparent !important; border-color: rgba(89,101,255,0.35) !important; }
.cc-role-assistant { background: transparent !important; border-color: rgba(37,208,187,0.35) !important; }
.cc-role-system { background: rgba(255,255,255,0.06); border-color: var(--cc-border); }
.cc-message-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cc-message-content { color: var(--cc-text); }

/* Message role badges align with role border colors */
.cc-role-user .cc-badge {
  color: #b8c0ff;
  border-color: rgba(89,101,255,0.35);
  background: transparent;
}
.cc-role-assistant .cc-badge {
  color: #25d0bb;
  border-color: rgba(37,208,187,0.35);
  background: transparent;
}

/* Conversation summary + insights layout */
.cc-conv-summary-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 800px) {
  .cc-conv-summary-grid { grid-template-columns: 2fr 1fr; align-items: start; }
}
.cc-conv-summary { color: var(--cc-text); white-space: pre-wrap; }
.cc-conv-insights { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--cc-muted); }
.cc-conv-insights li { margin: 4px 0; padding-left: 18px; position: relative; }
.cc-conv-insights li::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; opacity: 0.9; }
/* Icons by type */
.cc-conv-insights li[data-key="chat-type"]::before {
  content: '\1F4AC'; /* 💬 */
}
.cc-conv-insights li[data-key="chat-quality"]::before {
  content: '\2605'; /* ★ */
}
.cc-conv-insights li[data-key="sentiment"]::before {
  content: '\1F642'; /* 🙂 */
}
.cc-conv-insights li[data-key="urgency"]::before {
  content: '\23F3'; /* ⏳ */
}
.cc-conv-insights li[data-key="next-step"]::before {
  content: '\27A4'; /* ➤ */
}
.cc-conv-insights .cc-insight-label { color: var(--cc-muted); }
.cc-conv-insights .cc-insight-value { color: var(--cc-text); }

/* Modal */
.cc-modal-overlay { position: fixed; inset: 0; background: rgb(148 148 148 / 40%); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.cc-modal-overlay[aria-hidden="false"] { display: flex; }
.cc-modal { background: var(--cc-card); color: var(--cc-text); width: min(810px, 96vw); max-height: 90vh; overflow: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); padding: 16px; border: 1px solid var(--cc-border); position: relative; }
.cc-modal-close { position: absolute; top: 8px; right: 10px; background: transparent; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--cc-muted); }
.cc-modal-content { max-height: 80vh; overflow: auto; padding: 15px;}

/* Conversation modal typography */
.cc-modal .cc-conv-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-modal .cc-conv-summary { font-size: 17px; }

/* Conversation detail tweaks */
#cc-conv-detail .cc-back-link { color: var(--cc-muted); text-decoration: none; font-size: 13px; }
#cc-conv-detail .cc-back-link:hover { text-decoration: underline; color: var(--cc-text); }
.cc-conv-meta { margin-bottom: 10px; display: flex; justify-content: flex-end; }
.cc-conv-meta > summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--cc-muted); margin: 0 0 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.cc-conv-meta > summary::marker { display: none; }
.cc-conv-meta[open] > summary { color: var(--cc-text); }
/* Scope down table font size inside the conversation meta only */
#cc-conv-detail .cc-conv-meta .cc-table { font-size: 13px; }
#cc-conv-detail .cc-conv-meta .cc-table thead th, #cc-conv-detail .cc-conv-meta .cc-table tbody td { padding: 8px 10px; }

/* Inline conversation meta (always visible, top-right, subtle) */
#cc-conv-detail .cc-conv-meta-inline {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 12px 0;
}
#cc-conv-detail .cc-conv-meta-inline .cc-meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--cc-muted);
  font-size: 12px;
}
#cc-conv-detail .cc-conv-meta-inline .cc-meta-label { color: var(--cc-muted); }
#cc-conv-detail .cc-conv-meta-inline .cc-meta-item:not(:last-child)::after {
  content: '•';
  color: var(--cc-border);
  margin: 0 6px;
}

/* Brand colors and button styling (scoped to portal containers) */
.cc-portal, .cc-portal-login-form, .cc-portal-dashboard, #cc-modal {
  /* Demo brand variables */
  --brand-blue: #5965ff;   /* from logo */
  --brand-teal: #25d0bb;   /* big green button */
  --cc-brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));

  /* Map portal brand tokens */
  --cc-brand-primary: var(--brand-teal);
  --cc-brand-primary-hover: #20c8b3;
  --cc-brand-primary-active: #1fb5a2;
  --cc-brand-accent: var(--brand-teal);
  --cc-brand-focus: rgba(37, 208, 187, 0.35);
  /* Alias used by demo CTA snippets */
  --accent: var(--cc-brand-primary);

  /* Demo dark palette */
  --cc-bg: #0e1116;
  --cc-card: #161b22;
  --cc-text: #e6edf3;
  --cc-muted: #c5cedb;
  --cc-border: #2a323d;
  --cc-input-bg: #0f141a;
  --cc-stripe: #222830;
  --cc-overlay: rgba(255,255,255,0.04);
  --cc-dropdown-bg: rgba(22,27,34,0.98);
  /* Alias used by marketing/demo content */
  --muted: var(--cc-muted);
}

/* ── Light-mode palette override ── */
.cc-portal.cc-light-mode,
.cc-portal-login-form.cc-light-mode,
.cc-portal-dashboard.cc-light-mode,
.cc-light-mode .cc-portal,
.cc-light-mode .cc-portal-login-form,
.cc-light-mode .cc-portal-dashboard,
.cc-light-mode #cc-modal {
  --cc-bg: #f8fafb;
  --cc-card: #ffffff;
  --cc-text: #1a2b3c;
  --cc-muted: #64748b;
  --cc-border: #e2e8f0;
  --cc-input-bg: #f1f5f9;
  --cc-stripe: #f8fafc;
  --cc-overlay: rgba(0,0,0,0.04);
  --cc-dropdown-bg: rgba(255,255,255,0.98);

  /* Darken brand teal for text/headings readability on light bg */
  --brand-teal: #0d9488;
  --cc-brand-primary: #0d9488;
  --cc-brand-primary-hover: #0f766e;
  --cc-brand-primary-active: #115e59;
  --cc-brand-focus: rgba(13, 148, 136, 0.35);
  /* Buttons use the same darker teal with white text to pop */
  --accent: #0d9488;
  --cc-brand-gradient: linear-gradient(90deg, #4f46e5, #0d9488);

  /* Override embedded assistant colours for light mode */
  --cca-primary: #0d9488;
  --cca-accent: #0d9488;
  --cca-bg: transparent;
  --cca-text: #1a2b3c;
  --cca-border: #e2e8f0;
  --cca-header-text: #1a2b3c;
  --cca-chat-text: #1a2b3c;
  --cca-button-text: #ffffff;
  --cca-chip-text: #64748b;
}

/* ── Light-mode element overrides (rgba/colour tweaks that can't use variables) ── */
/* Progress track */
.cc-light-mode .cc-progress { background: rgba(0,0,0,0.06); }
/* Table header tint */
.cc-light-mode .cc-table thead th { background: rgba(0,0,0,0.02); }
/* Default badge */
.cc-light-mode .cc-badge { background: rgba(0,0,0,0.04); }
/* Coloured badges: darken text for readability on light bg */
.cc-light-mode .cc-badge-plan { color: #4f46e5; border-color: rgba(89,101,255,0.30); }
.cc-light-mode .cc-badge-success { color: #16a34a; border-color: rgba(34,197,94,0.30); }
.cc-light-mode .cc-badge-warn { color: #b45309; border-color: rgba(245,158,11,0.30); }
.cc-light-mode .cc-badge-danger { color: #dc2626; border-color: rgba(239,68,68,0.30); }
.cc-light-mode .cc-badge-info { color: #4f46e5; border-color: rgba(89,101,255,0.30); }
/* System message */
.cc-light-mode .cc-role-system { background: rgba(0,0,0,0.03); }
/* Role badges */
.cc-light-mode .cc-role-user .cc-badge { color: #4f46e5; }
.cc-light-mode .cc-role-assistant .cc-badge { color: #0d9488; }
/* Menu hover */
.cc-light-mode .cc-hero-menu a:hover { background: rgba(0,0,0,0.04); }
/* Buttons: white text on teal in light mode */
.cc-light-mode .button.button-primary { color: #ffffff !important; }
.cc-light-mode .button.button-primary:hover,
.cc-light-mode .button.button-primary:active { color: #ffffff !important; }
.cc-light-mode .cc-portal-actions .button { color: #ffffff !important; }
.cc-light-mode .cc-portal-actions .button:hover { color: #ffffff !important; }
/* Kill ALL button/link borders + outlines on every interaction state in light mode */
.cc-light-mode button:focus,
.cc-light-mode button:focus-visible,
.cc-light-mode button:active,
.cc-light-mode .button:focus,
.cc-light-mode .button:focus-visible,
.cc-light-mode .button:active,
.cc-light-mode a.button:focus,
.cc-light-mode a.button:focus-visible,
.cc-light-mode a.button:active,
.cc-light-mode .cca-ask:focus,
.cc-light-mode .cca-ask:focus-visible,
.cc-light-mode .cca-ask:active,
.cc-light-mode .cca-chip:focus,
.cc-light-mode .cca-chip:focus-visible,
.cc-light-mode .cca-chip:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
/* Input placeholder: visible on light input bg */
.cc-light-mode input::placeholder,
.cc-light-mode textarea::placeholder { color: #94a3b8 !important; opacity: 1; }
.cc-light-mode .cca-input::placeholder { color: #94a3b8 !important; opacity: 1; }
.cc-light-mode .cca-input { color: #1a2b3c !important; }
.cc-light-mode .cca-answer,
.cc-light-mode .cca-answer p,
.cc-light-mode .cca-answer li,
.cc-light-mode .cca-answer span,
.cc-light-mode .cca-helper,
.cc-light-mode .cca { color: #1a2b3c !important; }
/* Cards: modern elevated look in light mode */
.cc-light-mode .cc-card:not(.cc-plain) {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cc-light-mode .cc-card:not(.cc-plain):hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
/* Teal top accent on feature grid cards */
.cc-light-mode .cc-portal-grid .cc-card:not(.cc-plain) {
  border-top: 3px solid #43ada4;
}
/* Split-section cards: gradient left border for visual punch */
.cc-light-mode .cc-portal-section > .cc-card:not(.cc-plain) {
  border-left: 3px solid transparent;
  border-image: var(--cc-brand-gradient) 1;
  border-image-slice: 1;
}
/* Light-mode typography refinements */
.cc-light-mode .cc-portal-section h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cc-light-mode .cc-portal-section h1 {
  color: #0f172a;
}
.cc-light-mode .cc-portal-section h2 {
  font-size: 24px;
}
/* Slightly darker muted text for readability */
.cc-light-mode .cc-muted { color: #475569; }
.cc-light-mode .cc-portal-section ul { line-height: 1.7; }
/* Embedded assistant section: transparent, no card look */
.cc-light-mode .cca-section { background: transparent; border: none; }
/* Chips/pills: teal text + border in light mode (override inline embed styles) */
.cc-light-mode .cca-chip,
.cc-light-mode .cca-followup { border-color: #0d9488 !important; color: #0d9488 !important; }
.cc-light-mode .cca-chip:hover,
.cc-light-mode .cca-followup:hover { border-color: #0f766e !important; color: #0f766e !important; background: rgba(13,148,136,0.06) !important; }
/* Ask button: white text in light mode (override inline embed styles) */
.cc-light-mode .cca-ask { color: #ffffff !important; background: #0d9488 !important; }
.cc-light-mode .cca-ask:hover { background: #0f766e !important; }
/* Wave strokes: soften on light bg */
.cc-light-mode .cc-hero-waves .wave1 path { stroke: rgba(37,208,187,0.25); }
.cc-light-mode .cc-hero-waves .wave2 path { stroke: rgba(89,101,255,0.25); }
.cc-light-mode .cc-hero-waves .wave4 path { stroke: rgba(37,208,187,0.20); }
.cc-light-mode .cc-hero-waves .wave5 path { stroke: rgba(89,101,255,0.20); }

/* Root wrapper background to fill the page area */
.cc-portal {
  background: var(--cc-bg);
  color: var(--cc-text);
  font-size: 16px;
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Inline marketing embeds inherit the site wash; keep their own canvas neutral */
.cc-portal.cc-light-mode:not(.cc-portal-marketing) {
  background: transparent;
}
.cc-portal.cc-light-mode:not(.cc-portal-marketing)::before {
  content: none;
}

/* Overview pages embed inside WP layouts; keep the shell transparent and skip the glow */
.cc-portal.cc-portal-overview.cc-light-mode {
  background: transparent;
}
.cc-portal.cc-portal-overview.cc-light-mode::before {
  display: none;
}
/* Strong override to defeat theme global typography (block presets) */
.cc-portal, .cc-portal * {
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

/* Ensure headings and common elements use Nunito inside the portal scope (avoid theme overrides) */
.cc-portal h1,
.cc-portal h2,
.cc-portal h3,
.cc-portal h4,
.cc-portal h5,
.cc-portal h6,
.cc-portal p,
.cc-portal li,
.cc-portal a,
.cc-portal button,
.cc-portal input,
.cc-portal textarea,
.cc-portal select,
/* Add generic containers and inlines to resist theme globals */
.cc-portal div,
.cc-portal span,
.cc-portal small,
.cc-portal strong,
.cc-portal em,
.cc-portal label,
.cc-portal legend,
.cc-portal summary,
.cc-portal details,
.cc-portal table,
.cc-portal th,
.cc-portal td { font-family: inherit !important; }

/* Normalize paragraph spacing inside portal */
.cc-portal p { margin: 0 0 10px; }
.cc-portal p:last-child { margin-bottom: 0; }

/* Also darken the page wrapper when the portal is present to remove white gutters */
html:has(.cc-portal),
body:has(.cc-portal),
.wp-site-blocks:has(.cc-portal),
.site:has(.cc-portal),
.site-content:has(.cc-portal),
.entry-content:has(.cc-portal),
.wp-block-post-content:has(.cc-portal) {
  color: #e6edf3 !important;            /* light text */
}
/* Light-mode page wrapper override */
html:has(.cc-portal.cc-light-mode),
body:has(.cc-portal.cc-light-mode),
.wp-site-blocks:has(.cc-portal.cc-light-mode),
.site:has(.cc-portal.cc-light-mode),
.site-content:has(.cc-portal.cc-light-mode),
.entry-content:has(.cc-portal.cc-light-mode),
.wp-block-post-content:has(.cc-portal.cc-light-mode) {
  color: #1a2b3c !important;
}

/* Marketing: hide all WordPress ancestor overflow so our fixed portal owns the viewport */
html:has(.cc-portal-marketing),
html:has(.cc-portal-marketing) body {
  overflow: hidden !important;
}

/* Legal pages within marketing should scroll normally */
html:has(.cc-portal-legal),
html:has(.cc-portal-legal) body {
  overflow: auto !important;
}

/* Make WP content area wider when portal is present */
.wp-site-blocks:has(.cc-portal) {
  --wp--style--global--content-size: 1100px;
  position: relative;
  min-height: 100vh;
}

/* Ensure non-marketing portal pages fill the viewport height (for short pages like enquire/hubspot) */
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) {
  display: flex;
  flex-direction: column;
}
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) .wp-site-blocks {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) .wp-site-blocks > * {
  flex-shrink: 0;
}
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) .wp-site-blocks .cc-portal {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) .cc-portal .cc-portal-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.cc-marketing-bg:not(:has(.cc-portal-marketing)) .cc-portal .cc-portal-section {
  flex: 1;
}

/* Primary buttons (match demo CTA) */
.cc-portal-login-form .button.button-primary,
.cc-portal-dashboard .button.button-primary {
  display: inline-block;
  background: var(--accent);
  color: #06121a; /* dark text like demo CTA */
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,208,187,.25);
  font-size: 12px;
  line-height: 15px;
}
.cc-portal .button.button-primary {
  display: inline-block;
  background: var(--accent);
  color: #06121a;
  padding: 6px 14px;
  border-radius: 8px !important;
  font-weight: 700;
  border: none !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 1px 2px 6px rgba(13, 148, 136, 0.20);
  font-size: 12px;
  line-height: 15px;
}
.cc-portal-login-form .button.button-primary:hover,
.cc-portal-dashboard .button.button-primary:hover {
  background: var(--cc-brand-primary-hover);
  border: none;
  color: #06121a;
}
.cc-portal .button.button-primary:hover {
  background: var(--cc-brand-primary-hover);
  border: none;
  color: #06121a;
}
.cc-portal-login-form .button.button-primary:active,
.cc-portal-dashboard .button.button-primary:active {
  background: var(--cc-brand-primary-active);
  border: none;
  color: #06121a;
}
.cc-portal .button.button-primary:active {
  background: var(--cc-brand-primary-active);
  border: none;
  color: #06121a;
}
.cc-portal-login-form .button.button-primary:focus,
.cc-portal-dashboard .button.button-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--cc-brand-focus);
}
.cc-portal .button.button-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--cc-brand-focus);
}

/* Disabled buttons - make visually obvious and non-interactive */
.cc-portal-login-form .button[disabled],
.cc-portal-dashboard .button[disabled],
.cc-portal .button[disabled],
.cc-portal-login-form .button.is-disabled,
.cc-portal-dashboard .button.is-disabled,
.cc-portal .button.is-disabled,
.cc-portal-login-form .button[aria-disabled="true"],
.cc-portal-dashboard .button[aria-disabled="true"],
.cc-portal .button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  box-shadow: none !important;
  filter: grayscale(20%);
}
/* Ensure variant backgrounds remain consistent when disabled */
.cc-portal .button.button-primary[disabled],
.cc-portal .button.button-primary[disabled]:hover,
.cc-portal .button.button-primary[disabled]:focus,
.cc-portal .button.button-primary[disabled]:active {
  background: var(--accent);
  color: #06121a;
}
.cc-portal .button.button-danger[disabled],
.cc-portal .button.button-danger[disabled]:hover,
.cc-portal .button.button-danger[disabled]:focus,
.cc-portal .button.button-danger[disabled]:active {
  background: #ef4444;
  color: #ffffff;
}

/* Danger buttons (Delete) - match primary shape but in red */
.cc-portal-login-form .button.button-danger,
.cc-portal-dashboard .button.button-danger {
  display: inline-block;
  background: #ef4444; /* red */
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(239,68,68,.25);
}
.cc-portal .button.button-danger { /* broaden scope to handle nested contexts */
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px !important;
  font-weight: 700;
  border: none !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(239,68,68,.25);
  font-size: 12px;
  line-height: 15px;
}
.cc-portal-login-form .button.button-danger:hover,
.cc-portal-dashboard .button.button-danger:hover {
  background: #dc2626;
}
.cc-portal-login-form .button.button-danger:active,
.cc-portal-dashboard .button.button-danger:active {
  background: #b91c1c;
}
.cc-portal-login-form .button.button-danger:focus,
.cc-portal-dashboard .button.button-danger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239,68,68,.35);
}
/* Broaden interaction states to any danger buttons within portal */
.cc-portal .button.button-danger:hover { background: #dc2626; }
.cc-portal .button.button-danger:active { background: #b91c1c; }
.cc-portal .button.button-danger:focus { outline: none; box-shadow: 0 0 0 3px rgba(239,68,68,.35); }

/* View buttons (conversations list) - thinner */
.cc-portal-dashboard a.button.button-primary.cc-view-conv {
  padding: 1px 14px;
  margin-top: 0;
}
/* Secondary variant now used by View buttons */
.cc-portal-dashboard a.button.button-secondary.cc-view-conv {
  padding: 1px 14px;
  margin-top: 0;
}

/* Default/secondary buttons */
.cc-portal-login-form .button,
.cc-portal-dashboard .button,
.cc-portal .button {
  background-color: transparent;
  color: var(--cc-text);
  border-color: var(--cc-border);
  padding: 8px 12px;            /* ensure consistent padding */
  border-radius: 8px !important;/* enforce rounded corners in portal */
}

/* Generic secondary outline (teal) usable anywhere in portal */
.cc-portal a.button, .cc-portal .button { text-decoration: none; }
.cc-portal .button.button-secondary {
  background-color: transparent;
  color: var(--cc-brand-primary);
  border: 1px solid var(--cc-brand-primary);
}
.cc-portal a.button:hover { text-decoration: none; }
.cc-portal .button.button-secondary:hover {
  background-color: rgba(37,208,187,0.10);
  color: var(--cc-brand-primary);
  border-color: var(--cc-brand-primary);
}
.cc-portal .button.button-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--cc-brand-focus);
}

/* Large button variant for high-importance CTAs without heavy fill */
.cc-portal .button.button-large {
  padding: 13px 20px;
  font-size: 15px;
  line-height: 18px;
  border-width: 1px;
  border-radius: 10px !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.cc-portal-login-form .button:hover,
.cc-portal-dashboard .button:hover {
  color: var(--cc-brand-primary);
  border-color: var(--cc-brand-primary);
}
.cc-portal-login-form .button.button-secondary,
.cc-portal-dashboard .button.button-secondary {
  background-color: transparent;
  color: var(--cc-brand-primary);
  border-color: var(--cc-brand-primary);
}
.cc-portal-login-form .button.button-secondary:hover,
.cc-portal-dashboard .button.button-secondary:hover {
  background-color: rgba(37, 208, 187, 0.12);
}

/* Disabled pagination button (anchor with disabled attr) */
.cc-portal-dashboard .cc-pagination .button[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* Center pagination controls */
.cc-portal-dashboard .cc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Nav actions styled as CTA */
.cc-portal-dashboard .cc-portal-actions .button {
  display: inline-block;
  background: var(--accent);
  color: #06121a;
}
.cc-portal-dashboard .cc-portal-actions .button:hover {
  background: var(--cc-brand-primary-hover);
}

/* Inputs focus ring */
.cc-portal-login-form input:focus,
.cc-portal-dashboard input:focus,
.cc-portal input:focus,
.cc-portal textarea:focus,
.cc-portal select:focus {
  outline: none;
  border-color: var(--cc-brand-primary);
  box-shadow: 0 0 0 3px var(--cc-brand-focus);
}

/* Override: remove focus ring for inputs within .cc-portal only (marketing plugin scope) */
.cc-portal input:focus {
  box-shadow: none !important;
}

/* Demo-style accents */
.cc-portal-nav h2, .cc-portal-nav h3 {
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .2px;
}

/* Embedded assistant (marketing overrides) */
.cca .cca-answer {
  font-size: 19px;
  line-height: 1.55;
}
.cca .cca-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cc-portal-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
  position: relative;
  padding-left: 10px;
  color: var(--cc-brand-primary); /* teal heading — darkened automatically in light mode */
}
.cc-portal-section h3::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px; border-radius: 4px;
  background: var(--cc-brand-gradient);
  opacity: .8;
}

/* Elevate hierarchy for H1/H2 in marketing/portal sections */
.cc-portal-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
  position: relative;
  padding-left: 10px;
  /* Match H1 gradient text for stronger emphasis */
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: .2px;
}
.cc-portal-section h2::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px; border-radius: 4px;
  background: var(--cc-brand-gradient);
  opacity: .9;
}
.cc-portal-section h1 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .2px;
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Large animated hero */
.cc-hero {
  position: relative;
  min-height: 57vh; /* default height for non-marketing pages */
  display: grid;
  align-items: center;
  justify-items: center; /* center content horizontally */
  padding: 20px 0; /* breathing room top/bottom around content */
  overflow: hidden;
}

/* Full viewport hero only on the marketing homepage */
.cc-portal-marketing .cc-hero {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 10px;
  overflow-y: auto;
  overflow-x: hidden;
}
.cc-hero.cc-card.cc-plain { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.cc-hero .cc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: 20px 10px;
  text-align: center;        /* center headings and CTA */
  margin-inline: auto;       /* center container */
}
.cc-hero .cc-hero-content h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  background: var(--cc-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-hero .cc-hero-content h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--cc-text);
}
.cc-hero .cc-hero-content p.cc-muted { font-size: clamp(16px, 2.2vw, 18px); }
.cc-hero .cc-cta { margin-top: 18px; }

.cc-portal .cc-portal-dashboard { position: relative; }
.cc-portal .cc-hero-nav { position: absolute; top: 16px; right: 16px; z-index: 10000; }
.cc-portal .cc-hero-menu { position: absolute; top: 60px; right: 16px; z-index: 10001; }

/* When burger is placed within the top nav row, make it inline and anchor the menu to the actions block */
.cc-portal-nav .cc-portal-actions { position: relative; }
.cc-portal-nav .cc-hero-nav { position: static;}
.cc-portal-nav .cc-hero-menu { position: absolute; top: 42px; right: 0; }

.cc-portal-marketing .cc-hero-nav { position: absolute; top: 16px; right: 16px; z-index: 10000; }
.cc-portal-marketing .cc-hero-menu { position: absolute; top: 60px; right: 16px; z-index: 10001; }
.cc-portal-marketing .cc-hero .cc-assistant { position: relative; z-index: 1; }

/* Background stage for subtle dashboard screenshots (removed) */
/* all hero background image rules intentionally removed */

/* Marketing hero: staged intro animation */
/* Stage 1: during intro, hide title slightly below center */
.cc-portal-marketing .cc-hero.is-intro .cc-hero-content {
  opacity: 0;
  transform: translateY(18vh);
}
.cc-portal-marketing .cc-hero .cc-hero-content {
  transition: opacity 5.5s cubic-bezier(.22,.61,.36,1), transform 4.5s cubic-bezier(.22,.61,.36,1);
}
/* Stage 1 -> visible (lands centered) */
.cc-portal-marketing .cc-hero.is-intro.is-title-in .cc-hero-content {
  opacity: 1;
  transform: translateY(0);
}
/* Stage 2: lift titles smoothly with transform (no layout jump); keep assistant centered */
.cc-portal-marketing .cc-hero.is-lift .cc-hero-content { transform: translateY(-22vh); transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
@media (max-width: 700px) {
  .cc-portal-marketing .cc-hero.is-lift .cc-hero-content { transform: translateY(-16vh); }
}
/* On small screens, start slightly less far down to balance layout */
@media (max-width: 700px) {
  .cc-portal-marketing .cc-hero.is-intro .cc-hero-content {
    transform: translateY(14vh);
  }
}
/* Assistant appears after lift */
.cc-portal-marketing .cc-hero .cc-assistant {
  align-self: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.75s cubic-bezier(.22,.61,.36,1), transform 1.75s cubic-bezier(.22,.61,.36,1);
  width: 100%;
}
.cc-portal-marketing .cc-hero.is-assistant-in .cc-assistant {
  opacity: 1;
  transform: translateY(0);
}
.cc-portal-marketing .cc-hero .cc-abstract {
  width: 100%;
  max-width: 420px;
  margin-top: 0;
}
/* Hide abstract once the assistant has a response */
.cc-portal-marketing .cc-hero .cc-assistant:has(.cca-answer) ~ .cc-abstract {
  display: none;
}

/* Mobile centering fixes: ensure equal gutters and centered hero content */
@media (max-width: 700px) {
  .cc-portal.cc-portal-marketing .cc-portal-dashboard { padding-left: 0; padding-right: 0; }
  .cc-portal-marketing .cc-hero { justify-items: center; }
  .cc-portal-marketing .cc-hero .cc-hero-content { margin-inline: auto; padding-inline: 12px; }
  /* Keep burger visible on small screens */
  .cc-portal-marketing .cc-hero-nav { right: 12px; }
  .cc-portal-marketing .cc-hero-menu { right: 12px; }
  /* Prevent assistant form from overflowing */
  .cc-portal.cc-portal-marketing .cc-assistant .cca .cca-form {
    flex-wrap: wrap;
    max-width: 100%;
    padding-inline: 12px;
    box-sizing: border-box;
  }
}

/* Animated SVG waves background (gentle motion) */
.cc-hero .cc-hero-waves { position: absolute; top: 0; left: 50%; width: 100vw; height: 65%; transform: translateX(-50%); pointer-events: none; z-index: 0; opacity: 0.85; }
.cc-hero .cc-hero-waves svg { position: absolute; inset: 0; width: 100%; height: 100%; left: 0; top: 0; }
.cc-hero .cc-hero-waves .wave-layer path { stroke-linecap: round; stroke-width: 1px; }
.cc-hero .cc-hero-waves .wave1 path { stroke: rgba(37,208,187,0.40); }
.cc-hero .cc-hero-waves .wave2 path { stroke: rgba(89,101,255,0.40); }
.cc-hero .cc-hero-waves .wave3 { display: none; } /* remove grey/white wave for a simpler look */
.cc-hero .cc-hero-waves .wave4 path { stroke: rgba(37,208,187,0.34); }
.cc-hero .cc-hero-waves .wave5 path { stroke: rgba(89,101,255,0.34); }

/* Drift animations for layers (flag-like gentle motion) */
.cc-hero .cc-hero-waves .wave1 { animation: waveDrift1 40s ease-in-out infinite alternate; }
.cc-hero .cc-hero-waves .wave2 { animation: waveDrift2 52s ease-in-out infinite alternate; }
.cc-hero .cc-hero-waves .wave3 { animation: waveDrift3 46s ease-in-out infinite alternate; }
.cc-hero .cc-hero-waves .wave4 { animation: waveDrift4 58s ease-in-out infinite alternate; }
.cc-hero .cc-hero-waves .wave5 { animation: waveDrift5 50s ease-in-out infinite alternate; }

@keyframes waveDrift1 { 0% { transform: translateX(0) translateY(-60px); } 100% { transform: translateX(60px) translateY(-40px); } }
@keyframes waveDrift2 { 0% { transform: translateX(-30px) translateY(-20px) scaleY(1.30); } 100% { transform: translateX(30px) translateY(-10px) scaleY(1.30); } }
@keyframes waveDrift3 { 0% { transform: translateX(20px) translateY(20px); } 100% { transform: translateX(-20px) translateY(30px); } }
@keyframes waveDrift4 { 0% { transform: translateX(-10px) translateY(10px) scaleY(1.35); } 100% { transform: translateX(10px) translateY(60px) scaleY(1.35); } }
@keyframes waveDrift5 { 0% { transform: translateX(-5px) translateY(0px) scaleY(1.45); } 100% { transform: translateX(5px) translateY(50px) scaleY(1.45); } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cc-hero .cc-hero-waves .wave-layer { animation: none !important; }
}

/* Ensure crawl job current URL link is visibly styled */
.cc-portal .cc-lj-current-url {
  color: var(--cc-brand-primary);
  text-decoration: underline;
}
.cc-portal .cc-lj-current-url:hover,
.cc-portal .cc-lj-current-url:focus {
  color: var(--cc-brand-primary-hover);
}

/* Footer */
.cc-portal-footer {
  margin: 24px 0 12px;
  color: var(--cc-muted);
  font-size: 13px;
  text-align: center;
  position: static; /* default: flow in document */
  z-index: auto;
}
/* Marketing: anchor footer to bottom of flex column */
.cc-portal-marketing .cc-portal-footer {
  margin-top: auto;
  padding: 24px 16px 16px;
}
.cc-portal-footer a {
  color: var(--cc-brand-primary);
  text-decoration: none;
}
.cc-portal-footer a:hover {
  text-decoration: underline;
}
/* Stack lines nicely if multiple rows */
.cc-portal-footer > div + div { margin-top: 4px; }

/* Integrations gallery (full-width section) */
.cc-integrations-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px;
  align-items: center;
  justify-items: center;
}
.cc-integration { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 8px 6px; }
.cc-integration img { height: 50px; width: auto; display: block; }
.cc-integration span { color: var(--cc-muted); font-size: 13px; }

/* At tablet widths, increase to 4 columns */
@media (min-width: 600px) {
  .cc-integrations-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* At desktop widths, force a single row with tighter spacing */
@media (min-width: 900px) {
  .cc-integrations-gallery { display: flex; flex-wrap: nowrap; gap: 62px; justify-content: center; }
  .cc-integration { padding: 6px 4px; }
}

/* Login/Need-login: footer should be visible and flow in document, not behind content */
.cc-portal-login-form + .cc-portal-footer,
.cc-portal-need-login + .cc-portal-footer {
  position: static;
  z-index: auto;
}

/* Apply soft hero fades to the outer canvas so colors extend edge-to-edge */
/* Non-home pages use smaller, subtler gradients (like /overview) */
body.cc-marketing-bg {
  min-height: 100vh;
  background-color: #f8fafb;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(59,216,202,0.24) 0%, rgba(59,216,202,0) 60%),
    radial-gradient(circle at 100% 100%, rgba(89,101,255,0.20) 0%, rgba(89,101,255,0) 60%),
    linear-gradient(180deg, #f8fafb 0%, #f8fafb 60%, #f4f8fb 100%);
  background-repeat: no-repeat;
  background-attachment: fixed; /* keep wash anchored to viewport on short pages */
  background-size:
    clamp(200px, 10vw, 420px) 220px,
    clamp(200px, 10vw, 420px) 220px,
    100% 100%;
  background-position:
    left bottom,
    right bottom,
    center;
}

/* Home/hero takeover pages keep the stronger, larger wash */
body.cc-marketing-bg:has(.cc-portal.cc-portal-marketing) {
  background-image:
    radial-gradient(circle at 0% 100%, rgba(59,216,202,0.42) 0%, rgba(59,216,202,0) 55%),
    radial-gradient(circle at 100% 100%, rgba(89,101,255,0.34) 0%, rgba(89,101,255,0) 55%),
    linear-gradient(180deg, #f8fafb 0%, #f8fafb 55%, #f4f8fb 100%);
  background-size:
    clamp(260px, 32vw, 520px) 300px,
    clamp(260px, 32vw, 520px) 300px,
    100% 100%;
}

/* Non-home WP wrappers: keep Content Compass teal/blue glow over the #f8fafb base */
/* Skip when body already has .cc-marketing-bg (marketing site pages) to avoid double wash */
body:not(.cc-marketing-bg) .wp-block-post-content:has(.cc-portal.cc-light-mode:not(.cc-portal-marketing)),
body:not(.cc-marketing-bg) .entry-content:has(.cc-portal.cc-light-mode:not(.cc-portal-marketing)),
body:not(.cc-marketing-bg) .site-content:has(.cc-portal.cc-light-mode:not(.cc-portal-marketing)),
body:not(.cc-marketing-bg) .site:has(.cc-portal.cc-light-mode:not(.cc-portal-marketing)),
body:not(.cc-marketing-bg) .wp-site-blocks:has(.cc-portal.cc-light-mode:not(.cc-portal-marketing)) {
  background-color: #f8fafb !important;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(59,216,202,0.24) 0%, rgba(59,216,202,0) 60%),
    radial-gradient(circle at 100% 100%, rgba(89,101,255,0.20) 0%, rgba(89,101,255,0) 60%),
    linear-gradient(180deg, #f8fafb 0%, #f8fafb 60%, #f4f8fb 100%);
  background-repeat: no-repeat;
  background-size:
    clamp(200px, 10vw, 420px) 220px,
    clamp(200px, 10vw, 420px) 220px,
    100% 100%;
  background-position:
    left bottom,
    right bottom,
    center;
}

/* Remove unintended grey band from the skip-link anchor wrapper on marketing takeovers */
body.cc-marketing-bg .wp--skip-link--target {
  background: transparent;
}

/* Marketing hero minimal navigation */
/* Marketing portal: fixed full-viewport takeover — bypasses all WP theme headers/padding */
.cc-portal.cc-portal-marketing {
  position: fixed;
  inset: 0;
  z-index: 9998;
  padding-bottom: 20px;
  background: transparent;
}
/* Legal pages: drop back to normal document flow so the WP theme header/nav shows and the page scrolls */
.cc-portal.cc-portal-marketing:has(.cc-portal-legal) {
  position: relative;
  inset: auto;
}
.cc-portal.cc-portal-marketing .cc-portal-dashboard { position: relative; display: flex; flex-direction: column; height: 100%; }
.cc-hero-nav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9999; /* ensure nav sits above assistant/embed */
  pointer-events: auto;
}
.cc-burger {
  appearance: none;
  -webkit-appearance: none;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  width: 30px;
  height: 27px;
  display: inline-flex;
  flex-direction: column; /* stack bars vertically */
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 1px 2px 6px rgba(13, 148, 136, 0.20);
  transition: background 0.2s ease;
  vertical-align: middle;
}
.cc-burger:hover { background: var(--cc-brand-primary-hover); }
.cc-burger span { display: block; width: 16px; height: 2px; background: #ffffff; border-radius: 2px; }
.cc-hero-menu {
  position: absolute;
  top: 60px;
  right: 16px;
  z-index: 10000; /* menu above everything */
  background: var(--cc-dropdown-bg);
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Larger screens: add a little more breathing room */
@media (min-width: 900px) {
  .cc-portal.cc-portal-marketing .cc-portal-dashboard { padding-inline: 24px; }
  .cc-portal-marketing .cc-hero-nav { top: 24px; right: 24px; }
  .cc-portal-marketing .cc-hero-menu { top: 68px; right: 24px; }
}
.cc-hero-menu[hidden] { display: none !important; } /* honor hidden attribute */
.cc-hero-menu a { color: var(--cc-text); text-decoration: none; padding: 8px 10px; border-radius: 6px; min-width: 144px; white-space: nowrap; }
.cc-hero-menu a:hover { background: rgba(255,255,255,0.06); color: var(--cc-brand-primary); }

/* H1 with logo + site name (home only) */
.cc-hero .cc-hero-content .cc-site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.cc-hero .cc-hero-content .cc-site-title .custom-logo-link img,
.cc-hero .cc-hero-content .cc-site-title .custom-logo {
  height: clamp(32px, 6vw, 54px);
  width: auto;
}
/* Fallback logo image (no WP custom logo) */
.cc-hero .cc-hero-content .cc-site-title .cc-site-logo img {
  height: clamp(32px, 6vw, 54px);
  width: auto;
  display: block;
}

/* Marketing page: center the embedded assistant, full width */
.cc-portal.cc-portal-marketing .cc-assistant {
  width: 100%;
  margin: 16px auto;
  display: block;
}
.cc-portal.cc-portal-marketing .cc-hero .cc-assistant {
  min-height: 0;
}

/* Marketing-only: Google-like search bar — input + button attached */
.cc-portal.cc-portal-marketing .cc-assistant .cca .cca-form {
  gap: 0; /* remove gap between input and button */
  max-width: 680px;
  margin: 0 auto 45px;
  text-align: center;
}
.cc-portal.cc-portal-marketing .cc-assistant .cca .cca-input {
  border: 1px solid var(--cc-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  font-size: 20px;
  text-align: left;
  padding: 14px 18px;
  background: var(--cc-card);
}
.cc-portal.cc-portal-marketing .cc-assistant .cca .cca-ask {
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  font-size: 15px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .cc-portal.cc-portal-marketing .cc-assistant .cca .cca-input {
    flex: 1 1 100%;
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    font-size: 16px;
    padding: 12px 14px;
    box-sizing: border-box;
  }
  .cc-portal.cc-portal-marketing .cc-assistant .cca .cca-ask {
    width: 100%;
    border: none;
    border-radius: 12px;
    margin-top: 10px;
    padding: 14px 18px;
    box-sizing: border-box;
  }
}

  /* Marketing-only: center chips inside the assistant */
  .cc-portal.cc-portal-marketing .cc-assistant .cca .cca-chips {
    justify-content: center;
  }

/* Smart Chat hero icon (left of titles) */
.cc-hero-icon {
  display: block;
  width: clamp(110px, 20vw, 192px);
  height: auto;
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 20px rgba(37,208,187,0.18));
}

/* Hero split layout tweaks: compact left icon + tight spacing */
.cc-hero-split {
  grid-template-columns: auto 1fr; /* left sized to content (icon) */
  gap: 12px;
}
@media (min-width: 900px) {
  .cc-hero-split { gap: 16px; }
}
.cc-hero-split .cc-split-right {
  padding: 0; /* remove default 14px padding to tighten */
  justify-items: start;
}
.cc-hero-split .cc-split-left {
  position: relative; /* for decorative glow */
  justify-items: center; /* center the icon within the left cell */
}
.cc-hero-split .cc-split-left::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(37,208,187,0.30) 0%, rgba(89,101,255,0.00) 70%);
  filter: blur(12px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

/* Reusable hero glow utility: place on the icon container to add a stronger, centered glow */
.cc-hero-glow {
  position: relative;
  display: grid;          /* enable justify-items for centering icon */
  justify-items: center;  /* center icon in its cell */
}
.cc-hero-glow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* allow easy tweaking via CSS variables */
  width: var(--cc-hero-glow-size, 260px);
  height: var(--cc-hero-glow-size, 260px);
  background: radial-gradient(60% 60% at 50% 50%, rgba(37,208,187,0.38) 0%, rgba(89,101,255,0.00) 70%);
  filter: blur(14px);
  opacity: var(--cc-hero-glow-opacity, 0.85);
  pointer-events: none;
  z-index: 0;
}

/* Agents grid - 2 per row */
.cc-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 600px) {
  .cc-agents-grid {
    grid-template-columns: 1fr;
  }
}

/* Agent card styling */
.cc-agent-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cc-agent-card:hover {
  box-shadow: 0 4px 12px rgba(37,208,187,0.15);
  transform: translateY(-2px);
}
.cc-agent-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--cc-brand-primary);
}
.cc-agent-prompts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cc-agent-prompts ul {
  margin: 0;
  padding: 0 0 0 16px;
  list-style: disc;
}
.cc-agent-prompts li {
  font-size: 13px;
  color: var(--cc-muted);
  line-height: 1.4;
}
.cc-agent-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.cc-agent-meta .cc-badge {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cc-badge-basic { background: rgba(34,197,94,0.12); color: #34d399; border-color: rgba(34,197,94,0.35); }
.cc-badge-growth { background: rgba(59,130,246,0.12); color: #60a5fa; border-color: rgba(59,130,246,0.35); }
.cc-badge-pro { background: rgba(139,92,246,0.12); color: #a78bfa; border-color: rgba(139,92,246,0.35); }
.cc-badge-scale { background: rgba(249,115,22,0.12); color: #fb923c; border-color: rgba(249,115,22,0.35); }
.cc-badge-trial { background: rgba(148,163,184,0.12); color: #94a3b8; border-color: rgba(148,163,184,0.35); }

/* Light mode overrides for agent cards */
.cc-light-mode .cc-agent-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cc-light-mode .cc-agent-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.cc-light-mode .cc-agent-card h4 {
  color: #0f172a;
}
.cc-light-mode .cc-agent-prompts {
  border-top-color: #e2e8f0;
}
.cc-light-mode .cc-agent-prompts li {
  color: #64748b;
}
.cc-light-mode .cc-badge-basic { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.cc-light-mode .cc-badge-growth { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.cc-light-mode .cc-badge-pro { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.cc-light-mode .cc-badge-scale { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.cc-light-mode .cc-badge-trial { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

/* Loading state */
.cc-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--cc-muted);
  font-size: 14px;
}

/* ── Pricing page row layout ── */
/* Widen the WP content container so rows breathe */
.wp-site-blocks:has(.cc-portal-pricing) {
  --wp--style--global--content-size: 1100px;
}

.cc-pricing-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-pricing-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 22px 26px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: var(--cc-card);
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cc-pricing-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.cc-pricing-featured {
  border: 2px solid var(--cc-brand-primary);
  box-shadow: 0 0 0 3px var(--cc-brand-focus), 0 8px 24px rgba(13, 148, 136, 0.12);
}

.cc-pricing-featured:hover {
  box-shadow: 0 0 0 3px var(--cc-brand-focus), 0 12px 32px rgba(13, 148, 136, 0.18);
  transform: translateY(-2px);
}

.cc-pricing-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: linear-gradient(90deg, #4f46e5, #0d9488);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.cc-pricing-main h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}

.cc-pricing-desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--cc-muted);
  line-height: 1.4;
}

.cc-pricing-main .cc-price {
  margin: 0;
}

.cc-pricing-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 20px;
}

.cc-pricing-features li {
  font-size: 14px;
  color: var(--cc-muted);
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.cc-pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cc-brand-primary);
  font-weight: 700;
}

.cc-pricing-action {
  align-self: center;
  white-space: nowrap;
}

.cc-pricing-action .button {
  display: inline-block;
  white-space: nowrap;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
  .cc-pricing-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
  .cc-pricing-features ul {
    grid-template-columns: 1fr;
  }
  .cc-pricing-action {
    justify-self: start;
  }
}

/* Light-mode tweaks for pricing rows */
.cc-light-mode .cc-pricing-row {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}
.cc-light-mode .cc-pricing-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
}
.cc-light-mode .cc-pricing-featured {
  box-shadow: 0 0 0 3px rgba(13,148,136,0.18), 0 8px 24px rgba(13, 148, 136, 0.10);
}
.cc-light-mode .cc-pricing-featured:hover {
  box-shadow: 0 0 0 3px rgba(13,148,136,0.22), 0 12px 32px rgba(13, 148, 136, 0.14);
}

/* ── FAQ page ───────────────────────────────────────────────────────────── */

.cc-faq-hero { margin-bottom: 8px; }
.cc-faq-hero h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.cc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc-faq-item {
  background: var(--cc-card);
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cc-faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cc-faq-item[open] {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cc-faq-question {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cc-text);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  position: relative;
}

/* Hide default disclosure triangle */
.cc-faq-question::-webkit-details-marker {
  display: none;
}

.cc-faq-qmark {
  color: var(--cc-brand-primary);
  font-weight: 800;
  font-size: 14px;
  min-width: 22px;
  text-align: center;
}

.cc-faq-chevron {
  margin-left: auto;
  color: var(--cc-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cc-faq-item[open] .cc-faq-chevron {
  transform: rotate(180deg);
}

.cc-faq-answer {
  padding: 0 18px 18px 50px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--cc-muted);
}

.cc-faq-answer p {
  margin: 0;
}

.cc-faq-cta {
  margin-top: 24px;
  text-align: center;
}

.cc-faq-cta h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.cc-faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

/* Light-mode FAQ tweaks */
.cc-light-mode .cc-faq-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cc-light-mode .cc-faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.cc-light-mode .cc-faq-item[open] {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cc-light-mode .cc-faq-answer {
  color: #475569;
}
