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

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

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

html {
  background: #f2f5fb;
}

body {
  margin: 0;
  background: #f2f5fb;
  color: #0e1730;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: #f4f7ff;
  color: #0e2458;
  font-weight: 700;
  text-decoration: none;
  padding: 0.625rem 1rem;
  min-height: 44px;
  min-width: 44px;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.mast {
  background: #0e2458;
  color: #f4f7ff;
}

.mast-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding-block: 0.75rem;
}

.wordmark {
  margin: 0;
  color: #f4f7ff;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero {
  padding-block: 2.5rem 1.5rem;
}

.hero-copy {
  max-width: 40rem;
}

h1,
h2,
.store {
  font-weight: 700;
}

h1 {
  margin: 0 0 1rem;
  color: #0e2458;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  margin: 0 0 0.5rem;
  color: #0e2458;
  font-size: 1.375rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.hero p + p,
.note {
  margin-top: 0.75rem;
}

.note {
  color: #3d4b63;
}

.store {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.25rem;
  background: #000000;
  color: #ffffff;
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.2;
}

.features {
  display: grid;
  gap: 1rem;
  padding-bottom: 3rem;
}

.features article {
  background: #ffffff;
  border: 1px solid #d5deef;
  border-radius: 10px;
  padding: 1.25rem;
}

.panic {
  border-top: 4px solid #c4162a;
}

.panic h2 {
  color: #c4162a;
}

.site-footer {
  background: #0e2458;
  color: #f4f7ff;
  padding-block: 1.5rem;
}

.site-footer p {
  font-weight: 700;
}

a:focus-visible,
.skip:focus-visible {
  outline: 3px solid #f4f7ff;
  outline-offset: 3px;
}

.hero a:focus-visible {
  outline-color: #0e2458;
}

@media (max-width: 599px) {
  .wrap {
    width: min(72rem, calc(100% - 2rem));
  }

  .hero {
    padding-block: 2rem 1.25rem;
  }

  .store {
    width: 100%;
  }
}

@media (min-width: 800px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}
