/* ============================================================
   Cotribute Design System — v2 design pass
   Brand: teal #4ABFAE · orange #F69E23 · ink #1C242C
   Type: Bricolage Grotesque (display) + Inter (body)
   Signature: "ledger strip" metrics — documented, not promised
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&display=swap');

:root {
  --teal: #F69E23;
  --teal-dark: #D87F0A;
  --teal-deep: #B8690A;
  --teal-tint: #FDF3E4;

  --orange: #F69E23;
  --orange-dark: #DD8A12;
  --los-cotribute-accent: #4ABFAE;
  --los-cotribute-edge: #2D8F82;
  --los-cotribute-fill: #E7F6F3;
  --los-system-accent: #F69E23;
  --los-system-edge: #C8780C;
  --los-system-fill: #FFF1DD;
  --ink: #1C242C;
  --ink-soft: #29333D;
  --muted: #73808C;
  --bg: #FBFBFA;
  --card: #FFFFFF;
  --border: #E0E6EB;
  --hairline: #D3DAE0;
  --muted-bg: #F3F5F7;
  --danger: #EF4444;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28,36,44,.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink-soft); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal-dark); }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2.5px solid var(--teal-dark); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: .5em; }
h3 { font-size: 1.22rem; margin-bottom: .4em; }
p.lead { font-size: 1.16rem; color: var(--muted); max-width: 44em; line-height: 1.6; }
.muted { color: var(--muted); }

/* Eyebrow: small-caps kicker with leading rule — quieter than a pill */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,1); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { height: 64px; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal-dark); }
.nav a.active { color: var(--teal-deep); box-shadow: 0 2px 0 var(--teal); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff !important; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-accent { background: var(--orange); color: #fff !important; }
.btn-accent:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--teal-deep) !important; border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 60px; background:
  linear-gradient(180deg, rgba(236,248,246,.55) 0%, rgba(251,251,250,0) 60%),
  repeating-linear-gradient(180deg, transparent 0 31px, rgba(28,36,44,.035) 31px 32px);
}
.hero .lead { margin: 20px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-img img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(28,36,44,.10); display: block; }
.hero-dark { background: var(--ink); color: #fff; }
.hero-dark h1, .hero-dark h2 { color: #fff; }
.hero-dark .lead { color: #B9C2CB; }

/* Hero load sequence — one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero h1, .hero .lead, .hero .hero-cta, .hero .hero-img {
    animation: rise .6s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero h1 { animation-delay: .06s; }
  .hero .lead { animation-delay: .12s; }
  .hero .hero-cta { animation-delay: .18s; }
  .hero .hero-img { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tint { background: var(--teal-tint); }
.section-white { background: #fff; }
.section-tint-orange { background: #FEF6EC; }
/* Warm the neutral surfaces inside the tinted band so nothing reads cool-gray */
.section-tint-orange pre,
.section-tint-orange code { background: #FFFCF8; border-color: #F2D6B0; }
.section-tint-orange pre code { background: none; border: 0; }
.section-tint-orange .table-wrap { background: #FFFCF8; border-color: #F2D6B0; }
.section-tint-orange th { background: #FBEBD6; }
.section-tint-orange td { border-bottom-color: #F2D6B0; }
.section-tint-orange hr.rule { border-top-color: #EFD9BC; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #B9C2CB; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ============================================================
   SIGNATURE: the ledger strip.
   Metrics set like entries in a ruled ledger — oversized tabular
   numerals, small-caps labels, and the attribution as the receipt.
   ============================================================ */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin: 24px 0; border-top: 2px solid var(--ink); }
.metric { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 22px 24px 20px 0; text-align: left; box-shadow: none; position: relative; display: flex; flex-direction: column; }
.metric + .metric { border-left: 1px solid var(--hairline); padding-left: 24px; }
.metric .lbl { flex: 1; }

/* why-sub metric bands: fixed column counts + consistent cell borders so a
   wrapped cell never dangles with a stray left rule and no top rule */
.why-sub .metrics { grid-template-columns: repeat(4, 1fr); }
.why-sub .metrics .metric { border-left: 1px solid var(--hairline); padding: 22px 20px 20px; }
.why-sub .metrics .metric:nth-child(4n+1) { border-left: 0; padding-left: 0; }
@media (max-width: 960px) {
  .why-sub .metrics { grid-template-columns: repeat(2, 1fr); }
  .why-sub .metrics .metric:nth-child(4n+1) { border-left: 1px solid var(--hairline); padding-left: 20px; }
  .why-sub .metrics .metric:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .why-sub .metrics { grid-template-columns: 1fr; }
  .why-sub .metrics .metric,
  .why-sub .metrics .metric:nth-child(2n+1),
  .why-sub .metrics .metric:nth-child(4n+1) { border-left: 0; padding-left: 0; }
}
.metric .num { font-family: var(--display); font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 800; color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.metric .lbl { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; line-height: 1.45; }
.metric .src { font-size: .8rem; color: var(--teal-deep); margin-top: 6px; font-style: normal; font-weight: 600; }
.metric .src::before { content: "✓ "; }
.metric .src.src-link { color: var(--ink-soft); }
.metric .src.src-link::before { content: none; }
.metric .src a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.metric .src a:hover { color: var(--orange-dark); }
.card-list { margin: 0 0 16px; padding-left: 1.15em; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; flex: 1; }
.card-list li { margin-bottom: 8px; }
.card-list li:last-child { margin-bottom: 0; }

.section-dark .metric .num, .cta-band .metric .num { color: #fff; }
.section-dark .metric .lbl { color: #B9C2CB; }
.section-dark .metric .src { color: var(--teal); }
.section-dark .metrics { border-top-color: #fff; }
.section-dark .metric, .section-dark .metric + .metric { border-color: rgba(255,255,255,.18); }

/* ---------- Cards: quiet, hover speaks ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .18s ease; }
.card:hover { border-color: var(--teal); }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.card .card-link { margin-top: 14px; font-weight: 600; }
.card .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-tint); padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; align-self: flex-start; }
.card > img.card-img { border-radius: 8px; border: 1px solid var(--border); margin-bottom: 16px; }

/* ---------- Connected lending workflow ---------- */
.los-process { margin: 32px 0 24px; }
.los-process__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 10px; border-top: 3px solid var(--teal); }
.los-process__title { margin: 0; color: var(--teal-deep); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.los-process__legend { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.los-process__key { display: inline-flex; align-items: center; gap: 8px; }
.los-process__key::before { box-sizing: border-box; width: 18px; height: 18px; border: 1px solid var(--los-cotribute-edge); border-top: 4px solid var(--los-cotribute-accent); background: var(--los-cotribute-fill); content: ""; }
.los-process__key--system::before { border-color: var(--los-system-edge); border-top-color: var(--los-system-accent); background: var(--los-system-fill); }
.los-process__steps { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.los-process__step { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 10px 6px; border: 1px solid var(--los-cotribute-edge); border-top: 4px solid var(--los-cotribute-accent); background: var(--los-cotribute-fill); color: var(--ink); font-size: .86rem; font-weight: 700; line-height: 1.15; text-align: center; }
.los-process__step--system { border-color: var(--los-system-edge); border-top-color: var(--los-system-accent); background: var(--los-system-fill); color: var(--ink); }
.los-process__summary { margin: 16px 0 0; max-width: none; }
.why-sub .section-dark .los-process__title,
.why-page .section-dark .los-process__title { color: var(--teal); }
.why-sub .section-dark .los-process__legend,
.why-page .section-dark .los-process__legend { color: #C3D0D4; }
.why-sub .section-dark .los-process__step,
.why-page .section-dark .los-process__step { border-color: var(--los-cotribute-edge); border-top-color: var(--los-cotribute-accent); background: var(--los-cotribute-fill); color: var(--ink); }
.why-sub .section-dark .los-process__step--system,
.why-page .section-dark .los-process__step--system { border-color: var(--los-system-edge); border-top-color: var(--los-system-accent); background: var(--los-system-fill); color: var(--ink); }
.why-sub .section-dark .los-process__summary,
.why-page .section-dark .los-process__summary { color: #EDF1F0; }
.los-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.los-model { border-top: 2px solid var(--ink); padding-top: 18px; }
.los-model p { color: var(--muted); }
.los-commitment { border-left: 3px solid var(--orange); padding: 4px 0 4px 20px; margin-top: 28px; max-width: 58em; }
.los-commitment p { margin: 0; }
@media (max-width: 840px) {
  .los-process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .los-process__header { align-items: flex-start; flex-direction: column; }
  .los-process__legend { align-items: flex-start; flex-direction: column; }
  .los-process__steps { grid-template-columns: 1fr; gap: 5px; }
  .los-process__step { justify-content: flex-start; min-height: 46px; padding: 10px 14px; text-align: left; }
  .los-process__step::before { min-width: 1.75em; color: var(--teal-deep); content: attr(data-step) "."; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .7rem; }
  .los-process__step--system::before { color: var(--orange); }
  .los-models { grid-template-columns: 1fr; }
}

/* ---------- Screenshots ---------- */
.shot { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: border-color .18s ease; }
.shot:hover { border-color: var(--teal); }
.shot img { display: block; width: 100%; }
.shot .cap { padding: 14px 18px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--border); }

/* ---------- Logo wall ---------- */
.logo-wall { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: center; padding: 28px 0; }
.logo-wall img { height: 32px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .18s, opacity .18s; }
.logo-wall img:hover { filter: none; opacity: 1; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
/* scroll shadows: hint that wide tables swipe sideways on small screens */
.table-wrap {
  background-image:
    linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%),
    radial-gradient(farthest-side at 0 50%, rgba(28, 36, 44, .16), rgba(28, 36, 44, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(28, 36, 44, .16), rgba(28, 36, 44, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll;
}
@media (max-width: 640px) {
  .table-wrap table { font-size: .82rem; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; }
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { background: var(--muted-bg); text-align: left; padding: 13px 16px; font-weight: 700; border-bottom: 2px solid var(--ink); white-space: nowrap; font-family: var(--display); letter-spacing: .01em; }
td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
td.win { background: var(--teal-tint); font-weight: 600; }
.check { color: var(--teal-deep); font-weight: 700; }

/* ---------- Quote ---------- */
.quote { background: var(--card); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 28px 32px; margin: 28px 0; box-shadow: var(--shadow); }
.quote p { font-family: var(--display); font-size: 1.18rem; font-weight: 600; font-style: normal; color: var(--ink); line-height: 1.45; letter-spacing: -0.005em; }
.quote .who { margin-top: 16px; font-family: var(--font); font-size: .88rem; font-weight: 600; color: var(--muted); }
.quote .who::before { content: "— "; color: var(--teal-dark); }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .18s ease; }
.faq details[open], .faq details:hover { border-color: var(--teal); }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 48px 18px 22px; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; color: var(--teal-dark); font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details div { padding: 0 22px 18px; color: var(--muted); }
.faq .persona, .persona { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffffff; background: #F69E23; border: 1px solid #D97F0A; padding: 2px 8px; border-radius: 999px; margin-right: 10px; vertical-align: middle; line-height: 1.4; }
.faq summary { display: list-item; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; margin-top: 28px; }
.step { display: flex; gap: 20px; margin-bottom: 0; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.steps .step:first-child { border-top: 2px solid var(--ink); }
.step .n { counter-increment: step; flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.step .n::before { content: counter(step); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); border-radius: var(--radius); padding: 52px; margin: 72px auto; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(255,255,255,.045) 23px 24px); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #B9C2CB; margin-top: 6px; }
.cta-band .btn-primary { background: var(--orange); }
.cta-band .btn-primary:hover { background: var(--orange-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C2CB; padding: 56px 0 32px; margin-top: 72px; }
.site-footer a { color: #B9C2CB; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-logo { display: flex; flex-direction: column; }
.footer-logo img { width: auto; height: 48px; align-self: flex-start; object-fit: contain; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-dark); }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 24px; }
.prose li { margin-bottom: 8px; }

/* ============================================================
   Why Cotribute — homepage editorial treatment
   Scoped to the hub so the rest of the static site is unchanged.
   ============================================================ */
.why-page {
  --why-ink: #1B2420;
  --why-deep: #141C19;
  --why-navy: #1F3B4D;
  --why-body: #3F4A46;
  --why-steel: #4A778C;
  --why-steel-light: #8FB3C4;
  --why-teal: #3EB3A6;
  --why-orange: #F09F2E;
  --why-lime: #8BC53F;
  --why-paper-alt: #F1F3F2;
  --why-cream: #FBF3E8;
  --why-rule: #DDE1E0;
  color: var(--why-body);
  font-family: "Instrument Sans", var(--font);
}
.why-page h1,
.why-page h2,
.why-page h3 { color: var(--why-navy); font-family: "Newsreader", Georgia, serif; letter-spacing: 0; }
.why-page h3[id] { scroll-margin-top: 88px; }
/* The rule above would otherwise recolor text on dark surfaces it shares the page with. */
.why-page .cta-band h1,
.why-page .cta-band h2,
.why-page .cta-band h3 { color: #fff; }
.why-page .cta-band p { color: #B9C2CB; }
.why-page .section-dark h2,
.why-page .section-dark h3 { color: #fff; }
.why-page .section-dark p { color: #C3D0D4; }
.why-page .crumbs { padding-bottom: 18px; }
.why-page .why-hero {
  background: var(--why-ink);
  color: #EDF1F0;
  padding: clamp(64px, 8vw, 112px) 0 0;
}
.why-page .why-hero .eyebrow {
  color: var(--why-steel-light);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .16em;
}
.why-page .why-hero .eyebrow::before { background: var(--why-orange); }
.why-page .why-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  max-width: 17ch;
}
.why-page .why-hero .lead { color: #B7C6CC; margin-bottom: clamp(44px, 6vw, 72px); max-width: 61ch; }
.why-proof-strip {
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.why-proof-strip span {
  color: #C3D0D4;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  padding: 18px 20px 18px 0;
  text-transform: uppercase;
}
.why-proof-strip span + span { border-left: 1px solid rgba(255,255,255,.16); padding-left: 20px; }
.why-index-band { background: #fff; padding: clamp(48px, 6vw, 76px) 0; }
.why-index-grid {
  counter-reset: why-index;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-index-grid li { counter-increment: why-index; border-top: 1px solid var(--why-rule); }
.why-index-grid li:nth-child(-n+2) { border-top: 2px solid var(--why-navy); }
.why-index-grid li:nth-child(odd) { padding-right: 28px; }
.why-index-grid li:nth-child(even) { border-left: 1px solid var(--why-rule); padding-left: 28px; }
.why-index-grid a {
  align-items: baseline;
  color: var(--why-navy);
  display: flex;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 600;
  gap: 16px;
  padding: 20px 6px 20px 0;
  transition: color .18s ease, padding-left .18s ease;
}
.why-index-grid a::before {
  color: var(--why-steel);
  content: counter(why-index, decimal-leading-zero);
  flex: 0 0 2.2em;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .66rem;
  letter-spacing: .1em;
}
.why-index-grid a:hover { color: var(--teal-dark); padding-left: 5px; }
.why-page .why-chapter { padding: clamp(68px, 8vw, 104px) 0; }
.why-page .why-chapter .container { max-width: 960px; }
.why-page .why-chapter h2,
.why-page .why-summary h2,
.why-page .why-numbers h2,
.why-page .why-next h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 22ch;
  margin-bottom: 36px;
}
.why-page .why-chapter h2::before {
  color: var(--why-steel);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.why-page .why-chapter--outcomes h2::before { content: "Outcomes"; }
.why-page .why-chapter--change h2::before { content: "Change without replacement"; }
.why-page .why-chapter--growth h2::before { content: "Relationship growth"; }
.why-page .why-chapter--accountability h2::before { content: "Accountability"; }
.why-page .why-chapter--platform h2::before { content: "The platform"; }
.why-page .why-chapter--governance h2::before { content: "Governance"; }
.why-page .why-chapter h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-top: 38px; max-width: 31ch; }
.why-page .why-chapter h3[data-item]::before {
  color: var(--why-steel);
  content: attr(data-item);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 10px;
}
.why-page .why-chapter h2 + h3 { margin-top: 0; }
.why-page .why-chapter p { max-width: 72ch; margin: 12px 0; }
.why-page .why-chapter p > a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.why-page .why-warm { background: var(--why-cream); }
.why-page .why-control { background: var(--why-ink); }
.why-page .why-control h2,
.why-page .why-control h3 { color: #fff; }
.why-page .why-control h2::before { color: var(--why-steel-light); }
.why-page .why-control h3[data-item]::before { color: var(--why-steel-light); }
.why-page .why-control p { color: #C3D0D4; }
.why-page .why-control a { color: var(--why-orange); }
.why-page .why-chapter .src {
  border-left: 2px solid var(--why-teal);
  color: var(--why-body);
  font-size: .92rem;
  margin: 22px 0 28px;
  max-width: 68ch;
  padding: 4px 0 4px 18px;
}
.why-page .why-chapter .src cite {
  color: var(--why-steel);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-style: normal;
  letter-spacing: .09em;
  margin-top: 7px;
  text-transform: uppercase;
}
.why-page .why-control .src { border-left-color: var(--why-orange); color: #EDF1F0; }
.why-page .why-control .src cite { color: var(--why-steel-light); }
.why-page .why-outcomes .table-wrap { border: 0; border-radius: 0; overflow: visible; }
.why-page .why-outcomes table,
.why-page .why-outcomes tbody,
.why-page .why-outcomes tr,
.why-page .why-outcomes td { display: block; }
.why-page .why-outcomes thead { display: none; }
.why-page .why-outcomes tbody { border-top: 2px solid var(--why-navy); display: grid; grid-template-columns: repeat(4, 1fr); }
.why-page .why-outcomes tr { border-bottom: 1px solid var(--why-rule); padding: 22px 20px 22px 0; }
.why-page .why-outcomes tr + tr { border-left: 1px solid var(--why-rule); padding-left: 20px; }
.why-page .why-outcomes td { border: 0; padding: 0; }
.why-page .why-outcomes td:first-child { color: var(--why-navy); font-size: .75rem; letter-spacing: .07em; margin-bottom: 12px; text-transform: uppercase; }
.why-page .why-outcomes td:last-child { font-family: "Newsreader", Georgia, serif; font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.why-page .why-outcomes cite { color: var(--why-steel); display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .61rem; font-style: normal; letter-spacing: .07em; margin-top: 12px; text-transform: uppercase; }
.why-page .why-summary { background: var(--why-paper-alt); padding: clamp(68px, 8vw, 96px) 0; }
.why-page .why-summary .container { max-width: 900px; }
.why-page .why-summary h3 { border-left: 2px solid var(--why-orange); font-size: clamp(1.5rem, 3vw, 2.1rem); padding-left: 22px; max-width: 28ch; }
.why-page .why-summary p { max-width: 68ch; margin-top: 18px; }
.why-page .why-numbers { padding: clamp(68px, 8vw, 96px) 0; }
.why-page .why-next { background: var(--why-cream); padding: clamp(68px, 8vw, 96px) 0; }
.why-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; margin: 32px 0; padding: 0; }
.why-role-grid li { border-top: 1px solid #E5D8C6; padding: 22px 24px 22px 0; }
.why-role-grid li:nth-child(odd) { padding-right: 28px; }
.why-role-grid li:nth-child(even) { border-left: 1px solid #E5D8C6; padding-left: 28px; }
.why-role-grid a { color: var(--why-navy); display: block; font-family: "Newsreader", Georgia, serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 5px; }
.why-role-grid a:hover { color: var(--teal-dark); }
.why-page .why-cta-section { padding: 0; }
.why-page .why-cta { border-radius: 0; margin: 72px auto; }
.why-page .why-cta ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.why-page .why-cta a { border: 1px solid rgba(255,255,255,.5); border-radius: 6px; color: #fff; display: inline-flex; font-weight: 600; padding: 13px 20px; }
.why-page .why-cta li:first-child a { background: var(--why-orange); border-color: var(--why-orange); color: var(--why-ink); }
.why-page .site-footer { margin-top: 0; }

@media (max-width: 760px) {
  .why-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .why-proof-strip span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; }
  .why-proof-strip span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
  .why-index-grid,
  .why-role-grid,
  .why-page .why-outcomes tbody { grid-template-columns: 1fr; }
  .why-index-grid li:nth-child(2) { border-top-width: 1px; }
  .why-index-grid li:nth-child(even),
  .why-index-grid li:nth-child(odd),
  .why-role-grid li:nth-child(even),
  .why-role-grid li:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 0; }
  .why-page .why-outcomes tr + tr { border-left: 0; padding-left: 0; }
  .why-page .why-cta { margin: 48px 0; padding: 34px 26px; }
  .why-page .why-cta ul { align-items: stretch; flex-direction: column; width: 100%; }
  .why-page .why-cta a { justify-content: center; }
}

/* ============================================================
   Homepage hero: the live application ticket ("osim")
   The 2-minute claim, performed instead of asserted.
   ============================================================ */
.osim { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(28,36,44,.13); overflow: hidden; max-width: 460px; margin-left: auto; }
.osim-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--muted-bg); font-size: .84rem; font-weight: 600; color: var(--ink); }
.osim-live { color: var(--teal-deep); display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.osim-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.osim-rows { padding: 6px 20px 2px; }
.osim-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--hairline); font-size: .92rem; color: var(--ink-soft); }
.osim-row:last-child { border-bottom: 0; }
.osim-row .st { color: var(--teal-deep); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: .85rem; }
.osim-row .st::before { content: "✓ "; }
.osim-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--teal-tint); border-top: 1px solid var(--border); }
.osim-foot .cap { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-deep); max-width: 12em; line-height: 1.4; }
.osim-foot .timer { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .osim-live::before { animation: osim-pulse 1.6s ease-in-out infinite; }
  .osim-row { opacity: 0; animation: osim-in .45s ease forwards; }
  .osim-row:nth-child(1) { animation-delay: .9s; }
  .osim-row:nth-child(2) { animation-delay: 2.1s; }
  .osim-row:nth-child(3) { animation-delay: 3.3s; }
  .osim-row:nth-child(4) { animation-delay: 4.5s; }
  .osim-foot .cap { opacity: 0; animation: osim-in .5s ease 5.7s forwards; }
  @keyframes osim-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes osim-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,191,174,.5); } 50% { box-shadow: 0 0 0 6px rgba(74,191,174,0); } }
}

/* Alternate hero: the stack assembling on your core ("stackviz") */
.stackviz { max-width: 440px; margin-left: auto; display: flex; flex-direction: column; gap: 10px; }
.stackviz .layer { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 6px 24px rgba(28,36,44,.08); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stackviz .layer .nm { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.stackviz .layer .ds { font-size: .78rem; color: var(--muted); text-align: right; }
.stackviz .layer.l3 { border-left: 3px solid var(--orange); }
.stackviz .layer.l2 { border-left: 3px solid var(--teal); }
.stackviz .layer.l1 { border-left: 3px solid var(--teal-deep); }
.stackviz .base { background: var(--ink); border-radius: var(--radius); padding: 18px 20px; color: #fff; text-align: center; }
.stackviz .base .nm { font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; }
.stackviz .base .ds { font-size: .78rem; color: #B9C2CB; margin-top: 3px; }
.stackviz .chip { align-self: center; background: var(--teal-tint); border: 1px solid var(--teal); color: var(--teal-deep); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  .stackviz .base { animation: stack-in .5s cubic-bezier(.2,.7,.2,1) .3s both; }
  .stackviz .layer.l1 { animation: stack-in .5s cubic-bezier(.2,.7,.2,1) 1.1s both; }
  .stackviz .layer.l2 { animation: stack-in .5s cubic-bezier(.2,.7,.2,1) 1.9s both; }
  .stackviz .layer.l3 { animation: stack-in .5s cubic-bezier(.2,.7,.2,1) 2.7s both; }
  .stackviz .chip { animation: stack-in .5s ease 3.5s both; }
  @keyframes stack-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) { .stackviz { margin: 0 auto; } }

/* Hero variant C: the origination pipeline ("pipe") */
.pipe { max-width: 470px; margin-left: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(28,36,44,.13); overflow: hidden; }
.pipe-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--muted-bg); }
.pipe-head .t { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pipe-head .scenario { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--ink); transition: opacity .3s; }
.pipe-channels { display: flex; gap: 8px; padding: 14px 18px 4px; }
.pipe-ch { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 8px 4px; transition: all .3s; }
.pipe-ch.on { color: #fff; background: var(--teal); border-color: var(--teal); }
.pipe-stages { padding: 6px 18px 4px; }
.pipe-st { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--hairline); }
.pipe-st:last-child { border-bottom: 0; }
.pipe-st .dot { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hairline); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; color: transparent; transition: all .25s; }
.pipe-st.active .dot { border-color: var(--teal); }
.pipe-st.done .dot { border-color: var(--teal); background: var(--teal); color: #fff; }
.pipe-st.done .dot::before { content: "✓"; }
.pipe-st .nm { font-weight: 700; font-size: .92rem; color: var(--ink); min-width: 96px; }
.pipe-st .ds { font-size: .8rem; color: var(--muted); transition: opacity .3s; }
.pipe-st.active .nm { color: var(--teal-deep); }
.pipe-foot { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; background: var(--teal-tint); border-top: 1px solid var(--border); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); min-height: 46px; }
.pipe-foot .done-msg { opacity: 0; transition: opacity .35s; }
.pipe.finished .pipe-foot .done-msg { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .pipe-st.active .dot { animation: pipe-pulse 1s ease-in-out infinite; }
  @keyframes pipe-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,191,174,.45); } 50% { box-shadow: 0 0 0 6px rgba(74,191,174,0); } }
}
@media (max-width: 860px) { .pipe { margin: 0 auto; } }

/* Hero: hub-and-spoke network (mcp.html style) — channels → platform → domains */
.net { max-width: 470px; margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
.net-row { display: flex; gap: 10px; justify-content: center; width: 100%; }
.net-node { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; font-size: .82rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap; }
.net-links { display: flex; justify-content: center; gap: 64px; height: 36px; }
.net-links.wide { gap: 46px; }
.net-line { position: relative; width: 2px; height: 100%; background: var(--hairline); overflow: hidden; border-radius: 2px; }
.net-line i { position: absolute; left: -2px; top: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.net-hub { position: relative; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 22px 12px; text-align: center; box-shadow: 0 12px 36px rgba(28,36,44,.22); min-width: 250px; }
.net-hub .nm { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.net-hub .sub { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9fd9d0; margin-top: 3px; }
.net-hub::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid rgba(74,191,174,.5); border-radius: 18px; }
.net-hub-rows { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 8px; text-align: left; }
.net-hub-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: .76rem; font-weight: 600; color: #C7CFD6; padding: 3.5px 0; }
.net-hub-row .ck { color: var(--teal); font-weight: 800; font-size: .8rem; }
.net-hub-row .ck::before { content: "✓"; }
.net-chip { background: var(--teal-tint); border: 1px solid var(--teal); color: var(--teal-deep); border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 700; }
.net-ticker { width: 100%; overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.net-track { display: flex; gap: 8px; width: max-content; }
.net-tick { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-size: .75rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .net-hub-row { opacity: .35; animation: hub-row 9s ease-in-out infinite; }
  .net-hub-row .ck { opacity: 0; transform: scale(.5); animation: hub-ck 9s cubic-bezier(.2,.7,.2,1) infinite; }
  .net-hub-row:nth-child(1), .net-hub-row:nth-child(1) .ck { animation-delay: .4s; }
  .net-hub-row:nth-child(2), .net-hub-row:nth-child(2) .ck { animation-delay: 1.2s; }
  .net-hub-row:nth-child(3), .net-hub-row:nth-child(3) .ck { animation-delay: 2.0s; }
  .net-hub-row:nth-child(4), .net-hub-row:nth-child(4) .ck { animation-delay: 2.8s; }
  .net-hub-row:nth-child(5), .net-hub-row:nth-child(5) .ck { animation-delay: 3.6s; }
  @keyframes hub-row { 0%,3% { opacity: .35; } 9%,84% { opacity: 1; } 92%,100% { opacity: .35; } }
  @keyframes hub-ck { 0%,5% { opacity: 0; transform: scale(.5); } 11%,84% { opacity: 1; transform: scale(1); } 92%,100% { opacity: 0; transform: scale(.5); } }
  .net-line i { animation: net-drop 1.8s cubic-bezier(.4,0,.6,1) infinite; }
  .net-links .net-line:nth-child(1) i { animation-delay: 0s; }
  .net-links .net-line:nth-child(2) i { animation-delay: .45s; }
  .net-links .net-line:nth-child(3) i { animation-delay: .9s; }
  .net-links .net-line:nth-child(4) i { animation-delay: 1.35s; }
  .net-hub::after { animation: net-ring 2.4s ease-in-out infinite; }
  .net-track { animation: net-scroll 26s linear infinite; }
  @keyframes net-drop { 0% { transform: translateY(-8px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(44px); opacity: 0; } }
  @keyframes net-ring { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
  @keyframes net-scroll { to { transform: translateX(-50%); } }
}
@media (max-width: 860px) { .net { margin: 0 auto; } .net-links { gap: 40px; } .net-links.wide { gap: 26px; } }

/* Trust strip under hero */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; padding: 22px 0; }
.trust-strip .cap { text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.trust-strip .logo-wall { padding: 0; gap: 22px 38px; }
.trust-strip .logo-wall img { height: 26px; }

@media (max-width: 860px) { .osim { margin: 0 auto; } }

/* ---------- People (leadership) ---------- */
.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 32px; }
.person { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .18s ease; }
.person:hover { border-color: var(--teal); }
.person .photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal-tint); margin-bottom: 16px; display: block; }
.person h3 { margin-bottom: 2px; }
.person .role { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.person .li { font-size: .85rem; font-weight: 600; }
.person details { margin-top: 12px; border-top: 1px solid var(--hairline); }
.person details summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; color: var(--teal-deep); padding: 12px 0 0; }
.person details summary::-webkit-details-marker { display: none; }
.person details summary::after { content: " +"; }
.person details[open] summary::after { content: " –"; }
.person details p { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.person.compact { text-align: center; }
.person.compact .photo { margin: 0 auto 14px; }
.person.compact .role { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .site-header .logo img { height: 50px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
  .hero { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric + .metric { border-left: 0; padding-left: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--hairline); padding-left: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .cta-band { padding: 32px 24px; }
}
@media (max-width: 760px) {
  .site-footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-logo { display: contents; }
  .footer-logo > img, .footer-logo > p { order: 0; }
  .footer-grid > div:not(.footer-logo) { order: 1; }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr; }
  .metric:nth-child(even) { border-left: 0; padding-left: 0; }
}

/* Wide tables scroll horizontally inside their container on mobile */
@media (max-width: 720px) {
  table.ct { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}

/* ---------- Code ---------- */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--muted-bg); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; }
pre { background: var(--muted-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; margin: 14px 0 22px; }
pre code { background: none; border: 0; padding: 0; font-size: .95rem; }
hr.rule { border: 0; border-top: 1px solid var(--border); margin: 34px 0; }

/* Article-style lists inside content sections (bullets indented, not hanging) */
#connect ul, #connect ol { padding-left: 24px; margin: 12px 0 22px; }
#connect li { margin-bottom: 8px; }

/* ---------- Why Cotribute sub-pages (shared editorial treatment) ---------- */
.why-sub .hero {
  background: var(--why-ink);
  color: #EDF1F0;
  padding: clamp(56px, 6vw, 84px) 0 clamp(52px, 6vw, 76px);
}
.why-sub .hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; max-width: 20ch; }
.why-sub .hero .eyebrow {
  color: var(--why-orange);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.why-sub .hero .eyebrow::before { background: var(--why-orange); }
.why-sub .hero .lead { color: #B7C6CC; margin: 20px 0 0; max-width: 61ch; }
.why-sub .crumbs { padding-bottom: 16px; }

.why-sub .section { padding: clamp(60px, 7vw, 92px) 0; }
.why-sub .section .container,
.why-sub .section .container-narrow { max-width: 960px; }
.why-sub .section > .container > h2,
.why-sub .section > .container-narrow > h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 8px;
  max-width: 24ch;
}
.why-sub .section h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-top: 40px; max-width: 34ch; }
.why-sub .section h2 + h3 { margin-top: 26px; }
.why-sub .section p { margin: 14px 0; max-width: 72ch; }
.why-sub .section .cards p,
.why-sub .section .card p,
.why-sub .section .faq p,
.why-sub .section td p { max-width: none; }
.why-sub .section .card h3 { margin-top: 0; }
.why-sub .section-alt { background: var(--why-paper-alt); }
.why-sub .section-tint { background: var(--why-cream); }
.why-sub .section-dark { background: var(--why-deep); }
.why-sub .section-dark h2, .why-sub .section-dark h3 { color: #fff; }
.why-sub .section-dark p { color: #C3D0D4; }

.why-sub .src {
  border-left: 2px solid var(--why-teal);
  color: var(--why-body);
  font-size: .92rem;
  margin: 22px 0 28px;
  max-width: 68ch;
  padding: 4px 0 4px 18px;
}
.why-sub .src cite {
  color: var(--why-steel);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-style: normal;
  letter-spacing: .09em;
  margin-top: 7px;
  text-transform: uppercase;
}
.why-sub .section-dark .src { border-left-color: var(--why-orange); color: #EDF1F0; }
.why-sub .section-dark .src cite { color: var(--why-steel-light); }

.why-sub .cards { align-items: stretch; }
.why-sub .cards > .card {
  background: #fff;
  border: 1px solid var(--why-rule);
  border-radius: 10px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.why-sub .section-alt .cards > .card,
.why-sub .section-tint .cards > .card { background: #fff; }

.why-sub .quote {
  border-left: 3px solid var(--why-orange);
  border-radius: 0;
  background: transparent;
  padding: 6px 0 6px 24px;
}
.why-sub .quote p { font-family: "Newsreader", Georgia, serif; font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.35; }
.why-sub .quote .who {
  color: var(--why-steel);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .09em;
  margin-top: 14px;
  text-transform: uppercase;
}

.why-sub .table-wrap { border-color: var(--why-rule); }
.why-sub table th {
  color: var(--why-navy);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.why-sub .faq details { border-bottom: 1px solid var(--why-rule); }
.why-sub .faq summary { font-family: "Newsreader", Georgia, serif; font-size: 1.08rem; }

@media (max-width: 760px) {
  .why-sub .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
  .why-sub .section h3 { margin-top: 30px; }
}
.why-sub .cards > .card h3 + p { margin-top: 8px; }
.why-sub .cards > .card p:last-child { margin-bottom: 0; }
.why-sub .cards:has(> .card:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .why-sub .cards:has(> .card:nth-child(4):last-child) { grid-template-columns: 1fr; }
}

/* ---------- Home page: restore its intended serif display face ---------- */
.v2-homepage h1,
.v2-homepage h2,
.v2-homepage h3,
.v2-homepage h4 { font-family: "Newsreader", Georgia, serif !important; }

/* ---------- Why Cotribute pages: match home reading rhythm ---------- */
.why-page {
  font-size: clamp(16px, .35vw + 15px, 17.5px);
  line-height: 1.62;
}
.why-page .why-chapter > .container,
.why-page .why-hero > .container,
.why-page .why-index > .container,
.why-sub .section .container { max-width: 1120px; }
.why-sub .section .container-narrow { max-width: 860px; }
.why-sub .section { padding: clamp(56px, 7vw, 104px) 0; }
.why-sub .hero { padding: clamp(56px, 7vw, 104px) 0 clamp(52px, 6vw, 88px); }

/* Implementation page: distinguish adjacent integration and team subsections. */
.why-sub .implementation-team-heading { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- why-sub hero CTA row (marketing pages) ---------- */
.why-sub .hero .lead { margin-bottom: 0; }
.why-sub .hero-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  margin-top: clamp(28px, 3.4vw, 40px);
}
.why-sub .hero-cta > a:not(.btn) { color: var(--why-steel-light); text-decoration: underline; text-underline-offset: 3px; }
.why-sub .hero-cta > a:not(.btn):hover { color: #fff; }
.why-sub .hero-cta .btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.why-sub .hero-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Resources page: shared dark heading band (keeps orange accent) ---------- */
.why-page .rx-hero {
  background: var(--why-ink); max-width: none;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 76px);
}
.why-page .rx-hero > * { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.why-page .rx-hero h1 { color: #fff; font-family: "Newsreader", Georgia, serif; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; }
.why-page .rx-hero p { color: #B7C6CC; }
.why-page .rx-hero .section-label,
.why-page .rx-hero .eyebrow { color: var(--why-orange); }

/* Action row: primary button + secondary link, vertically centered */
.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:36px;}
.action-row > a{margin:0;}
@media (max-width:560px){
  .action-row{flex-direction:column;align-items:flex-start;gap:14px;}
  .action-row > .btn{width:100%;text-align:center;}
}

/* ---- CFO ROI calculator ---- */
.calc{display:grid;gap:20px;margin:28px 0 32px;}
.calc-card{border:1px solid #E2E6EA;border-radius:14px;background:#fff;padding:22px 24px 24px;margin:0;box-shadow:0 1px 2px rgba(28,36,44,.04);}
.calc-legend{float:left;width:100%;font-family:'Newsreader',Georgia,serif;font-size:1.22rem;font-weight:700;color:var(--ink,#1C242C);padding:0;margin:0 0 16px;}
.calc-toggle{clear:both;display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5B6874;margin:2px 0 18px;cursor:pointer;}
.calc-toggle input{width:16px;height:16px;accent-color:var(--teal-dark);}
.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;}
.calc-field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.calc-field--wide{grid-column:1 / -1;}
.calc-field > label{font-size:.92rem;font-weight:500;color:#3C4854;line-height:1.35;}
.calc-input{position:relative;display:block;}
.calc-input input{width:100%;box-sizing:border-box;height:44px;padding:0 12px;border:1px solid #D7DDE3;border-radius:9px;background:#FCFDFD;font:inherit;font-size:1rem;text-align:right;color:var(--ink,#1C242C);}
.calc-input--unit input{padding-right:34px;}
.calc-input input:focus{outline:none;border-color:var(--teal-dark);box-shadow:0 0 0 3px rgba(216,127,10,.15);}
.calc-unit{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:.9rem;color:#8A949E;pointer-events:none;}
.calc-hint{margin:2px 0 0;font-size:.8rem;line-height:1.4;color:#7B858F;}
.calc-results{border:1px solid #E2E6EA;border-radius:16px;background:#FBFCFC;padding:26px 24px;margin:28px 0 8px;}
.calc-results__title{margin:0 0 18px;font-size:1.3rem;}
.calc-headline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.calc-headline__item{background:#fff;border:1px solid #E7EBEF;border-radius:12px;padding:18px 18px 16px;}
.calc-headline__item .num{font-family:'Newsreader',Georgia,serif;font-size:1.85rem;font-weight:700;line-height:1.1;color:var(--ink,#1C242C);}
.calc-headline__item .lbl{margin-top:8px;font-size:.85rem;line-height:1.35;color:#68727C;}
.calc-results__note{margin:18px 0 0;font-size:.95rem;color:#4A555F;}
.calc-notice{margin:14px 0 0;font-size:.92rem;color:#7A4B05;}
.calc-notice:empty{display:none;}
.calc-notice:not(:empty){background:var(--teal-tint,#FDF3E4);border-left:3px solid var(--teal-dark);border-radius:0 8px 8px 0;padding:12px 14px;}
.calc-results .table-wrap{margin-top:22px;}
.calc-breakdown-note{margin:12px 0 0;font-size:.85rem;}
@media (max-width:760px){
  .calc-grid{grid-template-columns:1fr;}
  .calc-headline{grid-template-columns:1fr;}
  .calc-card{padding:18px 16px 20px;}
  .calc-results{padding:20px 16px;}
}

/* Footnote-style block (sources & assumptions) */
p.footnote{font-size:.8rem;line-height:1.55;color:var(--muted);max-width:64em;}
h3.footnote{font-size:.95rem;margin-bottom:6px;color:var(--muted);}
.why-sub .section h3.footnote{font-size:.95rem;margin-top:24px;max-width:none;font-family:"Instrument Sans",system-ui,sans-serif;color:var(--muted);}

/* ---------- Developer Hub ---------- */
.developer-page .crumbs { padding-bottom: 18px; }
.developer-hero { padding: clamp(58px, 7vw, 94px) 0; }
.developer-hero h1 { color: #fff; max-width: 16ch; }
.developer-hero .eyebrow { color: var(--why-orange); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .7rem; letter-spacing: .16em; }
.developer-hero .eyebrow::before { background: var(--why-orange); }
.developer-hero .lead { color: #C3D0D4; max-width: 68ch; margin-bottom: 0; }
.developer-hero .lead strong { color: #fff; }
.developer-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; padding-top: 64px; }
.developer-toc { position: sticky; top: 94px; border-top: 2px solid var(--why-navy); padding-top: 16px; }
.developer-toc-label, .dev-kind { color: var(--why-steel); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .68rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.developer-toc ol { list-style: decimal-leading-zero; margin: 14px 0 0 2.2em; }
.developer-toc li { color: var(--why-steel); padding: 3px 0 3px 5px; }
.developer-toc a { color: var(--why-body); font-size: .86rem; }
.developer-toc a:hover { color: var(--teal-dark); }
.developer-content { min-width: 0; max-width: 790px; }
.developer-content > section { scroll-margin-top: 92px; padding: 0 0 72px; }
.developer-content > section + section { border-top: 1px solid var(--why-rule); padding-top: 72px; }
.developer-content h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); margin: 8px 0 16px; }
.developer-content h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.developer-content p { margin: 12px 0; max-width: 72ch; }
.developer-content ul, .developer-content ol { padding-left: 24px; }
.developer-content li { margin-bottom: 9px; }
.developer-content .dev-lede { color: var(--why-body); font-size: 1.08rem; line-height: 1.7; }
.developer-content .dev-tight { margin-bottom: 8px; }
.dev-note { border-left: 3px solid var(--why-orange); background: var(--why-cream); padding: 20px 22px; margin: 28px 0; }
.dev-note p:last-child { margin-bottom: 0; }
.dev-steps { counter-reset: dev-step; list-style: none; padding-left: 0 !important; margin: 28px 0; }
.dev-steps > li { counter-increment: dev-step; position: relative; border-top: 1px solid var(--why-rule); padding: 22px 0 22px 54px; margin: 0; }
.dev-steps > li:first-child { border-top: 2px solid var(--why-navy); }
.dev-steps > li::before { content: counter(dev-step, decimal-leading-zero); position: absolute; left: 0; top: 24px; color: var(--why-steel); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .75rem; font-weight: 600; }
.dev-steps h3 { margin: 0 0 6px; }
.dev-code { border: 1px solid var(--why-rule); border-radius: 8px; overflow: hidden; margin: 18px 0 26px; background: var(--why-deep); }
.dev-code-bar { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 7px 10px 7px 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
.dev-code-name { color: var(--why-steel-light); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.dev-copy { appearance: none; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; background: transparent; color: #fff; cursor: pointer; font: 600 .72rem "IBM Plex Mono", ui-monospace, monospace; min-width: 66px; padding: 7px 10px; }
.dev-copy:hover { background: rgba(255,255,255,.09); }
.dev-code pre { margin: 0; border: 0; border-radius: 0; background: transparent; color: #E9EFED; padding: 20px; }
.dev-code-cell, .dev-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .88em; overflow-wrap: anywhere; }
.dev-nowrap { white-space: nowrap; }
.dev-verb { display: inline-block; border: 1px solid var(--why-teal); border-radius: 4px; color: var(--why-steel); font: 600 .68rem "IBM Plex Mono", ui-monospace, monospace; padding: 2px 6px; }
.dev-post { border-color: var(--why-orange); }
.dev-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--why-navy); margin: 24px 0; }
.dev-cap { padding: 22px 20px 6px 0; }
.dev-cap + .dev-cap { border-left: 1px solid var(--why-rule); padding-left: 20px; }
.dev-cap h3 { margin-top: 0; }
.dev-ask { color: var(--why-steel); font-style: italic; }
.dev-bounds { list-style: none; padding-left: 0 !important; border-top: 2px solid var(--why-navy); margin-top: 22px; }
.dev-bounds li { border-bottom: 1px solid var(--why-rule); padding: 13px 0 13px 30px; position: relative; }
.dev-bounds li::before { content: "—"; color: var(--why-orange); left: 0; position: absolute; }
.developer-page .site-footer { margin-top: 0; }
@media (max-width: 900px) {
  .developer-shell { grid-template-columns: 1fr; gap: 36px; padding-top: 42px; }
  .developer-toc { position: static; }
  .developer-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .developer-content { max-width: none; }
}
@media (max-width: 640px) {
  .developer-toc ol { grid-template-columns: 1fr; }
  .developer-content > section { padding-bottom: 52px; }
  .developer-content > section + section { padding-top: 52px; }
  .dev-caps { grid-template-columns: 1fr; }
  .dev-cap, .dev-cap + .dev-cap { border-left: 0; border-bottom: 1px solid var(--why-rule); padding: 20px 0; }
  .dev-nowrap { white-space: normal; }
  .developer-page .cta-band { padding: 34px 24px; }
}

/* Keep the complete NPS copy block centered, including constrained headings. */
.why-sub .nps-section h2{margin-left:auto;margin-right:auto;}
.why-sub .nps-section p{margin-left:auto;margin-right:auto;text-align:center;}

/* Partner ecosystem band (full color, shared with home page) */
.eco{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:28px 44px;margin:28px auto 0;padding:30px 26px;background:#FBFBFA;border:1px solid #DDE1E0;border-radius:10px;max-width:960px}
.eco__cell{display:flex;align-items:center;justify-content:center}
.eco__cell img{display:block;height:32px;width:auto;max-width:190px;object-fit:contain;filter:none;opacity:1}
.eco__cell>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.eco__note{margin:18px auto 0;max-width:780px;font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,monospace;font-size:11.5px;letter-spacing:.09em;line-height:1.9;text-transform:uppercase;color:#4A778C;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;text-align:center}
.eco__note span{white-space:nowrap}
.eco__note span:not(:last-child)::after{content:"·";margin-left:14px;opacity:.5}
@media (max-width:900px){.eco{gap:24px 34px}.eco__cell img{height:28px}}
@media (max-width:520px){.eco{gap:20px 26px}.eco__cell img{height:24px}}



/* Member Activation page */
.ma-flow{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;align-items:center}
.ma-flow span{padding:8px 14px;border:1px solid currentColor;border-radius:999px;font-size:14px;font-weight:600;opacity:.9}
.ma-flow span.core{background:var(--orange,#F69E23);border-color:transparent;color:#1C242C;opacity:1}
.ma-flow i{font-style:normal;opacity:.6}
.ma-filter input{position:absolute;opacity:0;pointer-events:none}
.ma-filter .chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 24px}
.ma-filter label{cursor:pointer;padding:8px 14px;border-radius:999px;border:1px solid #cfd6dc;font-size:14px;font-weight:600}
.ma-filter #f-all:checked~.chips label[for=f-all],.ma-filter #f-in:checked~.chips label[for=f-in],.ma-filter #f-mem:checked~.chips label[for=f-mem],.ma-filter #f-inst:checked~.chips label[for=f-inst]{background:#1C242C;color:#fff;border-color:#1C242C}
.ma-filter #f-all:focus-visible~.chips label[for=f-all],.ma-filter #f-in:focus-visible~.chips label[for=f-in],.ma-filter #f-mem:focus-visible~.chips label[for=f-mem],.ma-filter #f-inst:focus-visible~.chips label[for=f-inst]{outline:2px solid #4ABFAE;outline-offset:2px}
#f-in:checked~.cards .card:not([data-m=in]),#f-mem:checked~.cards .card:not([data-m=mem]),#f-inst:checked~.cards .card:not([data-m=inst]){display:none}
.card .mode{display:block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;opacity:.65;margin-bottom:6px}
.ma-table{width:100%;border-collapse:collapse;margin-top:20px;font-size:15px}
.ma-table th,.ma-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #e3e8ec;vertical-align:top}
.ma-table thead th{background:#1C242C;color:#fff}
.ma-table tbody th{font-weight:600;width:22%}
.ma-wrap{overflow-x:auto;max-width:100%;min-width:0;width:100%;-webkit-overflow-scrolling:touch}
.why-page .container>.ma-wrap,.why-page .calc-results>.ma-wrap{display:block}
.ma-pull{font-size:26px;font-weight:700;margin-top:28px;text-align:center}
.ma-cases{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.ma-cases label{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #D7DDE3;border-radius:999px;font-size:.92rem;font-weight:600;cursor:pointer}
.ma-cases input{accent-color:var(--teal-dark)}
.ma-case-label{font-size:.92rem;font-weight:500;color:#3C4854}
.ma-assume{margin-top:18px}.ma-assume summary{cursor:pointer;font-weight:600;margin-bottom:14px}
.calc-results .ma-table td:last-child{text-align:right;white-space:nowrap;font-weight:600}
#ma-calc .calc-grid{clear:both}
.ma-break tbody th{font-family:inherit;text-transform:none;letter-spacing:0;font-size:.95rem;width:34%}
.ma-break td.how{color:#5A6570;font-size:.9rem}
@media (max-width:640px){.ma-break thead{display:none}.ma-break,.ma-break tbody{display:block}.ma-break tr{display:grid;width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;border-bottom:1px solid #e3e8ec}.ma-break th,.ma-break td{border:0;padding:0 4px;width:auto;min-width:0;white-space:normal;background:none}.ma-break td.how{grid-column:1/-1;grid-row:2}.ma-break td.how:empty{display:none}.ma-break tbody th{width:auto}.ma-break caption{display:block}}
.why-sub .hero .ma-answer{color:#fff;margin:16px 0 6px;max-width:61ch}
