/* Legal pages (privacy policies). Light, long-form reading layout. */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --white: #fff;
  --line: rgba(0, 0, 0, .1);
  --brand: #1a93cd;
  --warm: #e0663a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -.01em;
  color: var(--ink); background: #fbfbfd; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* show one language at a time */
html[lang="en"] [lang="sr"]:not(html),
html[lang="sr"] [lang="en"]:not(html) { display: none !important; }

.bar {
  position: sticky; top: 0; z-index: 10; height: 56px;
  background: rgba(251, 251, 253, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.bar__inner { max-width: 880px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.bar__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.bar__brand:hover { text-decoration: none; }
.bar__brand img { width: 28px; height: 28px; }
.lang { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .06); }
.lang button {
  border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; padding: 4px 11px;
  border-radius: 999px; color: var(--ink); opacity: .65; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; opacity: 1; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.hero { text-align: center; padding: 64px 0 40px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 44px -16px rgba(168, 58, 51, .6); }
.hero .kicker { color: var(--warm); font-weight: 600; font-size: 15px; }
.hero h1 { font-size: clamp(38px, 7vw, 60px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; margin-top: 6px; }
.hero .meta { color: var(--muted); font-size: 15px; margin-top: 14px; }

.summary {
  background: linear-gradient(150deg, #2e1330 0%, #571b26 55%, #a83a33 120%); color: #fff;
  border-radius: 28px; padding: clamp(26px, 5vw, 44px); margin-bottom: 48px;
}
.summary h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 18px; }
.summary ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.summary li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .9); }
.summary li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: #ffc98a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23571b26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.summary strong { color: #fff; }

.toc { background: var(--white); border-radius: 22px; padding: 24px 28px; margin-bottom: 48px; box-shadow: 0 0 0 1px var(--line); }
.toc h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15.5px; }
.toc li { margin: 3px 0; break-inside: avoid; }

.doc section { padding: 8px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.doc section:last-of-type { border-bottom: 0; }
.doc h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.doc h3 { font-size: 19px; letter-spacing: -.02em; margin: 22px 0 6px; }
.doc p { color: var(--ink-2); margin-bottom: 12px; }
.doc ul { color: var(--ink-2); padding-left: 22px; margin-bottom: 12px; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--ink); }

.cards { display: grid; gap: 14px; margin-top: 18px; }
.card { background: var(--white); border-radius: 20px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--line); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin-bottom: 10px; }
.card dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.card dt { color: var(--muted); font-weight: 600; }
.card dd { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.tag--pub { background: #fff2e5; color: #b4531d; }
.tag--opt { background: #e8f5fc; color: #0b6fa1; }

.note { background: #f2f7fb; border-radius: 16px; padding: 16px 20px; color: var(--ink-2); font-size: 15.5px; margin: 14px 0; }

.contact-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600;
}
.contact-cta:hover { text-decoration: none; background: #1fa3e0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .card dl { grid-template-columns: 1fr; gap: 2px; }
  .card dd { margin-bottom: 8px; }
}
