/* ============================================================================
 * credentialos.css : CredentialOS rebrand (STAGING ONLY)
 * Fonts, the wordmark, the nav mega menu, the console visual, and the
 * CredentialOS pages. Loaded on every page. Page styles are scoped under
 * .cos-main so the rest of the site keeps its current look.
 * Wordmark spec: Lora Medium, -2.5% tracking, "Credential" #141413 on light /
 * #F2F0EB on dark, "OS" #3D6FE3 > #6A5BE0 > #8E4FD8. The gradient is used on
 * the "OS" of the wordmark and nowhere else.
 * ========================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --cos-page: #FAF9F5;
  --cos-stage: #F0EEE6;
  --cos-divider: #E3E0D6;
  --cos-ink: #141413;
  --cos-body: #3D3D3A;
  --cos-muted: #6B6A64;
  --cos-accent: #2E4A72;
  --cos-interactive: #2F64D6;
  --cos-dark: #141414;
  --cos-dark-panel: #201E1D;
  --cos-on-dark: #F2F0EB;
  --cos-ok: #2F7A4B;
  --cos-warn: #9A6418;
  --cos-bad: #B42318;
  --cos-serif: "Lora", Georgia, "Times New Roman", serif;
  --cos-sans: "Poppins", "Inter", -apple-system, "Segoe UI", sans-serif;
  --cos-os-gradient: linear-gradient(90deg, #3D6FE3 0%, #6A5BE0 50%, #8E4FD8 100%);
}

/* ---------- Wordmark ---------- */
.cos-mark {
  font-family: var(--cos-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
.cos-mark .c { color: var(--cos-ink); }
.cos-mark .os {
  background: var(--cos-os-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-right: 0.04em; /* keeps the S from clipping under the tightened tracking */
}
.cos-mark.on-dark .c { color: var(--cos-on-dark); }

/* ---------- BalanceU wordmark ----------
 * Same type as the CredentialOS wordmark. "Balance" #141413 on light / #F2F0EB on dark,
 * the "U" in gold. The gold is used on the U of the wordmark and nowhere else. */
:root {
  --bu-u-on-dark: linear-gradient(135deg, #F7E1A0 0%, #E4B24F 50%, #C98A2B 100%);
  --bu-u-on-light: linear-gradient(135deg, #C29032 0%, #A47320 50%, #87591A 100%);
}
.bu-mark { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; display: inline-block; }
.bu-mark .b { color: var(--cos-ink); }
.bu-mark .u { background: var(--bu-u-on-light); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: 0.04em; }
.bu-mark.on-dark .b { color: var(--cos-on-dark); }
.bu-mark.on-dark .u { background: var(--bu-u-on-dark); -webkit-background-clip: text; background-clip: text; }
.cos-console-brand .bu-mark { font-size: 19px; }

/* ---------- Nav: CredentialOS mega menu ---------- */
.megamenu-apple.mm-cos { width: min(920px, 94vw); }
.megamenu-apple.mm-cos .megamenu-grid { grid-template-columns: 1.35fr 1.2fr 1fr; gap: 40px; }
.mm-cos .mega-biglink { font-size: 16px; padding: 5px 0; }
.mega-cos-lead { display: block; padding: 2px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border, #e6e8ee); }
.mega-cos-lead .cos-mark { font-size: 30px; }
.mega-cos-go { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--fs-navy, #0b1430); }
.mega-cos-go .mdi { transition: transform .2s; }
.mega-cos-lead:hover .mega-cos-go .mdi { transform: translateX(4px); }

/* ---------- Console visual (light by default, .is-dark for the hero) ---------- */
.cos-console {
  display: grid;
  grid-template-columns: 236px 1fr;
  background: #fff;
  border: 1px solid var(--cos-divider);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  font-family: var(--cos-sans);
  box-shadow: 0 30px 80px -34px rgba(20, 20, 19, 0.28);
}
.cos-console-side { background: var(--cos-stage); padding: 22px 14px; border-right: 1px solid var(--cos-divider); }
.cos-console-brand { padding: 2px 10px 16px; }
.cos-console-brand .cos-mark { font-size: 19px; }
.cos-console-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-muted); padding: 10px 10px 6px; }
.cos-console-nav { list-style: none; margin: 0 0 4px; padding: 0; }
.cos-console-nav li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 400; color: var(--cos-body);
  padding: 7px 10px; border-radius: 8px;
  transition: background .45s, color .45s, box-shadow .45s;
}
.cos-console-nav li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C9C5B8; flex: none; transition: background .45s; }
.cos-console-nav li.is-on { background: #fff; color: var(--cos-ink); box-shadow: 0 1px 2px rgba(20, 20, 19, 0.07); }
.cos-console-nav li.is-on::before { background: var(--cos-interactive); }
.cos-console-main { padding: 26px 30px; min-width: 0; }
.cos-console-title { font-family: var(--cos-serif); font-weight: 500; font-size: 24px; color: var(--cos-ink); margin: 0 0 20px; transition: opacity .3s; }
.cos-sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.cos-sk-card { border: 1px solid var(--cos-divider); border-radius: 12px; padding: 14px; }
.cos-sk { display: block; height: 8px; border-radius: 6px; background: var(--cos-stage); }
.cos-sk.k { width: 38%; background: #DCE3F6; }
.cos-sk.v { width: 56%; height: 16px; margin: 11px 0; }
.cos-sk.s { width: 72%; }
.cos-sk-rows .row { display: grid; grid-template-columns: 2fr 1.2fr .8fr; gap: 18px; padding: 13px 0; border-top: 1px solid var(--cos-divider); }
.cos-sk-rows .row .cos-sk:nth-child(1) { width: 78%; }
.cos-sk-rows .row .cos-sk:nth-child(3) { width: 64%; }

.cos-console.is-dark { background: #1A1918; border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 40px 120px -40px rgba(47, 100, 214, 0.5); }
.cos-console.is-dark .cos-console-side { background: var(--cos-dark-panel); border-right-color: rgba(255, 255, 255, 0.06); }
.cos-console.is-dark .cos-console-label { color: rgba(242, 240, 235, 0.45); }
.cos-console.is-dark .cos-console-nav li { color: rgba(242, 240, 235, 0.68); }
.cos-console.is-dark .cos-console-nav li::before { background: rgba(242, 240, 235, 0.22); }
.cos-console.is-dark .cos-console-nav li.is-on { background: rgba(255, 255, 255, 0.07); color: var(--cos-on-dark); box-shadow: none; }
.cos-console.is-dark .cos-console-nav li.is-on::before { background: #5B8BF0; }
.cos-console.is-dark .cos-console-title { color: var(--cos-on-dark); }
.cos-console.is-dark .cos-sk-card { border-color: rgba(255, 255, 255, 0.08); }
.cos-console.is-dark .cos-sk { background: rgba(255, 255, 255, 0.08); }
.cos-console.is-dark .cos-sk.k { background: rgba(91, 139, 240, 0.34); }
.cos-console.is-dark .cos-sk-rows .row { border-top-color: rgba(255, 255, 255, 0.06); }

/* ---------- Homepage hero scene ---------- */
.hero-scene[data-scene="credentialos"] h1 { line-height: 1; }
.cos-hero-mark { font-size: clamp(54px, 8.6vw, 128px); }
.hero-scene .hero-sub-thin { max-width: 64ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.cos-hero-console.hero-bottom-art {
  width: min(1040px, calc(100% - 48px));
  max-width: none;
  max-height: none;
  height: 340px; /* the hero is a fixed 760px tall, so a fixed height keeps clear of the links */
  bottom: -30px;
}
.hero-scene[data-scene="credentialos"] .hero-bottom-glow {
  background: radial-gradient(ellipse 60% 70% at 50% 80%, rgba(47, 100, 214, 0.42), rgba(47, 100, 214, 0.16) 38%, rgba(47, 100, 214, 0) 72%);
}
@media (max-width: 720px) {
  .cos-hero-console.hero-bottom-art { width: calc(100% - 40px); height: auto; bottom: -20px; grid-template-columns: 1fr; }
  .cos-hero-console .cos-console-main { display: none; }
  .cos-hero-console .cos-console-side { border-right: 0; }
}

/* ============================================================================
 * CredentialOS pages
 * ========================================================================== */
.cos-main { background: var(--cos-page); color: var(--cos-body); font-family: var(--cos-sans); font-weight: 300; }
.cos-main h1, .cos-main h2, .cos-main h3 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: 0; color: var(--cos-ink); }
.cos-main strong, .cos-main b { font-weight: 500; color: var(--cos-ink); }
.cos-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.cos-label { display: inline-block; font-family: var(--cos-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-accent); }
.cos-section { padding: clamp(64px, 8vw, 112px) 0; scroll-margin-top: 80px; }
.cos-section.on-stage { background: var(--cos-stage); }
.cos-h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; margin: 12px 0 14px; text-wrap: balance; }
.cos-lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--cos-body); max-width: 62ch; margin: 0; }
.cos-head { max-width: 760px; }
.cos-head.center { margin: 0 auto; text-align: center; }
.cos-head.center .cos-lead { margin: 0 auto; }

.cos-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cos-sans); font-size: 15px; font-weight: 500; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.cos-btn .mdi { font-size: 18px; }
.cos-btn.primary { background: var(--cos-ink); color: var(--cos-page); }
.cos-btn.primary:hover { background: #2a2a28; }
.cos-btn.ghost { background: transparent; color: var(--cos-ink); border-color: #CFCBBE; }
.cos-btn.ghost:hover { border-color: var(--cos-ink); }

/* Hero */
.cos-hero { padding: calc(68px + clamp(56px, 8vw, 100px)) 0 clamp(36px, 4vw, 56px); text-align: center; }
.cos-hero .cos-mark { font-size: clamp(56px, 9.2vw, 136px); }
.cos-hero-sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 40ch; margin: 26px auto 0; color: var(--cos-body); }
.cos-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cos-hero-note { margin: 26px auto 0; font-size: 14px; color: var(--cos-muted); max-width: 60ch; }

/* Module explorer (styled like the console). Desktop: list + panel. Mobile: accordion. */
.cos-explorer { display: grid; grid-template-columns: 286px 1fr; border: 1px solid var(--cos-divider); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -44px rgba(20, 20, 19, 0.26); margin-top: 44px; }
.cos-exp-side { background: var(--cos-stage); border-right: 1px solid var(--cos-divider); padding: 22px 14px 26px; }
.cos-exp-brand { padding: 2px 10px 14px; }
.cos-exp-brand .cos-mark { font-size: 20px; }
.cos-exp-group { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-muted); padding: 14px 10px 6px; }
.cos-exp-tab {
  display: flex; align-items: center; gap: 11px; width: 100%;
  font-family: var(--cos-sans); font-size: 15px; font-weight: 400; text-align: left; color: var(--cos-body);
  background: transparent; border: 0; border-radius: 9px; padding: 9px 11px; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.cos-exp-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C9C5B8; flex: none; transition: background .2s; }
.cos-exp-tab:hover { color: var(--cos-ink); background: rgba(255, 255, 255, 0.6); }
.cos-exp-tab.is-on { background: #fff; color: var(--cos-ink); font-weight: 500; box-shadow: 0 1px 3px rgba(20, 20, 19, 0.08); }
.cos-exp-tab.is-on::before { background: var(--cos-interactive); }
.cos-exp-tab:focus-visible { outline: 2px solid var(--cos-interactive); outline-offset: 2px; }
.cos-exp-tab .cos-exp-chev { margin-left: auto; font-size: 18px; color: var(--cos-muted); display: none; transition: transform .2s; }

.cos-exp-panels { min-width: 0; }
.cos-exp-panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: clamp(28px, 3.2vw, 44px); align-items: start; }
.cos-exp-panel.is-on { display: grid; animation: cosPanelIn .35s ease both; }
@keyframes cosPanelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cos-exp-formerly { font-size: 12.5px; font-weight: 500; color: var(--cos-muted); letter-spacing: 0.02em; }
.cos-exp-copy h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; margin: 6px 0 12px; }
.cos-exp-lead { font-size: 17px; line-height: 1.55; margin: 0 0 16px; color: var(--cos-body); }
.cos-exp-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cos-exp-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--cos-body); }
.cos-exp-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--cos-accent); }
.cos-exp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--cos-accent); }
.cos-exp-link .mdi { transition: transform .2s; }
.cos-exp-link:hover .mdi { transform: translateX(4px); }

/* Mini product screens inside the explorer */
.cos-mini { border: 1px solid var(--cos-divider); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(20, 20, 19, 0.3); }
.cos-mini-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--cos-divider); background: var(--cos-page); font-size: 12.5px; font-weight: 500; color: var(--cos-ink); }
.cos-mini-bar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cos-interactive); }
.cos-mini-body { padding: 14px 16px 16px; }
.cos-mini-h { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cos-muted); margin: 2px 0 8px; }
.cos-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--cos-divider); font-size: 14px; color: var(--cos-ink); font-weight: 400; }
.cos-mini-row:first-of-type { border-top: 0; }
.cos-mini-row .sub { color: var(--cos-muted); font-size: 13px; }
.cos-mini-row .arrow { color: var(--cos-muted); font-size: 16px; }
.cos-pill { font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cos-pill.ok { color: var(--cos-ok); background: #E8F2EC; }
.cos-pill.warn { color: var(--cos-warn); background: #F6EEDF; }
.cos-pill.bad { color: var(--cos-bad); background: #F8E6E4; }
.cos-pill.muted { color: var(--cos-muted); background: var(--cos-stage); }
.cos-chip { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--cos-stage); color: var(--cos-body); margin: 0 6px 6px 0; }
.cos-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.cos-mini-stat { border: 1px solid var(--cos-divider); border-radius: 10px; padding: 10px; }
.cos-mini-stat .lbl { font-size: 11.5px; color: var(--cos-muted); line-height: 1.3; }
.cos-mini-stat .cos-sk { margin-top: 10px; height: 14px; width: 62%; }
.cos-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cos-photo { border: 1px solid var(--cos-divider); border-radius: 10px; padding: 12px 10px 10px; text-align: center; }
.cos-photo .face { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px; background: radial-gradient(circle at 50% 38%, #CFCBBE 0 34%, transparent 35%), radial-gradient(ellipse at 50% 110%, #CFCBBE 0 58%, transparent 59%); background-color: var(--cos-stage); }
.cos-photo .ok-btn { display: block; font-size: 11.5px; font-weight: 500; color: #fff; background: var(--cos-ink); border-radius: 6px; padding: 4px 0; }
.cos-valid { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: #E8F2EC; margin-bottom: 12px; }
.cos-valid .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cos-ok); color: #fff; font-size: 24px; flex: none; }
.cos-valid .t { font-size: 15px; font-weight: 500; color: var(--cos-ink); }
.cos-valid .s { font-size: 12.5px; color: var(--cos-muted); }
.cos-insight { margin-top: 12px; border-radius: 12px; padding: 12px 14px; background: #EEF2FC; }
.cos-insight .h { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cos-accent); }
.cos-insight p { margin: 6px 0 8px; font-size: 13.5px; color: var(--cos-ink); }
.cos-insight ol { margin: 0; padding-left: 18px; font-size: 13px; color: var(--cos-body); line-height: 1.6; }
.cos-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 6px; }
.cos-bars span { flex: 1; border-radius: 4px 4px 0 0; background: #C9D3F2; }
.cos-bars span:nth-child(3n) { background: #9FB6E8; }
.cos-bars span:last-child { background: var(--cos-accent); }
.cos-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cos-dot.bad { background: var(--cos-bad); }
.cos-dot.warn { background: var(--cos-warn); }
.cos-alert { display: flex; align-items: center; gap: 10px; }

/* Foundational and open: the layer diagram */
.cos-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cos-stack { background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; padding: clamp(20px, 2.6vw, 30px); }
.cos-stack-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cos-stack-apps span { font-size: 14px; font-weight: 400; color: var(--cos-ink); text-align: center; padding: 14px 8px; border-radius: 10px; background: var(--cos-page); border: 1px solid var(--cos-divider); }
.cos-stack-link { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cos-muted); }
.cos-stack-link::before, .cos-stack-link::after { content: ""; flex: 1; height: 1px; background: var(--cos-divider); }
.cos-stack-base { text-align: center; padding: 22px 16px; border-radius: 12px; background: var(--cos-dark); }
.cos-stack-base .cos-mark { font-size: clamp(30px, 3.2vw, 40px); }
.cos-stack-base .cap { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(242, 240, 235, 0.72); }
.cos-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.cos-points li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.55; }
.cos-points li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 10px; height: 2px; border-radius: 2px; background: var(--cos-accent); }

/* Everything around the credential */
.cos-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.cos-card { background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; padding: clamp(22px, 2.6vw, 30px); }
.cos-card h3 { font-size: 22px; margin: 6px 0 14px; }
.cos-linklist { list-style: none; margin: 0; padding: 0; }
.cos-linklist li { border-top: 1px solid var(--cos-divider); }
.cos-linklist li:first-child { border-top: 0; }
.cos-linklist a, .cos-linklist span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 16px; font-weight: 400; color: var(--cos-ink); }
.cos-linklist a .mdi { color: var(--cos-muted); transition: transform .2s, color .2s; }
.cos-linklist a:hover .mdi { transform: translateX(4px); color: var(--cos-accent); }
.cos-linklist .note { font-size: 13px; color: var(--cos-muted); font-weight: 300; }

/* Grow with modules */
.cos-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; counter-reset: cosstep; }
.cos-step { position: relative; background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; padding: 24px 24px 26px; }
.cos-step .n { font-family: var(--cos-serif); font-weight: 500; font-size: 30px; color: var(--cos-accent); line-height: 1; }
.cos-step h3 { font-size: 21px; margin: 12px 0 8px; }
.cos-step p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* Former names table */
.cos-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; overflow: hidden; }
.cos-table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-muted); padding: 14px 22px; background: var(--cos-page); border-bottom: 1px solid var(--cos-divider); }
.cos-table td { padding: 15px 22px; border-top: 1px solid var(--cos-divider); font-size: 16px; }
.cos-table tr:first-child td { border-top: 0; }
.cos-table td:first-child { color: var(--cos-ink); font-weight: 400; }
.cos-table td:last-child { color: var(--cos-muted); }
.cos-table a { color: var(--cos-ink); }
.cos-table a:hover { color: var(--cos-accent); }
.cos-foot-note { margin-top: 14px; font-size: 14px; color: var(--cos-muted); }

/* CTA strip on CredentialOS pages: match the page type, and show the name as the wordmark */
.cos-page .cta-strip h2 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: 0; }
.cos-page .cta-strip p { font-family: var(--cos-sans); font-weight: 300; }
.cta-strip h2 .cos-mark, .cos-inline-mark { font-size: 1em; vertical-align: baseline; }

/* Module page lockup: the wordmark with the module name under it */
.cos-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto 22px; }
.cos-lockup .cos-mark { font-size: clamp(30px, 3.2vw, 40px); }
.cos-lockup-mod { font-family: var(--cos-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-accent); }
.cos-lockup.sm { align-items: flex-start; gap: 6px; margin: 0 0 14px; }
.cos-lockup.sm .cos-mark { font-size: 22px; }
.cos-lockup.sm .cos-lockup-mod { font-size: 11.5px; }
.cos-formerly-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-sub, #6B6A64); }
.cos-anchor { scroll-margin-top: 96px; }

/* Attention + Metrics cards on the Console page */
.cos-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cos-duo-card { background: #fff; border: 1px solid var(--border, #e6e8ee); border-radius: var(--radius-xl, 20px); padding: clamp(24px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.cos-duo-card h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); }
.cos-duo-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.cos-duo-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--fg-2, #3D3D3A); }
.cos-duo-list .mdi { color: var(--accent, #1E5288); font-size: 19px; line-height: 1.2; flex: none; }
.cos-duo-card .cos-mini { margin-top: auto; }
@media (max-width: 820px) { .cos-duo { grid-template-columns: 1fr; } }

/* Platform page: CredentialOS in the hero row, the bubble diagram and the tiles */
.pf-mark-cos { justify-content: center; align-self: center; }
.pf-mark-cos .cos-mark { font-size: clamp(24px, 2.4vw, 32px); }
.bubble[data-key="credentialos"] { width: 220px; height: 220px; z-index: 2; display: grid; place-items: center; }
.bubble[data-key="credentialos"] .cos-mark { font-size: 25px; position: relative; z-index: 1; }
.fam-tile .cos-lockup.fam-lock .cos-mark { font-size: 28px; }

/* ---------- "In practice": three illustrations in the explorer's style ---------- */
.cos-practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.cos-pcard { background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.cos-illo { position: relative; height: 290px; background: var(--cos-page); border-bottom: 1px solid var(--cos-divider); overflow: hidden; }
.cos-pcopy { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cos-pcopy h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.cos-pcopy p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.cos-pcopy .cos-exp-link { margin-top: auto; padding-top: 6px; }

/* Hub and spoke */
.cos-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cos-hub .spoke { stroke: #D8D3C5; stroke-width: 1.4; }
.cos-hub .node { fill: #fff; stroke: var(--cos-accent); stroke-width: 1.6; }
.cos-hub .lbl { font-family: var(--cos-sans); font-size: 13px; fill: var(--cos-body); }
.cos-hub .pulse { fill: var(--cos-interactive); }
.cos-hub-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--cos-divider); border-radius: 12px; padding: 11px 15px; box-shadow: 0 10px 26px -14px rgba(20, 20, 19, 0.35); }
.cos-hub-badge .cos-mark { font-size: 19px; }

/* Access Automation mapping */
.cos-access svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cos-access .hd { font-family: var(--cos-sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--cos-muted); }
.cos-access .link { stroke: #D8D3C5; stroke-width: 1.4; }
.cos-access .pop { fill: #fff; stroke: #CFCBBE; stroke-width: 1.2; }
.cos-access .pl { font-family: var(--cos-sans); font-size: 12.5px; fill: var(--cos-ink); }
.cos-access .lvl { fill: var(--cos-accent); }
.cos-access .ll { font-family: var(--cos-sans); font-size: 12.5px; font-weight: 500; fill: #fff; }
.cos-access .pulse { fill: var(--cos-interactive); }

/* Go deeper cards are links */
a.cos-pcard { color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.cos-pcard:hover { border-color: #CFCBBE; box-shadow: 0 18px 40px -28px rgba(20, 20, 19, 0.35); transform: translateY(-2px); }
a.cos-pcard:hover .cos-exp-link { gap: 10px; }

/* Console section */
.cos-jobs { margin-top: 44px; }
.cos-job-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cos-stage); color: var(--cos-accent); display: grid; place-items: center; font-size: 21px; margin-bottom: 14px; }
.cos-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.cos-checks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; color: var(--cos-body); }
.cos-checks li::before { content: "\F012C"; font-family: "Material Design Icons"; position: absolute; left: 0; top: 0; color: var(--cos-ok); font-size: 17px; line-height: 1.3; }
.cos-subhead { text-align: center; margin: 72px auto 32px; max-width: 640px; }
.cos-subhead h3 { font-family: var(--cos-serif); font-weight: 500; font-size: 28px; color: var(--cos-ink); margin: 0 0 8px; }
.cos-subhead p { margin: 0; color: var(--cos-body); font-size: 16px; line-height: 1.55; }
.cos-main .cp-flipcard-front h3, .cos-main .cp-flipcard h3 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; }
.cos-health { margin-top: 32px; }
.cos-main .cp-callout { background: #fff; border: 1px solid var(--cos-divider); }
.cos-main .cp-callout-mark { color: var(--cos-accent); }
.cos-main .cp-callout .eyebrow { font-family: var(--cos-sans); font-weight: 500; letter-spacing: 0.12em; color: var(--cos-accent); }
.cos-main .cp-callout::before, .cos-main .cp-callout::after { display: none; }
.cos-main .cp-callout .eyebrow::before { background: var(--cos-accent); }
.cos-main .cp-callout p { color: var(--cos-body); }
.cos-main .cp-callout p strong { color: var(--cos-ink); font-weight: 500; }
.cos-main .cp-callout-mark { background: var(--cos-stage); border-color: var(--cos-divider); }

/* Nerd Mode on the CredentialOS page */
.cos-nerd { background: var(--cos-dark); scroll-margin-top: 68px; }
.cos-main .cos-nerd .cp-nerd-copy h2 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.cos-main .cos-nerd h3, .cos-main .cos-nerd h4 { font-family: inherit; color: inherit; }
.cos-main .cos-nerd strong, .cos-main .cos-nerd b { color: #fff; font-weight: 600; }

/* ---------- Deep-dive pages ---------- */
.cos-deep-head { background: var(--cos-page); padding: calc(68px + clamp(48px, 6vw, 84px)) 0 clamp(40px, 5vw, 64px); font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
.cos-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cos-muted); margin-bottom: 26px; }
.cos-crumb a { display: inline-flex; text-decoration: none; }
.cos-crumb .cos-mark { font-size: 19px; }
.cos-crumb .mdi { font-size: 18px; color: #A9A597; }
.cos-crumb span { font-weight: 500; color: var(--cos-ink); }
.cos-deep-head h1 { font-family: var(--cos-serif); font-weight: 500; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.07; letter-spacing: -0.01em; color: var(--cos-ink); max-width: 17ch; margin: 0 0 20px; text-wrap: balance; }
.cos-deep-head .cos-lead { max-width: 62ch; }
.cos-deep-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cos-onpage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--cos-divider); font-size: 15px; }
.cos-onpage span { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-muted); margin-right: 4px; }
.cos-onpage a { color: var(--cos-accent); font-weight: 400; text-decoration: none; }
.cos-onpage a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Old feature sections take the CredentialOS type and colors */
.cos-deep { background: var(--cos-page); font-family: var(--cos-sans); }
.cos-deep .section:not(.rc-safeguards-section) { background: transparent; }
.cos-deep .section.on-gray, .cos-deep .rc-usecases { background: var(--cos-stage) !important; }
.cos-deep .section-head h2, .cos-deep .cs-why h2, .cos-deep .cs-text h3, .cos-deep .rc-showcase h2 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; }
.cos-deep .section-head h2 .accent, .cos-deep .cs-text h3 .accent { color: var(--cos-accent); -webkit-text-fill-color: currentColor; background: none; }
.cos-deep .eyebrow { font-family: var(--cos-sans); font-weight: 500; letter-spacing: 0.12em; color: var(--cos-accent); }
.cos-deep .eyebrow::before { background: var(--cos-accent); }
.cos-deep .fcard h3, .cos-deep .fcard h4 { font-family: var(--cos-sans); font-weight: 500; }
.cos-deep .fcard { background: #fff; border: 1px solid var(--cos-divider); }
.cos-deep .frow-copy h2 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; }
.cos-deep .frow-media { background: var(--cos-stage); color: var(--cos-accent); border-color: var(--cos-divider); }
.cos-deep .rc-safeguards-section { background: var(--cos-dark) !important; }
.cos-deep .rc-safeguards-section h2 { color: #fff; }
.cos-deep .rc-safeguards-section .eyebrow { color: rgba(242, 240, 235, 0.62); }
.cos-deep .fcard .ic, .cos-deep .fcard-ic { background: var(--cos-stage); color: var(--cos-accent); }
.cos-deep .cs-why { background: var(--cos-dark); }
.cos-deep .cs-why h2 .accent { color: #9DB3DA; -webkit-text-fill-color: currentColor; background: none; }
.cos-deep .cs-why .eyebrow { color: rgba(242, 240, 235, 0.62); }
.cos-deep .cs-why .eyebrow::before { background: rgba(242, 240, 235, 0.4); }
.cos-deep .cos-section, .cos-deep .cos-more { font-weight: 300; color: var(--cos-body); }
.cos-deep .cos-h2, .cos-deep .cos-more h2 { font-family: var(--cos-serif); font-weight: 500; color: var(--cos-ink); }

/* Authority in practice */
.cos-authority { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--cos-divider); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.cos-auth-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--cos-stage); color: var(--cos-accent); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.cos-authority-copy p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--cos-body); }
.cos-authority-copy strong { color: var(--cos-ink); font-weight: 500; }
.cos-auth-blocked { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; color: var(--cos-muted); background: var(--cos-stage); border-radius: 999px; padding: 3px 10px; }
.cos-auth-blocked .mdi { font-size: 13px; }

/* Population builder */
.cos-pop-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; margin-top: 8px; border: 1px solid var(--cos-divider); border-radius: 10px; font-size: 14px; }
.cos-pop-row:first-child { margin-top: 0; }
.cos-pop-row .op { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cos-accent); }
.cos-pop-row.src { background: var(--cos-page); }
.cos-pop-row .nm { color: var(--cos-ink); }
.cos-pop-row b { font-weight: 500; color: var(--cos-body); font-variant-numeric: tabular-nums; }
.cos-pop-out { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 14px 12px 4px; border-top: 1px solid var(--cos-divider); font-size: 14px; color: var(--cos-muted); }
.cos-pop-out b { font-family: var(--cos-serif); font-weight: 500; font-size: 30px; color: var(--cos-ink); }

/* Access rules card */
.cos-split-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.cos-rules-card { background: #fff; border: 1px solid var(--cos-divider); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(20, 20, 19, 0.35); }
.cos-rules-card .cos-illo { height: auto; aspect-ratio: 400 / 270; border-bottom: 0; background: #fff; }

/* Keep exploring */
.cos-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.cos-more-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--cos-divider); border-radius: 16px; padding: 24px; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cos-more-card:hover { border-color: #CFCBBE; box-shadow: 0 18px 40px -28px rgba(20, 20, 19, 0.35); transform: translateY(-2px); }
.cos-more-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cos-stage); color: var(--cos-accent); display: grid; place-items: center; font-size: 21px; margin-bottom: 6px; }
.cos-more-card .t { font-family: var(--cos-serif); font-weight: 500; font-size: 21px; color: var(--cos-ink); }
.cos-more-card .d { font-size: 15px; line-height: 1.5; color: var(--cos-body); font-weight: 300; }
.cos-more-card .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--cos-accent); }
@media (max-width: 900px) {
  .cos-authority { grid-template-columns: 1fr; }
  .cos-more-grid { grid-template-columns: 1fr; }
  .cos-split-rev > :first-child { order: 2; }
  .cos-deep .cs-scrollwrap { overflow-x: clip; }
}

/* Hero: the pieces CredentialOS manages */
.cos-pieces { position: relative; display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 44px); margin: 46px auto 0; max-width: 640px; }
.cos-pieces::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 1px; background: var(--cos-divider); }
.cos-piece { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--cos-ink); }
.cos-piece .ic { width: 56px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--cos-divider); color: var(--cos-accent); display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 22px -16px rgba(20, 20, 19, 0.35); transition: border-color .2s, transform .2s, box-shadow .2s; }
.cos-piece .t { font-family: var(--cos-sans); font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em; }
.cos-piece:hover .ic { border-color: var(--cos-accent); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(46, 74, 114, 0.45); }
.cos-hero .cos-pieces + .cos-hero-note { margin-top: 30px; }
@media (max-width: 520px) {
  .cos-pieces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .cos-pieces::before { top: 23px; left: 10%; right: 10%; }
  .cos-piece .ic { width: 46px; height: 46px; border-radius: 12px; font-size: 22px; }
  .cos-piece .t { font-size: 11.5px; }
}

/* Inside the console: flip cards in the CredentialOS style */
.cos-main .cp-flipcard-face { border: 1px solid var(--cos-divider); border-radius: 20px; box-shadow: 0 18px 40px -30px rgba(20, 20, 19, 0.3); font-family: var(--cos-sans); }
.cos-main .cp-flipcard:hover .cp-flipcard-face { box-shadow: 0 24px 48px -30px rgba(20, 20, 19, 0.38); }
.cos-main .cp-flipcard-ic { background: var(--cos-stage); color: var(--cos-accent); border-radius: 12px; }
.cos-main .cp-flipcard-eyebrow, .cos-main .cp-flipcard-back-eyebrow { font-family: var(--cos-sans); font-weight: 500; letter-spacing: 0.12em; color: var(--cos-accent); }
.cos-main .cp-flipcard-front h3 { color: var(--cos-ink); font-size: clamp(24px, 2.4vw, 30px); }
.cos-main .cp-flipcard-front h3 .accent { color: var(--cos-accent); }
.cos-main .cp-flipcard-front p { color: var(--cos-body); font-weight: 300; font-size: 15px; }
.cos-main .cp-flipcard-cue { color: var(--cos-accent); font-weight: 500; }
.cos-main .cp-flipcard-close { background: var(--cos-page); border: 1px solid var(--cos-divider); color: var(--cos-muted); }
.cos-fscreen { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--cos-body); }
.cos-fs-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--cos-divider); border-radius: 10px; background: var(--cos-page); color: var(--cos-ink); }
.cos-fs-search .mdi { color: var(--cos-muted); font-size: 17px; }
.cos-fs-person { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--cos-divider); border-radius: 12px; }
.cos-fs-av { width: 38px; height: 38px; border-radius: 50%; background: var(--cos-stage); color: var(--cos-accent); display: grid; place-items: center; font-family: var(--cos-serif); font-weight: 500; font-size: 15px; }
.cos-fs-person .who { display: flex; flex-direction: column; line-height: 1.3; }
.cos-fs-person b { font-weight: 500; color: var(--cos-ink); }
.cos-fs-person small { font-size: 12px; color: var(--cos-muted); }
.cos-fs-rows { border: 1px solid var(--cos-divider); border-radius: 12px; overflow: hidden; }
.cos-fs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--cos-divider); color: var(--cos-ink); }
.cos-fs-row:first-child { border-top: 0; }
.cos-fs-row.is-flag { background: #FBF6EC; }
.cos-fs-row.is-down { background: #FBEFED; }
.cos-fs-row .up { font-size: 12.5px; color: var(--cos-muted); font-variant-numeric: tabular-nums; }
.cos-fs-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cos-fs-kpis > div { border: 1px solid var(--cos-divider); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; }
.cos-fs-kpis small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cos-muted); }
.cos-fs-kpis b { font-family: var(--cos-serif); font-weight: 500; font-size: 22px; color: var(--cos-ink); line-height: 1.1; }
.cos-fs-kpis b.bad { color: var(--cos-bad); }
.cos-fscreen .cos-pop-row { margin-top: 0; padding: 9px 12px; }
.cos-fscreen .cos-pop-out { margin-top: auto; padding-bottom: 0; }
.cos-pop-out small { display: block; font-size: 12px; color: var(--cos-muted); margin-top: 2px; }
.cos-fs-foot { margin-top: auto; text-align: center; font-size: 13px; color: var(--cos-muted); }
.cos-fs-foot span { font-weight: 500; color: var(--cos-ink); }
.cos-fscreen .sw { position: relative; width: 36px; height: 20px; border-radius: 999px; border: 0; padding: 0; background: #D8D3C5; cursor: pointer; transition: background .2s; flex: none; }
.cos-fscreen .sw .knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 19, 0.25); transition: transform .2s; }
.cos-fscreen .sw.is-on { background: var(--fs-interactive, #2F64D6); }
.cos-fscreen .sw.is-on .knob { transform: translateX(16px); }
@media (max-width: 760px) {
  .cos-main .cp-flipgrid .cp-flipcard-front { min-height: 400px; }
  .cos-main .cp-flipcard-back { padding: 22px 18px 18px; }
}

/* Design Language v1.4 alignment */
.cos-surface { margin: 44px auto 0; max-width: 1080px; }
.cos-pill { display: inline-flex; align-items: center; gap: 6px; background: none !important; padding: 0; border-radius: 0; font-size: 12px; }
.cos-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.cos-explorer .cos-pill { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; }
.cos-explorer .cos-pill::before { display: none; }
.cos-explorer .cos-pill.ok { background: #E8F2EC !important; } .cos-explorer .cos-pill.warn { background: #F6EEDF !important; }
.cos-explorer .cos-pill.bad { background: #F8E6E4 !important; } .cos-explorer .cos-pill.muted { background: var(--cos-stage) !important; }
.cos-access .arr, .cos-hub .arr { fill: #8C887E; }
.cos-kiosk-illo { display: grid; place-items: center; }
.cos-deep .frow-media.cos-kiosk-media { padding: 0; background: var(--cos-stage); border: 1px solid var(--cos-divider); }
.frow-media.cos-kiosk-media .mdi { font-size: inherit; color: inherit; opacity: 1; }

/* Attention row on the CredentialOS page */
.cos-attn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 72px; }
.cos-attn-copy h3 { font-family: var(--cos-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--cos-ink); margin: 10px 0 6px; }
@media (max-width: 900px) { .cos-attn-row { grid-template-columns: 1fr; } }
/* Homepage: Console banner and video note */
.cos-home-console { width: 100%; max-width: 860px; }
.video-note { font-family: var(--cos-sans); font-size: 18px; font-weight: 500; color: var(--ink, #141413); text-align: left; margin: 0 0 16px; }
.video-note .cos-mark { font-size: 21px; vertical-align: -1px; }
/* Console surface inside article prose */
.prose .fs-app ul { margin: 0; padding: 0; list-style: none; }
.prose .fs-app li { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.prose .fs-app li::marker { content: none; }

/* Dark sections: used to break up long CredentialOS pages (never the hub hero) */
.cos-section.on-dark { background: var(--cos-dark); color: rgba(242, 240, 235, 0.78); }
.cos-section.on-dark .cos-label { color: #9DB3DA; }
.cos-section.on-dark .cos-h2, .cos-main .cos-section.on-dark h2, .cos-main .cos-section.on-dark h3, .cos-deep .cos-section.on-dark .cos-h2 { color: var(--cos-on-dark); }
.cos-section.on-dark .cos-lead, .cos-section.on-dark .cos-points li { color: rgba(242, 240, 235, 0.78); }
.cos-section.on-dark .cos-points li::before { background: #9DB3DA; }
.cos-main .cos-section.on-dark strong, .cos-main .cos-section.on-dark b { color: var(--cos-on-dark); }
/* Modules work like apps */
.cos-apps { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.cos-apps-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.cos-apps-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.5; }
.cos-apps-steps li > span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #34312E; background: #201E1D; color: #9DB3DA; display: grid; place-items: center; font-family: var(--cos-serif); font-weight: 500; font-size: 15px; }
.cos-apps-steps b { display: block; font-weight: 500; margin-bottom: 2px; }
/* Authority in practice, dark */
.on-dark .cos-authority { background: #201E1D; border-color: #34312E; }
.on-dark .cos-auth-ic { background: #262422; color: #9DB3DA; }
.on-dark .cos-authority-copy p { color: rgba(242, 240, 235, 0.78); }
.on-dark .cos-authority-copy strong { color: var(--cos-on-dark); }
/* Access rules, dark */
.on-dark .cos-rules-card { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); border-color: #34312E; }

/* Newsroom tile thumbnail and article cover (wordmark stand-ins until final art) */
.cos-thumb { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cos-dark); }
.cos-thumb .cos-mark { font-size: clamp(34px, 4.4vw, 58px); }
.news-thumb .cos-thumb .cos-mark { font-size: 30px; }
.article-cover.cos-cover { background: var(--cos-dark); max-width: 820px; aspect-ratio: 16 / 6; display: grid; place-items: center; text-align: center; padding: 24px; }
.cos-cover .cos-mark { font-size: clamp(44px, 7vw, 92px); }
.cos-cover .cap { display: block; margin-top: 14px; font-family: var(--cos-sans); font-size: 14px; color: rgba(242, 240, 235, 0.7); }
.prose .cos-table { margin: 22px 0 10px; }
.prose .cos-table a { color: var(--cos-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46, 74, 114, 0.35); }
.prose .cos-table a:hover { text-decoration-color: currentColor; }
.prose figure.cos-fig { margin: 30px 0; }
.prose figure.cos-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-sub, #6B6A64); text-align: center; }
@media (max-width: 980px) { .cos-practice { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) {
  .cos-console:not(.cos-hero-console) { grid-template-columns: 1fr; }
  .cos-console:not(.cos-hero-console) .cos-console-main { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cos-hub .pulse { display: none; }
  .cos-access .pulse { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .cos-split { grid-template-columns: 1fr; }
  .cos-exp-panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 820px) {
  .cos-explorer { grid-template-columns: 1fr; }
  .cos-exp-side { border-right: 0; padding: 18px 12px 12px; }
  .cos-exp-tab { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .cos-exp-tab .cos-exp-chev { display: block; }
  .cos-exp-tab.is-on .cos-exp-chev { transform: rotate(180deg); }
  .cos-exp-panels { background: #fff; border-radius: 12px; margin: 4px 0 10px; border: 1px solid var(--cos-divider); }
  .cos-exp-panel { padding: 20px 18px 22px; }
  .cos-cols, .cos-steps { grid-template-columns: 1fr; }
  .cos-stack-apps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cos-wrap { padding: 0 20px; }
  .cos-mini-stats { grid-template-columns: 1fr 1fr; }
  .cos-table th, .cos-table td { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cos-exp-panel.is-on { animation: none; }
}

/* ---------- Integrations pages (credentialos-integrations.html, commerce-integrations.html) ---------- */
.cos-crumb .cos-crumb-text { font-family: var(--cos-serif); font-weight: 500; font-size: 19px; color: var(--cos-ink); }
.int-car { margin: 36px auto 0; max-width: 960px; }
.int-car-stage { background: var(--cos-page); border: 1px solid var(--cos-divider); border-radius: 16px; overflow: hidden; touch-action: pan-y; }
.int-car-slide { margin: 0; }
.int-car-slide[hidden] { display: none; }
.int-car-slide.is-on { animation: int-car-in .45s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes int-car-in { from { opacity: 0; } to { opacity: 1; } }
.int-car-slide figcaption { padding: 18px clamp(16px, 3vw, 32px) 22px; border-top: 1px solid var(--cos-divider); font-size: 17px; line-height: 1.5; color: var(--cos-ink); text-align: center; background: #fff; min-height: 3.5em; display: grid; place-items: center; }
.int-car-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.int-car-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cos-divider); background: #fff; color: var(--cos-ink); font-size: 22px; cursor: pointer; transition: border-color .2s, background .2s; }
.int-car-btn:hover { border-color: var(--cos-accent); }
.int-car-btn:focus-visible, .int-car-dot:focus-visible { outline: 2px solid var(--cos-accent); outline-offset: 2px; }
.int-car-dots { display: flex; gap: 8px; }
.int-car-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #CFCBBE; cursor: pointer; transition: width .25s, background .25s; }
.int-car-dot.is-on { width: 24px; background: var(--cos-accent); }
.int-car-count { min-width: 3.6em; font-size: 14px; color: var(--cos-body); font-variant-numeric: tabular-nums; }
.int-car-count b { color: var(--cos-ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .int-car-slide.is-on { animation: none; } }
.int-group { margin-top: 44px; }
.cos-main .int-group-h { font-family: var(--cos-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cos-muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--cos-divider); }
.int-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.int-tile { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--cos-divider); border-radius: 12px; padding: 18px; }
.int-logo { flex: none; width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--cos-divider); background: #fff; display: grid; place-items: center; overflow: hidden; }
.int-logo img { width: 100%; height: 100%; object-fit: contain; }
.int-logo.sm { width: 44px; height: 44px; border-radius: 10px; }
.int-mono { font-family: var(--cos-serif); font-size: 22px; color: var(--cos-accent); }
.int-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.int-name { font-size: 15px; font-weight: 500; color: var(--cos-ink); }
.int-line { font-size: 14px; line-height: 1.45; color: var(--cos-body); }
.int-soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.int-soon-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--cos-divider); border-radius: 12px; background: var(--cos-page); }
@media (max-width: 1100px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .int-soon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .int-grid { grid-template-columns: 1fr; } .int-soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- BalanceU Kiosk page: kept sections and assets, CredentialOS type and colors ---------- */
.bk-page .bk-hero-mark { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.025em; font-size: clamp(54px, 8.6vw, 128px); line-height: 1; }
.bk-page .bk-hero-mark .bu-mark { font-size: 1em; }
.bk-page .bk-kiosk-word { color: var(--cos-on-dark); }
.bk-page .bk-hero-tag { font-family: var(--cos-sans); font-weight: 300; color: rgba(242, 240, 235, 0.78); }
.bk-page .cos-deep h2, .bk-page .cos-deep h3 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; }
.bk-page .cos-deep h4, .bk-page .cos-deep h5 { font-family: var(--cos-sans); font-weight: 500; }
.bk-page .cos-deep p, .bk-page .cos-deep li { font-family: var(--cos-sans); font-weight: 300; }
.bk-page .cos-deep .eyebrow { font-family: var(--cos-sans); font-weight: 500; letter-spacing: 0.12em; color: var(--cos-accent); }
.bk-page .cos-deep .section.on-gray { background: var(--cos-stage) !important; }
.bk-page .cos-deep .cta-strip h2 { color: #fff; }
.bk-page .cos-deep .bk-readers-section, .bk-page .cos-deep .bk-modes-section { background: var(--cos-dark) !important; color: var(--cos-on-dark); }
.bk-page .cos-deep .bk-readers-section h2, .bk-page .cos-deep .bk-modes-section h2 { color: #fff; }
.bk-page .cos-deep .bk-readers-section .eyebrow, .bk-page .cos-deep .bk-modes-section .eyebrow { color: rgba(242, 240, 235, 0.62); }
.bk-page .cos-deep .bk-readers-section .section-head .eyebrow, .bk-page .cos-deep .bk-modes-section .section-head .eyebrow { color: rgba(242, 240, 235, 0.62) !important; }

/* ---------- Sub-page marketing hero (.cos-deep-head.is-hero) ----------
 * Dark stage with a soft burnt-blue glow, copy on the left, a product visual on the right.
 * Keeps the CredentialOS > page crumb. Visual is either the console with this page's module
 * highlighted plus status cards that slide in, or an orbit of partner logos (integrations pages). */
.cos-deep-head.is-hero { position: relative; overflow: hidden; background: var(--cos-dark); color: var(--cos-on-dark); padding: calc(68px + clamp(40px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px); }
.cos-deep-head.is-hero::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(47, 100, 214, 0.28), rgba(47, 100, 214, 0)); pointer-events: none; }
.cos-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cos-deep-head.is-hero .cos-crumb { color: rgba(242, 240, 235, 0.55); }
.cos-deep-head.is-hero .cos-crumb .cos-mark .c { color: var(--cos-on-dark); }
.cos-deep-head.is-hero .cos-crumb .bu-mark .b { color: var(--cos-on-dark); }
.cos-deep-head.is-hero .cos-crumb .bu-mark .u { background: var(--bu-u-on-dark); -webkit-background-clip: text; background-clip: text; }
.cos-deep-head.is-hero .cos-crumb .mdi { color: rgba(242, 240, 235, 0.35); }
.cos-deep-head.is-hero .cos-crumb span, .cos-deep-head.is-hero .cos-crumb .cos-crumb-text { color: var(--cos-on-dark); }
.cos-deep-head.is-hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; max-width: 14ch; }
.cos-deep-head.is-hero .cos-lead { color: rgba(242, 240, 235, 0.78); font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; margin-top: 20px; }
.cos-deep-head.is-hero .cos-btn.primary { background: var(--cos-on-dark); color: var(--cos-ink); }
.cos-deep-head.is-hero .cos-btn.primary:hover { background: #fff; }
.cos-deep-head.is-hero .cos-btn.ghost { color: var(--cos-on-dark); border-color: rgba(242, 240, 235, 0.32); }
.cos-deep-head.is-hero .cos-btn.ghost:hover { border-color: var(--cos-on-dark); }
.cos-hero-visual { position: relative; }
.cos-hero-visual .cos-console { grid-template-columns: 200px 1fr; }
.cos-hero-visual .cos-console-main { padding: 22px 24px; }
.cos-hero-toasts { position: absolute; left: -28px; bottom: -22px; width: min(300px, 70%); height: 64px; }
.cos-hero-toast { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--cos-page); color: var(--cos-ink); border: 1px solid var(--cos-divider); border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55); font-size: 14px; opacity: 0; transform: translateY(10px); animation: cosToast 8s var(--ease-out, ease) infinite; }
.cos-hero-toast:nth-child(2) { animation-delay: 4s; }
.cos-hero-toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cos-ok); flex: none; }
.cos-hero-toast b { font-weight: 500; }
.cos-hero-toast .sk { display: block; height: 6px; width: 90px; border-radius: 4px; background: var(--cos-divider); margin-top: 6px; }
@keyframes cosToast { 0% { opacity: 0; transform: translateY(10px); } 6%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-6px); } }
/* Logo orbit for the integrations pages */
.cos-orbit { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.cos-orbit-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(242, 240, 235, 0.10); animation: cosOrbit 80s linear infinite; }
.cos-orbit-ring.inner { inset: 24%; animation-direction: reverse; animation-duration: 60s; }
.cos-orbit-logo { position: absolute; top: 50%; left: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }
.cos-orbit-logo span { display: grid; place-items: center; width: 100%; height: 100%; background: #fff; border-radius: 22%; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); overflow: hidden; animation: cosCounter 80s linear infinite; }
.cos-orbit-ring.inner .cos-orbit-logo span { animation-direction: reverse; animation-duration: 60s; }
.cos-orbit-logo img { width: 86%; height: 86%; object-fit: contain; }
.cos-orbit-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 18px 24px; background: #1A1918; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(47, 100, 214, 0.55); }
.cos-orbit-core .cos-mark, .cos-orbit-core .bu-mark { font-size: clamp(22px, 2.4vw, 32px); }
.cos-orbit-core .cos-mark .c { color: var(--cos-on-dark); }
.cos-orbit-core .bu-mark .b { color: var(--cos-on-dark); }
.cos-orbit-core .bu-mark .u { background: var(--bu-u-on-dark); -webkit-background-clip: text; background-clip: text; }
@keyframes cosOrbit { to { transform: rotate(360deg); } }
@keyframes cosCounter { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cos-hero-toast { animation: none; opacity: 1; transform: none; }
  .cos-hero-toast:nth-child(2) { display: none; }
  .cos-orbit-ring, .cos-orbit-logo span { animation: none; }
}
@media (max-width: 960px) {
  .cos-hero-grid { grid-template-columns: 1fr; }
  .cos-deep-head.is-hero h1 { max-width: 18ch; }
  .cos-hero-visual .cos-console { grid-template-columns: 1fr; }
  .cos-hero-visual .cos-console-main { display: none; }
  .cos-hero-toasts { left: 12px; bottom: -18px; }
}
.cos-hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); }
.cos-hero-visual .cos-console { grid-template-columns: 214px 1fr; }
.cos-hero-visual .cos-console-nav li { white-space: nowrap; font-size: 13.5px; }
@media (max-width: 960px) {
  .cos-hero-grid { grid-template-columns: 1fr; }
  .cos-hero-visual .cos-console { grid-template-columns: 1fr; }
  .cos-hero-visual { max-width: 520px; }
}

/* ===== Sketch animations: hand-drawn marker lines (reusable) =====
   Markup: <svg class="cos-sketch" data-sketch> with paths given pathLength="1" and class "sk-draw",
   timing per path via style="--d: <delay>; --t: <duration>". The page script adds .is-play when in view. */
.cos-sketch { display: block; width: 100%; height: auto; overflow: visible; color: var(--cos-ink); --sk-bg: var(--cos-stage); --sk-ink: #141413; --sk-mark: #2E4A72; }
.cos-sketch .sk-draw { fill: none; stroke: var(--sk-ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.cos-sketch .sk-mark { stroke: var(--sk-mark); }
.cos-sketch .sk-thin { stroke-width: 6; }
.cos-sketch .sk-fill { fill: var(--sk-bg); }
.cos-sketch.is-play .sk-draw { animation: sk-draw var(--t, .6s) cubic-bezier(.55, .05, .35, 1) var(--d, 0s) both; }
@keyframes sk-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.cos-sketch .sk-move { transform: translateX(0); }
.cos-sketch.is-play .sk-move { animation: sk-move var(--t, .6s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) both; }
@keyframes sk-move { to { transform: translateX(var(--x, 0)); } }
.cos-sketch.is-play .sk-out { animation: sk-out .4s ease var(--d, 0s) both; }
@keyframes sk-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cos-sketch .sk-out { display: none; }
  .cos-sketch .sk-draw, .cos-sketch.is-play .sk-draw { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* Integration partner call-out */
.int-partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.int-partner .cos-hero-cta { margin-top: 28px; }
@media (max-width: 860px) { .int-partner { grid-template-columns: 1fr; } .int-partner-art { max-width: 460px; } }

/* Orbit core: no panel behind the product name on the dark hero */
.cos-orbit-core { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.cos-orbit-core .cos-mark, .cos-orbit-core .bu-mark { font-size: clamp(26px, 3vw, 40px); }

/* ===== Home tile grid in the CredentialOS design language (layout unchanged) ===== */
.cos-tiles { background: var(--cos-page); }
.cos-tiles .tile { border-radius: 24px; color: var(--cos-ink); padding-bottom: clamp(28px, 3vw, 40px); }
.cos-tiles .tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -36px rgba(20, 20, 19, 0.4); }
.cos-tiles .cos-t-stage { background: var(--cos-stage); }
.cos-tiles .cos-t-white { background: #fff; border: 1px solid var(--cos-divider); }
.cos-tiles .cos-t-dark { background: var(--cos-dark, #141414); color: var(--cos-on-dark, #F2F0EB); }
.cos-tiles .tile-eyebrow { font-family: var(--cos-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #2E4A72; margin-bottom: 14px; }
.cos-tiles .tile h3 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: 0; line-height: 1.1; color: inherit; }
.cos-tiles .tile-sub { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
.cos-tiles .tile-links .banner-link { font-family: var(--cos-sans); font-weight: 500; color: #2E4A72; }
.cos-tiles .cos-t-dark .tile-eyebrow { color: rgba(242, 240, 235, 0.62); }
.cos-tiles .cos-t-dark .tile-sub { color: rgba(242, 240, 235, 0.74); }
.cos-tiles .cos-t-dark .tile-links .banner-link { color: var(--cos-on-dark, #F2F0EB); }
.cos-tiles .tile-sketch { width: min(400px, 86%); margin: auto auto 0; padding-top: 28px; }
.cos-tiles .tile-sketch .cos-sketch { --sk-bg: #fff; }
.cos-tiles .cos-t-stage .tile-sketch .cos-sketch { --sk-bg: var(--cos-stage); }
.cos-tiles .cos-t-dark .tile-sketch .cos-sketch { --sk-ink: #F2F0EB; --sk-mark: #7FA1E8; --sk-bg: var(--cos-dark, #141414); }
.cos-tiles .tile-sketch .sk-small .sk-draw { stroke-width: 5.5; }
.cos-tiles .tile-sketch .sk-small .sk-thin { stroke-width: 4; }

/* Sketch cycle eraser (js/sketch-cycle.js): a background-colored scribble that scrubs a frame out */
.cos-sketch .sk-eraser { fill: none; stroke: var(--sk-bg); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cos-tiles .tile-sketch .sk-small .sk-final .sk-draw { stroke-width: 10; }
.cos-tiles .tile-sketch .sk-small .sk-final .sk-thin { stroke-width: 7.5; }

/* ===== Footer in the CredentialOS design language (all pages) ===== */
.footer { border-top: 1px solid rgba(242, 240, 235, 0.08); background: var(--cos-dark, #141414); color: rgba(242, 240, 235, 0.66); padding-top: clamp(64px, 7vw, 96px); font-family: var(--cos-sans); }
.footer a { color: rgba(242, 240, 235, 0.66); transition: color .15s; }
.footer a:hover { color: #F2F0EB; }
.footer .footer-brand img { height: 26px; margin-bottom: 22px; }
.footer .footer-brand > p { font-family: var(--cos-serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: #F2F0EB; max-width: 15ch; }
.footer .footer-col h6, .footer .footer-subscribe-title { font-family: var(--cos-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: rgba(242, 240, 235, 0.46); }
.footer .footer-col a { font-size: 15px; font-weight: 300; }
.footer .footer-subscribe { margin-top: 32px; }
.footer .footer-subscribe-sub { color: rgba(242, 240, 235, 0.6); font-weight: 300; }
.footer .footer-newsletter input { background: #201E1D; border: 1px solid rgba(242, 240, 235, 0.14); color: #F2F0EB; font-family: var(--cos-sans); }
.footer .footer-newsletter input::placeholder { color: rgba(242, 240, 235, 0.38); }
.footer .footer-newsletter input:focus { outline: none; border-color: rgba(242, 240, 235, 0.45); }
.footer .btn-cyan { font-family: var(--cos-sans); font-weight: 500; }
.footer .footer-social a { background: #201E1D; border: 1px solid rgba(242, 240, 235, 0.1); color: #F2F0EB; }
.footer .footer-social a:hover { background: #2A2826; color: #fff; }
.footer .footer-bottom { border-top-color: rgba(242, 240, 235, 0.1); color: rgba(242, 240, 235, 0.46); font-weight: 300; }
.cos-tiles .tile-sketch .sk-small .sk-final-sm .sk-draw { stroke-width: 11; }
.cos-tiles .tile-sketch .sk-small .sk-final-sm .sk-thin { stroke-width: 8; }
/* Soft color fills that fade in under a finished sketch (final frames) */
.cos-sketch .sk-tint { stroke: none; opacity: 0; }

/* ===== Accessibility (WCAG 2.2 AA) ===== */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: #141413; color: #FAF9F5; font-family: var(--cos-sans); font-size: 15px; font-weight: 500; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; outline: 2px solid #2F64D6; outline-offset: 2px; }
main:focus { outline: none; }
/* footer column titles are h2s now (heading order); keep the label look */
.footer .footer-col .footer-h, .footer .footer-col h6, .footer .footer-subscribe-title { font-family: var(--cos-sans); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242, 240, 235, 0.62); margin: 0 0 16px; }
.footer .footer-subscribe-title { margin-bottom: 8px; }
.footer .footer-bottom { color: rgba(242, 240, 235, 0.62); }
/* contrast: small text below 4.5:1 */
.about-scroll-cue, .about-scroll-cue span { color: #6B6A64 !important; }
.rp-fineprint, .cf-fineprint { color: #6B6A64 !important; }
.cred-v3 .vid-vs-tag.is-no, .cred-v3 .vid-sdk-note { color: var(--cos-body); }
.frow-copy p, .bk-stand-note { color: #55555A !important; }
.cos-console.is-dark .cos-console-label { color: rgba(242, 240, 235, 0.62); }
.cos-pill.warn { color: #84540F; }
body .aa-rc { color: #B8B8BD; }
.cs-why-tagline { color: #7FA1E8 !important; }
.cp-nerd-card-eyebrow, .cos-mini .path, .path { color: #929294 !important; }
.cs-counter .total { color: rgba(0, 0, 0, 0.56) !important; }
.aa-page .eyebrow { color: #2E4A72; }
body.accent-balanceu { --accent: #B34D00; --accent-deep: #9A4200; }
.bu-cta { color: #A84700 !important; }
.status-bars-axis span { color: #5F6B7A !important; }
#status-updated, .status-hero small, .status-summary small { color: #475569 !important; }
/* links inside text: underline, not color alone */
article p a:not([class*="btn"]), .cf-fineprint a, .ct-way p a, .u-link, .news-article p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* target size: inline tile links and slider dots get a 24px hit area */
.tile-links .banner-link { min-height: 24px; display: inline-flex; align-items: center; }
.cs-dots button, .cs-why-dots button { position: relative; width: 24px !important; height: 24px !important; margin: 0 -3.5px; background: transparent !important; transform: none !important; }
.cs-dots button::before, .cs-why-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(15, 26, 60, 0.18); transition: background .25s, transform .25s; }
.cs-why-dots button { width: 24px !important; margin: 0 -4px; }
.cs-why-dots button::before { background: rgba(255, 255, 255, 0.22); transition: background .25s, width .25s; }
.cs-why-dots button.is-active { width: 36px !important; }
.cs-dots button:hover::before { background: rgba(15, 26, 60, 0.4); }
.cs-why-dots button:hover::before { background: rgba(255, 255, 255, 0.45); }
.cs-dots button.is-active::before { background: var(--accent); transform: translate(-50%, -50%) scale(1.35); }
.cs-why-dots button.is-active::before { width: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); }
.rp-fineprint { opacity: 1 !important; }
.status-uptime-badge small { color: #3F4B5C !important; }
.cs-mobile-dots { gap: 0 !important; }
.cs-mobile-dots button { position: relative; width: 24px !important; height: 24px !important; background: transparent !important; }
.cs-mobile-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 999px; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.22); transition: background .2s, width .2s; }
.cs-mobile-dots button.is-active { width: 38px !important; }
.cs-mobile-dots button.is-active::before { width: 22px; background: rgba(255, 255, 255, 0.85); }
.cs-text-col:focus-visible { outline: 2px solid #7FA1E8; outline-offset: 4px; border-radius: 8px; }

/* ===== Newsroom articles (every news-*.html shares main > article, .article-hero and .prose) ===== */
main > article { display: block; background: var(--cos-page); font-family: var(--cos-sans); }
main > article .section { background: transparent; }
main > article .article-hero .news-cat { font-family: var(--cos-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: #2E4A72; }
main > article .article-hero h1 { font-family: var(--cos-serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.01em; line-height: 1.08; color: #141413; margin: 16px 0 18px; text-wrap: balance; }
main > article .article-hero .deck, main > article .article-hero .article-deck { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
main > article .article-meta { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
main > article .article-cover { border-radius: 16px; }
main > article .prose p, main > article .prose li { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
main > article .prose p strong, main > article .prose li strong, main > article .prose b { font-weight: 500; color: #141413; }
main > article .prose .lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: #141413; }
main > article .prose h2 { font-family: var(--cos-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.01em; line-height: 1.15; color: #141413; }
main > article .prose h3, main > article .prose h4 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.005em; color: #141413; }
main > article .prose ul li::marker, main > article .prose ol li::marker { color: #2E4A72; }
main > article .prose .byline, main > article .prose .dateline { font-family: var(--cos-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: #2E4A72; }
main > article .prose a:not([class*="btn"]) { color: #2E4A72; }
main > article .prose .learn-more { color: #2E4A72; font-weight: 500; }
main > article .prose .pq, main > article .prose blockquote { border-left: 3px solid #2E4A72; background: var(--cos-stage); border-radius: 0 12px 12px 0; }
main > article .prose .pq p, main > article .prose blockquote p { font-family: var(--cos-serif); font-weight: 400; font-style: italic; color: #141413; }
main > article .prose .pq cite, main > article .prose blockquote cite { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
main > article .prose .pq cite strong { font-weight: 500; color: #141413; }
main > article .prose figcaption, main > article figcaption { font-family: var(--cos-sans); font-weight: 300; color: var(--cos-body); }
main > article .release-fig img { border-color: var(--cos-divider); }
main > article .release-clip .clip-frame { background: var(--cos-dark); }
main > article .release-cta { border-color: var(--cos-divider); }
main > article .release-cta p { font-family: var(--cos-serif); font-weight: 500; font-size: 22px; color: #141413; }
main > article .release-media h3 { font-family: var(--cos-serif); font-weight: 500; }
main > article .tm-note, main > article .prose .tm-note { color: #6B6A64; font-weight: 300; }
main > article .btn-primary { --btn-bg: #141413; --btn-fg: #FAF9F5; background: #141413; color: #FAF9F5; border-radius: 999px; font-family: var(--cos-sans); font-weight: 500; }
main > article .btn-primary:hover { --btn-bg: #2a2a28; background: #2a2a28; color: #FAF9F5; }
main > article .btn-ghost { background: transparent; color: #141413; border: 1px solid #CFCBBE; border-radius: 999px; font-family: var(--cos-sans); font-weight: 500; }
main > article .btn-ghost:hover { border-color: #141413; color: #141413; }
main > article h2, main > article h3, main > article h4, main > article h5 { font-family: var(--cos-serif); font-weight: 500; letter-spacing: -0.01em; color: #141413; }

/* ===== CredentialOS Nerd Mode interactive in the new design language (behavior unchanged) ===== */
.cos-nerd { --nd-accent: #7FA1E8; --nd-ok: #5DBB8A; --nd-wait: #E3A44E; --nd-fail: #E5776A; --nd-line: rgba(242, 240, 235, 0.09); --nd-panel: rgba(242, 240, 235, 0.035); }
.cos-nerd.cp-nerd { background: var(--cos-dark); color: rgba(242, 240, 235, 0.74); font-family: var(--cos-sans); }
.cos-nerd.cp-nerd::before, .cos-nerd.cp-nerd::after { display: none; }
.cos-nerd .cp-nerd-tag { font-family: var(--cos-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: rgba(242, 240, 235, 0.62); }
.cos-nerd .cp-nerd-tag .mdi { color: var(--nd-accent); }
.cos-main .cos-nerd .cp-nerd-copy h2 .accent { color: var(--nd-accent); }
.cos-nerd .cp-nerd-copy p, .cos-nerd .cp-nerd-list li { font-family: var(--cos-sans); font-weight: 300; color: rgba(242, 240, 235, 0.74); }
.cos-nerd .cp-nerd-list .mdi { color: var(--nd-accent); }
.cos-nerd .cp-nerd-quote { font-family: var(--cos-serif); font-style: italic; font-weight: 400; color: #F2F0EB; }
.cos-nerd .cp-nerd-quote::before, .cos-nerd .cp-nerd-quote::after { color: var(--nd-accent); }
/* try-it button: brand pill */
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta { background: #F2F0EB; border-color: #F2F0EB; border-radius: 999px; color: #141413; padding: 12px 20px; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta .mdi, .cos-nerd .cp-nerd-btn.cp-nerd-btn--cta .val { color: #141413; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta .lbl { color: rgba(20, 20, 19, 0.6); }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta:hover:not(:disabled) { background: #fff; border-color: #fff; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta:hover:not(:disabled) .cp-nerd-btn-arrow { color: #141413; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta.is-reset { background: transparent; border-color: rgba(242, 240, 235, 0.32); color: #F2F0EB; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta.is-reset .mdi, .cos-nerd .cp-nerd-btn.cp-nerd-btn--cta.is-reset .val { color: #F2F0EB; }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta.is-reset .lbl { color: rgba(242, 240, 235, 0.6); }
.cos-nerd .cp-nerd-btn.cp-nerd-btn--cta.is-reset:hover:not(:disabled) { background: rgba(242, 240, 235, 0.06); border-color: #F2F0EB; }
/* console window */
.cos-nerd .cp-nerd-callout { background: rgba(127, 161, 232, 0.07); border-color: rgba(127, 161, 232, 0.26); border-radius: 12px; color: rgba(242, 240, 235, 0.8); }
.cos-nerd .cp-nerd-callout .mdi { color: var(--nd-accent); }
.cos-nerd .cp-nerd-window { background: #1A1918; border-color: rgba(242, 240, 235, 0.1); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.cos-nerd .cp-nerd-windowbar { background: #201E1D; border-bottom-color: var(--nd-line); color: rgba(242, 240, 235, 0.6); }
.cos-nerd .cp-nerd-windowbar .dot.r, .cos-nerd .cp-nerd-windowbar .dot.a, .cos-nerd .cp-nerd-windowbar .dot.g { background: rgba(242, 240, 235, 0.16); }
.cos-nerd .cp-nerd-windowbar .path { color: rgba(242, 240, 235, 0.55) !important; }
.cos-nerd .cp-nerd-toggle { color: rgba(242, 240, 235, 0.62); font-family: var(--cos-sans); }
.cos-nerd .cp-nerd-toggle[aria-pressed="true"] { color: var(--nd-accent); }
.cos-nerd .cp-nerd-toggle[aria-pressed="true"] .cp-nerd-toggle-switch { background: rgba(127, 161, 232, 0.3); border-color: rgba(127, 161, 232, 0.55); }
.cos-nerd .cp-nerd-toggle[aria-pressed="true"] .cp-nerd-toggle-knob { background: var(--nd-accent); }
.cos-nerd .cp-nerd-card, .cos-nerd .cp-nerd-event, .cos-nerd .cp-nerd-chain, .cos-nerd .cp-nerd-detail { background: var(--nd-panel); border-color: var(--nd-line); border-radius: 12px; }
.cos-nerd .cp-nerd-detail-head { background: rgba(242, 240, 235, 0.03); border-bottom-color: var(--nd-line); }
.cos-nerd .cp-nerd-card-eyebrow { color: rgba(242, 240, 235, 0.6) !important; font-family: var(--cos-sans); }
.cos-nerd .cp-nerd-card-name { font-family: var(--cos-serif); font-weight: 500; color: #F2F0EB; }
.cos-nerd .cp-nerd-event .evt { color: var(--nd-accent); }
.cos-nerd .cp-nerd-status-pill { background: rgba(93, 187, 138, 0.14); border-color: rgba(93, 187, 138, 0.38); color: var(--nd-ok); }
.cos-nerd .cp-nerd-status-pill.is-suspended { background: rgba(227, 164, 78, 0.14); border-color: rgba(227, 164, 78, 0.4); color: var(--nd-wait); }
.cos-nerd .cp-nerd-status-pill .dot { box-shadow: none; }
.cos-nerd .cp-nerd-chain .step.ok .mdi, .cos-nerd .cp-nerd-chain .step[data-state="ok"] .ic { color: var(--nd-ok); }
.cos-nerd .cp-nerd-chain .step.bad .mdi, .cos-nerd .cp-nerd-chain .step[data-state="failed"] .ic { color: var(--nd-fail); }
.cos-nerd .cp-nerd-chain .step[data-state="inflight"] .ic, .cos-nerd .cp-nerd-chain .step[data-state="inflight"] .dur { color: var(--nd-accent); }
.cos-nerd .cp-nerd-chain .step[data-state="retrying"] .dur { color: var(--nd-wait); }
.cos-nerd .cp-nerd-chain .step[data-state="retrying"] .sys { color: #F1D3A6; }
.cos-nerd .cp-nerd-chain .step[data-state="retrying"] { background: rgba(227, 164, 78, 0.06); }
.cos-nerd .cp-nerd-chain .step[data-state="failed"], .cos-nerd .cp-nerd-chain .step.bad { background: rgba(229, 119, 106, 0.06); }
.cos-nerd .cp-nerd-chain .step[data-state="failed"] .sys, .cos-nerd .cp-nerd-chain .step.bad .sys { color: #F2C0B8; }
.cos-nerd .cp-nerd-chain .step[data-state="failed"] .dur, .cos-nerd .cp-nerd-chain .step.bad .dur { color: var(--nd-fail); }
.cos-nerd .cp-nerd-chain .step.is-selected::before { background: var(--nd-accent); }
.cos-nerd .cp-nerd-chain .step:hover, .cos-nerd .cp-nerd-chain .step.is-selected { background: rgba(242, 240, 235, 0.04); }
.cos-nerd .cp-nerd-summary { background: rgba(93, 187, 138, 0.07); border-color: rgba(93, 187, 138, 0.24); border-radius: 12px; color: rgba(242, 240, 235, 0.82); }
.cos-nerd .cp-nerd-summary .mdi { color: var(--nd-ok); }
.cos-nerd .cp-nerd-detail-head .dot { background: var(--nd-accent); box-shadow: none; }
.cos-nerd .cp-nerd-detail-head[data-tone="ok"] .dot { background: var(--nd-ok); }
.cos-nerd .cp-nerd-detail-head[data-tone="wait"] .dot { background: var(--nd-wait); }
.cos-nerd .cp-nerd-detail-head[data-tone="fail"] .dot { background: var(--nd-fail); }
.cos-nerd .cp-nerd-detail-head .title { font-family: var(--cos-sans); }
.cos-nerd .cp-nerd-detail-empty .mdi { color: var(--nd-accent); }
.cos-nerd .cp-nerd-trace-head b { color: var(--nd-accent); }
.cos-nerd .cp-nerd-trace.is-ok .cp-nerd-trace-head b { color: var(--nd-ok); }
.cos-nerd .cp-nerd-trace.is-wait .cp-nerd-trace-head b { color: var(--nd-wait); }
.cos-nerd .cp-nerd-trace.is-fail .cp-nerd-trace-head b { color: var(--nd-fail); }
.cos-nerd .cp-nerd-trace.is-fail pre { color: #F2C0B8; }
.cos-nerd .cp-nerd-failcard { background: rgba(229, 119, 106, 0.06); border-color: rgba(229, 119, 106, 0.3); border-radius: 12px; }
.cos-nerd .cp-nerd-failcard code .err { color: var(--nd-fail); }
.cos-nerd .cp-nerd-windowbar .badge { color: var(--nd-accent); background: rgba(127, 161, 232, 0.12); border-color: rgba(127, 161, 232, 0.3); }

/* ===== Self-service integrations animation (credentialos.html, balanceu.html) ===== */
.ssi { --ssi-bg: var(--cos-stage); --ssi-card: #fff; --ssi-ink: #141413; --ssi-muted: var(--cos-body); --ssi-line: var(--cos-divider); --ssi-accent: #2E4A72; --ssi-ok: #2F7A52; --ssi-row: 78px;
       position: relative; background: var(--ssi-bg); border-radius: 20px; padding: 22px 22px 26px; font-family: var(--cos-sans); }
.ssi.is-dark { --ssi-bg: #201E1D; --ssi-card: #2A2826; --ssi-ink: #F2F0EB; --ssi-muted: rgba(242, 240, 235, 0.7); --ssi-line: rgba(242, 240, 235, 0.1); --ssi-accent: #7FA1E8; --ssi-ok: #7FD1A4; }
.ssi-head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 14px; }
.ssi-head b { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ssi-muted); }
.ssi-head span { font-size: 12px; color: var(--ssi-muted); }
.ssi-rows { position: relative; display: grid; gap: 10px; }
.ssi-row { display: grid; grid-template-columns: 48px 1fr 66px 86px; align-items: center; gap: 14px; height: var(--ssi-row); padding: 0 16px; background: var(--ssi-card); border: 1px solid var(--ssi-line); border-radius: 14px; }
.ssi-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid rgba(20, 20, 19, 0.08); overflow: hidden; }
.ssi-logo img { width: 40px; height: 40px; object-fit: contain; }
.ssi-txt b { display: block; font-family: var(--cos-serif); font-size: 18px; font-weight: 500; color: var(--ssi-ink); }
.ssi-txt small { display: block; font-size: 13px; font-weight: 300; color: var(--ssi-muted); }
.ssi-toggle { width: 66px; height: 38px; overflow: visible; }
.ssi-toggle .trk { fill: transparent; stroke: var(--ssi-ink); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ssi-toggle .knob { fill: var(--ssi-card); stroke: var(--ssi-ink); stroke-width: 3.2; opacity: 0; }
.ssi-state { display: grid; font-size: 13px; font-weight: 500; color: var(--ssi-muted); }
.ssi-state > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; }
.ssi-state .on { opacity: 0; color: var(--ssi-ok); }
.ssi-state .on .mdi { font-size: 16px; }
.ssi-cursor { position: absolute; right: 108px; top: 0; width: 28px; height: 34px; opacity: 0; pointer-events: none; z-index: 2; }
.ssi-cursor path { fill: var(--ssi-card); stroke: var(--ssi-ink); stroke-width: 2.6; stroke-linejoin: round; }
.ssi-foot { margin: 18px 4px 0; }
.ssi-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: #2E4A72; text-decoration: none; }
.ssi-wrap.is-dark .ssi-foot a { color: #7FA1E8 !important; }
.ssi-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* play: track draws, cursor visits each toggle, knob slides, track fills, Healthy appears */
.ssi.is-play .ssi-toggle .trk { animation: ssi-draw .5s ease .1s forwards, ssi-fill .3s ease calc(1.1s + var(--i) * 1s) forwards; }
.ssi.is-play .ssi-toggle .knob { animation: ssi-knob-in .2s ease .5s forwards, ssi-knob-on .3s cubic-bezier(.5, 0, .2, 1) calc(1.1s + var(--i) * 1s) forwards; }
.ssi.is-play .ssi-state .off { animation: ssi-hide .2s linear calc(1.3s + var(--i) * 1s) forwards; }
.ssi.is-play .ssi-state .on { animation: ssi-show .3s ease calc(1.35s + var(--i) * 1s) forwards; }
.ssi.is-play .ssi-cursor { animation: ssi-cursor 3.4s cubic-bezier(.45, 0, .25, 1) .6s forwards; }
@keyframes ssi-draw { to { stroke-dashoffset: 0; } }
@keyframes ssi-fill { to { fill: var(--ssi-accent); stroke: var(--ssi-accent); } }
@keyframes ssi-knob-in { to { opacity: 1; } }
@keyframes ssi-knob-on { to { transform: translateX(28px); } }
@keyframes ssi-hide { to { opacity: 0; } }
@keyframes ssi-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes ssi-cursor {
  0% { opacity: 0; transform: translate(30px, calc(var(--ssi-row) * 0.5 + 10px)); }
  10% { opacity: 1; transform: translate(0, calc(var(--ssi-row) * 0.5 - 4px)); }
  16% { transform: translate(0, calc(var(--ssi-row) * 0.5 - 4px)) scale(0.88); }
  20% { transform: translate(0, calc(var(--ssi-row) * 0.5 - 4px)); }
  40% { transform: translate(0, calc(var(--ssi-row) * 1.5 + 6px)); }
  46% { transform: translate(0, calc(var(--ssi-row) * 1.5 + 6px)) scale(0.88); }
  50% { transform: translate(0, calc(var(--ssi-row) * 1.5 + 6px)); }
  70% { transform: translate(0, calc(var(--ssi-row) * 2.5 + 16px)); }
  76% { transform: translate(0, calc(var(--ssi-row) * 2.5 + 16px)) scale(0.88); }
  80% { opacity: 1; transform: translate(0, calc(var(--ssi-row) * 2.5 + 16px)); }
  100% { opacity: 0; transform: translate(24px, calc(var(--ssi-row) * 2.5 + 30px)); }
}
@media (max-width: 560px) { .ssi-row { grid-template-columns: 44px 1fr 60px; } .ssi-state { display: none; } .ssi-cursor { right: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .ssi .ssi-toggle .trk { stroke-dashoffset: 0; fill: var(--ssi-accent); stroke: var(--ssi-accent); animation: none !important; }
  .ssi .ssi-toggle .knob { opacity: 1; transform: translateX(28px); animation: none !important; }
  .ssi .ssi-state .off { opacity: 0; } .ssi .ssi-state .on { opacity: 1; }
  .ssi .ssi-cursor { display: none; }
}

/* ===== CredentialOS page: dark hero with the wordmark intro ===== */
.cos-hero.cos-hero-dark { position: relative; overflow: hidden; background: var(--cos-dark); color: var(--cos-on-dark); padding-bottom: clamp(64px, 8vw, 110px); }
.cos-hero-dark .cos-wrap { position: relative; }
.cos-hero-glow { position: absolute; left: 50%; top: 46%; width: min(1100px, 120vw); height: 620px; transform: translate(-50%, -50%) scale(0.85); pointer-events: none;
  background: radial-gradient(closest-side at 42% 50%, rgba(61, 111, 227, 0.30), rgba(61, 111, 227, 0) 70%), radial-gradient(closest-side at 62% 50%, rgba(142, 79, 216, 0.26), rgba(142, 79, 216, 0) 70%); opacity: 0; }
.cos-hero-dark .cos-hero-sub { color: rgba(242, 240, 235, 0.78); }
.cos-hero-dark .cos-btn.primary { background: var(--cos-on-dark); color: var(--cos-ink); }
.cos-hero-dark .cos-btn.primary:hover { background: #fff; }
.cos-hero-dark .cos-btn.ghost { color: var(--cos-on-dark); border-color: rgba(242, 240, 235, 0.32); }
.cos-hero-dark .cos-btn.ghost:hover { border-color: var(--cos-on-dark); }
.cos-hero-dark .cos-pieces::before { background: rgba(242, 240, 235, 0.12); }
.cos-hero-dark .cos-piece { color: var(--cos-on-dark); }
.cos-hero-dark .cos-piece .ic { background: #201E1D; border-color: rgba(242, 240, 235, 0.1); color: #8FB0EE; box-shadow: none; }
.cos-hero-dark .cos-piece:hover .ic { border-color: #8FB0EE; box-shadow: 0 14px 26px -16px rgba(127, 161, 232, 0.5); }
.cos-hero-dark .cos-hero-note { color: rgba(242, 240, 235, 0.62); }
.cos-hero-dark .cos-hero-note a { color: #8FB0EE; }
/* the wordmark, alone on a full-height stage */
.cos-hero-solo { min-height: 100svh; display: grid; place-items: center; padding: 96px 0 120px; }
.cos-hero-solo .cos-wrap { text-align: center; width: 100%; min-width: 0; }
.cos-hero-solo h1 { margin: 0; }
.cos-hero-solo .cos-mark { font-size: min(13vw, 210px, calc((100vw - 40px) / 6.5)); }
.cos-intro { position: relative; }
.cos-intro .os { background-image: linear-gradient(90deg, #3D6FE3, #6A5BE0, #8E4FD8, #6A5BE0, #3D6FE3); background-size: 200% 100%; background-position: 0 0; }
.cos-intro-real { display: inline-block; }
.cos-intro-sketch { position: absolute; left: 0; top: -0.14em; width: 5.969em; height: 1.28em; overflow: visible; pointer-events: none; }
.cos-intro-sketch path { fill: none; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.cos-intro-sketch .sk-c { stroke: #F2F0EB; }
.cos-intro-sketch .sk-os { stroke: url(#osSketchGrad); }
@media (prefers-reduced-motion: reduce) { .cos-intro-sketch { display: none; } }
.cos-hero-solo .cos-hero-sub { margin-top: 28px; font-size: clamp(18px, 1.6vw, 22px); }
.cos-hero-solo .cos-hero-sub { max-width: 62ch; text-wrap: balance; }
.cos-scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242, 240, 235, 0.22); color: rgba(242, 240, 235, 0.75); font-size: 22px; text-decoration: none; }
.cos-scroll-cue:hover { border-color: #F2F0EB; color: #F2F0EB; }
.cos-pieces-mod { margin-top: 36px; }
.cos-mod-note { text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .cos-intro-sketch path { animation: cos-sketch-draw .6s cubic-bezier(.55, .05, .35, 1) calc(.25s + var(--i) * 0.12s) forwards; }
  .cos-intro-sketch { animation: cos-sketch-out .7s cubic-bezier(.4, 0, .2, 1) 2.05s forwards; }
  .cos-intro-real { opacity: 0; filter: blur(8px); transform: scale(1.012); animation: cos-real-in .8s cubic-bezier(.2, .7, .2, 1) 2.0s forwards; }
  .cos-intro .os { animation: cos-os-flow 7s ease-in-out 3s infinite alternate; }
  .cos-hero-dark .cos-hero-glow { animation: cos-bloom 2s cubic-bezier(.2, .7, .2, 1) 2.05s forwards; }
  .cos-hero-solo .cos-hero-sub { opacity: 0; transform: translateY(10px); animation: cos-up 1.6s cubic-bezier(.2, .7, .2, 1) 2.9s forwards; }
  .cos-scroll-cue { opacity: 0; animation: cos-fade .8s ease 3.9s forwards, cos-bob 2.2s ease-in-out 4.7s infinite; }
}
@keyframes cos-sketch-draw { 0% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes cos-sketch-out { to { opacity: 0; filter: blur(3px); } }
@keyframes cos-real-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes cos-rise { to { transform: none; } }
@keyframes cos-line-in { to { transform: scaleX(1); opacity: 0.85; } }
@keyframes cos-line-out { to { transform: scaleX(0.35); opacity: 0.35; } }
@keyframes cos-os-land { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes cos-os-flow { to { background-position: 100% 0; } }
@keyframes cos-bloom { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } 55% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); } }
@keyframes cos-up { to { opacity: 1; transform: none; } }
@keyframes cos-fade { to { opacity: 1; } }
@keyframes cos-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ===== Newsroom: original post vs current product names (js/news-names.js) ===== */
.pn-note { display: flex; align-items: flex-start; gap: 12px; max-width: 720px; margin: 0 auto 28px; padding: 14px 18px; background: #F0EEE6; border: 1px solid rgba(20, 20, 19, 0.08); border-radius: 14px; text-align: left; font-family: var(--cos-sans, 'Poppins', sans-serif); font-size: 15px; line-height: 1.55; color: #3D3D3A; }
.pn-note p { margin: 0; }
.pn-ic { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: #2E4A72; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pn-toggle { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: #2E4A72; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.pn-toggle:hover { color: #1F3555; }
.pn-toggle:focus-visible { outline: 2px solid #2E4A72; outline-offset: 3px; border-radius: 3px; }
.pn-current .pn { background: rgba(46, 74, 114, 0.08); border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 2px; }

/* ===== Home tiles: Apple Wallet + Google Wallet (each keeps its own art and colors) ===== */
.cos-tiles .tile-wallet { padding-bottom: 0; overflow: hidden; position: relative; isolation: isolate; }
.cos-tiles .tile-wallet-art { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-top: auto; padding-top: 28px; }
.cos-tiles .cos-t-apple { background: #000; color: #fff; }
.cos-tiles .cos-t-apple h3 { color: #fff; }
.cos-tiles .cos-t-apple .tile-eyebrow { color: rgba(255, 255, 255, 0.66); }
.cos-tiles .cos-t-apple .tile-sub { color: rgba(255, 255, 255, 0.76); }
.cos-tiles .cos-t-apple .tile-links .banner-link { color: #fff; }
.cos-tiles .cos-t-apple .tile-wallet-art img { width: min(420px, 82%); height: auto; display: block; }
.cos-tiles .cos-t-google { background: #fff; border: 1px solid var(--cos-divider); }
.cos-tiles .cos-t-google::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(34px);
  background: radial-gradient(ellipse 50% 55% at 18% 25%, rgba(66, 133, 244, 0.2), transparent 70%), radial-gradient(ellipse 55% 50% at 82% 18%, rgba(52, 168, 83, 0.16), transparent 70%), radial-gradient(ellipse 55% 55% at 75% 80%, rgba(251, 188, 4, 0.22), transparent 70%), radial-gradient(ellipse 50% 50% at 25% 80%, rgba(234, 67, 53, 0.16), transparent 70%); }
.cos-tiles .cos-t-google .tile-links .banner-link { color: #1A5FC4; }
.cos-tiles .cos-t-google .tile-wallet-art { min-height: clamp(260px, 26vw, 340px); }
.cos-tiles .cos-t-google .gp-phone { position: relative; z-index: 2; width: min(250px, 56%); height: auto; display: block; filter: drop-shadow(0 -8px 24px rgba(15, 26, 60, 0.16)); }
.cos-tiles .cos-t-google .gp-watch { position: absolute; bottom: 0; left: 14%; z-index: 1; width: min(160px, 34%); height: auto; display: block; transform-origin: bottom right; transition: transform 0.55s cubic-bezier(0.34, 1.36, 0.64, 1); filter: drop-shadow(0 -8px 24px rgba(15, 26, 60, 0.18)); }
.cos-tiles .cos-t-google:hover .gp-watch { transform: translateX(-14%) rotate(-9deg); }
.cos-tiles .cos-t-google .gp-shape { position: absolute; display: block; pointer-events: none; }
.cos-tiles .cos-t-google .gp-shape svg { display: block; width: 100%; height: auto; }
.cos-tiles .cos-t-google .gp-shape.s1 { top: 14%; left: 12%; width: clamp(40px, 5vw, 56px); color: #FBBC04; transform: rotate(-12deg); }
.cos-tiles .cos-t-google .gp-shape.s2 { top: 20%; right: 12%; width: clamp(36px, 4.4vw, 50px); color: #EA4335; transform: rotate(16deg); }
.cos-tiles .cos-t-google .gp-shape.s3 { top: 54%; right: 9%; width: clamp(26px, 3.4vw, 38px); color: #7C4DFF; transform: rotate(8deg); }
.cos-tiles .cos-t-google .gp-shape.s4 { bottom: 12%; right: 18%; width: clamp(20px, 2.6vw, 28px); color: #34A853; transform: rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .cos-tiles .cos-t-google .gp-watch { transition: none; } .cos-tiles .cos-t-google:hover .gp-watch { transform: none; } }
