/* Shared style for the static pages (privacy, terms, contact). Same tokens as the app (ADR-018). */
:root {
  color-scheme: dark;
  --ink: #0b0e14;
  --panel: #121721;
  --paper: #eef1f6;
  --muted: #8a93a6;
  --line: #252e3e;
  --accent: #ffb938;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

header {
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 20px;
}

.wordmark {
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.bar a.back {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

h1 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.3;
}

.updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

h2 {
  margin: 32px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  font-size: 18px;
  line-height: 1.4;
}

p,
li {
  font-size: 15px;
}

ul,
ol {
  padding-left: 1.4em;
}

a {
  color: var(--accent);
}

.card {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #1a1203;
  font-weight: 600;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer .bar {
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-start;
}

footer a {
  color: var(--muted);
}
