:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #0a090c;
  color: #f6f3f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(139, 92, 246, 0.14), transparent 28rem), #0a090c;
  line-height: 1.7;
}

a {
  color: #b39aff;
}

a:focus-visible {
  outline: 3px solid #b39aff;
  outline-offset: 3px;
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(10, 9, 12, 0.9);
}

.legal-nav,
.legal-main,
.legal-footer {
  width: min(100% - 2rem, 50rem);
  margin-inline: auto;
}

.legal-nav {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-brand {
  position: relative;
  display: block;
  width: min(13rem, 52vw);
  height: 3rem;
  overflow: hidden;
  color: #f6f3f8;
  text-decoration: none;
}

.legal-brand img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.back-link {
  color: #b2abb9;
  font-size: 0.82rem;
  text-decoration: none;
}

.legal-main {
  padding-block: 4.5rem;
}

.legal-kicker {
  margin: 0 0 1rem;
  color: #b39aff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(2.7rem, 13vw, 5rem);
}

h2 {
  margin: 2.6rem 0 0.75rem;
  font-size: 1.7rem;
}

h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1rem;
}

p,
li {
  color: #c3bdc8;
}

address {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  background: #121015;
  color: #e4dfe8;
  font-style: normal;
}

.legal-footer {
  display: flex;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  justify-content: space-between;
  gap: 1rem;
  color: #837c89;
  font-size: 0.75rem;
}

@media (max-width: 32rem) {
  .legal-footer {
    display: grid;
  }
}
