/* VFP landing page. One stylesheet, no kit: light theme, IBM Plex Sans (local), VT navy and cyan. */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-400-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-500-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-600-normal.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.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; }

:root {
  --navy: #082246;
  --cyan: #067cd4;          /* the rok dot and small accents */
  --link: #0671c2;          /* cyan one step darker: 5:1 on white for text */
  --ink: #082246;
  --muted: #4c5e78;
  --line: rgb(8 34 70 / .10);
  --line-2: rgb(8 34 70 / .18);
  --ground: linear-gradient(135deg, #e6e9ed 0%, #e6f2fb 100%);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 6px;
  --gutter: 32px;
  --pad: 96px;
  --nav: 64px;
  color-scheme: light;
}
@media (max-width: 1023px) { :root { --gutter: 24px; --pad: 80px; } }
@media (max-width: 639px) { :root { --gutter: 16px; --pad: 56px; --nav: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 8px); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: 3px; }
code { font: 400 .92em/1 var(--mono); letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); }
.skip-link:focus { top: 8px; }

h1 { font: 600 clamp(34px, 4.6vw, 56px)/1.06 var(--sans); letter-spacing: -.025em; }
h2 { font: 600 clamp(26px, 3vw, 36px)/1.18 var(--sans); letter-spacing: -.02em; }
h3 { font: 600 17px/1.35 var(--sans); letter-spacing: -.005em; }

/* buttons: rectangular, navy */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 5px; border: 1px solid var(--navy); font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #12355f; border-color: #12355f; }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: rgb(8 34 70 / .06); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; gap: 24px; height: var(--nav); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; min-height: 44px; }
.brand { gap: 14px; }
.brand__logo { width: auto; height: 30px; flex: none; }
.brand__desc { padding-left: 12px; border-left: 1px solid var(--line-2); font-size: 14px; line-height: 20px; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a:not(.btn) { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--link); }
.nav__links a.nav__quiet:not(.btn) { color: var(--muted); font-weight: 400; }
.nav__links a.nav__quiet:not(.btn):hover { color: var(--link); }
.nav__sep { width: 1px; height: 20px; background: var(--line-2); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--navy); cursor: pointer; }
@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: var(--nav); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgb(8 34 70 / .25); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__sep { display: none; }
  .nav__links .btn { margin-top: 16px; min-height: 48px; }
}
@media (max-width: 639px) { .brand__desc { display: none; } .brand__logo { height: 28px; } }

/* grounds: the VT gradient only in the hero and the close; product sections white with hairlines */
.ground { background: var(--ground); }
.section { padding-block: var(--pad); }
.section + .section:not(.ground):not(.band) { border-top: 1px solid var(--line); }
.section--tight { padding-block: calc(var(--pad) * .75); }
.section__head { display: grid; gap: 16px; margin-bottom: 40px; }
.section__head p { color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .section__head { margin-bottom: 32px; } }

/* hero */
.hero { padding-block: 28px 72px; }
.hero__copy { max-width: 860px; }
@media (min-width: 640px) { .nw { white-space: nowrap; } }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.lead { margin-top: 14px; font-size: 20px; line-height: 1.5; max-width: 42em; color: #2a3f5e; }
.hero .btn-row { margin-top: 20px; }
.plan { margin-top: 20px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 1px 2px rgb(8 34 70 / .05); overflow: hidden; }
.plan img { width: 100%; }
@media (min-width: 1024px) { .plan img { max-height: 444px; object-fit: cover; object-position: 50% 55%; } }
.plan__part { display: none; }
.plan__title { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--navy); font-weight: 500; }
.plan__note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; color: var(--muted); font-weight: 400; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--navy); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend i[data-s="x"] { background: #c0392b; box-shadow: 0 0 0 3px #fce4e4; }
.legend i[data-s="s"] { background: #8a5508; box-shadow: 0 0 0 3px #fbe9c4; }
.legend i[data-s="ok"] { background: #fff; box-shadow: inset 0 0 0 1.5px #1a6232, 0 0 0 3px #dcf1e2; }
@media (max-width: 639px) {
  .hero { padding-block: 32px 56px; }
  .eyebrow { font-size: 13px; margin-bottom: 12px; }
  .lead { font-size: 18px; }
  .hero .btn-row { margin-top: 24px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .plan { margin-top: 32px; }
  .plan img { padding: 0; }
  .plan__part { display: inline; }
  .plan__title { padding: 8px 12px; font-size: 12px; flex-direction: column; gap: 6px; }
}

/* three short facts under the hero */
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.facts3 > div { padding-top: 20px; border-top: 1px solid var(--line-2); }
.facts3 p { margin-top: 8px; color: var(--muted); }
.facts3 a { font-weight: 500; }
@media (max-width: 899px) { .facts3 { grid-template-columns: minmax(0, 1fr); gap: 24px; } .facts3 a { display: inline-block; padding-block: 12px; margin-block: -12px; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.maker img { width: 76px; height: auto; margin-bottom: 16px; }
.maker p { color: var(--muted); }
.maker p + p { margin-top: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .maker a { display: inline-flex; align-items: center; min-height: 44px; } }

/* Prijava za klijente: one field, the company's address */
.signin { display: grid; gap: 8px; max-width: 420px; }
.signin label { font-weight: 600; font-size: 15px; }
.signin__row { display: flex; gap: 8px; }
.signin__field { display: flex; align-items: center; flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: 5px; background: #fff; padding: 0 12px; font: 400 15px/1 var(--mono); }
.signin__field:focus-within { outline: 2px solid var(--link); outline-offset: 2px; }
.signin__field input { flex: 1; width: 0; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--navy); text-align: right; }
.signin__field input::placeholder { color: #8a99ad; }
.signin__field span { color: var(--muted); }
.signin .btn { min-height: 46px; flex: none; }
.signin__hint { font-size: 13px; color: var(--muted); }
.signin__err { font-size: 14px; color: #b42318; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* vizitka (first public version): the nav keeps only the client sign-in and the demo; no menu */
@media (max-width: 899px) {
  .nav__links--card { display: flex; position: static; flex-direction: row; align-items: center; gap: 16px; padding: 0; margin-left: auto; background: none; border: 0; box-shadow: none; }
  .nav__links--card a:not(.btn) { min-height: 44px; border: 0; font-size: 15px; }
  .nav__links--card .btn { margin-top: 0; min-height: 44px; }
}
@media (max-width: 639px) { .nav__demo { display: none; } }
.facts3 .h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.footer__grid--card { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
@media (max-width: 899px) { .footer__grid--card { grid-template-columns: minmax(0, 1fr); } }

/* footer privacy line: link and a button that looks like one */
.linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 899px) { .footer__privacy a, .footer__privacy .linkbtn { display: inline-flex; align-items: center; min-height: 44px; } }

/* consent bar (D041): small, fixed at the bottom, two choices of equal weight */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px -16px rgb(8 34 70 / .3); padding-bottom: env(safe-area-inset-bottom); }
.consent[hidden] { display: none; }
.consent__bar { display: flex; align-items: center; gap: 12px 24px; padding-block: 12px; }
.consent__text { flex: 1; font-size: 15px; line-height: 1.45; color: var(--ink); }
.consent__actions { display: flex; gap: 8px; flex: none; }
.consent__actions .btn { min-width: 116px; min-height: 44px; }
@media (max-width: 639px) {
  .consent__bar { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 10px; }
  .consent__text { font-size: 14px; }
  .consent__text a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
  .consent__actions .btn { flex: 1 1 0; min-width: 0; }
}

/* /privatnost: plain reading page */
.page { padding-block: 48px var(--pad); }
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); }
.prose h2 { margin-top: 40px; font-size: 22px; line-height: 1.3; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose .meta { color: var(--muted); font-size: 15px; }
.prose .todo { background: #fbe9c4; padding: 0 4px; border-radius: 3px; }
@media (max-width: 899px) { .prose a { padding-block: 12px; margin-block: -12px; } }
