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

@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  color: #ffffff;
  background: #061015;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 6px;
}

.teaser {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(36px, env(safe-area-inset-top)) clamp(24px, 5vw, 80px)
    max(28px, env(safe-area-inset-bottom));
  position: relative;
  isolation: isolate;
}

.wave,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.wave {
  object-fit: cover;
  object-position: 62% center;
}

.shade {
  background:
    radial-gradient(ellipse at 50% 43%, #02090e75, transparent 68%),
    linear-gradient(180deg, #02090e25 45%, #02090ed9 100%);
}

.masthead {
  display: flex;
  justify-content: center;
}

.masthead img {
  display: block;
  width: 144px;
  height: auto;
}

.launch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 72px 0;
  text-align: center;
}

.launch h1 {
  margin: 0;
  font-weight: 400;
}

.from {
  display: block;
  margin: 0 0 18px 0.35em;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35em;
}

.year {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(128px, 18vw, 272px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.beta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  margin-top: 36px;
  padding: 10px 18px;
  border: 1px solid #d9eff04d;
  border-radius: 6px;
  background: #06101599;
  font-size: 13px;
  font-weight: 500;
}

.beta-link:hover {
  background: #0b292e;
  border-color: #d9eff099;
}

.beta-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #c1cbcd;
  font-size: 11px;
  line-height: 1.5;
}

.footer nav {
  display: flex;
  gap: 24px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer a:hover,
.document a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  min-height: 100svh;
  padding: 36px clamp(24px, 5vw, 80px);
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.legal-header img {
  display: block;
  width: 124px;
  height: auto;
}

.back-link {
  font-size: 13px;
  color: #c1cbcd;
  padding: 12px 0;
}

.document {
  max-width: 720px;
  margin: 80px auto;
  font-size: 15px;
  line-height: 1.75;
  color: #c1cbcd;
}

.document h1,
.document h2 {
  color: #ffffff;
  line-height: 1.2;
}

.document h1 {
  margin: 0 0 40px;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.04em;
}

.document h2 {
  margin: 36px 0 12px;
  font-size: 19px;
}

.document p {
  margin: 0 0 18px;
}

.document a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.document address {
  font-style: normal;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .teaser {
    padding-top: max(32px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .wave {
    object-position: 65% center;
  }

  .masthead img {
    width: 128px;
  }

  .launch {
    padding: 56px 0;
  }

  .footer {
    flex-direction: column;
    gap: 4px;
  }

  .footer nav {
    gap: 24px;
  }

  .footer > span {
    order: 1;
  }

  .document {
    margin: 56px auto;
  }
}

@media (max-height: 650px) and (min-width: 601px) {
  .launch {
    padding: 28px 0;
  }

  .year {
    font-size: 150px;
  }

  .beta-link {
    margin-top: 24px;
  }
}
