/* ========================================================================
   Deskhund — Legal pages shared stylesheet
   Matches landing aesthetic: Groteska font, blue/orange brand, light theme
   ======================================================================== */
@font-face { font-family: "Groteska"; src: url("https://app.deskhund.com/static/fonts/Groteska-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Groteska"; src: url("https://app.deskhund.com/static/fonts/Groteska-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Groteska"; src: url("https://app.deskhund.com/static/fonts/Groteska-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --blue: #2668AC;
  --blue-light: #e8f0fb;
  --orange: #EF6932;
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #94a3b8;
  --border: #dde3ef;
  --bg-tint: #f4f7fb;
  --radius: 14px;
  --max: 820px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: "Groteska", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.legal-top {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
header.legal-top .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--blue); font-weight: 700; font-size: 18px;
}
.brand img { width: 30px; height: 30px; }
.brand .dot { color: var(--orange); }

.lang {
  display: flex; gap: 6px; align-items: center; font-size: 13px;
}
.lang a {
  padding: 5px 10px; border-radius: 8px;
  color: var(--text-soft); border: 1px solid transparent;
}
.lang a:hover { background: var(--blue-light); text-decoration: none; }
.lang a.active { background: var(--blue); color: #fff; }

main.legal {
  padding: 48px 0 80px;
}
main.legal h1 {
  font-size: 32px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.02em;
}
main.legal .updated {
  font-size: 13px; color: var(--muted); margin-bottom: 36px;
}
main.legal h2 {
  font-size: 19px; font-weight: 700; margin: 32px 0 8px; letter-spacing: -0.01em;
}
main.legal h3 {
  font-size: 15px; font-weight: 700; margin: 18px 0 6px; color: var(--text-soft);
}
main.legal p, main.legal li {
  font-size: 15px; color: var(--text); line-height: 1.7;
}
main.legal ul, main.legal ol { padding-left: 20px; margin: 8px 0 16px; }
main.legal li { margin-bottom: 4px; }
main.legal strong { color: var(--text); font-weight: 600; }
main.legal .box {
  background: var(--bg-tint);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
  font-size: 14px;
}
main.legal .meta-grid {
  display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px;
  font-size: 14px; margin: 8px 0 20px;
}
main.legal .meta-grid dt { color: var(--text-soft); }
main.legal .meta-grid dd { margin: 0; color: var(--text); font-weight: 500; }
@media (max-width: 640px) {
  main.legal .meta-grid { grid-template-columns: 1fr; }
  main.legal .meta-grid dt { margin-top: 6px; }
}

footer.legal-foot {
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
  padding: 28px 0;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-soft);
}
footer.legal-foot .row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
footer.legal-foot a { color: var(--text-soft); }
footer.legal-foot a:hover { color: var(--blue); }
footer.legal-foot .made-by { color: var(--muted); }
