/* Shared styles for /terms and /privacy. Tokens mirror index.html. */
@font-face { font-family: "Open Runde"; src: url("/fonts/OpenRunde-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Runde"; src: url("/fonts/OpenRunde-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Runde"; src: url("/fonts/OpenRunde-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --blue-400: #0088FF;
  --background: #FFFFFF;
  --text-primary: #171C1B;   /* Grayscale800 */
  --text-secondary: #828785; /* Grayscale500 */
  --divider: #E5E6E5;        /* Grayscale300 */
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #171C1B;
    --text-primary: #F7F8F7;
    --text-secondary: #828785;
    --divider: #2D2F2E;
  }
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--text-primary);
  font-family: "Open Runde", ui-rounded, -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 560px; margin: 0 auto; padding: 96px 24px 72px; }

header { margin-bottom: 72px; }
a.home { display: inline-flex; align-items: center; gap: 12px; color: var(--text-primary); }
a.home:hover { text-decoration: none; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-400);
  display: flex; align-items: center; justify-content: center;
}
.mark svg { width: 20px; height: 20px; }
.wordmark { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

h1 { font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 32px; }
.meta { color: var(--text-secondary); font-size: 15px; margin-top: 48px; }
h2 { font-size: 17px; font-weight: 600; margin: 48px 0 16px; }
p { margin-bottom: 20px; text-wrap: pretty; }
ul { padding-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }

a { color: var(--blue-400); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

footer {
  margin-top: 72px; padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  main { padding: 56px 16px 48px; }
  header { margin-bottom: 48px; }
  h1 { font-size: 24px; }
}

footer span { color: var(--text-secondary); }
