@font-face {
  font-family: "Futura PT";
  src: local("Futura PT Light"), local("FuturaPT-Light");
  font-weight: 300;
}
@font-face {
  font-family: "Futura PT";
  src: local("Futura PT Heavy"), local("FuturaPT-Heavy");
  font-weight: 700;
}

:root {
  color-scheme: light;
  --paper: #eff5f8;
  --white: #ffffff;
  --petroleum: #09435e;
  --blue: #0c73ba;
  --blue-hover: #09598f;
  --blue-light: #eaf4fb;
  --blue-light-hover: #dceefa;
  --on-petroleum: #e1eff7;
  --surface: var(--white);
  --surface-subtle: #f7f9fc;
  --surface-tinted: #eaf1fa;
  --ink: #153749;
  --gray: #435e6e;
  --placeholder: #647383;
  --line: #d2e1e9;
  --control-line: #9db3c1;
  --accent-ink: var(--blue-hover);
  --value-ink: var(--petroleum);
  --focus-ring: var(--blue);
  --warning-surface: #f8efdb;
  --warning-ink: #73531d;
  --danger-surface: #faece8;
  --danger-ink: #8c352a;
  --radius: 6px;
  --control-height: 42px;
  --content-width: 1360px;
  --page-gutter: 36px;
  font: 300 15px/1.5 "Futura PT", Calibri, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1724;
  --surface: #101f30;
  --surface-subtle: #15273a;
  --surface-tinted: #182e44;
  --blue-light: #1b3751;
  --blue-light-hover: #234766;
  --ink: #e6eef5;
  --gray: #aabed0;
  --placeholder: #98afc4;
  --line: #30475d;
  --control-line: #647d94;
  --accent-ink: #9bd0ff;
  --value-ink: #bedfff;
  --focus-ring: #9bd0ff;
  --warning-surface: #382b17;
  --warning-ink: #f8d691;
  --danger-surface: #3b252c;
  --danger-ink: #ffb8a5;
}

@media (prefers-reduced-motion: no-preference) {
  :root[data-theme-transition],
  :root[data-theme-transition] *,
  :root[data-theme-transition] *::before,
  :root[data-theme-transition] *::after,
  :root[data-theme-transition] *::file-selector-button {
    transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease,
      outline-color 260ms ease, box-shadow 260ms ease;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
main { flex: 1 0 auto; }
h1,h2,h3,h4,p,dl,dd { margin: 0; }
h1,h2,h3,h4,strong,b { font-weight: 700; }
button,input,select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
.sr-only,.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; background: var(--surface); }

input:not([type="checkbox"]), select { color: var(--ink); background: var(--surface); min-height: var(--control-height); border: 1px solid var(--control-line); border-radius: var(--radius); padding: 8px 11px; width: 100%; min-width: 0; font-size: 14px; }
input::placeholder { color: var(--placeholder); }

@media (max-width: 1000px) {
  :root { --page-gutter: 22px; }
}

@media (max-width: 480px) {
  :root { --page-gutter: 14px; }
}
