/*
 * mareio.rs, tamna verzija: 3D scena iza sadržaja, staklene kartice, naslovi u dve nijanse
 * (prvi red beo, drugi prigušen) koji se otkrivaju reč po reč, mono oznake sekcija.
 * Fontovi: Geist (300 do 600) i Geist Mono za oznake i podatke.
 */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("fonts/geist-mono.woff2") format("woff2"); }

:root {
  --bg: #04060d;
  --bg-2: #0a0e18;
  --glass: rgb(13 17 29 / 0.62);
  --glass-strong: rgb(13 17 29 / 0.86);
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.17);
  --text: #ffffff;
  --muted: rgb(255 255 255 / 0.62);
  --dim: rgb(255 255 255 / 0.38);
  --accent: #8d9bff;
  --accent-soft: rgb(141 155 255 / 0.14);
  --ok: #5fd39a;
  --warn: #f2bd55;
  --bad: #ff8a7a;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 80; background: #fff; color: var(--bg); padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 14px; }

/*
 * Priča: scena je zalepljena (sticky) samo unutar .story. Dok se poglavlja smenjuju, stoji iza
 * teksta; kad se priča završi, ode gore zajedno sa njom, a sajt se nastavlja ispod.
 */
.story { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  z-index: 0; pointer-events: none; overflow: hidden;
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
#scene.ready { opacity: 1; }
/* Plava izmaglica prati scenu (--hx postavlja skripta) */
.haze { position: absolute; inset: 0; background: radial-gradient(48% 58% at var(--hx, 72%) 50%, rgb(46 84 170 / 0.3), rgb(24 44 96 / 0.12) 48%, transparent 76%); }
/* Zatamnjenje sa strane na kojoj je tekst poglavlja */
.veil { position: absolute; inset: 0; transition: opacity 0.8s ease; }
.veil-left { background: linear-gradient(90deg, rgb(4 6 13 / 0.9) 0%, rgb(4 6 13 / 0.62) 34%, transparent 62%); }
.veil-right { background: linear-gradient(270deg, rgb(4 6 13 / 0.9) 0%, rgb(4 6 13 / 0.62) 34%, transparent 62%); opacity: 0; }
.stage[data-side="right"] .veil-left { opacity: 0; }
.stage[data-side="right"] .veil-right { opacity: 1; }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 22vh; background: linear-gradient(transparent, var(--bg)); }
.chapter { position: relative; z-index: 1; min-height: 125vh; display: flex; align-items: center; }
.chapter .col { max-width: 560px; }
.chapter.right .wrap { display: flex; justify-content: flex-end; }
.chapter.hero { min-height: 100vh; min-height: 100svh; padding: 120px 0 80px; }
.chapter .ctas { margin-top: 34px; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 400 11px var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* Sajt posle priče naleže preko scene: gore providno (čestice ostaju gore), niže puna pozadina */
.after { position: relative; z-index: 2; background: linear-gradient(180deg, rgb(4 6 13 / 0) 0, rgb(4 6 13 / 0.78) 32vh, var(--bg) 68vh); }
main, .foot { position: relative; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.duo .checklist { margin: 0; }

/* Zaglavlje */
.logo { font-weight: 600; font-size: 20px; letter-spacing: -0.035em; text-decoration: none; }
.logo span { color: var(--accent); }
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgb(4 6 13 / 0.72); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.burger { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 20px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Meni preko cele strane */
.menu { position: fixed; inset: 0; z-index: 30; background: rgb(4 6 13 / 0.96); backdrop-filter: blur(18px); display: flex; align-items: center; }
.menu[hidden] { display: none; }
.menu ol { list-style: none; padding: 0; margin: 0; }
.menu li a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.04em; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.menu li a:hover, .menu li a:focus-visible { color: #fff; }
.menu li a span { font: 400 13px var(--mono); color: var(--accent); letter-spacing: 0.1em; }
.menu-foot { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.menu.open { animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; } }

/* Dugmad u obliku pilule */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.pill:hover svg { transform: translate(2px, -2px); }
.pill-white { background: #fff; color: var(--bg); }
.pill-white:hover { background: #e6e9ff; }
.pill-ghost { border-color: var(--line-2); background: rgb(255 255 255 / 0.03); color: #fff; }
.pill-ghost:hover { border-color: rgb(255 255 255 / 0.4); }
.pill-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Oznake: mono, razmaknuta slova */
.chip, .tag, .meta, .mono-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--muted); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.tag { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.tag span { color: var(--accent); }
.tag i { width: 48px; height: 1px; background: var(--accent); opacity: 0.6; }
.meta { color: var(--dim); margin-top: 28px; letter-spacing: 0.18em; }
.mono-label { color: var(--accent); font-size: 11.5px; margin-bottom: 8px; }

/* Naslovi u dve nijanse; reči se otkrivaju kad sekcija uđe u kadar */
.hl { font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; }
h1.hl { font-size: clamp(46px, 6.6vw, 92px); margin-top: 28px; }
h2.hl { font-size: clamp(38px, 5vw, 68px); margin-top: 22px; }
/* Uvod: duži naslov, pa manji font i šira kolona, da dugmad ostanu na prvom ekranu */
.chapter.hero .col { max-width: 640px; }
.hero h1.hl { font-size: clamp(42px, 5.2vw, 76px); }
.hl .l1, .hl .l2 { display: block; }
.hl .l2 { color: var(--dim); }
.hl .w { display: inline-block; white-space: pre; }
.js .hl .w { opacity: 0.08; filter: blur(12px); transform: translateY(0.14em); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .hl.in .w { opacity: 1; filter: none; transform: none; }

.lead { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 54ch; margin-top: 26px; }
.lead + .lead { margin-top: 14px; }
.lead-end { color: var(--text); font-weight: 500; }
.caption { color: var(--dim); font-size: 14px; margin-top: 12px; }
.col { max-width: 640px; }

/* Raspored sekcija */
.hero .ctas { margin-top: 36px; }
.sec { padding: 150px 0 40px; }
.sec .col + * { margin-top: 56px; }

/* Staklene kartice */
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: 26px;
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 40px 80px -40px rgb(0 0 0 / 0.8);
}

/* 01 Kontrolna lista */
.checklist { margin: 56px 0 0; position: relative; max-width: 620px; }
.cl-card { padding: 24px 24px 10px; }
.cl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cl-head b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.cl-head span { color: var(--muted); font-size: 14px; }
.cl-count { font: 500 14px var(--mono); color: #fff !important; white-space: nowrap; padding-top: 5px; }
.cl-bar { height: 4px; background: rgb(255 255 255 / 0.08); border-radius: 4px; margin: 18px 0 6px; overflow: hidden; }
.cl-bar i { display: block; height: 100%; width: 0; background: var(--ok); border-radius: 4px; box-shadow: 0 0 12px var(--ok); transition: width 0.5s var(--ease); }
#cl-list { list-style: none; padding: 0; margin: 0; }
#cl-list button {
  all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 4px; border-top: 1px solid var(--line); cursor: pointer; font-size: 16px;
}
#cl-list li:first-child button { border-top: 0; }
#cl-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
#cl-list .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgb(255 255 255 / 0.3); display: grid; place-items: center; color: var(--bg); font-size: 13px; font-weight: 800; transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
#cl-list button:hover .box { border-color: #fff; }
#cl-list .who { font: 400 13px var(--mono); color: var(--muted); opacity: 0; transition: opacity 0.4s; white-space: nowrap; }
#cl-list .done .box { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 12px rgb(95 211 154 / 0.5); }
#cl-list .done .who { opacity: 1; }
#cl-list .done .txt { color: var(--muted); }
#cl-list .next .box { border-color: var(--accent); }
.cl-notify {
  position: absolute; right: 16px; bottom: 36px; width: min(320px, 86%); background: var(--glass-strong); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); border-radius: 20px; padding: 14px 16px; font-size: 14px; line-height: 1.4; animation: rise 0.5s var(--ease);
}
.cl-notify b { display: block; margin: 3px 0 2px; font-weight: 500; font-size: 15px; }
.cl-notify span { color: var(--muted); font-size: 13.5px; }
.cl-notify .cl-app { font: 500 11px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.checklist figcaption { color: var(--dim); font-size: 14px; margin-top: 14px; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

/* 02 Food cost: kalkulator i tačke */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.calc { padding: 26px; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.calc-head b { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.calc-head span { font: 400 13px var(--mono); color: var(--muted); }
.calc-label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.calc-label output { font: 500 15px var(--mono); color: #fff; white-space: nowrap; }
.calc input[type="range"] { width: 100%; accent-color: var(--accent); margin: 12px 0 18px; height: 28px; cursor: pointer; }
.calc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc th { text-align: left; font-weight: 400; color: var(--muted); padding: 11px 0; border-top: 1px solid var(--line); }
.calc td { text-align: right; font: 500 15px var(--mono); padding: 11px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.calc-bar { height: 4px; background: rgb(255 255 255 / 0.08); border-radius: 4px; margin: 18px 0 12px; overflow: hidden; }
.calc-bar i { display: block; height: 100%; width: 63%; background: var(--ok); border-radius: 4px; transition: width 0.25s, background 0.25s; }
.calc-note { font-size: 14px; color: var(--muted); min-height: 2.9em; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; }
.points h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; }
.points p { color: var(--muted); margin-top: 6px; max-width: 46ch; }
.term-line { font: 400 13.5px/1.7 var(--mono); color: var(--muted); }
.points .term-line { margin-top: 14px; display: inline-block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgb(4 6 13 / 0.55); max-width: 48ch; }
.ok { color: var(--ok); font-weight: 500; }
.warn { color: var(--warn); font-weight: 500; }
.bad { color: var(--bad) !important; }
.scrolly-rail { display: none; }

@media (min-width: 961px) {
  .calc-wrap { position: sticky; top: 110px; }
  .scrolly { position: relative; padding-left: 32px; }
  .scrolly-rail { display: block; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-2); }
  .scrolly-rail i { display: block; width: 100%; height: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
  .scrolly .points { gap: 0; }
  .scrolly .points li { min-height: 46vh; padding-bottom: 40px; transform: translateY(10px); transition: transform 0.6s var(--ease); }
  .scrolly .points li:last-child { min-height: 0; padding-bottom: 4px; }
  .scrolly .points h3, .scrolly .points p { transition: color 0.4s ease, opacity 0.4s ease; }
  .scrolly .points li:not(.is-active) h3 { color: var(--dim); }
  .scrolly .points li:not(.is-active) p, .scrolly .points li:not(.is-active) .mono-label { opacity: 0.4; }
  .scrolly .points li.is-active { transform: none; }
}
@media (min-width: 961px) and (max-height: 720px) { .calc-wrap { position: static; } }

/* 03 Popis: kartica kao terminal */
.term { max-width: 860px; overflow: hidden; }
.term-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.term-top i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.14); }
.term-top span { font: 400 12px var(--mono); color: var(--dim); margin-left: 10px; letter-spacing: 0.05em; }
.term-table { width: 100%; border-collapse: collapse; font: 400 14px/1.5 var(--mono); }
.term-table th { text-align: left; font-weight: 400; color: var(--dim); padding: 14px 18px 10px; text-transform: lowercase; }
.term-table td { padding: 12px 18px; border-top: 1px solid var(--line); color: rgb(255 255 255 / 0.82); }
.term-table td:nth-child(2) { color: var(--muted); }
.term-table th:nth-child(n + 3), .term-table td:nth-child(n + 3) { text-align: right; }
.term-table td:last-child { font-weight: 500; }
.term-foot { font: 400 13.5px var(--mono); color: var(--muted); padding: 14px 18px 16px; border-top: 1px solid var(--line); }

/* 04 Asistent */
.assistant { max-width: 680px; padding: 24px; }
.as-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.as-head b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.as-head span { font: 400 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.16em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font-size: 14px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 15px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.chips button:hover { border-color: rgb(255 255 255 / 0.4); }
.chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.as-log { min-height: 200px; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.as-q, .as-a { border-radius: 18px; padding: 13px 16px; font-size: 15px; line-height: 1.55; max-width: 88%; animation: rise 0.35s var(--ease); }
.as-q { background: rgb(255 255 255 / 0.06); align-self: flex-start; border-bottom-left-radius: 6px; }
.as-a { background: rgb(141 155 255 / 0.1); border: 1px solid rgb(141 155 255 / 0.25); align-self: flex-end; border-bottom-right-radius: 6px; }
.as-a .src { display: block; margin-top: 8px; font: 500 12px var(--mono); color: var(--accent); letter-spacing: 0.04em; }
.as-a.none { background: rgb(255 255 255 / 0.04); border-color: var(--line-2); }
.typing { align-self: flex-end; display: flex; gap: 5px; padding: 15px 17px; background: rgb(141 155 255 / 0.1); border-radius: 18px; border-bottom-right-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; } }

/* 05 Uloge: kartice po ulozi */
.roles { max-width: 680px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button { font: 400 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); background: rgb(255 255 255 / 0.03); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: all 0.2s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: var(--bg); background: #fff; border-color: #fff; }
.role { padding: 26px; animation: rise 0.4s var(--ease); }
.role h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 14px; }
.role .term-line { padding: 8px 0; border-top: 1px solid var(--line); }

/* 06 Postavka: koraci */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.steps li { padding: 22px 20px 24px; border-radius: 22px; }
.steps span { font: 400 12px var(--mono); color: var(--accent); letter-spacing: 0.16em; }
.steps b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin: 26px 0 6px; }
.steps p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* 10 Cene */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.plan-for { color: var(--muted); font-size: 15px; }
.plan .price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.plan .price b { font-size: 52px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 14px; }
.plan .setup { font: 400 13px var(--mono); color: var(--accent); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.plan li b { color: var(--text); font-weight: 500; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 6px; height: 10px; border-right: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(40deg); }
.plan .pill { align-self: flex-start; }
.plan-main { border-color: rgb(141 155 255 / 0.5); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(141 155 255 / 0.18), 0 40px 90px -40px rgb(141 155 255 / 0.35); }
.plan-badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--bg); font: 500 12px var(--mono); letter-spacing: 0.06em; }
.plans-note { color: var(--muted); font-size: 14px; max-width: 78ch; margin-top: 24px; }

/* 07 Pitanja */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 22px 22px; max-width: 64ch; }

/* Poziv */
.cta { padding-top: 180px; padding-bottom: 140px; }
.cta .ctas { margin-top: 36px; }
.todo { display: inline-block; margin-top: 30px; padding: 8px 12px; border-radius: 10px; background: rgb(242 189 85 / 0.14); border: 1px solid rgb(242 189 85 / 0.35); color: var(--warn); font: 400 13px var(--mono); }

.foot { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--dim); font-size: 14px; background: rgb(4 6 13 / 0.6); backdrop-filter: blur(10px); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .logo { color: #fff; font-size: 18px; }

/* Tablet i telefon: scena gore, tekst poglavlja dole preko zatamnjenja */
@media (max-width: 960px) {
  .veil-left, .veil-right, .stage[data-side="right"] .veil-left { opacity: 1; background: linear-gradient(180deg, transparent 30%, rgb(4 6 13 / 0.78) 62%, rgb(4 6 13 / 0.95) 100%); }
  .veil-right { display: none; }
  .chapter { align-items: flex-end; min-height: 115vh; padding-bottom: 14vh; }
  .chapter.right .wrap { display: block; }
  /* Tekst poglavlja prelazi preko slike dok se skroluje: tamna podloga se postepeno pojavljuje ispod teksta */
  .chapter .col { position: relative; z-index: 0; }
  .chapter .col::before {
    content: ""; position: absolute; z-index: -1; inset: -72px -16px -48px;
    background: linear-gradient(180deg, rgb(4 6 13 / 0) 0, rgb(4 6 13 / 0.9) 72px, rgb(4 6 13 / 0.96) 100%);
  }
  /* Uvod: kratak prelaz, da krug iznad teksta ostane svetao dok se stranica tek otvori */
  .chapter.hero .col::before { inset: -20px -16px -48px; background: linear-gradient(180deg, rgb(4 6 13 / 0) 0, rgb(4 6 13 / 0.92) 56px, rgb(4 6 13 / 0.96) 100%); }
  /* Telefon: krug sa česticama je gore, ispod zaglavlja; tekst uvoda počinje ispod njega */
  .chapter.hero { align-items: flex-end; padding-top: 300px; padding-bottom: 12vh; }
  .scroll-hint { display: none; }
  .duo { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr 1fr; }
  /* Telefon: paketi se listaju udesno, jedan po jedan */
  .plans {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 16px 16px 20px; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 86%; scroll-snap-align: center; }
  .sec { padding-top: 110px; }
  .cl-notify { position: static; width: auto; margin-top: 12px; }
}
@media (max-width: 560px) {
  .top .pill-sm { display: none; }
  .steps { grid-template-columns: 1fr; }
  #cl-list button { grid-template-columns: 26px 1fr; }
  #cl-list .who { grid-column: 2; margin-top: -8px; }
  .calc-head, .calc-label { flex-direction: column; gap: 2px; }
  .term-table th:nth-child(3), .term-table td:nth-child(3) { display: none; }
  .term-table th, .term-table td { padding-left: 14px; padding-right: 14px; }
  .lead { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hl .w { opacity: 1; filter: none; transform: none; transition: none; }
  .cl-notify, .as-q, .as-a, .role, .menu.open { animation: none; }
  .typing i { animation: none; }
  .scrolly .points li { transform: none; transition: none; }
  #scene { transition: none; }
  .scroll-hint i { animation: none; }
}
