:root {
  color-scheme: light;
  --ink: #17233f;
  --muted: #56627a;
  --line: #dfe4ee;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --accent: #b6532a;
  --accent-soft: #fff0e8;
  --blue-soft: #eaf0ff;
  --max: 1160px;
  --reading: 760px;
  --shadow: 0 20px 55px rgba(23, 35, 63, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: #315caa;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #f6b38f; outline-offset: 4px; border-radius: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 174, 113, 0.23), transparent 31%),
    radial-gradient(circle at 13% 92%, rgba(122, 157, 255, 0.2), transparent 30%),
    #17233f;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -170px;
  bottom: -220px;
  border: 70px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 34px 0 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #e56e3c, #aa3e23);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 12px;
  box-shadow: inset 0 1px rgba(255,255,255,.25);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffb894; }

h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 780;
}

.hero__lede {
  max-width: 760px;
  margin: 0 0 34px;
  color: #d9e0f1;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #aebad4;
  font-size: 0.91rem;
}

.language-nav {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.language-nav a {
  padding: 8px 14px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.language-nav a:hover { background: rgba(255,255,255,0.15); }

.summary {
  padding: 72px 0;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.summary h2 {
  max-width: 780px;
  margin-bottom: 32px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-card {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(23,35,63,0.035);
}

.summary-card__number {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.summary-card h3 { margin-bottom: 9px; font-size: 1.08rem; letter-spacing: -0.02em; }
.summary-card p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

.summary-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  background: var(--blue-soft);
  border-left: 4px solid #5d7fc5;
  border-radius: 6px 12px 12px 6px;
  color: #354767;
  font-size: 0.95rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--reading));
  justify-content: space-between;
  gap: 70px;
  padding-top: 88px;
  padding-bottom: 110px;
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.toc__title { margin: 0 0 12px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 4px 0; color: var(--muted); font-size: .84rem; line-height: 1.4; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero) " "; color: #a1a9b8; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent); }

.policy-heading {
  margin-bottom: 68px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h2 { margin-bottom: 16px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.policy-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }

.policy section { margin-bottom: 66px; }
.policy section > h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; font-size: clamp(1.45rem, 3vw, 2rem); }
.policy section > h3 span { flex: 0 0 auto; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .06em; }
.policy h4 { margin: 30px 0 8px; font-size: 1.02rem; letter-spacing: -0.01em; }
.policy p { margin: 0 0 18px; }
.policy ul { margin: 0 0 20px; padding-left: 1.25rem; }
.policy li { margin-bottom: 12px; padding-left: 4px; }

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--accent-soft);
  border: 1px solid #f1cbb8;
  border-radius: 14px;
  color: #57301e;
}

.table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

table { width: 100%; min-width: 700px; border-collapse: collapse; background: #fff; font-size: .88rem; line-height: 1.55; }
th, td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #47536b; background: var(--surface-soft); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { width: 22%; }

.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 800; }

.contact-card {
  margin: 22px 0;
  padding: 24px;
  font-style: normal;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.policy--serbian {
  width: min(calc(100% - 40px), var(--reading));
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 8px solid var(--ink);
}

footer { color: #d9e0f1; background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 42px; padding-bottom: 42px; }
.footer-inner p { margin: 4px 0 0; color: #aebad4; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: #fff; font-size: .9rem; }

@media (max-width: 950px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-layout { grid-template-columns: 1fr; max-width: var(--reading); gap: 30px; }
  .toc { position: static; columns: 2; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section-inner, .hero__inner, .policy--serbian { width: min(calc(100% - 28px), var(--max)); }
  .hero__inner { padding: 24px 0 56px; }
  .brand { margin-bottom: 56px; }
  h1 { font-size: clamp(2.7rem, 17vw, 4.4rem); }
  .summary { padding: 54px 0; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card { min-height: 0; }
  .summary-card__number { margin-bottom: 20px; }
  .policy-layout { padding-top: 60px; padding-bottom: 76px; }
  .toc { columns: 1; }
  .policy-heading { margin-bottom: 52px; }
  .policy section { margin-bottom: 52px; }
  .policy--serbian { padding-top: 72px; padding-bottom: 72px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .skip-link, .language-nav, .toc, footer { display: none !important; }
  body { color: #000; font-size: 11pt; line-height: 1.5; }
  .hero { color: #000; background: none; border-bottom: 2px solid #000; }
  .hero__inner { padding: 20px 0; }
  .brand { margin-bottom: 30px; }
  .brand__mark { color: #000; background: none; border: 1px solid #000; box-shadow: none; }
  .hero__lede, .meta-row, .hero .eyebrow { color: #000; }
  .summary { padding: 30px 0; background: none; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card, .table-wrap { box-shadow: none; break-inside: avoid; }
  .policy-layout { display: block; padding: 40px 0; }
  .policy--serbian { page-break-before: always; }
  .policy section { break-inside: avoid; margin-bottom: 32px; }
  a { color: #000; text-decoration: underline; }
}
