/* AI Kolega: javni web aikolega.hr. Jedna obitelj slova (Poppins, kao u aplikaciji), papir danju, tinta noću. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --ink: #131a3a;          /* tinta: tekst i noć */
  --ink-2: #3b4468;
  --muted: #5b6482;
  --paper: #f5f6fa;        /* uredski papir */
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --line: #e0e4ee;
  --line-strong: #c9cfdf;
  --blue: #265cd9;         /* plava AI Kolege */
  --blue-ink: #1c49b5;
  --blue-wash: #e9effd;
  --violet: #6338f1;
  --note: #ffd65a;         /* ljepljivi papirić: jutro */
  --note-ink: #6b4d00;
  --sent: #138a56;
  --sent-wash: #e4f5ec;
  --grad: linear-gradient(150deg, #2b64ec 0%, #4a4cef 55%, #6338f1 100%);
  --night: #131a3a;
  --night-2: #1b2350;
  --night-text: #e6e9f7;
  --night-muted: #a9b0cf;
  --focus: #6338f1;
  --shadow-window: 0 1px 1px rgba(19, 26, 58, .04), 0 10px 30px -8px rgba(19, 26, 58, .18), 0 30px 70px -30px rgba(19, 26, 58, .25);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4.2vw, 44px);
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ebf8;
    --ink-2: #c4cae3;
    --muted: #9aa2c2;
    --paper: #0e1328;
    --surface: #161d38;
    --surface-2: #1c2445;
    --line: #283157;
    --line-strong: #37416b;
    --blue: #7fa3ff;
    --blue-ink: #a3bdff;
    --blue-wash: #1e2a55;
    --note-ink: #ffd65a;
    --sent: #5fd39a;
    --sent-wash: #12301f;
    --night: #0a0e20;
    --night-2: #121939;
    --focus: #a48bff;
    --shadow-window: 0 1px 1px rgba(0, 0, 0, .3), 0 20px 50px -20px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font); font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { background: #3d6ef0; } .btn-primary:hover { background: #2f5fe0; } }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 1.05em; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- zaglavlje ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 38px; height: 38px; }
.logo-text { display: grid; line-height: 1; }
.logo-ai { font-weight: 700; font-size: .8rem; color: var(--blue); letter-spacing: .02em; }
.logo-name { font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-login { color: var(--ink-2); font-weight: 500; font-size: .9375rem; text-decoration: none; padding: 8px 12px; }
.head-login:hover { color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .nav, .head-login { display: none; }
  .head-actions { margin-left: auto; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .site-head.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .site-head.open .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-head.open .nav a:hover { background: none; }
}
@media (max-width: 420px) { .head-actions .btn-small { padding: 0 .9em; } .logo-name { font-size: 1.3rem; } }

/* ---------- uvod (hero) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.hero h1 { font-size: clamp(2.55rem, 1.3rem + 4.6vw, 4.85rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; margin-top: clamp(8px, 3vw, 40px); }
.hero-lead { margin-top: 26px; font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9375rem; display: flex; align-items: center; gap: 10px; }
.hero-note svg { width: 20px; height: 20px; color: var(--sent); flex: none; }
.works-with { margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); max-width: 36em; }
.works-with p { color: var(--muted); font-size: .9375rem; }
.works-with ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.works-with li { font-weight: 600; color: var(--ink-2); font-size: 1rem; letter-spacing: -.01em; }

/* iskaznica na vrpci: cijela se njiše oko vrha vrpce */
.badge-stage { position: relative; margin-top: calc(-1 * clamp(36px, 6vw, 72px)); padding-bottom: 24px; }
.badge-swing { position: relative; width: min(310px, 86%); margin-inline: auto; transform-origin: 50% 0; }
.badge-swing.swing { animation: swing 2.6s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes swing { 0% { rotate: 7deg; } 22% { rotate: -5deg; } 42% { rotate: 3deg; } 62% { rotate: -1.5deg; } 80% { rotate: .6deg; } 100% { rotate: 0deg; } }
.badge-swing.nudge { animation: nudge 1.4s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes nudge { 0% { rotate: 0; } 25% { rotate: -3.5deg; } 50% { rotate: 1.8deg; } 75% { rotate: -.7deg; } 100% { rotate: 0; } }
.lanyard {
  position: relative; width: 30px; height: 168px; margin: 0 auto;
  background: linear-gradient(90deg, #17204a, #26336f 50%, #17204a); overflow: hidden;
}
.lanyard span {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; color: rgba(255, 255, 255, .5); white-space: nowrap;
}
.badge-card {
  position: relative; margin-top: -12px; border-radius: 30px; padding: 54px 26px 26px; color: #fff;
  background: var(--grad); cursor: pointer; border: 0; width: 100%; text-align: left; font: inherit;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .18) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 30px 60px -24px rgba(40, 40, 140, .55), 0 12px 24px -12px rgba(19, 26, 58, .35);
}
.badge-card::after { /* odsjaj plastike */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%);
}
.badge-clip { position: absolute; left: 50%; top: -14px; width: 58px; height: 40px; translate: -50% 0; background: #1d2b5c; border-radius: 12px; box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .4); }
.badge-clip::after { content: ""; position: absolute; left: 50%; top: 8px; width: 26px; height: 7px; translate: -50% 0; background: #3a4a85; border-radius: 4px; }
.badge-status { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; background: rgba(255, 255, 255, .16); padding: 5px 11px 5px 9px; border-radius: 999px; }
.badge-status i { width: 8px; height: 8px; border-radius: 50%; background: #5ff0a8; box-shadow: 0 0 0 3px rgba(95, 240, 168, .25); }
.badge-face { width: 128px; height: 128px; margin: 4px auto 0; }
.badge-face .eye-open { transform-box: fill-box; transform-origin: center; }
.badge-card.blink .eye-open { animation: blink .5s ease-in-out; }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 40%, 60% { transform: scaleY(.12); } }
.badge-name { margin-top: 18px; text-align: center; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.badge-role { text-align: center; color: rgba(255, 255, 255, .82); font-size: .9375rem; margin-top: 4px; }
.badge-rows { margin: 22px 0 0; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); }
.badge-rows .row { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; }
.badge-rows .k { color: rgba(255, 255, 255, .72); }
.badge-rows .v { font-weight: 600; text-align: right; }
.badge-bar { height: 8px; width: 46%; margin: 22px auto 0; border-radius: 6px; background: #1d2b5c; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .badge-swing.swing, .badge-swing.nudge, .badge-card.blink .eye-open { animation: none; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { margin-top: 0; }
  .badge-stage { margin-top: 8px; }
  .lanyard { height: 64px; border-radius: 4px 4px 0 0; }
  .lanyard::before { content: ""; position: absolute; left: 50%; top: 6px; width: 12px; height: 12px; translate: -50% 0; border-radius: 50%; background: #9aa3c2; }
  .lanyard span { display: none; }
  .badge-swing { width: min(300px, 84%); }
  .works-with { margin-top: 36px; }
}

/* ---------- sekcije ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 46rem; }
.section-head h2, .h2 { font-size: clamp(2rem, 1.2rem + 2.7vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- prikaz na djelu ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); font: 500 .9375rem/1 var(--font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, background-color .15s, color .15s;
}
.chip svg { width: 18px; height: 18px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: 26px; align-items: start; }
.window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-window); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: .9375rem; }
.window-bar svg { width: 24px; height: 24px; }
.window-bar .count { margin-left: auto; font-size: .8125rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.mail { padding: 22px 22px 18px; }
.mail-from { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9375rem; background: var(--blue-wash); color: var(--blue-ink); flex: none; }
.mail-who { min-width: 0; line-height: 1.35; }
.mail-who strong { display: block; font-weight: 600; }
.mail-who span { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.mail-time { margin-left: auto; color: var(--muted); font-size: .875rem; align-self: flex-start; }
.mail-subject { margin-top: 14px; font-weight: 600; font-size: 1.0625rem; }
.mail-body { margin-top: 6px; color: var(--ink-2); white-space: pre-line; }
.reply { margin: 0 14px 14px; border-radius: var(--r-md); background: var(--blue-wash); padding: 18px 18px 16px; }
.reply-head { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .9375rem; color: var(--blue-ink); }
.reply-head svg { width: 22px; height: 22px; }
.reply-tag { margin-left: auto; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.reply-tag.sent { background: var(--sent-wash); color: var(--sent); }
.reply-text { margin-top: 10px; white-space: pre-line; min-height: 9.5em; color: var(--ink); }
.reply-text .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue); vertical-align: -2px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.attach { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 14px 9px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .875rem; font-weight: 500; }
.attach svg { width: 26px; height: 26px; color: #d0453a; flex: none; }
.attach small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.fake-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; border: 1.5px solid var(--line-strong); color: var(--ink-2); background: var(--surface); }
.fake-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.fake-btn.done { background: var(--sent); border-color: var(--sent); color: #fff; }
.is-hidden { visibility: hidden; }
.steps-side h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.steps-side > p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.work-steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: s; }
.work-steps li { position: relative; padding: 0 0 22px 46px; }
.work-steps li::before { /* linija između koraka */
  content: ""; position: absolute; left: 14px; top: 30px; bottom: 4px; width: 2px; background: var(--line);
}
.work-steps li:last-child::before { display: none; }
.work-steps .tick { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; color: transparent; transition: background-color .25s, border-color .25s, color .25s; }
.work-steps .tick svg { width: 16px; height: 16px; }
.work-steps li.done .tick { background: var(--sent); border-color: var(--sent); color: #fff; }
.work-steps strong { display: block; font-weight: 600; line-height: 1.35; padding-top: 3px; }
.work-steps span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 3px; }
.demo-outcome { margin-top: 6px; padding: 16px 18px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); font-size: .9375rem; color: var(--ink-2); }
.demo-outcome strong { color: var(--ink); font-weight: 600; }
.demo-foot { margin-top: 22px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mail { padding: 18px 16px 14px; } .reply { margin: 0 8px 8px; padding: 16px 14px 14px; } .mail-time { display: none; } }

/* ---------- radni dan ---------- */
.day-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.day-intro { position: sticky; top: 112px; align-self: start; }
.weekly { margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-window); max-width: 26rem; }
.weekly-top { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); }
.weekly-top svg { width: 24px; height: 24px; }
.weekly h3 { margin-top: 12px; font-size: 1.125rem; letter-spacing: -.01em; }
.weekly ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.weekly li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.weekly li:last-child { border-bottom: 0; padding-bottom: 0; }
.weekly li b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.weekly-note { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.day { list-style: none; margin: 0; padding: 0; position: relative; }
.day::before { /* nebo od jutra do noći */
  content: ""; position: absolute; left: 92px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #ffd65a 0%, #ffb648 14%, #7fb0ff 34%, #265cd9 58%, #6338f1 80%, #131a3a 100%);
}
@media (prefers-color-scheme: dark) { .day::before { background: linear-gradient(180deg, #ffd65a 0%, #ffb648 14%, #7fb0ff 34%, #4f7cf0 58%, #7d5cf5 80%, #3a4170 100%); } }
.day li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 0 46px; padding-bottom: 38px; }
.day li:last-child { padding-bottom: 0; }
.day time { font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; text-align: right; padding-top: 1px; color: var(--ink); }
.day li::before { /* točka na nebu */
  content: ""; position: absolute; left: 86px; top: 9px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--dot, var(--blue));
}
.day h3 { font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.35; }
.day p { margin-top: 5px; color: var(--ink-2); max-width: 34em; }
@media (max-width: 900px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-intro { position: static; }
  .weekly { display: none; }
  .weekly-mobile { display: block; }
}
@media (min-width: 901px) { .weekly-mobile { display: none; } }
@media (max-width: 520px) {
  .day::before { left: 66px; }
  .day li { grid-template-columns: 52px 1fr; gap: 0 36px; }
  .day li::before { left: 60px; }
  .day time { font-size: 1.0625rem; }
}

/* ---------- zadnja riječ ---------- */
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin-top: 48px; }
.control { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.control svg { width: 30px; height: 30px; color: var(--blue); margin-top: 3px; }
.control h3 { font-size: 1.1875rem; letter-spacing: -.015em; }
.control p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 760px) { .control-grid { grid-template-columns: 1fr; } .control { grid-template-columns: 40px 1fr; } }

/* ---------- početak ---------- */
.start { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: st; }
.start li { counter-increment: st; position: relative; padding-top: 64px; }
.start li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; background: var(--ink); color: var(--paper);
}
.start li::after { content: ""; position: absolute; left: 56px; right: -16px; top: 21px; height: 2px; background: var(--line-strong); }
.start li:last-child::after { display: none; }
.start h3 { font-size: 1.1875rem; letter-spacing: -.015em; }
.start p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) {
  .start { grid-template-columns: 1fr; gap: 0; }
  .start li { padding: 0 0 30px 64px; }
  .start li::after { left: 21px; top: 52px; bottom: 6px; right: auto; width: 2px; height: auto; }
  .start li:last-child { padding-bottom: 0; }
}

/* ---------- paketi ---------- */
.plan-switch, .plan-mobile { display: none; }
.pricing-wrap { margin-top: 44px; overflow-x: auto; }
.pricing { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; font-size: .9875rem; }
.pricing th, .pricing td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pricing th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); width: 34%; }
.pricing thead th { vertical-align: top; padding: 26px 16px 22px; border-bottom: 1px solid var(--line-strong); font-weight: 400; }
.pricing thead th:first-child { text-align: left; vertical-align: bottom; }
.plan-name { display: block; font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.plan-price { display: block; margin-top: 8px; font-weight: 700; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.plan-price small { font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-desc { display: block; margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.45; min-height: 2.9em; }
.pricing .col-rec { background: var(--blue-wash); }
.pricing thead .col-rec { border-radius: var(--r-md) var(--r-md) 0 0; position: relative; }
.pricing tbody tr:last-child .col-rec { border-radius: 0 0 var(--r-md) var(--r-md); }
.pricing thead th { padding-top: 48px; }
.pricing thead .corner { padding: 0 24px 22px 0; }
.corner-note { display: block; max-width: 15em; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.rec-label { position: absolute; top: 16px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: .78rem; font-weight: 600; color: #fff; background: var(--blue); padding: 3px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .rec-label { background: #3d6ef0; } }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sent-wash); color: var(--sent); }
.yes svg { width: 15px; height: 15px; }
.no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--line-strong); vertical-align: middle; }
.pricing tbody tr:first-child th { padding-top: 14px; }
.pricing .group th { text-align: left; padding-top: 26px; font-weight: 600; color: var(--ink); font-size: .9375rem; border-bottom-color: var(--line-strong); }
.pricing .group td { border-bottom-color: var(--line-strong); }
.pricing-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.pricing-notes div { border-top: 1px solid var(--line); padding-top: 16px; }
.pricing-notes h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.pricing-notes p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; }
.soon { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--note-ink); background: color-mix(in srgb, var(--note) 38%, transparent); padding: 1px 8px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
@media (max-width: 760px) {
  .pricing-notes { grid-template-columns: 1fr; gap: 0; }
  .pricing-notes div { padding: 16px 0; }
  .plan-switch { display: flex; gap: 6px; margin-top: 32px; padding: 5px; background: var(--surface-2); border-radius: 999px; width: max-content; max-width: 100%; }
  .plan-switch button { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: 600 .9375rem/1 var(--font); cursor: pointer; }
  .plan-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(19, 26, 58, .15); }
  .pricing-wrap { margin-top: 18px; overflow: visible; }
  .js .pricing { min-width: 0; }
  .js .pricing .p-start, .js .pricing .p-posao, .js .pricing .p-pro { display: none; }
  .js .pricing[data-show="start"] .p-start, .js .pricing[data-show="posao"] .p-posao, .js .pricing[data-show="pro"] .p-pro { display: table-cell; }
  .js .pricing th[scope="row"] { width: auto; padding-left: 0; }
  .js .pricing td { width: 76px; padding-right: 0; border-radius: 0 !important; }
  .js .pricing .group th { padding-left: 0; }
  .js .pricing .col-rec { background: transparent; }
  .js .pricing thead { display: none; }
  .js .plan-mobile { display: block; margin-top: 22px; padding: 22px; border-radius: var(--r-lg); background: var(--blue-wash); }
  .plan-mobile .rec-label { position: static; translate: none; margin-bottom: 10px; }
  .plan-mobile .plan-desc { min-height: 0; }
  .js .pricing thead th { padding-top: 18px; }
}

/* ---------- sigurnost ---------- */
.safe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); margin-top: 48px; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.safe-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.safe-list li:first-child { border-top: 0; padding-top: 0; }
.safe-list svg { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.safe-list h3 { font-size: 1.125rem; letter-spacing: -.01em; }
.safe-list p { margin-top: 4px; color: var(--ink-2); }
.google-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); align-self: start; }
.google-box h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.google-box p, .google-box li { color: var(--ink-2); font-size: .975rem; }
.google-box p { margin-top: 10px; }
.google-box ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.google-box .limited { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--blue-wash); border-radius: 0 10px 10px 0; font-size: .9375rem; color: var(--ink); }
.google-box .limited span { display: block; margin-top: 8px; color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) { .safe-grid { grid-template-columns: 1fr; } }

/* ---------- o nama ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about-quote { font-size: clamp(1.45rem, 1rem + 1.6vw, 2.15rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--ink-2); font-size: 1.0625rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- pitanja ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 4px;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 44px 22px 4px; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- noć: prijava ---------- */
.night { background: var(--night); color: var(--night-text); }
.night h2, .night h3 { color: #fff; }
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.join-text p { margin-top: 18px; color: var(--night-muted); font-size: 1.125rem; max-width: 30em; }
.join-perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.join-perks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--night-text); }
.join-perks svg { width: 22px; height: 22px; color: #5ff0a8; margin-top: 3px; }
.join-moon { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--night-muted); font-size: .9375rem; }
.join-moon svg { width: 46px; height: 46px; flex: none; }
.form { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: .9375rem; color: #fff; }
.field label small { color: var(--night-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #39437a;
  background: #0e1433; color: #fff; font: 400 1rem/1.4 var(--font);
}
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a9b0cf 50%), linear-gradient(135deg, #a9b0cf 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #737ba0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8f7bff; box-shadow: 0 0 0 3px rgba(143, 123, 255, .3); }
.field [aria-invalid="true"] { border-color: #ff8a80; }
.field-error { color: #ffaaa2; font-size: .875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: .875rem; color: var(--night-muted); margin-top: 4px; }
.form-consent a, .night a { color: #b9c9ff; }
.form .btn-primary { width: 100%; margin-top: 18px; min-height: 54px; font-size: 1.0625rem; background: #4b77f2; }
.form .btn-primary:hover { background: #3d68e6; }
.form .btn-primary[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 14px; font-size: .9375rem; min-height: 1.4em; }
.form-status.error { color: #ffaaa2; }
.form-done { text-align: left; }
.form-done svg { width: 54px; height: 54px; color: #5ff0a8; }
.form-done h3 { margin-top: 14px; font-size: 1.5rem; letter-spacing: -.02em; }
.form-done p { margin-top: 10px; color: var(--night-muted); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- podnožje ---------- */
.site-foot { background: var(--night); color: var(--night-muted); padding-block: 44px 40px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9375rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.site-foot .logo { color: #fff; }
.site-foot .logo-ai { color: #9fb7ff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--night-text); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-small a { color: var(--night-text); }
.foot-small { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .875rem; }

/* ---------- male stranice (404, brisanje podataka) ---------- */
.page { padding-block: clamp(48px, 8vw, 104px); }
.page h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; max-width: 18ch; }
.page .lead { margin-top: 18px; font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.prose { max-width: 44rem; margin-top: 40px; }
.prose h2 { font-size: 1.45rem; letter-spacing: -.02em; margin-top: 40px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-top: 12px; }
.prose ol, .prose ul { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.lost { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.lost svg.big { width: clamp(140px, 22vw, 230px); height: auto; }
@media (max-width: 700px) { .lost { grid-template-columns: 1fr; } .lost svg.big { order: -1; } }

/* ispis */
@media print { .site-head, .night, .site-foot, .chips { display: none; } body { background: #fff; } }
