@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --scene: #0b0b0b;
  --strong: #ffffff;
  --text: #f2f2f2;
  --secondary: #8a8a8a;
  --tertiary: #626262;
  --legal: #e6e6e6;
  --surface: #1f1f1f;
  --surface-raised: #272727;
  --line: #2a2a2a;
  --warning: #e8a33d;
  --success: #5ac077;
  --primary: #ffffff;
  --on-primary: #0a0a0a;
  --secondary-button: #2c2c2c;
  --on-secondary-button: #d5d9e2;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: 48px;
}

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

html {
  background: var(--scene);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--scene);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  font-synthesis: none;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.wordmark {
  flex: none;
  display: block;
  position: relative;
  height: calc(var(--mark) * 0.98);
  aspect-ratio: 3071 / 980;
  margin: calc(var(--mark) * 0.106) 0 calc(var(--mark) * -0.086);
}

.wordmark img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero .wordmark::before {
  content: "";
  position: absolute;
  left: 1.185em;
  top: 0.408em;
  width: 0.345em;
  height: 0.345em;
  border-radius: 50%;
  box-shadow:
    0 0 0.54em 0.094em #ffffff33,
    0 0 0.167em 0.02em #ffffff4d;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--edge);
  color: var(--tertiary);
  font-size: 13px;
  line-height: 19px;
}

.landing {
  --mark: clamp(64px, min(8vw, 10.5vh), 96px);
  --mark: clamp(64px, min(8vw, 10.5svh), 96px);
  --ground: 48vh;
  --ground: 48svh;
  --gap: 32px;
  position: relative;
}

.bot-scene {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
}

.hero-offset {
  flex: 0 1 calc(var(--ground) + var(--mark) * 0.42);
  min-height: 0;
}

.hero {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  padding: 0 var(--edge);
  text-align: center;
}

.hero .wordmark {
  margin-bottom: calc(var(--mark) * 0.394 - var(--gap));
  font-size: var(--mark);
}

.hero-rest {
  flex: 1 0 0;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
  color: var(--secondary);
}

.lead strong {
  font-weight: 500;
  color: var(--text);
}

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

.buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  white-space: pre;
}

.button svg {
  flex: none;
}

.button-primary,
.button-primary:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.button-secondary,
.button-secondary:hover {
  background: var(--secondary-button);
  color: var(--on-secondary-button);
}

.button[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}

.version {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--secondary);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--edge);
}

.legal-header .wordmark {
  --mark: 28px;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--secondary);
}

.legal-nav [aria-current="page"] {
  font-weight: 500;
  color: var(--text);
}

.legal {
  flex: 1 0 auto;
  align-self: center;
  width: min(720px, 100% - 2 * var(--edge));
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 0 96px;
}

.legal-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.draft-tag {
  display: flex;
  align-items: center;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--surface-raised);
  color: var(--warning);
  font-size: 13px;
  line-height: 18px;
}

.legal h1 {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--text);
}

.dateline {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--secondary);
}

.legal p {
  margin: 0;
}

.legal-introduction {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.legal-introduction p,
.legal-section p {
  font-size: 16px;
  line-height: 27px;
  color: var(--legal);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: var(--text);
}

.section-number {
  color: var(--secondary);
}

.legal strong {
  font-weight: 500;
  color: var(--text);
}

.open-point {
  color: var(--warning);
}

.notice {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px var(--edge);
  text-align: center;
}

.notice .wordmark {
  --mark: 28px;
  margin-bottom: 16px;
}

.notice h1 {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.022em;
}

.notice p {
  margin: 0;
  max-width: 28em;
  font-size: 16px;
  line-height: 27px;
  color: var(--secondary);
}

.notice a {
  font-size: 14px;
  line-height: 20px;
  color: var(--secondary);
}

@media (max-width: 600px) {
  :root {
    --edge: 24px;
  }

  .landing {
    --gap: 28px;
  }

  .hero {
    align-items: stretch;
  }

  .hero .wordmark {
    align-self: center;
  }

  .lead {
    font-size: 16px;
    line-height: 26px;
  }

  .actions,
  .buttons {
    align-items: stretch;
  }

  .buttons {
    flex-direction: column;
  }

  .site-footer {
    padding-block: 20px;
  }

  .wide-only {
    display: none;
  }

  .legal {
    padding: 40px 0 64px;
  }

  .legal h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .legal-nav {
    gap: 16px;
  }
}
