:root {
  color-scheme: light;
  --ink: #111313;
  --muted: rgba(17, 19, 19, 0.62);
  --faint: rgba(17, 19, 19, 0.12);
  --paper: #f7f8f4;
  --accent: #17413f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Crect x='11' width='1' height='10' fill='%23111313' fill-opacity='0.028'/%3E%3Crect y='9' width='12' height='1' fill='%23111313' fill-opacity='0.045'/%3E%3C/svg%3E")
      left top repeat,
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-color: rgba(23, 65, 63, 0.32);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

.legal-header,
.legal-main,
.legal-footer {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  padding-top: 36px;
}

.legal-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-brand img {
  width: 34px;
  height: 22px;
}

.legal-main {
  padding-block: 72px 64px;
}

.legal-article {
  padding: clamp(28px, 6vw, 60px);
  border: 1px solid var(--faint);
  border-radius: 24px;
  background: rgba(247, 248, 244, 0.86);
  box-shadow: 0 18px 60px rgba(17, 19, 19, 0.06);
}

.legal-kicker,
.legal-effective {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-kicker {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-effective {
  margin: 10px 0 40px;
}

h1,
h2 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4rem);
}

h2 {
  margin: 36px 0 10px;
  font-size: 1.15rem;
}

p,
ul {
  margin-block: 0 16px;
}

ul {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 8px;
}

code {
  overflow-wrap: anywhere;
  font-size: 0.88em;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding-bottom: 36px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-footer small {
  font-size: inherit;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 560px) {
  .legal-header {
    padding-top: 24px;
  }

  .legal-main {
    padding-block: 44px;
  }

  .legal-article {
    border-radius: 18px;
  }

  .legal-footer {
    flex-direction: column;
  }
}
