/* --------------------------------------------------------------- Fontovi --
   Inter i JetBrains Mono, oba SIL Open Font License 1.1.
   Poslužuju se s vlastitog poslužitelja — nijedan zahtjev ne ide trećoj strani.
   Licence: assets/fonts/OFL-Inter.txt, assets/fonts/OFL-JetBrainsMono.txt
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Nano Company — nanoco.hr
   Implementacija dizajna "Nanoco Web.dc.html"
   ========================================================================== */

/* --------------------------------------------------------------- Tokeni -- */
:root {
  --brand: #0E4C7C;
  --brand-dark: #0a3a5f;
  --ink: #0b0d10;
  --muted: #454c56;
  --soft: #676e7b;
  --line: #e4e6ea;
  --line-strong: #c9ced6;
  --surface: #f7f8f9;
  --paper: #fff;
  --danger: #b3261e;

  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter-base: clamp(20px, 5vw, 72px);
  --content-max: 1200px;

  /* Sadržaj se drži unutar --content-max i ostaje centriran, a pozadine sekcija
     i dalje idu od ruba do ruba. Postotak se računa prema širini roditelja, pa
     traka za pomicanje ne pomiče stupac. */
  --gutter: max(var(--gutter-base), calc((100% - var(--content-max)) / 2));
  --section-y: clamp(48px, 7vw, 88px);
  --trust-pad: clamp(20px, 3vw, 32px);

  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
}

/* ---------------------------------------------------------------- Reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.02em;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

.site-footer :focus-visible { outline-color: #fff; }

[id] { scroll-margin-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------ Pomoćnici -- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: 14px;
  font-weight: 500;
  transition: top .15s ease;
}

.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
}

.eyebrow--brand { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { font-size: 14px; padding: 10px 18px; }

/* ------------------------------------------------------------- Zaglavlje -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled { box-shadow: 0 1px 12px rgba(11, 13, 16, .06); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
}

.logo:hover { color: var(--ink); }

.logo__mark {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  background: var(--brand) radial-gradient(rgba(255, 255, 255, .55) 1.1px, transparent 1.1px);
  background-size: 5px 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
}

.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 981px) {
  .header__nav { display: contents; }
}

@media (max-width: 980px) {
  /* Bez JavaScripta izbornik je uvijek otvoren, ispod zaglavlja, u normalnom
     toku dokumenta. Klasu .js dodaje kratka skripta u <head>. */
  .header__inner { flex-wrap: wrap; }

  .header__nav {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    padding: 4px 0 8px;
    background: var(--paper);
  }

  html:not(.js) .site-header { position: static; }

  .js .nav-toggle { display: inline-flex; }

  .js .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(11, 13, 16, .09);
  }

  .js .header__nav.is-open { display: flex; }

  .nav { flex-direction: column; align-items: stretch; gap: 0; }

  .nav a {
    padding: 15px 2px;
    border-top: 1px solid var(--line);
    font-size: 16px;
  }

  .header__cta { margin-top: 16px; align-self: flex-start; }
}

/* ----------------------------------------------------------------- Hero -- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 88px);
  align-items: start;
}

.hero__col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -.032em;
  text-wrap: pretty;
}

.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.hero__panel {
  min-width: 0;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface) radial-gradient(#d3d8de 1px, transparent 1px);
  background-size: 16px 16px;
}

.hero__panel h2 { margin-bottom: 16px; font-weight: 400; }

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__list li {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 15px;
}

/* -------------------------------------------------------- Traka jamstava -- */
/* Pozadina ide punom širinom, a tekst ćelija poravnat je s ostatkom stupca:
   traka se uvlači za točno onoliko koliko ćelije imaju vlastitog paddinga. */
.trust-band {
  padding-inline: max(0px, calc(var(--gutter) - var(--trust-pad)));
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.trust li {
  background: var(--surface);
  padding: 30px var(--trust-pad);
}

.trust__term {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--brand);
}

.trust__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* -------------------------------------------------------------- Sekcije -- */
.section { padding: var(--section-y) var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section--surface { background: var(--surface); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head > div { min-width: 0; }

.section-head h2,
.duo__intro h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.028em;
}

.eyebrow + h2 { margin-top: 12px; }

.section-head__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.section__title-block { margin-bottom: 40px; }
.section__title-block h2 { max-width: 24ch; }

/* -------------------------------------------------------- Segmentacija --- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.split__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.split__card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
}

.split__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.split__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
}

/* ------------------------------------------------------------ Proizvodi -- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.product:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(11, 13, 16, .06);
}

.product--kvorum  { --accent: #4B4FA6; }
.product--termin  { --accent: #0E7C6B; }
.product--kustos  { --accent: #8A5A2B; }
.product--wedding { --accent: #8B4A72; }

.product__cap {
  height: 112px;
  background: var(--accent) radial-gradient(rgba(255, 255, 255, .35) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 26px;
}

.product__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.product__head h3 { font-size: 21px; letter-spacing: -.015em; }

.product__tag {
  padding: 2px 6px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}

.product p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.product__foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.product__url { color: var(--soft); }

.product--more {
  justify-content: center;
  gap: 12px;
  padding: 26px;
  background: var(--surface);
  border-style: dashed;
  border-color: var(--line-strong);
}

.product--more:hover { box-shadow: none; border-color: var(--line-strong); }
.product--more h3 { font-size: 19px; letter-spacing: -.015em; }
.product--more p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.product--more a { font-size: 14px; font-weight: 500; }

/* ------------------------------------------------------- Mreža s ćelijama -- */
.cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cells > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 30px;
  background: var(--paper);
}

.cells h3 { font-size: 17px; }

.cells p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cells__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
}

.cells--tight > li { padding: 26px; gap: 8px; }
.cells--tight h3 { font-size: 16px; }

/* ---------------------------------------------------------------- Proces -- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 20px;
  border-top: 2px solid var(--brand);
}

.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
}

.step h3 { font-size: 19px; letter-spacing: -.01em; }

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ------------------------------------------------------------- Dvostupac -- */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
}

.duo__intro { min-width: 0; }

.duo__intro p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
}

/* ------------------------------------------------------------------- FAQ -- */
.faq {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.faq li:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 17px; }

.faq p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------- Kontakt -- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact__intro { min-width: 0; }

.contact__intro h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 20ch;
}

.contact__lead {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 0;
}

.contact__meta dt {
  margin-bottom: 3px;
  font-size: 12px;
  color: var(--soft);
}

.contact__meta dd {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

/* -------------------------------------------------------------- Obrazac -- */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field > label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
}

.field textarea { min-height: 96px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); }

.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--danger); }

::placeholder { color: var(--soft); opacity: 1; }

.form__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--soft);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--soft);
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--brand);
}

.form__submit { width: 100%; }

.form__status {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form__status[data-state="error"] { color: var(--danger); }
.form__status[data-state="ok"] { color: #0E7C6B; }
.form__status:empty { display: none; }

/* --------------------------------------------------------------- Podnožje -- */
.site-footer {
  padding: clamp(40px, 5vw, 64px) var(--gutter) 40px;
  background: var(--ink);
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer__brand { min-width: 0; }
.footer__brand .logo { margin-bottom: 16px; color: #fff; font-size: 15px; }

.footer__brand .logo__mark {
  width: 20px;
  height: 20px;
  background: #fff radial-gradient(rgba(11, 13, 16, .5) 1.1px, transparent 1.1px);
  background-size: 5px 5px;
}

.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 36ch;
}

.footer__id {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2;
  color: rgba(255, 255, 255, .72);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col h2 {
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

.footer__col a,
.footer__col span {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .62);
}

.footer__bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ------------------------------------------------------- Pravne stranice -- */
.legal {
  /* ~70 znakova po retku — udoban raspon za čitanje duljeg pravnog teksta. */
  max-width: calc(62ch + 2 * var(--gutter-base));
  margin-inline: auto;
  padding: var(--section-y) var(--gutter-base);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.legal__updated {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--soft);
}

.legal__lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 20px;
  letter-spacing: -.015em;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 16px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.legal p + p { margin-top: 14px; }

.legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal a { text-decoration: underline; }

.legal__box {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.legal__box p:first-child { margin-top: 0; }

.legal__box dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.legal__box dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--soft);
}

.legal__box dd {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}


.footer__bar a {
  color: rgba(255, 255, 255, .85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bar a:hover { color: #fff; }

.consent a { color: var(--brand); text-decoration: underline; }
.consent a:hover { color: var(--ink); }

.legal code {
  padding: 1px 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .88em;
  color: var(--ink);
}

.legal__cta { margin-top: 28px; }
