/* Privacy and Terms: static pages (no app JavaScript), styled with the same tokens as src/styles.scss. */
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/vendor/fonts/NotoSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/vendor/fonts/NotoSans-Bold.ttf") format("truetype"); }
:root {
  --c-brand: #14457a; --c-brand-strong: #0d335c; --c-brand-soft: #e8f0fa; --c-ink: #111827; --c-ink-2: #374151; --c-muted: #5f6b7a;
  --c-line: #e1e6ed; --c-bg: #f4f6f9; --c-surface: #ffffff; --c-focus: #2f74d0;
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem;
  --radius-sm: 8px; --radius: 12px; --tap: 44px; --content: 76rem;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.05);
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; color: var(--c-ink); line-height: 1.6;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--c-bg); }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { color: var(--c-brand); }
a:hover { color: var(--c-brand-strong); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--s-4); top: -4rem; z-index: 50; background: var(--c-ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s-2); color: #fff; }

.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--c-line); }
.topbar-inner { max-width: var(--content); margin: 0 auto; padding: 0 var(--s-5); min-height: 64px; display: flex; align-items: center; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--c-ink); text-decoration: none; font-weight: 700; min-height: var(--tap); margin-right: auto; }
.brand:hover { color: var(--c-ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--c-brand), #2a6cb3); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.brand-name span { font-weight: 400; color: var(--c-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 var(--s-5); border-radius: var(--radius-sm);
  background: var(--c-brand); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--c-brand-strong); color: #fff; }

.legal { max-width: 46rem; margin: 0 auto; padding: var(--s-8) var(--s-5) var(--s-12); }
.legal article { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-8); }
.legal h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 var(--s-2); }
.legal .effective { color: var(--c-muted); font-size: 0.875rem; margin: 0 0 var(--s-6); }
.legal h2 { font-size: 1.2rem; line-height: 1.3; margin: var(--s-8) 0 var(--s-2); }
.legal p, .legal ul { margin: 0 0 var(--s-4); color: var(--c-ink-2); }
.legal ul { padding-left: var(--s-6); }
.legal li + li { margin-top: var(--s-1); }
.legal .summary { background: var(--c-brand-soft); border-radius: var(--radius-sm); padding: var(--s-4) var(--s-5); color: var(--c-ink); }
.legal .todo { background: #fff4d6; outline: 1px dashed #b7791f; padding: 0 var(--s-1); border-radius: 4px; }
.legal .other { margin-top: var(--s-6); font-size: 0.875rem; color: var(--c-muted); }

.site-footer { border-top: 1px solid var(--c-line); background: var(--c-surface); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: var(--s-6) var(--s-5) var(--s-8); color: var(--c-muted); font-size: 0.875rem; display: grid; gap: var(--s-1); }
.credit { font-weight: 700; color: var(--c-ink); margin: 0; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-links a { display: inline-flex; align-items: center; min-height: var(--tap); }

@media (max-width: 760px) {
  .topbar-inner { padding: 0 var(--s-4); }
  .legal { padding: var(--s-5) var(--s-4) var(--s-10); }
  .legal article { padding: var(--s-5) var(--s-4); }
  .footer-inner { padding: var(--s-5) var(--s-4) var(--s-8); }
}
@media (max-width: 380px) { .brand-name span { display: none; } }
@media print { .topbar, .site-footer { display: none; } .legal article { border: 0; box-shadow: none; } }
