/* Shared styles for static legal pages (privacy, terms). */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, 'SF Pro Display', Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #000;
  background: #fff;
}

a { color: #000; }
a:focus-visible { outline: 2px solid #888; outline-offset: 3px; }

.mono {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #5f5f5f;
}

/* MARK: - Header */

.header { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.header__inner,
.content,
.footer__inner {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
}

.header__inner { padding-block: 18px; }

.wordmark {
  display: inline-flex;
  gap: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-decoration: none;
}

.wordmark span { padding: 4px 3px 4px 6px; }
.wordmark .is-inverted { background: #000; color: #fff; }

/* MARK: - Content */

.content { padding-block: 72px 96px; }

.placeholder {
  margin: 0 0 40px;
  padding: 12px 16px;
  border: 1px dashed #000;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

h1 {
  margin: 12px 0 48px;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p, li {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
}

p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }

/* MARK: - Footer */

.footer { border-top: 1px solid rgba(0, 0, 0, 0.08); }

.footer__inner {
  padding-block: 32px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  font-size: 13px;
  color: #6b6b6b;
}

.footer__inner nav { display: flex; gap: 24px; }
.footer__inner nav a { display: inline-flex; align-items: center; min-height: 32px; }

.footer__legal {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b6b6b;
}

/* MARK: - Subsections */

h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 600;
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88em;
}
