@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

/* Global typography */
html {
  font-size: 15.5px;
}

body,
input,
button,
textarea,
select {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

p,
li,
label,
input,
button,
textarea,
select {
  font-size: 1rem;
}

h1,
h2,
h3,
b,
strong,
button,
.button,
.nav-button,
.back,
.back-link,
.step-no {
  letter-spacing: -0.02em;
}

:root {
  --sf-font-body: 15px;
  --sf-font-small: 14px;
  --sf-font-button: 16px;

  --sf-font-page-title: 30px;
  --sf-font-page-title-mobile: 26px;

  --sf-font-card-title: 24px;
  --sf-font-card-title-mobile: 24px;

  --sf-line-body: 1.48;
  --sf-line-tight: 1.25;
}

body {
  font-size: var(--sf-font-body);
}

p,
li,
input {
  font-size: var(--sf-font-body);
  line-height: var(--sf-line-body);
}

button,
.button {
  font-size: var(--sf-font-button);
}

.footer-outside,
.sf-footer {
  font-size: var(--sf-font-small);
}

.sf-footer {
  position: relative;
  width: 100%;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #8f8f8f;
}

.sf-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-footer a {
  color: #8f8f8f;
  text-decoration: none;
}

.sf-footer a:hover {
  color: #444;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sf-footer-logo {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 88px;
  height: auto;
  opacity: 0.24;
  filter: grayscale(1);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.header h1,
.help-header h1,
.subpage-header h1 {
  font-size: var(--sf-font-page-title);
  line-height: 1.16;
}

.status-card h2,
.hero-card h2 {
  font-size: var(--sf-font-card-title);
  line-height: 1.18;
}

@media (max-width: 620px) {
  .header h1,
  .help-header h1,
  .subpage-header h1 {
    font-size: var(--sf-font-page-title-mobile);
  }

  .status-card h2,
  .hero-card h2 {
    font-size: var(--sf-font-card-title-mobile);
  }
}