/* Literata © The Literata Project Authors, SIL OFL 1.1
   Nunito © The Nunito Project Authors, SIL OFL 1.1 */

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/nunito-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/nunito-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/literata-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/literata-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  background: #f6f4ef;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background:
    radial-gradient(880px 520px at 50% 46%, #ffffff 0%, rgba(255, 255, 255, 0) 68%),
    #f6f4ef;
  color: #1b1a17;
  font-family: Nunito, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: min(680px, 86vw);
  aspect-ratio: 1;
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: #8a867c;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto;
  max-width: 12ch;
  font-family: Literata, Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 8vw, 4.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  margin: 26px auto 0;
  max-width: 34ch;
  color: #5f5c55;
  font-size: 1.08rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px 15px 24px;
  border-radius: 999px;
  background: #1b1a17;
  color: #f7f6f2;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.button:hover {
  background: #000000;
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(1px);
}

.handle {
  color: #8a867c;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.handle:hover {
  color: #1b1a17;
}

.button:focus-visible,
.handle:focus-visible {
  outline: 2px solid #1b1a17;
  outline-offset: 4px;
}

::selection {
  background: #1b1a17;
  color: #f6f4ef;
}

@media (max-width: 520px) {
  body::after {
    display: none;
  }

  h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button svg {
    transition: none;
  }
}
