/*
  Shared styles for marketing/privacy.html and marketing/terms.html.
  Loaded via <link rel="stylesheet"> from each page.
*/

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #e6f0ee;
  background: #042a2f;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #d4a55c; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 21, 24, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
header.site .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem; max-width: 1120px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-weight: 700; letter-spacing: -0.01em; color: #e6f0ee;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(140deg, #d4a55c 0%, #0a5d66 100%);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 6px; border-radius: 4px; background: #042a2f;
  mask: radial-gradient(circle at 50% 30%, transparent 35%, #000 36%);
}
nav.site-nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.9rem; }
nav.site-nav a { color: #b9cfcb; }
nav.site-nav a:hover { color: #fff; text-decoration: none; }

main {
  padding: 3rem 0 5rem;
}
.page-head { margin-bottom: 2.5rem; }
.page-head .pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem; border-radius: 999px;
  background: rgba(212, 165, 92, 0.08);
  border: 1px solid rgba(212, 165, 92, 0.25);
  color: #d4a55c;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.page-head h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800;
}
.page-head .meta {
  margin-top: 0.625rem; font-size: 0.85rem; color: #8aa19c;
}

article h2 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem; color: #fff;
}
article h3 {
  font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: #e6f0ee;
}
article p, article li { color: #b9cfcb; }
article p { margin: 0 0 0.875rem; }
article ul, article ol { padding-left: 1.25rem; margin: 0 0 1rem; }
article li { margin-bottom: 0.375rem; }
article strong { color: #fff; font-weight: 600; }

table.subprocessors {
  width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem;
  font-size: 0.875rem;
}
table.subprocessors th, table.subprocessors td {
  text-align: left; padding: 0.625rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
table.subprocessors th {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8aa19c;
  font-weight: 600;
}
table.subprocessors td { color: #b9cfcb; vertical-align: top; }

.callout {
  border: 1px solid rgba(212, 165, 92, 0.25);
  background: rgba(212, 165, 92, 0.06);
  border-radius: 12px; padding: 1rem 1.125rem;
  font-size: 0.9rem; color: #cfe6df;
  margin: 1rem 0;
}

.toc {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 1rem 1.125rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.toc strong { color: #fff; display: block; margin-bottom: 0.5rem; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 1.5rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 0.25rem; }
.toc a { color: #b9cfcb; }

footer.site {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 0 2.5rem;
  font-size: 0.85rem; color: #8aa19c;
}
footer.site .row {
  max-width: 1120px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
footer.site nav a { margin-left: 1rem; color: #8aa19c; }
footer.site nav a:hover { color: #fff; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
