@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg0: #0a0b0d;
  --bg1: #101216;
  --bg2: #171a1f;
  --bg3: #1f232a;
  --bg4: #272c34;
  --border: #2a2f37;
  --divider: #1a1e24;
  --fg0: #f5f6f8;
  --fg1: #9ca1a9;
  --fg2: #5e646d;
  --accent: #5c7cfa;
  --accent-hover: #7a95ff;
  --accent-press: #4361de;
  --accent-glow: rgba(92, 124, 250, 0.2);

  --r2: 4px;
  --r3: 8px;
  --r4: 12px;
  --r5: 16px;
  --r-pill: 999px;

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --s8: 80px;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg1);
  color: var(--fg0);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--fg0);
  line-height: 1.25;
}

/* Coming soon page */

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--s4);
  text-align: center;
  background: radial-gradient(
    circle at 50% 35%,
    var(--accent-glow),
    transparent 60%
  ),
  var(--bg1);
}

.hero__mark {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.hero__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r4);
  box-shadow: 0 0 0 1px var(--border);
}

.hero__wordmark {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg0);
}

.hero__tagline {
  color: var(--fg1);
  font-size: 18px;
  font-weight: 500;
  max-width: 32ch;
}

.hero__status {
  margin-top: var(--s3);
  color: var(--fg2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Legal pages */

.legal {
  max-width: 65ch;
  margin: 0 auto;
  padding: var(--s5) var(--s4) var(--s8);
}

.legal__back {
  display: inline-block;
  margin-bottom: var(--s5);
  font-size: 14px;
  font-weight: 600;
}

.legal h1 {
  font-size: 30px;
  margin-bottom: var(--s2);
}

.legal h2 {
  font-size: 20px;
  margin-top: var(--s6);
  margin-bottom: var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--divider);
}

.legal p,
.legal li {
  color: var(--fg1);
  font-size: 16px;
}

.legal p {
  margin: 0 0 var(--s3);
}

.legal ul {
  margin: 0 0 var(--s3);
  padding-left: var(--s4);
}

.legal li {
  margin-bottom: var(--s1);
}

.legal strong {
  color: var(--fg0);
  font-weight: 600;
}

.legal .effective-date {
  color: var(--fg2);
  font-size: 14px;
  margin-bottom: var(--s5);
}

.placeholder {
  background: var(--accent-glow);
  color: var(--accent-hover);
  border-radius: var(--r2);
  padding: 0 4px;
}

@media (max-width: 480px) {
  .hero__icon {
    width: 44px;
    height: 44px;
  }

  .hero__wordmark {
    font-size: 26px;
  }

  .legal h1 {
    font-size: 24px;
  }
}
