/* ============================================================
   core.css — features, FAQ, Kontakt, Dokumentation
   The "pipeline of stations" system (DESIGN.md), Read/Operate modes.
   Prefix co-. Loaded after /css/style.css on those four pages only.
   ============================================================ */

:root {
  --co-ink: #0f172a;
  --co-ink-2: #334155;
  --co-ink-3: #475569;
  --co-ink-4: #64748b;
  --co-line: #e2e8f0;
  --co-line-strong: #cbd5e1;
  --co-line-hover: #94a3b8;
  --co-ground: #ffffff;
  --co-ground-2: #f8fafc;
  --co-bubble: #f1f5f9;
  --co-night: #0f172a;
  --co-teal: #0d9488;
  --co-teal-dark: #0f766e;
  --co-teal-deep: #115e59;
  --co-teal-light: #ccfbf1;
  --co-teal-50: #f0fdfa;
  --co-teal-edge: #99f6e4;
  --co-teal-glow: #5eead4;
  --co-lift: 0 1px 2px rgb(15 23 42 / 0.06), 0 4px 8px -4px rgb(15 23 42 / 0.10);
  --co-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --co-section: clamp(88px, 11vw, 144px);
  --co-band: clamp(64px, 8vw, 104px);
}

/* ---------- Browser surfaces ---------- */
.co-body { background: var(--co-ground); color: var(--co-ink-2); caret-color: var(--co-teal-dark); }
.co-body ::selection { background: var(--co-teal-light); color: var(--co-ink); }
.co a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.co :focus-visible { outline: 2px solid var(--co-teal-dark); outline-offset: 3px; border-radius: 6px; }
.co h1, .co h2, .co h3 { color: var(--co-ink); text-wrap: balance; }
.co p, .co dd, .co li { text-wrap: pretty; }
.co-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.co-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.co-link { color: var(--co-teal-dark); font-weight: 600; text-decoration: underline; }
.co-link:hover { color: var(--co-teal-deep); }

/* /js/main.js fades every <section> in; these pages are flat and already visible. */
.has-scroll-reveal .co section { opacity: 1; transform: none; transition: none; }

/* ---------- Hero ---------- */
.co-hero { padding: calc(var(--nav-height) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.co-hero h1 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; max-width: 20ch; }
.co-hero h1 .co-hl { color: var(--co-teal-dark); }
.co-hero__lede { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--co-ink-3); max-width: 56ch; }
.co-hero__lede a { color: var(--co-teal-dark); font-weight: 600; text-decoration: underline; }

/* ---------- URL form (signature) ---------- */
.co-try { margin-top: 36px; max-width: 600px; }
.co-try__label { display: block; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--co-ink); margin-bottom: 8px; }
.co-try__row { display: flex; gap: 10px; }
.co-try__input {
  flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px;
  font: 500 1.0625rem/1 var(--font-body); color: var(--co-ink);
  background: #fff; border: 1.5px solid var(--co-line-strong); border-radius: 10px;
  transition: border-color 0.2s var(--co-ease), box-shadow 0.2s var(--co-ease);
}
.co-try__input::placeholder { color: var(--co-ink-4); }
.co-try__input:hover { border-color: var(--co-line-hover); }
.co-try__input:focus { outline: none; border-color: var(--co-teal-dark); box-shadow: 0 0 0 4px rgb(13 148 136 / 0.16); }
.co-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0.75rem 24px; font: 700 1rem/1.2 var(--font-body); color: #fff;
  background: var(--co-teal-dark); border-radius: 10px; white-space: nowrap; text-decoration: none;
  transition: background 0.2s var(--co-ease), transform 0.2s var(--co-ease), box-shadow 0.2s var(--co-ease);
}
.co-btn:hover { background: var(--co-teal-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgb(15 23 42 / 0.45); }
.co-btn:active { transform: translateY(0); box-shadow: none; }
.co-btn .co-ico { transition: transform 0.25s var(--co-ease); }
.co-btn:hover .co-ico { transform: translateX(3px); }
.co-try__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 16px; font-size: 0.9375rem; color: var(--co-ink-3); }
.co-try__facts { margin: 0; display: flex; flex-wrap: wrap; row-gap: 2px; }
.co-try__facts span { white-space: nowrap; }
.co-try__facts span + span::before { content: "·"; margin: 0 8px; color: var(--co-line-hover); }
.co-try__alt { color: var(--co-teal-dark); font-weight: 600; text-decoration: underline; }
.co-try__alt:hover { color: var(--co-teal-deep); }

/* ---------- "Das Wichtigste in Kürze" ---------- */
.co-summary { background: var(--co-ground-2); border-top: 1px solid var(--co-line); border-bottom: 1px solid var(--co-line); padding: var(--co-band) 0; }
.co-summary__grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.co-summary h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; }
.co-summary__stand { margin-top: 12px; font-size: 0.875rem; color: var(--co-ink-3); }
.co-summary__intro { margin-top: 20px; font-size: 1rem; color: var(--co-ink-3); max-width: 34ch; }
.co-facts { margin: 0; }
.co-facts__row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--co-line-strong); }
.co-facts__row:last-child { border-bottom: 1px solid var(--co-line-strong); }
.co-facts dt { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--co-ink); }
.co-facts dd { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--co-ink-2); max-width: 62ch; }
.co-facts a { color: var(--co-teal-dark); text-decoration: underline; font-weight: 600; }

/* ---------- Tags and pills ---------- */
.co-tag { margin-left: auto; flex: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; color: var(--co-ink-3); border: 1px solid var(--co-line-strong); border-radius: 999px; padding: 2px 10px; background: #fff; line-height: 1.4; }
.co-plan { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.8125rem; font-weight: 700; color: var(--co-teal-deep); background: var(--co-teal-50); border: 1px solid var(--co-teal-edge); border-radius: 999px; padding: 4px 12px; line-height: 1.4; }
.co-plan .co-ico { width: 15px; height: 15px; }
.co-badge { display: inline-block; margin-left: 8px; vertical-align: 1px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--co-teal-deep); background: var(--co-teal-50); border: 1px solid var(--co-teal-edge); border-radius: 999px; padding: 1px 8px; line-height: 1.45; white-space: nowrap; }
.co-badge--soon { color: var(--co-ink-3); background: #fff; border-color: var(--co-line-strong); }

/* ---------- Artefacts (product fragments) ---------- */
.co-art { margin: 0; }
.co-cap { margin-top: 12px; padding: 0 4px; font-size: 0.875rem; line-height: 1.5; color: var(--co-ink-3); }

.co-chat { background: #fff; border: 1px solid var(--co-line); border-radius: 18px; box-shadow: var(--co-lift); overflow: hidden; font-size: 0.9375rem; line-height: 1.55; }
.co-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--co-line); background: var(--co-ground-2); }
.co-chat__avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--co-teal-dark); color: #fff; flex: none; }
.co-chat__avatar .co-ico { width: 17px; height: 17px; }
.co-chat__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.co-chat__name { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--co-ink); }
.co-chat__status { font-size: 0.75rem; color: var(--co-ink-3); }
.co-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 20px; }
.co-msg { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 16px; color: var(--co-ink); }
.co-msg--in { align-self: flex-start; background: var(--co-bubble); border-bottom-left-radius: 5px; }
.co-msg--out { align-self: flex-end; background: var(--co-teal-dark); color: #fff; border-bottom-right-radius: 5px; }
.co-msg--team { align-self: flex-start; background: var(--co-teal-50); border: 1px solid var(--co-teal-edge); border-bottom-left-radius: 5px; }
.co-msg__from { display: block; font-size: 0.75rem; font-weight: 700; color: var(--co-teal-dark); margin-bottom: 2px; }
.co-msg a { color: var(--co-teal-dark); font-weight: 600; text-decoration: underline; }
.co-time { font-size: 0.75rem; color: var(--co-ink-3); font-variant-numeric: tabular-nums; }
.co-time--out { align-self: flex-end; margin-top: -4px; }
.co-sys { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--co-teal-dark); margin: 4px 0; }
.co-sys::before, .co-sys::after { content: ""; flex: 1; height: 1px; background: var(--co-teal-edge); }
.co-replies { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; }
.co-reply { padding: 7px 13px; border: 1px solid var(--co-teal-dark); border-radius: 999px; background: #fff; color: var(--co-teal-dark); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.co-reply--on { background: var(--co-teal-dark); color: #fff; }
.co-compose { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px 14px; padding: 6px 6px 6px 16px; border: 1px solid var(--co-line-strong); border-radius: 999px; color: var(--co-ink-3); font-size: 0.9375rem; }
.co-compose__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--co-teal-dark); color: #fff; flex: none; }
.co-compose__send .co-ico { width: 16px; height: 16px; stroke-width: 2; }
.co-chat__head--lg { padding: 14px 16px; background: var(--co-teal-dark); border-bottom: 0; }
.co-chat__head--lg .co-chat__name { color: #fff; font-size: 1rem; }
.co-chat__head--lg .co-chat__status { color: var(--co-teal-light); display: inline-flex; align-items: center; gap: 6px; }
.co-chat__head--lg .co-tag { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.co-chat__avatar--shop { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--co-teal-dark); font-family: var(--font-heading); font-weight: 800; font-size: 1.0625rem; }
.co-online { width: 7px; height: 7px; border-radius: 50%; background: var(--co-teal-glow); }

/* Product cards inside a bot bubble */
.co-msg--cards { max-width: 100%; width: 100%; min-width: 0; overflow: hidden; }
.co-prods { display: flex; gap: 10px; margin: 12px -14px 0; padding: 2px 14px 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 14px; scrollbar-width: thin; scrollbar-color: var(--co-line-strong) transparent; }
.co-prods::-webkit-scrollbar { height: 5px; }
.co-prods::-webkit-scrollbar-thumb { background: var(--co-line-strong); border-radius: 3px; }
.co-prod { flex: 0 0 calc((100% - 20px) / 3); min-width: 118px; max-width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--co-line-strong); border-radius: 12px; padding: 8px 8px 10px; color: var(--co-ink); }
.co-prod__img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 8px; background: var(--co-ground-2); }
.co-prod__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.co-prod__name { font-size: 0.84375rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.co-prod__why { font-size: 0.75rem; line-height: 1.35; color: var(--co-ink-3); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.co-prod__price { font-size: 0.84375rem; font-weight: 700; color: var(--co-teal-dark); margin-top: auto; padding-top: 6px; font-variant-numeric: tabular-nums; }
.co-prod__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 700; color: var(--co-teal-dark); margin-top: 4px; }
.co-prod__cta .co-ico { width: 13px; height: 13px; stroke-width: 2; }
.co-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 0 4px; font-size: 0.875rem; line-height: 1.5; color: var(--co-ink-3); }
.co-note .co-ico { margin-top: 1px; width: 17px; height: 17px; color: var(--co-ink-4); }
.co-note s { text-decoration-color: var(--co-line-hover); }

/* Admin chrome (inbox, analytics) */
.co-admin { display: grid; grid-template-columns: 44px minmax(0, 1fr); background: #fff; border: 1px solid var(--co-line-strong); border-radius: 12px; box-shadow: var(--co-lift); overflow: hidden; font-size: 0.875rem; line-height: 1.5; }
.co-admin__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--co-night); }
.co-admin__rail span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--co-line-hover); }
.co-admin__rail span.is-on { background: var(--co-teal-dark); color: #fff; }
.co-admin__rail .co-ico { width: 17px; height: 17px; }
.co-admin__main { min-width: 0; }
.co-admin__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--co-line); }
.co-admin__title { font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem; color: var(--co-ink); }
.co-admin__tabs { display: flex; gap: 4px; }
.co-admin__tabs span { padding: 3px 9px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--co-ink-3); white-space: nowrap; }
.co-admin__tabs span.is-on { background: var(--co-bubble); color: var(--co-ink); }
.co-admin__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--co-teal-50); border-bottom: 1px solid var(--co-line); }
.co-admin__dot { width: 8px; height: 8px; border-radius: 50%; background: #d97706; flex: none; }
.co-admin__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.co-admin__who { font-weight: 700; font-size: 0.8125rem; color: var(--co-ink); }
.co-admin__time { font-variant-numeric: tabular-nums; }
.co-admin__snip { font-size: 0.8125rem; color: var(--co-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-admin__take { flex: none; padding: 7px 12px; border-radius: 8px; background: var(--co-teal-dark); color: #fff; font-weight: 700; font-size: 0.8125rem; }
.co-admin__thread { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--co-ground-2); }
.co-amsg { margin: 0; max-width: 92%; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--co-line); color: var(--co-ink); }
.co-amsg--bot { align-self: flex-end; background: var(--co-bubble); }
.co-amsg__from { display: block; font-size: 0.75rem; font-weight: 700; color: var(--co-ink-3); }
.co-admin__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--co-line); }
.co-admin__qlabel { width: 100%; font-size: 0.75rem; font-weight: 700; color: var(--co-ink-3); }
.co-chip { padding: 5px 11px; border: 1px solid var(--co-teal-edge); border-radius: 999px; background: var(--co-teal-50); color: var(--co-teal-deep); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }

/* Analytics fragment: one series, one hue, thin bars on a baseline */
.co-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--co-line); }
.co-kpi { padding: 12px 14px; }
.co-kpi + .co-kpi { border-left: 1px solid var(--co-line); }
.co-kpi__k { display: block; font-size: 0.75rem; font-weight: 600; color: var(--co-ink-3); }
.co-kpi__v { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; color: var(--co-ink); font-variant-numeric: tabular-nums; }
.co-chart { padding: 14px 14px 10px; }
.co-chart__title { font-size: 0.75rem; font-weight: 700; color: var(--co-ink-3); }
.co-chart svg { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.co-chart .bar { fill: var(--co-teal); }
.co-chart .bar:hover { fill: var(--co-teal-dark); }
.co-chart .base { stroke: var(--co-line-strong); stroke-width: 1; }
.co-chart .grid { stroke: var(--co-line); stroke-width: 1; stroke-dasharray: 2 3; }
.co-chart text { font: 600 10px var(--font-body); fill: var(--co-ink-3); }
.co-toplist { list-style: none; margin: 0; padding: 4px 14px 12px; border-top: 1px solid var(--co-line); }
.co-toplist__h { display: block; padding: 10px 0 4px; font-size: 0.75rem; font-weight: 700; color: var(--co-ink-3); }
.co-toplist li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--co-line); font-size: 0.8125rem; color: var(--co-ink); font-variant-numeric: tabular-nums; }
.co-toplist li:first-of-type { border-top: 0; }
.co-toplist b { font-weight: 700; }

/* Code line */
.co-code { background: var(--co-night); border-radius: 18px; box-shadow: var(--co-lift); overflow: hidden; }
.co-code__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #1e293b; color: var(--co-line-strong); font-size: 0.8125rem; }
.co-code__head .co-tag { background: transparent; color: var(--co-line-strong); border-color: var(--co-ink-2); }
.co-code pre { margin: 0; padding: 20px 18px 22px; font: 0.875rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; color: var(--co-line); white-space: pre-wrap; overflow-wrap: anywhere; }
.co-code .t-tag { color: var(--co-teal-light); }
.co-code .t-attr { color: #93c5fd; }
.co-code .t-val { color: #fde68a; }
.co-code ::selection { background: var(--co-teal-deep); color: #fff; }

/* ---------- Comparison table ---------- */
.co-plans { background: var(--co-ground-2); border-top: 1px solid var(--co-line); border-bottom: 1px solid var(--co-line); padding: var(--co-section) 0; }
.co-plans__head { max-width: 720px; }
.co-plans h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.028em; line-height: 1.12; }
.co-plans__lede { margin-top: 16px; font-size: 1.0625rem; color: var(--co-ink-3); max-width: 60ch; }
/* No overflow on the wrapper: an overflow ancestor would break the sticky head. */
.co-tablewrap { margin-top: 48px; }
.co-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.co-table th, .co-table td { padding: 14px 16px; border-bottom: 1px solid var(--co-line-strong); vertical-align: middle; }
/* Sticky plan header: stays under the fixed navbar while the rows scroll. */
.co-table thead th { position: sticky; top: var(--nav-height); z-index: 2; background: var(--co-ground-2); border-bottom: 2px solid var(--co-ink); text-align: left; vertical-align: bottom; padding-top: 16px; }
.co-table thead th:first-child { width: 46%; }
.co-plan-name { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; color: var(--co-ink); }
.co-plan-price { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; color: var(--co-teal-dark); font-variant-numeric: tabular-nums; margin-top: 2px; }
.co-plan-price small { font-weight: 600; font-size: 0.8125rem; color: var(--co-ink-3); }
.co-table tbody th { text-align: left; font-weight: 500; color: var(--co-ink); }
.co-table td { color: var(--co-ink-2); font-variant-numeric: tabular-nums; }
.co-yes { color: var(--co-teal-dark); display: inline-flex; }
.co-yes .co-ico { width: 20px; height: 20px; stroke-width: 2.25; }
.co-no { display: inline-block; width: 14px; height: 2px; background: var(--co-line-hover); border-radius: 2px; vertical-align: middle; }
.co-table tbody tr:hover th, .co-table tbody tr:hover td { background: rgb(255 255 255 / 0.7); }
.co-plans__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; justify-content: space-between; }
.co-plans__terms { margin: 0; font-size: 0.9375rem; color: var(--co-ink-3); max-width: 60ch; }
.co-plans__links { display: flex; gap: 20px; flex-wrap: wrap; }
.co-plans__links a { color: var(--co-teal-dark); font-weight: 700; text-decoration: underline; }
.co-plans__links a:hover { color: var(--co-teal-deep); }
.co-plans__legend { display: none; }

/* ---------- FAQ divider list ---------- */
.co-qa { margin: 0; border-bottom: 1px solid var(--co-line-strong); }
.co-qa__item { border-top: 1px solid var(--co-line-strong); padding-bottom: 4px; }
.co-qa__item h3 { margin: 0; font-size: inherit; }
.co-qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 0 18px; text-align: left; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; color: var(--co-ink); }
.co-qa__q:hover { color: var(--co-teal-dark); }
.co-qa__item.is-open .co-qa__q { color: var(--co-ink); }
.co-qa__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--co-line-strong); transition: transform 0.35s var(--co-ease), border-color 0.2s, background 0.2s; }
.co-qa__icon::before, .co-qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.75px; margin: -0.875px 0 0 -5.5px; background: var(--co-ink); border-radius: 2px; }
.co-qa__icon::after { transform: rotate(90deg); }
.co-qa__q:hover .co-qa__icon { border-color: var(--co-teal-dark); }
.co-qa__item.is-open .co-qa__icon { transform: rotate(45deg); background: var(--co-teal-dark); border-color: var(--co-teal-dark); }
.co-qa__item.is-open .co-qa__icon::before, .co-qa__item.is-open .co-qa__icon::after { background: #fff; }
.co-qa__a { display: grid; grid-template-rows: 1fr; }
.co-qa__inner { min-height: 0; overflow: hidden; }
.co-qa__inner p { margin: 0; padding: 0 52px 20px 0; font-size: 1rem; line-height: 1.7; color: var(--co-ink-2); max-width: 60ch; }
.co-qa__inner a { color: var(--co-teal-dark); font-weight: 600; text-decoration: underline; }
.co-qa__inner code { font: 0.875em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--co-bubble); padding: 1px 5px; border-radius: 6px; }
/* collapsed only once JS runs: without JS every answer stays readable */
.co-qa.is-js .co-qa__a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--co-ease), visibility 0s linear 0.4s; }
.co-qa.is-js .co-qa__item.is-open .co-qa__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.5s var(--co-ease), visibility 0s; }

/* ---------- Close band ---------- */
.co-close { background: var(--co-teal-dark); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.co-close__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.co-close h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; }
.co-close__lede { margin-top: 16px; font-size: 1.125rem; color: var(--co-teal-light); }
.co-close .co-try { margin-left: auto; margin-right: auto; text-align: left; }
.co-close .co-try__meta { justify-content: center; text-align: center; color: var(--co-teal-light); }
.co-close .co-try__label { color: #fff; }
.co-close .co-try__input { border-color: transparent; }
.co-close .co-try__input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25); }
.co-close .co-btn { background: #fff; color: var(--co-teal-deep); }
.co-close .co-btn:hover { background: var(--co-teal-light); color: var(--co-teal-deep); box-shadow: 0 8px 18px -8px rgb(0 0 0 / 0.4); }
.co-close .co-try__facts span + span::before { color: var(--co-teal-glow); }
.co-close .co-try__alt { color: #fff; }
.co-close .co-try__alt:hover { color: var(--co-teal-light); }
.co-close :focus-visible { outline-color: #fff; }
.co-close ::selection { background: #fff; color: var(--co-teal-deep); }

/* ---------- Responsive ---------- */
@media (min-width: 961px) {
  .co-summary__head { position: sticky; top: calc(var(--nav-height) + 32px); }
}
@media (max-width: 960px) {
  .co-summary__grid { grid-template-columns: minmax(0, 1fr); }
  .co-summary__intro { max-width: 60ch; }
}
@media (max-width: 640px) {
  .co-try__row { flex-direction: column; }
  .co-try__facts { flex-direction: column; }
  .co-try__facts span + span::before { content: none; }
  .co-facts__row { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .co-tablewrap { margin-top: 32px; }
  .co-table, .co-table thead, .co-table tbody { display: block; }
  /* Compact sticky legend: the three plan columns stay visible above the stacked rows. */
  .co-table thead { position: sticky; top: var(--nav-height); z-index: 2; background: var(--co-ground-2); border-bottom: 2px solid var(--co-ink); }
  .co-table thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; padding: 10px 0 8px; }
  .co-table thead th { position: static; padding: 0; border: 0; background: none; }
  .co-table thead th:first-child { display: none; }
  .co-table .co-plan-name { font-size: 0.9375rem; }
  .co-table .co-plan-price { font-size: 0.8125rem; margin-top: 0; }
  .co-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--co-line-strong); }
  .co-table tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0; font-size: 0.9375rem; font-weight: 600; }
  .co-table td { display: flex; align-items: center; min-height: 22px; padding: 0; border: 0; font-size: 0.9375rem; }
  .co-table tbody tr:hover th, .co-table tbody tr:hover td { background: none; }
  .co-qa__q { font-size: 1rem; gap: 16px; }
  .co-qa__inner p { padding-right: 0; }
  .co-admin { grid-template-columns: 36px minmax(0, 1fr); }
  .co-admin__rail span { width: 28px; height: 28px; }
  .co-admin__bar { flex-wrap: wrap; row-gap: 6px; padding: 10px 12px; }
  .co-admin__bar .co-tag { margin-left: 0; }
  .co-admin__row { flex-wrap: wrap; padding: 12px; }
  .co-admin__meta { flex: 1 1 calc(100% - 20px); }
  .co-admin__take { margin-left: 18px; }
  .co-admin__thread, .co-admin__quick { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-btn, .co-btn .co-ico, .co-qa__icon, .co-qa.is-js .co-qa__a, .co-try__input { transition: none !important; }
}
@media print {
  .co-qa.is-js .co-qa__a { grid-template-rows: 1fr; visibility: visible; }
}
