/*
 * cid-2026.css — Cid Hosting 2026 design system (Phase 1)
 * Source: redesign-2026/06-DESIGN-SYSTEM.md
 *
 * Loaded LAST in header.php. Everything new is namespaced `.cid26*` so legacy
 * Bootstrap 3 / templatemo pages keep working. The only unscoped rules are a
 * light polish of the shared header/footer chrome (also class-gated where possible).
 */

/* ---------- 1. Tokens ---------- */
:root {
  --cid-blue: #004e73;          /* existing Cid Hosting brand blue */
  --cid-blue-700: #003e5b;
  --cid-blue-900: #002a3e;
  --cid-blue-50: #eef5f9;
  --cid-blue-100: #d7e8f1;
  --cid-accent: #2563eb;        /* matches 2026 artwork; use sparingly */

  --cid-dark: #111827;
  --cid-body: #4b5563;
  --cid-muted: #6b7280;
  --cid-border: #e5e7eb;
  --cid-surface: #f8fafc;
  --cid-white: #ffffff;

  --cid-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --cid-radius: 14px;
  --cid-radius-sm: 10px;
  --cid-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 16px rgba(17, 24, 39, .06);
  --cid-shadow-lg: 0 2px 4px rgba(17, 24, 39, .04), 0 12px 32px rgba(17, 24, 39, .08);

  --cid-maxw: 1160px;
  --cid-gap: 24px;
  --cid-section-y: 88px;
  --cid-section-y-sm: 56px;
}

/* ---------- 2. Base (scoped) ---------- */
.cid26 {
  font-family: var(--cid-font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--cid-body);
  -webkit-font-smoothing: antialiased;
  background: var(--cid-white);
}
.cid26 *, .cid26 *::before, .cid26 *::after { box-sizing: border-box; }
.cid26 h1, .cid26 h2, .cid26 h3, .cid26 h4 {
  font-family: var(--cid-font);
  color: var(--cid-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-transform: none;
}
.cid26 h1 { font-size: 52px; line-height: 1.1; }
.cid26 h2 { font-size: 36px; line-height: 1.2; }
.cid26 h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.cid26 p, .cid26 li, .cid26 summary, .cid26 a, .cid26 span { font-family: var(--cid-font); }
.cid26 p { margin: 0 0 16px; font-weight: 400; }
.cid26 p:last-child { margin-bottom: 0; }
.cid26 a { color: var(--cid-blue); }
.cid26 a:hover { color: var(--cid-blue-700); }
.cid26 img { max-width: 100%; height: auto; }
.cid26 ul { padding-left: 0; }

.cid26 :focus-visible,
.cid26-header :focus-visible,
.cid26-topbar :focus-visible,
.cid26-footer :focus-visible {
  outline: 3px solid var(--cid-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.cid26-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 10000;
  background: var(--cid-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.cid26-skip:focus { left: 8px; color: #fff; }

/* ---------- 3. Layout ---------- */
.cid26-container { max-width: var(--cid-maxw); margin: 0 auto; padding: 0 24px; }
.cid26-section { padding: var(--cid-section-y) 0; }
.cid26-section--surface { background: var(--cid-surface); border-top: 1px solid var(--cid-border); border-bottom: 1px solid var(--cid-border); }
.cid26-section--tight { padding: 48px 0; }
.cid26-section__head { max-width: 720px; margin-bottom: 40px; }
.cid26-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cid26-lead { font-size: 19px; color: var(--cid-body); }
.cid26-muted { color: var(--cid-muted); font-size: 15px; }
.cid26-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cid-blue); margin-bottom: 12px;
}
.cid26-prose { max-width: 680px; }

.cid26-grid { display: grid; gap: var(--cid-gap); }
.cid26-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cid26-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cid26-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cid26-split { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: center; }
.cid26-split--reverse > :first-child { order: 2; }

/* ---------- 4. Buttons ---------- */
.cid26-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--cid-font); font-size: 16px; font-weight: 600; line-height: 1.2;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none !important; text-transform: none; letter-spacing: 0;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  cursor: pointer; white-space: nowrap;
}
.cid26-btn--primary { background: var(--cid-blue); color: #fff !important; }
.cid26-btn--primary:hover, .cid26-btn--primary:focus { background: var(--cid-blue-700); color: #fff !important; }
.cid26-btn--secondary { background: #fff; color: var(--cid-blue) !important; border-color: var(--cid-blue-100); }
.cid26-btn--secondary:hover, .cid26-btn--secondary:focus { border-color: var(--cid-blue); background: var(--cid-blue-50); }
.cid26-btn--ghost { background: transparent; color: var(--cid-blue) !important; padding-left: 0; padding-right: 0; min-height: 44px; }
.cid26-btn--ghost:hover { text-decoration: underline !important; }
.cid26-btn--block { display: flex; width: 100%; }
.cid26-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 8px; }
.cid26-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 5. Cards ---------- */
.cid26-card {
  background: #fff; border: 1px solid var(--cid-border); border-radius: var(--cid-radius);
  padding: 28px; box-shadow: var(--cid-shadow);
}
.cid26-card--flat { box-shadow: none; }
.cid26-card h3 { margin-bottom: 8px; }

/* Plan cards */
.cid26-plan { display: flex; flex-direction: column; height: 100%; position: relative; }
.cid26-plan--featured { border-color: var(--cid-blue); box-shadow: var(--cid-shadow-lg); }
.cid26-plan__badge {
  position: absolute; top: -12px; left: 28px; background: var(--cid-blue); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.cid26-plan__name { font-size: 20px; margin-bottom: 4px; }
.cid26-plan__fit { color: var(--cid-muted); font-size: 15px; min-height: 48px; margin-bottom: 16px; }
.cid26-plan__price { display: flex; align-items: baseline; gap: 4px; color: var(--cid-dark); }
.cid26-plan__amount { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.cid26-plan__period { font-size: 15px; color: var(--cid-muted); }
.cid26-plan__vat { font-size: 13px; color: var(--cid-muted); margin: 6px 0 20px; }
.cid26-plan__list { list-style: none; margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid var(--cid-border); flex: 1; }
.cid26-plan__list li { display: flex; gap: 10px; padding: 6px 0; font-size: 15px; color: var(--cid-body); }
.cid26-plan__list li strong { color: var(--cid-dark); font-weight: 600; }
.cid26-check { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--cid-blue); }
.cid26-note {
  margin-top: 28px; padding: 16px 20px; border-radius: var(--cid-radius-sm);
  background: var(--cid-blue-50); color: var(--cid-blue-900); font-size: 15px;
}

/* ---------- 6. Hero ---------- */
.cid26-hero {
  position: relative; overflow: hidden;
  padding: 104px 0 96px;
  background-color: var(--cid-surface);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-bottom: 1px solid var(--cid-border);
}
.cid26-hero__inner { max-width: 760px; }
.cid26-hero h1 { margin-bottom: 20px; }
.cid26-hero__sub { font-size: 20px; line-height: 1.55; color: var(--cid-body); margin-bottom: 32px; max-width: 640px; }
.cid26 .cid26-hero__trust { margin-top: 28px; font-size: 15px; color: var(--cid-muted); }

/* ---------- 7. Trust strip ---------- */
.cid26-trust { background: #fff; border-bottom: 1px solid var(--cid-border); }
.cid26-trust__list {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.cid26-trust__item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--cid-dark);
}
.cid26-trust__item .fa { color: var(--cid-blue); font-size: 18px; }

/* ---------- 8. Lists (we / you manage) ---------- */
.cid26-list { list-style: none; margin: 0; padding: 0; }
.cid26-list li { display: flex; gap: 10px; padding: 7px 0; }
.cid26-list li::before {
  content: ""; flex: 0 0 8px; height: 8px; margin-top: 10px; border-radius: 50%;
  background: var(--cid-blue);
}
.cid26-list--neutral li::before { background: var(--cid-muted); }
.cid26-callout {
  margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--cid-blue);
  background: var(--cid-surface); border-radius: 0 var(--cid-radius-sm) var(--cid-radius-sm) 0;
  color: var(--cid-body);
}
.cid26-figure { margin: 0; border-radius: var(--cid-radius); overflow: hidden; border: 1px solid var(--cid-border); background: #fff; }
.cid26-figure img { display: block; width: 100%; }

/* ---------- 9. FAQ accordion (native <details>, no JS required) ---------- */
.cid26-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--cid-border); }
.cid26-faq__item { border-bottom: 1px solid var(--cid-border); }
.cid26-faq__q {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 18px 4px; font-size: 18px; font-weight: 600; color: var(--cid-dark);
}
.cid26-faq__q::-webkit-details-marker { display: none; }
.cid26-faq__q::after {
  content: "+"; flex: 0 0 28px; height: 28px; line-height: 26px; text-align: center;
  border: 1px solid var(--cid-border); border-radius: 50%; color: var(--cid-blue); font-weight: 500;
}
.cid26-faq__item[open] > .cid26-faq__q::after { content: "\2212"; }
.cid26-faq__a { padding: 0 4px 22px; max-width: 720px; }

/* ---------- 10. CTA band ---------- */
.cid26-cta {
  background: var(--cid-blue-900); color: #d7e8f1; border-radius: 20px;
  padding: 56px 48px; text-align: center;
}
.cid26-cta h2 { color: #fff; }
.cid26-cta p { color: #c3d7e2; font-size: 18px; margin-bottom: 28px; }
.cid26-cta .cid26-actions { justify-content: center; }
.cid26-cta .cid26-btn--primary { background: #fff; color: var(--cid-blue-900) !important; }
.cid26-cta .cid26-btn--primary:hover { background: var(--cid-blue-50); }
.cid26-cta .cid26-btn--secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.cid26-cta .cid26-btn--secondary:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* Teaser cards (reseller / continuity) */
.cid26-teaser { display: flex; flex-direction: column; height: 100%; }
.cid26-teaser p { flex: 1; }

/* ---------- Comparison table (Phase 3 Shared) ---------- */
.cid26-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cid-border);
  border-radius: var(--cid-radius);
  background: #fff;
  box-shadow: var(--cid-shadow);
}
.cid26-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 15px;
}
.cid26-table th,
.cid26-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--cid-border);
}
.cid26-table thead th {
  background: var(--cid-surface);
  color: var(--cid-dark);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.cid26-table tbody th[scope="row"] {
  color: var(--cid-dark);
  font-weight: 600;
  background: #fff;
  min-width: 180px;
}
.cid26-table tbody tr:last-child th,
.cid26-table tbody tr:last-child td {
  border-bottom: 0;
}
.cid26-table tbody tr:hover td,
.cid26-table tbody tr:hover th[scope="row"] {
  background: var(--cid-blue-50);
}
.cid26-hero--page {
  padding: 56px 0 72px;
  background-image: none;
  background-color: var(--cid-surface);
}
.cid26-hero--page .cid26-breadcrumb { margin-bottom: 28px; }
.cid26-hero--page .cid26-breadcrumb a { color: var(--cid-muted); text-decoration: none; }
.cid26-hero--page .cid26-breadcrumb a:hover { color: var(--cid-blue); }

/* Breadcrumbs (for later phases) */
.cid26-breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; font-size: 14px; color: var(--cid-muted); }
.cid26-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--cid-border); }

/* ---------- 11. Header / footer polish (legacy chrome) ---------- */
.cid26-topbar { background: var(--cid-surface) !important; border-bottom: 1px solid var(--cid-border); min-height: 44px; }
.cid26-topbar .subheader { font-family: var(--cid-font); font-size: 13px; color: var(--cid-muted); margin-top: 0; padding: 8px 0; }
.cid26-topbar .subheader::after { content: ""; display: table; clear: both; }
.cid26-topbar__note { line-height: 28px; }
.cid26-topbar .loglink { color: var(--cid-dark); font-weight: 500; line-height: 28px; margin-left: 16px; }
.cid26-topbar .request_quote > .btn { margin-top: 0; margin-right: 0; }
.cid26-topbar .maroon-btn { background: var(--cid-blue) !important; border-color: var(--cid-blue) !important; color: #fff !important; }
.cid26-topbar .maroon-btn:hover { background: var(--cid-blue-700) !important; }

.cid26-header { border-bottom: 1px solid var(--cid-border); }
.cid26-header .cid26-nav > li > a {
  font-family: var(--cid-font); font-size: 14px; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--cid-dark); border-radius: 8px;
  padding: 10px 11px;
}
.cid26-header .cid26-nav > li > a:hover,
.cid26-header .cid26-nav > li > a:focus { background: var(--cid-blue-50) !important; color: var(--cid-blue) !important; }
.cid26-header .cid26-nav > li.active > a,
.cid26-header .cid26-nav > li.active > a:hover,
.cid26-header .cid26-nav > li.active > a:focus { background: transparent !important; color: var(--cid-blue) !important; box-shadow: inset 0 -2px 0 var(--cid-blue); border-radius: 0; }
@media (min-width: 768px) and (max-width: 1199px) {
  .cid26-header .cid26-nav > li > a { font-size: 13px; padding: 8px 7px; }
}

.cid26-footer { background: var(--cid-blue-900); color: #c3d7e2; font-family: var(--cid-font); padding: 56px 0 24px; }
.cid26-footer h2 { font-family: var(--cid-font); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.cid26-footer ul { list-style: none; margin: 0; padding: 0; }
.cid26-footer li { padding: 4px 0; font-size: 15px; }
.cid26-footer a { color: #c3d7e2; }
.cid26-footer a:hover, .cid26-footer a:focus { color: #fff; }
.cid26-footer__about { font-size: 15px; line-height: 1.6; max-width: 320px; }
.cid26-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 991px) {
  .cid26-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cid26-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cid26-split { grid-template-columns: 1fr; gap: 32px; }
  .cid26-split--reverse > :first-child { order: 0; }
  .cid26-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --cid-section-y: var(--cid-section-y-sm); }
  .cid26 { font-size: 16px; }
  .cid26 h1 { font-size: 38px; }
  .cid26 h2 { font-size: 29px; }
  .cid26-hero { padding: 64px 0 56px; }
  .cid26-hero__sub { font-size: 18px; }
  .cid26-grid--2, .cid26-grid--3, .cid26-grid--4 { grid-template-columns: 1fr; }
  .cid26-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cid26-trust__item { justify-content: flex-start; }
  .cid26-cta { padding: 40px 24px; border-radius: 16px; }
  .cid26-actions .cid26-btn { width: 100%; }
  .cid26-plan__fit { min-height: 0; }
  .cid26-footer__grid { grid-template-columns: 1fr; }
  .cid26-header .cid26-nav > li > a { padding: 12px 15px; min-height: 44px; }
}

/* ---------- 13. Phase 6: content pages, Help Center, contact form ---------- */
.cid26-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cid26 .cid26-h3, .cid26 h2.cid26-h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.cid26-verify {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px;
  background: #fef3c7; color: #92400e; border: 1px dashed #d97706;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; vertical-align: middle;
}
.cid26-card--alert { border-color: #fcd34d; background: #fffbeb; }
.cid26-card--alert h3 { color: #92400e; }
.cid26-card--alert .fa { color: #d97706; margin-right: 4px; }
.cid26-linklist { list-style: none; margin: 0; padding: 0; }
.cid26-linklist li { padding: 8px 0; border-bottom: 1px solid var(--cid-border); }
.cid26-linklist li:last-child { border-bottom: 0; }
.cid26-linklist a { font-weight: 500; }
.cid26-table--kv { min-width: 0; }
.cid26-table--kv th[scope="row"] { width: 34%; }

/* Numbered steps (migration) */
.cid26-steps { list-style: none; counter-reset: cid26step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cid-gap); }
.cid26-steps > li { counter-increment: cid26step; position: relative; padding: 24px 24px 24px 72px; border: 1px solid var(--cid-border); border-radius: var(--cid-radius); background: #fff; }
.cid26-steps > li::before {
  content: counter(cid26step); position: absolute; left: 24px; top: 22px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cid-blue-50); color: var(--cid-blue); font-weight: 700; text-align: center; line-height: 32px;
}
.cid26-steps h3 { font-size: 18px; margin-bottom: 6px; }
.cid26-steps p { font-size: 15px; }

/* About facts */
.cid26-facts { margin: 0; }
.cid26-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--cid-border); }
.cid26-facts > div:last-child { border-bottom: 0; }
.cid26-facts dt { color: var(--cid-muted); font-weight: 500; }
.cid26-facts dd { margin: 0; color: var(--cid-dark); font-weight: 600; text-align: right; }

/* Search box (FAQ + Help Center) */
.cid26-search {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 8px;
  background: #fff; border: 1px solid var(--cid-border); border-radius: 12px; padding: 6px 6px 6px 16px; box-shadow: var(--cid-shadow);
}
.cid26-search:focus-within { border-color: var(--cid-blue); }
.cid26-search .fa { color: var(--cid-muted); }
.cid26 .cid26-search__input {
  flex: 1; min-width: 0; min-height: 44px; border: 0; outline: none; background: transparent;
  font-family: var(--cid-font); font-size: 16px; color: var(--cid-dark); box-shadow: none;
}
.cid26-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.cid26-chips a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cid-border);
  background: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
}
.cid26-chips a:hover { border-color: var(--cid-blue); background: var(--cid-blue-50); }
.cid26-empty { padding: 20px; border: 1px dashed var(--cid-border); border-radius: var(--cid-radius-sm); background: var(--cid-surface); }

/* KB layout: sticky topic nav + content */
.cid26-kb-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.cid26-kb-toc { position: sticky; top: 24px; }
.cid26 .cid26-kb-toc__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cid-muted); margin-bottom: 10px; }
.cid26-kb-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--cid-border); }
.cid26-kb-toc li a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 15px; text-decoration: none; color: var(--cid-body); }
.cid26-kb-toc li a:hover { color: var(--cid-blue); border-left-color: var(--cid-blue); }
.cid26-kb-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--cid-border); scroll-margin-top: 24px; }
.cid26-kb-section:last-of-type { border-bottom: 0; }
.cid26 .cid26-kb-section__title { font-size: 24px; margin-bottom: 6px; display: inline-flex; align-items: center; gap: 10px; }
.cid26-kb-section__title .fa { color: var(--cid-blue); font-size: 20px; }
.cid26-kb-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cid26-kb-item a {
  display: flex; align-items: flex-start; gap: 10px; height: 100%; padding: 14px 16px;
  border: 1px solid var(--cid-border); border-radius: var(--cid-radius-sm); background: #fff;
  color: var(--cid-dark); font-size: 15px; font-weight: 500; line-height: 1.45; text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.cid26-kb-item a:hover, .cid26-kb-item a:focus { border-color: var(--cid-blue); background: var(--cid-blue-50); color: var(--cid-blue-900); }
.cid26-kb-item .fa { color: var(--cid-blue); margin-top: 3px; }
.cid26-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--cid-surface); border: 1px solid var(--cid-border); color: var(--cid-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.cid26-kb-planned { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--cid-border); border-radius: var(--cid-radius-sm); background: var(--cid-surface); }
.cid26-kb-planned__label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cid-muted); }
.cid26-kb-planned ul { margin: 8px 0 0 18px; padding: 0; color: var(--cid-muted); font-size: 15px; list-style: disc; }
.cid26-kb-archive > summary { list-style: none; cursor: pointer; }
.cid26-kb-archive > summary::-webkit-details-marker { display: none; }
.cid26-kb-archive > summary h2::after { content: "+"; margin-left: 10px; color: var(--cid-blue); font-weight: 500; }
.cid26-kb-archive[open] > summary h2::after { content: "\2212"; }
.cid26-kb-start { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cid26-kb-start__card { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 100%; padding: 16px; font-size: 15px; font-weight: 600; color: var(--cid-dark) !important; text-decoration: none !important; }
.cid26-kb-start__card:hover { border-color: var(--cid-blue); background: var(--cid-blue-50); }
.cid26-kb-topic { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none !important; color: var(--cid-body) !important; transition: border-color .15s ease, box-shadow .15s ease; }
.cid26-kb-topic:hover { border-color: var(--cid-blue); box-shadow: var(--cid-shadow-lg); }
.cid26-kb-topic > .fa { font-size: 24px; color: var(--cid-blue); }
.cid26-kb-topic h3 { font-size: 18px; margin: 4px 0 0; }
.cid26-kb-topic p { font-size: 14px; color: var(--cid-muted); flex: 1; }
.cid26-kb-topic__count { font-size: 13px; font-weight: 600; color: var(--cid-blue); }
.cid26-kb-crumb { background: var(--cid-surface); border-bottom: 1px solid var(--cid-border); padding: 14px 0 0; margin-bottom: 8px; }
.cid26-kb-crumb .cid26-breadcrumb a { color: var(--cid-muted); text-decoration: none; }

/* FAQ groups */
.cid26-faq--left { margin: 0; max-width: none; }
.cid26-faq-group { margin-bottom: 48px; scroll-margin-top: 24px; }
.cid26 .cid26-faq-group__title { font-size: 26px; margin-bottom: 12px; }

/* Contact */
.cid26-contact { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cid26-contact__aside { display: grid; gap: 16px; }
.cid26-contact__aside h3 { font-size: 18px; }
.cid26-contact__aside p { font-size: 15px; }
.cid26-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 20px; }
.cid26-field { margin-bottom: 20px; }
.cid26-field--full { grid-column: 1 / -1; }
.cid26 .cid26-field label, .cid26 .cid26-fieldset legend { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--cid-dark); border: 0; padding: 0; width: auto; }
.cid26 .cid26-field input[type="text"], .cid26 .cid26-field input[type="email"], .cid26 .cid26-field input[type="tel"],
.cid26 .cid26-field select, .cid26 .cid26-field textarea {
  display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 10px;
  background: #fff; font-family: var(--cid-font); font-size: 16px; color: var(--cid-dark); box-shadow: none;
}
.cid26 .cid26-field textarea { min-height: 140px; resize: vertical; }
.cid26 .cid26-field input:focus, .cid26 .cid26-field select:focus, .cid26 .cid26-field textarea:focus { border-color: var(--cid-blue); outline: 3px solid var(--cid-blue-100); outline-offset: 0; }
.cid26-field.is-invalid input, .cid26-field.is-invalid select, .cid26-field.is-invalid textarea { border-color: #b91c1c; }
.cid26 .cid26-field__err { margin: 6px 0 0; color: #b91c1c; font-size: 14px; font-weight: 500; }
.cid26 .cid26-field__help { margin: 6px 0 0; color: var(--cid-muted); font-size: 14px; }
.cid26-req { color: #b91c1c; }
.cid26-opt { color: var(--cid-muted); font-weight: 400; font-size: 14px; }
.cid26-fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.cid26-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cid26-choices--inline { display: flex; gap: 8px; }
.cid26 .cid26-choice { display: flex !important; align-items: center; gap: 10px; min-height: 44px; margin: 0 !important; padding: 8px 12px; border: 1px solid var(--cid-border); border-radius: 10px; background: #fff; font-weight: 500 !important; cursor: pointer; }
.cid26-choice:hover { border-color: var(--cid-blue-100); background: var(--cid-blue-50); }
.cid26-choice input { margin: 0; width: 18px; height: 18px; accent-color: var(--cid-blue); }
.cid26-choice:has(input:checked) { border-color: var(--cid-blue); background: var(--cid-blue-50); }
.cid26-form-status { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: var(--cid-blue-50); color: var(--cid-blue-900); font-size: 15px; }
.cid26-form-status.is-error { background: #fef2f2; color: #991b1b; }
.cid26-form-success { padding: 24px; border-radius: var(--cid-radius); background: #ecfdf5; border: 1px solid #a7f3d0; }
.cid26-form-success h3 { color: #065f46; }
.cid26-form-success .fa { color: #059669; }
.cid26 .cid26-contact__privacy { margin-top: 16px; font-size: 14px; }

/* Header dropdowns (Why Cid / Help) */
.cid26-header .cid26-dd .dropdown-menu {
  border: 1px solid var(--cid-border); border-radius: 12px; box-shadow: var(--cid-shadow-lg); padding: 8px; min-width: 220px; margin-top: 4px;
}
.cid26-header .cid26-dd .dropdown-menu > li > a { font-family: var(--cid-font); font-size: 14px; color: var(--cid-dark); padding: 9px 12px; border-radius: 8px; text-transform: none; }
.cid26-header .cid26-dd .dropdown-menu > li > a:hover,
.cid26-header .cid26-dd .dropdown-menu > li > a:focus,
.cid26-header .cid26-dd .dropdown-menu > li.active > a { background: var(--cid-blue-50); color: var(--cid-blue); }
.cid26-header .cid26-dd .caret { margin-left: 2px; }

@media (max-width: 991px) {
  .cid26-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cid26-kb-layout { grid-template-columns: 1fr; gap: 24px; }
  .cid26-kb-toc { position: static; }
  .cid26-kb-toc ul { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .cid26-kb-toc li a { padding: 6px 12px; margin: 0; border: 1px solid var(--cid-border); border-radius: 999px; font-size: 14px; }
  .cid26-kb-start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cid26-contact { grid-template-columns: 1fr; }
  .cid26-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cid26-steps, .cid26-kb-list, .cid26-kb-start, .cid26-form-grid, .cid26-choices { grid-template-columns: 1fr; }
  .cid26-search { flex-wrap: wrap; }
  .cid26-search .cid26-btn { width: 100%; }
  .cid26-header .cid26-dd .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cid26 *, .cid26-btn { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 14. Phase 6 rev: Help hub (WHMCS KB) + modern article template (2026-10-06) ---------- */
.cid26-help-route { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px; text-decoration: none !important; color: var(--cid-body) !important; transition: border-color .15s ease, background .15s ease; }
.cid26-help-route > .fa { font-size: 22px; color: var(--cid-blue); margin-bottom: 4px; }
.cid26-help-route strong { color: var(--cid-dark); font-size: 16px; }
.cid26-help-route:hover { border-color: var(--cid-blue); background: var(--cid-blue-50); }

.cid26-article { max-width: 760px; }
.cid26-article__head h1 { margin: 6px 0 8px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; color: var(--cid-dark); }
.cid26-article__meta { color: var(--cid-muted); font-size: 14px; margin: 0 0 8px; }
.cid26-article__meta span { margin-left: 4px; }
.cid26-callout--kb { border-left-color: var(--cid-blue); background: var(--cid-blue-50); }
.cid26-callout--stale { border-left-color: #c98a00; background: #fff8e6; }
.cid26-callout--retire { border-left-color: #b42318; background: #fef3f2; }
.cid26-callout strong { display: block; color: var(--cid-dark); margin-bottom: 4px; }
.cid26-callout p { margin: 0 0 8px; }
.cid26-callout p:last-child { margin-bottom: 0; }
.cid26-article__hero { margin-top: 24px; }
.cid26-article__body { max-width: none; margin-top: 28px; font-size: 16px; line-height: 1.7; color: var(--cid-body); }
.cid26-article__body, .cid26-article__body * { font-family: inherit !important; }
.cid26-article__body h1, .cid26-article__body h2, .cid26-article__body h3, .cid26-article__body h4 { color: var(--cid-dark); line-height: 1.3; margin: 28px 0 10px; }
.cid26-article__body h1 { font-size: 24px; } .cid26-article__body h2 { font-size: 22px; } .cid26-article__body h3 { font-size: 19px; }
.cid26-article__body p { margin: 0 0 14px; }
.cid26-article__body ol, .cid26-article__body ul { padding-left: 1.4em; margin: 0 0 16px; }
.cid26-article__body li { margin-bottom: 10px; }
.cid26-article__body img { display: block; max-width: 100% !important; height: auto !important; margin: 12px 0 18px; border: 1px solid var(--cid-border); border-radius: var(--cid-radius-sm); box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.cid26-article__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.cid26-article__body td, .cid26-article__body th { border: 1px solid var(--cid-border); padding: 8px 10px; text-align: left; }
.cid26-article__body a { color: var(--cid-blue); text-decoration: underline; word-break: break-word; }
.cid26-article__foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--cid-border); }
.cid26-article__foot .cid26-actions { flex-wrap: wrap; }
/* WHMCS handoff: "what happens when you click Subscribe" (order-next.inc.php) */
.cid26-order-next { margin-top: 28px; padding: 22px; border: 1px solid var(--cid-border); border-radius: var(--cid-radius); background: var(--cid-surface); }
.cid26-order-next > .cid26-h3 { margin: 0 0 14px; }
.cid26-steps--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cid26-steps--compact > li { padding: 16px 16px 16px 56px; }
.cid26-steps--compact > li::before { left: 14px; top: 14px; width: 30px; height: 30px; line-height: 30px; font-size: 14px; }
.cid26-steps--compact h4 { font-size: 15px; margin: 0 0 4px; color: var(--cid-dark); }
.cid26-steps--compact p { font-size: 14px; margin: 0; }
.cid26-order-next__vat { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 991px) { .cid26-steps--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cid26-steps--compact { grid-template-columns: 1fr; } }
