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

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

:root {
  --ink: #1b1733;
  --muted: #5f5c78;
  --accent: #4a27f7;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f3f0ff;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: linear-gradient(180deg, #e6deff 0%, #f3f0ff 34%, #f7f6ff 100%);
  background-attachment: fixed;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.mark {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.wordmark {
  display: block;
  width: 156px;
  height: auto;
  margin: 0 0 32px;
}

h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

.sub {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

footer {
  margin-top: 64px;
  max-width: 560px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer .fine {
  margin-top: 8px;
  font-size: 0.8125rem;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .mark {
    width: 88px;
    height: 88px;
  }

  .wordmark {
    width: 188px;
  }

  h1 {
    font-size: 3rem;
  }

  .sub {
    font-size: 1.25rem;
  }
}
