:root {
  --color-background: #fff;
  --color-text: #111;
  --color-muted: #6e6e6e;
  --color-border: #eaeaea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: system-ui, -apple-system, Inter, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.document-container { max-width: 760px; margin: 0 auto; padding: 28px 20px 72px; }
h1 { font-size: 24px; margin: 0 0 10px; }
h2 { font-size: 18px; margin: 22px 0 8px; }
h3 { font-size: 16px; margin: 18px 0 6px; }
.document-meta, .text-muted { color: var(--color-muted); }
.document-meta { font-size: 14px; margin-bottom: 24px; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 24px 0; }
ul, ol { padding-left: 24px; }
a { color: #0b57d0; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #4b6a8a; outline-offset: 5px; }
code { background: #f7f7f7; padding: 2px 6px; border-radius: 6px; }
.home-link, .document-button {
  display: inline-block;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  background: #fff;
}
.home-link { margin-top: 24px; }
.home-link:hover, .document-button:hover { background: #f7f7f7; }
.document-button--primary { background: #111; color: #fff; margin-top: 24px; }
.document-button--primary:hover { background: #333; }
.support-card { border: 1px solid var(--color-border); border-radius: 12px; padding: 20px; margin: 14px 0 24px; }
.support-card > :first-child { margin-top: 0; }
.app-overview { min-height: 36vh; padding: 40px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-bottom: 1px solid var(--color-border); }
.app-overview h1 { font-size: 32px; }
.app-overview p { color: var(--color-muted); margin: 0; }
.legal-links { padding: 24px 0; }
.legal-links h2 { margin-top: 0; }
.document-actions { display: flex; gap: 12px; flex-wrap: wrap; }
