/* ClearPath brand tokens, loaded first on every page. One source for color and type.
   Navy #0B1F3A, gold #E4BC52, parcel-line yellow #F7D259, display serif Source Serif 4, body Inter.
   The signature is the dashed parcel line, used in place of a solid rule. */

:root{
  --navy:#0B1F3A;
  --navy-2:#122B4D;
  --navy-deep:#071528;
  --navy-hover:#18365E;
  --gold:#E4BC52;
  --gold-hover:#F0CC6A;
  --yellow:#F4C12A;
  --yellow-glow:#F7D259;
  --dash:#F7D259;
  --dash-ink:rgba(11,31,58,.42);
  --btn-grad:linear-gradient(180deg,#FADF85 0%,#F2C84E 52%,#DCA935 100%);
  --btn-grad-hover:linear-gradient(180deg,#FCE79F 0%,#F5D163 52%,#E3B444 100%);
  --survey-grid:linear-gradient(rgba(11,31,58,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(11,31,58,.045) 1px,transparent 1px);
  --ink:#1C2024;
  --paper:#FAF9F6;
  --sand:#F3EFE6;
  --line:#E6E3DB;
  --muted:#55595F;
  --on-yellow:#3A3320;
  --on-navy:#C9D3DC;
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,sans-serif;
  --step-display:clamp(38px,4.6vw + 14px,64px);
  --step-h2:clamp(28px,2.6vw + 12px,44px);
  --step-h3:clamp(19px,1vw + 14px,22px);
  --step-lede:clamp(17px,.7vw + 14px,20px);
  --step-body:16.5px;
  --space-section:clamp(64px,9vw,110px);
  --radius:14px;
  --shadow-1:0 1px 2px rgba(11,31,58,.05),0 4px 14px rgba(11,31,58,.06);
  --shadow-2:0 2px 4px rgba(11,31,58,.07),0 12px 32px rgba(11,31,58,.12);
  --dashline:repeating-linear-gradient(90deg,var(--dash) 0 12px,transparent 12px 20px);
  --dashline-light:repeating-linear-gradient(90deg,var(--yellow) 0 12px,transparent 12px 20px);
}

/* Template-scoped brand touches for pages that carry their own styles.
   These only match structure those templates already have, so pages on v10k.css are unaffected. */

/* article and utility pages: navy top bar gets the dashed parcel edge, the page title gets the dashed underline */
.bar{border-bottom:1px dashed rgba(247,210,89,.30)}
.bar + .wrap > h1::after{content:"";display:block;width:96px;height:3px;margin-top:18px;background:var(--dashline-light)}
body > footer:not(.footer){border-top:1px dashed rgba(247,210,89,.30)}

/* the inline read form on article pages: the box gets a dashed parcel edge and the gold gradient button.
   The form markup itself is untouched, so the button color is set here. */
div#read[style]{outline:1.5px dashed rgba(247,210,89,.45);outline-offset:-8px}
div#read > form > button[type="submit"]{background:var(--btn-grad)!important;color:var(--navy)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}

/* floating contact button on pages without v10k.css */
a#floatcontact{border:1px dashed rgba(247,210,89,.55)}

/* Spanish pages with the plain nav: on phones the logo and link row stack instead of colliding (the crowding exists on the live site too) */
@media (max-width:600px){
  nav:not(.nav) > .wrap:has(> .links){flex-direction:column;align-items:center;gap:8px}
  nav:not(.nav) > .wrap > .links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 16px}
  nav:not(.nav) > .wrap > .links a{margin-left:0}
}
