/* Shared styling for the legal pages (privacy, terms). Deliberately a plain,
   readable document — same tokens and fonts as the marketing site, none of its
   motion. These pages are read by App Review and by people who are worried
   about something; both are better served by clarity than atmosphere. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/geist-mono.woff2') format('woff2');
}

:root {
  --bg: #04060A;
  --ink: #ECF6F0;
  --muted: #8FA39A;
  --faint: #55655E;
  --green: #3DDC84;
  --line: rgba(255, 255, 255, 0.09);
  --display: 'Fraunces', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}
:root[data-theme='light'] {
  --bg: #F4F7F3;
  --ink: #0B1410;
  --muted: #54645C;
  --faint: #6A7B72;
  --green: #0E9A5B;
  --line: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 100px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark em {
  font-style: italic;
  color: var(--green);
}
.back {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.back:hover {
  color: var(--ink);
}

h1 {
  font-family: var(--display);
  font-weight: 520;
  font-size: clamp(2rem, 6vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 10px;
}
h2 {
  font-family: var(--display);
  font-weight: 520;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
}
h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 28px 0 8px;
}
.updated {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 8px;
}
p,
li {
  color: var(--muted);
}
b,
strong {
  color: var(--ink);
  font-weight: 600;
}
a {
  color: var(--green);
}
ul {
  padding-left: 18px;
}
li {
  margin-bottom: 8px;
}
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}
th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 26px 0;
}
.callout p {
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 22px;
  font-size: 11px;
  color: var(--faint);
}
