/* Mata quiz: dizajn sistem preuzet sa superfocus.me/founding-members
   (Google Sans Flex, crna pill dugmad, smaragdni akcenti, meke senke, pastelne mrlje u pozadini). */

@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/google-sans-flex-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/google-sans-flex-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Superfocus "landing" tokeni */
  --bg: #ffffff;
  --card: #ffffff;
  --surface: #fafaf9;          /* kartice i paneli (bg-[#FAFAF9]) */
  --raised: #f6f6f7;           /* landing-surface-raised */
  --ink: #101010;              /* landing-text */
  --muted: #616165;            /* landing-text-secondary */
  --faint: #9e9ea2;            /* landing-text-tertiary */
  --line: #e7e5e4;             /* stone-200 */
  --line-soft: #f5f5f4;        /* stone-100 */
  --action: #1c1917;           /* stone-900, glavno dugme */
  --action-hover: #292524;     /* stone-800 */
  --accent: #00bb7f;           /* emerald-500 */
  --accent-strong: #009767;    /* emerald-600 */
  --accent-ink: #005f46;       /* emerald-800 */
  /* Superfocus tokeni za boje pola i oznaka (sky / landing-insight / landing-rose / landing-amber) */
  --sf-sky-200: #b8e6fe;
  --sf-sky-300: #77d4ff;
  --sf-insight: #e5409f;
  --sf-rose: #e11d48;
  --sf-amber: #d97706;
  --accent-soft: #ecfdf5;      /* emerald-50 */
  --accent-tint: #d0fae5;      /* emerald-100 */
  --accent-ring: rgba(0, 187, 127, .35);
  --sil: #d6d3d1;              /* stone-300 */
  --sil-sel: #79716b;          /* stone-500 */
  --warn: #e11d48;             /* landing-rose */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-soft: 0 4px 20px -2px #00000014, 0 0 3px #0000000a;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Google Sans Flex", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; }

/* pastelne mrlje kao u Superfocus hero sekciji (sky / violet / emerald / amber) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(320px 320px at 8% 6%, rgba(184, 230, 254, .45), transparent 70%),
    radial-gradient(360px 360px at 96% 18%, rgba(221, 214, 255, .45), transparent 70%),
    radial-gradient(340px 340px at 28% 96%, rgba(164, 244, 207, .35), transparent 70%),
    radial-gradient(300px 300px at 78% 92%, rgba(254, 230, 133, .35), transparent 70%),
    #ffffff;
}

.app { max-width: 560px; margin: 0 auto; padding: 16px 20px 64px; min-height: 100vh; }

/* ulazak ekrana: kao Superfocus reveal (opacity + translateY) */
.screen { animation: sf-enter .32s var(--ease) both; }
@keyframes sf-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.backbtn { background: none; border: 0; padding: 8px 14px; margin-left: -14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .15s cubic-bezier(.4, 0, .2, 1); }
.backbtn:hover { background: rgba(0, 0, 0, .04); }
.backbtn.placeholder { visibility: hidden; }
.backbtn { display: inline-flex; align-items: center; gap: 4px; }
.backbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-left: -4px; }
.blocktitle { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.progress { height: 6px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin: 8px 0 28px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03); }
.progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s var(--ease); }

/* type */
h1, h2, h3 { font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8vw, 3rem); line-height: 1.1; letter-spacing: -.04em; margin: 8px 0 20px; }
h2 { font-size: clamp(1.75rem, 6vw, 2rem); line-height: 1.12; letter-spacing: -.03em; margin: 4px 0 16px; }
h2.statement { font-size: clamp(1.5rem, 5.4vw, 1.75rem); letter-spacing: -.02em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; margin: 4px 0 8px; }
h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--faint); margin: 24px 0 6px; }
p { margin: 0 0 12px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.help, .counter, .meta, .note { color: var(--muted); font-size: 15px; }
.counter { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(0, 121, 86, .8); margin: 16px 0 0; }
.error { color: var(--warn); font-size: 14px; min-height: 1em; }

/* buttons: stone-900 pill sa strelicom, kao "Become a Founding Member →" */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 600; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 14px 32px; cursor: pointer; min-height: 56px; box-shadow: var(--shadow-sm); transition: transform .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1); }
.btn.primary { background: var(--action); border-color: var(--action); color: #fff; width: 100%; }
.btn.primary::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn.primary:hover:not(:disabled) { background: var(--action-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn.primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); width: 100%; box-shadow: none; }
.btn.ghost:hover { background: rgba(0, 0, 0, .04); color: var(--ink); }
.btn.debug { margin-top: 24px; font-size: 13px; border: 1px dashed var(--faint); }
.actions { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }

/* single choice */
.options { display: flex; flex-direction: column; gap: 10px; }
.opt { text-align: left; font: inherit; font-weight: 600; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s; }
.opt:hover { border-color: #d6d3d1; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); color: var(--accent-ink); }

/* multi choice */

/* number */
.numfield { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.numfield:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.numfield input { flex: 1; border: 0; font: inherit; font-size: 32px; font-weight: 600; letter-spacing: -.03em; padding: 10px 0; background: transparent; color: var(--ink); width: 100%; outline: none; box-shadow: none; }
.numfield .unit { font-size: 18px; color: var(--faint); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 16px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent-strong); }

/* scales */
.scale { display: grid; gap: 8px; }
.scale5 { grid-template-columns: repeat(5, 1fr); }
.scale10 { grid-template-columns: repeat(5, 1fr); }
.scalebtn { font: inherit; font-size: 18px; font-weight: 600; padding: 14px 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s; }
.scalebtn:hover { border-color: #d6d3d1; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.scalebtn.sel { border-color: var(--action); background: var(--action); color: #fff; }
.scalelabels { display: flex; justify-content: space-between; font-size: 13px; color: var(--faint); margin-top: 10px; }

/* body pickers */
.bodygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bodycard { font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s; }
.bodycard:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.bodycard.sel { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.sil { width: 100%; max-width: 92px; height: auto; fill: var(--sil); }
.sil .hair { fill: #a6a09b; }
.bodycard.sel .sil { fill: var(--sil-sel); }

/* start: centriran hero kao na Superfocus strani */
.start { text-align: center; }
/* početna nema dugme "nazad", pa prazna gornja traka ne treba: traka i slika idu više */
.app:has(> .start) > .top { display: none; }
.app:has(> .start) { padding-top: 20px; }
.hero-wrap { position: relative; margin: 22px 0 8px; }
.hero-wrap .photo.hero, .hero-wrap .imgslot { margin: 0; }
/* traka "Besplatan kviz" je nalepnica na gornjoj ivici slike: jaka zelena, beli tekst, beli obod */
.start-badge { position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px calc(20px - .14em) 10px 16px; white-space: nowrap; border-radius: 999px; background: #007956; box-shadow: 0 0 0 4px #fff, 0 10px 24px -10px rgba(0, 95, 70, .65); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.start-badge-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 999px; background: #fff; }
.start-badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #a4f4cf; animation: sf-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes sf-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.start .eyebrow { margin-top: 24px; }
.start h1 { margin: 20px 0 14px; font-size: clamp(1.75rem, 7.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
.start h1 .hl { color: #007956; } /* emerald-700, tamnija zelena */
.start .lead { margin: 0 auto 20px; max-width: 34ch; }
.perks-block { width: fit-content; max-width: 100%; margin: 22px auto 0; text-align: left; }
.start .perks-block .lead { margin: 0 0 6px; max-width: none; }
.perks-block .perks { margin: 0; width: auto; }
/* telefon: dugačak red se prelama u dva jednaka reda, blok je uži i stoji na sredini, tekst ostaje levo */
.perks li > span:last-child { text-wrap: balance; }
@media (max-width: 480px) { .perks-block { max-width: 310px; } }
.start .meta { margin-top: 16px; font-size: 12px; font-weight: 500; color: var(--faint); }
.imgslot { aspect-ratio: 16/9; background: var(--surface); border: 1px dashed #d6d3d1; border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; margin: 8px 0 24px; text-align: center; color: var(--muted); }
.imgslot strong { font-size: 14px; color: var(--ink); }
.imgslot small { font-size: 13px; line-height: 1.45; max-width: 46ch; }
.photo { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--line); margin: 8px 0 24px; box-shadow: var(--shadow-soft); }
.photo.hero { aspect-ratio: 3 / 2; height: auto; margin: 4px 0 8px; background: var(--surface); }

/* liste sa smaragdnom kvačicom */
.bullets { padding-left: 0; list-style: none; margin: 0 0 16px; }
.bullets li { padding: 6px 0 6px 34px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 999px; background: var(--accent-tint); }
.bullets li::after { content: ""; position: absolute; left: 8px; top: 14px; width: 6px; height: 10px; border: solid var(--accent-strong); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -3px; }
.choose { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 28px 0 14px; }

/* početna: šta dobijaš (svaka stavka svoja ikona i boja, povezano sa slikom iznad) */
.perks { list-style: none; padding: 0; margin: 4px auto 0; width: fit-content; max-width: 100%; text-align: left; }
.perks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.005em; color: #44403b; }
.perks li + li { border-top: 1px solid var(--line-soft); }
.perk-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.perk-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perk-0 { background: color-mix(in srgb, var(--sf-rose) 7%, #fff); color: var(--sf-rose); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-rose) 14%, #fff); }
.perk-1 { background: color-mix(in srgb, var(--sf-amber) 8%, #fff); color: var(--sf-amber); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-amber) 16%, #fff); }
.perk-2 { background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent-tint); }

/* početna: "Za početak, izaberi" kao pravo pitanje, sa strelicom ka karticama */
.start .choose { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 40px 0 18px; font-size: clamp(1.625rem, 6.6vw, 2rem); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; text-transform: none; color: var(--ink); }
.start .choose mark { color: inherit; padding: 0 .08em; background: linear-gradient(transparent 56%, #a4f4cf 56%, #a4f4cf 92%, transparent 92%); }
.choose-go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--accent-strong); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 151, 103, .6); animation: sf-nudge 1.6s var(--ease) infinite; }
.choose-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sf-nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* početna: izbor pola, velike kartice koje jasno izgledaju kao dugme */
.sexcard { display: flex; flex-direction: column; padding: 10px 10px 0; font: inherit; color: var(--ink); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.sexdisc { display: grid; place-items: center; height: 116px; border-radius: 16px; overflow: hidden; }
.sexcard.is-m .sexdisc { background: color-mix(in srgb, var(--sf-sky-200) 40%, #fff); }
.sexcard.is-f .sexdisc { background: color-mix(in srgb, var(--sf-insight) 8%, #fff); }
.sexcard .gender { display: block; height: 84px; width: auto; transition: transform .3s var(--ease); }
.sexcard.is-m .gender { fill: var(--sf-sky-300); }
.sexcard.is-f .gender { fill: var(--sf-insight); }
.sexfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 4px 12px 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sexgo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--action); color: #fff; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.sexgo svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.sexcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -12px rgba(16, 16, 16, .22), 0 2px 6px rgba(16, 16, 16, .06); }
.sexcard:hover .gender { transform: scale(1.06); }
.sexcard:hover .sexgo { transform: translateX(2px); }
.sexcard.is-m:hover { border-color: var(--sf-sky-200); }
.sexcard.is-f:hover { border-color: color-mix(in srgb, var(--sf-insight) 30%, #fff); }
.sexcard.is-m:hover .sexgo { background: var(--sf-sky-300); color: #1c1917; }
.sexcard.is-f:hover .sexgo { background: var(--sf-insight); }
.sexcard:active { transform: scale(.98); box-shadow: var(--shadow-soft); }
.sexrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn.big { flex-direction: column; border-radius: var(--radius-lg); padding: 20px 10px 18px; border-color: var(--line); background: var(--surface); box-shadow: var(--shadow-soft); }
.btn.big:hover { border-color: #d6d3d1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn.big .sil { max-width: 56px; }

/* in-between + loading */
.inter h2 { font-size: clamp(1.75rem, 6.4vw, 2.25rem); margin-top: 32px; }
.loading h2 { margin-top: 48px; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.steps li { padding: 16px 0 16px 36px; position: relative; color: var(--faint); border-bottom: 1px solid var(--line); font-weight: 600; transition: color .3s; }
.steps li::before { content: ""; position: absolute; left: 0; top: 17px; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: background-color .3s, border-color .3s; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--accent); border-color: var(--accent); }
.steps li.done::after { content: ""; position: absolute; left: 8px; top: 22px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* gate */
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 24px; }
.teaser > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.teaser small { display: block; font-size: 12px; color: var(--faint); }
.teaser strong { font-size: 18px; font-weight: 600; }
.blur { filter: blur(6px); user-select: none; }
.gate { display: flex; flex-direction: column; gap: 10px; }
.gate input[type=text], .gate input[type=email] { font: inherit; padding: 16px 20px; min-height: 56px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.gate input::placeholder { color: var(--faint); }
.gate input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.gate a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* results */
.results h1 { font-size: clamp(2rem, 7vw, 2.5rem); }
h2.section { margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin: 16px 0; box-shadow: var(--shadow-soft); }
.cardtitle { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat small { display: block; font-size: 12px; color: var(--faint); }
.stat strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.stat span { display: block; font-size: 14px; color: var(--muted); }
.looks { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; }
.looks figure { margin: 0; text-align: center; width: 90px; }
.looks figcaption { font-size: 13px; color: var(--faint); }
.looks .arrow { font-size: 26px; color: var(--faint); }
.score strong { font-size: 60px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.score span { font-size: 20px; color: var(--faint); margin-left: 4px; }
.meter { height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin: 14px 0 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03); }
.meter-fill { height: 100%; background: var(--accent); border-radius: 999px; }

/* glavna zamka: tamni blok kao Superfocus završni CTA */
.card.trap { background: var(--action); border-color: var(--action); color: #d6d3d1; border-radius: var(--radius-xl); padding: 28px 24px; box-shadow: var(--shadow-2xl); position: relative; overflow: hidden; }
.card.trap::before { content: ""; position: absolute; left: 50%; top: 0; width: 120%; height: 60%; transform: translate(-50%, -45%); background: radial-gradient(closest-side, rgba(0, 187, 127, .18), transparent); pointer-events: none; }
.card.trap > * { position: relative; }
.card.trap .cardtitle { color: #00d294; }
.card.trap h4 { color: #a6a09b; }
.card.trap .note { color: #a6a09b; }
.card.trap .rule { color: #fff; }
.card.trap .second { border-top-color: rgba(255, 255, 255, .12); }
.card.trap .second small { color: #a6a09b; }
.card.trap .second strong { color: #fff; }
.trapname { font-size: clamp(1.75rem, 6vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; display: block; margin: 0 0 12px; }
.rule { font-weight: 600; font-size: 18px; color: var(--ink); }
.echo { margin: 0; padding-left: 18px; }
.echo li { margin: 4px 0; }
.second { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.second small { text-transform: uppercase; letter-spacing: .2em; font-weight: 600; color: var(--faint); font-size: 11px; }
.tips { margin: 6px 0 0; padding-left: 18px; }
.tips li { margin: 6px 0; }
.days { margin: 0; padding-left: 20px; }
.days li { margin: 10px 0; }
.days li::marker { color: var(--accent-strong); font-weight: 600; }
.card.safety { border-color: color-mix(in srgb, var(--sf-rose) 22%, #fff); background: color-mix(in srgb, var(--sf-rose) 5%, #fff); }
.disclaimer { font-size: 12px; color: var(--faint); margin-top: 28px; }
.debugpanel { margin-top: 24px; font-size: 12px; }
.debugpanel pre { white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px dashed var(--faint); padding: 10px; border-radius: 8px; max-height: 420px; overflow: auto; }

@media (max-width: 380px) {
  .app { padding-left: 16px; padding-right: 16px; }
  .teaser small { font-size: 11px; }
  .teaser strong { font-size: 16px; }
}

/* "Other" typed answer */
.otherbox { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.otherbox.hidden { display: none; }
.otherbox input { font: inherit; padding: 16px 20px; min-height: 56px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--accent); }
.otherbox input:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.reason { margin-top: 12px; font-size: 15px; }
.reason small { display: block; font-size: 12px; color: var(--faint); }

/* picture questions (posture) */
.picgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.piccard { font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s; }
.piccard:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.piccard.sel { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.piccard img { width: 100%; max-width: 120px; height: auto; border-radius: 10px; }
.pic { width: 100%; max-width: 96px; height: auto; }
.pic .body { fill: var(--sil); }
.pic .torso { fill: none; stroke: var(--sil); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.pic .leg { fill: none; stroke: var(--sil); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.pic .limb { fill: none; stroke: var(--sil); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.pic .foot { stroke: var(--sil); stroke-width: 6; stroke-linecap: round; }
.pic .spine { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.pic .plumb { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; opacity: .6; }
.pic .guide { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 2 2; }

/* honeypot polje na kapiji: čovek ga ne vidi, botovi ga popune */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* dug upisan tekst ("Nešto drugo", ime) ne sme da probije širinu na telefonu */
body { overflow-wrap: anywhere; }
/* naslov ekrana dobija fokus zbog čitača ekrana, bez vidljivog okvira */
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

/* figure za izbor pola na početnoj (plavo / roze), iste visine kao ranije figure */
.btn.big .gender { display: block; height: 84px; width: auto; }
.btn.big .gender.male { fill: var(--sf-sky-300); }
.btn.big .gender.female { fill: var(--sf-insight); }

/* fotografije tipova tela (pitanje 5): ista veličina kao crtež, 2:3 */
.bodycard .bodyphoto { display: block; width: 100%; max-width: 92px; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* figure držanja (pitanje 43): ista veličina za sve, isprekidana linija ravnoteže kroz skočni zglob */
.picwrap { position: relative; display: block; width: 100%; max-width: 150px; aspect-ratio: 2 / 3; }
.picwrap img { display: block; width: 100%; height: 100%; object-fit: contain; max-width: none; border-radius: 0; }
.picwrap .plumb { position: absolute; top: 3%; bottom: 10%; width: 0; border-left: 2px dashed var(--accent, #00bb7f); transform: translateX(-1px); pointer-events: none; }
.picwrap .guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.picwrap .guide line { stroke: var(--warn, #e11d48); stroke-width: 2.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }

/* gornji red sa etapama (umesto "Pitanje X od Y"): nazad levo, etape tačno u sredini, prazno mesto iste širine desno */
.appbar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 14px; min-height: 48px; margin: 0 0 22px; }
.iconbtn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(16, 16, 16, .04);
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn:hover { background: var(--surface); border-color: #d6d3d1; }
.iconbtn:active { transform: scale(.94); }
.iconbtn.placeholder { visibility: hidden; }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 440px; width: 100%; justify-self: center; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.stage-head { display: flex; align-items: center; justify-content: center; gap: 5px; max-width: 100%; color: #616165; /* 4.7:1 na beloj */ transition: color .3s var(--ease); }
.stage-icon { flex: none; display: inline-flex; }
.stage-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage-label { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-bar { position: relative; display: block; width: 100%; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.stage-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left center; transition: transform .6s var(--ease); }
.stage.current .stage-head { color: var(--ink); }
.stage.current .stage-icon { color: var(--accent-strong); }
.stage.done .stage-head { color: var(--muted); }
.stage.done .stage-icon { color: var(--accent-strong); }
.stage.done .stage-icon svg { stroke-width: 2.5; }
/* 4 etape na telefonu: bez ikonica, da "Prepreke" stane cela */
@media (max-width: 440px) { .appbar { gap: 10px; } .stages { gap: 4px; } .stage-icon { display: none; } .stage-label { font-size: 12.5px; } }
@media (max-width: 350px) { .stage-label { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .stage-fill { transition: none; } }

/* naziv bloka (stari "top" red bez etapa): miran tekst, bez velikih slova i razmaka između slova */
.top .blocktitle { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* karusel tipova tela (pitanja 5 i 12): velika kartica u sredini, susedne vire, strelice levo/desno */
.bodycarousel { --slide-w: min(264px, calc(100vw - 128px)); position: relative; margin: 4px -20px 0; }
.bc-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 6px calc(50% - var(--slide-w) / 2) 14px; scrollbar-width: none; outline: none; }
.bc-track::-webkit-scrollbar { display: none; }
.bc-slide { flex: 0 0 var(--slide-w); scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  padding: 10px 10px 14px; border-radius: var(--radius-lg, 24px); border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; cursor: pointer; box-shadow: var(--shadow-soft); opacity: .45; transform: scale(.92); transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .15s; }
.bc-slide.current { opacity: 1; transform: none; }
.bc-slide.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-soft); }
.bc-img { display: block; border-radius: 16px; background: var(--surface, #fafaf9); overflow: hidden; }
.bc-img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.bc-label { font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center; padding: 0 4px; }
.bc-arrow { position: absolute; top: calc(50% - 30px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--accent-strong, #009767);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); transition: opacity .2s, transform .15s; z-index: 2; }
.bc-arrow:hover { transform: scale(1.05); }
.bc-arrow:disabled { opacity: 0; pointer-events: none; }
.bc-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bc-arrow.prev { left: calc(50% - var(--slide-w) / 2 - 22px); }
.bc-arrow.next { right: calc(50% - var(--slide-w) / 2 - 22px); }
.bc-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 6px; }
.bc-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .25s var(--ease), background-color .25s; }
.bc-dot.on { width: 18px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .bc-track { scroll-behavior: auto; } .bc-slide, .bc-dot { transition: none; } }


/* ===================== Otkrivanje plana (učitavanje + kapija) =====================
   Kad pitanja završe, stranica "ugasi svetla": tamna smaragdna pozadina, telo sada levo, cilj desno,
   putanja između. Isti par tela ostaje na kapiji i na vrhu rezultata. */
html { background: var(--bg); transition: background-color .7s var(--ease); }
body { transition: background-color .7s var(--ease), color .7s var(--ease); }
body::before { transition: opacity .7s var(--ease); }
html.reveal {
  --rv-bg: #1c1917; --rv-raised: #292524; --rv-line: rgba(255, 255, 255, .10); --rv-ink: #fafaf9; --rv-muted: #a6a09b;
  --rv-mint: #00d294; --rv-amber: #ffd236;
  background: var(--rv-bg); color-scheme: dark;
}
html.reveal body { background: var(--rv-bg); color: var(--rv-ink); }
html.reveal body::before { opacity: 0; }
/* svetlo iza cilja, kao reflektor na sceni */
html.reveal body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 72% 12%, rgba(0, 187, 127, .20), transparent 70%), radial-gradient(60% 40% at 10% 100%, rgba(0, 151, 103, .14), transparent 70%); }
html.reveal ::selection { background: rgba(0, 210, 148, .35); color: #fff; }

/* etape na tamnom */
html.reveal .stage-head { color: rgba(250, 250, 249, .62); }
html.reveal .stage.current .stage-head { color: #fff; }
html.reveal .stage.current .stage-icon, html.reveal .stage.done .stage-icon { color: var(--rv-mint); }
html.reveal .stage.done .stage-head { color: var(--rv-muted); }
html.reveal .stage-bar { background: rgba(250, 250, 249, .14); }
html.reveal .stage-fill { background: var(--rv-mint); }

/* --- put: sada -> cilj --- */
.journey { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0; margin: 0 auto 6px; padding-top: 64px; max-width: 420px; }
.j-fig { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.j-art { position: relative; width: 100%; max-width: 168px; aspect-ratio: 2 / 3; isolation: isolate; }
.j-art img, .j-art svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.j-art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 1.5%; height: 7%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent); }
.j-now .j-art img { filter: grayscale(.55) saturate(.8); opacity: .62; }
.j-goal .j-art::before { content: ""; position: absolute; inset: -6% -14% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 187, 127, .30), transparent 72%); }
.j-fig figcaption { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 6px; line-height: 1.2; }
.j-fig b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.j-fig small { max-width: 15ch; font-size: 12.5px; line-height: 1.3; font-weight: 500; text-align: center; color: var(--muted); text-wrap: balance; }
.j-goal b { color: var(--accent-strong); }
/* strelica na vrhu luka: "odavde -> dovde" */
.j-badge { position: absolute; left: 50%; top: 0; width: 38px; height: 38px; margin-left: -19px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #1c1917; box-shadow: 0 8px 20px -8px rgba(0, 151, 103, .7); }
.j-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.j-route { position: absolute; left: 25%; right: 25%; top: 12px; height: 46px; overflow: visible; pointer-events: none; }
.j-route path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

html.reveal .j-fig small { color: var(--rv-muted); }
html.reveal .j-goal b, html.reveal .j-fig b { color: #fff; }
html.reveal .j-goal b { color: var(--rv-mint); }
html.reveal .j-now .j-art img { opacity: .5; }
html.reveal .j-art::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
html.reveal .j-goal .j-art::before { background: radial-gradient(closest-side, rgba(0, 210, 148, .26), transparent 72%); }
html.reveal .j-route path { stroke: var(--rv-mint); }
html.reveal .j-badge { background: var(--rv-mint); color: #1c1917; box-shadow: 0 10px 26px -8px rgba(0, 210, 148, .55); }

/* animacija na "Pravimo tvoj plan": sada uđe, putanja se iscrta, cilj se gradi odozdo nagore */
.journey.is-anim .j-now { animation: j-in-left .7s var(--ease) both; }
.journey.is-anim .j-route path { animation: j-draw 1.5s cubic-bezier(.65, 0, .35, 1) .55s both; }
.journey.is-anim .j-badge { animation: j-badge .6s var(--ease) 1.2s both; }
.journey.is-anim .j-badge svg { animation: j-nudge .5s var(--ease) 1.8s both; }
.journey.is-anim .j-goal .j-art img, .journey.is-anim .j-goal .j-art svg { animation: j-build 1.8s cubic-bezier(.22, 1, .36, 1) 1.9s both; }
.journey.is-anim .j-goal .j-art::before { animation: j-glow 1.6s var(--ease) 2.6s both; }
.journey.is-anim .j-goal figcaption { animation: j-fade .6s var(--ease) 3.3s both; }
@keyframes j-in-left { from { opacity: 0; transform: translateX(-14px); } }
@keyframes j-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes j-badge { from { opacity: 0; transform: scale(.5); } }
@keyframes j-nudge { from { transform: translateX(-6px); opacity: 0; } }
@keyframes j-build { from { clip-path: inset(100% 0 0 0); filter: blur(10px) brightness(1.6); } 60% { filter: blur(2px) brightness(1.15); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes j-glow { from { opacity: 0; transform: scale(.7); } }
@keyframes j-fade { from { opacity: 0; transform: translateY(6px); } }
/* kapija: isti prizor, samo se mirno smesti */
/* na kapiji je prizor mali i vodoravan (sada -> cilj), da forma uđe u prvi ekran telefona */
.journey.is-still { max-width: 300px; padding-top: 0; margin-top: 2px; }
.journey.is-still .j-art { max-width: 80px; }
.journey.is-still .j-route { display: none; }
.journey.is-still .j-badge { top: 44px; width: 32px; height: 32px; margin-left: -16px; box-shadow: none; }
/* na kapiji nema aure iza cilja: razliku nose boja (cilj) i sivilo (sada), ne sjaj */
.journey.is-still .j-goal .j-art::before { display: none; }
.journey.is-still .j-badge svg { width: 17px; height: 17px; }
.journey.is-still .j-fig b { font-size: 15px; }
.journey.is-still .j-fig small { max-width: 18ch; font-size: 12px; }
/* rezultati: svetla verzija, malo manja */
.journey.is-light { margin: 6px auto 22px; max-width: 360px; padding-top: 64px; }
.journey.is-light .j-art { max-width: 140px; }

/* --- tekst na tamnom --- */
.reveal-screen { padding-bottom: 8px; }
.reveal-screen .rv-title { margin: 18px 0 6px; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; color: #fff; text-wrap: balance; }
.reveal-screen .rv-sub { margin: 0 0 22px; font-size: 17px; line-height: 1.45; color: var(--rv-muted); text-wrap: pretty; }
.loading.reveal-screen { text-align: center; }
.loading.reveal-screen .rv-title { margin-top: 22px; }
.loading h2.rv-title { margin-top: 22px; }

/* merač 0-100% */
.rv-meter { display: flex; align-items: center; gap: 12px; max-width: 360px; margin: 4px auto 18px; }
.rv-meter-bar { position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(250, 250, 249, .12); overflow: hidden; }
.rv-meter-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #00bb7f, var(--rv-mint)); transform: scaleX(0); transform-origin: left center; }
.rv-pct { min-width: 3.2em; text-align: right; font-size: 15px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.rv-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; text-align: left; }
.rv-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 600; color: rgba(250, 250, 249, .45); transition: color .4s var(--ease); }
.rv-steps li + li { border-top: 1px solid var(--rv-line); }
.rv-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(250, 250, 249, .22); color: transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.rv-tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rv-steps li.done { color: var(--rv-ink); }
.rv-steps li.done .rv-tick { background: var(--rv-mint); border-color: var(--rv-mint); color: #1c1917; }

/* --- kapija: šta je u planu ---
   Bez kartice: tabela sa tankim linijama direktno na sceni, kao specifikacija. Jedina površina na ekranu je bela forma. */
.rv-report h3 { margin: 0 0 10px; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--rv-muted); }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rv-line); border-bottom: 1px solid var(--rv-line); }
.rv-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; padding: 14px 16px 16px 0; }
.rv-cell:nth-child(2n) { padding: 14px 0 16px 16px; border-left: 1px solid var(--rv-line); }
.rv-cell:nth-child(n+3) { border-top: 1px solid var(--rv-line); }
.rv-cell:last-child:nth-child(odd) { grid-column: 1 / -1; } /* bez BMI ostaju tri polja: poslednje ide celom širinom */
.rv-k { font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--rv-muted); }
.rv-v { display: flex; align-items: center; gap: 6px; min-height: 28px; font-size: 26px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.rv-of { font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--rv-ink); }
/* pečat: zatamnjeno polje sa finim kosim šrafom i katancem, kao precrtan red u dokumentu */
.rv-seal { position: relative; display: inline-flex; align-items: center; flex: none; height: 26px; max-width: 100%; padding: 0 8px; overflow: hidden; border-radius: 7px; color: var(--rv-muted);
  background: repeating-linear-gradient(135deg, #44403b 0 1px, transparent 1px 6px), #292524; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.rv-seal.s { width: 42px; }
.rv-seal.m { width: 92px; }
.rv-seal.l { width: 124px; }
.rv-seal svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* jedan odsjaj preko pečata kad se ekran otvori, redom polje po polje */
.rv-seal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-110%); animation: rv-sheen 1.1s var(--ease) .5s both; }
.rv-cell:nth-child(3) .rv-seal::after { animation-delay: .65s; }
.rv-cell:nth-child(4) .rv-seal::after { animation-delay: .8s; }
@keyframes rv-sheen { to { transform: translateX(110%); } }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* forma kao svetli list na tamnoj sceni */
.rv-sheet { color-scheme: light; background: #fff; color: var(--ink); border-radius: 24px; padding: 18px 18px 20px; margin-top: 22px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
/* upozorenje kao amber traka preko vrha forme */
.rv-urgent { display: flex; align-items: center; gap: 8px; margin: -18px -18px 16px; padding: 12px 18px; font-size: 14px; line-height: 1.35; font-weight: 700; color: #44403b;
  background: color-mix(in srgb, #fee685 55%, #fff); border-bottom: 1px solid color-mix(in srgb, #ffd236 45%, #fff); }
.rv-urgent svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #d97706; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rv-sheet .gate { gap: 10px; }
.rv-sheet .check { margin-top: 8px; font-size: 14px; }
.rv-sheet .gate input { caret-color: var(--accent-strong); }
.rv-sheet .gate input::placeholder { color: var(--muted); }
.rv-sheet .btn.primary { min-height: 58px; font-weight: 700; }
.rv-sheet .btn.primary:hover:not(:disabled)::after { transform: translateX(3px); }
.rv-sheet .btn.primary::after { transition: transform .25s var(--ease); }
.rv-sheet .error:empty { display: none; }
.gate-screen .rv-sub { margin-bottom: 18px; }

@media (min-width: 560px) {
  .journey { padding-top: 72px; }
  .j-route { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey.is-anim *, .journey.is-anim .j-art::before, .rv-seal::after, .rv-chevrons svg { animation: none !important; }
  html, body, body::before { transition: none; }
}

/* kapija: strelice koje vode do forme (forma je ispod prevoja) */
.rv-cue { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 20; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 20px; border: 0; border-radius: 999px;
  background: var(--rv-mint, #00d294); color: #1c1917; font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .75);
  transition: opacity .35s var(--ease), transform .35s var(--ease); animation: rv-cue-in .6s var(--ease) .5s backwards; }
.rv-cue.off { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
.rv-cue:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rv-mint, #00d294); }
.rv-chevrons { position: relative; display: inline-flex; flex-direction: column; width: 20px; height: 22px; }
.rv-chevrons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: -9px; animation: rv-chev 1.4s ease-in-out infinite; }
.rv-chevrons svg:first-child { margin-top: -4px; }
.rv-chevrons svg:last-child { animation-delay: .18s; }
@keyframes rv-chev { 0%, 100% { transform: translateY(-2px); opacity: .45; } 50% { transform: translateY(3px); opacity: 1; } }
@keyframes rv-cue-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.gate-screen { padding-bottom: 72px; }


/* ===================== Više odgovora, skale, mapa tela ===================== */
.hint { display: flex; align-items: center; gap: 8px; margin: -4px 0 18px; font-size: 14px; color: var(--muted); }
.hint svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--accent-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* kartice sa kvačicom: jasno se vidi šta je izabrano i da može više */
.picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.picks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 16px; text-align: left;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 16, 16, .04);
  -webkit-tap-highlight-color: transparent; transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .12s var(--ease); }
.pick:hover { border-color: #d6d3d1; }
.pick:active { transform: scale(.985); }
.pick-label { min-width: 0; overflow-wrap: anywhere; }
.pick .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #a6a09b; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.pick .box svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pick.sel { border-color: var(--accent); background: var(--accent-soft); }
.pick.sel .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick.sel .box svg { animation: pick-check .25s var(--ease) both; }
@keyframes pick-check { from { transform: scale(.4); opacity: 0; } }
.pick.solo .box { border-radius: 50%; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* "Dalje" zalepljeno za dno ekrana, sa brojem izabranih */
.dock { position: sticky; bottom: 0; z-index: 5; margin: 18px -20px 0; padding: 18px 20px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 62%, rgba(255, 255, 255, 0)); }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: var(--accent); color: #1c1917; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.count:empty { display: none; }

/* skala uz tvrdnje: reči umesto golih brojeva, tačkice pokazuju jačinu */
.likert { display: grid; gap: 10px; }
.lk { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 16px; font: inherit; font-size: 16px; font-weight: 600; text-align: left;
  color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.lk:hover { border-color: #d6d3d1; }
.lk .dots { flex: none; display: inline-flex; gap: 4px; }
.lk .dots i { width: 8px; height: 8px; border-radius: 50%; background: #e7e5e4; }
.lk .dots i.on { background: var(--accent); }
.lk.sel { background: var(--action); border-color: var(--action); color: #fff; }
.lk.sel .dots i { background: rgba(255, 255, 255, .25); }
.lk.sel .dots i.on { background: #00d294; }

/* mapa tela (pitanje 4): telo levo, spisak desno; izabrani delovi zasvetle, dodir na telo bira deo */
.bodymap { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; }
.bm-fig { position: sticky; top: 12px; width: 150px; margin-left: -10px; aspect-ratio: 2 / 3; transition: filter .3s var(--ease); }
.bm-fig img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.bm-fig .z { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bm-fig .z::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; opacity: .8;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 151, 103, .7), 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.bm-fig .z::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; opacity: 0; transform: scale(.5);
  background: radial-gradient(closest-side, rgba(0, 187, 127, .85), rgba(0, 187, 127, .35) 55%, transparent); mix-blend-mode: multiply;
  transition: opacity .25s var(--ease), transform .3s var(--ease); }
.bm-fig .z.on::after { opacity: 1; transform: none; }
.bm-fig .z.on::before { opacity: 0; transform: scale(.4); }
.bm-fig.all { filter: drop-shadow(0 0 6px rgba(0, 187, 127, .75)) drop-shadow(0 0 2px rgba(0, 187, 127, .9)); }
.bm-fig.all .z::before { opacity: 0; }
.bodymap .picks { gap: 8px; }
.bodymap .pick { min-height: 48px; padding: 11px 12px; font-size: 15px; }
@media (max-width: 350px) { .bodymap { grid-template-columns: 118px minmax(0, 1fr); } .bm-fig { width: 118px; margin-left: -6px; } }
@media (prefers-reduced-motion: reduce) { .pick.sel .box svg { animation: none; } }
@media (min-width: 560px) { .bodymap { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } .bm-fig { width: 200px; margin-left: -12px; } }


/* ===================== Kontrolne tačke (ekrani između delova) =====================
   Svetla mint pozadina: odvaja ih od pitanja (belo) i od otkrivanja plana (tamno). */
html.checkpoint { --page: #ecfdf5; background: var(--page); }
html.checkpoint body { background: var(--page); }
html.checkpoint body::before { opacity: 0; }
html.checkpoint body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 35% at 85% 0%, rgba(0, 187, 127, .14), transparent 70%), radial-gradient(50% 30% at 0% 100%, rgba(0, 187, 127, .10), transparent 70%); }
html.checkpoint .dock { background: linear-gradient(to top, var(--page) 62%, rgba(236, 253, 245, 0)); }
html.checkpoint .iconbtn { background: #fff; }

.cp h2 { margin-bottom: 10px; font-size: clamp(30px, 8vw, 38px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.cp-lead { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: #44403b; text-wrap: pretty; }

/* kartica "Sačuvano u tvom planu" */
.cp-card { background: #fff; border-radius: 22px; padding: 16px 18px 8px; margin: 6px 0 20px; box-shadow: 0 1px 2px rgba(0, 95, 70, .06), 0 12px 32px -18px rgba(0, 95, 70, .35); }
.cp-card-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.cp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 187, 127, .16); }
.cp-card-sub { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.cp-card-body { display: flex; gap: 14px; align-items: flex-start; }
.cp-aside { flex: none; width: 92px; margin: 6px -4px 6px -6px; }
.cp-aside-fig { margin: 0; }
.cp-aside-fig img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.cp-aside-fig figcaption { margin-top: 2px; font-size: 11.5px; line-height: 1.25; text-align: center; color: var(--muted); }
.cp-rows { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.cp-rows li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; animation: cp-row .45s var(--ease) both; }
.cp-rows li + li { border-top: 1px solid var(--line-soft); }
.cp-tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; animation: cp-tick .4s var(--ease) both; }
.cp-tick svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cp-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-row-text small { font-size: 12.5px; color: var(--muted); }
.cp-row-text b { font-size: 16px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
@keyframes cp-row { from { opacity: 0; transform: translateY(8px); } }
@keyframes cp-tick { from { transform: scale(0); } 70% { transform: scale(1.15); } }

/* "Sledeće: ..." */
.cp-next { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(0, 151, 103, .35); }
.cp-next-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent-ink); }
.cp-next-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cp-next-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.cp-next-text small { font-size: 12.5px; color: var(--muted); }
.cp-next-text b { font-size: 16px; }
.cp-next-meta { flex: none; font-size: 13px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

/* BMI: krupan broj i skala */
.bmi-hero { margin: 2px 0 18px; }
.bmi-hero h2 { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.bmi-hero h2 small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: #44403b; }
.bmi-num { font-size: clamp(64px, 19vw, 88px); line-height: .95; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.gauge { position: relative; margin: 18px 0 0; padding-bottom: 22px; }
.g-track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.g-seg.under { background: #77d4ff; } .g-seg.ok { background: #34d399; } .g-seg.over { background: #ffd236; } .g-seg.high { background: #fb7185; }
.g-pin { position: absolute; top: -5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  animation: g-pin .9s var(--ease) both; }
@keyframes g-pin { from { left: 0; } }
.g-ticks span { position: absolute; top: 16px; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bmi-band { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #44403b; }

/* ista kilaža, različito telo */
.same-bmi { position: relative; margin: 6px 0 18px; padding: 44px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 12px 32px -18px rgba(0, 95, 70, .35); }
.same-tag { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.same-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; }
.same-pair figure { margin: 0; }
.same-pair img { display: block; width: 100%; height: auto; max-width: 150px; margin: 0 auto; aspect-ratio: 2 / 3; object-fit: contain; }
.same-pair figcaption { margin-top: 4px; text-align: center; font-size: 14px; font-weight: 700; }
.same-eq { font-size: 28px; font-weight: 700; color: var(--accent-strong); }

/* teški dani: šta saznaje na kraju */
.cp-learn { background: #fff; border-radius: 22px; padding: 16px 18px; margin: 0 0 20px; box-shadow: 0 12px 32px -18px rgba(0, 95, 70, .35); }
.cp-learn h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.cp-locked { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.cp-locked + .cp-locked { border-top: 1px solid var(--line-soft); }
.cp-locked b { flex: 1; font-size: 16px; }
.cp-locked .blur { font-style: normal; color: var(--accent-strong); filter: blur(5px); user-select: none; }
.cp-lock { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); }
.cp-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* zdravlje */
.cp-badge { display: inline-flex; width: 52px; height: 52px; margin: 4px 0 14px; border-radius: 16px; align-items: center; justify-content: center; background: #fff; color: var(--accent-strong); box-shadow: 0 8px 24px -14px rgba(0, 95, 70, .45); }
.cp-badge svg, .cp-topics svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cp-badge svg { width: 26px; height: 26px; }
.cp-topics { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-topics li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; }
.cp-topics li span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); }
.cp-topics svg { width: 15px; height: 15px; }
.consent-pick { margin-top: 4px; cursor: pointer; }
.consent-pick .pick-label { font-size: 15px; }
.consent-pick:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent-ring); }
.consent .dock { display: flex; flex-direction: column; gap: 8px; }

@media (prefers-reduced-motion: reduce) { .cp-rows li, .cp-tick, .g-pin { animation: none; } }


/* ===== Kontrolne tačke: sve u jednom prikazu (bez skrolovanja na telefonu) ===== */
.cp .appbar { margin-bottom: 16px; }
.cp h2 { font-size: clamp(28px, 7.6vw, 34px); margin: 0 0 8px; }
.cp-lead { margin: 0 0 14px; font-size: 16px; line-height: 1.45; }
.cp-card { padding: 12px 16px 4px; margin: 4px 0 14px; }
.cp-rows li { padding: 9px 0; gap: 10px; }
.cp-tick { width: 20px; height: 20px; }
.cp-row-text small { font-size: 12px; }
.cp-row-text b { font-size: 15px; }
.cp-aside { width: 84px; }
.cp-next { padding: 10px 14px; border-radius: 16px; }
.cp-next-icon { width: 32px; height: 32px; }
.cp .dock { margin-top: 12px; padding-top: 12px; }

/* BMI: broj i kategorija u istom redu, skala tik ispod */
.bmi-hero { margin: 0 0 14px; }
.bmi-hero h2 { margin: 0; }
.bmi-hero h2 small { font-size: 15px; }
.bmi-line { display: flex; align-items: center; gap: 14px; }
.bmi-num { font-size: clamp(56px, 16vw, 72px); }
.bmi-line .bmi-band { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: 0; color: #44403b; text-wrap: balance; }
.gauge { margin-top: 12px; padding-bottom: 18px; }
.g-track { height: 8px; }
.g-pin { top: -6px; width: 18px; height: 18px; margin-left: -9px; }
.g-ticks span { top: 12px; font-size: 11px; }
.same-bmi { padding: 40px 10px 10px; margin: 0 0 12px; }
.same-pair img { max-width: 124px; }
.same-pair figcaption { font-size: 13px; margin-top: 2px; }

/* zdravlje */
.consent .cp-badge { width: 44px; height: 44px; margin: 0 0 10px; border-radius: 14px; }
.consent .cp-badge svg { width: 22px; height: 22px; }
.cp-topics { margin-bottom: 12px; gap: 6px; }
.cp-topics li { padding: 6px 12px 6px 6px; font-size: 13.5px; }
.consent .dock .btn.ghost { min-height: 44px; }

/* niži ekrani (npr. iPhone SE): još malo zbijeno */
@media (max-height: 700px) {
  .cp .appbar { margin-bottom: 10px; }
  .cp h2 { font-size: 26px; }
  .cp-rows li { padding: 7px 0; }
  .cp-aside { width: 70px; }
  .same-pair img { max-width: 92px; }
  .same-bmi { padding-top: 36px; }
  .bmi-num { font-size: 52px; }
  .cp .dock { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
/* vrlo niski ekrani (iPhone SE u Safariju, oko 560 px): "Sledeće" se skriva, sve ostalo se još malo zbija */
@media (max-height: 620px) {
  html.checkpoint .app { padding-top: 8px; }
  .cp .appbar { margin-bottom: 6px; min-height: 44px; }
  .cp .cp-next { display: none; }
  .cp h2 { font-size: 24px; margin-bottom: 6px; }
  .cp-lead { font-size: 15px; margin-bottom: 10px; }
  .cp-card { padding: 10px 14px 2px; margin-bottom: 8px; }
  .cp-rows li { padding: 5px 0; }
  .cp-row-text b { font-size: 14.5px; }
  .cp-aside { width: 62px; }
  .bmi-hero { margin-bottom: 8px; }
  .bmi-hero h2 small { font-size: 14px; }
  .bmi-num { font-size: 46px; }
  .gauge { margin-top: 8px; }
  .same-bmi { padding: 34px 8px 8px; margin-bottom: 8px; }
  .same-pair img { max-width: 76px; }
  .cp-topics { margin-bottom: 8px; }
  .consent .cp-badge { display: none; }
  .cp .dock { margin-top: 6px; padding-top: 8px; }
}

/* ===================== Rezultati: kartice sa ikonicom, natpisom i jednim vizuelnim elementom ===================== */
.results h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; margin-bottom: 4px; }
.rcard { background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; padding: 18px 18px 16px; margin: 14px 0;
  box-shadow: 0 1px 2px rgba(16, 16, 16, .04), 0 14px 34px -22px rgba(16, 16, 16, .28); }
.rcard > p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #3f3f46; }
.rc-head { display: flex; align-items: center; gap: 12px; }
.rc-icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); }
.rc-icon svg, .rt-head svg, .rt-ico svg, .r-why svg, .rt-quotes svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-titles { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.rc-titles small { font-size: 13px; font-weight: 600; color: var(--muted); }
.rc-titles b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.r-section { margin: 40px 0 6px; font-size: 26px; letter-spacing: -.025em; }
.r-note { font-size: 14px !important; color: var(--muted) !important; }

/* oznake (delovi tela, šta je naveo) */
.r-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.r-tags small { width: 100%; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.r-tags span { padding: 5px 11px; border-radius: 999px; background: var(--raised); font-size: 14px; font-weight: 600; }

/* zdravlje: narandžasto, odmah ispod slike */
.rcard.r-safety { background: #fff7ed; border-color: #fed7aa; }
.r-safety .rc-icon { background: #ffedd5; color: #c2410c; }
.r-safety .rc-titles b, .r-safety .rc-titles small { color: #9a3412; }
.r-safety .rc-titles small { font-size: 13px; font-weight: 700; }
.r-safety .r-tags small { color: #9a3412; }
.r-safety .r-tags span { background: #fff; border: 1px solid #fed7aa; color: #9a3412; }
.r-safety .r-safety-text { margin-top: 12px; font-size: 15px; line-height: 1.5; color: #7c2d12; }

/* istrajnost */
.r-score-row { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.r-score-num { flex: none; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.r-score-num span { font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--faint); margin-left: 2px; }
.r-score-row p { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; text-wrap: balance; }
.r-meter { height: 8px; margin: 14px 0 4px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.r-meter span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.r-why-title { margin: 16px 0 8px !important; font-size: 14px !important; font-weight: 700; color: var(--ink) !important; }
.r-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.r-why { border-radius: 14px; padding: 10px 12px; }
.r-why.helps { background: var(--accent-soft); }
.r-why.hurts { background: #fff1f2; }
.r-why small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.r-why small i { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; }
.r-why small i svg { width: 12px; height: 12px; stroke-width: 3; }
.r-why.helps small { color: var(--accent-ink); } .r-why.helps small i { background: var(--accent); }
.r-why.hurts small { color: #9f1239; } .r-why.hurts small i { background: #f43f5e; }
.r-why ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.r-why li { display: flex; flex-direction: column; line-height: 1.25; }
.r-why li span { font-size: 12px; color: var(--muted); }
.r-why li b { font-size: 14px; }
@media (max-width: 360px) { .r-why-grid { grid-template-columns: 1fr; } }

/* najveća zamka: tamna kartica, u koracima */
.rtrap { position: relative; margin: 16px 0; padding: 22px 20px 20px; border-radius: 26px; background: #111312; color: #e7e5e4; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); overflow: hidden; }
.rtrap::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; height: 80%; background: radial-gradient(closest-side, rgba(0, 187, 127, .18), transparent); pointer-events: none; }
.rtrap > * { position: relative; }
.rt-head small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #34e3a6; }
.rt-head small i { display: inline-flex; }
.rt-head small svg { width: 18px; height: 18px; }
.rt-head h2 { margin: 6px 0 0; font-size: clamp(30px, 8.5vw, 38px); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.rt-what { margin: 10px 0 0; font-size: 17px; line-height: 1.45; color: #e7e5e4; text-wrap: pretty; }
.rt-note { margin: 8px 0 0; font-size: 14px; color: #a8a29e; }
.rt-quotes { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.rt-quotes small { font-size: 12.5px; font-weight: 700; color: #a8a29e; }
.rt-quotes p { display: flex; gap: 10px; margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: #fff; font-style: italic; }
.rt-quotes p i { flex: none; color: #34e3a6; }
.rt-quotes p svg { width: 18px; height: 18px; }
.rt-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.rt-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 0 0 16px; }
.rt-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17.5px; top: 38px; bottom: 2px; width: 1px; background: rgba(255, 255, 255, .14); }
.rt-ico { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #e7e5e4; }
.rt-ico svg { width: 18px; height: 18px; }
.rt-steps small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; color: #a8a29e; }
.rt-steps p { margin: 3px 0 0; font-size: 16px; line-height: 1.4; color: #fff; }
.rt-warn .rt-ico { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.rt-rule .rt-ico { background: #34e3a6; color: #04261b; }
.rt-rule p { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #34e3a6; }
.rt-task .rt-ico { background: rgba(52, 227, 166, .14); color: #34e3a6; }
.rt-task { padding-bottom: 4px !important; }
.rt-second { display: grid; gap: 2px; margin: 12px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; line-height: 1.4; color: #d6d3d1; }
.rt-second small { font-size: 12.5px; font-weight: 700; color: #a8a29e; }
.rt-second b { font-size: 16px; color: #fff; }

/* štikliranje (zadatak i 7 dana) */
.chk { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 8px 0 0; padding: 12px 14px; text-align: left; font: inherit; color: inherit;
  border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.chk-box { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 1.5px solid #c9c5c2; display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: all .15s var(--ease); }
.chk-box svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.chk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15.5px; line-height: 1.4; font-weight: 600; }
.chk-body em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }
.chk.on { border-color: var(--accent); background: var(--accent-soft); }
.chk.on .chk-box { background: var(--accent); border-color: var(--accent); color: #fff; }
.chk.on-dark { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; }
.chk.on-dark .chk-box { border-color: rgba(255, 255, 255, .35); }
.chk.on-dark .chk-body em { color: #a8a29e; }
.chk.on-dark.on { border-color: #34e3a6; background: rgba(52, 227, 166, .12); }
.chk.on-dark.on .chk-box { background: #34e3a6; border-color: #34e3a6; color: #04261b; }

/* trening: nedelja i podela */
.r-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.r-week span { aspect-ratio: 1; max-width: 42px; justify-self: center; width: 100%; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--faint); border: 1.5px dashed var(--line); }
.r-week span.on { background: var(--accent); border: 0; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 151, 103, .6); }
.r-split { margin-top: 14px; }
.r-split-bar { height: 10px; border-radius: 999px; background: var(--accent-tint); overflow: hidden; }
.r-split-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px 0 0 999px; }
.r-split-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #3f3f46; }
.r-split-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.r-split-legend i.lo { background: var(--accent); } .r-split-legend i.up { background: var(--accent-tint); box-shadow: inset 0 0 0 1px rgba(0, 151, 103, .35); }

/* ishrana */
.r-big { font-size: 18px !important; font-weight: 700; line-height: 1.4 !important; color: var(--ink) !important; letter-spacing: -.005em; }
.r-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.r-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; color: #3f3f46; }
.r-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--accent-strong); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* koliko treba: linija od danas do cilja */
.r-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 700; }
.r-line-a { color: var(--muted); }
.r-line-b { color: var(--accent-strong); }
.r-line-bar { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-tint), var(--accent)); }
.r-line-bar i { position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }

/* prvi mali cilj: samo naslov */
.r-mile .rc-icon { background: #fef3c7; color: #b45309; }

/* 7 dana */
.r-days-list { margin-top: 6px; }
.r-days .chk-body { flex-direction: row; align-items: flex-start; gap: 10px; }
.day-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--raised); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.day-t { display: flex; flex-direction: column; gap: 3px; }
.r-days .chk.on .day-n { background: #fff; color: var(--accent-ink); }
.r-days .chk.on .day-t { color: var(--accent-ink); }


/* ===== Plan po knjizi "Switch": zdravlje kao zadatak, sledeći korak skora, put A/B u 7 dana ===== */
/* zdravlje */
.chk.on-warm { border-color: #fdba74; background: #fff; }
.chk.on-warm .chk-body em { color: #9a3412; }
.chk.on-warm.on { border-color: #ea580c; background: #ffedd5; }
.chk.on-warm.on .chk-box { background: #ea580c; border-color: #ea580c; }
.r-safety .chk { margin-top: 14px; }
.r-safety-q { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); }
.r-safety-q small { font-size: 12.5px; font-weight: 700; color: #9a3412; }
.r-safety-q ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.4; color: #7c2d12; }
.r-safety-q li::marker { font-weight: 700; color: #ea580c; }
.r-safety .r-safety-wait { margin: 10px 0 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: #9a3412; }
.r-safety .r-safety-text { font-size: 13.5px; color: #9a3412; opacity: .9; }

/* sledeći korak ispod skora */
.r-next { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0 !important; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff !important; font-size: 15px !important; font-weight: 600; line-height: 1.4 !important; }
.r-next i { flex: none; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: #34e3a6; color: #04261b; margin-top: 1px; }
.r-next svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.r-growth { margin: 10px 0 0 !important; font-size: 13.5px !important; color: var(--muted) !important; }

/* traka "Već imaš" */
.r-stamps { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); }
.r-stamps-lead { margin: 0; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.r-stamps-row { display: flex; gap: 5px; margin-top: 8px; }
.r-stamps-row i { flex: 1; height: 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 151, 103, .25); transition: background-color .25s var(--ease); }
.r-stamps-row i.on { background: var(--accent); box-shadow: none; }
.r-stamps-row i.given { background: var(--accent-strong); }
.r-stamps-given { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.r-stamps-given li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--accent-ink); }
.r-stamps-given svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--accent-strong); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* dolina + pravilo za preskočen dan */
.r-days-note { margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--raised); }
.r-days-note p { margin: 0; font-size: 14px; line-height: 1.45; color: #3f3f46; }
.r-days-note p + p { margin-top: 4px; }
.r-days-note b { color: var(--ink); }

/* status posle 7 dana */
.r-days-status { margin: 12px 0 0 !important; font-size: 14px !important; font-weight: 700; color: var(--muted) !important; text-align: center; }
.r-days-status.passed { color: var(--accent-ink) !important; }
.r-days-status.notyet { color: #b45309 !important; }

/* ===================== v2 strana rezultata (2026-10-20) =====================
   Posle naslova i Sada/Cilj idu 4 sekcije kao listovi koji se preklapaju (zaobljen vrh, svaka svoja pozadina):
   skor (bela), deo ličnosti (kamen), plan (bela), webinar (tamna). Samo Superfocus boje (vidi CLAUDE.md). */
::selection { background: var(--accent-tint); color: var(--ink); }
.plan-rule ::selection { background: rgba(0, 210, 148, .35); color: #fff; }
/* Na rezultatima je .app pune širine, da sekcije idu od ivice do ivice; naslov i sadržaj sekcija su u koloni od 520px. */
body:has(main.results) .app { max-width: none; padding: 16px 0 0; }
body:has(main.results) .app > .top, .results > h1, .results > .debugpanel { max-width: 560px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.band { position: relative; overflow: hidden; margin: 0; padding: 44px max(20px, calc(50% - 260px)) 76px; border-radius: 32px 32px 0 0;
  box-shadow: 0 -18px 36px -28px rgba(16, 16, 16, .3); }
.band + .band { margin-top: -32px; }
.band-score { margin-top: 10px; background: #fff; border-top: 1px solid var(--line); }
.band-persona { background: #f5f5f4; }
.band-plan { background: #fff; }
.band-wb { padding-bottom: 36px; background: var(--ink); }

/* 1. skor istrajnosti: naslov, broj odmah ispod, traka */
.sx { text-align: center; }
.sx-title { margin: 0; font-size: clamp(24px, 6.6vw, 30px); line-height: 1.15; letter-spacing: -.03em; font-weight: 650; text-wrap: balance; }
.sx-num { margin: 6px 0 0; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sx-num strong { font-size: clamp(88px, 26vw, 112px); font-weight: 700; letter-spacing: -.04em; color: var(--sx-ink); }
.sx-num span { margin-left: 4px; font-size: 24px; font-weight: 600; color: var(--muted); }
.sx-meter { max-width: 380px; height: 12px; margin: 18px auto 0; border-radius: 999px; background: var(--line-soft); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, .04); }
.sx-meter i { display: block; height: 100%; border-radius: inherit; background: var(--sx-c); transform-origin: left center; animation: sx-fill 1.2s var(--ease) .3s both; }
.sx-scale { display: flex; justify-content: space-between; max-width: 380px; margin: 8px auto 0; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sx-low { --sx-c: var(--sf-rose); --sx-ink: var(--sf-rose); }
.sx-mid { --sx-c: var(--sf-amber); --sx-ink: var(--sf-amber); }
.sx-high { --sx-c: var(--accent); --sx-ink: var(--accent-ink); }
@keyframes sx-fill { from { transform: scaleX(0); } }

/* veliki naslovi na početku sekcija 2 i 3 */
.bridge h2, .plan > h2 { margin: 0; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.07; letter-spacing: -.038em; font-weight: 650; text-wrap: balance; }
.bridge p, .plan-sub { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.bridge .bridge-note { margin-top: 10px; font-size: 15px; }

/* 2. deo ličnosti */
.px { margin: 30px 0 0; }
.px-stage { margin: 0; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(16, 16, 16, .05), 0 24px 48px -30px rgba(16, 16, 16, .35); } /* slike imaju providnu pozadinu */
.px-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.px-name { margin: 26px 0 0; font-size: clamp(40px, 11.5vw, 54px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.px p, .px li { font-size: 17px; line-height: 1.62; color: var(--ink); text-wrap: pretty; }
.px > p { margin: 14px 0 0; }
.px b { font-weight: 650; }
.px h3 { margin: 46px 0 14px; font-size: 22px; line-height: 1.2; letter-spacing: -.022em; font-weight: 650; }
.px-quote { margin: 0; padding: 20px 22px 22px; border-radius: 24px 24px 24px 6px; background: var(--ink); box-shadow: 0 22px 40px -28px rgba(16, 16, 16, .7); }
.px .px-quote p { margin: 0; font-size: clamp(22px, 6.2vw, 26px); line-height: 1.28; font-weight: 600; letter-spacing: -.018em; color: #fff; text-wrap: balance; }
.px-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d6d3d1; }
.px-list li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid #d6d3d1; }
.px-list li::before { content: ""; position: absolute; left: 3px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--sf-rose); }
/* krug: koraci nadole, pa crvena strelica nazad na prvi korak */
.px-loop { position: relative; list-style: none; margin: 4px 0 0; padding: 0 56px 0 0; }
.px .px-loop li { position: relative; padding: 0 0 20px 34px; font-weight: 600; line-height: 1.35; }
.px-loop li:last-child { padding-bottom: 0; }
.px-loop li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.px-loop li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 21px; bottom: -3px; width: 2px; background: #d6d3d1; }
.px-loop::before { content: ""; position: absolute; right: 12px; top: 11px; bottom: 11px; width: 28px; border: 2px solid var(--sf-rose); border-left: 0; border-radius: 0 18px 18px 0; }
.px-loop::after { content: ""; position: absolute; right: 39px; top: 6px; border-style: solid; border-width: 6px 9px 6px 0; border-color: transparent var(--sf-rose) transparent transparent; }
.px-wants { margin: 46px 0 0; padding: 22px; border-radius: 24px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px #a4f4cf; }
.px .px-wants h3 { margin: 0 0 8px; color: var(--accent-ink); }
.px .px-wants p { margin: 0; color: var(--accent-ink); }

/* 3. plan za 7 dana */
/* zdravlje u planu: mirna kartica (bez narandžaste), šta je naveo, jedan potez, pravna rečenica */
.hc { margin: 26px 0 0; padding: 18px 18px 16px; border-radius: 22px; background: #fafaf9; border: 1px solid var(--line); }
.hc-head { display: flex; align-items: center; gap: 12px; }
.hc-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, #d97706 12%, #fff); color: var(--sf-amber); }
.hc-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc h3 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; text-wrap: balance; }
.hc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; }
.hc-tags span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hc-tags .hc-label { padding: 0 2px 0 0; border: 0; background: none; font-weight: 500; color: var(--muted); }
.hc-task { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.hc-task b { font-weight: 650; }
.hc-legal { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan-learn { margin: 26px 0 0; font-size: 17px; line-height: 1.62; color: var(--ink); text-wrap: pretty; }
.plan-learn b, .plan-rail b { font-weight: 650; }
.plan-rule { position: relative; overflow: hidden; margin: 22px 0 0; padding: 24px 22px 26px; border-radius: 26px; background: var(--ink); box-shadow: 0 30px 60px -32px rgba(16, 16, 16, .7); }
.plan-rule::before { content: ""; position: absolute; right: -30%; top: -70%; width: 100%; height: 140%; background: radial-gradient(closest-side, rgba(0, 210, 148, .24), transparent); pointer-events: none; }
.plan-rule > * { position: relative; }
.plan-rule h3 { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: 0; color: #00d294; }
.plan-rule-text { margin: 10px 0 0; font-size: clamp(24px, 6.8vw, 30px); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.plan-rule-note { margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: #a6a09b; }
.plan-rail { list-style: none; margin: 42px 0 0; padding: 0; }
.plan-rail > li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding-bottom: 36px; }
.plan-rail > li:last-child { padding-bottom: 0; }
.plan-rail > li:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 46px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
.pr-ico { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 1px #a4f4cf; }
.pr-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pr-trap .pr-ico { background: color-mix(in srgb, #e11d48 8%, #fff); color: var(--sf-rose); box-shadow: inset 0 0 0 1px color-mix(in srgb, #e11d48 25%, #fff); }
.pr-end .pr-ico { background: var(--accent); color: #fff; box-shadow: none; }
.plan-rail h3 { margin: 7px 0 12px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.pr-dots, .pr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pr-dots > li, .pr-steps > li { position: relative; font-size: 17px; line-height: 1.58; color: var(--ink); text-wrap: pretty; }
.pr-dots > li { padding-left: 20px; }
.pr-dots > li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.pr-steps { counter-reset: st; }
.pr-steps > li { counter-increment: st; padding-left: 36px; }
.pr-steps > li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 25px; height: 25px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-sub { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pr-sub li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.5; }
.pr-sub li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 2px; border-radius: 2px; background: var(--faint); }

/* 4. webinar, isti za sve: tamna sekcija, naslov, strelice na svih 6 ličnosti (bele kartice), tekst, dugme */
.wb { text-align: center; color: #d6d3d1; }
.wb ::selection { background: rgba(0, 210, 148, .35); color: #fff; }
.wb::before { content: ""; position: absolute; left: 50%; top: -40px; width: min(560px, 130%); height: 300px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 210, 148, .22), transparent); pointer-events: none; }
.wb > * { position: relative; }
.wb h2 { margin: 0; font-size: clamp(28px, 7.8vw, 36px); line-height: 1.08; letter-spacing: -.035em; font-weight: 650; color: #fff; text-wrap: balance; }
.wb-arrows { display: block; width: min(100%, 340px); height: auto; margin: 12px auto 8px; fill: none; stroke: #00d294; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wb-cast { list-style: none; margin: 0 auto; padding: 0; max-width: 470px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wb-cast li { padding: 6px 6px 10px; border-radius: 20px; background: #fff; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9); }
.wb-cast img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.wb-cast span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.25; font-weight: 650; color: var(--ink); text-wrap: balance; }
.wb-body p { margin: 26px auto 0; max-width: 32em; font-size: 17px; line-height: 1.55; color: #d6d3d1; text-wrap: pretty; }
.wb .btn.wb-btn { margin-top: 24px; min-height: 58px; background: var(--accent); border-color: var(--accent); color: var(--action); font-weight: 700; }
.wb .btn.wb-btn:hover:not(:disabled) { background: #00d294; border-color: #00d294; box-shadow: 0 14px 30px -12px rgba(0, 210, 148, .55); }
.wb .btn.wb-btn:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px #00d294; }
.wb .wb-body .wb-note { margin-top: 12px; font-size: 14px; color: #a6a09b; }
.wb-thanks { padding: 8px 0 4px; }
.wb-check { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: var(--action); box-shadow: 0 0 0 8px rgba(0, 210, 148, .18); }
.wb-check svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wb-thanks h2 { margin-top: 20px; outline: none; }
.wb-body .wb-thanks p { margin-top: 14px; }
.wb-thanks.is-new .wb-check { animation: wb-pop .6s var(--ease) both; }
.wb-thanks.is-new h2, .wb-thanks.is-new p { animation: sf-enter .5s var(--ease) .12s both; }
@keyframes wb-pop { from { transform: scale(.4); opacity: 0; } }
.wb .disclaimer { max-width: 32em; margin: 44px auto 0; font-size: 12px; line-height: 1.5; color: #a6a09b; }
@media (prefers-reduced-motion: reduce) {
  .sx-meter i, .wb-thanks.is-new .wb-check, .wb-thanks.is-new h2, .wb-thanks.is-new p { animation: none; }
}

/* v2: predah pre tvrdnji: skor je izračunat (zelena kvačica), zamka je još zaključana, ispod zamućenih svih 6 ličnosti */
.cp-locked .cp-row-text { flex: 1; }
.cp-locked .cp-row-text b { font-size: 16px; }
.cp-locked.is-done .cp-lock { background: var(--accent); color: #fff; }
.cp-locked.is-done .cp-lock svg { stroke-width: 3; }
.cp-cast { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 0 4px 42px; }
.cp-cast span { display: block; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.cp-cast img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: blur(2.5px); opacity: .8; transform: scale(1.08); }

/* v2: slike predaha (figura na stepenicama), između teksta i kartice */
.cp-art { margin: -6px 0 6px; }
.cp-art img { display: block; width: 100%; height: auto; max-height: 20vh; object-fit: contain; animation: sf-enter .6s var(--ease) .1s both; }
@media (prefers-reduced-motion: reduce) { .cp-art img { animation: none; } }

/* v2: greška ispod polja na kapiji (po uzoru na smilescale.rs/form): okvir polja i kratka poruka sa ikonicom */
.gate-field { display: flex; flex-direction: column; }
.gate-field .check { margin-top: 8px; }
.field-error { display: none; align-items: flex-start; gap: 6px; margin: 6px 2px 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--sf-rose); }
.field-error svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gate-field.has-error .field-error { display: flex; animation: field-err-in .18s ease both; }
.gate .gate-field.has-error input[type=text], .gate .gate-field.has-error input[type=email] { border-color: var(--sf-rose); box-shadow: 0 0 0 3px color-mix(in srgb, #e11d48 14%, transparent); }
.gate-field.has-error .check input { outline: 2px solid var(--sf-rose); outline-offset: 1px; border-radius: 4px; }
@keyframes field-err-in { from { opacity: 0; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .gate-field.has-error .field-error { animation: none; } }

/* Bez zumiranja na telefonu kad se klikne u polje: iPhone zumira svako polje sa slovima manjim od 16px.
   Sva polja za kucanje imaju najmanje 16px (broj je 32px), a iOS ne povećava slova sam pri okretanju telefona. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, textarea, select { font-size: max(16px, 1em); }
.gate input[type=text], .gate input[type=email], .otherbox input { font-size: 16px; }

