/* Shared by every page: colors, typography, logo, buttons and footer.
   The React app (client/) loads this file too, from the server. */

/* Plus Jakarta Sans 5.3.0 from @fontsource-variable/plus-jakarta-sans, licensed under OFL 1.1 (see /fonts/OFL.txt).
   A variable font, so one file covers every weight from 200 to 800. The browser only fetches latin-ext when the
   text contains characters from it (unicode-range). Other scripts fall back to the system font. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.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 {
  --accent: #C43D23;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #FFFFFF);
  --accent-text: color-mix(in srgb, var(--accent) 85%, #000000);
  --accent-dark: color-mix(in srgb, var(--accent) 82%, #000000);
  --ink: #1E1B2E;
  --muted: #5B5770;
  --line: #ECEAF2;
  --field: #8E8AA3;
  --gray: #F4F3F8;
  --gray-soft: #F7F6FA;
  --peach: #FFF4EC;
  --blue: #2F55D4;
  --blue-text: #2440A8;
  --blue-soft: #EEF3FF;
  --blue-line: #C9D6FB;
  --night: #1E1B2E;
  --night-text: #D8D5E3;
  --error: #8A1F11;
  --error-bg: #FDECEA;
  --error-line: #F3B7AE;
  --ok: #1F6B4E;
  --ok-bg: #E3F4EC;
  --ok-line: #A9DCC4;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #FFFFFF; font-size: 17px; line-height: 1.6; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-dark); }
/* :where() has zero specificity, so buttons keep their own border-radius when focused. */
:where(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.icon { display: block; flex: none; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 30px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--gray); color: var(--ink); }
.btn-small { min-height: 46px; padding: 10px 22px; font-size: 16px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
