:root {
  --ink: #2b2b2b;
  --paper: #f7f7f7;
  --hair: rgba(43, 43, 43, 0.14);
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 5rem);
}

/* ---------- Nav ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
}

.logo img { display: block; height: 1.6rem; width: auto; }
.logo { text-decoration: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(43, 43, 43, 0.06);
  color: var(--ink);
  padding: 0.6rem 1.25rem 0.6rem 2.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease, padding 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn .label { position: relative; z-index: 1; }
.btn .arrow {
  position: absolute;
  top: 50%;
  left: 0.35rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-50%);
  transition: left 0.7s cubic-bezier(0.65, 0, 0.35, 1), background 0.4s ease, color 0.4s ease;
}
.btn .arrow svg { width: 0.8rem; height: 0.8rem; display: block; }
.btn:hover {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 2.7rem 0.6rem 1.25rem;
}
.btn:hover .arrow {
  background: var(--paper);
  color: var(--ink);
  left: calc(100% - 1.9rem);
}
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arrow { transition: background 0.3s ease, color 0.3s ease; }
}

/* ---------- Legal document ---------- */
.doc {
  max-width: 44rem;
  padding-top: clamp(3rem, 9vh, 5.5rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.doc h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.doc .updated {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.4;
}

.doc .lede {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  opacity: 0.62;
}

.doc h2 {
  margin-top: 2.9rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.doc h3 {
  margin-top: 1.7rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  font-size: 0.98rem;
  line-height: 1.72;
  opacity: 0.72;
}

.doc p { margin-bottom: 1rem; }

.doc ul {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}
.doc li { margin-bottom: 0.55rem; }

.doc strong { font-weight: 600; opacity: 1; }

.doc a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hair);
  transition: text-decoration-color 0.3s ease;
}
.doc a:hover { text-decoration-color: currentColor; }

.doc hr {
  border: none;
  border-top: 1px solid var(--hair);
  margin: 2.4rem 0 0;
}

/* ---------- Footer ---------- */
footer {
  padding: 1.75rem 0 2.25rem;
  font-size: 0.8rem;
  opacity: 0.4;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 1.15rem;
  padding-top: 0;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 600px) {
  .doc { padding-top: 2.5rem; }
  .doc h2 { margin-top: 2.3rem; }
}
