/* Landing i pravne stranice. Tokeni i komponente su u karton.css (izvor: styleguide/karton.css). */
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
.wide { max-width: var(--page-wide); }
.bar { padding-left: max(1rem, calc((100vw - var(--page-wide)) / 2 + 1rem)); padding-right: max(1rem, calc((100vw - var(--page-wide)) / 2 + 1rem)); }
.bar nav { display: flex; align-items: center; gap: 1.25rem; font-size: var(--fs-small); }
.bar nav a:not(.btn) { color: var(--fg); opacity: .8; }
.bar nav a:not(.btn):hover { opacity: 1; text-decoration: none; }

/* Hero */
.intro { text-align: center; padding: 4.5rem 0 3.5rem; }
.intro .appicon { width: 120px; height: 120px; margin-bottom: 1.75rem; }
.soon { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-small); font-weight: 600; color: var(--accent); margin: 0 0 .9rem; }
.soon::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.intro h1 { font-size: var(--fs-hero); line-height: 1.06; font-weight: 700; letter-spacing: -.025em; margin: 0 auto 1rem; max-width: 44rem; text-wrap: balance; }
.intro .lead { font-size: clamp(1.12rem, 2.4vw, 1.35rem); max-width: 34rem; }
.cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--faint); font-size: var(--fs-caption); margin: 1rem 0 0; }

/* Sekcije */
section { padding: 3.5rem 0; }
section + section { border-top: var(--hairline); }
.eyebrow { font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin: 0 0 .4rem; text-align: center; }
section h2 { font-size: var(--fs-title); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; margin: 0 auto .75rem; text-align: center; max-width: 36rem; }
section > .lead { text-align: center; }

/* Mogućnosti */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 2rem; }
.feature { padding: 1.4rem 1.4rem 1.5rem; }
.feature .tile { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 1rem; }
.feature .tile svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* Privatnost */
.privacy .card { padding: 0; overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.privacy .card .facts { flex: 1; display: flex; flex-direction: column; }
.privacy .card .facts > div { flex: 1; align-items: center; }
.privacy-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 68rem; margin: 2rem auto 0; align-items: stretch; }
.privacy .facts { border-top: 0; }
.privacy .facts dd { color: var(--fg); font-weight: 500; }
.privacy .facts dt { color: var(--muted); }
.more { text-align: center; margin: 1.25rem 0 0; font-size: .94rem; }

/* Testiranje: koraci */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem auto 0; max-width: 34rem; display: grid; gap: .75rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: start; }
.steps li::before {
  content: counter(s); width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-fg); font-weight: 600; font-size: .94rem;
}
.steps strong { display: block; font-weight: 600; }
.steps div > span { color: var(--muted); font-size: .94rem; }
.join { text-align: center; margin-top: 2rem; }

/* Cijene */
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem auto 0; max-width: var(--page-wide); }
.plan { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.plan.plus { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.plan h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 0; display: flex; align-items: center; gap: .5rem; }
.price { font-family: var(--display); font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 1rem 0 .3rem; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.alt { color: var(--muted); font-size: var(--fs-small); margin: 0 0 1.25rem; min-height: 2.6em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .94rem; }
.checks li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .55rem; }
.checks svg { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--ok); stroke-width: 2.4; }
.pricing .note { margin-top: 2rem; }

/* Pitanja */
.faq { max-width: 38rem; margin: 2rem auto 0; padding: 0; }
/* Bez overflow: hidden da objašnjenje pojma (TestFlight) ne bude odrezano; kutove isticanja zaobljujemo ručno. */
.faq details:first-child summary { border-radius: var(--radius) var(--radius) 0 0; }
.faq details:last-child:not([open]) summary { border-radius: 0 0 var(--radius) var(--radius); }
.faq details + details { border-top: var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary { transition: background-color .2s; }
.faq summary:hover { background: color-mix(in srgb, var(--accent) 4%, var(--card)); }
.faq summary:focus-visible { outline: none; background: var(--fill); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--muted); font-size: .94rem; }

/* Podnožje */
footer { border-top: var(--hairline); padding: 2rem var(--gutter) 3rem; color: var(--faint); font-size: var(--fs-caption); }
footer .in { max-width: var(--page-wide); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Pravni tekst */
.legal { padding-top: 3rem; }
.legal h1 { font-size: var(--fs-title); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; margin: 0 0 .5rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 2.25rem 0 .5rem; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { padding-left: 1.2rem; }
.legal .summary-box { margin: 1.5rem 0; padding: 1.25rem 1.4rem; }
.legal .summary-box ul { margin: .5rem 0 0; }
.legal .facts { margin-top: .75rem; background: var(--card); border-radius: var(--radius); border-top: 0; }
.todo { background: color-mix(in srgb, var(--t-vaccination) 22%, transparent); border-radius: 4px; padding: 0 .2rem; }

@media (max-width: 40rem) {
  .bar nav a:not(.btn) { display: none; }
  .intro { padding-top: 3rem; }
  .intro .appicon { width: 96px; height: 96px; }
  section { padding: 2.75rem 0; }
}
@media print {
  .bar, footer nav { display: none; }
  .todo { background: none; }
}
.legal .lead { margin-left: 0; }
.legal h3.kicker { margin-top: 1rem; font-size: var(--fs-small); font-weight: 600; color: var(--fg); }
.legal code { font-size: .9em; background: var(--fill); border-radius: 4px; padding: 0 .25rem; }
.cta.row { justify-content: flex-start; align-items: center; }
footer .langs { max-width: var(--page-wide); margin: 1rem auto 0; display: flex; gap: 1rem; flex-wrap: wrap; }
footer .langs a[aria-current="page"] { color: var(--fg); font-weight: 600; }
footer .prefs { max-width: var(--page-wide); margin: 1rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
footer .prefs .langs { margin: 0; }

/* Podržavatelji (ispod hero dijela). Logotipi samo uz pisanu suglasnost ustanove. */
.supporters { text-align: center; padding: 0 0 3rem; }
.logos { list-style: none; padding: 0; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.logo-tile {
  width: 9.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: var(--radius-s);
  border: 1px dashed var(--line); color: var(--faint); font-size: var(--fs-caption); font-weight: 600;
}
.logo-tile img { max-width: 80%; max-height: 60%; filter: grayscale(1); opacity: .75; }
.supporters + section { border-top: var(--hairline); }

/* Izgled aplikacije: screenshoti prate prefers-color-scheme (<picture>, bez JS-a). */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.shot { margin: 0; text-align: center; min-width: 0; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 13% / 6%;
  box-shadow: 0 0 0 .5px var(--line), 0 18px 40px light-dark(rgba(0, 0, 0, .12), transparent); background: var(--card);
}
.shot figcaption { margin-top: .9rem; font-size: var(--fs-small); font-weight: 600; }

/* Iskustva korisnika */
.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }
.quote { margin: 0; padding: 1.4rem 1.4rem 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 1.06rem; line-height: 1.45; }
.quote blockquote p::before { content: "“"; color: var(--accent); font-weight: 700; margin-right: .1rem; }
.quote figcaption { color: var(--muted); font-size: var(--fs-small); }

@media (max-width: 52rem) {
  .shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 0 0 1.5rem; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter);
  }
  .shot { scroll-snap-align: start; }
}

/* Donacija: 50 % pretplate udrugama. Istaknuto toplim tonom, ali bez vike. */
.plan.give {
  background: linear-gradient(160deg, color-mix(in srgb, var(--t-discharge) 10%, var(--card)) 0%, var(--card) 70%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--t-discharge) 28%, transparent), var(--shadow);
}
.heart { display: inline-flex; color: var(--t-discharge); }
.heart svg { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }
.plan.give .price { color: var(--t-discharge); }
.plan.give .checks svg { color: var(--t-discharge); }
.give-fine { margin: auto 0 0; padding-top: 1.25rem; font-size: var(--fs-caption); color: var(--faint); }

/* Donacije: brojke, graf korisnika i popis uplata (stranice generira tools/build-transparency.mjs). */
.transparency .sample { margin: 0 0 1.5rem; font-size: var(--fs-small); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 0 0 1rem; }
.stat { padding: 1rem 1.1rem; }
.stat dt { font-size: var(--fs-caption); color: var(--muted); }
.stat dd { margin: .25rem 0 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat.is-sample dd { color: var(--muted); }
.chart { margin: 0; padding: 1.25rem 1.25rem 1rem; }
.chart figcaption { display: flex; flex-direction: column; margin-bottom: 1rem; }
.chart figcaption span { font-size: var(--fs-caption); color: var(--muted); }
.plot { display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; height: 12rem; margin-top: -.45em; margin-bottom: -.45em; }
.y-axis span, .x-axis span { font-size: .7rem; color: var(--faint); font-variant-numeric: tabular-nums; line-height: .9; }
.area { min-width: 0; }
.area svg { display: block; width: 100%; height: 12rem; overflow: visible; }
.area .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.area .base { stroke: color-mix(in srgb, var(--fg) 25%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.area .fill { fill: color-mix(in srgb, var(--accent) 12%, transparent); stroke: none; }
.area .stroke { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.area .hits rect { fill: transparent; stroke: none; }
.area .hits rect:hover { fill: color-mix(in srgb, var(--fg) 6%, transparent); }
.x-axis { display: flex; justify-content: space-between; margin-top: .5rem; }
.x-axis span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.as-table { margin-top: 1rem; font-size: var(--fs-small); }
.as-table summary { cursor: pointer; color: var(--accent); }
.transparency table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .94rem; font-variant-numeric: tabular-nums; }
.transparency th, .transparency td { text-align: left; padding: .55rem .5rem; border-bottom: var(--hairline); }
.transparency thead th { font-size: var(--fs-caption); font-weight: 600; color: var(--muted); }
.transparency tbody th { font-weight: 400; }
.as-table td, .as-table th:not(:first-child), .transparency .num { text-align: right; }
.transparency .empty { color: var(--muted); text-align: center; padding: 1.5rem 1.25rem; margin: .75rem 0 0; }
@media (max-width: 40rem) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .x-axis span:nth-child(even) { visibility: hidden; }
  .chart { padding: 1rem .9rem .9rem; }
}

/* Objašnjenje pojma (npr. TestFlight): bez JavaScripta, otvara se mišem ili fokusom tipkovnice. */
.tip { position: relative; text-decoration: underline dotted; text-decoration-color: var(--faint); text-underline-offset: .2em; cursor: help; font-weight: inherit; }
.tip:focus-visible { outline: none; border-radius: 4px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.tip-bubble {
  display: none; position: absolute; z-index: 20; bottom: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 17rem; padding: .6rem .75rem; border-radius: var(--radius-s);
  background: var(--card); color: var(--fg); box-shadow: 0 8px 28px light-dark(rgba(0, 0, 0, .16), rgba(0, 0, 0, .6)), 0 0 0 .5px var(--line);
  font-size: var(--fs-small); font-weight: 400; line-height: 1.4; letter-spacing: -.01em; text-align: left; white-space: normal;
}
.tip:hover .tip-bubble, .tip:focus .tip-bubble, .tip:focus-within .tip-bubble { display: block; }
/* U čestim pitanjima oblačić ide ispod riječi da ne prekrije samo pitanje. */
@media (min-width: 40.01rem) { .faq .tip-bubble { bottom: auto; top: calc(100% + .5rem); } }
@media (max-width: 40rem) {
  .tip-bubble { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; width: auto; max-width: none; }
}

/* Hero: rotirajuća riječ (samo CSS). Čitač zaslona čita skriveni puni naslov, animacija je aria-hidden. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rot { display: grid; justify-items: center; color: var(--accent); }
.rot > span { grid-area: 1 / 1; opacity: 0; animation: rot-word 8.8s cubic-bezier(.2,.7,.2,1) infinite both; }
.rot > span:nth-child(2) { animation-delay: 1.7s; }
.rot > span:nth-child(3) { animation-delay: 3.4s; }
/* Zadnja riječ ostane ~3,5 s, pa krug kreće ispočetka (ciklus 8,8 s za sve riječi). */
.rot > span:last-child { animation-name: rot-last; animation-delay: 5.1s; }
@keyframes rot-word {
  0% { opacity: 0; transform: translateY(.45em); filter: blur(8px); }
  4.75%, 16.8% { opacity: 1; transform: none; filter: blur(0); }
  21.6%, 100% { opacity: 0; transform: translateY(-.45em); filter: blur(8px); }
}
@keyframes rot-last {
  0% { opacity: 0; transform: translateY(.45em); filter: blur(8px); }
  4.75%, 39.8% { opacity: 1; transform: none; filter: blur(0); }
  44.3%, 100% { opacity: 0; transform: translateY(-.45em); filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .rot > span { animation: none !important; }
  .rot > span:last-child { opacity: 1; }
}

/* Jezična traka (kao Appleov izbor zemlje): tekst, izbor jezika, „Nastavi” i ✕.
   Bez JS-a: forma GET na /jezik, Vercel preusmjeri prema ?l= (vercel.json). Nestane sama nakon ~12 s ili na ✕. */
.ribbon { --rb-bg: #36353a; --rb-fg: #f5f5f7; --rb-muted: rgb(245 245 247 / .72); --rb-ctl: rgb(255 255 255 / .1); --rb-line: 1px solid rgb(255 255 255 / .18); color-scheme: dark; background: var(--rb-bg); border-bottom: 1px solid rgb(255 255 255 / .08); font-size: var(--fs-small); overflow: hidden; max-height: 14rem; animation: ribbon-out .7s cubic-bezier(.4,0,.2,1) 12s forwards; }
.ribbon form { max-width: var(--page-wide); margin: 0 auto; padding: .6rem 3.25rem .6rem 1rem; display: flex; align-items: center; justify-content: center; gap: .6rem 1rem; flex-wrap: wrap; position: relative; }
.ribbon p { margin: 0 1rem 0 0; color: var(--rb-fg); }
.ribbon p span + span { color: var(--rb-muted); }
.ribbon .pick { position: relative; }
.ribbon .pick::after { content: ""; position: absolute; right: .85rem; top: 50%; width: .45rem; height: .45rem; border: solid var(--rb-muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ribbon select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 1rem; color: var(--rb-fg); background: var(--rb-ctl); border: var(--rb-line); border-radius: var(--radius-s); padding: .45rem 2.4rem .45rem .85rem; min-width: 15rem; cursor: pointer; }
.ribbon select:focus-visible, .ribbon button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(255 255 255 / .6); }
.ribbon button { font: inherit; font-weight: 500; color: var(--rb-bg); background: var(--rb-fg); border: 1px solid var(--rb-fg); border-radius: var(--radius-s); padding: .45rem 1rem; cursor: pointer; }
.ribbon button:hover { background: #fff; }
.ribbon option { color: #1d1d1f; background: #fff; }
.ribbon-close { position: absolute; right: .75rem; top: 50%; translate: 0 -50%; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.ribbon-close { color: var(--rb-muted); }
.ribbon-close:hover { background: rgb(255 255 255 / .12); color: var(--rb-fg); }
.ribbon-x:focus-visible + .ribbon .ribbon-close { box-shadow: 0 0 0 3px rgb(255 255 255 / .6); }
.ribbon-x:checked + .ribbon { display: none; }
@keyframes ribbon-out { to { max-height: 0; opacity: 0; border-bottom-width: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ribbon { animation-duration: .01s; } }
@media (max-width: 40rem) { .ribbon p { margin: 0; text-align: center; } .ribbon select { min-width: 0; } }
@media print { .ribbon { display: none; } }
.nw { white-space: nowrap; }

/* Novosti (spec `web`, „Novosti”): popis, najava na naslovnici i stranica vijesti */
.news-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); margin-top: 2rem; }
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--fg); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.news-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.news-text { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.news-text h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.news-text p { margin: 0; }
.news-text > p:not(.news-meta) { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.news-read { margin-top: auto; padding-top: .6rem; color: var(--accent); font-size: .94rem; font-weight: 500; }
.news-meta { font-size: var(--fs-caption); color: var(--faint); margin: 0; }
.news-cat { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--muted); margin-right: .4rem; }
.news-art {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--t-imaging));
}
.news-art img { width: 22%; max-width: 96px; height: auto; border-radius: var(--squircle); box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
@media (min-width: 46rem) {
  .news-card.featured { grid-column: 1 / -1; flex-direction: row; }
  .news-card.featured .news-art { flex: 0 0 55%; aspect-ratio: auto; min-height: 18rem; }
  .news-card.featured .news-text { justify-content: center; padding: 2rem; }
  .news-card.featured h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
}
.news { padding-top: 3rem; }
.news-head h1, .article-head h1 { font-size: var(--fs-title); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin: 0 0 .5rem; text-wrap: balance; }
.news-head .lead { margin-left: 0; }

.article { padding-top: 3rem; }
.article-head { margin-bottom: 2rem; }
.article-head .news-meta { margin-bottom: .75rem; }
.article-head h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1.05; }
.article-head .lead { margin-left: 0; font-size: clamp(1.12rem, 2.4vw, 1.3rem); }
.news-art.hero { border-radius: var(--radius); margin-bottom: 2.5rem; }
.article-body h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; margin: 2.25rem 0 .5rem; }
.article-body p, .article-body li { line-height: 1.6; }
.article-body ul { padding-left: 1.2rem; }
.article-body .article-note { color: var(--muted); font-size: var(--fs-small); border-left: 3px solid var(--line); padding-left: .9rem; }
.article-cta { margin: 2.5rem 0 0; padding: 1.75rem 1.5rem; text-align: center; }
.article-cta h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .35rem; }
.article-cta p { color: var(--muted); margin: 0 0 1.1rem; }
.news-more { padding-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .news-card:hover { transform: none; } }

/* O nama */
.about .eyebrow { text-align: left; }
.about-points { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; }
.about-points li { display: grid; gap: .25rem; padding: 1rem 1.1rem; }
.about-points strong { font-size: 1.02rem; letter-spacing: -.01em; }
.about-points span { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }

/* Izjava o platformi (plava kartica s lokotom) */
.statement { --statement: #0071e3; position: relative; margin: 0; padding: 2.5rem 2.5rem 5.5rem; border-radius: 1.75rem; background: var(--statement); color: #fff; display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.statement-icon { order: -1; width: 4.75rem; height: auto; }
.statement-title { margin: 0; font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; max-width: 16ch; }
.statement-more summary { list-style: none; position: absolute; right: 1.25rem; bottom: 1.25rem; width: 3rem; height: 3rem; border-radius: 50%; background: rgb(255 255 255 / .22); cursor: pointer; transition: background-color .2s, transform .25s; }
.statement-more summary::-webkit-details-marker { display: none; }
.statement-more summary::before, .statement-more summary::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.25rem; height: .15rem; border-radius: .1rem; background: #fff; transform: translate(-50%, -50%); }
.statement-more summary::after { transform: translate(-50%, -50%) rotate(90deg); }
.statement-more summary:hover { background: rgb(255 255 255 / .32); }
.statement-more summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.statement-more[open] summary { transform: rotate(45deg); }
.statement-more p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: rgb(255 255 255 / .92); }
@media (max-width: 52rem) {
  .privacy-pair { grid-template-columns: 1fr; max-width: 34rem; }
}
@media (max-width: 40rem) {
  .statement { padding: 2rem 1.5rem 5rem; }
  .statement-icon { width: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .statement-more summary { transition: none; } }

/* Mobitel: dodirni ciljevi ≥ 44 px (Apple HIG), sitan tekst ≥ 13 px, bez vodoravnog pomicanja. */
@media (max-width: 40rem) {
  :root { --fs-caption: .82rem; }
  .tag { font-size: .8rem; }
  .y-axis span, .x-axis span { font-size: .82rem; }
  /* Zaglavlje: vizualno isto, ali nevidljivo proširena površina za prst. */
  .bar .brand, .bar .btn { position: relative; }
  .bar .brand::after, .bar .btn::after { content: ""; position: absolute; inset: -.5rem -.35rem; }
  a.btn:not(.bar .btn), .cta .btn { min-height: 2.75rem; }
  /* Podnožje: linkovi u stupcu visine 44 px umjesto sitnih redaka. */
  footer nav, footer .langs { gap: 0 .6rem; }
  footer nav a, footer .langs a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .3rem; }
  .theme label { padding: .6rem 1rem; }
  /* Jezična traka */
  .ribbon form { padding-right: 3.5rem; }
  .ribbon select, .ribbon button { min-height: 2.75rem; }
  .ribbon-close { width: 2.75rem; height: 2.75rem; right: .4rem; }
  .as-table summary { display: inline-block; padding: .7rem 0; }
  dd > a[href^="mailto:"] { display: inline-block; padding: .65rem 0; margin: -.65rem 0; }
}
/* Najuži zasloni (320 px): dugi dio naslova smije se prelomiti. */
@media (max-width: 22rem) { .intro h1 .nw { white-space: normal; } }
