/* Public pages for Tiny Voyages (terms, privacy, legal notice, support). Plain HTML and CSS: no web fonts, scripts or trackers.
   Colours follow the design system: white, grey and ink for the frame. */
:root {
  --ground: #f7f7f5;
  --plate: #ededea;
  --line: #d8d8d4;
  --text: #1a1b1d;
  --text2: #55585c;
  --link: #1a1b1d;
  --fill-bg: #fff3c4;
  --fill-text: #5a4300;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121314;
    --plate: #1c1d1f;
    --line: #2e3033;
    --text: #ececea;
    --text2: #a9acaf;
    --link: #ececea;
    --fill-bg: #4a3a00;
    --fill-text: #ffe8a3;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
header.site { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
header.site .home { color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
nav.lang a { color: var(--text2); margin-left: 12px; }
h1 { font-size: 1.6rem; line-height: 1.35; margin: 28px 0 4px; }
h2 { font-size: 1.15rem; margin: 36px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
h3 { font-size: 1rem; margin: 20px 0 4px; }
p.meta { color: var(--text2); font-size: 0.9rem; margin: 0 0 20px; }
a { color: var(--link); text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line); }
th { background: var(--plate); width: 32%; font-weight: 600; }
table.wide th { width: auto; }
.scroll { overflow-x: auto; }
ul, ol { padding-left: 1.4em; }
li { margin: 4px 0; }
.fill { background: var(--fill-bg); color: var(--fill-text); padding: 0 4px; border-radius: 3px; }
.links { list-style: none; padding: 0; }
.links li { margin: 10px 0; }
footer { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text2); font-size: 0.85rem; }
footer a { color: var(--text2); margin-right: 14px; display: inline-block; }
@media (max-width: 520px) {
  th { width: 38%; }
  th, td { padding: 6px 8px; }
}
