/* Prof na klik: školska bilježnica, marker i crvena olovka. */

@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat-latin-wght-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #fbf8f1;
  --paper-2: #f4efe3;
  --white: #fff;
  --ink: #15173d;
  --ink-2: #4b4d70;
  --ink-3: #626480;
  --line: #e5dfd0;
  --blue: #3347ff;
  --blue-dark: #2433c9;
  --blue-soft: #e6e9ff;
  --yellow: #ffd84d;
  --yellow-soft: #fff4c7;
  --coral: #ff6b4a;
  --coral-soft: #ffe3db;
  --mint: #2fcb9b;
  --mint-soft: #d8f6ec;
  --lilac: #c9bcff;
  --grid: rgba(51, 71, 255, .075);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px -22px rgba(21, 23, 61, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.hand { font-family: var(--hand); font-weight: 700; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Gumbi: fizički "klik" */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .62em 1.2em; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); color: var(--ink); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 0 4px 0 var(--ink); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--yellow { background: var(--yellow); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--white); }
.btn--sm { min-height: 40px; padding: .4em .95em; font-size: .95rem; border-radius: 12px; box-shadow: 0 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--ink); }
.btn--lg { min-height: 56px; padding: .7em 1.45em; font-size: 1.1rem; border-radius: 16px; }
.btn--block { width: 100%; }
.link-btn { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn--danger { color: #c32f12; }

/* Gornja traka */
.topbar { background: var(--ink); color: #fff; font-size: .92rem; text-align: center; padding: 8px 16px; }
.topbar-tag { font-family: var(--hand); font-size: 1.25rem; font-weight: 700; color: var(--yellow); line-height: 1; margin-right: .2em; }
.topbar a { display: inline-flex; align-items: center; gap: .3em; color: var(--yellow); font-weight: 700; text-underline-offset: 3px; }
.topbar a .i { width: 1em; height: 1em; }

/* Zaglavlje */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 241, .9); backdrop-filter: blur(10px); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo-mark { width: 40px; height: 40px; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.logo-text { font: 800 1.42rem/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.logo-text em { font-style: normal; color: var(--blue); }
.logo--light { color: #fff; }
.logo--light .logo-text em { color: var(--yellow); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-weight: 600; }
.main-nav a { text-decoration: none; position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--yellow); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; border-radius: 3px; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); cursor: pointer; }

/* Junak */
.hero { position: relative; overflow: hidden; padding: 56px 0 84px; }
.hero-paper { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--grid) 1.5px, transparent 1.5px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 20%, #000 40%, transparent 95%); mask-image: radial-gradient(ellipse 90% 90% at 60% 20%, #000 40%, transparent 95%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); font-size: .92rem; font-weight: 600; }
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.hero-title { margin-top: 22px; font-size: clamp(2.9rem, 6.1vw, 5.25rem); line-height: .98; letter-spacing: -.04em; }
.hl { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.hl::before { content: ''; position: absolute; inset: .1em -.14em .02em; z-index: -1; background: var(--yellow); border-radius: .14em .32em .2em .28em; transform: rotate(-1.2deg) skewX(-6deg) scaleX(0); transform-origin: left center; animation: swipe .7s .35s cubic-bezier(.2, .85, .25, 1) forwards; }
.hl--static::before { animation: none; transform: rotate(-1.2deg) skewX(-6deg); }
@keyframes swipe { to { transform: rotate(-1.2deg) skewX(-6deg) scaleX(1); } }
.hl-cursor { position: absolute; right: -.62em; bottom: -.34em; width: .72em; height: .72em; animation: cursor-in .6s 1s cubic-bezier(.3, 1.4, .5, 1) both, cursor-click 3.6s 2s ease-in-out infinite; transform-origin: 30% 30%; }
.hl-cursor-rays { animation: rays 3.6s 2s ease-out infinite; opacity: 0; }
@keyframes cursor-in { from { opacity: 0; transform: translate(.5em, .4em); } to { opacity: 1; transform: none; } }
@keyframes cursor-click { 0%, 84%, 100% { transform: scale(1); } 90% { transform: scale(.82); } }
@keyframes rays { 0%, 86% { opacity: 0; } 91% { opacity: 1; } 100% { opacity: 0; } }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .96rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .i { color: #149a72; stroke-width: 3; width: 1.05em; height: 1.05em; }

.hero-side { position: relative; padding: 18px 0 0; }
.notebook { position: relative; z-index: 2; }
.notebook-rings { position: absolute; left: 26px; right: 26px; top: -14px; z-index: 3; display: flex; justify-content: space-between; }
.notebook-rings span { width: 12px; height: 30px; border-radius: 7px; background: var(--ink); box-shadow: inset 2px 0 0 rgba(255, 255, 255, .28); }
.notebook-page { position: relative; padding: 36px 26px 22px; background-color: var(--white); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 9px 9px 0 var(--ink); }
.klik-id { display: flex; align-items: center; gap: 12px; }
.klik-avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 14px; background: var(--yellow); }
.klik-avatar .i { width: 24px; height: 24px; fill: var(--ink); stroke: none; }
.klik-name { font: 800 1.15rem/1.15 var(--display); }
.klik-role { font-size: .9rem; color: var(--ink-2); line-height: 1.3; }
.ask { position: relative; margin-top: 12px; }
.ask-label { display: block; font-size: 2.35rem; line-height: 1.15; color: var(--blue); transform: rotate(-1.2deg); transform-origin: left; margin-bottom: 8px; }
.ask textarea { display: block; width: 100%; padding: 14px 16px 66px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); font-size: 1.05rem; line-height: 1.45; resize: none; }
.ask textarea::placeholder { color: var(--ink-3); }
.ask textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--blue-soft); }
.ask-send { position: absolute; right: 11px; bottom: 13px; }
.ask-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ask-example { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--paper); font-size: .875rem; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; transition: background-color .15s, transform .15s; }
.ask-example:hover { background: var(--yellow); transform: translateY(-1px); }
.ask-note { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }

.sticky { position: absolute; z-index: 1; padding: 14px 18px; font: 700 1.5rem/1.1 var(--hand); box-shadow: 0 10px 18px -10px rgba(21, 23, 61, .4); }
.sticky--formula { right: -30px; top: -34px; z-index: 4; background: var(--yellow); transform: rotate(5deg); animation: bob 6s ease-in-out infinite; }
.sticky--lektira { right: 26px; bottom: -42px; z-index: 3; background: var(--coral); color: var(--ink); transform: rotate(-4deg); animation: bob 7s -2s ease-in-out infinite; }
.sticky-q { margin-left: 8px; color: #c32f12; font-size: 1.9rem; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.hero-note { position: absolute; left: -104px; top: 74px; z-index: 3; width: 102px; font-size: 1.4rem; line-height: 1.02; color: #c32f12; transform: rotate(-5deg); }
.doodle-arrow { width: 74px; margin: 4px 0 0 18px; }

/* Pomične trake predmeta */
.marquee { overflow: hidden; background: var(--ink); color: #fff; transform: rotate(-.6deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; padding: 13px 0; animation: marquee 70s linear infinite; }
.marquee span { display: inline-flex; align-items: center; font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.marquee span::after { content: '✶'; margin: 0 22px; color: var(--yellow); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sekcije */
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2.05rem, 4.2vw, 3.3rem); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--split > div { max-width: 720px; }
.section-head--split .btn { flex: none; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.12rem; }
.eyebrow { font-size: 1.65rem; line-height: 1.1; color: #c32f12; margin-bottom: 6px; transform: rotate(-1deg); transform-origin: left; }
.eyebrow--yellow { color: var(--yellow); }

/* Razine */
.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.level-card { position: relative; display: flex; flex-direction: column; min-height: 390px; overflow: hidden; padding: 30px 28px 28px; border: 2.5px solid var(--ink); border-radius: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.level-card:hover { transform: translateY(-5px); box-shadow: 0 9px 0 var(--ink); }
.level-card--yellow { background: var(--yellow); }
.level-card--coral { background: var(--coral); }
.level-card--blue { background: var(--blue); color: #fff; }
.level-glyph { position: absolute; right: 12px; top: -8px; font: 800 9rem/1 var(--display); opacity: .16; letter-spacing: -.05em; pointer-events: none; }
.level-card h3 { position: relative; margin-top: 56px; font-size: 2.1rem; }
.level-card h3 a { text-decoration: none; }
.level-card h3 a::after { content: '→'; display: inline-block; margin-left: .25em; transition: transform .2s ease; }
.level-card:hover h3 a::after { transform: translateX(5px); }
.level-card > p { position: relative; margin-top: 12px; font-weight: 500; }
.level-links { position: relative; display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; }
.level-links a { display: block; padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .15s, transform .15s; }
.level-links a:hover { background: var(--paper-2); transform: translateY(-1px); }

/* Kako radi */
.how { background: var(--paper-2); border-block: 1.5px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: none; }
.step { position: relative; }
.step-art { display: flex; flex-direction: column; justify-content: center; gap: 10px; height: 196px; padding: 20px; background-color: var(--white); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; border: 2px solid var(--ink); border-radius: 20px; margin-bottom: 22px; overflow: hidden; }
.step-no { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font: 800 1.15rem/1 var(--display); }
.step h3 { font-size: 1.5rem; }
.step p { margin-top: 8px; color: var(--ink-2); }
.bubble { display: block; width: fit-content; max-width: 92%; padding: 9px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.32; }
.bubble--me { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.bubble--klik { background: var(--yellow-soft); border: 1.5px solid var(--ink); border-bottom-left-radius: 5px; }
.mini-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; }
.mini-card--hit { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-1.2deg); }
.mini-avatar { width: 38px; height: 38px; flex: none; border-radius: 11px; }
.mini-lines { flex: 1; display: grid; gap: 7px; }
.mini-lines i { display: block; height: 8px; border-radius: 5px; background: var(--line); }
.mini-lines i:last-child { width: 62%; }
.mini-card--hit .mini-lines i { background: var(--ink); }
.mini-card--hit .mini-lines i:last-child { background: var(--ink-3); }
.mini-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); }
.mini-check .i { stroke-width: 3; width: 17px; height: 17px; }
.step-art--call { align-items: center; gap: 14px; }
.call-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 2px solid var(--ink); border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 4px 0 var(--ink); }
.call-time { font-size: 1.7rem; line-height: 1; color: #c32f12; transform: rotate(-3deg); }

/* Kartice instruktora */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tcard { position: relative; display: flex; flex-direction: column; padding: 22px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: 6px 7px 0 var(--ink); }
.tcard:focus-within { box-shadow: 6px 7px 0 var(--ink); }
.tcard-head { display: flex; align-items: center; gap: 13px; padding-right: 8px; }
.tcard-name { font-weight: 700; line-height: 1.25; }
.tcard-meta { font-size: .875rem; line-height: 1.3; color: var(--ink-2); }
.tcard-title { margin-top: 15px; font-size: 1.28rem; line-height: 1.16; letter-spacing: -.015em; }
.tcard-title a { text-decoration: none; }
.tcard-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard .chips { margin-top: 13px; }
.chip { padding: 3px 10px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-size: .84rem; font-weight: 600; }
.chip--more { background: var(--paper-2); color: var(--ink-2); }
.chips--lg .chip { padding: 6px 13px; font-size: .96rem; border-radius: 10px; }
.tcard-levels { margin-top: 11px; font-size: .86rem; color: var(--ink-2); }
.tcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 16px; }
.tcard-foot::before { content: ''; flex-basis: 100%; height: 0; border-top: 2px dashed var(--line); margin-bottom: 9px; }
.price { display: flex; align-items: baseline; gap: 1px; }
.price strong { font: 800 1.35rem/1 var(--display); }
.price span { font-size: .875rem; color: var(--ink-2); }
.tcard-place { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; color: var(--ink-2); }
.tag-trial { margin-left: auto; padding: 2px 9px; border-radius: 7px; background: var(--mint-soft); color: #0b6b4e; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.tag-demo { position: absolute; right: -8px; top: -12px; z-index: 2; padding: 2px 11px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 7px; font: 700 1.05rem/1.25 var(--hand); transform: rotate(3deg); }
.avatar { display: grid; place-items: center; flex: none; overflow: hidden; border: 2px solid var(--ink); border-radius: 15px; font: 800 1rem/1 var(--display); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 44px; height: 44px; font-size: .95rem; border-radius: 13px; }
.avatar--md { width: 54px; height: 54px; font-size: 1.1rem; }
.avatar--xl { width: 118px; height: 118px; font-size: 2.3rem; border-radius: 26px; border-width: 2.5px; box-shadow: 5px 5px 0 var(--ink); }
.av-c0 { background: var(--yellow); }
.av-c1 { background: var(--coral); }
.av-c2 { background: var(--lilac); }
.av-c3 { background: var(--mint); }
.av-c4 { background: #9fd6ff; }

.nudge { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.nudge .hand { font-size: 1.6rem; line-height: 1.1; color: var(--yellow); transform: rotate(-1.5deg); transform-origin: left; }
.nudge-title { margin: 10px 0 auto; font: 700 1.28rem/1.2 var(--display); }
.nudge .btn { margin-top: 18px; border-color: var(--yellow); box-shadow: 0 4px 0 #b8941e; }
.nudge .btn:hover { box-shadow: 0 6px 0 #b8941e; }

/* Za instruktore */
.teachers { position: relative; overflow: hidden; padding: 100px 0; background-color: var(--ink); background-image: linear-gradient(rgba(255, 255, 255, .045) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1.5px, transparent 1.5px); background-size: 34px 34px; color: #fff; }
.teachers-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px 64px; align-items: center; }
.teachers h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; }
.teachers-lead { margin-top: 20px; font-size: 1.18rem; color: #d3d4e6; max-width: 33em; }
.teachers-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.teachers .btn--yellow { border-color: var(--yellow); box-shadow: 0 5px 0 #b8941e; }
.teachers .btn--yellow:hover { box-shadow: 0 7px 0 #b8941e; }
.teachers .btn--yellow:active { box-shadow: 0 0 0 #b8941e; }
.teachers-note { font-size: 1.5rem; color: var(--yellow); transform: rotate(-2deg); line-height: 1.1; }
.teachers-demo { position: relative; padding-top: 12px; }
.zero-badge { position: absolute; right: -22px; top: -74px; z-index: 2; display: grid; place-items: center; align-content: center; width: 138px; height: 138px; padding: 12px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); text-align: center; transform: rotate(9deg); }
.zero-badge strong { font: 800 2.7rem/1 var(--display); letter-spacing: -.03em; }
.zero-badge span { font-size: .76rem; font-weight: 700; line-height: 1.15; margin-top: 3px; }
.demo-chat { display: grid; gap: 10px; padding: 24px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 24px; color: var(--ink); box-shadow: 9px 9px 0 var(--blue); }
.demo-chat-label { font: 700 1.5rem/1 var(--hand); color: #c32f12; padding-right: 110px; margin-bottom: 4px; }
.demo-card { display: flex; gap: 12px; padding: 13px; border: 2px solid var(--ink); border-radius: 15px; background: var(--paper); }
.demo-card-name { font-weight: 700; line-height: 1.25; }
.demo-card-sub { font-size: .875rem; color: var(--ink-2); line-height: 1.3; }
.demo-card-why { margin-top: 5px; font-size: .9rem; font-weight: 500; color: var(--blue-dark); line-height: 1.3; }
.benefits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 24px; border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 18px; background: rgba(255, 255, 255, .045); transition: background-color .2s, border-color .2s; }
.benefit:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .45); }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); }
.benefit h3 { margin-top: 14px; font-size: 1.28rem; letter-spacing: -.015em; }
.benefit p { margin-top: 6px; font-size: .98rem; color: #d3d4e6; }

/* Pitanja */
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.faq-inner a { color: var(--blue); font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; transition: box-shadow .15s; }
.faq-item[open] { box-shadow: 4px 5px 0 var(--ink); }
.faq-item summary { position: relative; display: block; padding: 16px 54px 16px 20px; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 8.5px; height: 3px; border-radius: 2px; background: var(--blue); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-2); }

/* Završni poziv */
.final { padding: 0 0 96px; }
.final-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.final-card { position: relative; display: block; min-height: 230px; padding: 34px; border: 2.5px solid var(--ink); border-radius: 28px; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.final-card:hover { transform: translateY(-5px); box-shadow: 0 9px 0 var(--ink); }
.final-card--blue { background: var(--blue); color: #fff; }
.final-card--yellow { background: var(--yellow); }
.final-card .hand { font-size: 2rem; line-height: 1; }
.final-card h2 { margin-top: 10px; max-width: 11em; font-size: clamp(2rem, 3.8vw, 3rem); }
.final-arrow { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 54px; height: 54px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink); transition: transform .18s; }
.final-card:hover .final-arrow { transform: translateX(5px); }

/* Podnožje */
.site-footer { padding: 58px 0 26px; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer-brand p { margin-top: 14px; max-width: 24em; color: #c5c6dc; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer nav h2 { font: 700 .86rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.site-footer nav a { color: #e1e2ee; text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 22px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; color: #c5c6dc; }
.footer-bottom .hand { font-size: 1.4rem; line-height: 1; color: var(--yellow); }

/* Oglasnik */
.page-hero { padding: 44px 0 26px; background-image: linear-gradient(var(--grid) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--grid) 1.5px, transparent 1.5px); background-size: 30px 30px; border-bottom: 1.5px solid var(--line); }
.page-hero h1, .post-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -.035em; }
.page-lead { margin-top: 12px; font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.listing { padding: 34px 0 96px; }
.listing-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 90px; max-height: calc(100vh - 106px); overflow-y: auto; padding: 22px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.filters-toggle { display: none; width: 100%; }
.filters-form { display: grid; gap: 16px; }
.filters-reset { justify-self: center; font-size: .92rem; color: var(--ink-2); text-underline-offset: 3px; }
.js .filters-submit { display: none; }
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-size: .94rem; font-weight: 700; }
.field > legend { margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field--end { align-content: end; padding-bottom: 8px; }
.field-hint { font-size: .85rem; color: var(--ink-3); line-height: 1.35; }
.field-hint--lead { font-size: .96rem; color: var(--ink-2); margin-bottom: 4px; }
.field-error { font-size: .875rem; font-weight: 600; color: #c32f12; }
.field-error:empty { display: none; }
.optional { font-weight: 500; font-size: .84rem; color: var(--ink-3); }
input:not([type='checkbox'], [type='radio'], [type='file']), select, textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); line-height: 1.35; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--blue-soft); border-color: var(--blue); }
.is-invalid { border-color: #c32f12 !important; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 12px; top: 14px; color: var(--ink-3); }
.input-icon input { padding-left: 40px; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 11px; font-weight: 700; color: var(--ink-2); }
.input-suffix input { padding-right: 34px; }
.seg { display: flex; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg label + label { border-left: 2px solid var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 42px; padding: 4px 6px; font-size: .88rem; font-weight: 600; text-align: center; line-height: 1.15; transition: background-color .12s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { box-shadow: inset 0 0 0 3px var(--blue); }
.seg--full span { min-height: 46px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 21px; height: 21px; margin: 0; accent-color: var(--blue); }
.check a { color: var(--blue); font-weight: 600; }
.check--plain { align-items: center; font-weight: 600; color: var(--ink); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-count { font: 800 1.4rem/1 var(--display); letter-spacing: -.02em; }
.results-sort { display: flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 600; }
.results-sort select { width: auto; min-height: 42px; padding-block: 6px; }
.results .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice { display: flex; gap: 11px; padding: 14px 18px; margin-bottom: 24px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 15px; font-size: .98rem; line-height: 1.4; }
.notice > .i { margin-top: 2px; }
.notice a { color: var(--blue-dark); font-weight: 700; }
.empty { padding: 34px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.empty-hand { font-size: 1.8rem; line-height: 1; color: #c32f12; }
.empty h2 { margin-top: 8px; font-size: 1.8rem; }
.empty > p:not(.empty-hand) { margin-top: 8px; color: var(--ink-2); }
.request-form { display: grid; gap: 13px; margin-top: 20px; }
.form-msg { font-size: .95rem; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #c32f12; }
.form-msg.is-ok { color: #0b6b4e; }
.request-form .btn { justify-self: start; }

/* Stranica oglasa */
.tutor-page { padding: 30px 0 96px; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tutor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.tutor-head { display: flex; gap: 26px; align-items: flex-start; }
.tutor-name { font: 700 1.7rem/1.1 var(--hand); color: #c32f12; }
.tutor-head h1 { margin-top: 4px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.04; }
.tutor-meta { margin-top: 10px; color: var(--ink-2); }
.tutor-jump { display: none; margin-top: 14px; }
.tutor-block { margin-top: 34px; padding-top: 28px; border-top: 2px dashed var(--line); }
.tutor-block h2 { font-size: 1.5rem; margin-bottom: 12px; }
.tutor-block p + p { margin-top: 12px; }
.tutor-block > p { white-space: pre-line; max-width: 42em; }
.tutor-levels { margin-top: 14px; }
.contact-card { position: sticky; top: 92px; padding: 26px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); }
.tag-trial--corner { position: absolute; right: 18px; top: 28px; }
.contact-price strong { font: 800 2.6rem/1 var(--display); letter-spacing: -.03em; }
.contact-price span { color: var(--ink-2); }
.contact-facts { display: grid; gap: 9px; margin: 16px 0 20px; }
.contact-facts li { display: flex; gap: 9px; line-height: 1.35; font-size: .98rem; }
.contact-facts .i { margin-top: 1px; color: var(--blue); }
.contact-result { display: grid; gap: 9px; margin-top: 14px; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 13px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-line:hover { background: var(--yellow); }
.contact-tip { display: flex; gap: 9px; margin-top: 17px; font-size: .86rem; line-height: 1.4; color: var(--ink-2); }
.contact-tip .i { color: #149a72; }
.report { margin-top: 13px; font-size: .9rem; }
.report summary { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); cursor: pointer; }
.report form { display: grid; gap: 8px; margin-top: 10px; }
.report .btn { justify-self: start; }

/* Predaja oglasa */
.post-hero { padding: 46px 0 30px; background-image: linear-gradient(var(--grid) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--grid) 1.5px, transparent 1.5px); background-size: 30px 30px; border-bottom: 1.5px solid var(--line); }
.post-pitch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.post-pitch li { display: flex; gap: 11px; align-items: flex-start; }
.post-pitch strong { display: block; line-height: 1.25; }
.post-pitch span:not(.benefit-icon) { display: block; font-size: .92rem; line-height: 1.35; color: var(--ink-2); margin-top: 2px; }
.post-pitch .benefit-icon { flex: none; border: 2px solid var(--ink); }
.post-section { padding: 36px 0 90px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.ad-form { padding: 30px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 26px; }
.stepper { display: flex; gap: 6px; margin-bottom: 28px; }
.stepper-item { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-3); padding-bottom: 10px; border-bottom: 4px solid var(--line); transition: border-color .2s, color .2s; }
.stepper-item span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); font-size: .82rem; font-weight: 700; }
.stepper-item em { font-style: normal; line-height: 1.1; }
.stepper-item.is-active { color: var(--ink); border-color: var(--blue); }
.stepper-item.is-active span { background: var(--blue); color: #fff; }
.stepper-item.is-done { color: var(--ink); border-color: var(--mint); }
.stepper-item.is-done span { background: var(--mint); }
.ad-step { display: grid; gap: 18px; }
.ad-step-title { font: 800 1.7rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 18px; }
.photo-field { display: flex; align-items: center; gap: 18px; }
.photo-field > div:last-child { min-width: 0; }
.photo-field .link-btn { margin-left: 10px; font-size: .92rem; }
.photo-field .field-hint { margin-top: 8px; }
.photo-preview { display: grid; place-items: center; flex: none; width: 92px; height: 92px; overflow: hidden; border: 2px dashed var(--ink-3); border-radius: 22px; background: var(--paper); color: var(--ink-3); }
.photo-preview .i { width: 30px; height: 30px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview.has-photo { border: 2px solid var(--ink); }
.toggle-group { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; cursor: pointer; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.toggle span { display: block; padding: 9px 15px; border: 2px solid var(--ink); border-radius: 12px; font-size: .95rem; font-weight: 600; line-height: 1.2; transition: background-color .12s, transform .12s; }
.toggle:hover span { background: var(--paper-2); }
.toggle input:checked + span { background: var(--yellow); box-shadow: 0 3px 0 var(--ink); transform: translateY(-1px); }
.toggle input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chips--removable { margin-bottom: 9px; }
.chips--removable:empty { display: none; }
.chips--removable .chip { display: inline-flex; align-items: center; gap: 5px; padding-right: 4px; font-size: .92rem; }
.chip-x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.chip-x:hover { background: rgba(36, 51, 201, .15); }
.chip-x .i { width: 14px; height: 14px; }
.subject-entry { display: flex; gap: 8px; }
.subject-entry .btn { flex: none; min-height: 46px; }
.subject-picker .field-hint { margin-top: 10px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.suggestion { padding: 4px 11px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper); font-size: .875rem; font-weight: 500; cursor: pointer; transition: border-color .12s, background-color .12s; }
.suggestion:hover { border-color: var(--ink); background: var(--yellow-soft); }
.ad-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.ad-nav [data-next], .ad-nav [data-submit] { margin-left: auto; }
.ad-form > .form-msg { margin-top: 16px; }
.danger-zone { margin-top: 26px; padding-top: 18px; border-top: 2px dashed var(--line); text-align: right; }
.ad-preview-wrap { position: sticky; top: 92px; }
.ad-preview-label { font-size: 1.6rem; line-height: 1; color: #c32f12; margin: 0 0 14px 6px; transform: rotate(-1.5deg); transform-origin: left; }
.ad-preview-wrap .tcard { transform: none; box-shadow: 7px 7px 0 var(--ink); }
.status-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 18px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 13px; background: var(--white); }
.status-banner a { color: var(--blue); font-weight: 700; }
.status--ok { background: var(--mint-soft); }
.status--wait { background: var(--yellow-soft); }
.status--bad { background: var(--coral-soft); }
.success-screen { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(21, 23, 61, .6); backdrop-filter: blur(4px); }
.success-card { width: min(540px, 100%); padding: 34px; text-align: center; background: var(--white); border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: 9px 9px 0 var(--ink); }
.success-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--mint); }
.success-icon .i { width: 30px; height: 30px; stroke-width: 3; }
.success-card h2 { margin-top: 14px; font-size: 2rem; }
.success-card > p { margin-top: 8px; color: var(--ink-2); }
.manage-box { margin: 20px 0; padding: 15px; text-align: left; font-size: .95rem; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 15px; }
.copy-row { display: flex; gap: 8px; margin-top: 11px; }
.copy-row input { min-width: 0; font-size: .875rem; }
.copy-row .btn { flex: none; min-height: 46px; }

/* Pravne stranice i greške */
.legal { padding: 44px 0 90px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
.legal-updated { margin-top: 8px; font-size: .94rem; color: var(--ink-3); }
.legal h2 { margin: 34px 0 10px; font-size: 1.4rem; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }
.legal ul { display: grid; gap: 9px; list-style: disc; padding-left: 1.2em; }
.error-page { padding: 90px 0 120px; text-align: center; }
.error-hand { font-size: 2.3rem; line-height: 1; color: #c32f12; }
.error-page h1 { margin-top: 8px; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.error-page p:not(.error-hand) { margin-top: 12px; color: var(--ink-2); }
.error-page .hero-actions { justify-content: center; }

/* Admin */
.admin-login { display: grid; place-items: center; min-height: 60vh; padding: 40px 16px; }
.admin-login-card { display: grid; gap: 14px; width: min(400px, 100%); padding: 30px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 7px 7px 0 var(--ink); }
.admin-login-card h1 { font-size: 1.9rem; }
.admin { padding: 30px 0 80px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin-head h1 { font-size: 2.3rem; }
.admin-head-actions { display: flex; gap: 9px; }
.admin-system { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 11px; margin: 20px 0; }
.sys-card { padding: 12px 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 13px; font-size: .92rem; line-height: 1.35; }
.sys-card strong { display: block; font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.sys-card.is-bad { background: var(--coral-soft); }
.sys-card.is-ok { background: var(--mint-soft); }
.sys-card .link-btn { font-size: .875rem; }
.sys-test { grid-column: 1 / -1; padding: 12px 14px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 13px; font-size: .94rem; overflow-wrap: anywhere; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.admin-tab { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 11px; background: var(--white); font-weight: 600; cursor: pointer; }
.admin-tab[aria-selected='true'] { background: var(--ink); color: #fff; }
.admin-tab b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; padding: 0 6px; border-radius: 7px; background: var(--yellow); color: var(--ink); font-size: .8rem; }
.admin-panel { display: grid; gap: 12px; }
.admin-empty { padding: 28px; text-align: center; color: var(--ink-2); background: var(--white); border: 2px dashed var(--line); border-radius: 15px; }
.admin-row { padding: 18px; background: var(--white); border: 2px solid var(--ink); border-radius: 15px; overflow-wrap: anywhere; }
.admin-row h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.admin-row-meta { margin-top: 4px; font-size: .92rem; color: var(--ink-2); }
.admin-row-text { margin-top: 9px; font-size: .95rem; white-space: pre-line; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.admin-row-head { display: flex; gap: 13px; align-items: flex-start; }

/* AI chat: Klik */
.klik-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 9px; border: 2.5px solid var(--ink); border-radius: 99px; background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer; box-shadow: 0 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.klik-launcher:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.klik-launcher:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.klik-launcher-icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); }
.klik-launcher-icon .i { fill: var(--ink); stroke: none; }
.klik-launcher-icon::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--yellow); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
.klik-window { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; width: 410px; height: min(660px, calc(100vh - 44px)); height: min(660px, calc(100dvh - 44px)); overflow: hidden; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 9px 9px 0 var(--ink); animation: klik-in .24s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes klik-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.klik-head { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 15px; background: var(--ink); color: #fff; }
.klik-head .klik-avatar { width: 40px; height: 40px; border-color: var(--yellow); border-radius: 12px; }
.klik-head .klik-avatar .i { width: 21px; height: 21px; }
.klik-head-text { flex: 1; min-width: 0; }
.klik-head-name { display: flex; align-items: center; gap: 7px; font: 800 1.1rem/1.15 var(--display); }
.klik-badge { padding: 1px 7px; border-radius: 6px; background: var(--yellow); color: var(--ink); font: 700 .7rem/1.5 var(--body); }
.klik-head-sub { font-size: .8rem; line-height: 1.25; color: #c5c6dc; }
.klik-icon-btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.klik-icon-btn:hover { background: rgba(255, 255, 255, .14); }
.klik-log { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 16px 14px; overflow-y: auto; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; overscroll-behavior: contain; }
.klik-msg { max-width: 88%; padding: 10px 14px; border-radius: 17px; font-size: .97rem; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; animation: msg-in .2s ease; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.klik-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.klik-msg--klik { align-self: flex-start; background: var(--white); border: 1.5px solid var(--ink); border-bottom-left-radius: 5px; }
.klik-msg--error { align-self: flex-start; background: var(--coral-soft); border: 1.5px solid var(--ink); }
.klik-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.klik-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: dot 1.1s ease-in-out infinite; }
.klik-typing i:nth-child(2) { animation-delay: .15s; }
.klik-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.klik-starters { display: flex; flex-wrap: wrap; gap: 7px; }
.klik-rec { position: relative; display: flex; gap: 11px; padding: 12px; background: var(--white); border: 2px solid var(--ink); border-radius: 15px; color: inherit; text-decoration: none; transition: transform .14s, box-shadow .14s; animation: msg-in .25s ease; }
.klik-rec:hover { transform: translateY(-2px); box-shadow: 4px 5px 0 var(--ink); }
.klik-rec-body { min-width: 0; flex: 1; }
.klik-rec-name { display: block; font-weight: 700; line-height: 1.25; }
.klik-rec-sub { display: block; font-size: .84rem; line-height: 1.3; color: var(--ink-2); }
.klik-rec-why { display: block; margin-top: 5px; font-size: .9rem; line-height: 1.32; font-weight: 500; color: var(--blue-dark); }
.klik-rec-cta { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--blue); }
.klik-rec-cta .i { width: 1em; height: 1em; }
.klik-rec .tag-demo { right: -5px; top: -9px; font-size: .95rem; }
.klik-request { padding: 14px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 15px; animation: msg-in .25s ease; }
.klik-request p.klik-request-title { font-weight: 700; line-height: 1.3; }
.klik-request form { display: grid; gap: 9px; margin-top: 9px; }
.klik-request .check { font-size: .82rem; }
.klik-request .btn { min-height: 42px; font-size: .95rem; }
.klik-note { padding: 3px 4px; font-size: .78rem; line-height: 1.3; color: var(--ink-3); }
.klik-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 11px 6px; background: var(--white); border-top: 2px solid var(--ink); }
.klik-form textarea { flex: 1; min-height: 46px; max-height: 120px; padding: 10px 12px; font-size: 1rem; resize: none; overflow-y: auto; }
.klik-send { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 2px solid var(--ink); border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.klik-send:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.klik-send:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.klik-send[disabled] { opacity: .5; cursor: wait; }
.klik-disclaimer { padding: 2px 13px 9px; background: var(--white); font-size: .75rem; line-height: 1.3; color: var(--ink-3); }
.klik-disclaimer a { color: inherit; }

/* Prilagodba širine */
@media (max-width: 1240px) {
  .hero-note { display: none; }
  .sticky--formula { right: -8px; }
}
@media (max-width: 1040px) {
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .level-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .level-card { min-height: 0; }
  .level-card h3 { margin-top: 26px; }
  .step-art { max-width: 460px; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teachers-inner { grid-template-columns: minmax(0, 1fr); }
  .teachers-demo { max-width: 560px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tutor-layout, .post-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-card, .ad-preview-wrap { position: static; }
  .tutor-jump { display: inline-flex; }
  .ad-preview-wrap { max-width: 460px; }
  .listing-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; }
  .js .filters-toggle { display: inline-flex; }
  .js .filters-form { display: none; }
  .js .filters.is-open .filters-form { display: grid; margin-top: 14px; padding: 18px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
  .js .filters-submit { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .post-pitch { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 14px; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .site-header-inner { gap: 10px; min-height: 66px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .main-nav { padding-inline: 16px; }
  .topbar { font-size: .85rem; padding: 7px 12px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text { font-size: 1.2rem; }
  .header-cta { padding-inline: .7em; font-size: .85rem; }
  .hero { padding: 30px 0 62px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.5rem); }
  .hero-actions .btn { width: 100%; }
  .hl-cursor { right: -.42em; }
  .notebook-page { padding: 32px 16px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .notebook-rings { left: 18px; right: 18px; }
  .notebook-rings span:nth-child(even) { display: none; }
  .ask-send { right: 9px; bottom: 11px; }
  .sticky--formula { right: -6px; top: -26px; font-size: 1.2rem; padding: 9px 13px; }
  .sticky--lektira { display: none; }
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .tgrid, .results .tgrid, .benefits, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .teachers { padding: 70px 0; }
  .teachers-inner { gap: 40px; }
  .zero-badge { width: 104px; height: 104px; right: -6px; top: -58px; }
  .zero-badge strong { font-size: 2rem; }
  .zero-badge span { font-size: .62rem; }
  .demo-chat { box-shadow: 6px 6px 0 var(--blue); padding: 18px; }
  .demo-chat-label { padding-right: 86px; }
  .final { padding-bottom: 66px; }
  .final-card { min-height: 190px; padding: 26px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tutor-head { flex-direction: column; gap: 14px; }
  .avatar--xl { width: 92px; height: 92px; font-size: 1.8rem; }
  .ad-form { padding: 20px 16px; border-radius: 20px; }
  .stepper-item em { display: none; }
  .stepper-item.is-active em { display: inline; }
  .stepper-item { flex: 0 1 auto; }
  .stepper-item.is-active { flex: 1; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field--end { padding-bottom: 0; }
  .ad-nav .btn { flex: 1; }
  .success-card { padding: 24px 18px; }
  .klik-launcher { right: 14px; bottom: 14px; min-height: 52px; padding: 6px 16px 6px 7px; }
  .klik-window { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .klik-form textarea { font-size: 16px; }
  body.klik-locked { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .hl::before { transform: rotate(-1.2deg) skewX(-6deg); }
}
@media print {
  .klik-launcher, .klik-window, .site-header, .topbar { display: none; }
}
