/* ==========================================================================
   Regain Accreditation — design language tokens
   Generated by /frontend dl from 09-deliverables/02-iac/09-landing-site/00-design-language.md
   Do not hand-edit — re-run the mode to regenerate.

   Scope: loaded only by pages under the `accreditation` audience slug.
   Does not affect other salomatic-crm marketing pages.
   ========================================================================== */

:root {
  /* Palette — ink / paper / single oxblood accent.
     Never #ffffff, never #000000. Warm paper ground, near-black ink. */
  --acc-color-ink: #0B1220;
  --acc-color-ink-2: #1F2A3D;
  --acc-color-ink-3: #475063;
  --acc-color-ink-4: #7A8295;
  --acc-color-paper: #FBFAF7;
  --acc-color-paper-2: #F4F2EC;
  --acc-color-rule: #D8D3C7;
  --acc-color-rule-strong: #B5AD9C;
  --acc-color-accent: #7C1D2E;
  --acc-color-accent-soft: #A65A65;

  /* Semantic states — reserved for status indicators inside data displays only. */
  --acc-state-positive: #1F5C3A;
  --acc-state-attention: #8A5A00;
  --acc-state-critical: #7A1818;
  --acc-state-info: #1E3A5F;

  /* Typography — serif display, Inter body, mono for identifiers.
     Weight 700+ is forbidden. Headlines never use uppercase. */
  --acc-font-display: "Source Serif 4", "GT Sectra", ui-serif, Georgia, "Times New Roman", serif;
  --acc-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --acc-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale — 17px base for long-form reading. Line heights tuned per role. */
  --acc-fs-display-1: 4rem;      /* 64 / 68 */
  --acc-lh-display-1: 1.0625;
  --acc-fs-display-2: 3rem;      /* 48 / 54 */
  --acc-lh-display-2: 1.125;
  --acc-fs-display-3: 2.25rem;   /* 36 / 42 */
  --acc-lh-display-3: 1.1667;
  --acc-fs-headline: 1.5rem;     /* 24 / 32 */
  --acc-lh-headline: 1.3333;
  --acc-fs-subhead: 1.1875rem;   /* 19 / 28 */
  --acc-lh-subhead: 1.4737;
  --acc-fs-body-lg: 1.1875rem;   /* 19 / 30 */
  --acc-lh-body-lg: 1.5789;
  --acc-fs-body: 1.0625rem;      /* 17 / 28 — default body */
  --acc-lh-body: 1.6471;
  --acc-fs-body-sm: 0.9375rem;   /* 15 / 24 */
  --acc-lh-body-sm: 1.6;
  --acc-fs-eyebrow: 0.75rem;     /* 12 / 16 uppercase */
  --acc-lh-eyebrow: 1.3333;
  --acc-fs-mono-sm: 0.875rem;    /* 14 / 22 */
  --acc-lh-mono-sm: 1.5714;
  --acc-fs-stat-xl: 4.5rem;      /* 72 / 76 hero metric */
  --acc-lh-stat-xl: 1.0556;
  --acc-fs-stat-lg: 3rem;        /* 48 / 52 stat-card metric */
  --acc-lh-stat-lg: 1.0833;

  /* Letter-spacing tokens for the display + eyebrow roles. */
  --acc-tracking-display: -0.018em;
  --acc-tracking-display-tight: -0.025em;
  --acc-tracking-eyebrow: 0.14em;

  /* OpenType features — tabular lining figures for stats, oldstyle for prose. */
  --acc-feat-tabular: "tnum" 1, "lnum" 1;
  --acc-feat-oldstyle: "onum" 1;

  /* Spacing — 4px base, 8px baseline rhythm. */
  --acc-space-1: 0.25rem;
  --acc-space-2: 0.5rem;
  --acc-space-3: 0.75rem;
  --acc-space-4: 1rem;
  --acc-space-5: 1.25rem;
  --acc-space-6: 1.5rem;
  --acc-space-8: 2rem;
  --acc-space-10: 2.5rem;
  --acc-space-12: 3rem;
  --acc-space-16: 4rem;
  --acc-space-20: 5rem;
  --acc-space-24: 6rem;
  --acc-space-32: 8rem;
  --acc-space-40: 10rem;
  --acc-space-48: 12rem;

  /* Container widths — editorial measures, not edge-to-edge. */
  --acc-measure-prose: 45rem;     /* 720px  — long-form articles */
  --acc-measure-default: 67.5rem; /* 1080px — standard marketing */
  --acc-measure-wide: 80rem;      /* 1280px — dashboards, diagrams */
  --acc-measure-full: 90rem;      /* 1440px — rare full-bleed */

  /* Radius — documentary, not consumer-app. Never >4px system-wide. */
  --acc-radius: 4px;

  /* Shadow — one elevation only. No second level exists by design. */
  --acc-shadow-paper: 0 1px 0 rgba(11, 18, 32, 0.04), 0 12px 24px -12px rgba(11, 18, 32, 0.08);
}

/* Dark mode variant — opt-in via data-theme, not prefers-color-scheme.
   Default is always light per the design doc's §5.3. */
[data-theme="dark"] {
  --acc-color-ink: #E8E3D6;
  --acc-color-ink-2: #CBC6BA;
  --acc-color-ink-3: #9C978B;
  --acc-color-ink-4: #6F6B62;
  --acc-color-paper: #0E1018;
  --acc-color-paper-2: #161923;
  --acc-color-rule: #2A2E3B;
  --acc-color-rule-strong: #3D4250;
  --acc-color-accent: #C8767E;
  --acc-color-accent-soft: #8E5156;
}

/* Base reset scoped to the accreditation audience.
   Scoped by a body-level class so this CSS cannot leak into other marketing pages. */
body.accreditation {
  background: var(--acc-color-paper);
  color: var(--acc-color-ink);
  font-family: var(--acc-font-body);
  font-size: var(--acc-fs-body);
  line-height: var(--acc-lh-body);
  font-feature-settings: var(--acc-feat-oldstyle);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.accreditation h1,
body.accreditation h2,
body.accreditation h3,
body.accreditation .display {
  font-family: var(--acc-font-display);
  font-weight: 400;
  letter-spacing: var(--acc-tracking-display);
  color: var(--acc-color-ink);
}

body.accreditation code,
body.accreditation .mono {
  font-family: var(--acc-font-mono);
}

body.accreditation a {
  color: var(--acc-color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 120ms ease;
}

body.accreditation a:hover {
  color: var(--acc-color-accent-soft);
  text-decoration: none;
}

/* Focus rings — 2px ink outline, 2px offset, no rounded corners on the ring. */
body.accreditation *:focus-visible {
  outline: 2px solid var(--acc-color-ink);
  outline-offset: 2px;
  border-radius: 0;
}

/* Reduced-motion respect — all non-essential transitions go to 0. */
@media (prefers-reduced-motion: reduce) {
  body.accreditation * {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
