/* Veridio design system — tokens from Figma "prj_veridio_landing-page" (variables of node 8016:796).
   Every page (landing, marketing, platform) builds on these. Change a value here, not in a page. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/site/fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/site/fonts/manrope-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* colour — Figma names */
  --charcoal: #3e3d3b;      /* Charcoal Ash: text, dark buttons, dark sections */
  --sage: #d3d5c8;          /* Mist Sage: hero, CTA band */
  --cloud: #edecea;         /* Soft Cloud: light sections */
  --stone: #e0dcd9;         /* Warm Stone: footer */
  --lime: #cef100;          /* Acid Lime: accent, "approved", checkbox */
  --white: #ffffff;         /* Pure White */

  /* derived — opacities of charcoal / white used across the design */
  --ink: var(--charcoal);
  --ink-70: #5f5e5b;    /* secondary text — solid so it passes WCAG AA (≥4.5:1) on white, cloud and stone */
  --ink-50: #5f5e5b;    /* footer legal line (Figma: 50 % charcoal = 2.5:1, too faint) */
  --line: rgba(62, 61, 59, 0.15);       /* hairlines, dividers */
  --line-strong: rgba(62, 61, 59, 0.4); /* underline inputs */
  --field: rgba(62, 61, 59, 0.2);       /* boxed input borders */
  --on-dark-70: rgba(255, 255, 255, 0.7);
  --line-on-dark: rgba(255, 255, 255, 0.5);
  --danger: #b3261e;
  --ok: #4f6b00;            /* lime is unreadable as text on white; this is its AA-safe text partner */

  /* type — Manrope, letter-spacing −2 % (headlines D1/H1/H3 −4 % where Figma says so) */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-d1: clamp(44px, 7.25vw, 104px);   /* Desktop/Headline/D1 104 / 1.0 */
  --fs-h1: clamp(36px, 5vw, 72px);       /* H1 72 / 1.05 (36 on phones per Figma mobile) */
  --fs-h2: clamp(36px, 4.45vw, 64px);    /* H2 64 / 1.0 */
  --fs-h3: clamp(32px, 3.9vw, 56px);     /* H3 56 / 1.1 */
  --fs-h5: clamp(24px, 2.25vw, 32px);    /* H5 32 / 1.2 semibold, H6 32 / 1.0 medium */
  --fs-h7: clamp(20px, 1.7vw, 24px);     /* H7 24 / 1.2 */
  --fs-lg: 18px;                         /* Paragraph Large, buttons */
  --fs-md: 16px;                         /* Paragraph Medium */
  --fs-sm: 14px;                         /* Caption / Small */
  --lh-body: 1.6;
  --track: -0.02em;
  --track-tight: -0.04em;

  /* layout */
  --page-max: 1440px;
  --gutter: clamp(16px, 5.56vw, 80px);   /* 80 px at 1440, 16 px on phones */
  --section-y: clamp(64px, 8.3vw, 120px);
  --radius: 0;                            /* the design is square-cornered */
  --header-h: 96px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
}
