/* =====================================================================
   Text pages: privacy policy, support, 404.
   One readable column under the regular header, closed by the footer.
   ===================================================================== */

.doc {
  max-width: 760px;
  padding-block: clamp(28px, 6vw, 72px) var(--section);
}

.doc__kicker { margin-bottom: 18px; }

.doc__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.doc__meta {
  margin-top: 20px;
  font-size: 15px;
}

.doc__intro { margin-top: 28px; max-width: 60ch; }

.doc section {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.doc h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.doc h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 24px 0 6px;
}

.doc p,
.doc li { max-width: 64ch; }

.doc p + p,
.doc ul + p { margin-top: 12px; }

.doc ul {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.doc ul li {
  position: relative;
  padding-left: 20px;
}

.doc ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.doc a { text-underline-offset: 3px; }

.doc dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
  margin: 12px 0 0;
}

.doc dt { color: var(--ink-2); }
.doc dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 479px) {
  .doc dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc dd + dt { margin-top: 10px; }
}

.doc .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 40px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}

/* Button on the confirm and unsubscribe pages, same shape as the waitlist button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-top: 32px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 180ms var(--ease), transform 160ms var(--ease);
}

@media (hover: hover) {
  .btn:hover { background: var(--ink); }
}

.btn:active { transform: scale(0.97); }

a.btn { text-decoration: none; }

.doc h1:focus { outline: none; }
