/* Cahndu type scale. One font (IBM Plex Sans) and one size per text role on every page.
   The big CAHNDU word in the home hero keeps its own font. */
:root{--t-h1:clamp(42px,5vw,72px);--t-h2:clamp(30px,3.1vw,44px);--t-h3:clamp(18px,1.4vw,20px);--t-lead:17px;--t-body:16px;--t-card:14.5px;--t-label:12px;--t-big:clamp(22px,2.2vw,30px)}
@media(max-width:600px){:root{--t-lead:16px;--t-body:15.5px;--t-card:14.5px}}

/* Font family everywhere, except the hero CAHNDU mark */
body,body button,body input,body select,body textarea,.clc-label,.clc-card{font-family:'IBM Plex Sans',system-ui,sans-serif!important}

/* Page titles on inner pages */
.ab-mast h1,.in-mast h1,.ct-mast h1{font-size:var(--t-h1)!important;font-weight:600!important;line-height:1.02!important;letter-spacing:-.035em!important}

/* Section headings */
.who-heading,.articles-heading,.who-we-serve-heading,.fa-text h2,.wy-title,.faq-title,.cf-cta-title,
.d2-why-h,.ab-h2,.x-cta-copy h2,.in-list-head h2,.in-band-box h2,.ct-bottom-grid h2,.ar-more h2
{font-size:var(--t-h2)!important;font-weight:600!important;line-height:1.1!important;letter-spacing:-.025em!important}

/* Card and item titles */
.who-pillar h3,.articles-bento-card h3,.who-we-serve-card-label,.wy-card h3,.adv2-card h3,.in-card h3,.ct-route h3,.in-feat-body h2
{font-size:var(--t-h3)!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.012em!important}
.in-feat-body h2{font-size:clamp(22px,2vw,28px)!important}

/* Small labels above headings */
.policy-eyebrow,.articles-eyebrow,.who-we-serve-eyebrow,.fa-eyebrow,.wy-eyebrow,.wy-stat-label,.in-eyebrow,.ab-label,.d2-label,.clc-label,.cf-eyebrow,.in-feat-label,.ch-eyebrow,.ct-info>h3,.ar-takeaways h3,.ar-watch h3
{font-size:var(--t-label)!important;font-weight:700!important;letter-spacing:.2em!important}

/* Intro text under headings */
.ch-lede,.articles-sub,.who-we-serve-desc,.faq-desc,.wy-head-side>p,.who-copy,.ab-lead,.x-cta-copy>p,
.ab-mast-grid>div>p:not(.ab-mast-note),.in-mast-grid>div>p,.ct-mast-grid>div>p,.ar-dek
{font-size:var(--t-lead)!important;line-height:1.7!important}

/* Body text */
.ab-why-copy>p:not(.ab-statement):not(.ab-believe),.d2-step>p,.ab-vm-card blockquote,.xp-v5-r>p:not(.xp-big),.faq-answer,.faq-answer p,.ct-next li,.ab-mast-note,.ab-believe,.ab-ribbon p,.fa-text>p,.in-feat-body>p
{font-size:var(--t-body)!important;line-height:1.7!important}

/* Card text */
.who-pillar p,.articles-bento-card p,.fa-list li,.wy-card p,.wy-stat p,.ab-mast-card p,.ab-mast-card li,.in-card-body p,.ct-route p
{font-size:var(--t-card)!important;line-height:1.6!important}

/* Large statements */
.ab-statement,.xp-big{font-size:var(--t-big)!important;line-height:1.3!important}

/* Who we are floating tags */
.who-badge-inner{font-family:'IBM Plex Sans',system-ui,sans-serif!important}
.who-badge-2l{display:inline-flex!important;flex-direction:column;align-items:flex-start;row-gap:1px;border-radius:14px!important;line-height:1.3;width:max-content}
.who-badge-2l>span{display:block;white-space:nowrap}
.who-badge-2l>span:first-child{font-weight:600}.who-badge-2l>span+span{font-weight:500;opacity:.75}
@media(min-width:901px){.who-badge:has(.who-badge-2l){top:-58%!important;right:-12%!important}}

/* ===== One button style across the site =====
   Dark backgrounds: ivory pill, navy disc, gold arrow (same as Get in touch).
   Light backgrounds: navy pill, gold disc, navy arrow. */
.in-btn,.articles-all,.ct-form button[type=submit],.who-we-serve-btn,.d2-btn,.xp-btn{display:inline-flex!important;align-items:center!important;gap:18px!important;height:58px!important;padding:0 8px 0 28px!important;border-radius:999px!important;border:0!important;background:#F4EFE6!important;color:#0A1628!important;font-family:'IBM Plex Sans',system-ui,sans-serif!important;font-size:15px!important;font-weight:700!important;letter-spacing:.005em;line-height:1!important;text-decoration:none!important;white-space:nowrap;box-shadow:0 14px 34px rgba(0,0,0,.28)!important;cursor:pointer;transition:background .25s ease,transform .25s ease!important}
.in-btn>svg,.articles-all>svg,.ct-form button[type=submit]>svg,.d2-btn>span,.xp-btn>span{width:42px!important;height:42px!important;flex:0 0 auto;border-radius:50%!important;background:#0A1628!important;color:#E8BE72!important;transition:transform .3s cubic-bezier(.16,1,.3,1)!important}
.in-btn>svg,.articles-all>svg,.ct-form button[type=submit]>svg{padding:13px;box-sizing:border-box}
.d2-btn>span,.xp-btn>span{display:grid!important;place-items:center}
.who-we-serve-btn>i,.who-we-serve-btn>svg{width:42px!important;height:42px!important;padding:13px;box-sizing:border-box;border-radius:50%;background:#E8BE72;color:#0A1628}
.in-btn:hover,.articles-all:hover,.d2-btn:hover{background:#E8BE72!important}
.in-btn:hover>svg,.articles-all:hover>svg,.ct-form button[type=submit]:hover>svg,.d2-btn:hover>span,.xp-btn:hover>span,.who-we-serve-btn:hover>*{transform:translateX(4px)}
/* light backgrounds */
.xp-btn,.ct-form button[type=submit],.who-we-serve-btn,.in-btn-dark{background:#0A1628!important;color:#F4EFE6!important;box-shadow:0 14px 30px rgba(10,22,40,.2)!important}
.xp-btn>span,.ct-form button[type=submit]>svg,.in-btn-dark>svg{background:#E8BE72!important;color:#0A1628!important}
.xp-btn:hover,.ct-form button[type=submit]:hover,.who-we-serve-btn:hover,.in-btn-dark:hover{background:#14336E!important}
.ar-box-dark .in-btn{height:52px!important;font-size:14px!important;padding-left:22px!important;gap:14px!important}
.ar-box-dark .in-btn>svg{width:38px!important;height:38px!important;padding:11px}
@media(max-width:600px){.in-btn,.articles-all,.ct-form button[type=submit],.who-we-serve-btn,.d2-btn,.xp-btn{height:52px!important;padding-left:22px!important;font-size:14px!important;gap:14px!important}.in-btn>svg,.articles-all>svg,.ct-form button[type=submit]>svg,.d2-btn>span,.xp-btn>span{width:38px!important;height:38px!important}}

/* ===== Contributors box matches the Let's connect panel ===== */
.in-band-box{gap:64px!important;padding:56px 64px!important;border:1px solid rgba(244,239,230,.1);background:radial-gradient(ellipse 60% 90% at 100% 0%,rgba(21,94,239,.22) 0%,rgba(21,94,239,0) 70%),linear-gradient(135deg,#0B1A33 0%,#07101F 100%)!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.in-band-box::before{content:'';position:absolute;left:64px;top:-1px;width:160px;height:1px;background:linear-gradient(90deg,#E8BE72,rgba(232,190,114,0))}
.in-band-box>div:last-child{padding-left:48px;border-left:1px solid rgba(244,239,230,.14);display:flex;flex-direction:column;align-items:flex-start;gap:26px}
.in-band-box>div:last-child p{margin:0!important;color:rgba(244,239,230,.66)!important}
.in-band-box .in-eyebrow{color:#E8BE72!important;background:none!important;border:0!important;padding:0!important}
.in-band-box .in-eyebrow i{background:#E8BE72!important;box-shadow:0 0 0 4px rgba(232,190,114,.16)!important}
@media(max-width:980px){.in-band-box{grid-template-columns:1fr!important;gap:28px!important;padding:40px 32px!important}.in-band-box::before{left:32px}.in-band-box>div:last-child{padding:24px 0 0;border-left:0;border-top:1px solid rgba(244,239,230,.12);gap:22px}}
@media(max-width:600px){.in-band-box{padding:32px 22px!important;border-radius:22px!important}.in-band-box::before{left:22px}}
/* Insights page: the Contributors box takes the place of Let's connect */
.cf-cta-off{display:none!important}

/* ===== Phone fixes ===== */
@media(max-width:760px){
  /* Insights filters: one tidy scrolling row */
  .in-list-head{flex-direction:column;align-items:stretch!important;gap:16px!important}
  .in-filters{flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px 0 0;padding:2px 16px 6px 2px;scroll-padding-left:2px;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  .in-filters::-webkit-scrollbar{display:none}
  .in-list-head::after{content:'Swipe to see all topics \2192';order:3;margin-top:-6px;font-size:12px;font-weight:500;letter-spacing:.02em;color:#6B778C;animation:inSwipe 2.4s ease-in-out infinite}
  @keyframes inSwipe{0%,100%{transform:none}50%{transform:translateX(6px)}}
  .in-filters button{flex:0 0 auto;scroll-snap-align:start;height:40px!important;padding:0 18px!important;font-size:13.5px!important}
  /* Article: contents first, then the article, then share and contributors */
  .ar-layout{display:flex!important;flex-direction:column;gap:28px!important}
  .ar-aside,.ar-sticky{display:contents!important}
  .ar-sticky>.ar-box:first-child{order:1}
  .ar-body{order:2}
  .ar-sticky>.ar-box:nth-child(2){order:3}
  .ar-sticky>.ar-box-dark{order:4}
  /* Contact: no map, just the questions */
  .ct-bottom .ct-map{display:none!important}
}
/* Pill buttons: calmer weight so the label reads cleanly */
.in-btn,.articles-all,.ct-form button[type=submit],.who-we-serve-btn,.d2-btn,.xp-btn,.cf-btn{font-weight:600!important;letter-spacing:0!important}
