/*
 * Ibid secondary pages (join, iPhone beta, privacy). Loaded after styles.css, so the tokens,
 * masthead, buttons and footer are shared with the landing page; this file only lays out a
 * single reading column on paper.
 */

.page {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
}

.page-inner {
  max-width: 680px;
}

.page h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page h2 {
  margin-top: 44px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.page p,
.page li {
  color: var(--ink-soft);
}

.page p + p {
  margin-top: 14px;
}

.page .lede {
  margin-top: 18px;
  font-size: 20px;
  color: var(--ink);
}

.page a:not(.button) {
  color: var(--accent);
  text-underline-offset: 3px;
}

.page a:not(.button):hover {
  color: var(--accent-hover);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button-solid {
  background: var(--spruce);
  color: var(--on-dark);
}

.button-solid:hover {
  background: var(--spruce-raised);
}

.button-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-outline:hover {
  background: var(--surface-2);
}

.steps {
  margin-top: 40px;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  padding: 20px 0 20px 52px;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.steps b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.page .note {
  margin-top: 32px;
  font-size: 15px;
  color: var(--ink-faint);
}

.policy ul {
  margin-top: 12px;
  padding-left: 1.2em;
  list-style: disc;
}

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

.policy .updated {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-faint);
}
