/* Privacy policy and terms. Same paper, ink and accent as landing.css and
   api-docs.css; one readable column. */

:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #0e0e10;
  --ink-2: #45454d;
  --ink-3: #5e5e66;
  --line: rgba(14, 14, 16, 0.1);
  --primary: #0e0e10;
  --on-primary: #f6f3ec;
  --accent: #4635d8;
  --accent-soft: #eeebff;
  --font: Vazirmatn, Tahoma, system-ui, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --top: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 20;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
}
.skip:focus { top: 12px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 820px;
  min-height: var(--top);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}
.brand__mark { width: 28px; height: 28px; }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

/* Text */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px var(--gutter) 64px;
}
.doc h1 { margin: 0 0 6px; font-size: clamp(28px, 5vw, 38px); line-height: 1.4; font-weight: 800; }
.doc__date { margin: 0 0 28px; color: var(--ink-3); font-size: 14.5px; }
.doc h2 { margin: 40px 0 8px; font-size: 21px; line-height: 1.6; font-weight: 800; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; }
.doc li { margin-block: 4px; }
.doc strong { color: var(--ink); }

.lead {
  margin: 0 0 8px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.google {
  margin-top: 40px;
  padding: 4px 22px 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.google h2 { margin-top: 18px; }

.en {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
}

/* Footer */
.foot {
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 6px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.foot p { margin: 0; }

@media (max-width: 480px) {
  .topbar__cta { padding: 0 14px; font-size: 14px; }
  .google { padding-inline: 16px; }
}
