@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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 {
  color-scheme: only light;
  --ink: #0b1a2c;
  --ink-2: #1c334b;
  --muted: #28425c;
  --blue: #0a66ff;
  --sun: #ffc83d;
  --gutter: clamp(20px, 5vw, 76px);
  --cycle: 16s;
  --start: -7s;
}

* { box-sizing: border-box; }
html { background: #fff; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#pocetak { overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #155ec1; outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1180px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .motion-toggle {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; z-index: 20; left: 16px; top: 12px; padding: 12px 20px;
  border-radius: 24px; background: #fff; transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.glass {
  background: rgba(247, 252, 255, .88);
  border: 1px solid rgba(255, 255, 255, .94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -1px 0 rgba(190, 222, 250, .4),
    0 16px 36px -14px rgba(17, 64, 118, .22),
    0 4px 12px -3px rgba(17, 64, 118, .08);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  backdrop-filter: blur(20px) saturate(1.45);
}
.sky-world {
  position: relative;
  isolation: isolate;
  padding-top: max(16px, env(safe-area-inset-top));
  background: #a9d9ff;
}
.sky-photo, .sky-world::before { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky-photo { z-index: -2; overflow: hidden; }
.sky-photo img { width: 100%; height: 100%; object-fit: cover; }
.sky-world::before {
  content: "";
  background: radial-gradient(ellipse at 18% 30%, #edf8ffe6, #e3f4ff52 52%, transparent 76%);
}
.masthead {
  position: sticky; top: 12px; z-index: 8; isolation: isolate;
  width: min(calc(100% - 24px), 760px); margin-inline: auto;
}
.navigation {
  position: relative; display: flex; align-items: center; gap: 3px;
  min-height: 54px; padding: 4px 7px 4px 15px;
  border-radius: 100px; background-color: rgba(246, 252, 255, .82);
}
.brand {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.05em;
}
.brand svg { width: 26px; height: 20px; color: #1979db; }
.navigation .brand { margin-right: auto; }
.module-menu summary, .nav-item, .web-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding-inline: 10px; border-radius: 100px;
  font-size: .8125rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.module-menu summary { list-style: none; }
.module-menu summary::-webkit-details-marker { display: none; }
.chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.module-menu[open] .chevron { transform: translateY(2px) rotate(225deg); }
.web-link { padding-inline: 14px; background: #ffffffc7; box-shadow: inset 0 0 0 1px #fff, 0 2px 8px rgba(18, 62, 114, .08); }
.menu-panel {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(100%, 400px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: 24px;
  background-color: #f5fbfff7;
}
.menu-panel a {
  display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 6px 8px;
  border-radius: 15px; font-size: .875rem; font-weight: 600;
}
.menu-panel img {
  width: clamp(36px, 9vw, 44px); height: auto;
  filter: drop-shadow(0 4px 6px rgba(18, 62, 114, .16));
}

.hero {
  position: relative; z-index: 1; display: grid; align-items: center;
  gap: 24px; padding-block: 48px 58px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 11px;
  text-transform: uppercase; font-size: .75rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .13em; color: #1f486e;
}
.sun-line {
  width: 28px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #3b96ff);
  box-shadow: 0 0 10px rgba(10, 102, 255, .28);
}
.hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(4.25rem, 17vw, 7.25rem);
  line-height: .98;
  letter-spacing: -.052em;
}
.sun-dot { color: var(--blue); }
.lead {
  max-width: 35ch; color: #15314b;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 450; line-height: 1.55; text-wrap: pretty;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 11px 22px; border: 1px solid transparent; border-radius: 999px;
  color: var(--ink); font-size: .9375rem; font-weight: 650; letter-spacing: -.01em;
}
.primary {
  background: linear-gradient(165deg, #ffe17d, var(--sun) 48%, #ffb01f);
  border-color: #ffd86b;
  box-shadow:
    inset 0 1px 0 #fff6c8,
    inset 0 -1px 0 #eb9f12,
    0 8px 18px -6px rgba(175, 114, 14, .42),
    0 14px 32px -4px rgba(255, 188, 44, .5);
}
.secondary {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(255, 255, 255, .96);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -8px rgba(20, 66, 120, .18);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
}

/* A live ledger inside an optically thick glass frame, with two freestanding renders. */
.stage { position: relative; width: min(100%, 520px); min-width: 0; margin-inline: auto; }
.product-preview { position: relative; isolation: isolate; padding: 58px 8px 32px; }
.dashboard {
  position: relative; padding: 16px; border-radius: 26px;
  background: linear-gradient(142deg, #fbfdffeb, #e7f5ffc4 52%, #c7e5ffd4);
  box-shadow:
    inset 1px 2px 1px #fff,
    inset -2px -3px 4px #80b5df80,
    1px 4px 0 #b1d2ed,
    2px 6px 0 #e0f1ffcc,
    0 26px 48px -12px rgba(20, 70, 130, .42);
  transform: rotate(-2deg);
}
.dash-heading { position: relative; padding: 0 0 12px 3px; }
.preview-label { font-size: .75rem; font-weight: 600; color: #2d5172; }
.dash-heading h2 { margin-top: 4px; font-size: clamp(1.35rem, 3.6vw, 1.85rem); letter-spacing: -.04em; }
.ledger { padding: 2px 11px 8px; border: 1px solid #fffffff0; border-radius: 16px; background: #f9fdffeb; }
.entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 0; }
.entry + .entry { border-top: 1px solid #d6e5ef; }
.file-icon {
  display: grid; place-items: center; width: 30px; height: 34px;
  border: 1px solid #c6dfef; border-radius: 9px; background: #e6f3ff; color: #2b6fa3;
}
.file-icon .icon { width: 17px; height: 17px; }
.invoice { display: grid; gap: 2px; line-height: 1.2; }
.invoice b { font-size: .875rem; font-weight: 640; }
.invoice small, .reminder small { color: #35506b; font-size: .75rem; font-weight: 460; }
.states { display: grid; min-width: 78px; font-size: .75rem; font-weight: 640; }
.states > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 8px; border-radius: 99px; }
.pending { color: #6b4e13; background: #fff1c7; }
.good { color: #125d42; background: #d6f3e5; }
.good::before { content: ""; width: 7px; height: 4px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: translateY(-1px) rotate(-45deg); }
.issue { color: #8c342a; background: #ffe0da; }
.issue::before { content: "!"; font-weight: 800; }
.entry-c .good { opacity: 0; }
.reason { display: grid; justify-items: end; line-height: 1.3; }
.reason span {
  grid-area: 1 / 1; padding: 3px 8px; border-radius: 6px; color: #81362f;
  background: #ffefe9; font-size: .75rem; font-weight: 540;
}
.reason .fixed-code { color: #1c5f47; background: #e5f5eb; opacity: 0; }
.count-line { display: flex; align-items: center; gap: 9px; padding: 12px 3px 0; color: #2a4963; font-size: .75rem; font-weight: 580; }
.count-line b { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.progress { display: flex; gap: 3px; margin-left: auto; }
.progress i { width: 11px; height: 4px; background: #489f85; border-radius: 4px; }
.progress i:last-child { background: #a6c2d3; }
.count-window { display: inline-block; height: 1.2em; overflow: hidden; }
.count-reel { display: grid; line-height: 1.2; transform: translateY(-50%); }
.hero-object {
  position: absolute; top: 2px; right: 0; width: 37%; max-width: 210px;
  filter: drop-shadow(3px 14px 12px rgba(24, 66, 114, .22)); pointer-events: none;
}
.loose-invoice {
  position: absolute; bottom: -10px; left: -4px; width: 17%; max-width: 86px;
  transform: rotate(-16deg); filter: drop-shadow(2px 10px 8px rgba(28, 70, 120, .24)); pointer-events: none;
}
.reminder {
  position: absolute; right: 1%; bottom: 0; display: flex; align-items: center; gap: 9px;
  padding: 8px 13px 8px 8px; border-radius: 15px 15px 5px 15px; transform: rotate(2deg);
  background-color: #f6fff8f0; box-shadow: inset 0 1px 0 #fff, 0 12px 26px -10px rgba(22, 64, 108, .42);
}
.chat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #1e6e4e; background: #c6eed9; }
.reminder b, .reminder small { display: block; line-height: 1.45; }
.reminder b { font-size: .8rem; font-weight: 650; }
.motion-option { display: none; }
.cloud-edge { position: absolute; z-index: 0; inset: auto 0 0; height: 0; pointer-events: none; }
.cloud-edge img {
  position: absolute; bottom: -32px; width: 100%; height: clamp(124px, 17vw, 256px); object-fit: cover;
  object-position: center 73%; mask-image: linear-gradient(#000 64%, transparent 100%);
}
.cloud-edge::before {
  content: ""; position: absolute; inset: -27px 0 0; background: linear-gradient(transparent, #fff);
}

/* The module gallery keeps each product object on its own softly tinted surface. */
.modules { padding-block: 68px 60px; }
.section-heading { display: grid; gap: 16px; margin-bottom: 28px; }
.section-heading .eyebrow, .web-copy .eyebrow { color: #175488; margin-bottom: 10px; }
.section-heading h2, .web-copy h2 { font-size: clamp(2.4rem, 5.8vw, 4.25rem); letter-spacing: -.042em; }
.section-heading h2 span { color: var(--blue); white-space: nowrap; }
.section-heading > p {
  color: var(--ink-2);
  font-size: clamp(1.03125rem, 1.2vw, 1.125rem);
  font-weight: 450;
  line-height: 1.56;
  max-width: 45ch;
  text-wrap: pretty;
}
.modules-grid { display: grid; gap: 16px; }
.module {
  min-width: 0;
  scroll-margin-top: 84px;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, var(--wash) 100%);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 20px 44px -20px rgba(18, 62, 114, .16),
    0 4px 12px -4px rgba(18, 62, 114, .07);
}
.nadzor {
  --wash: #e8f3ff;
  --border: #c5dffb;
  --stage: radial-gradient(circle at 50% 46%, #c2e0ff 0%, #dceeff 56%, transparent 78%);
  --obj-scale: 1.07;
}
.prikupljanje {
  --wash: #fbf3df;
  --border: #edd7a4;
  --stage: radial-gradient(circle at 50% 48%, #f6dfaa 0%, #faeccb 56%, transparent 78%);
  --obj-scale: 1.16;
}
.odgovori {
  --wash: #ede9fc;
  --border: #d2c8f7;
  --stage: radial-gradient(circle at 50% 48%, #d1c7fa 0%, #e4defc 56%, transparent 78%);
  --obj-scale: 1.15;
}
.priprema {
  --wash: #e6f5ee;
  --border: #bce3d0;
  --stage: radial-gradient(circle at 50% 48%, #bce8d3 0%, #d7f1e4 56%, transparent 78%);
  --obj-scale: 0.96;
}
.module-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: 184px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: var(--stage), rgba(255, 255, 255, .56);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 24px -14px rgba(18, 62, 114, .14);
}
.module-art::after {
  content: "";
  position: absolute;
  bottom: 12px;
  width: 48%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 60, 110, .18), transparent);
  z-index: -1;
  pointer-events: none;
}
.module-art img {
  width: auto;
  height: 82%;
  max-width: 82%;
  max-height: 152px;
  object-fit: contain;
  scale: var(--obj-scale, 1);
  filter:
    drop-shadow(0 16px 22px rgba(16, 58, 108, .22))
    drop-shadow(0 4px 8px rgba(16, 58, 108, .12));
}
.module h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-inline: 4px;
}
.module p {
  color: var(--ink-2);
  font-size: 1.03125rem;
  font-weight: 460;
  line-height: 1.52;
  text-wrap: pretty;
  padding-inline: 4px;
}
.module:target { outline: 2px solid #3576b8; outline-offset: 3px; }

.web-section {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  display: grid;
  gap: 22px;
  padding: 24px 18px 22px;
  border-radius: 32px;
  background: #8cc8ff;
  border: 1px solid rgba(255, 255, 255, .86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 28px 68px -22px rgba(16, 64, 124, .28),
    0 6px 18px -6px rgba(16, 64, 124, .12);
}
.web-sky, .web-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.web-section::before {
  content: "";
  z-index: 0;
  background:
    radial-gradient(circle at 20% 32%, rgba(246, 252, 255, .58), transparent 56%),
    linear-gradient(120deg, rgba(240, 249, 255, .52) 0%, rgba(226, 243, 255, .2) 52%, rgba(200, 232, 255, .05) 100%);
}
.web-copy {
  position: relative;
  z-index: 1;
  padding: 24px 22px 26px;
  border-radius: 26px;
  background: rgba(247, 252, 255, .86);
  border: 1px solid rgba(255, 255, 255, .94);
  box-shadow:
    inset 0 1px 0 #fff,
    0 22px 48px -18px rgba(15, 60, 116, .24);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  backdrop-filter: blur(20px) saturate(1.45);
}
.web-copy > p:last-child {
  max-width: 32ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(1.03125rem, 1.25vw, 1.15rem);
  font-weight: 460;
  line-height: 1.54;
  text-wrap: pretty;
}
.web-art {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  aspect-ratio: 1.3;
  margin-inline: auto;
}
.web-art::before {
  content: "";
  position: absolute;
  inset: 7% 2%;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 42%, rgba(255, 255, 255, .8), rgba(224, 242, 255, .44) 54%, transparent 76%),
    radial-gradient(circle at 72% 62%, rgba(255, 246, 212, .76), rgba(228, 244, 255, .38) 54%, transparent 76%),
    rgba(245, 251, 255, .44);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 22px 48px -18px rgba(15, 62, 118, .22);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  backdrop-filter: blur(14px) saturate(1.35);
}
.web-art::after {
  content: "";
  position: absolute;
  inset: auto 6% 4%;
  height: 22px;
  background:
    radial-gradient(closest-side, rgba(16, 58, 110, .24), transparent) 16% 0 / 42% 100% no-repeat,
    radial-gradient(closest-side, rgba(16, 58, 110, .26), transparent) 86% 100% / 40% 100% no-repeat;
  pointer-events: none;
}
.web-art img {
  position: absolute;
  filter:
    drop-shadow(0 22px 28px rgba(15, 58, 112, .26))
    drop-shadow(0 6px 12px rgba(15, 58, 112, .14));
}
.browser-object {
  top: -4%;
  left: -1%;
  width: 64%;
  transform: rotate(-5deg);
  z-index: 1;
}
.shop-object {
  bottom: -5%;
  right: -1%;
  width: 58%;
  transform: rotate(5deg);
  z-index: 2;
}
.footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 28px; }
.footer .brand { font-size: 1.08rem; }
.footer .brand svg { width: 22px; height: 17px; }
.to-top {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 560; color: var(--muted); text-underline-offset: 4px;
}

.error-world { min-height: 100vh; min-height: 100svh; }
.error-hero h1 { font-size: clamp(3.5rem, 11vw, 6.5rem); letter-spacing: -.05em; }
.error-hero .button { margin-top: 26px; }
.error-device {
  width: 100%;
  border-radius: 28px;
  filter: drop-shadow(0 24px 42px rgba(16, 62, 118, .28));
  mask-image: radial-gradient(ellipse closest-side, #000 68%, transparent 100%);
}

@media (min-width: 570px) {
  .hero { padding-block: 62px 68px; }
  .navigation { min-height: 59px; padding: 5px 8px 5px 22px; gap: 7px; }
  .brand { font-size: 1.45rem; }
  .brand svg { width: 30px; height: 23px; }
  .module-menu summary, .nav-item, .web-link { font-size: .9rem; padding-inline: 18px; }
  .product-preview { padding: 76px 30px 40px; }
  .dashboard { padding: 21px; border-radius: 31px; }
  .ledger { padding-inline: 15px; }
  .entry { padding-block: 10px; gap: 12px; }
  .hero-object { right: -6px; top: -7px; }
  .loose-invoice { bottom: -8px; left: -5px; }
  .reminder { right: 2%; bottom: 5px; padding: 10px 16px 10px 11px; }
  .modules { padding-block: 82px 70px; }
  .section-heading { margin-bottom: 34px; }
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .module { padding: 18px 20px 26px; border-radius: 28px; }
  .module-art { height: 192px; margin-bottom: 18px; }
  .module-art img { max-height: 158px; }
  .module h3 { font-size: 1.6rem; }
  .web-section { padding: 34px 30px 30px; }
  .web-copy { padding: 30px 28px 32px; }
  .footer { padding-block: 34px; }
}
@media (min-width: 740px) {
  .web-section {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(22px, 3.2vw, 44px);
    padding: clamp(36px, 4.6vw, 64px);
  }
  .web-art {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1.24;
  }
  .browser-object {
    top: -5%;
    left: -2%;
    width: 65%;
  }
  .shop-object {
    bottom: -5%;
    right: -2%;
    width: 59%;
  }
}
@media (min-width: 800px) {
  .sky-world { padding-top: 22px; }
  .hero {
    min-height: clamp(530px, 44vw, 655px);
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(18px, 3.8vw, 62px);
    padding-block: 34px 82px;
  }
  .hero h1 { margin: 14px 0 20px; font-size: clamp(5.5rem, 8.8vw, 7.75rem); }
  .hero-links { margin-top: 30px; }
  .button { min-height: 50px; padding-inline: 24px; }
  .stage { justify-self: end; margin-inline: 0; }
  .eyebrow { font-size: .78rem; }
  .modules { padding-block: clamp(82px, 7.5vw, 108px) clamp(70px, 7vw, 98px); }
  .section-heading { grid-template-columns: 1.22fr 1fr; align-items: end; gap: 28px; margin-bottom: 38px; }
  .section-heading > p { justify-self: end; max-width: 40ch; }
  .section-heading h2 { font-size: clamp(3.15rem, 5.1vw, 4.4rem); }
  .web-copy { padding: clamp(32px, 3.8vw, 46px); }
  .error-hero { min-height: calc(100svh - 90px); }
  .error-hero h1 { font-size: clamp(4.5rem, 6.8vw, 6.5rem); }
}
@media (min-width: 1020px) {
  .modules-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .module { padding: 16px 18px 24px; }
  .module-art { height: clamp(178px, 14.5vw, 196px); }
  .module-art img { max-height: 158px; }
  .module h3 { font-size: clamp(1.42rem, 1.85vw, 1.7rem); }
}
@media (hover: hover) {
  .module-menu summary:hover, .nav-item:hover, .menu-panel a:hover, .web-link:hover { background-color: #e2effa; }
  .to-top:hover { text-decoration: underline; color: var(--ink); }
  .button:hover { filter: brightness(1.04); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sky-photo img, .web-sky { animation: sky-breathe 36s ease-in-out infinite alternate; }
  .hero-object, .loose-invoice, .module-art img, .web-art img, .error-device {
    animation: float 6s ease-in-out infinite;
  }
  .prikupljanje img { animation-delay: -1.5s; }
  .loose-invoice, .shop-object, .odgovori img { animation-delay: -3s; }
  .priprema img { animation-delay: -4.5s; }
  .cloud-edge img { animation: cloud-drift 18s ease-in-out infinite alternate; }

  /* All three receipts and the delivered total share one clock. */
  .file-icon .icon, .good, .issue, .reason span, .count-reel, .progress i, .reminder {
    animation-duration: var(--cycle); animation-delay: var(--start); animation-iteration-count: infinite;
  }
  .entry-a .file-icon .icon { animation-name: arrive-a; }
  .entry-b .file-icon .icon { animation-name: arrive-b; }
  .entry-c .file-icon .icon { animation-name: arrive-c; }
  .good, .issue, .reason span, .progress i, .count-reel { animation-timing-function: step-end; }
  .entry-a .good { animation-name: delivered-a; }
  .entry-b .good { animation-name: delivered-b; }
  .entry-c .good, .reason .fixed-code { animation-name: delivered-c; }
  .entry-c .issue { animation-name: rejected; }
  .reason .missing-code { animation-name: explained; }
  .count-reel { animation-name: delivered-count; }
  .progress i:nth-child(1) { animation-name: bar-a; }
  .progress i:nth-child(2) { animation-name: bar-b; }
  .progress i:nth-child(3) { animation-name: bar-c; }
  .reminder { animation-name: remind; }
  .motion-option {
    display: grid; place-items: center; position: absolute; width: 44px; height: 44px;
    bottom: -18px; left: 20%; cursor: pointer; border-radius: 50%;
  }
  .motion-icon {
    display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffffd9;
    border-radius: 50%; background: #eff8ffcf; color: #2e4b68; box-shadow: 0 3px 9px #28577b17;
  }
  .motion-icon::before { content: ""; width: 8px; height: 10px; border-inline: 2px solid; box-sizing: border-box; }
  .motion-toggle:checked + .motion-icon::before { width: 0; height: 0; border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: currentColor; }
  .motion-toggle:focus-visible + .motion-icon { outline: 3px solid #155ec1; outline-offset: 3px; }
  body:has(.motion-toggle:checked) *, body:has(.motion-toggle:checked) *::before { animation-play-state: paused; }
  .button, .module, .module-art, .module-art img, .web-art img {
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, filter .35s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .button:hover { transform: translateY(-2px); }
    .module:hover {
      transform: translateY(-4px);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .98),
        0 26px 52px -18px rgba(16, 58, 110, .22),
        0 6px 16px -4px rgba(16, 58, 110, .1);
    }
    .module:hover .module-art img {
      transform: perspective(600px) rotateY(-6deg) rotateX(4deg) translateY(-3px);
    }
    .web-section:hover .browser-object {
      transform: rotate(-6deg) translate(-3px, -4px);
    }
    .web-section:hover .shop-object {
      transform: rotate(6deg) translate(3px, -4px);
    }
  }
  @supports (animation-timeline: scroll()) {
    .masthead { animation: compact-nav linear both; animation-timeline: scroll(); animation-range: 0px 150px; }
    .cloud-edge { animation: pass-cloud linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .section-heading, .module, .web-copy, .web-art {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
}
@keyframes sky-breathe { to { transform: scale(1.045); } }
@keyframes float { 50% { translate: 0 -7px; } }
@keyframes cloud-drift { from { transform: scaleX(1.03) translateX(-.8%); } to { transform: scaleX(1.03) translateX(.8%); } }
@keyframes compact-nav { to { transform: scale(.97); } }
@keyframes pass-cloud { from { translate: 0 8px; } to { translate: 0 -8px; } }
@keyframes rise { from { opacity: .72; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes arrive-a { 0% { opacity: 0; transform: translate(-18px, -9px) rotate(-18deg); } 9%, 100% { opacity: 1; transform: none; } }
@keyframes arrive-b { 0%, 10% { opacity: 0; transform: translate(-18px, -9px) rotate(-18deg); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes arrive-c { 0%, 21% { opacity: 0; transform: translate(-18px, -9px) rotate(-18deg); } 31%, 100% { opacity: 1; transform: none; } }
@keyframes delivered-a { 0% { opacity: 0; } 10%, 100% { opacity: 1; } }
@keyframes delivered-b { 0% { opacity: 0; } 21%, 100% { opacity: 1; } }
@keyframes delivered-c { 0% { opacity: 0; } 73%, 100% { opacity: 1; } }
@keyframes rejected { 0%, 73%, 100% { opacity: 0; } 32% { opacity: 1; } }
@keyframes explained { 0%, 73%, 100% { opacity: 0; } 37% { opacity: 1; } }
@keyframes delivered-count { 0% { transform: none; } 10% { transform: translateY(-25%); } 21% { transform: translateY(-50%); } 73%, 100% { transform: translateY(-75%); } }
@keyframes bar-a { 0% { background: #a6c2d3; } 10%, 100% { background: #489f85; } }
@keyframes bar-b { 0% { background: #a6c2d3; } 21%, 100% { background: #489f85; } }
@keyframes bar-c { 0% { background: #a6c2d3; } 73%, 100% { background: #489f85; } }
@keyframes remind { 0%, 31%, 100% { opacity: 0; translate: 0 7px; } 36%, 93% { opacity: 1; translate: 0 0; } }
