:root {
  --slate: #30343d;
  --teal: #06bfc7;
  --gold: #fcb52f;
  --ink: #f4f5f7;
  --muted: #9aa1ad;
  --display: "Manrope", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

.terms {
  min-height: 100dvh;
  background: var(--slate);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

.terms-logo {
  display: block;
  width: 200px;
  margin: 36px 0 0 80px;
}

.terms-logo img {
  display: block;
  width: 200px;
  height: auto;
}

.terms-main {
  max-width: 34rem;
  padding: 10vh 80px 48px;
}

.terms h1 {
  margin: 0 0 16px;
  font: 800 clamp(40px, 6vw, 72px) / 0.95 var(--display);
  letter-spacing: -0.02em;
}

.terms-eyebrow {
  margin: 0 0 14px;
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.terms-body {
  margin: 0 0 28px;
  max-width: 42ch;
  font: 400 18px/1.5 var(--body);
  color: var(--muted);
}

.terms-docs {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.terms-doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 3px;
  background: var(--gold);
  color: #1c1f25;
  font: 800 15px/1 var(--display);
  text-decoration: none;
}

.terms-doc:hover {
  color: #0d1014;
}

.terms-doc:focus {
  outline: none;
}

.terms-doc:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.terms-note,
.terms-home {
  margin: 0 0 16px;
  max-width: 42ch;
  font: 400 15px/1.5 var(--body);
  color: var(--muted);
}

.terms-note a,
.terms-home a {
  color: var(--teal);
  text-decoration: none;
}

.terms-note a:hover,
.terms-home a:hover {
  color: var(--ink);
}

.terms-note a:focus,
.terms-home a:focus {
  outline: none;
}

.terms-note a:focus-visible,
.terms-home a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .terms-logo {
    width: 140px;
    margin: calc(16px + env(safe-area-inset-top, 0px)) 22px 0;
  }

  .terms-logo img {
    width: 140px;
  }

  .terms-main {
    padding: 8vh 22px calc(32px + env(safe-area-inset-bottom, 0px));
    max-width: 28rem;
  }
}
