/*
 * Features, integrations and use-case pages (templates/marketing/). Loaded on
 * top of Bootstrap 5.3 + owlbee-theme.css; tokens come from owlbee-shell.css.
 */
.ob-content { max-width: 1040px; margin: 0 auto; padding: 8px 0 24px; }

/* Breadcrumb */
.ob-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 13px; color: var(--ob-muted); }
.ob-crumbs li + li::before { content: '/'; margin-right: 6px; color: #b3c2d8; }
.ob-crumbs a { color: var(--ob-muted); text-decoration: none; }
.ob-crumbs a:hover { color: var(--ob-blue); text-decoration: underline; }
.ob-crumbs [aria-current] { color: var(--ob-ink); }

/* Page head */
.ob-content-head { margin-bottom: 40px; }
.ob-content-head h1 { font-size: clamp(30px, 4vw, 46px); max-width: 820px; }
.ob-content-head p { font-size: 17px; max-width: 720px; }
.ob-content-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Blocks */
.ob-cblock { margin: 0 0 52px; }
.ob-cblock > h2 { font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -.9px; color: var(--ob-heading); margin: 0 0 14px; }
.ob-cblock > p, .ob-cblock-intro { max-width: 760px; color: #34496b; font-size: 16px; line-height: 1.75; }
.ob-cblock-intro { color: var(--ob-muted); }
.ob-cblock a:not(.btn):not(.ob-ccard) { text-decoration: underline; text-underline-offset: 3px; }

/* Card grid */
.ob-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.ob-ccard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: var(--ob-soft);
    border: 1px solid var(--ob-soft-border);
    border-radius: 13px;
    color: inherit;
}
.ob-ccard h3 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; color: var(--ob-heading); margin: 4px 0 0; }
.ob-ccard h3 a { color: inherit; text-decoration: none !important; }
.ob-ccard h3 a:hover { color: var(--ob-blue); }
.ob-ccard p { margin: 0; color: var(--ob-muted); font-size: 14.5px; line-height: 1.65; }
.ob-ccard .ob-icon-chip { background: #fff; border: 1px solid #d5e3f9; }
.ob-ccard--link { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ob-ccard--link:hover { border-color: #b9d0f5; box-shadow: 0 12px 28px rgba(21, 61, 129, .08); transform: translateY(-2px); color: inherit; }
.ob-ccard-more { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ob-blue); }
@media (prefers-reduced-motion: reduce) { .ob-ccard--link { transition: none; } .ob-ccard--link:hover { transform: none; } }

/* Numbered steps */
.ob-csteps { list-style: none; counter-reset: obstep; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; max-width: 860px; }
.ob-csteps > li {
    counter-increment: obstep;
    position: relative;
    padding: 18px 20px 18px 66px;
    background: #fff;
    border: 1px solid var(--ob-soft-border);
    border-radius: 13px;
    min-width: 0;
}
.ob-csteps > li::before {
    content: counter(obstep);
    position: absolute;
    left: 18px;
    top: 17px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ob-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ob-csteps h3 { font-size: 16.5px; font-weight: 600; color: var(--ob-heading); margin: 4px 0 6px; }
.ob-csteps p { margin: 0; color: #34496b; font-size: 15px; line-height: 1.7; }
.ob-csteps .ob-ccode { margin-top: 12px; }

/* Code */
.ob-ccode { padding: 16px 18px; font-size: 13px; line-height: 1.6; overflow-x: auto; max-width: 100%; white-space: pre; margin: 0; }

/* Checklist */
.ob-cchecks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px 28px; max-width: 920px; }
.ob-cchecks li { position: relative; padding-left: 30px; color: #34496b; font-size: 15px; line-height: 1.6; }
.ob-cchecks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--ob-blue);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Table */
.ob-ctable { margin-top: 18px; border: 1px solid var(--ob-soft-border); border-radius: 13px; }
.ob-ctable table { font-size: 14.5px; }
.ob-ctable thead th { background: var(--ob-soft); color: var(--ob-heading); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; border-bottom-color: var(--ob-soft-border); }
.ob-ctable th[scope="row"] { color: var(--ob-heading); font-weight: 600; white-space: nowrap; }
.ob-ctable td, .ob-ctable th { padding: 12px 16px; border-color: #edf2fa; }
.ob-ctable tbody tr:last-child > * { border-bottom: 0; }

/* Callout */
.ob-ccallout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 13px; background: #fff8e8; border: 1px solid #f2dfae; max-width: 860px; }
.ob-ccallout i { color: #b7791f; margin-top: 4px; }
.ob-ccallout p { margin: 0; color: #5c4a1f; font-size: 15px; line-height: 1.65; }
.ob-cblock--callout > h2 { font-size: 20px; letter-spacing: -.4px; }

/* FAQ */
.ob-cfaq .accordion { max-width: 860px; }
.ob-cfaq .accordion-header { margin: 0; }
.ob-cfaq .accordion-button { font-weight: 600; color: var(--ob-heading); }

@media (max-width: 760px) {
    .ob-content-head { margin-bottom: 28px; }
    .ob-cblock { margin-bottom: 40px; }
    .ob-cgrid, .ob-cchecks { grid-template-columns: 1fr; }
    .ob-csteps > li { padding: 16px 16px 16px 58px; }
    .ob-csteps > li::before { left: 14px; }
    .ob-ctable th[scope="row"] { white-space: normal; }
}

/* ---------- Privacy Policy and Terms of Service ---------- */
.ob-legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.ob-legal-toc { position: sticky; top: calc(var(--ob-header-h) + 20px); padding: 18px 20px; background: var(--ob-soft); border: 1px solid var(--ob-soft-border); border-radius: 13px; font-size: 13.5px; }
.ob-legal-toc-title { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ob-heading); }
.ob-legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ob-muted); }
.ob-legal-toc a { color: var(--ob-muted); text-decoration: none; }
.ob-legal-toc a:hover { color: var(--ob-blue); text-decoration: underline; }
.ob-legal-body { max-width: 760px; }
.ob-legal-body section { margin-bottom: 36px; scroll-margin-top: calc(var(--ob-header-h) + 16px); }
.ob-legal-body h2 { font-size: 22px; letter-spacing: -.5px; color: var(--ob-heading); margin: 0 0 12px; }
.ob-legal-body h3 { font-size: 16.5px; font-weight: 600; color: var(--ob-heading); margin: 22px 0 8px; scroll-margin-top: calc(var(--ob-header-h) + 16px); }
.ob-legal-body p, .ob-legal-body li { color: #34496b; font-size: 15.5px; line-height: 1.75; }
.ob-legal-body ul { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 14px; }
.ob-legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.ob-legal-body .ob-ctable { margin: 14px 0 16px; }
@media (max-width: 900px) {
    .ob-legal-grid { grid-template-columns: 1fr; gap: 24px; }
    .ob-legal-toc { position: static; }
}
