/* Fontovi su na našem serveru (ne s Googlea), da posjetiteljima ne šaljemo IP adresu trećoj strani. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/outfit-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-ext-600-normal.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: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/outfit-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-ext-700-normal.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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plus-jakarta-sans-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext-400-normal.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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plus-jakarta-sans-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext-500-normal.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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plus-jakarta-sans-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext-600-normal.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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plus-jakarta-sans-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext-700-normal.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; }

:root {
  --bordo: #4E1621;
  --bordo-ink: #3A0F18;
  --rose: #C98A93;
  --cream: #F6F1EC;
  --sand: #E8DDD6;
  --ink: #221719;
  --muted: #665A57;
  --surface: #FFFFFF;
  --line: #E2D6CD;
  --ok: #2F6B4F;
  --err: #9B2C2C;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1C1214;
    --sand: #33252A;
    --ink: #F6F1EC;
    --muted: #BBAFA9;
    --surface: #2A1D20;
    --line: #3A2A2E;
    --bordo-ink: #E8C9CE;
    --ok: #A6D9BC;
    --err: #F2B8B5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Zaglavlje */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { font: 700 30px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.logo span { color: var(--rose); }
.top a.join { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1.5px solid currentColor; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 48px 0 88px; }
.hero h1 {
  font: 700 clamp(44px, 7.4vw, 92px)/0.96 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 13ch;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.quick { display: flex; gap: 8px; max-width: 460px; }
.quick input { flex: 1; min-width: 0; }
.note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* Viseća etiketa: jedini "ukras" stranice */
.tag-holder { position: relative; height: 460px; }
.tag-holder svg { position: absolute; inset: 0 auto auto 50%; transform: translateX(-50%); overflow: visible; }
.tag {
  position: absolute; top: 110px; left: 50%;
  width: 300px; padding: 64px 28px 30px;
  background: var(--surface); color: var(--ink);
  border-radius: 22px 22px 18px 18px;
  transform: translateX(-50%) rotate(-5deg);
  transform-origin: 50% -80px;
  box-shadow: 0 30px 60px -30px rgba(78, 22, 33, 0.45);
  animation: sway 6s ease-in-out 1s 2 alternate;
}
.tag::before {
  content: ''; position: absolute; top: 22px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: var(--cream); box-shadow: inset 0 1px 3px rgba(0,0,0,.18);
}
@keyframes sway { from { transform: translateX(-50%) rotate(-5deg); } to { transform: translateX(-50%) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .tag { animation: none; } }
.tag .brand { font: 700 22px/1 var(--display); letter-spacing: -0.02em; margin-bottom: 18px; }
.tag .brand span { color: var(--rose); }
.tag h3 { font: 600 20px/1.25 var(--display); margin: 0 0 4px; }
.tag .size { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.tag dl { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 8px; font-size: 15px; }
.tag dt { color: var(--muted); }
.tag dd { margin: 0; font-weight: 600; text-align: right; }
.tag .price { font: 700 40px/1 var(--display); color: var(--bordo); margin-top: 22px; letter-spacing: -0.02em; }
@media (prefers-color-scheme: dark) { .tag .price { color: var(--rose); } }
.tag .price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.tag .was { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Forme */
input, select {
  font: 500 16px var(--body); color: var(--ink);
  height: 54px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus { outline: none; border-color: var(--rose); }
button, .btn {
  font: 700 16px var(--body); height: 54px; padding: 0 26px; border-radius: 999px;
  border: 0; background: var(--bordo); color: #fff; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
@media (prefers-color-scheme: dark) { button, .btn { background: var(--cream); color: var(--bordo); background: #F6F1EC; } }
button:disabled { opacity: .6; cursor: default; }
.msg { font-size: 15px; margin-top: 12px; min-height: 1.6em; }
.msg.ok { color: var(--ok); font-weight: 600; }
.msg.err { color: var(--err); }

/* Sekcije */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font: 700 clamp(30px, 4.2vw, 46px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 14px; max-width: 18ch; }
section .intro { color: var(--muted); max-width: 52ch; margin: 0 0 40px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two h3 { font: 600 24px/1.2 var(--display); margin: 0 0 20px; }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
ol.steps li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 700 18px var(--display);
  background: var(--sand); color: var(--bordo-ink);
}
ol.steps b { display: block; font-weight: 700; }
ol.steps span { color: var(--muted); font-size: 16px; }

.safe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.safe li b { display: block; font: 600 19px/1.3 var(--display); margin-bottom: 4px; }
.safe li { color: var(--muted); font-size: 16px; }
.safe li b { color: var(--ink); }

.salon { background: var(--bordo); color: #F6F1EC; border-top: 0; }
.salon .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.salon h2 { color: #F6F1EC; }
.salon p { color: #E8C9CE; margin: 0; max-width: 50ch; }
.salon .btn { background: #F6F1EC; color: var(--bordo); justify-self: start; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
summary { cursor: pointer; font: 600 19px/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 400 26px/1 var(--body); color: var(--rose); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }

.signup form { display: grid; gap: 14px; max-width: 520px; }
.roles { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.roles legend { font-weight: 600; margin-bottom: 8px; }
.roles label {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500;
}
.roles input { height: auto; accent-color: var(--bordo); width: 18px; height: 18px; }
.roles label:has(input:checked) { border-color: var(--bordo); }
@media (prefers-color-scheme: dark) { .roles label:has(input:checked) { border-color: var(--rose); } }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .logo { font-size: 22px; color: var(--ink); margin-right: auto; }

/* Pravni tekstovi i male stranice */
.doc { max-width: 720px; padding: 24px 0 80px; }
.doc h1 { font: 700 clamp(34px, 5vw, 48px)/1.05 var(--display); letter-spacing: -0.03em; margin: 16px 0 8px; }
.doc h2 { font: 600 22px/1.3 var(--display); margin: 40px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc mark { background: #F6EBD3; color: #7A5200; padding: 0 4px; border-radius: 4px; }
.draft { background: #F6EBD3; color: #7A5200; padding: 14px 18px; border-radius: 14px; font-size: 15px; margin: 20px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; max-width: 460px; margin: 40px auto 80px; }
.card h1 { font: 700 32px/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0 0 20px; }
.card form { display: grid; gap: 12px; }
.card input, .card button { width: 100%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 8px; }
  .tag-holder { height: 430px; }
  .two, .salon .wrap { grid-template-columns: 1fr; }
  .quick { flex-direction: column; max-width: none; }
  /* U stupcu bi flex: 1 stisnuo visinu polja, zato ovdje ima stalnu visinu i punu širinu. */
  .quick input { flex: none; width: 100%; height: 56px; }
  .quick button { width: 100%; height: 56px; }
  section { padding: 56px 0; }
}
