/* MonthPilot privacy + terms — minimal mobile-first stylesheet.
   No frameworks; one file shared by privacy.html and terms.html. */

:root {
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-text-subtle: #9ca3af;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --color-accent: #3b82f6;
  --color-accent-dark: #2563eb;
  --max-width: 720px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

header h1 {
  font-size: 28px;
  margin: 0 0 4px;
  font-weight: 700;
}

header .subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0;
}

header .lang-switch {
  margin-top: 16px;
  font-size: 14px;
}

header .lang-switch a {
  color: var(--color-accent);
  text-decoration: none;
  margin-right: 12px;
}

header .lang-switch a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

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

th {
  background: var(--color-bg-alt);
  font-weight: 600;
}

.callout {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: var(--radius);
}

.callout p:last-child {
  margin-bottom: 0;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  font-size: 13px;
  text-align: center;
}

footer a {
  color: var(--color-text-muted);
  margin: 0 8px;
}

.lang-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px dashed var(--color-border);
}

.lang-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
