@font-face {
  font-family: Overlock;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/overlock-700.woff2") format("woff2");
}
@font-face {
  font-family: Overlock;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/overlock-900.woff2") format("woff2");
}

:root {
  --header-h: 51px;
  --col: 980px;
  --cream: #f9f0bb;
  --orange: #ed793b;
  --teal: #41baae;
  --muted: #605e5e;
}

body {
  margin: 0;
  background: #242323;
  font-family: Overlock, "Trebuchet MS", sans-serif;
  -webkit-text-size-adjust: 100%;
}

.col {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
}

/* Home */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  background: rgba(15, 12, 31, 0.8);
}
.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  padding: 8px 59px 0 16px;
}
.site-nav a {
  color: var(--cream);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.site-nav a:hover { color: #fff; }

.splash {
  position: relative;
  height: 1440px;
  background: #242323 url("/img/splash.jpg") center / cover no-repeat;
}
.splash .logo { display: block; margin: 0; padding: 71px 0 0 19px; line-height: 0; }
.splash .logo img { width: 741px; max-width: 100%; height: auto; }
.copyright {
  margin: 0;
  color: var(--orange);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.splash .copyright { position: absolute; right: 0; bottom: 5px; left: 0; }

/* Friend request */
.request {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 8px 12px 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 170, 255, 0.35) 0 1.2%, transparent 2.4%),
    radial-gradient(circle at 78% 30%, rgba(30, 230, 230, 0.4) 0 0.9%, transparent 2%),
    radial-gradient(circle at 34% 72%, rgba(30, 230, 230, 0.35) 0 1.4%, transparent 2.8%),
    radial-gradient(circle at 88% 82%, rgba(40, 170, 255, 0.4) 0 1.1%, transparent 2.2%),
    radial-gradient(circle at 60% 55%, rgba(30, 230, 230, 0.25) 0 0.7%, transparent 1.6%),
    linear-gradient(rgba(2, 176, 173, 0.3), rgba(2, 176, 173, 0.3)),
    linear-gradient(135deg, #0a5a8c 0%, #06414b 50%, #0a5f8f 100%);
  text-align: center;
}
.request .logo { display: block; width: 300px; max-width: 80%; margin: 0 auto 18px; line-height: 0; }
.request .logo img { width: 100%; height: auto; }
.card {
  box-sizing: border-box;
  width: 800px;
  max-width: 100%;
  min-height: 600px;
  margin: 0 auto;
  padding: 30px 16px 26px;
  background: #fff url("/img/panel.jpg") center / 100% 100% no-repeat;
}
.card h1 {
  margin: 0 0 95px;
  color: #000;
  font-size: 24px;
  font-weight: 900;
  line-height: 30px;
}
.card p { margin: 0 auto; color: var(--muted); font-weight: 700; }
.card .question { max-width: 343px; margin-bottom: 27px; font-size: 18px; line-height: 21px; }
.card .note { max-width: 266px; margin: 15px auto 22px; font-size: 14px; line-height: 17px; }
.card .free { margin: 11px auto 13px; font-size: 18px; line-height: 20px; }
.choice {
  display: block;
  width: 220px;
  height: 60px;
  margin: 0 auto;
  border-radius: 3px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 60px;
  text-decoration: none;
}
.choice--yes { background: var(--teal); }
.choice--no { background: var(--orange); }
.choice:hover { filter: brightness(1.08); }
.card .badge { display: inline-block; line-height: 0; }
.card .badge img { width: 247px; height: auto; }
.request .copyright { margin-top: 60px; color: #fff; }

/* Link-account screenshot */
body.plain { background: #fff; }
.screenshot { display: block; width: 978px; max-width: 100%; height: auto; margin: 0 auto; }

.not-found { padding: 140px 16px; color: var(--cream); text-align: center; }
.not-found h1 { font-size: 44px; font-weight: 900; }
.not-found a { color: var(--orange); }

@media (max-width: 980px) {
  .site-nav { gap: 20px; padding-right: 16px; }
  .site-nav a { font-size: 20px; }
  .splash { height: auto; min-height: 100vh; background-position: 72% center; }
  .splash .logo { padding: 70px 12px 0; }
  .card h1 { margin-bottom: 48px; }
}
