/* Shared chrome for the static marketing/legal pages (about.html, privacy.html,
   terms.html, cookies.html). Design tokens mirrored from landing_page.html so
   every non-app page reads as the same product, not a bolted-on document page.
   One file so nav/footer/content styling can't drift between pages again. */
:root {
  --red: #C8102E;
  --red-dark: #8B0E22;
  --red-soft: rgba(200, 16, 46, 0.08);
  --ink: #0F1115;
  --body: #4A5160;
  --muted: #8B95A1;
  --line: #E5E8EC;
  --bg: #ffffff;
  --bg-soft: #F8F9FB;
  --shadow-sm: 0 2px 8px rgba(15, 17, 21, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
nav.top {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--red); color: white;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; letter-spacing: 0.05em;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex; gap: 2px;
  background: #f0f0f3; border-radius: 8px; padding: 3px;
}
.lang-switch button {
  font: inherit; font-size: 13px; font-weight: 600; border: 0; cursor: pointer;
  padding: 5px 12px; border-radius: 6px; background: transparent; color: #555;
}
.lang-switch button.active { background: var(--red); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; transition: all 0.15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }

/* ---- Page header ---- */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 40px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15; letter-spacing: -0.03em;
  color: var(--ink); font-weight: 800;
}
.lead { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 640px; }
.last-updated { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ---- Body ---- */
.content { padding: 48px 0 72px; max-width: 760px; }
.content h2 {
  font-size: 21px; color: var(--ink); font-weight: 700;
  letter-spacing: -0.01em; margin: 36px 0 12px;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 16.5px; color: var(--ink); font-weight: 700;
  margin: 24px 0 10px;
}
.content p, .content li { margin-bottom: 14px; font-size: 16px; }
.content ul { padding-left: 22px; margin-bottom: 16px; }
.content strong { color: var(--ink); font-weight: 650; }
.content a { color: var(--red); font-weight: 600; }
.content a:hover { text-decoration: underline; }
.content code {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px; font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.content table {
  border-collapse: collapse; width: 100%; margin: 8px 0 20px;
  font-size: 15px;
}
.content th, .content td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.content th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.content hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.footnote { font-size: 13.5px; color: var(--muted); }

.callout {
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 28px 0;
}
.callout p { margin: 0; }

/* ---- Footer ---- */
footer {
  background: var(--ink); color: #9AA3AF;
  padding: 48px 0 32px; font-size: 14.5px;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
footer a:hover { color: #fff; }
.footer-copy { color: #6B7280; font-size: 13.5px; }

@media (max-width: 720px) {
  .page-head { padding: 44px 0 32px; }
  .content { padding: 36px 0 56px; }
}
