/* Design tokens, read from the Figma design "New Jove - Home" (1536px desktop / 393px mobile). */
:root {
  --color-bg: #ffffff;
  --color-surface: #f7f7f7;
  --color-navy: #273a80;
  --color-orange: #f05822;
  --color-text: #3a3a3a;
  --color-text-tagline: #464646;
  --color-line: #a2a2a2;
  --color-icon: rgb(58 58 58 / 0.4);
  --color-error: #ce1126;

  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --page-max: 1536px; /* content never grows wider than the design frame */

  /* Desktop frame: nav 117, hero 770, footer 173 (at 1536px wide). */
  --nav-h: 56px;
  --footer-h: 120px;
}

@media (min-width: 900px) {
  :root {
    --nav-h: 117px;
    --footer-h: 173px;
  }
}

/* Large screens: scale the whole 1536px design up so it does not look tiny. The design frame is
   about 1060px tall, so these steps keep it within one screen (1080p: 1x, 1440p: 1.33x, 4K: 2x). */
:root {
  --z: 1;
}
@media (min-width: 2560px) {
  :root {
    --z: 1.33;
  }
}
@media (min-width: 3840px) {
  :root {
    --z: 2;
  }
}
