/* Konza Design Language, single source of truth. 2 Dec 2026.
   Loaded last on every page. Tokens here override all earlier stylesheets.
   Palette derived from the Konza logo per brief: deep avocado green, leaf green,
   golden mango yellow, warm cream, charcoal ink. All text pairs checked for WCAG 2.2 AA. */

/* Fonts: self hosted, woff2, variable weight, subset by script, swap */
@font-face{font-family:"Fraunces Variable";font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/design-system/fonts/fraunces-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces Variable";font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/design-system/fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/design-system/fonts/inter-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/design-system/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/design-system/fonts/inter-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Noto Sans Arabic Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/design-system/fonts/noto-sans-arabic-arabic-wght-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

:root{
  /* Colour: brand */
  --kz-forest:#1B5E20;      /* deep avocado green: headings, dark bands */
  --kz-green:#2E7D32;       /* action green: links and buttons, white text 5.1:1, on cream 5.0:1 */
  --kz-leaf:#66BB6A;        /* leaf green: icons, borders, UI accents (3:1 on cream for UI only) */
  --kz-leaf-strong:#43A047;
  --kz-gold:#F9A825;        /* golden mango: primary call to action, ink text 8.2:1 */
  --kz-gold-bright:#FFC107; /* gold text on deep green 4.8:1 */
  --kz-cream:#FDFBF5;       /* warm cream background */
  --kz-ink:#212121;         /* charcoal ink, 15.6:1 on cream */
  --kz-ink-2:#424242;       /* secondary text, 9.7:1 on cream */
  --kz-tint-1:#F1F8E9;      /* pale green tint */
  --kz-tint-2:#DCEDC8;      /* green tint */
  --kz-gold-tint:#FFF8E1;
  /* Legacy names kept so earlier stylesheets follow the new palette */
  --kz-orange:var(--kz-green);
  --kz-lime:#C5E1A5;        /* light leaf for text and buttons on deep green, 5.5:1 */
  --kz-focus:#F9A825;
  /* Type */
  --font-display:"Fraunces Variable","Fraunces",Georgia,"Times New Roman",serif;
  --font-body:"Inter Variable","Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","PingFang SC","Microsoft YaHei",sans-serif;
  --ff-display:var(--font-display);--font-mono:var(--font-body);
  --fs-14:clamp(0.8125rem,0.79rem + 0.08vw,0.9375rem);
  --fs-16:clamp(1rem,0.97rem + 0.12vw,1.125rem);
  --fs-18:clamp(1.125rem,1.09rem + 0.15vw,1.25rem);
  --fs-24:clamp(1.375rem,1.27rem + 0.45vw,1.75rem);
  --fs-36:clamp(1.875rem,1.6rem + 1.1vw,2.75rem);
  --fs-48:clamp(2.25rem,1.8rem + 1.9vw,3.75rem);
  --lh-body:1.6;
  --tracking-tight:-0.02em;
  /* Space: 8pt grid */
  --sp-1:8px;--sp-2:16px;--sp-3:24px;--sp-4:32px;--sp-5:40px;--sp-6:48px;--sp-8:64px;--sp-10:80px;
  /* Shape */
  --r-sm:8px;--r-card:16px;--r-lg:24px;--r-xl:32px;--r-pill:999px;--r-circle:50%;
  /* Motion */
  --ease:cubic-bezier(0.22,1,0.36,1);--dur-fast:150ms;--dur:240ms;--dur-slow:300ms;
}
html[lang="ar"]{--font-body:"Noto Sans Arabic Variable","Inter Variable",Tahoma,sans-serif;--font-display:"Noto Sans Arabic Variable","Inter Variable",Tahoma,sans-serif}
html:is([lang="ru"],[lang="zh"],[lang="zh-Hans"]){--font-display:var(--font-body)}
html[lang^="zh"]:lang(zh),html[lang^="zh"]:lang(zh-Hans){--font-body:"Inter Variable","PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",sans-serif;--font-display:var(--font-body)}
html[lang="ar"]:lang(ar){--font-body:"Noto Sans Arabic Variable","Inter Variable",Tahoma,sans-serif;--font-display:var(--font-body)}
/* Dark variant tokens. Activated by data-theme="dark" on <html> (manual toggle, Phase 2). */
html[data-theme="dark"]{
  --kz-forest:#81C784;--kz-green:#81C784;--kz-leaf:#66BB6A;--kz-gold:#FFD54F;--kz-gold-bright:#FFD54F;
  --kz-cream:#0F1A10;--kz-ink:#E8F5E9;--kz-ink-2:#C8D6C9;--kz-tint-1:#16261A;--kz-tint-2:#1F3524;--kz-gold-tint:#2A2410;
  --kz-lime:#C5E1A5;--kz-orange:var(--kz-green);color-scheme:dark;
}

/* Typography applied sitewide (high specificity to win over earlier layers) */
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l),
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :not(svg):not(svg *):not(code):not(pre){font-family:var(--font-body)!important}
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l){line-height:var(--lh-body)!important;color:var(--kz-ink)}
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :is(h1,h2,h3,.kh-title,.sec-head h2,.phero h1,h1 *,h2 *,h3 *,.kh-title *){font-family:var(--font-display)!important;letter-spacing:var(--tracking-tight)!important;font-optical-sizing:auto}
html:is([lang="ru"],[lang="zh"],[lang="zh-Hans"]) body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :is(h1,h2,h3,.kh-title){font-family:var(--font-body)!important;letter-spacing:-0.01em!important}
html[lang="ar"] body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l),
html[lang="ar"] body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) *{font-family:"Noto Sans Arabic Variable","Inter Variable",Tahoma,sans-serif!important;letter-spacing:0!important}

/* Primary call to action in golden mango with charcoal text */
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :is(.kz-cta-gold,.kn-btn--orange,.kh-desk__cta--quote,.hdr-cta,.kp-btn-1,.btn-primary){background:var(--kz-gold)!important;background-image:none!important;border-color:var(--kz-gold)!important;color:var(--kz-ink)!important}
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :is(.kz-cta-gold,.kn-btn--orange,.kh-desk__cta--quote,.hdr-cta,.kp-btn-1,.btn-primary) *{color:var(--kz-ink)!important}
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) :is(.kz-cta-gold,.kn-btn--orange,.kh-desk__cta--quote,.hdr-cta,.kp-btn-1,.btn-primary):hover{background:var(--kz-gold-bright)!important;border-color:var(--kz-gold-bright)!important}

/* Focus ring in brand gold */
html body :focus-visible{outline:3px solid var(--kz-focus)!important;outline-offset:2px!important}

/* Motion: documented easing, reduced motion respected */
html body :is(a,button,.btn,.kn-panel,.spec,details){transition-timing-function:var(--ease)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

html[lang^="zh"] body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l),html[lang^="zh"] body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) *{font-family:"Inter Variable","PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",sans-serif!important}

/* Notes keep full contrast */
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) .kp-note{opacity:1!important;color:var(--kz-ink-2)!important}
html body:not(#kz-a):not(#kz-b):not(#kz-c):not(#kz-d):not(#kz-e):not(#kz-f):not(#kz-g):not(#kz-h):not(#kz-i):not(#kz-j):not(#kz-k):not(#kz-l) .kp-note a{color:var(--kz-green)!important;text-decoration:underline!important;text-underline-offset:3px}
