/* imodens marketing site. No external requests: fonts are local, icons are inline SVG. */

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

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper:   #FAFAFE;   /* cool page white */
  --surface: #FFFFFF;
  --mist:    #EEEEFB;   /* indigo-tinted wash for alternate bands */
  --line:    #DCDDF0;
  --ink:     #1A1B3D;   /* deep indigo ink, the text colour */
  --muted:   #55587A;   /* secondary text, 6.9:1 on --paper */
  --indigo:  #4F46E5;   /* actions; white text on it is 6.3:1 */
  --indigo-brand: #6366F1;
  --indigo-deep: #312E81;
  /* staff colours in the calendar illustration */
  --teal:  #0F766E;
  --rose:  #BE185D;
  --amber: #B45309;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --wrap: 72rem;
  --gutter: 1rem;
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: var(--indigo); text-underline-offset: .18em; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 40rem) { :root { --gutter: 1.5rem; } }

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

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.35rem;
  border-radius: 999px; border: 1.5px solid var(--indigo);
  background: var(--indigo); color: #fff;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.btn--quiet { background: transparent; color: var(--indigo); border-color: var(--line); }
.btn--quiet:hover { background: var(--surface); border-color: var(--indigo); color: var(--indigo-deep); }
.btn--small { min-height: 2.5rem; padding: .45rem 1rem; font-size: .9375rem; }
.btn--light { background: #fff; border-color: #fff; color: var(--indigo-deep); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--indigo-deep); }
.btn--light:focus-visible { outline-color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 254, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none;
  font: 600 1.35rem/1 var(--font-display); letter-spacing: -0.01em;
}
.brand__tag {
  margin-left: .3rem; vertical-align: super;
  font-family: Inter, system-ui, sans-serif; font-size: .625rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--indigo);
}
.brand__mark { width: 1.9rem; height: 1.9rem; color: var(--indigo); }
.top__nav { display: flex; align-items: center; gap: .25rem; }
.top__link {
  display: none; padding: .5rem .7rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem;
}
.top__link:hover { color: var(--indigo); }
.top__link--login { display: inline-block; }
/* On the narrowest phones the header keeps the brand and "Prijava"; registration is in the hero. */
.top__nav .btn--small { display: none; }
@media (min-width: 26rem) { .top__nav .btn--small { display: inline-flex; } }
@media (min-width: 52rem) { .top__link { display: inline-block; } .top__nav { gap: .5rem; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) var(--section); }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }

.hero__for { color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.hero h1 {
  font-size: clamp(2.35rem, 1.4rem + 4.4vw, 4.1rem);
  font-weight: 520; line-height: 1.04; letter-spacing: -0.028em;
  max-width: 14ch;
}
.hero__lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .9375rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts li::before {
  content: ''; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--indigo-brand); flex: none;
}

/* The day: a team calendar page, the product as artwork. */
.day {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(49, 46, 129, .35);
}
.day__head, .day__grid { display: grid; grid-template-columns: 3rem repeat(3, minmax(0, 1fr)); column-gap: .4rem; }
.day__head { align-items: center; padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); font-size: .875rem; }
.day__date { grid-column: 1 / -1; margin-bottom: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.day__who { display: flex; align-items: center; gap: .4rem; font-weight: 600; min-width: 0; }
.day__who i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--staff); flex: none; }
.day__date + .day__who { grid-column: 2; }

.day__grid {
  grid-template-rows: repeat(12, 2.25rem);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(4.5rem - 1px), var(--line) calc(4.5rem - 1px) 4.5rem);
  background-position: 3.4rem 0; background-repeat: no-repeat; background-size: calc(100% - 3.4rem) 100%;
}
.day__time { grid-column: 1; grid-row: var(--r) / span 2; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .1rem; }

.appt {
  grid-column: var(--c); grid-row: var(--r) / span var(--s);
  margin: 2px 0;
  border-radius: 8px;
  border-left: 3px solid var(--staff);
  background: color-mix(in srgb, var(--staff) 10%, #fff);
  padding: .25rem .45rem;
  font-size: .75rem; line-height: 1.25; color: var(--ink);
  overflow: hidden;
}
.appt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt--off {
  border-left-color: transparent; color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--mist) 0 6px, #fff 6px 12px);
}
.appt--new {
  --staff: var(--indigo);
  background: var(--indigo); color: #fff;
  border-left-color: var(--indigo-deep);
  box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .8);
}

.day__toast {
  position: absolute; right: 1rem; bottom: -1.1rem;
  display: flex; align-items: center; gap: .45rem;
  background: var(--ink); color: #fff;
  font-size: .8125rem; font-weight: 500;
  padding: .55rem .85rem; border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(26, 27, 61, .7);
}
.day__toast svg { width: 1rem; height: 1rem; color: #A5B4FC; }

/* Narrow phones: two people instead of three, so names stay readable. */
@media (max-width: 25rem) {
  .day__head, .day__grid { grid-template-columns: 2.75rem repeat(2, minmax(0, 1fr)); }
  .day__who--third, .appt--third { display: none; }
  .day__grid { background-position: 3.1rem 0; background-size: calc(100% - 3.1rem) 100%; }
}

/* The one orchestrated moment: a booking arrives, then its confirmation. */
@media (prefers-reduced-motion: no-preference) {
  .appt--new { animation: arrive .7s cubic-bezier(.2, .8, .2, 1) .6s both; }
  .day__toast { animation: toast .5s ease 1.5s both; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(-14px) scale(.96); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes toast {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: var(--section); }
.intro { max-width: 42rem; margin-bottom: 2.75rem; }
.intro p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }

/* Steps: a real sequence, numbered in the display face. */
.steps { background: var(--surface); border-block: 1px solid var(--line); }
.steps h2 { margin-bottom: 2.5rem; }
.steps__list { display: grid; gap: 2.25rem; counter-reset: step; }
@media (min-width: 48rem) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps__list li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; column-gap: .9rem; }
.steps__list li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font: 500 2.6rem/1 var(--font-display);
  color: var(--indigo-brand);
}
.steps__list p { margin-top: .5rem; color: var(--muted); }

/* Modes: each way of working is described by the switches that produce it. */
.modes__list { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .modes__list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.mode {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}
.mode p { margin-top: .6rem; color: var(--muted); }
.switches { display: grid; gap: .5rem; margin-bottom: 1.4rem; padding-bottom: 1.25rem; border-bottom: 1px dashed var(--line); min-height: 5.6rem; align-content: start; }
.switch { display: flex; align-items: center; gap: .65rem; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.switch::before {
  content: ''; flex: none;
  width: 2.3rem; height: 1.35rem; border-radius: 999px;
  background: #fff radial-gradient(circle at .68rem 50%, #9A9CB8 .45rem, transparent .47rem);
  border: 1.5px solid #9A9CB8;
}
.switch--on { color: var(--ink); }
.switch--on::before {
  background: var(--indigo) radial-gradient(circle at calc(100% - .68rem) 50%, #fff .45rem, transparent .47rem);
  border-color: var(--indigo);
}
.switch span { font-size: .8125rem; margin-left: auto; color: var(--muted); }
.switch--on span { color: var(--indigo); }

/* Features */
.features { background: var(--mist); }
.features__grid { display: grid; gap: 2.25rem 2.5rem; }
@media (min-width: 40rem) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
.feature__icon {
  width: 2.75rem; height: 2.75rem; padding: .6rem; margin-bottom: 1rem;
  border-radius: 12px; background: var(--surface); color: var(--indigo);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feature p { margin-top: .5rem; color: var(--muted); }

/* Price lists */
.prices__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .prices__grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.prices h2 + p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; max-width: 36rem; }
.ticks { display: grid; gap: 1rem; margin-top: 1.75rem; max-width: 38rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--muted); }
.ticks strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .3rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%234F46E5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.pricecard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 24px 48px -32px rgba(49, 46, 129, .35);
}
.pricecard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pricecard__name { font-weight: 600; }
.pricecard__name span { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.pricecard__price { font: 600 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricecard__anchor { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.pricecard__file {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line);
  font-weight: 600; font-size: .9375rem;
}
.pricecard__file svg { width: 2rem; height: 2rem; flex: none; color: var(--indigo); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.pricecard__file small { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }

/* Privacy */
.privacy { background: var(--surface); border-block: 1px solid var(--line); }
.privacy__list { display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 40rem) { .privacy__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .privacy__list { grid-template-columns: repeat(4, 1fr); } }
.privacy__list div { border-top: 2px solid var(--indigo-brand); padding-top: 1rem; }
.privacy__list dt { font: 600 1.15rem/1.3 var(--font-display); }
.privacy__list dd { margin-top: .4rem; color: var(--muted); }

/* Audience */
.audience h2 { margin-bottom: 1.5rem; }
.audience__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.audience__list li {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-weight: 500; font-size: .9375rem;
}

/* Closing band */
.close { background: var(--indigo-deep); color: #fff; padding-block: var(--section); }
.close__inner { max-width: 48rem; }
.close h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
.close p { margin-top: 1rem; color: #DCDDFB; font-size: 1.125rem; max-width: 38rem; }
.close__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.close__mail { color: #fff; font-weight: 500; }
.close__mail:focus-visible { outline-color: #fff; }

/* Footer */
.foot { padding-block: 2rem; font-size: .9375rem; color: var(--muted); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--indigo); }
