/* Shared style for the public text pages: privacy, terms, contact, careers.
   Plain responsive layout, no JavaScript, no storage. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --lime: #dbfb30;
  --ink: #111;
  --muted: #555;
  --line: #e4e4e4;
  --todo-bg: #fff7d6;
  --todo-line: #e0b400;
  --man: 'Manrope', sans-serif;
  --int: 'Inter', sans-serif;
  --fam: 'Familjen Grotesk', sans-serif;
}

body { background: #fff; color: var(--ink); font-family: var(--man); font-size: 16px; line-height: 1.6; }

.top { background: #000; padding: 16px; }
.top-inner { max-width: 820px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { width: 62px; height: 40px; object-fit: contain; display: block; }
.top a.back { color: #fff; font-family: var(--int); font-size: 14px; text-decoration: none; }
.top a.back:hover { color: var(--lime); }

main { max-width: 820px; margin: 0 auto; padding: 40px 16px 64px; }
h1 { font-family: var(--fam); font-size: clamp(32px, 6vw, 48px); line-height: 1.1; margin-bottom: 8px; }
h2 { font-family: var(--fam); font-size: 24px; line-height: 1.25; margin: 36px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
p, ul, ol { margin-bottom: 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--lime); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: #f3f3f3; padding: 1px 4px; border-radius: 4px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.banner { border: 2px solid var(--todo-line); background: var(--todo-bg); border-radius: 8px; padding: 14px 16px; margin: 20px 0 28px; }
.banner strong { display: block; margin-bottom: 4px; }
.todo { display: inline; background: var(--todo-bg); border-bottom: 2px solid var(--todo-line); padding: 0 3px; font-size: 0.95em; }
.todo::before { content: "TODO "; font-weight: 700; }

.callout { border-left: 4px solid var(--lime); background: #fafafa; padding: 14px 16px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f5f5f5; font-family: var(--int); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #444; }

.foot { border-top: 1px solid var(--line); }
.foot-inner { max-width: 820px; margin: 0 auto; padding: 20px 16px 32px; font-family: var(--int); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-inner a { color: var(--muted); }
