/* Shared styles for the static legal / support pages (/privacy, /terms,
   /support). Plain HTML so they work without JavaScript for App Review,
   Google Play and search crawlers. */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5b6475;
  --accent: #a94820;
  --border: #ecdccd;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

header.site .inner,
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px;
}

header.site .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}

nav.lang a,
nav.pages a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-left: 12px;
}

nav.pages a:first-child { margin-left: 0; }

main { padding-top: 24px; padding-bottom: 64px; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 4px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 6px; }

.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }

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

ul { padding-left: 1.3em; }
li { margin: 4px 0; }

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--border);
  padding: 8px 10px;
}

th { background: #fbf1e6; }

.table-wrap { overflow-x: auto; }

hr.lang-sep {
  border: 0;
  border-top: 2px dashed var(--border);
  margin: 56px 0 24px;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .inner { max-width: 820px; margin: 0 auto; padding: 16px; }
