/*
  Pages should preload Space Grotesk 400 and 700. Add these in <head> before
  the stylesheets:

  <link rel="preload" href="/fonts/space-grotesk-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
  <link rel="preload" href="/fonts/space-grotesk-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin>

  Both families are self-hosted woff2 (latin subset, SIL OFL). Licenses:
  /fonts/OFL-SpaceGrotesk.txt and /fonts/OFL-IBMPlexMono.txt.
  Do not request Google Fonts. This file imports tokens.css.
*/

@import "./tokens.css";

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--gsu-ice);
  color: var(--gsu-navy);
  font-family: var(--gsu-font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--gsu-cobalt);
  text-decoration: none;
}

a:hover {
  color: var(--gsu-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

::selection {
  background: var(--gsu-lime);
  color: var(--gsu-navy);
}

:focus-visible {
  outline: 2px solid var(--gsu-cobalt);
  outline-offset: 2px;
}

.band-navy :focus-visible,
.band-navy:focus-visible,
.on-navy :focus-visible,
.on-navy:focus-visible {
  outline-color: var(--gsu-lime);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--gsu-container);
  margin-inline: auto;
  padding-left: max(var(--gsu-s-7), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gsu-s-7), env(safe-area-inset-right, 0px));
}

.section {
  padding-block: var(--gsu-s-10);
}

.band-white {
  background: var(--gsu-white);
  color: var(--gsu-navy);
}

.band-ice {
  background: var(--gsu-ice);
  color: var(--gsu-navy);
}

.band-navy,
.on-navy {
  color: var(--gsu-white);
}

.band-navy {
  background: var(--gsu-navy);
}

.band-navy a,
.on-navy a {
  color: var(--gsu-lime);
}

.band-navy a:hover,
.on-navy a:hover {
  color: var(--gsu-white);
}

.t-d1,
.t-d2,
.t-d-access,
.t-h3,
.t-section {
  font-family: var(--gsu-font-sans);
  text-wrap: pretty;
}

.t-lead,
.t-body {
  font-family: var(--gsu-font-sans);
}

.t-d1 {
  font-size: 72px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.t-d2 {
  font-size: 48px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.t-d-access {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.t-h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.t-section {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.t-lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 62ch;
  color: var(--gsu-body);
}

.t-body {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 62ch;
  color: var(--gsu-body);
}

.t-label,
.t-meta {
  font-family: var(--gsu-font-mono);
  font-weight: 400;
  color: var(--gsu-gray);
}

.t-label {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.t-meta {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.band-navy .t-lead,
.band-navy .t-body,
.band-navy .t-label,
.band-navy .t-meta,
.on-navy .t-lead,
.on-navy .t-body,
.on-navy .t-label,
.on-navy .t-meta {
  color: var(--gsu-on-navy);
}

@media (max-width: 1279px) {
  .container {
    padding-left: max(var(--gsu-s-6), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gsu-s-6), env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: max(var(--gsu-s-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gsu-s-5), env(safe-area-inset-right, 0px));
  }

  .section {
    padding-block: var(--gsu-s-8);
  }

  .t-d1,
  .t-d-access {
    font-size: 40px;
  }

  .t-d2 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
