/* docs/VISUAL_DIRECTION.md: cream ground, ink type, emerald action, tomato marker */
:root { --cream: #F5F1E8; --ink: #111111; --emerald: #0F7B5F; --tomato: #E5533D; --neutral: #6B665E; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--cream); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
main { width: 100%; max-width: 420px; }
.wordmark { font-size: 44px; font-weight: 900; letter-spacing: 0.04em; margin: 0 0 4px; }
.marker { color: var(--tomato); font-style: italic; margin: 0 0 28px; }
h1 { font-size: 22px; margin: 0 0 12px; }
p { line-height: 1.7; margin: 0 0 16px; }
.note { color: var(--neutral); font-size: 14px; }
.button { display: block; text-align: center; background: var(--emerald); color: var(--cream); text-decoration: none; font-weight: 700; padding: 16px; border-radius: 14px; margin: 24px 0 16px; }
.code { display: block; font-size: 30px; font-weight: 800; letter-spacing: 0.18em; text-align: center; border: 2px solid var(--ink); border-radius: 12px; padding: 12px; margin: 8px 0 16px; }
[hidden] { display: none !important; }
/* long documents (tokushoho.html): top-aligned, a definition list */
body.doc { align-items: flex-start; }
body.doc main { max-width: 640px; }
.facts { margin: 8px 0 24px; border-top: 1px solid var(--ink); }
.facts dt { font-weight: 700; font-size: 14px; padding: 14px 0 4px; }
.facts dd { margin: 0; padding: 0 0 14px; border-bottom: 1px solid rgba(17, 17, 17, 0.15); line-height: 1.7; font-size: 15px; }
.facts ul { margin: 6px 0 0; padding-left: 1.2em; }
.facts li { margin: 0 0 4px; }
/* the terms and the privacy policy (terms.html, privacy.html): articles, numbered clauses, tables */
body.doc h2 { font-size: 17px; margin: 32px 0 10px; padding-top: 14px; border-top: 1px solid var(--ink); }
body.doc ol, body.doc ul { margin: 0 0 16px; padding-left: 1.5em; line-height: 1.7; font-size: 15px; }
body.doc li { margin: 0 0 6px; }
body.doc li > ol { margin: 6px 0 0; list-style: lower-roman; }
body.doc .table { overflow-x: auto; margin: 0 0 16px; }
body.doc table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.6; }
body.doc th, body.doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.15); }
body.doc th { border-bottom-color: var(--ink); white-space: nowrap; }
body.doc .links { font-size: 14px; margin-top: 32px; }
body.doc .links a { color: var(--emerald); }
