/* Shared styles for privacy.html + terms.html.
   Subset of the tokens in index.html, scoped to long-form legal pages
   so each /legal page is self-contained without re-inlining the full
   landing-page stylesheet. */

:root {
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;
  --blue-600:  #2563EB;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--slate-300); transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--blue-600); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header — same as index.html so the page reads as part of the same product */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
  color: var(--slate-900);
  text-decoration: none;
}
.logo:hover { color: var(--slate-900); text-decoration: none; }
.header-back {
  font-size: 14px;
  color: var(--slate-500);
  font-weight: 500;
  text-decoration: none;
}
.header-back:hover { color: var(--slate-900); }

/* Body layout — single column, comfortable reading measure */
main {
  padding: 64px 0 96px;
}
.lead {
  font-size: 14px;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 18px;
}
.meta {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--slate-200);
}
.meta strong { color: var(--slate-900); font-weight: 600; }

h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--slate-900);
  margin-top: 56px;
  margin-bottom: 16px;
}
h2:first-of-type { margin-top: 0; }

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--slate-900);
  margin-top: 28px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 1.1em;
  max-width: 62ch;
}
p:last-child { margin-bottom: 0; }
p strong { color: var(--slate-900); font-weight: 600; }

ul, ol {
  margin: 0 0 1.1em 1.4em;
  max-width: 62ch;
}
li { margin-bottom: 6px; }
li::marker { color: var(--slate-400); }

/* TL;DR / callout box */
.tldr {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 32px 0 48px;
}
.tldr h2 { margin-top: 0; margin-bottom: 10px; font-size: 18px; }
.tldr p { font-size: 15.5px; line-height: 1.65; max-width: none; }

/* Inline code-style for keys / domains / paths */
code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 1px 6px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  color: var(--slate-900);
}

/* Footer — same shape as index.html */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}
footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 700; color: var(--slate-900); letter-spacing: -0.02em; }
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.footer-links a {
  color: var(--slate-500);
  text-decoration: none;
}
.footer-links a:hover { color: var(--slate-900); }
.footer-meta {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 16px;
}

@media (max-width: 720px) {
  footer .row { flex-direction: column; align-items: flex-start; }
}
