@font-face {
  font-family: "Work Sans";
  src: url("WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #09203B;
  --accent: #AEEFCE;
  --text: #E8EEF5;
  --muted: #9FB1C6;
  --rule: rgba(174, 239, 206, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 0.75rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

small {
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  body {
    padding: 2.5rem 1.25rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
