/* Standalone legal pages (privacy.html / terms.html).
   These are plain HTML — no React, no bundle — so Google's verification
   crawler and search engines can read them without running JavaScript.
   Kept deliberately self-contained: one small stylesheet, system fonts
   with Host Grotesk when the app's font files happen to be cached. */

:root {
  --blue: #1e88e5;
  --heading: #0a1531;
  --body: #43506b;
  --muted: #6b7794;
  --line: #e4e9f2;
  --canvas: #f6f8fc;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #64b5f6;
    --heading: #eef2fa;
    --body: #c2cadb;
    --muted: #8b96ad;
    --line: #26314a;
    --canvas: #0c1220;
    --card: #131b2c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: "Host Grotesk", "FC Minimal", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

header.site a.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
header.site img { height: 30px; width: auto; }
header.site .name { font-weight: 800; font-size: 19px; color: var(--heading); letter-spacing: -0.01em; }
header.site nav a { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 18px; }
header.site nav a:hover { text-decoration: underline; }

h1 { font-size: 34px; line-height: 1.2; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.02em; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.lede { font-size: 17px; margin: 0 0 40px; }

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
}

h2 { font-size: 19px; color: var(--heading); margin: 0 0 12px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
p.th { color: var(--muted); }

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

footer.site {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
footer.site a { text-decoration: none; font-weight: 600; }
footer.site a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  h1 { font-size: 27px; }
  header.site { flex-direction: column; align-items: flex-start; }
  header.site nav a { margin: 0 18px 0 0; }
}
