/* CareerDost website — brand tokens mirror frontend/src/common/theme.ts, so a
   colour change in the app has one obvious counterpart here. */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-soft: #d5efec;
  --text: #102a43;
  --muted: #5b7083;
  --border: #d9e2ec;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
/* Vertical padding only: the shorthand would reset the 24px horizontal gutter
   .container gives this element, and the header would sit flush to the screen
   edge on a phone. */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { font-size: 20px; font-weight: 600; color: var(--text); text-decoration: none; }
.brand b { color: var(--accent); font-weight: 600; }
.links a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.links a:hover { color: var(--accent); }

main.legal { padding: 40px 24px 64px; }
main.legal h1 { font-size: 28px; line-height: 1.3; margin-bottom: 8px; }
main.legal h2 { font-size: 19px; margin: 32px 0 10px; }
main.legal p, main.legal li { margin-bottom: 10px; }
main.legal ul, main.legal ol { padding-left: 22px; }
main.legal a { color: var(--accent); }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.footer-inner nav a:first-child { margin-left: 0; }
