/* Qity design-system refresh (2026-11-25).
   Source: tools/refresh.css, copied to site/ by patch_seo.py and linked on every
   page after colors_and_type.css and marketing.css. Overrides tokens and static
   styles only. No keyframes, transitions, animation timings or markup are changed,
   so every existing animation runs exactly as before. Remove the link to roll back. */

:root {
  /* Surfaces: neutral bands instead of the yellow-green tint, so green reads as the accent */
  --surface-band: #F5F7FA;
  --surface-band-2: #EDF0F5;
  --line: #E1E5EC;
  --line-2: #ECEFF4;

  /* One radius family */
  --r-card: 14px;
  --r-ico: 14px;
  --r-lg: 20px;

  /* Softer, wider elevation */
  --shadow-soft: 0 1px 2px rgba(9,30,66,.05), 0 12px 28px -22px rgba(9,30,66,.28);
  --shadow-card: 0 0 0 1px rgba(9,30,66,.05), 0 2px 4px rgba(9,30,66,.04), 0 22px 44px -26px rgba(9,30,66,.28);
  --shadow-window: 0 0 0 1px rgba(9,30,66,.04), 0 2px 4px rgba(9,30,66,.05), 0 40px 80px -32px rgba(9,30,66,.34), 0 12px 28px -18px rgba(9,30,66,.16);
}

/* ---------- Type scale: larger display sizes, no body text under 15px ---------- */
.display { letter-spacing: -0.032em; line-height: 1.02; }
.h-hero { font-size: clamp(42px, 6.6vw, 84px); }
.h-sec { font-size: clamp(32px, 4.3vw, 54px); letter-spacing: -0.028em; line-height: 1.05; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.65vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.eyebrow { font-size: 13px; letter-spacing: .1em; }
/* Tablet widths keep the compact nav sizes set in marketing.css */
@media (min-width: 1101px) { .nav-link, .nav-contact { font-size: 15px; } }

.pillar h3 { font-size: 23px; letter-spacing: -.015em; }
.pillar p { font-size: 16px; line-height: 1.6; }

.module h3 { font-size: 19px; letter-spacing: -.01em; }
.module .m-blurb { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.module .m-feats li { font-size: 15px; }
.module .m-toggle { font-size: 14.5px; }
.mod-kit .mk-copy h3 { font-size: 19px; }
.mod-kit .mk-copy p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.sdoc-feat-body h3 { font-size: 19px; }
.sdoc-feat-body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.uc-tab { font-size: 16px; }
.uc-panel h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.uc-panel .uc-body { font-size: 17px; color: var(--ink-2); }

.faq-q { font-size: 16.5px; font-weight: 600; padding: 18px 24px; }
.faq-a-inner p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); padding: 0 24px 20px; }

.quote-card .q-role { font-size: 14px; }
.cert, .std-chip { font-size: 14px; }
.footer-brand p { font-size: 15px; }
.footer-col a { font-size: 15px; }
.footer-col h4 { font-size: 13px; }
.footer-bottom { font-size: 14px; }
.form-card .fc-sub { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.form-card h3 { font-size: 24px; }

/* ---------- Rhythm: more air between sections and under section heads ---------- */
.sec { padding: clamp(72px, 10vw, 148px) 0; }
.hero { padding-bottom: clamp(72px, 8vw, 112px); }
.pillars-wrap { margin-top: 64px; gap: 24px; }
.mod-wrap { margin-top: 60px; gap: 20px; }
.mod-kit { margin-top: 20px; }
.uc-box { margin-top: 52px; }
.faq-cols { margin-top: 52px; }
.tcar { margin-top: 56px; }

/* ---------- Surfaces: flat hairline cards, shadow only on hover or when active ---------- */
.pillar { padding: 36px 32px 34px; }
.pillars-wrap.tiles .pillar {
  background: var(--navy-2);
  border-color: var(--navy-2);
}
.pillars-wrap.tiles .pillar:hover { border-color: rgba(70,221,143,.55); }
.pillar .p-illo { width: 72px; height: 72px; margin-bottom: 20px; }

.module { padding: 28px; }
.module .m-ico-tile { width: 54px; height: 54px; border-radius: 14px; }
.module .m-top { gap: 16px; }
.module:hover { border-color: #C9D2DF; }
.module.open { border-color: var(--brand); }

.mod-kit { box-shadow: none; padding: clamp(24px, 2.6vw, 32px) clamp(26px, 2.8vw, 36px); }
.mod-kit .mk-ico { background: var(--brand-tint); }
.aims-form input, .aims-form button { border-radius: 8px; }
/* Phones keep the compact form field size so the row fits the screen */
@media (min-width: 761px) { .aims-form input, .aims-form button { padding: 11px 14px; font-size: 15px; } }
.aims-form label { font-size: 13px; }

.intg-card { padding: 24px; }
.tool { font-size: 15px; padding: 11px 13px; }

.faq-list { border-radius: var(--r-lg); }
.faq-q svg { width: 20px; height: 20px; }

/* Testimonials: white card on the neutral band instead of mint on mint */
.quote-card { background: #fff; border-color: var(--line); }
.quote-card .q-mark { color: rgba(70,221,143,.28); }
.tcard.is-active { box-shadow: var(--shadow-card); }
.proof-arrow { width: 48px; height: 48px; }
.proof-dot { width: 9px; height: 9px; }
.proof-dot.on { background: var(--navy); }

/* ---------- Buttons: one primary, one secondary, no coloured glow ---------- */
/* Phones keep the original button size: long labels in articles must still fit */
@media (min-width: 561px) {
  .btn { font-size: 15.5px; padding: 14px 22px; }
  .btn-lg { padding: 18px 30px; font-size: 17px; }
}
.btn-brand { box-shadow: 0 1px 2px rgba(9,30,66,.16); }
.btn-brand:hover { filter: none; background: #5BE59D; box-shadow: 0 1px 2px rgba(9,30,66,.16), 0 12px 24px -14px rgba(9,30,66,.45); }
.btn-primary { box-shadow: 0 1px 2px rgba(9,30,66,.2); }
.btn-ghost { border-color: #C9D2DF; }
.btn-ghost:hover { background: #fff; border-color: var(--navy); }

/* ---------- Colour discipline: green marks actions and the one highlighted word ---------- */
.sdoc-ico { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.uc-tabs { background: var(--surface-band-2); border-color: transparent; }
.cert-logo, .std-chip .std-logo { opacity: .7; }
.certs-dark .cert, .certs-dark .cert svg { color: rgba(233,239,250,.82); }
.certs-dark .certs-label { color: rgba(233,239,250,.62); }
.footer, .footer-col a { color: rgba(233,239,250,.76); }
