/* Uvjeti korištenja i politika privatnosti – čitljiv dokument, svijetla i tamna tema */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Puls Wordmark"; font-weight: 700; font-display: swap; src: url("/fonts/poppins-bold.woff") format("woff"); }

:root {
  --bg: #ffffff; --ink: #141a22; --ink-2: #3a4553; --muted: #66727f; --line: #e1e5eb; --soft: #f4f6f9; --accent: #12294a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10141a; --ink: #e8edf3; --ink-2: #c2cad4; --muted: #8a96a4; --line: #27303b; --soft: #161b22; --accent: #b7c9e2; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto; padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand span { font-family: "Puls Wordmark", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.top nav a { font-size: 14px; }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 8px 0 4px; }
h2 { font-size: 18px; margin: 32px 0 8px; letter-spacing: -.01em; }
p, li { color: var(--ink-2); }
.updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.lead { font-size: 17px; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 14px 16px; }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.foot { max-width: 760px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.missing { color: #b42a2f; font-style: normal; }

/* Na mobitelu tablica postaje popis kartica – bez vodoravnog pomicanja */
@media (max-width: 600px) {
  .table-wrap { overflow: visible; }
  table { min-width: 0; font-size: 15px; }
  thead { display: none; }
  tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  tr:last-child { border-bottom: 0; }
  td { display: block; padding: 2px 0; border: 0; }
  td:first-child { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
  td:nth-child(2)::before { content: "Čemu služi: "; color: var(--muted); }
  td:nth-child(3)::before { content: "Koliko dugo: "; color: var(--muted); }
}
