/* =========================================================
   ClearConsent theme styles
   Ported from the supplied ClearConsent home design.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

::selection { background: #B8DBD4; color: #0E2A38; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Design tokens (light = default) ---------- */
:root,
[data-theme="light"] {
  --bg:#F5F8F7; --bg-soft:#EDF3F1; --surface:#ffffff; --surface-2:#F1F6F4;
  --ink:#0E2A38; --text:#1B3D4A; --muted:#5C757E; --mint:#B8DBD4; --mint-deep:#36857A;
  --accent:#0E2A38; --accent-text:#EAF4F1; --border:#E2EAE7;
  --shadow:0 1px 2px rgba(14,42,56,.05),0 16px 40px -22px rgba(14,42,56,.18);
  --band:#0E2A38; --band-text:#EAF4F1; --band-muted:#9DB9C0;
  --code-bg:#0A1F29; --code-text:#CFE6E0; --glow:rgba(184,219,212,.30);
  --note:#EAF4F1;
  --off:#AFC0C5;
  --field:#FBFCFC; --field-border:#D5E0DC;
}
[data-theme="dark"] {
  --bg:#0A222E; --bg-soft:#0E2A38; --surface:#143744; --surface-2:#16404F;
  --ink:#EAF4F1; --text:#DCE9E6; --muted:#90AAB2; --mint:#B8DBD4; --mint-deep:#B8DBD4;
  --accent:#B8DBD4; --accent-text:#0E2A38; --border:#264B58;
  --shadow:0 1px 2px rgba(0,0,0,.25),0 18px 44px -20px rgba(0,0,0,.6);
  --band:#16404F; --band-text:#EAF4F1; --band-muted:#A9C3CA;
  --code-bg:#06161e; --code-text:#CFE6E0; --glow:rgba(184,219,212,.10);
  --note:#11313D;
  --off:#5E7A82;
  --field:#0E2C39; --field-border:#2E5562;
}

/* ---------- Helpers ---------- */
.cc-wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.cc-narrow { max-width: 820px; }
.cc-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.cc-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mint-deep); margin-bottom: 16px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-text); padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}

a, button { transition: color .2s ease, opacity .2s ease, transform .2s ease, border-color .2s ease, gap .2s ease; }

/* ---------- Buttons ---------- */
.cc-btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-weight: 600; border-radius: 13px; cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.cc-btn-primary { background: var(--accent); color: var(--accent-text); padding: 15px 26px; font-size: 16px; }
.cc-btn-primary:hover { transform: translateY(-1px); }
.cc-btn-ghost { background: transparent; color: var(--text); padding: 15px 24px; font-size: 16px; border-color: var(--border); }
.cc-btn-ghost:hover { border-color: var(--mint-deep); }
.cc-btn-mint { background: var(--mint); color: #0E2A38; padding: 16px 30px; font-size: 16px; font-weight: 700; }
.cc-btn-mint:hover { transform: translateY(-1px); }
.cc-btn-sm { padding: 11px 20px; font-size: 14.5px; border-radius: 11px; white-space: nowrap; }
.cc-btn-sm:hover { opacity: .9; }

/* ---------- Navigation ---------- */
.cc-nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.cc-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cc-brand .cc-logo-img { max-height: 34px; width: auto; }
.cc-brand-name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.cc-brand-name span { color: var(--mint-deep); }

.cc-nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.cc-nav-menu li { margin: 0; }
.cc-nav-menu a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.cc-nav-menu a:hover,
.cc-nav-menu .current-menu-item > a { color: var(--ink); }

.cc-nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 10px; cursor: pointer; color: var(--ink);
}

/* ---------- Hero (centered) ---------- */
.cc-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 78% 64% at 50% -8%, var(--glow), transparent 70%);
}
.cc-hero-inner { max-width: 840px; margin: 0 auto; padding: 104px 32px 72px; text-align: center; }
.cc-hero h1 {
  font-size: clamp(40px,6vw,66px); line-height: 1.04; letter-spacing: -.025em;
  font-weight: 800; color: var(--ink); margin: 0 0 22px; text-wrap: balance;
}
.cc-hero-sub {
  font-size: clamp(17px,2vw,20px); line-height: 1.6; color: var(--muted);
  margin: 0 auto 34px; max-width: 600px; text-wrap: pretty;
}
.cc-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cc-hero-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* Hero banner mock */
.cc-bannermock-wrap { max-width: 680px; margin: 0 auto; padding: 0 32px 96px; }
.cc-bannermock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); padding: 26px 28px; text-align: left;
}
.cc-bannermock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cc-bannermock-title { font-weight: 700; color: var(--ink); font-size: 16px; }
.cc-bannermock-text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cc-chip {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 999px;
}
.cc-chip.is-off { color: var(--muted); }
.cc-switch { width: 26px; height: 15px; border-radius: 999px; position: relative; display: inline-block; background: var(--mint-deep); }
.cc-switch.is-dim { opacity: .55; }
.cc-switch.is-off { background: var(--border); }
.cc-switch .knob { position: absolute; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; right: 2px; }
.cc-switch.is-off .knob { right: auto; left: 2px; }
.cc-bannermock-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-faux-btn {
  flex: 1; min-width: 120px; text-align: center; padding: 11px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
}
.cc-faux-btn.is-primary { background: var(--accent); color: var(--accent-text); }
.cc-faux-btn.is-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cc-faux-btn.is-muted { background: transparent; color: var(--muted); border: 1px solid var(--border); }

/* ---------- Trust strip ---------- */
.cc-trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.cc-trust-grid { max-width: 1160px; margin: 0 auto; padding: 34px 32px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cc-trust-item { display: flex; align-items: center; gap: 12px; }
.cc-trust-item svg { flex: none; }
.cc-trust-item span { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ---------- Generic section heads ---------- */
.cc-section { max-width: 1160px; margin: 0 auto; padding: 104px 32px; }
.cc-section-band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cc-section-head { max-width: 620px; margin-bottom: 54px; }
.cc-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.cc-h2 { font-size: clamp(30px,4vw,44px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.cc-lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.cc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow);
}
.cc-card:hover { transform: translateY(-3px); }
.cc-card-ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.cc-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.cc-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- How it works ---------- */
.cc-step-num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--mint-deep); font-weight: 500; margin-bottom: 16px; }
.cc-step h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.cc-step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Consent Mode spotlight ---------- */
.cc-band { background: var(--band); color: var(--band-text); }
.cc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cc-band .cc-eyebrow { color: var(--mint); }
.cc-band h2 { color: var(--band-text); }
.cc-band p { font-size: 16.5px; line-height: 1.65; color: var(--band-muted); margin: 0 0 26px; }
.cc-signal-row { display: flex; flex-wrap: wrap; gap: 9px; }
.cc-signal {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--mint);
  background: rgba(184,219,212,.12); border: 1px solid rgba(184,219,212,.22);
  padding: 6px 12px; border-radius: 8px;
}
.cc-code {
  background: var(--code-bg); border: 1px solid rgba(184,219,212,.16); border-radius: 16px;
  padding: 24px 26px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); overflow: hidden;
}
.cc-code-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 16px; }
.cc-code pre { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 1.8; color: var(--code-text); white-space: pre-wrap; }
.cc-code .tk-key { color: #8FD9C8; }
.cc-code .tk-str { color: #E9C46A; }
.cc-code .tk-com { color: #9DB9C0; }

/* ---------- Screenshots ---------- */
.cc-shots { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.cc-shots .col-2 { display: grid; gap: 20px; }
.cc-shot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: var(--surface-2); color: var(--muted); font-size: 13.5px; font-weight: 500; padding: 16px;
}
.cc-shot.is-tall { height: 360px; }
.cc-shot.is-short { height: 170px; }
.cc-shot img { width: 100%; height: 100%; object-fit: cover; }
.cc-shot-cap { font-size: 13.5px; color: var(--muted); margin-top: 10px; font-weight: 500; }

/* ---------- Plans ---------- */
.cc-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.cc-plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.cc-plan.is-featured { border: 2px solid var(--mint-deep); }
.cc-plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cc-plan-name { font-size: 20px; font-weight: 800; color: var(--ink); }
.cc-plan-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint-deep); background: var(--surface-2); padding: 5px 10px; border-radius: 999px;
}
.cc-plan-desc { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.cc-plan-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.cc-feat { display: flex; gap: 10px; align-items: flex-start; }
.cc-feat svg { flex: none; margin-top: 1px; }
.cc-feat span { font-size: 14.5px; color: var(--text); }
.cc-plan-cta { display: block; text-align: center; padding: 13px; border-radius: 11px; font-weight: 600; font-size: 15px; text-decoration: none; }
.cc-plan-cta.is-primary { background: var(--accent); color: var(--accent-text); }
.cc-plan-cta.is-primary:hover { opacity: .9; }
.cc-plan-cta.is-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cc-plan-cta.is-ghost:hover { border-color: var(--mint-deep); }
.cc-plans-foot { text-align: center; margin-top: 32px; }
.cc-plans-foot a { font-size: 15px; font-weight: 600; color: var(--mint-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.cc-plans-foot a:hover { gap: 11px; }

/* ---------- FAQ ---------- */
.cc-faq-list { display: flex; flex-direction: column; gap: 14px; }
.cc-faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.cc-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: transparent; border: none; cursor: pointer; padding: 22px 28px;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.4;
}
.cc-faq.is-open .cc-faq-q { color: var(--ink); }
.cc-faq-ic { position: relative; width: 18px; height: 18px; flex: none; transition: transform .25s ease; }
.cc-faq.is-open .cc-faq-ic { transform: rotate(45deg); }
.cc-faq-ic::before, .cc-faq-ic::after { content: ""; position: absolute; background: var(--mint-deep); border-radius: 2px; }
.cc-faq-ic::before { top: 8px; left: 0; width: 18px; height: 2px; }
.cc-faq-ic::after { left: 8px; top: 0; width: 2px; height: 18px; }
.cc-faq-a { max-height: 0; opacity: 0; padding: 0 28px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, padding .3s ease; }
.cc-faq.is-open .cc-faq-a { max-height: 640px; opacity: 1; padding: 2px 28px 26px; }
.cc-faq-a p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* ---------- CTA band ---------- */
.cc-cta-inner { max-width: 760px; margin: 0 auto; padding: 88px 32px; text-align: center; }
.cc-cta-inner h2 { font-size: clamp(28px,4vw,40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--band-text); margin: 0 0 16px; }
.cc-cta-inner p { font-size: 17px; line-height: 1.6; color: var(--band-muted); margin: 0 0 30px; }

/* ---------- Footer ---------- */
.cc-footer { background: var(--bg); border-top: 1px solid var(--border); }
.cc-footer-inner { max-width: 1160px; margin: 0 auto; padding: 56px 32px 40px; }
.cc-footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.cc-footer-about { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.cc-footer-about .cc-brand-name { font-size: 18px; }
.cc-footer p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 340px; }
.cc-footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.cc-footer-col { display: flex; flex-direction: column; gap: 11px; }
.cc-footer-col .cc-col-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.cc-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cc-footer-menu a, .cc-footer-col a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.cc-footer-menu a:hover, .cc-footer-col a:hover { color: var(--ink); }
.cc-theme-toggle {
  display: inline-flex; align-items: center; gap: 9px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text); width: fit-content;
}
.cc-theme-toggle:hover { border-color: var(--mint-deep); }
.cc-theme-toggle .ic-dark { display: inline-flex; }
.cc-theme-toggle .ic-light { display: none; }
[data-theme="dark"] .cc-theme-toggle .ic-dark { display: none; }
[data-theme="dark"] .cc-theme-toggle .ic-light { display: inline-flex; }
.cc-theme-toggle .label-dark { display: inline; }
.cc-theme-toggle .label-light { display: none; }
[data-theme="dark"] .cc-theme-toggle .label-dark { display: none; }
[data-theme="dark"] .cc-theme-toggle .label-light { display: inline; }
.cc-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
}
.cc-footer-bottom span { font-size: 13.5px; color: var(--muted); }

/* ---------- Content (page / post / blog) ---------- */
.cc-content { max-width: 820px; margin: 0 auto; padding: 80px 32px 96px; }
.cc-content-wide { max-width: 1160px; }
.cc-page-head { margin-bottom: 36px; }
.cc-page-title { font-size: clamp(32px,5vw,52px); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; color: var(--ink); margin: 0 0 14px; text-wrap: balance; }
.cc-meta { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.cc-meta a { color: var(--mint-deep); text-decoration: none; }
.cc-featured { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 36px; box-shadow: var(--shadow); }

.cc-prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.cc-prose > * + * { margin-top: 1.1em; }
.cc-prose h1, .cc-prose h2, .cc-prose h3, .cc-prose h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin-top: 1.6em; }
.cc-prose h2 { font-size: 1.7em; font-weight: 800; }
.cc-prose h3 { font-size: 1.3em; font-weight: 700; }
.cc-prose a { color: var(--mint-deep); text-underline-offset: 3px; }
.cc-prose img { border-radius: 14px; }
.cc-prose blockquote { margin: 1.4em 0; padding: 6px 22px; border-left: 3px solid var(--mint-deep); color: var(--muted); font-style: italic; }
.cc-prose code { font-family: 'JetBrains Mono', monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; }
.cc-prose pre { background: var(--code-bg); color: var(--code-text); padding: 20px 22px; border-radius: 14px; overflow: auto; }
.cc-prose pre code { background: none; border: none; padding: 0; color: inherit; }
.cc-prose ul, .cc-prose ol { padding-left: 1.3em; }
.cc-prose li + li { margin-top: .4em; }
.cc-prose table { width: 100%; border-collapse: collapse; }
.cc-prose th, .cc-prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }

/* Blog listing */
.cc-postlist { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cc-post-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.cc-post-card:hover { transform: translateY(-3px); }
.cc-post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.cc-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cc-post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cc-post-cat { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-deep); }
.cc-post-card h2 { font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--ink); margin: 0; }
.cc-post-card h2 a { text-decoration: none; }
.cc-post-card h2 a:hover { color: var(--mint-deep); }
.cc-post-excerpt { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.cc-post-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--mint-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.cc-post-more:hover { gap: 11px; }

/* Pagination */
.cc-pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cc-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px;
}
.cc-pagination .page-numbers.current { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.cc-pagination a.page-numbers:hover { border-color: var(--mint-deep); }

/* Comments + post nav */
.cc-postnav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.cc-postnav a { text-decoration: none; color: var(--mint-deep); font-weight: 600; font-size: 15px; }
.cc-comments { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.cc-comments h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.cc-comments .comment-list { list-style: none; padding: 0; }
.cc-comments input[type=text], .cc-comments input[type=email], .cc-comments input[type=url], .cc-comments textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: var(--text); font-family: inherit; font-size: 15px;
}

/* 404 / empty */
.cc-empty { text-align: center; padding: 30px 0; }
.cc-empty h1 { font-size: clamp(40px,7vw,72px); font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.cc-empty p { color: var(--muted); font-size: 17px; }

/* ---------- Motion / a11y ---------- */
:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cc-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .cc-shots { grid-template-columns: 1fr; }
  .cc-footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .cc-grid-3 { grid-template-columns: 1fr; }
  .cc-plans { grid-template-columns: 1fr; }
  .cc-trust-grid { grid-template-columns: repeat(2,1fr); }
  .cc-postlist { grid-template-columns: 1fr; }
  .cc-nav-menu { display: none; }
  .cc-nav-toggle { display: inline-flex; }
  .cc-nav.is-open .cc-nav-menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; left: 0; right: 0; top: 100%; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 18px 32px 24px;
  }
}
@media (max-width: 560px) {
  .cc-wrap, .cc-nav-inner, .cc-hero-inner, .cc-trust-grid, .cc-section,
  .cc-footer-inner, .cc-content, .cc-cta-inner, .cc-bannermock-wrap { padding-left: 20px; padding-right: 20px; }
  .cc-trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Help Center (index.php) + Article (single.php)
   ========================================================= */

/* ---- Search hero ---- */
.cc-hc-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 70% at 50% -10%, var(--glow), transparent 70%);
}
.cc-hc-hero-inner { max-width: 720px; margin: 0 auto; padding: 84px 32px 72px; text-align: center; }
.cc-hc-hero h1 { font-size: clamp(34px,5vw,52px); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; color: var(--ink); margin: 0 0 16px; }
.cc-hc-hero p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 auto 32px; max-width: 480px; }

.cc-hc-search { position: relative; max-width: 560px; margin: 0 auto; }
.cc-hc-search .cc-search-ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cc-hc-search input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 17px 20px 17px 52px; box-shadow: var(--shadow); outline: none;
}
.cc-hc-search input:focus { border-color: var(--mint-deep); }

.cc-hc-chips { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cc-hc-chips .cc-chips-label { font-size: 13px; color: var(--muted); align-self: center; }
.cc-hc-chip {
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); padding: 6px 13px;
  border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.cc-hc-chip:hover { border-color: var(--mint-deep); }

/* ---- Section label ---- */
.cc-hc-section { max-width: 1100px; margin: 0 auto; }
.cc-hc-pop { padding: 72px 32px 0; }
.cc-hc-listing { padding: 56px 32px 96px; }
.cc-hc-label { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.cc-hc-count { font-size: 14px; color: var(--muted); margin: 0 0 22px; }

/* ---- Popular cards ---- */
.cc-pop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cc-pop-card {
  text-align: left; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; box-shadow: var(--shadow); cursor: pointer;
  font-family: inherit; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
}
.cc-pop-card:hover { transform: translateY(-3px); }
.cc-pop-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.cc-pop-title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cc-pop-excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); }
.cc-pop-read { font-size: 12.5px; color: var(--mint-deep); font-weight: 600; margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; }

/* ---- Article list rows ---- */
.cc-hc-list { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); }
.cc-hc-row {
  text-align: left; background: transparent; border: none; border-bottom: 1px solid var(--border);
  cursor: pointer; font-family: inherit; padding: 22px 8px; display: flex; align-items: flex-start;
  gap: 18px; text-decoration: none; color: inherit;
}
.cc-hc-row:hover { background: var(--surface-2); }
.cc-hc-row-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.cc-hc-row-body { flex: 1; min-width: 0; }
.cc-hc-row-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.cc-hc-row-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cc-hc-row-meta { flex: none; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 3px; white-space: nowrap; }

.cc-hc-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.cc-hc-empty .cc-hc-empty-title { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cc-hc-empty p { font-size: 14.5px; margin: 0; }
.cc-hc-row.is-hidden { display: none; }

/* ---- Article layout ---- */
.cc-art-grid {
  max-width: 1100px; margin: 0 auto; padding: 44px 32px 96px;
  display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 56px; align-items: start;
}
.cc-art-main { min-width: 0; }
.cc-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.cc-breadcrumb a { color: var(--mint-deep); font-weight: 600; text-decoration: none; }
.cc-breadcrumb a:hover { text-decoration: underline; }
.cc-art-title { font-size: clamp(30px,4.2vw,44px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 0 0 18px; text-wrap: balance; }
.cc-art-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.cc-art-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* Note callout (used in content via .cc-note, and available to editors) */
.cc-note { background: var(--note); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 0 0 34px; display: flex; gap: 13px; }
.cc-note svg { flex: none; margin-top: 1px; }
.cc-note-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.cc-note-body { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.cc-note code { font-family: 'JetBrains Mono', monospace; font-size: 13px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; color: var(--mint-deep); }

/* Article prose: tuned sizes to match the KB design */
.cc-art-prose { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.cc-art-prose .cc-lede { font-size: 18px; line-height: 1.7; color: var(--text); margin: 0 0 22px; }
.cc-art-prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 2em 0 14px; scroll-margin-top: 90px; }
.cc-art-prose h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 1.6em 0 10px; scroll-margin-top: 90px; }
.cc-art-prose p { margin: 0 0 18px; }
.cc-art-prose ul, .cc-art-prose ol { margin: 0 0 30px; padding-left: 22px; line-height: 1.8; }
.cc-art-prose li + li { margin-top: 4px; }
.cc-art-prose img { border-radius: 16px; border: 1px solid var(--border); margin: 0 0 30px; }
.cc-art-prose code { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; color: var(--mint-deep); }
.cc-art-prose pre { background: var(--code-bg); border-radius: 14px; padding: 22px 24px; margin: 0 0 34px; box-shadow: var(--shadow); overflow: auto; }
.cc-art-prose pre code { background: none; padding: 0; color: var(--code-text); font-size: 13.5px; line-height: 1.8; }
.cc-art-prose a { color: var(--mint-deep); text-underline-offset: 3px; }

/* Helpful widget */
.cc-helpful { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; margin: 0 0 44px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cc-helpful-q { font-size: 15px; font-weight: 600; color: var(--ink); }
.cc-helpful-btns { display: flex; gap: 10px; }
.cc-helpful-btn { display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); padding: 9px 18px; border-radius: 10px; cursor: pointer; }
.cc-helpful-btn:hover { border-color: var(--mint-deep); }
.cc-helpful-done { font-size: 15px; font-weight: 600; color: var(--mint-deep); display: none; align-items: center; gap: 9px; }
.cc-helpful.is-done .cc-helpful-q,
.cc-helpful.is-done .cc-helpful-btns { display: none; }
.cc-helpful.is-done .cc-helpful-done { display: inline-flex; }

/* Related */
.cc-related-list { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); }
.cc-related-row { text-align: left; background: transparent; border: none; border-bottom: 1px solid var(--border); cursor: pointer; font-family: inherit; padding: 18px 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; }
.cc-related-row:hover { background: var(--surface-2); }
.cc-related-row span { font-size: 16px; font-weight: 600; color: var(--ink); }
.cc-related-row svg { flex: none; color: var(--mint-deep); }

/* TOC aside */
.cc-toc { position: sticky; top: 90px; }
.cc-toc-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cc-toc-nav { display: flex; flex-direction: column; gap: 11px; border-left: 1px solid var(--border); padding-left: 16px; }
.cc-toc-nav a { font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.cc-toc-nav a:hover, .cc-toc-nav a.is-active { color: var(--ink); }
.cc-toc-nav a.is-sub { padding-left: 12px; font-size: 13.5px; }
.cc-toc-back { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--mint-deep); text-decoration: none; }
.cc-toc-back:hover { gap: 11px; }

@media (max-width: 980px) {
  .cc-art-grid { grid-template-columns: 1fr; gap: 0; }
  .cc-toc { display: none; }
  .cc-pop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cc-hc-hero-inner, .cc-hc-pop, .cc-hc-listing, .cc-art-grid { padding-left: 20px; padding-right: 20px; }
  .cc-hc-row { gap: 12px; }
  .cc-hc-row-meta { display: none; }
}

/* =========================================================
   Pricing (page-pricing.php)
   ========================================================= */

.cc-pr-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 64% at 50% -10%, var(--glow), transparent 70%);
}
.cc-pr-hero-inner { max-width: 720px; margin: 0 auto; padding: 80px 32px 44px; text-align: center; }
.cc-pr-hero h1 { font-size: clamp(36px,5vw,56px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; color: var(--ink); margin: 0 0 16px; }
.cc-pr-hero p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 520px; }

/* Plan cards */
.cc-pr-cards { max-width: 1140px; margin: 0 auto; padding: 24px 32px; }
.cc-pr-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: stretch; }
.cc-pr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.cc-pr-card.is-featured { border: 2px solid var(--mint-deep); position: relative; }
.cc-pr-badge {
  position: absolute; top: -12px; left: 28px; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  color: var(--accent-text); background: var(--mint-deep); padding: 5px 11px; border-radius: 999px;
}
.cc-pr-name { font-size: 18px; font-weight: 800; color: var(--ink); }
.cc-pr-tag { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.cc-pr-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 22px; }
.cc-pr-amount { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cc-pr-per { font-size: 14px; color: var(--muted); font-weight: 500; }
.cc-pr-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.cc-pr-feat { display: flex; gap: 9px; align-items: flex-start; }
.cc-pr-feat svg { flex: none; margin-top: 2px; }
.cc-pr-feat span { font-size: 14px; color: var(--text); line-height: 1.4; }
.cc-pr-cta { display: block; text-align: center; padding: 12px; border-radius: 11px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cc-pr-cta.is-primary { background: var(--accent); color: var(--accent-text); }
.cc-pr-cta.is-primary:hover { opacity: .9; }
.cc-pr-cta.is-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cc-pr-cta.is-ghost:hover { border-color: var(--mint-deep); }
.cc-pr-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 24px 0 0; }

/* Comparison table */
.cc-pr-compare { max-width: 1140px; margin: 0 auto; padding: 72px 32px 100px; }
.cc-pr-compare-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.cc-pr-compare-head h2 { font-size: clamp(26px,3.5vw,38px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 0; }
.cc-pr-table-wrap { overflow-x: auto; }
.cc-pr-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.cc-pr-table th { font-size: 15px; font-weight: 700; color: var(--ink); vertical-align: bottom; }
.cc-pr-table thead th.cc-pr-feature-h { text-align: left; padding: 0 18px 16px 4px; }
.cc-pr-table thead th.cc-pr-col { text-align: center; padding: 0 14px 16px; width: 150px; }
.cc-pr-table thead th.cc-pr-col.is-mid { padding-top: 14px; width: 150px; background: var(--surface-2); border-radius: 14px 14px 0 0; }
.cc-pr-table thead th.cc-pr-col.is-wide { width: 170px; }
.cc-pr-table tbody tr { border-top: 1px solid var(--border); }
.cc-pr-table td { padding: 18px 14px; text-align: center; }
.cc-pr-table td.cc-pr-feature { text-align: left; padding: 18px 18px 18px 4px; color: var(--ink); line-height: 1.4; font-weight: 400; }
.cc-pr-table td.cc-pr-feature.is-bold { font-weight: 700; }
.cc-pr-table td.is-mid { background: var(--surface-2); }
.cc-pr-table td.is-mid .cc-pr-celltext { color: var(--ink); font-weight: 600; }
.cc-pr-celltext { color: var(--text); font-weight: 500; }
.cc-pr-table svg { vertical-align: middle; }

@media (max-width: 920px) {
  .cc-pr-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .cc-pr-grid { grid-template-columns: 1fr; }
  .cc-pr-hero-inner, .cc-pr-cards, .cc-pr-compare { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================
   Contact / Support (page-contact.php)
   Includes styling for Contact Form 7 (.wpcf7) output.
   ========================================================= */

.cc-ct-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 64% 60% at 50% -12%, var(--glow), transparent 70%);
}
.cc-ct-hero-inner { max-width: 720px; margin: 0 auto; padding: 72px 32px 28px; text-align: center; }
.cc-ct-hero h1 { font-size: clamp(34px,5vw,52px); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; color: var(--ink); margin: 0 0 16px; }
.cc-ct-hero p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 500px; }

.cc-ct-wrap { max-width: 1140px; margin: 0 auto; padding: 40px 32px 100px; }
.cc-ct-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }

/* Left info cards */
.cc-ct-aside { display: flex; flex-direction: column; gap: 14px; }
.cc-ct-info { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.cc-ct-info-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.cc-ct-info-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.cc-ct-info a { font-size: 14px; color: var(--mint-deep); text-decoration: none; font-weight: 600; }
.cc-ct-info a:hover { text-decoration: underline; }
.cc-ct-info p { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Right card */
.cc-ct-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }

/* Segmented tabs */
.cc-ct-tabs-wrap { padding: 24px 28px 0; }
.cc-ct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 5px; }
.cc-ct-tab { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 14.5px; font-weight: 600; padding: 11px; border-radius: 9px; border: none; cursor: pointer; background: transparent; color: var(--muted); }
.cc-ct-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.cc-ct-tab svg { flex: none; }

/* Panels */
.cc-ct-panel { padding: 26px 28px 30px; }
.cc-ct-panel[hidden] { display: none; }
.cc-ct-intro { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }

/* Themed success card (revealed on CF7 mail-sent) */
.cc-ct-success { padding: 56px 28px 60px; text-align: center; display: none; }
.cc-ct-success.is-shown { display: block; }
.cc-ct-success-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.cc-ct-success h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.cc-ct-success p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 auto 28px; max-width: 380px; }
.cc-ct-again { font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--border); padding: 11px 22px; border-radius: 11px; cursor: pointer; }
.cc-ct-again:hover { border-color: var(--mint-deep); }

/* Admin notice when a form isn't configured */
.cc-ct-notice { border: 1px dashed var(--field-border); background: var(--field); border-radius: 12px; padding: 22px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.cc-ct-notice strong { color: var(--ink); }
.cc-ct-notice code { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--mint-deep); }

/* ---------- Contact Form 7 field styling ---------- */
.cc-ct-panel .wpcf7-form p { margin: 0 0 18px; }
.cc-ct-panel label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.cc-ct-panel .wpcf7-form input[type="text"],
.cc-ct-panel .wpcf7-form input[type="email"],
.cc-ct-panel .wpcf7-form input[type="url"],
.cc-ct-panel .wpcf7-form input[type="tel"],
.cc-ct-panel .wpcf7-form input[type="number"],
.cc-ct-panel .wpcf7-form select,
.cc-ct-panel .wpcf7-form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--field); border: 1px solid var(--field-border); border-radius: 10px;
  padding: 12px 14px; outline: none; box-sizing: border-box;
}
.cc-ct-panel .wpcf7-form textarea { line-height: 1.6; resize: vertical; }
.cc-ct-panel .wpcf7-form input:focus,
.cc-ct-panel .wpcf7-form select:focus,
.cc-ct-panel .wpcf7-form textarea:focus { border-color: var(--mint-deep); }
.cc-ct-panel .wpcf7-form .wpcf7-list-item { margin: 0; }
.cc-ct-panel .wpcf7-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--mint-deep); }

/* Two-column name/email row: wrap the two fields in a .cc-ct-row in the CF7 template */
.cc-ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-ct-row > * { margin-bottom: 0 !important; }

/* Required asterisk helper (use <span class="cc-req">*</span> in labels) */
.cc-req { color: var(--mint-deep); }

/* Submit button */
.cc-ct-panel .wpcf7-form .wpcf7-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--accent); color: var(--accent-text); padding: 14px; border-radius: 12px;
  font-weight: 600; font-size: 15.5px; border: none; cursor: pointer; font-family: inherit;
}
.cc-ct-panel .wpcf7-form .wpcf7-submit:hover { opacity: .9; }
.cc-ct-panel .wpcf7-spinner { margin: 0 auto; }

/* CF7 validation + response messages */
.cc-ct-panel .wpcf7-not-valid-tip { color: #C0392B; font-size: 12.5px; font-weight: 500; margin-top: 6px; }
.cc-ct-panel .wpcf7-form input.wpcf7-not-valid,
.cc-ct-panel .wpcf7-form textarea.wpcf7-not-valid { border-color: #C0392B; }
.cc-ct-panel .wpcf7-response-output {
  margin: 18px 0 0 !important; padding: 12px 16px !important; border-radius: 10px;
  font-size: 14px; line-height: 1.5; border: 1px solid var(--border) !important;
}
.cc-ct-panel .wpcf7-form.sent .wpcf7-response-output { background: var(--note); border-color: var(--mint-deep) !important; color: var(--ink); }
.cc-ct-panel .wpcf7-form.invalid .wpcf7-response-output,
.cc-ct-panel .wpcf7-form.failed .wpcf7-response-output { background: var(--field); color: var(--text); }

/* Debugging details box (markup lives in the Support CF7 template) */
.cc-ct-debug { border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 22px; background: var(--surface-2); }
.cc-ct-debug-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.cc-ct-debug-title span { font-weight: 500; color: var(--muted); }
.cc-ct-debug p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.cc-ct-debug code { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: var(--field); border: 1px solid var(--field-border); padding: 2px 7px; border-radius: 6px; color: var(--mint-deep); white-space: nowrap; }
.cc-ct-seg { display: inline-flex; gap: 4px; background: var(--field); border: 1px solid var(--field-border); border-radius: 9px; padding: 4px; margin-bottom: 14px; }
.cc-ct-seg-btn { font-family: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 6px; border: none; cursor: pointer; background: transparent; color: var(--muted); }
.cc-ct-seg-btn.is-active { background: var(--accent); color: var(--accent-text); }
.cc-ct-dbg-pane[hidden] { display: none; }
.cc-ct-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 1.5px dashed var(--field-border); border-radius: 12px; padding: 26px 18px; cursor: pointer; background: var(--field); }
.cc-ct-drop:hover { border-color: var(--mint-deep); }
.cc-ct-drop .cc-ct-drop-main { font-size: 14px; font-weight: 600; color: var(--ink); }
.cc-ct-drop .cc-ct-drop-sub { font-size: 12.5px; color: var(--muted); }

@media (max-width: 880px) {
  .cc-ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cc-ct-hero-inner, .cc-ct-wrap { padding-left: 20px; padding-right: 20px; }
  .cc-ct-row { grid-template-columns: 1fr; }
}
