/* ============================================================
   Conosco Design System — Base styles
   Hand-written. Concatenated with the Style Dictionary-generated
   custom properties to produce dist/tokens.css.
   ============================================================ */

/* ---------- Web fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

/* Calibri is a licensed Microsoft font this repo doesn't have the files for
   (unlike Expand, which presumably has them supplied separately) - the
   @font-face rules that used to sit here 404'd on every page load. Removed
   rather than faked; --font-body already falls through to Carlito below,
   which is the metric-compatible open substitute. */

/* ============================================================
   SEMANTIC TYPE STYLES
   ============================================================ */
html { color: var(--fg-1); background: var(--bg-page); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.eyebrow,
.cs-eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-teal);
}

h1, .cs-h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--fg-1);
  margin: 0 0 var(--sp-5);
}

.cs-display {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-5xl);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}

h2, .cs-h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--fg-1);
  margin: 0 0 var(--sp-4);
}

h3, .cs-h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--fg-1);
  margin: 0 0 var(--sp-4);
}

h4, .cs-h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--fg-1);
  margin: 0 0 var(--sp-3);
}

h5, .cs-h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--fg-1);
  margin: 0 0 var(--sp-2);
}

p, .cs-p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--fg-1);
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

.cs-lead {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
}

.cs-meta {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--fg-3);
}

.cs-link {
  color: var(--fg-link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color var(--dur-fast) var(--ease-out);
}
.cs-link:hover { color: var(--fg-link-hover); }

code, kbd, samp, .cs-code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--c-light-grey);
  padding: 0.1em 0.4em;
  border-radius: var(--r-sm);
  color: var(--c-navy);
}

:root {
  --c-navy: #0c3b5d;
  --c-teal: #00aeab;
  --c-grey: #b9c2d3;
  --c-light-grey: #f4f7fc;
  --c-purple: #752f8c;
  --c-light-teal: #6cdbd6;
  --c-dark-teal: #0099a9;
  --c-sky-blue: #3db5e6;
  --c-charcoal: #003a5d;
  --c-olive: #a9ad00;
  --c-stone: #b2b2b2;
  --c-purple-80: #906497;
  --c-purple-40: #d3bfd8;
  --c-purple-20: #e9dfeb;
  --c-navy-80: #3d627d;
  --c-navy-40: #9eb1be;
  --c-navy-20: #ced8df;
  --c-teal-80: #33bebc;
  --c-teal-40: #99dfdd;
  --c-teal-20: #ccefee;
  --c-white: #ffffff;
  --c-black: #000000;
  --fg-2: #3d5570;
  --fg-3: #6f7d92;
  --border-subtle: #e6ebf2;
  --font-display: 'Prompt', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Prompt', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Calibri', 'Carlito', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;
  --fs-5xl: 5.5rem;
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.04em;
  --ls-eyebrow: 0.12em;
  --sp-0: 0;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --r-none: 0;
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --r-pill: 999px;
  --status-danger: #c0392b;
  --shadow-xs: 0 1px 2px rgba(12, 59, 93, 0.06);
  --shadow-sm: 0 2px 6px rgba(12, 59, 93, 0.08);
  --shadow-md: 0 6px 18px rgba(12, 59, 93, 0.10);
  --shadow-lg: 0 18px 40px rgba(12, 59, 93, 0.14);
  --shadow-xl: 0 28px 64px rgba(12, 59, 93, 0.18);
  --shadow-focus: 0 0 0 3px rgba(117, 47, 140, 0.28);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --container-max: 1240px;
  --fg-1: var(--c-navy);
  --fg-muted: var(--c-stone);
  --fg-on-dark: var(--c-white);
  --fg-on-purple: var(--c-white);
  --fg-link: var(--c-navy);
  --fg-link-hover: var(--c-teal);
  --fg-emphasis: var(--c-purple);
  --bg-page: var(--c-white);
  --bg-surface: var(--c-light-grey);
  --bg-raised: var(--c-white);
  --bg-inverse: var(--c-navy);
  --bg-accent: var(--c-teal);
  --bg-emphasis: var(--c-purple);
  --border-default: var(--c-grey);
  --border-strong: var(--c-navy);
  --status-info: var(--c-sky-blue);
  --status-success: var(--c-teal);
  --status-warning: var(--c-olive);
}
