/* Thira Security · design tokens
 * Custom theme lifted from the logo: slate-blue ink field (hue 240) + one teal accent (hue 205).
 * Every colour, font, size and spacing value used by styles.css is declared here.
 */

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/tektur-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/tektur-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: 300 800;
  font-display: swap;
  src: url("/fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/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;
}

:root {
  /* colour — paper band: dark · anchor hue 240 */
  --color-paper:        oklch(16% 0.014 240);
  --color-paper-2:      oklch(19.5% 0.016 240);
  --color-paper-3:      oklch(24% 0.018 240);
  --color-rule:         oklch(30% 0.018 238);
  --color-rule-strong:  oklch(44% 0.024 236);
  --color-neutral:      oklch(62% 0.030 234);
  --color-muted:        oklch(76% 0.022 230);
  --color-ink:          oklch(95% 0.008 225);
  --color-accent:       oklch(76% 0.085 205);
  --color-accent-deep:  oklch(58% 0.070 210);
  --color-focus:        oklch(84% 0.110 200);
  --color-scrim:        oklch(16% 0.014 240 / 0.88);

  /* type */
  --font-display: "Tektur", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --text-xs:       0.8125rem;
  --text-sm:       0.9375rem;
  --text-base:     1.0625rem;
  --text-lg:       clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-xl:       clamp(1.3125rem, 1.15rem + 0.8vw, 1.75rem);
  --text-2xl:      clamp(1.75rem, 1.3rem + 2.1vw, 2.875rem);
  --text-3xl:      clamp(2rem, 1.2rem + 3.8vw, 4rem);
  --text-display:  clamp(2.375rem, 1.25rem + 5.4vw, 5.25rem);
  --text-mail:     clamp(1.0625rem, 0.2rem + 4.4vw, 2.75rem);  /* one-line e-mail address at 320px */

  --leading-tight: 1.04;
  --leading-snug:  1.22;
  --leading-body:  1.65;

  /* space — 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --gutter:     clamp(1.25rem, 5vw, 4rem);
  --measure:    62ch;
  --page-max:   78rem;
  --header-h:   4rem;

  /* shape + motion */
  --radius-sm: 2px;
  --rule-hair: 1px;
  --rule-bold: 2px;

  --dur-short:  140ms;
  --dur-medium: 320ms;
  --dur-long:   720ms;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --z-header: 20;
  --z-skip:   30;
}
