/* Praus Software – design tokens (shared by every page). Direction: "Clear System". */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-greek-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}

:root {
  color-scheme: light;
  /* primary */
  --paper: #FFFFFF;
  --ink: #0E1116;
  /* accent */
  --accent: #1F4FFF;
  --accent-hover: #1638CC;
  --on-accent: #FFFFFF;
  /* secondary */
  --sand: #EEF1F6;      /* hover fills */
  --clay: #E3E9FF;      /* accent tint */
  /* neutral */
  --surface: #F5F7FA;
  --ink-soft: #4E5564;
  --line: #E1E5EC;
  --grid: rgba(14, 17, 22, .05);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, "Segoe UI", sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 120px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0B0D12;
  --ink: #F2F4F8;
  --accent: #7C96FF;
  --accent-hover: #9DB1FF;
  --on-accent: #0B0D12;
  --sand: #1A1E28;
  --clay: #1A2350;
  --surface: #12151C;
  --ink-soft: #A4ABBA;
  --line: #262B36;
  --grid: rgba(255, 255, 255, .045);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0B0D12;
    --ink: #F2F4F8;
    --accent: #7C96FF;
    --accent-hover: #9DB1FF;
    --on-accent: #0B0D12;
    --sand: #1A1E28;
    --clay: #1A2350;
    --surface: #12151C;
    --ink-soft: #A4ABBA;
    --line: #262B36;
    --grid: rgba(255, 255, 255, .045);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
