/* Shared styling for the Sync Inc legal pages (privacy.html, terms.html).
   A separate file rather than inline: the two pages are near-identical in
   presentation and differ only in prose, so one stylesheet keeps them from
   drifting apart the way two copies of the same CSS always do.

   Tokens mirror index.html's :root so the pages read as part of the same
   site. The muted/dim values are deliberately NOT the pure white index.html
   uses - a legal page is long-form reading, and full-contrast body text at
   this length is tiring. */
:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --border: #1a1a1a;
  --border-mid: #252525;
  --text: #ffffff;
  --muted: #b9c0c0;
  --dim: #8a9090;
  --accent: #41d6cb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ── nav, matching index.html's ─────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.nav-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.nav-logo img { width: 22px; height: 22px; object-fit: contain; }
.nav-other {
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
}
.nav-other:hover { color: var(--accent); }

/* ── type ───────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
h2 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-mid);
}
h3 { font-size: 0.98rem; margin: 28px 0 8px; }
p, li { color: var(--muted); }
p { margin: 0 0 14px; }
.updated { color: var(--dim); font-size: 0.9rem; margin: 0 0 8px; }
.lede { font-size: 1.05rem; }
ul { padding-left: 1.15rem; margin: 0 0 14px; }
li { margin-bottom: 7px; }
a { color: var(--accent); }
strong { color: var(--text); font-weight: 600; }

.note {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ── product list ───────────────────────────────────────────────── */
.products {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.products li { margin: 0; }
.product {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product:hover,
.product:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.product:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.product img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  flex: 0 0 auto;
}
.product-text { min-width: 0; }
.product-name {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}
.product-domain {
  display: block;
  color: var(--dim);
  font-size: 0.82rem;
}
.product-arrow { margin-left: auto; color: var(--dim); flex: 0 0 auto; }
.product:hover .product-arrow { color: var(--accent); }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--dim);
}
footer a { color: var(--dim); }
footer a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
  .product:hover { transform: none; }
}
