/* DataSurfer — shared styles for legal pages (privacy / terms / cookies) */
@font-face {
  font-family: "Grift";
  src: url("/fonts/Grift-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #0e0e10;
  --ink-2: #131315;
  --ink-3: #19191c;
  --line: #262528;
  --line-2: #1f1f22;
  --text: #f6f3f5;
  --muted: #acaaad;
  --body: #d6d3d6;
  --dim: #7d7b80;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand: "Grift", "Inter", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
.page { max-width: 1440px; margin: 0 auto; background: var(--ink); overflow-x: hidden; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 32px;
  background: rgba(14,14,16,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--brand); font-weight: 900; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; color: var(--text);
}
.back {
  font-size: 13px; color: var(--muted);
  text-decoration: none; white-space: nowrap;
}
.back:hover { color: var(--text); }

/* ---------- ARTICLE ---------- */
.wrap { max-width: 780px; margin: 0 auto; padding: 56px 24px 48px; }
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
h1 {
  font-family: var(--brand); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.01em; line-height: 1.05; font-size: 44px; margin: 14px 0 10px;
  color: var(--text);
}
.updated { font-size: 13px; color: var(--dim); margin: 0; }
.intro { color: var(--muted); font-size: 16px; margin: 22px 0 8px; }
h2 {
  font-family: var(--sans); font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em; color: var(--text); margin: 40px 0 12px;
}
h3 { font-family: var(--sans); font-weight: 700; font-size: 15.5px; color: var(--text); margin: 24px 0 8px; }
p { margin: 0 0 14px; color: var(--body); }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin: 0 0 9px; color: var(--body); }
li::marker { color: var(--dim); }
strong { color: var(--text); font-weight: 600; }
a.inline {
  color: var(--text); text-decoration: underline;
  text-decoration-color: rgba(246,243,245,0.35); text-underline-offset: 3px;
}
a.inline:hover { text-decoration-color: var(--text); }
hr.rule { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

.contact-card {
  border: 1px solid var(--line); background: var(--ink-3);
  border-radius: 12px; padding: 20px 22px; margin: 6px 0 0;
  font-size: 14px; line-height: 1.75; color: var(--muted);
}
.contact-card strong { color: var(--text); }
.contact-card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.note {
  border-left: 2px solid var(--muted); background: var(--ink-2);
  padding: 14px 18px; margin: 20px 0; border-radius: 0 8px 8px 0;
  font-size: 14.5px; color: var(--muted);
}

/* ---------- FOOTER ---------- */
footer.legal-footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--dim);
}
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--text); }
.legal-links a.current { color: var(--text); }

@media (max-width: 680px) {
  .header { padding: 14px 16px; }
  .wrap { padding: 40px 16px 36px; }
  h1 { font-size: 32px; }
  footer.legal-footer { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
}
