/* Manrope (SIL OFL 1.1), self-hosted: Google Fonts v20, variable weight, cyrillic + latin
   subsets only. Same origin, so no render-blocking third-party stylesheet. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/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;
}

/* Design tokens taken from the Figma file "Career-Growth-Web". */
:root {
  /* Colors */
  --soft-black: #212123;
  --soft-black-70: rgba(33, 33, 35, 0.7);
  --soft-black-40: rgba(33, 33, 35, 0.4);
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --lime: #defb55;
  --lime-soft: #ebff8c;
  --light-blue: #d8e9fe;
  --grey-blue: #e4e7ee;
  --light-beige: #f7f6f2;
  --paper: #fdfdfb;
  --line: #e5e5e5;
  --error: #d81f1f;
  --focus: #68a4ef;
  --header-glass: rgba(247, 246, 241, 0.85); /* design: 0.2; raised so the header stays readable over dark sections */
  --modal-scrim: rgba(33, 33, 35, 0.5);

  /* Typography */
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: 64px;   --lh-h1: 68px;
  --fs-h2: 54px;   --lh-h2: 60px;
  --fs-h3: 36px;   --lh-h3: 40px;
  --fs-h4: 24px;   --lh-h4: 32px;
  --fs-lead: 18px; --lh-lead: 24px;
  --fs-body: 16px; --lh-body: 22px;
  --fs-caption: 14px; --lh-caption: 20px;
  --fs-small: 12px;

  /* Radii: one corner for every surface (the header's), plus pills and circles. */
  --radius: 24px;
  --r-pill: 20px;

  /* Layout */
  --page-max: 1356px;
  --gutter: 32px;
  --section-gap: 24px;
  --section-pad: 48px;
  --header-h: 78px;
  --btn-h: 46px; /* .btn: 12px padding + 22px line */
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 36px;   --lh-h1: 40px;
    --fs-h2: 32px;   --lh-h2: 38px;
    --fs-h3: 32px;   --lh-h3: 38px;
    --gutter: 16px;
    --section-gap: 16px;
    --section-pad: 24px;
  }
}
