/* ============================================================
   Adah — Content Pages  (cp-*)
   Shared styles for: Terms, Privacy, FAQ, QuickStart, Help
   ============================================================ */

/* ── Page Hero ─────────────────────────────────────────────── */
.cp-hero {
    padding: 64px 0 72px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--adah-tertiary) 0%, #0A2D33 100%);
}
.cp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 450px at 85% 110%, rgba(136,231,197,.18), transparent 60%);
    pointer-events: none;
}
.cp-hero--center .cp-hero-inner { text-align: center; }
.cp-hero--center .cp-hero-inner p { margin-inline: auto; }
.cp-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.cp-hero--center .cp-hero-inner { margin-inline: auto; }

.cp-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: var(--adah-t-eyebrow);
    letter-spacing: .12em;
    color: var(--adah-accent);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(169,255,241,.1);
    border: 1px solid rgba(169,255,241,.2);
    border-radius: 999px;
}
.cp-hero h1 {
    font: var(--adah-t-h1);
    font-size: clamp(32px, 4vw, 48px);
    color: #fff;
    letter-spacing: -.02em;
    margin: 0 0 16px;
    line-height: 1.15;
}
.cp-hero--display h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.1; }
.cp-hero p {
    font: var(--adah-t-lead);
    color: rgba(255,255,255,.75);
    margin: 0 0 32px;
    max-width: 520px;
    line-height: 1.7;
}

/* Breadcrumb */
.cp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font: var(--adah-t-caption);
    color: rgba(255,255,255,.5);
    margin-bottom: 20px;
}
.cp-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.cp-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.cp-breadcrumb .sep { opacity: .4; }

/* Page meta (date, read time) */
.cp-page-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.cp-page-meta span {
    font: var(--adah-t-caption);
    color: rgba(255,255,255,.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Two-column TOC layout ───────────────────────────────────── */
.cp-page-body { padding: 0; }

.cp-toc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
    padding-block: 0;
}

/* TOC sidebar */
.cp-toc {
    position: sticky;
    top: 104px; /* nav height + 16px gap + a little breathing room */
    padding: 32px 0;
}
.cp-toc-title {
    font: var(--adah-t-label);
    color: var(--adah-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    margin: 0 0 12px;
}
.cp-toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font: var(--adah-t-body-sm);
    color: var(--adah-ink-soft);
    text-decoration: none;
    transition: background .2s, color .2s;
    margin-bottom: 2px;
    border-inline-start: 2px solid transparent;
}
.cp-toc-link:hover { background: var(--adah-mint-wash); color: var(--adah-tertiary); }
.cp-toc-link.active {
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    font-weight: 700;
    border-inline-start-color: var(--adah-primary);
}
.cp-toc-link--num {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cp-toc-num {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--adah-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--adah-muted);
    flex: none;
    transition: background .2s, color .2s;
}
.cp-toc-link.active .cp-toc-num { background: var(--adah-primary); color: #fff; }
.cp-toc-divider { height: 1px; background: var(--adah-line-soft); margin: 12px 0; }
.cp-toc-sibling {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--adah-natural);
    font: var(--adah-t-body-sm);
    color: var(--adah-ink-soft);
    text-decoration: none;
    transition: background .2s, color .2s;
    margin-top: 8px;
}
.cp-toc-sibling:hover { background: var(--adah-mint-wash); color: var(--adah-primary); }

/* Content area */
.cp-content { min-width: 0; padding: 32px 0 80px; }

/* ── Content sections ───────────────────────────────────────── */
.cp-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--adah-line-soft);
}
.cp-section:last-of-type { border-bottom: none; }

.cp-section h2 {
    font: var(--adah-t-h3);
    color: var(--adah-tertiary);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cp-sec-num {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--adah-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex: none;
}
.cp-section h3 {
    font: var(--adah-t-h5);
    color: var(--adah-tertiary);
    margin: 20px 0 10px;
}
.cp-section p {
    font: var(--adah-t-body);
    color: var(--adah-ink-soft);
    line-height: 1.85;
    margin: 0 0 14px;
}
.cp-section p:last-child { margin-bottom: 0; }
.cp-section ul { padding-inline-start: 20px; margin: 0 0 14px; }
.cp-section li {
    font: var(--adah-t-body);
    color: var(--adah-ink-soft);
    line-height: 1.85;
    margin-bottom: 6px;
}
.cp-section strong { color: var(--adah-tertiary); }
.cp-section a { color: var(--adah-primary); text-decoration: none; }
.cp-section a:hover { text-decoration: underline; }

/* Summary box */
.cp-summary-box {
    background: var(--adah-mint-wash);
    border: 1px solid rgba(64,174,189,.2);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 48px;
}
.cp-summary-box .sb-title {
    font: var(--adah-t-label);
    color: var(--adah-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cp-summary-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cp-summary-box li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font: var(--adah-t-body-sm);
    color: var(--adah-tertiary);
    line-height: 1.6;
}
.cp-summary-box li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--adah-primary);
    margin-top: 6px;
    flex: none;
}

/* Highlight callout */
.cp-highlight {
    background: var(--adah-mint-wash);
    border: 1px solid rgba(64,174,189,.2);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 16px 0;
}
.cp-highlight p {
    margin: 0;
    font: var(--adah-t-body-sm);
    color: var(--adah-tertiary);
    line-height: 1.75;
}

/* White highlight (plain quote/note) */
.cp-note {
    background: #fff;
    border: 1px solid var(--adah-line-soft);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}
.cp-note p { margin: 0; font: var(--adah-t-body-sm); color: var(--adah-ink); line-height: 1.75; }

/* Contact CTA block */
.cp-contact-cta {
    background: linear-gradient(135deg, var(--adah-tertiary), #082F35);
    border-radius: 20px;
    padding: 36px 32px;
    margin-top: 48px;
    display: flex;
    gap: 24px;
    align-items: center;
}
.cp-contact-cta-text h4 { font: var(--adah-t-h4); color: #fff; margin: 0 0 6px; }
.cp-contact-cta-text p { font: var(--adah-t-body-sm); color: rgba(255,255,255,.7); margin: 0; }
.cp-contact-cta-btn {
    flex: none;
    background: #88E7C5;
    color: #0B2A30;
    border-radius: 999px;
    height: 42px;
    padding: 0 22px;
    font: var(--adah-t-label);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}
.cp-contact-cta-btn:hover { opacity: .88; }

/* Data table (used in privacy) */
.cp-data-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.cp-data-table th {
    font: var(--adah-t-label);
    font-size: 12px;
    color: var(--adah-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 10px 14px;
    background: var(--adah-natural);
    text-align: inherit;
    border-bottom: 1px solid var(--adah-line-soft);
}
.cp-data-table td {
    font: var(--adah-t-body-sm);
    color: var(--adah-ink-soft);
    padding: 12px 14px;
    border-bottom: 1px solid var(--adah-line-soft);
    vertical-align: top;
    line-height: 1.65;
}
.cp-data-table tr:last-child td { border-bottom: none; }
.cp-purpose-tag {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--adah-mint-wash);
    font-size: 11px;
    font-weight: 700;
    color: var(--adah-primary);
}

/* Rights grid (used in privacy) */
.cp-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.cp-right-item {
    background: #fff;
    border: 1px solid var(--adah-line-soft);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cp-right-item .ri-ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-right-item h4 { font: var(--adah-t-label); color: var(--adah-tertiary); margin: 0 0 3px; font-size: 13px; }
.cp-right-item p { font: var(--adah-t-caption); color: var(--adah-muted); margin: 0; line-height: 1.55; }

/* Commitment cards (privacy top) */
.cp-commit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 48px;
}
.cp-commit-card {
    background: #fff;
    border: 1px solid var(--adah-line-soft);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
}
.cp-commit-card .cc-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.cp-commit-card h4 { font: var(--adah-t-label); color: var(--adah-tertiary); margin: 0 0 4px; font-size: 13px; }
.cp-commit-card p { font: var(--adah-t-caption); color: var(--adah-muted); margin: 0; line-height: 1.55; }

/* ── Quick Start – Step blocks ──────────────────────────────── */
.cp-step-block {
    padding: 48px 0;
    border-bottom: 1px solid var(--adah-line-soft);
}
.cp-step-block:last-child { border-bottom: none; }

.cp-step-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.cp-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--adah-primary), #88E7C5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 20px/1 var(--adah-font);
    flex: none;
    box-shadow: 0 8px 16px -6px rgba(64,174,189,.4);
}
.cp-step-header-text h2 { font: var(--adah-t-h3); color: var(--adah-tertiary); margin: 0 0 6px; }
.cp-step-time {
    font: var(--adah-t-caption);
    color: var(--adah-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cp-step-body {
    font: var(--adah-t-body);
    color: var(--adah-ink-soft);
    line-height: 1.8;
    margin-bottom: 24px;
}
.cp-step-body p { margin: 0 0 14px; }
.cp-step-body p:last-child { margin-bottom: 0; }

/* Visual card inside steps */
.cp-step-visual {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--adah-line-soft);
    padding: 24px;
    margin-bottom: 24px;
    overflow: hidden;
}
.cp-step-visual .sv-label {
    font: var(--adah-t-eyebrow);
    letter-spacing: .1em;
    color: var(--adah-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-size: 10px;
}

/* Checklist */
.cp-checklist { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.cp-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--adah-line-soft);
    font: var(--adah-t-body-sm);
    color: var(--adah-ink);
}
.cp-check-item .ck {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--adah-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-check-item.pending .ck { background: var(--adah-line-soft); }

/* Tip callout */
.cp-tip {
    background: var(--adah-mint-wash);
    border: 1px solid rgba(64,174,189,.2);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0;
}
.cp-tip-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--adah-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-tip p { font: var(--adah-t-body-sm); color: var(--adah-tertiary); margin: 0; line-height: 1.65; }

/* Guide final CTA */
.cp-guide-cta {
    background: linear-gradient(135deg, var(--adah-tertiary), #082F35);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    margin-top: 16px;
}
.cp-guide-cta h3 { font: var(--adah-t-h2); color: #fff; margin: 0 0 12px; }
.cp-guide-cta p {
    font: var(--adah-t-body);
    color: rgba(255,255,255,.7);
    margin: 0 auto 28px;
    max-width: 480px;
    line-height: 1.7;
}
.cp-guide-cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cp-btn-clear {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    height: 44px;
    padding: 0 24px;
    font: var(--adah-t-label);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background .2s;
}
.cp-btn-clear:hover { background: rgba(255,255,255,.18); }

/* Progress bar (quick start) */
.cp-progress-bar {
    background: #fff;
    border-bottom: 1px solid var(--adah-line-soft);
    padding: 14px 0;
}
.cp-progress-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cp-progress-inner::-webkit-scrollbar { display: none; }
.cp-prog-step { display: flex; align-items: center; gap: 0; flex: none; }
.cp-prog-step .ps-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font: var(--adah-t-body-sm);
    font-weight: 700;
    color: var(--adah-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.cp-prog-step.done .ps-label { color: var(--adah-primary); }
.cp-prog-step.active .ps-label { background: var(--adah-primary); color: #fff; }
.cp-prog-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--adah-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font: var(--adah-t-label);
    font-size: 12px;
    color: var(--adah-muted);
    flex: none;
    transition: background .2s, color .2s;
}
.cp-prog-step.done .cp-prog-num { background: var(--adah-primary); color: #fff; }
.cp-prog-step.active .cp-prog-num { background: rgba(255,255,255,.25); color: #fff; }
.cp-prog-connector { width: 32px; height: 2px; background: var(--adah-line-soft); flex: none; }
.cp-prog-step.done + .cp-prog-connector { background: var(--adah-primary); }

/* ── FAQ ────────────────────────────────────────────────────── */
.cp-faq-section { padding: 64px 0 96px; }
.cp-faq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.cp-faq-tabs { position: sticky; top: 104px; }
.cp-faq-tabs h3 {
    font: var(--adah-t-label);
    color: var(--adah-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    margin: 0 0 12px;
}
.cp-faq-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font: var(--adah-t-body-sm);
    color: var(--adah-ink-soft);
    cursor: pointer;
    transition: background .2s, color .2s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: inherit;
    margin-bottom: 4px;
}
.cp-faq-tab:hover { background: var(--adah-mint-wash); color: var(--adah-tertiary); }
.cp-faq-tab.active { background: var(--adah-primary); color: #fff; }
.cp-tab-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-faq-tab.active .cp-tab-ico { background: rgba(255,255,255,.2); color: #fff; }

/* FAQ accordion */
.cp-faq-group { display: none; }
.cp-faq-group.active { display: block; }
.cp-faq-group-title { font: var(--adah-t-h3); color: var(--adah-tertiary); margin: 0 0 24px; }

.cp-faq-item {
    background: #fff;
    border: 1px solid rgba(15,61,68,.06);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .25s;
}
.cp-faq-item.open { box-shadow: 0 8px 24px -12px rgba(15,61,68,.15); }

.cp-faq-q {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font: var(--adah-t-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--adah-tertiary);
    user-select: none;
}
.cp-faq-chev {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: transform .3s, background .2s;
}
.cp-faq-item.open .cp-faq-chev { transform: rotate(180deg); background: var(--adah-primary); color: #fff; }

.cp-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.cp-faq-item.open .cp-faq-a { max-height: 500px; }
.cp-faq-a p {
    padding: 0 24px 22px;
    margin: 0;
    font: var(--adah-t-body);
    color: var(--adah-ink-soft);
    line-height: 1.8;
}
.cp-faq-a a { color: var(--adah-primary); text-decoration: none; }
.cp-faq-a a:hover { text-decoration: underline; }

/* FAQ bottom CTA */
.cp-faq-cta {
    background: #fff;
    border: 1px solid rgba(15,61,68,.06);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}
.cp-faq-cta .ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-faq-cta .body { flex: 1; }
.cp-faq-cta h4 { font: var(--adah-t-h5); color: var(--adah-tertiary); margin: 0 0 4px; }
.cp-faq-cta p { font: var(--adah-t-body-sm); color: var(--adah-muted); margin: 0; }

/* ── Help Center ─────────────────────────────────────────────── */
.cp-help-section { padding: 64px 0 48px; }

.cp-section-hd { text-align: center; margin-bottom: 48px; }
.cp-section-hd .eyebrow {
    font: var(--adah-t-eyebrow);
    letter-spacing: .12em;
    color: var(--adah-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.cp-section-hd h2 { font: var(--adah-t-h2); color: var(--adah-tertiary); margin: 0 0 12px; }
.cp-section-hd p { font: var(--adah-t-body); color: var(--adah-ink-soft); margin: 0; }

/* Search bar */
.cp-search-wrap { max-width: 560px; margin: 0 auto; position: relative; }
.cp-search-wrap input {
    width: 100%;
    height: 56px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    padding: 0 56px 0 24px;
    font: var(--adah-t-body);
    font-size: 16px;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
}
.cp-search-wrap input::placeholder { color: rgba(255,255,255,.45); }
.cp-search-wrap input:focus { border-color: #88E7C5; background: rgba(255,255,255,.15); }
.cp-search-ico {
    position: absolute;
    top: 50%;
    inset-inline-start: 20px;
    transform: translateY(-50%);
    color: rgba(255,255,255,.5);
    pointer-events: none;
}
.cp-search-hints {
    margin-top: 14px;
    font: var(--adah-t-caption);
    color: rgba(255,255,255,.4);
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.cp-search-hints span {
    padding: 4px 10px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s;
}
.cp-search-hints span:hover { background: rgba(255,255,255,.15); }

/* Category cards grid */
.cp-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cp-cat-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15,61,68,.06);
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cp-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(15,61,68,.12); }
.cp-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cp-cat-card h3 { font: var(--adah-t-h4); color: var(--adah-tertiary); margin: 0; }
.cp-cat-card p { font: var(--adah-t-body-sm); color: var(--adah-ink-soft); margin: 0; line-height: 1.65; }
.cp-cat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--adah-line-soft);
}
.cp-cat-meta .count { font: var(--adah-t-caption); color: var(--adah-muted); }
.cp-cat-meta .arrow { color: var(--adah-primary); }

/* Popular articles list */
.cp-articles-section { padding: 0 0 64px; }
.cp-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}
.cp-article-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15,61,68,.06);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s;
}
.cp-article-item:hover { box-shadow: 0 4px 16px -6px rgba(15,61,68,.1); border-color: rgba(64,174,189,.3); }
.cp-article-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--adah-mint-wash);
    color: var(--adah-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font: var(--adah-t-label);
    flex: none;
}
.cp-article-body { flex: 1; }
.cp-article-body h4 { font: var(--adah-t-h5); color: var(--adah-tertiary); margin: 0 0 4px; }
.cp-article-body p { font: var(--adah-t-caption); color: var(--adah-muted); margin: 0; }
.cp-article-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--adah-mint-wash);
    font: var(--adah-t-caption);
    color: var(--adah-primary);
    font-weight: 700;
    white-space: nowrap;
}
.cp-article-arrow { color: var(--adah-muted); }

/* Contact strip (help) */
.cp-contact-strip {
    background: linear-gradient(135deg, var(--adah-tertiary) 0%, #082F35 100%);
    padding: 64px 0;
}
.cp-contact-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}
.cp-contact-card {
    padding: 32px 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.cp-contact-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.cp-contact-card .ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(169,255,241,.12);
    color: #88E7C5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.cp-contact-card h4 { font: var(--adah-t-h5); color: #fff; margin: 0 0 6px; }
.cp-contact-card p { font: var(--adah-t-caption); color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }

/* ── Shared button ───────────────────────────────────────────── */
.cp-btn-teal {
    background: var(--adah-primary);
    color: #fff;
    border-radius: 999px;
    height: 44px;
    padding: 0 24px;
    font: var(--adah-t-label);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    border: none;
    cursor: pointer;
}
.cp-btn-teal:hover { background: var(--adah-primary-ink); transform: translateY(-1px); }
.cp-btn-teal--sm { height: 40px; padding: 0 20px; font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .cp-toc-layout { grid-template-columns: 1fr; gap: 0; }
    .cp-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        padding: 20px 0 8px;
        border-bottom: 1px solid var(--adah-line-soft);
        margin-bottom: 8px;
    }
    .cp-toc-title { width: 100%; margin-bottom: 4px; }
    .cp-toc-link { flex: none; border-inline-start: none; border-bottom: 2px solid transparent; border-radius: 6px; }
    .cp-toc-link.active { border-bottom-color: var(--adah-primary); }
    .cp-toc-divider, .cp-toc-sibling { display: none; }
    .cp-content { padding-top: 16px; }

    .cp-faq-layout { grid-template-columns: 1fr; gap: 0; }
    .cp-faq-tabs { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .cp-faq-tabs h3 { width: 100%; margin-bottom: 4px; }
    .cp-faq-tab { width: auto; flex: none; }

    .cp-commit-row { grid-template-columns: 1fr 1fr; }
    .cp-rights-grid { grid-template-columns: 1fr; }
    .cp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .cp-contact-inner { grid-template-columns: 1fr; }
    .cp-contact-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .cp-hero { padding: 48px 0 56px; }
    .cp-commit-row { grid-template-columns: 1fr; }
    .cp-cat-grid { grid-template-columns: 1fr; }
    .cp-guide-cta { padding: 36px 24px; }
    .cp-progress-bar { display: none; }
    .cp-data-table { font-size: 13px; }
}
