/* Spremli — spremli.com
   Paleta iz aplikacije: bosiljak, maslac, mraz (zamrzivač), paprika samo za "istječe". */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-var.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --basil: #2F6B4F;
  --basil-deep: #1F4E39;
  --basil-ink: #12301F;
  --basil-soft: #CDE9D8;
  --basil-pale: #E9F4EE;
  --butter: #F2C14E;
  --butter-soft: #FFE9A8;
  --frost: #DCEBF2;
  --frost-deep: #9CC3D5;
  --frost-ink: #1E4458;
  --paprika: #C4522A;
  --paprika-soft: #FFDBCC;
  --paper: #FFFDF9;
  --ink: #1F2421;
  --ink-soft: #5B625E;
  --line: #E4DED3;

  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5625rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.45rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 5vw, 4.75rem);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--basil); text-underline-offset: .18em; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h2 { font-size: var(--fs-xl); font-weight: 800; }
h3 { font-size: var(--fs-md); font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------------ zaglavlje */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--basil); color: #fff; transition: background .3s, box-shadow .3s; }
.topbar.is-scrolled { background: rgba(31, 78, 57, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.page-privacy .topbar, .page-terms .topbar, .page-delete .topbar, .page-notfound .topbar { background: var(--basil-deep); }
.topbar__in { max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--gutter); display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); }
.topnav { display: flex; gap: 1.5rem; margin-left: auto; }
.topnav a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: #fff; text-decoration: underline; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 1.5px solid rgba(255,255,255,.3); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + .5rem); margin: 0; padding: .4rem; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(18,48,31,.22); min-width: 11rem; }
.lang a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; border-radius: 9px; font-weight: 600; }
.lang a:hover, .lang a[aria-current] { background: var(--basil-pale); color: var(--basil-deep); }

/* ------------------------------------------------------------------ gumbi */
.btn-play {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.4rem; border-radius: 999px;
  background: var(--butter); color: var(--basil-ink);
  font-weight: 800; text-decoration: none; font-size: 1.02rem;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 0 #C99A2A;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #C99A2A; }
.btn-play:active { transform: translateY(3px); box-shadow: 0 3px 0 #C99A2A; }
.btn-play__ic { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: none; }
.btn-play--small { padding: .55rem 1rem; font-size: .9rem; box-shadow: none; }
.btn-play--small:hover { box-shadow: none; }
.btn-play--light { background: #fff; color: var(--basil-deep); box-shadow: 0 6px 0 var(--basil-soft); }
.btn-play--light:hover { box-shadow: 0 8px 0 var(--basil-soft); }
.btn-solid { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.25rem; padding: .85rem 1.3rem; border-radius: 999px; background: var(--basil); color: #fff; font-weight: 700; text-decoration: none; }
.btn-solid:hover { background: var(--basil-deep); }

/* ------------------------------------------------------------------ uvod (hero) */
.hero { background: var(--basil); color: #fff; overflow: hidden; position: relative; }
.hero::after { /* police hladnjaka u pozadini */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 139px, rgba(255,255,255,.06) 139px 141px);
}
.hero__in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 3rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.045em; line-height: .98; max-width: 11ch; }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 34rem; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.hero__note { font-size: var(--fs-sm); color: rgba(255,255,255,.75); max-width: 16rem; }
.hero__visual { position: relative; height: 620px; }
.phone--hero { position: absolute; right: 12%; top: 10px; }
.tag { position: absolute; left: 0; bottom: 70px; width: 270px; transform-origin: 30px 20px; }
.tag__hole { position: absolute; left: 22px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--basil); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); z-index: 2; }
.tag__body, .printer__label {
  background: #fff; color: var(--ink); border-radius: 8px; padding: 14px 14px 14px 46px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 22px 40px rgba(10, 30, 20, .35);
  transform: rotate(-7deg);
}
.qr { width: 74px; height: 74px; flex: none; color: var(--ink); fill: currentColor; }
.tag__text { display: grid; gap: 1px; font-size: .78rem; color: var(--ink-soft); line-height: 1.35; }
.tag__text b { font-size: 1rem; color: var(--ink); }
.toast { position: absolute; right: 0; bottom: 150px; display: flex; gap: .55rem; align-items: center; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 16px; font-size: .88rem; font-weight: 600; box-shadow: 0 16px 34px rgba(10,30,20,.3); max-width: 250px; }
.toast .ic { color: var(--paprika); }

.facts { position: relative; z-index: 1; list-style: none; margin: 0 auto; padding: 1.5rem var(--gutter) 2.5rem; max-width: var(--wrap); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts .ic { width: 1.6rem; height: 1.6rem; color: var(--butter); margin-top: .1rem; }
.facts b { display: block; font-size: 1rem; }
.facts span { font-size: var(--fs-sm); color: rgba(255,255,255,.75); }

/* orkestrirani ulazak pri učitavanju (jedan trenutak) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__lead, .hero__cta { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__lead { animation-delay: .08s; }
  .hero__cta { animation-delay: .16s; }
  .phone--hero { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .tag__body { animation: swing 1.4s .55s cubic-bezier(.2,.8,.2,1) both; }
  .toast { animation: pop .6s 1.1s cubic-bezier(.3,1.5,.5,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes swing { 0% { opacity: 0; transform: rotate(-38deg) translateY(-30px); } 55% { opacity: 1; transform: rotate(4deg); } 80% { transform: rotate(-10deg); } 100% { transform: rotate(-7deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(10px); } }

/* ------------------------------------------------------------------ telefon */
.phone { --pw: 300px; --scale: .7778; width: var(--pw); padding: 10px; border-radius: 46px; background: #1A1F1C; box-shadow: 0 40px 80px rgba(8, 25, 16, .35), inset 0 0 0 2px #39403B; }
.phone__screen { position: relative; width: calc(var(--pw) - 20px); aspect-ratio: 360 / 780; border-radius: 36px; overflow: hidden; background: #FBF7F1; }
.phone__screen > .s-screen, .stage-screen > .s-screen { transform: scale(var(--scale)); transform-origin: 0 0; }
.phone--stage { --pw: 340px; --scale: .8889; }
.phone--small { --pw: 250px; --scale: .6389; border-radius: 40px; }
.phone--small .phone__screen { border-radius: 31px; }

/* ------------------------------------------------------------------ priča (sticky telefon) */
.section-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section-head p { margin-top: .9rem; color: var(--ink-soft); font-size: var(--fs-md); max-width: 38rem; }
.story { padding: clamp(4rem, 9vw, 7rem) 0 2rem; }
.story h2 { max-width: 20ch; }
.story__grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; opacity: .35; transition: opacity .45s ease; }
.step.is-on { opacity: 1; }
.step__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--basil-pale); color: var(--basil); margin-bottom: 1.2rem; }
.step__icon .ic { width: 28px; height: 28px; }
.step[data-step="prices"] .step__icon { background: var(--butter-soft); color: #7A5C00; }
.step[data-step="ai"] .step__icon { background: var(--paprika-soft); color: var(--paprika); }
.step h3 { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.025em; max-width: 18ch; }
.step p { margin-top: .9rem; color: var(--ink-soft); max-width: 31rem; }
.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.ticks .ic { color: var(--basil); width: 1.2rem; height: 1.2rem; margin-top: .2rem; }
.step__phone { display: none; }
.story__stage { position: relative; }
.story__sticky { position: sticky; top: calc(50vh - 380px); display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem 0; }
.phone--stage .phone__screen { overflow: hidden; }
.stage-screen { position: absolute; inset: 0; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.stage-screen.is-on { opacity: 1; transform: none; }
.story__dots { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.story__dots li { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-soft); background: #fff; border: 1.5px solid var(--line); transition: all .3s; }
.story__dots li.is-on { background: var(--basil); color: #fff; border-color: var(--basil); transform: scale(1.08); }
.story__dots .ic { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ AI kuhar, glasanje, recepti */
.chef { background: var(--basil-deep); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.chef__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.chef h2 { max-width: 16ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.035em; }
.chef__lead { margin-top: 1rem; font-size: var(--fs-md); color: rgba(255,255,255,.85); max-width: 36rem; }
.chef__list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.chef__list li { display: flex; gap: .85rem; }
.chef__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,193,78,.16); color: var(--butter); }
.chef__list h3 { font-size: 1.04rem; }
.chef__list p { margin-top: .25rem; font-size: .94rem; color: rgba(255,255,255,.75); }
.chef__visual { position: relative; height: 640px; }
.phone--chef { position: absolute; left: 50%; top: 0; transform: translateX(-50%); --pw: 300px; --scale: .7778; }
.card-vote, .card-menu { position: absolute; background: #fff; color: var(--ink); border-radius: 20px; padding: 1rem 1.1rem; box-shadow: 0 24px 48px rgba(5,20,12,.4); width: 250px; }
.card-vote { left: -8px; bottom: 70px; }
.card-menu { right: -12px; top: 70px; width: 230px; }
.card-vote__head, .card-menu__head { display: flex; gap: .5rem; align-items: center; font-size: .95rem; }
.card-vote__head .ic { color: #7A5C00; }
.card-menu__head .ic { color: var(--basil); }
.card-vote__meta { display: block; margin: .15rem 0 .6rem; font-size: .8rem; color: var(--ink-soft); }
.vote { display: grid; grid-template-columns: 1fr 70px 1rem; gap: .5rem; align-items: center; font-size: .86rem; font-weight: 600; padding: .22rem 0; }
.vote i { height: 8px; border-radius: 4px; background: #EBE4DA; overflow: hidden; }
.vote b { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--frost-deep); }
.vote.is-win b { background: var(--butter); }
.vote em { font-style: normal; font-weight: 800; text-align: right; }
.card-menu ol { list-style: none; margin: .7rem 0 0; padding: 0 0 0 .2rem; display: grid; gap: .45rem; border-left: 2px solid var(--basil-soft); }
.card-menu li { display: grid; grid-template-columns: 3rem 1fr; gap: .4rem; font-size: .84rem; padding-left: .7rem; position: relative; }
.card-menu li::before { content: ""; position: absolute; left: -6px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--basil); }
.card-menu li:last-child::before { background: var(--basil); }
.card-menu time { font-weight: 800; color: var(--basil); }
@media (prefers-reduced-motion: no-preference) {
  .chef .vote b { width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
  .chef.is-in .vote b { width: var(--w); }
  .chef .card-menu li { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s; }
  .chef.is-in .card-menu li { opacity: 1; transform: none; }
  .chef.is-in .card-menu li:nth-child(2) { transition-delay: .25s; }
  .chef.is-in .card-menu li:nth-child(3) { transition-delay: .5s; }
  .chef.is-in .card-menu li:nth-child(4) { transition-delay: .75s; }
}
@media (max-width: 1020px) {
  .chef__in { grid-template-columns: 1fr; }
  .chef__visual { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .chef__list { grid-template-columns: 1fr; gap: 1.25rem; }
  .chef__visual { height: 560px; }
  .phone--chef { --pw: 250px; --scale: .6389; border-radius: 40px; }
  .phone--chef .phone__screen { border-radius: 31px; }
  .card-vote { width: 220px; left: 0; bottom: 30px; }
  .card-menu { width: 200px; right: 0; top: 40px; }
}

/* ------------------------------------------------------------------ naljepnice (zamrzivač) */
.labels { background: var(--frost); color: var(--frost-ink); padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.labels::before { /* inje */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle at 20% 30%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.5px);
  background-size: 46px 46px, 31px 31px;
}
.labels__in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.labels h2 { color: var(--frost-ink); max-width: 18ch; }
.labels__copy p { margin-top: 1rem; font-size: var(--fs-md); max-width: 32rem; }
.ticks--frost .ic { color: var(--frost-ink); }
.labels__visual { position: relative; height: 470px; }
.printer { --p: 1; position: absolute; left: 0; top: 0; width: 290px; z-index: 2; }
.printer__paper { position: relative; height: 230px; overflow: hidden; margin: 0 24px -14px; z-index: 1; }
.printer__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateY(calc((1 - var(--p)) * 100%)) rotate(calc((1 - var(--p)) * 0deg));
  padding: 16px; box-shadow: 0 10px 24px rgba(30,68,88,.2);
}
.printer__body { position: relative; z-index: 2; height: 150px; border-radius: 26px 26px 34px 34px; background: linear-gradient(180deg, #F4F6F7 0%, #DCE2E5 100%); box-shadow: 0 30px 50px rgba(30,68,88,.28), inset 0 -6px 0 rgba(0,0,0,.06); }
.printer__slot { position: absolute; left: 22px; right: 22px; top: 10px; height: 8px; border-radius: 4px; background: #2C3236; }
.printer__led { position: absolute; right: 30px; bottom: 30px; width: 10px; height: 10px; border-radius: 50%; background: #4CC38A; box-shadow: 0 0 10px #4CC38A; }
.printer__name { position: absolute; left: 26px; bottom: 26px; display: flex; gap: .4rem; align-items: center; font-size: .8rem; font-weight: 700; color: #6B7479; }
.frost-bag { position: absolute; right: 0; bottom: -10px; width: 240px; border-radius: 28px; background: #fff; padding: 18px; box-shadow: 0 30px 60px rgba(30,68,88,.22); transform: rotate(4deg); }
.frost-bag img { width: 100%; border-radius: 18px; background: var(--frost); }
.scan-pill { position: absolute; right: -14px; top: -18px; display: flex; gap: .45rem; align-items: center; background: var(--basil); color: #fff; font-weight: 700; font-size: .85rem; padding: .55rem .9rem; border-radius: 999px; box-shadow: 0 10px 20px rgba(18,48,31,.3); }

/* ------------------------------------------------------------------ još mogućnosti */
.more { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter) 3rem; }
.more h2 { max-width: 22ch; }
.more__list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; }
.more__list li { display: flex; gap: 1rem; }
.more__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--basil-soft); color: var(--basil); }
.more__list h3 { font-size: 1.08rem; }
.more__list p { margin-top: .3rem; color: var(--ink-soft); font-size: .97rem; }

/* ------------------------------------------------------------------ kako početi (stvarni redoslijed) */
.start { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter) 4rem; }
.start__steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.start__steps li { position: relative; padding-top: 4.2rem; }
.start__steps li::before { content: ""; position: absolute; left: 3.2rem; right: -1.5rem; top: 1.55rem; border-top: 2px dashed var(--basil-soft); }
.start__steps li:last-child::before { display: none; }
.start__n { position: absolute; top: 0; left: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--basil); color: #fff; font-weight: 800; font-size: 1.25rem; }
.start__steps p { margin-top: .4rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ pitanja */
.faq { max-width: 860px; margin: 0 auto; padding: 2rem var(--gutter) 5rem; }
.faq__list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__ic { color: var(--basil); transition: transform .25s; }
.faq details[open] .faq__ic { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------ završni poziv */
.final { padding: 0 var(--gutter) 5rem; }
.final__in { max-width: var(--wrap); margin: 0 auto; background: var(--basil); color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; }
.final__ill { width: 100%; border-radius: 24px; background: var(--basil-soft); }
.final h2 { max-width: 18ch; }
.final p { margin: .8rem 0 1.6rem; color: rgba(255,255,255,.85); }

/* ------------------------------------------------------------------ podnožje */
.foot { background: var(--basil-ink); color: rgba(255,255,255,.8); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.brand--light { color: #fff; }
.foot__brand p { margin-top: .8rem; font-size: .95rem; max-width: 22rem; }
.foot__links, .foot__langs { display: grid; gap: .5rem; align-content: start; }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--butter); }
.foot__copy { grid-column: 1 / -1; font-size: .85rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; }

/* ------------------------------------------------------------------ tekstualne stranice */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 5rem; }
.doc h1 { font-size: var(--fs-xl); font-weight: 800; }
.doc__meta { margin-top: .5rem; color: var(--ink-soft); font-size: var(--fs-sm); }
.doc__lead { margin-top: 1.2rem; font-size: var(--fs-md); }
.doc section { margin-top: 2.5rem; }
.doc h2 { font-size: var(--fs-lg); margin-bottom: .8rem; }
.doc section p { margin-top: .75rem; color: #343A37; }
.doc__steps { padding-left: 1.3rem; display: grid; gap: .5rem; }
.doc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.doc__list li { display: flex; gap: .7rem; align-items: flex-start; }
.doc__list .ic { color: var(--basil); margin-top: .2rem; }
.doc__list--del .ic { color: var(--paprika); }
.doc__note { margin-top: 1.25rem !important; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--basil-pale); color: var(--basil-ink) !important; }
.doc--center { text-align: center; display: grid; justify-items: center; gap: 1rem; }

/* ================================================================== zasloni aplikacije (360 × 780) */
.s-screen { position: absolute; left: 0; top: 0; width: 360px; height: 780px; background: #FBF7F1; color: #1F2421; font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.s-ic { width: 20px; height: 20px; flex: none; }
.s-ic--xs { width: 13px; height: 13px; }
.s-ic--muted { color: #8C918D; }
.s-ic--check { color: #2F6B4F; width: 22px; height: 22px; }
.s-ic--back { transform: rotate(180deg); }
.s-status { height: 34px; padding: 10px 22px 0; display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; }
.s-status__icons { display: flex; gap: 4px; align-items: center; }
.s-status__icons i { width: 14px; height: 9px; border-radius: 2px; background: #1F2421; opacity: .85; }
.s-status__icons b { width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid #1F2421; position: relative; }
.s-status__icons b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #1F2421; border-radius: 1px; }
.s-body { flex: 1; padding: 6px 16px 0; overflow: hidden; position: relative; }
.s-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.s-top--back { justify-content: flex-start; gap: 8px; }
.s-top__icons { display: flex; align-items: center; gap: 12px; color: #3E4441; }
.s-hh { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: #F1EBE2; }
.s-h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 12px; }
.s-h1--inline { margin: 0; }
.s-h2 { font-size: 19px; font-weight: 800; }
.s-muted { color: #5E6460; font-size: 12px; }
.s-avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: #2F6B4F; }
.s-avatar--a { background: #2F6B4F; } .s-avatar--b { background: #C4522A; } .s-avatar--c { background: #7A5C00; } .s-avatar--d { background: #4A6FA5; }
.s-hero { position: relative; border-radius: 22px; background: #FFDBCC; color: #3A1204; padding: 14px 14px 16px; overflow: hidden; min-height: 132px; }
.s-hero b { display: block; font-size: 17px; max-width: 58%; margin: 8px 0 10px; line-height: 1.2; }
.s-hero__badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.6); }
.s-hero__go { font-weight: 800; font-size: 12px; }
.s-hero img { position: absolute; right: -8px; bottom: -14px; width: 150px; }
.s-row-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 14px; margin: 14px 0 8px; }
.s-row-title small { font-weight: 600; color: #5E6460; font-size: 12px; }
.s-card { background: #fff; border-radius: 16px; padding: 12px; }
.s-card--line { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.s-hscroll { display: flex; gap: 10px; margin-right: -16px; }
.s-exp { flex: none; width: 118px; border-radius: 16px; background: #fff; padding: 10px; border-top: 4px solid #2F6B4F; }
.s-exp b { display: block; font-size: 12.5px; margin-top: 8px; line-height: 1.2; }
.s-exp span { font-size: 11.5px; font-weight: 700; }
.s-exp--urgent { border-top-color: #B3261E; } .s-exp--urgent span { color: #B3261E; }
.s-exp--soon { border-top-color: #E0A21B; } .s-exp--soon span { color: #7A5C00; }
.s-cat { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; flex: none; background: #E6F3EB; color: #2F6B4F; }
.s-cat i, .cat i { width: 60%; height: 60%; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.cat--meat { background: #FFDBCC !important; color: #C4522A !important; }
.cat--dairy { background: #EEF6FA !important; color: #4A7F98 !important; }
.cat--fish { background: #D6E8F0 !important; color: #2E6680 !important; }
.cat--vegetables { background: #E6F3EB !important; color: #2F6B4F !important; }
.cat--fruit { background: #FFE9A8 !important; color: #8A5A00 !important; }
.cat--bread { background: #F3E3CF !important; color: #8E6236 !important; }
.cat--ready_meals { background: #FFEDE4 !important; color: #B24A26 !important; }
.s-mini__row { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 4px 0; font-weight: 600; }
.s-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 7px; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.s-badge--urgent { background: #F9DEDC; color: #410E0B; }
.s-badge--soon { background: #FFE08F; color: #261A00; }
.s-badge--later { background: #EBE4DA; color: #5E6460; }
.s-tabs { display: flex; gap: 6px; margin: 10px 0; }
.s-tab { flex: 1; text-align: center; padding: 8px 4px; border-radius: 12px; background: #F1EBE2; font-weight: 700; font-size: 12px; }
.s-tab small { color: #5E6460; font-weight: 600; }
.s-tab.is-on { background: #2F6B4F; color: #fff; }
.s-tab.is-on small { color: #CDE9D8; }
.s-search { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; color: #8C918D; margin-bottom: 8px; border: 1px solid #EBE4DA; }
.s-list { display: grid; gap: 7px; }
.s-item, .s-task { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: #fff; border-radius: 14px; }
.s-item__main, .s-task__main, .s-shop__main { flex: 1; min-width: 0; display: grid; }
.s-item__main b, .s-task__main b { font-size: 13.5px; }
.s-item__main span, .s-task__main span { font-size: 11.5px; color: #5E6460; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.s-chip { font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 8px; white-space: nowrap; }
.s-chip--urgent { background: #F9DEDC; color: #8C1D18; }
.s-chip--soon { background: #FFE08F; color: #4D3800; }
.s-chip--ok { background: #E6F3EB; color: #1F4E39; }
.s-fab { position: absolute; right: 16px; bottom: 14px; width: 54px; height: 54px; border-radius: 18px; background: #2F6B4F; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(18,48,31,.3); }
.s-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #8C918D; color: #5E6460; margin: 10px 0 4px; background: #fff; }
.s-input span { flex: 1; }
.s-group { display: flex; gap: 6px; align-items: center; font-weight: 800; font-size: 12.5px; margin: 12px 0 6px; }
.s-group__ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; }
.s-group--urgent { color: #B3261E; } .s-group--urgent .s-group__ic { background: #F9DEDC; }
.s-group--soon { color: #7A5C00; } .s-group--soon .s-group__ic { background: #FFE08F; }
.s-group--normal { color: #5E6460; } .s-group--normal .s-group__ic { background: #EBE4DA; }
.s-group--later { color: #5E6460; } .s-group--later .s-group__ic { background: #EBE4DA; }
.s-shop { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.s-shop__main b { font-size: 13.5px; }
.s-shop__main em { font-style: normal; color: #2F6B4F; font-weight: 700; margin-left: 4px; }
.s-note, .s-price { display: flex; align-items: center; gap: 4px; font-size: 11.5px; }
.s-note { color: #1F2421; } .s-note .s-ic { color: #7A5C00; }
.s-price { color: #5E6460; } .s-price .s-ic { color: #2F6B4F; }
.s-bought { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #EBE4DA; font-weight: 700; color: #5E6460; }
.s-save { border-radius: 18px; background: #2F6B4F; color: #fff; padding: 14px; margin: 8px 0 12px; }
.s-save b { font-size: 22px; display: block; }
.s-save span { font-size: 11.5px; color: #CDE9D8; }
.s-store { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.s-store__head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.s-store__head div { flex: 1; display: grid; }
.s-store__head span { font-size: 11px; color: #5E6460; display: flex; gap: 3px; align-items: center; }
.s-store__head strong { font-size: 15px; }
.s-store__logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FFE08F; font-weight: 800; }
.s-store__line { display: flex; gap: 8px; align-items: center; padding: 3px 0; font-size: 12.5px; }
.s-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.s-fchip { padding: 6px 12px; border-radius: 10px; border: 1px solid #8C918D; font-weight: 700; font-size: 12px; }
.s-fchip.is-on { background: #CDE9D8; border-color: #CDE9D8; color: #0C2F1F; }
.s-task.is-done { opacity: .6; }
.s-task.is-done b { text-decoration: line-through; }
.s-free { font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 8px; background: #FFE08F; color: #261A00; }
.s-week { display: flex; gap: 5px; margin: 8px 0 12px; }
.s-day { flex: 1; display: grid; justify-items: center; padding: 7px 0; border-radius: 12px; background: #fff; }
.s-day small { font-size: 10.5px; color: #5E6460; font-weight: 700; }
.s-day b { font-size: 15px; }
.s-day.is-on { background: #2F6B4F; color: #fff; }
.s-day.is-on small { color: #CDE9D8; }
.s-meal { background: #fff; border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; display: grid; gap: 2px; border-left: 4px solid #2F6B4F; }
.s-meal small { font-size: 11px; color: #5E6460; font-weight: 700; }
.s-meal b { font-size: 14px; }
.s-meal span { font-size: 11.5px; color: #2F6B4F; font-weight: 700; display: flex; gap: 4px; align-items: center; }
.s-meal.is-vote { border-left-color: #E0A21B; background: #FFF4D1; }
.s-meal.is-vote span { color: #7A5C00; }
.s-balance { display: grid; gap: 9px; }
.s-bar { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.s-bar i { height: 9px; border-radius: 5px; background: #EBE4DA; overflow: hidden; }
.s-bar b { display: block; height: 100%; background: #2F6B4F; border-radius: 5px; }
.s-ask { background: #FFDBCC; border-radius: 18px; padding: 14px; margin: 8px 0 12px; color: #3A1204; }
.s-ask b { font-size: 18px; }
.s-ask .s-fchip { border-color: rgba(58,18,4,.35); }
.s-ask .s-fchip.is-on { background: #fff; border-color: #fff; color: #3A1204; }
.s-recipe { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 9px; display: grid; gap: 4px; }
.s-recipe.is-top { box-shadow: inset 0 0 0 2px #2F6B4F; }
.s-recipe__head { display: flex; justify-content: space-between; gap: 8px; }
.s-recipe__head b { font-size: 14px; }
.s-recipe__head span { font-size: 11px; color: #5E6460; display: flex; gap: 3px; align-items: center; white-space: nowrap; }
.s-recipe__uses { font-size: 12px; display: flex; gap: 4px; align-items: center; color: #2F6B4F; font-weight: 600; }
.s-recipe__note { font-size: 11.5px; color: #5E6460; }
.s-nav { display: flex; justify-content: space-around; padding: 8px 6px 18px; background: #F6F1E9; border-top: 1px solid #EBE4DA; }
.s-nav__item { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: #5E6460; }
.s-nav__pill { width: 52px; height: 28px; border-radius: 14px; display: grid; place-items: center; }
.s-nav__item.is-on { color: #1F2421; font-weight: 800; }
.s-nav__item.is-on .s-nav__pill { background: #CDE9D8; color: #0C2F1F; }

/* ------------------------------------------------------------------ prilagodba */
@media (max-width: 1020px) {
  .topnav { display: none; }
  .lang { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { height: 600px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone--hero { right: 4%; }
  .story__grid { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
  .step__phone { display: flex; justify-content: center; margin-top: 2rem; }
  .labels__in { grid-template-columns: 1fr; }
  .labels__visual { order: 2; max-width: 460px; width: 100%; margin: 0 auto; }
  .more__list { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .btn-play--small { display: none; }
  .hero__visual { height: 540px; }
  .phone--hero { --pw: 250px; --scale: .6389; right: 10px; border-radius: 40px; }
  .phone--hero .phone__screen { border-radius: 31px; }
  .tag { width: 230px; bottom: 30px; }
  .qr { width: 58px; height: 58px; }
  .toast { bottom: auto; top: 30px; left: 0; right: auto; max-width: 200px; font-size: .8rem; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .labels__visual { height: 430px; }
  .printer { left: 0; width: 250px; }
  .frost-bag { width: 200px; }
  .more__list { grid-template-columns: 1fr; gap: 1.6rem; }
  .start__steps { grid-template-columns: 1fr; }
  .start__steps li::before { display: none; }
  .final__in { grid-template-columns: 1fr; }
  .final__ill { max-width: 200px; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-screen, .step, .story__dots li { transition: none; }
  .btn-play { transition: none; }
}

/* ------------------------------------------------------------------ zaslon: režije */
.s-h1, .s-h2 { line-height: 1.1; }
.s-save--due { background: #1F4E39; }
.s-billic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #E9F4EE; color: #2F6B4F; }
.s-billic .s-ic { width: 18px; height: 18px; }
.s-billic--bolt { background: #FFE9A8; color: #7A5C00; }
.s-billic--drop { background: #DCEBF2; color: #1E4458; }
.s-billic--wifi { background: #F1E6FA; color: #5B3A7A; }
.s-paycode { margin-top: 10px; gap: 8px; font-weight: 600; color: #1F4E39; background: #E9F4EE; }
.s-mini__row b { font-weight: 800; }
.s-mini__row .s-ic { display: inline-block; vertical-align: -2px; color: #2F6B4F; }
.s-fab--wide { width: auto; padding: 0 16px; grid-auto-flow: column; gap: 8px; font-weight: 700; }
.s-fab--wide small { font-size: 13px; }
.step[data-step="bills"] .step__icon { background: var(--frost); color: var(--frost-ink); }

/* ------------------------------------------------------------------ pravne stranice */
.doc__summary { margin-top: 1.8rem; padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: var(--basil-pale); color: var(--basil-ink); }
.doc__summary h2 { font-size: var(--fs-md); margin: 0 0 .6rem; }
.doc__summary ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.doc__toc { margin-top: 1.5rem; font-size: .95rem; }
.doc__toc ol { margin: .5rem 0 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.doc__toc li { break-inside: avoid; padding: .1rem 0; }
.doc__bullets { margin: .75rem 0 0; padding-left: 1.25rem; display: grid; gap: .45rem; color: #343A37; }
.doc section h3 { font-size: 1.08rem; margin: 1.4rem 0 0; }
.doc__tablewrap { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.doc__table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.doc__table th, .doc__table td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.doc__table th { background: #F6F2EA; font-weight: 700; }
.doc__table tr:last-child td { border-bottom: 0; }
.doc__table code { font-size: .88em; background: #F6F2EA; padding: .05rem .35rem; border-radius: 5px; }
.doc section { scroll-margin-top: 84px; }
@media (max-width: 640px) {
  .doc__toc ol { columns: 1; }
}

/* ------------------------------------------------------------------ podnožje: gumb kao poveznica */
.foot__btn { all: unset; cursor: pointer; color: rgba(255,255,255,.85); }
.foot__btn:hover { color: var(--butter); }
.foot__btn:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ traka za kolačiće */
.consent { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__in { pointer-events: auto; width: 100%; max-width: 620px; max-height: calc(100vh - 2rem); overflow-y: auto; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 1.35rem 1.4rem 1.25rem; box-shadow: 0 24px 60px rgba(18,48,31,.28), 0 0 0 1px rgba(18,48,31,.06); }
.consent:focus { outline: none; }
.consent__title { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; }
.consent__title .ic { color: var(--basil); width: 1.4rem; height: 1.4rem; }
.consent__text { margin-top: .6rem; font-size: .95rem; color: var(--ink-soft); }
.consent__prefs { margin-top: 1rem; display: grid; gap: .6rem; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .8rem .9rem; border-radius: var(--r-sm); background: var(--basil-pale); }
.consent__opt label, .consent__opt > div { display: grid; gap: .1rem; cursor: pointer; }
.consent__opt > div { cursor: default; }
.consent__opt b { font-size: .97rem; }
.consent__opt span { font-size: .86rem; color: var(--ink-soft); line-height: 1.4; }
.consent__always { flex: none; font-size: .8rem !important; font-weight: 700; color: var(--basil) !important; }
.consent__actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.c-btn { font: inherit; font-weight: 700; font-size: .95rem; padding: .7rem 1.15rem; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--basil); }
.c-btn--solid { background: var(--basil); color: #fff; }
.c-btn--solid:hover { background: var(--basil-deep); border-color: var(--basil-deep); }
.c-btn--ghost { background: #fff; color: var(--basil-deep); }
.c-btn--ghost:hover { background: var(--basil-pale); }
.c-btn[hidden] { display: none; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: #C9C3B8; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch:checked { background: var(--basil); }
.switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
@media (max-width: 640px) {
  .consent { left: .5rem; right: .5rem; bottom: .5rem; }
  .consent__in { padding: 1.1rem 1rem 1rem; border-radius: var(--r-md); }
  .consent__actions .c-btn { flex: 1 1 calc(50% - .3rem); padding: .65rem .8rem; }
  .consent__actions .c-btn--ghost { flex-basis: 100%; }
  .consent__text { font-size: .9rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) .consent__in { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
}
.chef__note { margin-top: 2rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgba(255,255,255,.7); max-width: 40rem; }
.chef__note .ic { flex: none; color: var(--butter); margin-top: .1rem; }
.doc__table td:nth-child(3) { white-space: nowrap; }
