:root {
  --background: #050505;
  --surface: rgba(243, 240, 234, .035);
  --text: #f3f0ea;
  --muted: rgba(243, 240, 234, .64);
  --soft: rgba(243, 240, 234, .42);
  --line: rgba(243, 240, 234, .16);
  --line-strong: rgba(243, 240, 234, .28);
  --font-sans: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
  --page-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .07), transparent 28rem),
    var(--background);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection {
  color: #050505;
  background: var(--text);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  color: #050505;
  background: var(--text);
  font-size: .75rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(100% - 2.5rem, var(--page-width));
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  font-weight: 600;
}

.brand::before {
  content: "";
  width: 1.35rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.header-link {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.header-link::after {
  content: "  ↗";
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--text);
}

.legal {
  display: grid;
  grid-template-columns: minmax(230px, .44fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.legal__intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6.3vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
}

.lead {
  max-width: 470px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.updated {
  margin: 2rem 0 0;
  color: var(--soft);
  font-size: .72rem;
  line-height: 1.6;
}

.legal-nav {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
}

.legal-nav a {
  padding-bottom: .16rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  transition: color .2s ease, border-color .2s ease;
}

.legal-nav a[aria-current="page"],
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--text);
  border-color: var(--text);
}

.legal__content {
  max-width: 790px;
}

.legal-section {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.35rem;
  padding-block: 2.2rem;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section__number {
  padding-top: .28rem;
  color: var(--soft);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.legal-section h3 {
  margin: 1.45rem 0 .55rem;
  font-size: 1rem;
  font-weight: 600;
}

.legal-section p,
.legal-section li {
  color: rgba(243, 240, 234, .78);
  font-size: .98rem;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: .8rem 0 1rem;
  padding-left: 1.15rem;
}

.legal-section li + li {
  margin-top: .48rem;
}

.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  border-color: var(--text);
}

.note {
  margin-top: 1.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.site-footer {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
}

.footer-links a {
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .legal__intro {
    position: static;
  }

  h1 {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 2rem, var(--page-width));
  }

  .site-header {
    min-height: 5.5rem;
  }

  .header-link {
    font-size: .62rem;
  }

  .legal {
    padding-block: 4rem 5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5.3rem);
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: .7rem;
    padding-block: 1.8rem;
  }

  .legal-section__number {
    padding: 0;
  }

  .site-footer {
    min-height: 8rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.privacy-title {
  max-width: 100%;
  font-size: clamp(3.4rem, 4.6vw, 4.6rem);
}

@media (max-width: 620px) {
  .privacy-title {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }
}

.legal-title--compact {
  max-width: 100%;
  font-size: clamp(3.4rem, 4.6vw, 4.8rem);
}

@media (max-width: 620px) {
  .legal-title--compact {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }
}