/* ==========================================================================
   PoKaL — Varia d.o.o.
   Modern design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-900: #0a1c33;
  --brand-800: #0f2a4d;
  --brand-700: #14396a;
  --brand-600: #1b5299;
  --brand-500: #2570c8;
  --brand-400: #4a92e0;
  --brand-300: #8bbaef;
  --brand-100: #dce9f9;
  --brand-50:  #eff5fd;

  --accent-500: #00a2a7;
  --accent-400: #16c2c7;
  --accent-100: #d7f5f6;

  /* Neutrals */
  --ink-900: #0d141c;
  --ink-700: #2b3846;
  --ink-500: #55657a;
  --ink-400: #7a8798;
  --line:    #e2e8f0;
  --line-2:  #eef2f7;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --surface-3: #eef3f9;
  --page:    #ffffff;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono",
               Consolas, "Liberation Mono", monospace;

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(13, 20, 28, .05), 0 1px 3px rgba(13, 20, 28, .04);
  --sh-2: 0 4px 12px rgba(13, 20, 28, .06), 0 2px 4px rgba(13, 20, 28, .04);
  --sh-3: 0 18px 40px -12px rgba(15, 42, 77, .18), 0 4px 12px rgba(13, 20, 28, .05);
  --sh-4: 0 32px 64px -20px rgba(15, 42, 77, .28);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 74px;
  --rail-w: 8.5rem;

  /* Odziv obrazca */
  --ok:     #0f7b56;
  --napaka: #b42318;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

strong { color: var(--ink-900); font-weight: 650; }

::selection { background: var(--brand-100); color: var(--brand-800); }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--surface-2); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--brand-700);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-400));
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { color: var(--ink-500); font-size: 1.075rem; }

.lead { font-size: 1.14rem; color: var(--ink-500); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(27, 82, 153, .55);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 28px -8px rgba(27, 82, 153, .6); }

.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-600); background: var(--brand-50); }

.btn--onDark {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
}
.btn--onDark:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .5); }

.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(13, 20, 28, .06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  color: var(--ink-900);
  text-decoration: none;
}
.brand:hover { color: var(--ink-900); }

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500) 55%, var(--accent-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.04em;
  box-shadow: 0 6px 16px -6px rgba(27, 82, 153, .65);
}

.brand__name {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.brand__name b { color: var(--brand-600); font-weight: 800; }
.brand__tag {
  display: block;
  font-size: .705rem;
  font-weight: 500;
  color: var(--ink-400);
  letter-spacing: .01em;
  line-height: 1.3;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  position: relative;
  padding: .55rem .9rem;
  border-radius: var(--r-sm);
  font-size: .935rem;
  font-weight: 550;
  color: var(--ink-700);
}
.nav__link:hover { color: var(--brand-600); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); font-weight: 650; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .22rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-400));
}

.nav__cta { margin-left: .55rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: background-color .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform .25s var(--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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(22, 194, 199, .22), transparent 62%),
    radial-gradient(760px 480px at 6% 4%, rgba(74, 146, 224, .3), transparent 60%),
    linear-gradient(165deg, var(--brand-900) 0%, var(--brand-800) 48%, #113463 100%);
  color: #fff;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 10vw, 8rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 68% at 50% 34%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 68% at 50% 34%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7fd8dc, #9ec8f7 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1.04rem, 1.7vw, 1.19rem);
  color: rgba(255, 255, 255, .8);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .45rem;
  margin-bottom: 1.7rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
  font-size: .83rem;
  font-weight: 550;
  color: rgba(255, 255, 255, .9);
}
.hero__pill b {
  display: inline-block;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-500), var(--brand-500));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__note {
  margin-top: 1.8rem;
  font-size: .87rem;
  color: rgba(255, 255, 255, .58);
}
.hero__note a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; }
.hero__note a:hover { color: #fff; }

/* Hero visual — app mock */
.mock {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--sh-4);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg);
  transition: transform .5s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem .95rem;
  background: rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .26); }
.mock__title {
  margin-left: .55rem;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .62);
  font-family: var(--font-mono);
}

.mock__body { padding: 1rem .95rem 1.15rem; }

.mock__row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 3.1rem 4.6rem;
  gap: .55rem;
  align-items: center;
  padding: .5rem .55rem;
  border-radius: 8px;
  font-size: .765rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, .78);
}
.mock__row--head {
  color: rgba(255, 255, 255, .45);
  font-size: .655rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  padding-bottom: .55rem;
  margin-bottom: .3rem;
}
.mock__row + .mock__row:not(.mock__row--head) { border-top: 1px solid rgba(255, 255, 255, .06); }
.mock__row--hl { background: rgba(22, 194, 199, .14); border-top-color: transparent !important; }
.mock__row span:nth-child(3),
.mock__row span:nth-child(4) { text-align: right; }
.mock__row .txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: .8rem;
}

.mock__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .85rem;
  padding: .75rem .8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  font-family: var(--font-mono);
  font-size: .82rem;
  color: #fff;
}
.mock__total b { color: var(--accent-400); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4rem, -6vw, -3rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.stat {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.stat::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--sh-4); }
.stat:hover::after { transform: scaleX(1); }

.stat__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.stat__ico svg { width: 21px; height: 21px; }

.stat__num {
  display: block;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: .35rem;
}
.stat__num .u { color: var(--brand-500); }

.stat h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.stat p { color: var(--ink-500); font-size: .93rem; margin: 0; }

/* ---------- Feature / content cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--sh-3);
}
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-500); font-size: .95rem; }

.card__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-50), var(--accent-100));
  color: var(--brand-600);
}
.card__ico svg { width: 22px; height: 22px; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.split__body h2 { margin-bottom: 1rem; }
.split__body p { color: var(--ink-500); }
.split__body .highlight { color: var(--ink-700); }

/* Panel — dark inset block */
.panel {
  position: relative;
  padding: clamp(1.9rem, 3.6vw, 2.75rem);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--brand-800), var(--brand-700) 60%, #10406e);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 194, 199, .3), transparent 68%);
}
.panel > * { position: relative; }
.panel h3, .panel h2 { color: #fff; }

.panel__list { list-style: none; margin: 0; padding: 0; }
.panel__list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .8rem;
  font-size: .96rem;
}
.panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(22, 194, 199, .22);
  border: 1px solid rgba(22, 194, 199, .5);
}
.panel__list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .78rem;
  width: 5px;
  height: 8px;
  border: solid var(--accent-400);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Check list (light) */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 2.05rem;
  margin-bottom: .85rem;
  color: var(--ink-700);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .68rem;
  width: 5px;
  height: 9px;
  border: solid var(--brand-500);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6.5vw, 5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  background:
    radial-gradient(680px 380px at 82% -30%, rgba(22, 194, 199, .16), transparent 60%),
    linear-gradient(160deg, var(--brand-900), var(--brand-800) 70%, #123a68);
  background-color: var(--brand-900);
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000 20%, transparent 90%);
}
.page-hero > .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { color: rgba(255, 255, 255, .74); max-width: 56ch; font-size: 1.06rem; margin: 0; }
.page-hero .eyebrow { color: var(--accent-400); }
.page-hero .eyebrow::before { background: var(--accent-400); }

.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.35rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.crumbs li { margin: 0; }
.crumbs a { color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .3); }

/* ---------- Prose (long-form content) ---------- */
.prose { font-size: 1.015rem; color: var(--ink-700); }
.prose h2 { margin-top: 2.6rem; margin-bottom: .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; margin-bottom: .6rem; }
.prose > ul, .prose > ol { margin-bottom: 1.3rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  margin: 1.6rem 0;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-500);
  color: var(--brand-800);
  font-size: .97rem;
}
.callout svg { width: 21px; height: 21px; flex: none; margin-top: .22rem; color: var(--brand-600); }
.callout strong { color: var(--brand-900); }
.callout--accent {
  background: var(--accent-100);
  border-color: rgba(0, 162, 167, .28);
  border-left-color: var(--accent-500);
  color: #08484a;
}
.callout--accent svg { color: var(--accent-500); }
.callout--accent strong { color: #052e30; }

/* ---------- Guidelines (numbered accordion-ish list) ---------- */
.guides { display: grid; gap: 1rem; counter-reset: g; }

.guide {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.guide:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); }
.guide[open] { border-color: var(--brand-300); box-shadow: var(--sh-2); }

.guide__sum {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: var(--ink-900);
  font-size: 1.03rem;
}
.guide__sum::-webkit-details-marker { display: none; }
.guide__sum::before {
  counter-increment: g;
  content: counter(g);
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: .84rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.guide__sum::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  flex: none;
  border: solid var(--ink-400);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.guide[open] .guide__sum::after { transform: rotate(-135deg) translateY(-2px); }
.guide[open] .guide__sum::before { background: var(--brand-500); color: #fff; }

.guide__body {
  padding: 0 1.35rem 1.35rem 3.7rem;
  color: var(--ink-500);
  font-size: .96rem;
}
.guide__body ul, .guide__body ol { padding-left: 1.2rem; }
.guide__body > :last-child { margin-bottom: 0; }
.guide__body .note {
  display: block;
  color: var(--ink-400);
  font-size: .9rem;
}

/* ---------- News / updates ---------- */
.news-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.news-status__item {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
.news-status__label {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: .5rem;
}
.news-status__value {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink-900);
  font-family: var(--font-mono);
  letter-spacing: -.02em;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
  50%      { box-shadow: 0 0 0 6px rgba(22, 163, 74, .06); }
}

.search {
  position: relative;
  max-width: 460px;
  margin-bottom: 2rem;
}
.search input {
  width: 100%;
  padding: .82rem 1rem .82rem 2.85rem;
  font: inherit;
  font-size: .96rem;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search input::placeholder { color: var(--ink-400); }
.search input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.search svg {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-400);
  pointer-events: none;
}

.timeline {
  position: relative;
  padding-left: 1.9rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-100) 55%, transparent);
}

.tl-item { position: relative; margin-bottom: 1.15rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brand-400);
  box-shadow: 0 0 0 3px var(--page);
}
.tl-item:first-child::before { border-color: var(--accent-500); }

.tl-item__card {
  padding: 1.15rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.tl-item__card:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); }

.tl-item__period {
  display: block;
  font-size: .93rem;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: .6rem;
  letter-spacing: -.005em;
}

.brands { display: flex; flex-wrap: wrap; gap: .38rem; }
.brand-chip {
  display: inline-block;
  padding: .24rem .68rem;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid transparent;
  color: var(--ink-700);
  font-size: .795rem;
  font-weight: 550;
  line-height: 1.5;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.tl-item__card:hover .brand-chip { background: var(--brand-50); color: var(--brand-700); }
.brand-chip mark {
  background: #fde68a;
  color: var(--ink-900);
  border-radius: 3px;
  padding: 0 1px;
}

.no-results {
  display: none;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--ink-400);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}
.no-results.is-shown { display: block; }

/* ---------- Resource links ---------- */
.res-list { display: grid; gap: .8rem; }
.res {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-900);
  transition: transform .22s var(--ease), border-color .22s var(--ease),
              box-shadow .22s var(--ease);
}
.res:hover {
  transform: translateX(4px);
  border-color: var(--brand-300);
  box-shadow: var(--sh-2);
  color: var(--ink-900);
}
.res__ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.res__ico svg { width: 19px; height: 19px; }
.res__txt { min-width: 0; }
.res__title { display: block; font-weight: 650; font-size: .97rem; line-height: 1.35; }
.res__meta { display: block; font-size: .82rem; color: var(--ink-400); }
.res__arrow { margin-left: auto; color: var(--ink-400); flex: none; transition: transform .22s var(--ease), color .22s var(--ease); }
.res__arrow svg { width: 17px; height: 17px; }
.res:hover .res__arrow { transform: translateX(3px); color: var(--brand-500); }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(620px 340px at 15% 10%, rgba(22, 194, 199, .22), transparent 62%),
    linear-gradient(120deg, var(--brand-800), var(--brand-600));
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 100% at 80% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 80% 50%, #000, transparent 75%);
}
.cta > .wrap { position: relative; }
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 48ch; }
.cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta .btn--primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .4);
}
.cta .btn--primary:hover { color: var(--brand-800); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.contact-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand-300); box-shadow: var(--sh-3); }
.contact-card__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.contact-card__ico svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: .98rem; margin-bottom: .45rem; }
.contact-card p, .contact-card address {
  margin: 0;
  font-style: normal;
  color: var(--ink-500);
  font-size: .95rem;
  line-height: 1.65;
}
.contact-card a { font-weight: 550; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .6);
  padding: clamp(3rem, 6vw, 4.25rem) 0 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.75rem;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name b { color: var(--accent-400); }
.footer__brand .brand__tag { color: rgba(255, 255, 255, .48); }
.footer__brand p { margin-top: 1.1rem; max-width: 42ch; color: rgba(255, 255, 255, .55); font-size: .92rem; }

.footer__col h4 {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .6rem; }
.footer__col a, .footer__col address {
  color: rgba(255, 255, 255, .62);
  font-style: normal;
  line-height: 1.75;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(255, 255, 255, .42);
}
.footer__bottom a { color: rgba(255, 255, 255, .6); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .mock { transform: none; }
  .mock:hover { transform: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: .8rem .9rem; font-size: 1rem; }
  .nav__link.is-active::after { left: .9rem; right: auto; width: 22px; bottom: .5rem; }
  .nav__cta { margin: .6rem 0 0; width: 100%; }
  .nav__toggle { display: inline-flex; }

  .stats__grid,
  .news-status,
  .contact-grid,
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { margin-top: -2.5rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .brand__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .guide__body { padding-left: 1.35rem; }
  .mock__row { grid-template-columns: 2.1rem minmax(0, 1fr) 3.5rem; }
  .mock__row span:nth-child(3) { display: none; }
  .timeline { padding-left: 1.5rem; }
  .tl-item::before { left: -1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta, .nav__toggle, .search, .site-footer { display: none; }
  body { color: #000; }
  .hero, .page-hero { background: none; color: #000; padding: 1rem 0; }
  .hero h1, .page-hero h1, .hero__sub, .page-hero p { color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* Prijava v cPokal — okno */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 51, .55);
  backdrop-filter: blur(3px);
  animation: modalVeil .18s ease-out;
}
.modal__card {
  position: relative;
  width: min(34rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 2rem 2rem 1.6rem;
  animation: modalCard .22s cubic-bezier(.2, .8, .3, 1);
}
.modal__x {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-500);
  cursor: pointer;
}
.modal__x:hover { color: var(--brand-600); border-color: var(--brand-300); background: var(--brand-50); }
.modal__x svg { width: 15px; height: 15px; }
.modal__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--accent-500);
  background: var(--accent-100);
  border-radius: 999px;
  padding: .3rem .7rem;
}
.modal__title {
  margin: .9rem 0 .5rem;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink-900);
}
.modal__lead { margin: 0 0 1rem; color: var(--ink-700); }
.modal__list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: .55rem;
  font-size: .95rem;
  color: var(--ink-700);
}
.modal__list li { padding-left: 1.5rem; position: relative; }
.modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--brand-400);
}
.modal__list b { color: var(--ink-900); font-weight: 650; }
/* Posnetek cPokala v oknu Prijava. Slika je del kartice in ne okras cez njen rob:
   okno je ozko (34rem), zato se slika pomanjsa, podnapis pa pove, da prijava se ni odprta. */
.modal__shot {
  margin: 0 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}
.modal__shot img { width: 100%; height: auto; display: block; }
.modal__shot figcaption {
  padding: .5rem .75rem;
  font-size: .8rem;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
}
.modal__note {
  margin: 0 0 1.3rem;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border-left: 3px solid var(--brand-400);
  border-radius: var(--r-sm);
  font-size: .95rem;
  color: var(--ink-700);
}
.modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

@keyframes modalVeil { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalCard {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal__veil, .modal__card { animation: none; }
}
@media (max-width: 560px) {
  .modal__card { padding: 1.6rem 1.25rem 1.25rem; }
  .modal__title { font-size: 1.35rem; }
  .modal__actions .btn { width: 100%; justify-content: center; }
}
@media print { .modal { display: none; } }

/* ---------- Navigacija po strani (levi stolpec) ---------- */
/* Stolpec stoji v levem robu okna in se drzi pod glavo, dokler traja vsebina
   strani; pri ozjem oknu se spremeni v vodoravni trak pod glavo. */
.railhost { position: relative; }
.railbox {
  position: absolute;
  left: var(--gutter);
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  pointer-events: none;
}
.pagenav {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  pointer-events: auto;
}
.pagenav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .12rem; }
.pagenav li { margin: 0; }
.pagenav a {
  display: block;
  padding: .5rem .6rem .5rem .85rem;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease);
}
.pagenav a:hover { color: var(--brand-600); border-left-color: var(--brand-300); background: var(--brand-50); }
.pagenav a.is-active { color: var(--brand-700); border-left-color: var(--brand-500); background: var(--brand-50); }

/* Med 1024 in 1579 px je naravni rob preozek, zato se vsebina umakne desno. */
@media (min-width: 1024px) and (max-width: 1579px) {
  .railhost .wrap { padding-left: calc(var(--gutter) + var(--rail-w)); }
}

@media (max-width: 1023px) {
  .railbox {
    position: sticky;
    left: auto;
    top: var(--nav-h);
    bottom: auto;
    width: auto;
    z-index: 90;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .pagenav { position: static; overflow-x: auto; }
  .pagenav ul {
    grid-auto-flow: column;
    justify-content: start;
    gap: .2rem;
    padding: .3rem var(--gutter);
  }
  .pagenav a {
    border-left: 0;
    border-radius: var(--r-sm);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .pagenav a.is-active { border-bottom-color: var(--brand-500); }
}

@media print { .railbox { display: none; } .railhost .wrap { padding-left: var(--gutter); } }

/* ---------- Logotip v uvodu ---------- */
/* Logotip stoji naravnost na uvodu: ne kartice, ne obrobe, ne sence. Prej je
   bil JPEG z bledim ozadjem v skoraj beli kartici in se je na mornarsko modri
   podlagi bral kot svetel pravokotnik -- "strlel" je ven (Vili, 24. 11. 2026).
   Zdaj je PNG brez ozadja in posvetljen (tools/logo_svetel.py), zato je lahko
   podlaga pod njim prazna. */
.hero__logo { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.hero__logo img {
  display: block;
  width: 100%;
  max-width: 92%;
  height: auto;
  margin-inline: auto;
}

/* Na ozkem zaslonu gre logotip PRED naslov (Slavko, 25. 11. 2026). Hero je mreza
   dveh stolpcev; pod 1000px se zlozi v enega in hero__media je zadnji, zato je
   logotip koncal pod gumbi, cez vso sirino in ga na telefonu skoraj nihce ni
   videl. order: -1 ga postavi nad naslov, ozji in poravnan z besedilom. */
@media (max-width: 1000px) {
  .hero__grid { gap: 2rem; }
  .hero__media { order: -1; }
  .hero__logo img { max-width: 58%; margin-inline: 0; }
}

/* ---------- Pas "nova razlicica" na prvi strani ---------- */
/* Svoje ozadje in ne section--alt: v enodatotecni razlicici je naslednji odsek
   ze --alt, dva enaka pasova zapored pa se zlijeta v enega. */
.section--novo {
  background: linear-gradient(180deg, var(--brand-50), var(--surface) 72%);
  border-top: 1px solid var(--brand-100);
  border-bottom: 1px solid var(--brand-100);
}

.tocke {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .6rem;
  color: var(--ink-500);
  font-size: .98rem;
}
.tocke li { position: relative; padding-left: 1.6rem; }
.tocke li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .55rem;
  height: .55rem;
  border-radius: 2px;
  background: var(--brand-400);
}
.tocke b { color: var(--ink-900); font-weight: 650; }

.novo__shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.novo__shot img { display: block; width: 100%; height: auto; }
.novo__shot figcaption {
  padding: .6rem .9rem;
  font-size: .82rem;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
}

/* ---------- Obrazec "Obvesti me" ---------- */
.obvesti__uvod { color: var(--ink-500); margin-bottom: 1rem; }
.obvesti { margin: 0; }
.obvesti__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.obvesti__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.obvesti__input {
  flex: 1 1 16rem;
  min-width: 0;
  padding: .72rem .95rem;
  font: inherit;
  font-size: .98rem;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.obvesti__input::placeholder { color: var(--ink-400); }
.obvesti__input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}
/* Visina je rezervirana vnaprej: sporocilo se izpise pod obrazcem in brez tega
   bi ob prvem odzivu vso vsebino pod njim porinilo navzdol. */
.obvesti__msg { min-height: 1.4em; margin: .6rem 0 0; font-size: .9rem; color: var(--ink-500); }
.obvesti__msg.is-napaka { color: var(--napaka); }
.obvesti__msg.is-ok { color: var(--ok); }
