/* Naslovna (od 4.11.2026). Okvir (traka, zaglavlje, futer) je u site.css. Monohromatsko: tamnoplava + sive nijanse; crvena samo za „Najviši rizik“ i rok ≤ 7 dana. */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --fg: #111a2e; --muted: #5a6478; --faint: #8a93a5; --line: #e2e6ec;
  --navy: #13213f; --navy-2: #1e3160; --on-navy: #e9eefa; --on-navy-muted: #b5c0d8;
  --risk: #b42318; --risk-soft: #fdeceA; --chip: #eef1f5;
  --radius: 14px; --shadow: 0 1px 2px rgba(17, 26, 46, .05), 0 4px 16px rgba(17, 26, 46, .05);
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1220; --surface: #151c2e; --fg: #e7eaf1; --muted: #a2abbd; --faint: #7a849a; --line: #263049;
    --navy: #1b2a4d; --navy-2: #243a6a; --on-navy: #eef2fb; --on-navy-muted: #b8c3dc;
    --risk: #f97066; --risk-soft: #3a1d1f; --chip: #1e2740; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }



.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.lead { margin: 0 0 28px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 36em; }
.cta, .links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.btn.primary:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; }

.tm { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 28px 28px 22px; }
.tm h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.tm p { margin: 0 0 12px; color: var(--on-navy-muted); font-size: 15px; line-height: 1.6; }
.tm p:last-child { color: var(--on-navy); }

.stats { border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats a { padding: 18px 0 18px 20px; text-decoration: none; color: var(--muted); font-size: 14px; border-left: 1px solid var(--line); }
.stats a:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: 28px; line-height: 1.15; font-weight: 800; color: var(--fg); letter-spacing: -.02em; }
.stats a.hot strong { color: var(--risk); }
.stats a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; }

.block { padding: 56px 0; }
.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec { margin: 0 0 6px; font-size: 26px; letter-spacing: -.015em; font-weight: 750; }
.sub { margin: 0; color: var(--muted); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.more { color: var(--fg); font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.aud-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.aud-card h3 { margin: 0 0 8px; font-size: 17px; }
.aud-card p { margin: 0; color: var(--muted); font-size: 15px; }
.aud-note { margin: 20px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--chip); color: var(--fg); font-size: 15px; line-height: 1.6; max-width: 62em; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--chip); font-weight: 700; font-size: 14px; }
.steps h3 { margin: 12px 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.rok-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rok-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--fg); }
.rok-card:hover { border-color: var(--faint); }
.rok-when { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.rok-card.urgent .rok-when { color: var(--risk); }
.rok-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.item { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); box-shadow: var(--shadow); }
.item:hover { border-color: var(--faint); }
.item-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.badge.high { background: var(--risk-soft); color: var(--risk); }
.rok { color: var(--muted); font-weight: 600; }
.rok.urgent { color: var(--risk); }
.val { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-title { font-weight: 650; font-size: 17px; line-height: 1.35; }
.card-meta { font-size: 13.5px; color: var(--muted); }


@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .rok-grid { grid-template-columns: repeat(2, 1fr); }
  .list { grid-template-columns: 1fr; }
  .aud { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .lead { font-size: 17px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats a { padding: 14px 0 14px 14px; }
  .stats a:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stats a:nth-child(4) { border-top: 1px solid var(--line); }
  .stats strong { font-size: 24px; }
  .block { padding: 40px 0; }
  .sec { font-size: 22px; }
  .steps, .rok-grid, .aud { grid-template-columns: 1fr; }
  .tm { padding: 22px; }
}
