/* credentials.css - the /credentials page and the compact credentials strip
   (homepage trust row, /about hero). Markup is generated by
   scripts/build-credentials.mjs from assets/data/credentials.json. Colours use
   the page tokens with literal fallbacks so the strip also renders on a page
   that does not define them. Tap targets are >= 44px. */

/* ── strip (sits on a dark navy section) ── */
.cred-strip { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cred-strip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.cred-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 44px; padding: 6px 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; }
.cred-chip-main { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; line-height: 1.25; }
.cred-chip-main img { height: 40px; width: auto; flex-shrink: 0; background: #fff; border-radius: 6px; padding: 2px; }
.cred-chip-main:hover .cred-chip-name { text-decoration: underline; }
.cred-chip-verify { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .85); font-size: .78rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cred-chip-verify:hover { color: #fff; }
.cred-strip-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: #fff; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── /credentials page ── */
.cred-hero { background: var(--navy-dark, #12223d); padding: 64px 5% 48px; }
.cred-hero-inner { max-width: 900px; margin: 0 auto; }
.cred-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; letter-spacing: .02em; color: #fff; margin-bottom: 18px; }
.cred-hero p { color: rgba(255, 255, 255, .85); font-size: 1.02rem; line-height: 1.75; max-width: 70ch; }
.cred-hero p + p { margin-top: 12px; }
.cred-section { padding: 48px 5% 64px; background: var(--off-white, #f5f3ef); }
.cred-section-inner { max-width: 1000px; margin: 0 auto; }
.cred-group { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; letter-spacing: .02em; color: var(--navy-dark, #12223d); margin: 36px 0 8px; }
.cred-group:first-child { margin-top: 0; }
.cred-group-note { color: var(--gray-sub, #4a4a4a); font-size: .95rem; line-height: 1.7; margin-bottom: 16px; max-width: 70ch; }
.cred-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 14px; }
.cred-card { background: #fff; border: 1px solid var(--light-gray, #e8e5e0); border-radius: 12px; padding: 20px; scroll-margin-top: 90px; }
.cred-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cred-card-head img { height: 56px; width: auto; flex-shrink: 0; }
.cred-card h3 { font-size: 1.05rem; line-height: 1.3; color: var(--navy-dark, #12223d); font-weight: 800; }
.cred-meta { margin-top: 2px; font-size: .82rem; color: var(--gray, #5d6673); }
.cred-summary { color: #1a1a1a; font-size: .96rem; line-height: 1.65; }
.cred-id { margin-top: 10px; font-size: .86rem; color: var(--gray-sub, #4a4a4a); }
.cred-verify { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; color: #a14a22; font-weight: 800; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.cred-verify:hover { color: #7d3a1a; }
.cred-fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--light-gray, #e8e5e0); color: var(--gray-sub, #4a4a4a); font-size: .85rem; line-height: 1.7; max-width: 75ch; }
.cred-fine a { color: #a14a22; font-weight: 700; }
.cred-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; }
.cred-links a { display: inline-flex; align-items: center; min-height: 44px; color: #a14a22; font-weight: 800; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 760px) {
  .cred-grid { grid-template-columns: 1fr 1fr; }
}
