/* Content pages: about, trust, use cases, blog, resources, glossary, guides. Loads after site.css. */
:root { --ct-text: #1A2332; --ct-soft: #4f5f74; --ct-teal: #067572; }
main { display: block; }
main:focus { outline: none; }
.am-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.ct-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #f3fbfb 0%, #fff 100%); }
.ct-hero h1 { margin-top: 10px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; max-width: 20ch; font-weight: 800; overflow-wrap: break-word; }
.ct-hero.wide h1 { max-width: 26ch; }
.ct-hero .lede { max-width: 46rem; color: var(--ct-soft); font-size: 1.12rem; }
.ct-crumbs { font-size: 0.88rem; color: var(--ct-soft); margin-bottom: 14px; }
.ct-crumbs a { color: var(--ct-teal); font-weight: 600; }
.ct-crumbs a:hover { text-decoration: underline; }
.ct-section { padding: 48px 0; }
.ct-section.alt { background: var(--paper); }
.ct-section h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; margin-bottom: 8px; }
.ct-section .intro { color: var(--ct-soft); max-width: 44rem; margin-bottom: 22px; }
.ct-section a:not(.btn):not(.ct-card) { color: var(--ct-teal); font-weight: 600; }
.ct-section a:not(.btn):not(.ct-card):hover { text-decoration: underline; }
.ct-prose { max-width: 46rem; }
.ct-prose p { margin-bottom: 14px; color: #33435a; font-size: 1.05rem; }
.eyebrow { color: var(--ct-teal); }

/* Cards */
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ct-grid.two { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ct-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: var(--ct-text); }
a.ct-card { text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.ct-card:hover { border-color: var(--teal); box-shadow: 0 10px 30px rgba(26, 35, 50, 0.08); transform: translateY(-2px); }
a.ct-card:focus-visible, .ct-tabs button:focus-visible, .bl-filter input:focus-visible, .bl-search input:focus-visible, .bl-chip:focus-visible, .gl-jump a:focus-visible, .btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.ct-card h3 { font-size: 1.08rem; line-height: 1.3; }
.ct-card p { color: var(--ct-soft); font-size: 0.95rem; }
.ct-card .more { margin-top: auto; padding-top: 6px; color: var(--ct-teal); font-weight: 700; font-size: 0.9rem; }
.ct-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); display: grid; place-items: center; color: var(--ct-teal); font-family: var(--heading); font-weight: 800; }
.ct-tag { display: inline-block; align-self: flex-start; font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--teal-soft); color: #064f4d; }
.ct-tag.later { background: #fff4e0; color: #7a4a00; }

.ct-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.ct-tabs button { min-height: 44px; padding: 0 18px; border: 1px solid #d5e0ea; border-radius: 99px; background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.ct-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.ct-tabpanel[hidden] { display: none; }
html:not(.am-js) .ct-tabpanel[hidden] { display: block; }
html:not(.am-js) .ct-tabs { display: none; }

/* About */
.ct-ring-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.ct-ring { width: 100%; max-width: 340px; height: auto; }
.ct-principles { display: grid; gap: 14px; }
.ct-principles article { border-left: 3px solid var(--teal); padding: 2px 0 2px 16px; }
.ct-principles h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ct-principles p { color: var(--ct-soft); }
.ct-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-mv article { border-radius: 20px; padding: 28px; background: var(--navy); color: #fff; }
.ct-mv article:nth-child(2) { background: var(--teal-soft); color: var(--navy); }
.ct-mv h2 { color: inherit; font-size: 1.3rem; }
.ct-mv .eyebrow { color: #7fe9e6; }
.ct-mv article:nth-child(2) .eyebrow { color: var(--ct-teal); }
.ct-mv p.big { font-family: var(--heading); font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.02em; margin-top: 10px; }
.ct-name { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.ct-gloss { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.ct-gloss dt { font-family: var(--heading); font-weight: 700; margin-top: 12px; }
.ct-gloss dt:first-child { margin-top: 0; }
.ct-gloss dd { margin: 2px 0 0; color: var(--ct-soft); }

/* Closing CTA */
.ct-cta { background: var(--navy); color: #fff; padding: 44px 0; }
.ct-cta-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ct-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.ct-cta p { color: rgba(255, 255, 255, 0.82); max-width: 40rem; }
.ct-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ct-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.ct-cta .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Use-case pages */
.uc-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.uc-chain-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(26, 35, 50, 0.07); }
.uc-chain-card h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-teal); font-family: var(--body); margin-bottom: 12px; }
.uc-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.uc-chain li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 0; font-weight: 700; color: var(--navy); }
.uc-chain li span.n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--navy); display: grid; place-items: center; font-size: 0.85rem; font-family: var(--heading); position: relative; z-index: 1; }
.uc-chain li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 40px; bottom: -10px; width: 2px; background: #bfe9e8; }
.uc-help { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.uc-help article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.uc-help h3 { font-size: 1.02rem; margin-bottom: 6px; }
.uc-help p { color: var(--ct-soft); font-size: 0.95rem; }
.uc-feat { display: inline-block; margin-bottom: 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 99px; background: var(--navy); color: #fff; }
.uc-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 48rem; }
.uc-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: #33435a; }
.uc-steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--heading); font-weight: 700; font-size: 0.9rem; }
.uc-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 48rem; }
.uc-gets li { position: relative; padding-left: 32px; color: #33435a; }
.uc-gets li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%23067572' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.uc-note { margin-top: 22px; font-size: 0.88rem; color: var(--ct-soft); border-left: 3px solid #d5e0ea; padding-left: 12px; max-width: 48rem; }
.ct-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

/* Trust */
.tr-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tr-ledger section { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; }
.tr-ledger h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tr-ledger ul { margin: 0; padding-left: 18px; color: #33435a; }
.tr-ledger li { margin-bottom: 6px; }
.tr-callout { background: #fff8ea; border: 1px solid #f1d9a6; border-radius: 14px; padding: 16px 18px; color: #5c3b00; margin-top: 18px; }

/* Blog index */
.bl-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.bl-side { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.bl-side h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--body); color: var(--ct-teal); margin-bottom: 10px; }
.bl-search input { width: 100%; min-height: 44px; border: 1px solid #c3d0dc; border-radius: 10px; padding: 0 12px; margin-bottom: 18px; }
.bl-filter { display: grid; gap: 4px; }
.bl-filter label { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; border-radius: 8px; cursor: pointer; font-size: 0.94rem; }
.bl-filter label:hover { background: #f3f8fa; }
.bl-filter input { width: 18px; height: 18px; flex: none; accent-color: #067572; }
.bl-filter .ct { margin-left: auto; color: var(--ct-soft); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.bl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 16px; }
.bl-count { color: var(--ct-soft); font-size: 0.92rem; margin-right: 6px; }
.bl-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid #b9dedd; background: var(--teal-soft); color: #064f4d; border-radius: 99px; font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.bl-chip:hover { background: #d3f3f2; }
.bl-clear { background: none; border: 0; color: var(--ct-teal); font-weight: 700; cursor: pointer; text-decoration: underline; min-height: 36px; padding: 0 6px; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ct-text); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.bl-card:hover { border-color: var(--teal); box-shadow: 0 12px 32px rgba(26, 35, 50, 0.09); }
.bl-card[hidden] { display: none; }
.bl-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.bl-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; background: var(--navy); }
.bl-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.bl-pill { align-self: flex-start; font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--teal-soft); color: #064f4d; }
.bl-card h3 { font-size: 1.05rem; line-height: 1.32; }
.bl-card p { color: var(--ct-soft); font-size: 0.93rem; }
.bl-meta { margin-top: auto; padding-top: 6px; color: var(--ct-soft); font-size: 0.82rem; }
.bl-empty { padding: 28px; border: 1px dashed #c3d0dc; border-radius: 14px; color: var(--ct-soft); }
.bl-empty[hidden] { display: none; }

/* Article */
.ar-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 90; background: transparent; pointer-events: none; }
.ar-progress i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.ar-head { padding: 48px 0 24px; background: linear-gradient(180deg, #f3fbfb, #fff); }
.ar-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 24ch; line-height: 1.12; }
.ar-meta { margin-top: 14px; color: var(--ct-soft); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; padding-bottom: 40px; }
.ar-art { width: 100%; height: auto; border-radius: 18px; margin: 8px 0 28px; display: block; aspect-ratio: 16 / 6; }
.ar-layout > * , .bl-layout > * { min-width: 0; }
.ar-body { overflow-wrap: break-word; max-width: 44rem; font-size: 1.07rem; line-height: 1.75; color: #27364b; }
.ar-body h2 { font-size: 1.55rem; margin: 2.2rem 0 0.6rem; scroll-margin-top: 96px; }
.ar-body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; scroll-margin-top: 96px; }
.ar-body p, .ar-body ul, .ar-body ol, .ar-body pre, .ar-body blockquote, .ar-body .tbl { margin: 0 0 1.05rem; }
.ar-body ul, .ar-body ol { padding-left: 1.3rem; }
.ar-body li { margin-bottom: 0.35rem; }
.ar-body a { color: var(--ct-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ar-body code, .gl-def code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: #eef4f7; padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.ar-body pre { background: var(--navy); color: #d7e4ea; padding: 16px 18px; border-radius: 14px; overflow-x: auto; font-size: 0.86rem; line-height: 1.55; }
.ar-body pre code { background: none; padding: 0; color: inherit; overflow-wrap: normal; }
.ar-body blockquote { border-left: 4px solid var(--teal); background: var(--teal-soft); padding: 12px 18px; border-radius: 0 12px 12px 0; color: #0f3a39; }
.ar-body blockquote p { margin: 0; }
.tbl { overflow-x: auto; }
.ar-body table, .g-body table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.ar-body th, .ar-body td, .g-body th, .g-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.ar-body th, .g-body th { background: var(--paper); font-family: var(--heading); font-size: 0.84rem; }
.ar-side { position: sticky; top: 92px; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.toc h2 { font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-teal); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 8px; border-radius: 6px; font-size: 0.9rem; color: #33435a; line-height: 1.35; }
.toc a:hover, .toc a.on { background: var(--teal-soft); color: #064f4d; }
.toc .l3 a { padding-left: 20px; font-size: 0.86rem; }
.ar-cta { background: var(--navy); color: #fff; border-radius: 18px; padding: 26px; margin: 36px 0 0; max-width: 44rem; }
.ar-cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.ar-cta p { color: rgba(255, 255, 255, 0.84); margin-bottom: 14px; }
.ar-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); margin-left: 8px; }
.ar-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ar-cta .btn-ghost { margin-left: 0; }

/* Glossary and guides */
.gl-tools { display: grid; gap: 14px; margin-bottom: 24px; }
.gl-search input { width: 100%; max-width: 420px; min-height: 46px; border: 1px solid #c3d0dc; border-radius: 10px; padding: 0 14px; }
.gl-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-jump a, .gl-jump span { min-width: 36px; min-height: 36px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.gl-jump a:hover { background: var(--teal-soft); border-color: var(--teal); }
.gl-jump span { color: #8695a8; background: #f5f8fa; }
.gl-letter { font-size: 1.6rem; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--teal); scroll-margin-top: 90px; }
.gl-list { display: grid; gap: 12px; }
.gl-term { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; scroll-margin-top: 90px; }
.gl-term:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.gl-term h3 { font-size: 1.05rem; }
.gl-term h3 small { font-family: var(--body); font-weight: 500; color: var(--ct-soft); font-size: 0.85rem; margin-left: 6px; letter-spacing: 0; }
.gl-def { margin-top: 4px; color: #33435a; }
.gl-see { margin-top: 6px; font-size: 0.88rem; color: var(--ct-soft); }
.gl-term[hidden], .gl-letter[hidden] { display: none; }
.g-body { max-width: 50rem; font-size: 1.05rem; line-height: 1.7; color: #27364b; }
.g-body h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
.g-body ul { padding-left: 1.2rem; }
.g-body ul.check { list-style: none; padding: 0; }
.g-body ul.check li { position: relative; padding-left: 34px; margin-bottom: 8px; }
.g-body ul.check li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border: 2px solid #5b6b80; border-radius: 4px; background: #fff; }
.g-body p { margin-bottom: 12px; }
.g-body a { color: var(--ct-teal); font-weight: 600; text-decoration: underline; }
.g-print { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.g-meta { color: var(--ct-soft); font-size: 0.9rem; }

/* Home additions */
.hm-uc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 22px; }
.hm-purpose { background: var(--navy); color: #fff; border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hm-purpose h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.hm-purpose p { color: rgba(255, 255, 255, 0.82); margin-top: 8px; }
.hm-purpose .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hm-consult { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.hm-consult ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.hm-consult li { padding-left: 30px; position: relative; color: #33435a; }
.hm-consult li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%23067572' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

@media (max-width: 900px) {
  .ct-ring-wrap, .ct-mv, .ct-name, .uc-hero-grid, .tr-ledger, .hm-purpose, .hm-consult { grid-template-columns: 1fr; }
  .ct-ring { margin: 0 auto; }
  .bl-layout { grid-template-columns: minmax(0, 1fr); }
  .bl-side { position: static; }
  .ar-layout { grid-template-columns: minmax(0, 1fr); }
  .ar-side { position: static; order: -1; }
  .toc.js-collapse ol { display: none; }
  .ct-hero { padding: 40px 0 28px; }
  .ct-section { padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  a.ct-card, .bl-card { transition: none; transform: none !important; }
  html { scroll-behavior: auto; }
  .ar-progress i { transition: none; }
}
@media print {
  .am-header, .am-footer, .am-skip, .g-print, .ct-cta, .ar-progress { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .g-body, .ar-body { max-width: none; font-size: 11pt; }
  .g-body a { color: #000; text-decoration: none; }
  .g-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .ct-hero { background: none; padding: 0 0 12pt; }
  .g-body h2 { break-after: avoid; }
  .g-body li, .g-body table { break-inside: avoid; }
  .g-body ul.check li::before { border-color: #000; }
  .print-foot { display: block !important; }
}
.print-foot { display: none; margin-top: 24pt; border-top: 1px solid #999; padding-top: 8pt; font-size: 9pt; }
