@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ysgo-bg);
  color: var(--ysgo-ink);
  font-family: var(--ysgo-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--ysgo-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ysgo-primary-dark);
}

a.ysgo-line-card:hover,
a.ysgo-model-card:hover,
a.ysgo-model-card__main:hover {
  color: inherit;
}

a.ysgo-btn--green:hover,
a.ysgo-btn--green:focus {
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ysgo-ink);
  font-weight: 800;
  line-height: 1.06;
}

h1 {
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  min-width: 0;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.035em;
  min-width: 0;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

p {
  margin: 0;
}

.ysgo-wrap {
  width: min(1240px, calc(100% - 48px));
  max-width: 100%;
  margin-inline: auto;
}

.ysgo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ysgo-line);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--ysgo-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ysgo-blue);
}

td {
  font-size: 15px;
  color: var(--ysgo-ink);
}

tr:last-child td {
  border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  html.ysgo-js .ysgo-rv:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}
