:root {
  color-scheme: light;
  --ink: #383838;
  --muted: #606060;
  --line: #dedede;
  --wash: #f7f7f7;
  --action: #444444;
  --action-hover: #363636;
  --accent: #54438d;
  --gap: clamp(16px, 4vw, 48px);
  --shell: min(1040px, calc(100% - var(--gap) * 2));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,p,dl,dd,ol,ul { margin: 0; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
button,input,textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #536a9a; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 12px; background: #fff; }
.skip:not(:focus) { clip-path: inset(50%); }
section[id], .details-list, #hero-prompt, #studio-description, #zahtjev-hr { scroll-margin-block: 18px; }
.site-head { border-bottom: 1px solid var(--line); }
.head-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.public-brand { display: inline-flex; gap: 9px; align-items: center; width: fit-content; color: var(--ink); text-decoration: none; white-space: nowrap; }
.public-brand .studio-mark,.public-brand svg { display: block; width: 34px; height: 34px; flex: none; }
.studio-wordmark { display: inline-flex; align-items: center; gap: 5px; font-size: 19px; line-height: 1; letter-spacing: -.053em; }
.studio-wordmark strong { font-weight: 720; }
.studio-wordmark > span { font-weight: 520; }
.studio-brand-ai { display: inline-flex; align-items: center; font-size: .63em; font-weight: 740; line-height: 1.1; padding: 3px 4px; background: #f0f0f2; color: #353539; border-radius: 4px; letter-spacing: -.025em; }
.head-links { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.mobile-menu,.account-icon { display: none; }
.head-links a,.footer-links a,.foot-legal a,.foot-legal button { color: var(--muted); font-size: .92rem; font-weight: 520; text-decoration: none; }
.head-links a:hover,.footer-links a:hover,.foot-legal a:hover,.foot-legal button:hover { color: var(--ink); text-decoration: underline; }
.account-link,.primary,.start,.guide-end a,.legal-body button,.contact-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 16px;
  background: var(--action); color: #fff; border: 0; border-radius: 12px; font-weight: 625; font-size: .96rem; line-height: 1.4; text-decoration: none;
}
.account-link { min-height: 38px; border-radius: 30px; font-size: .9rem; }
.account-link:hover,.primary:hover,.start:hover,.guide-end a:hover,.legal-body button:hover,.contact-submit:hover { background: var(--action-hover); }
button:disabled { opacity: .63; cursor: wait; }
.tool { text-align: center; padding-block: clamp(46px,7vw,87px) clamp(36px,5vw,63px); }
.tool h1,.guide-head h1,.ai-catalog h1,.legal-doc h1 { font-weight: 640; letter-spacing: -.062em; text-wrap: balance; line-height: 1.05; }
.tool h1 { font-size: clamp(1.95rem,4.1vw,3.25rem); margin: 0 auto clamp(23px,3.8vw,40px); }
.tool h1 span { display: block; }
.composer { text-align: left; background: #fff; border: 1px solid #d5d5da; box-shadow: 0 2px 6px #16162209,0 12px 34px #16162209; border-radius: 20px; padding: 18px 20px 14px; }
.composer:focus-within { border-color: #9b9ba2; }
.composer textarea { display: block; width: 100%; min-height: 96px; max-height: 300px; padding: 0; border: 0; background: transparent; resize: vertical; font-size: 1.08rem; line-height: 1.5; }
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: #686870; opacity: 1; }
.composer-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#brief-limit { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.hero-terms { margin: 16px auto 0; color: var(--muted); }
.hero-terms strong { font-weight: 620; color: var(--ink); }
.error,.withdrawal-error,#contact-error { color: #93383b; margin-top: 9px; }
.single-offer { padding-bottom: clamp(45px,7vw,88px); }
.offer-card { overflow: hidden; border: 1px solid #d7d7db; border-radius: 18px; background: #fff; }
.offer-top { background: #fff; display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,.58fr); gap: 24px; align-items: center; padding: clamp(22px,3.8vw,42px); }
.offer-top h2 { font-size: clamp(1.4rem,2.55vw,2.05rem); font-weight: 620; line-height: 1.18; letter-spacing: -.045em; max-width: 30ch; text-wrap: balance; }
.offer-phrase { white-space: nowrap; }
.offer-cost { padding-inline-start: clamp(18px,3vw,34px); border-inline-start: 1px solid var(--line); }
.offer-money { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 13px; }
.offer-money strong { color: var(--accent); white-space: nowrap; font-size: clamp(3.1rem,5.65vw,4.85rem); letter-spacing: -.075em; line-height: 1.02; font-weight: 670; }
.offer-money strong span { font-size: .67em; letter-spacing: -.03em; }
.offer-money > span { color: var(--muted); font-size: .92rem; }
.offer-ref { margin-top: 9px; font-size: .85rem; color: var(--muted); }
.offer-ref a,.offer-ref s { white-space: nowrap; }
.offer-items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: clamp(20px,3.1vw,32px) clamp(22px,3.8vw,42px); border-top: 1px solid var(--line); list-style: none; }
.offer-items li { min-width: 0; padding: 0 19px; border-right: 1px solid var(--line); }
.offer-items li:first-child { padding-left: 0; }
.offer-items li:last-child { padding-right: 0; border: 0; }
.offer-items strong { display: block; font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.24; margin-bottom: 7px; }
.offer-items span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.offer-renewal { margin-top: 12px; max-width: 57ch; color: var(--muted); font-size: .94rem; }
.offer-renewal strong { color: var(--ink); }
.guide-head,.legal-doc,.ai-catalog { padding-block: clamp(38px,6vw,78px); }
.guide-head h1,.ai-catalog h1,.legal-doc h1 { font-size: clamp(1.95rem,3.6vw,2.95rem); max-width: 24ch; }
.guide-head h1 { max-width: 19ch; }
.guide-back { display: inline-flex; gap: 7px; margin-bottom: 20px; color: var(--muted); font-size: .92rem; text-decoration: none; font-weight: 580; }
.guide-back:hover { text-decoration: underline; }
.guide-sections,.downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.guide-sections a,.downloads a { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; text-decoration: none; font-size: .9rem; font-weight: 570; }
.guide-sections a:hover,.downloads a:hover { background: var(--wash); }
.work-section { background: var(--wash); border-block: 1px solid var(--line); }
.work-section,.domain-section,.details-wrap { padding-block: clamp(34px,6vw,74px); }
.section-heading { margin-bottom: 24px; }
.section-heading h2,.rates h2,.catalog-offer h2,.contact-info h2,.contact-form h2 { font-size: clamp(1.23rem,2.2vw,1.7rem); line-height: 1.24; letter-spacing: -.035em; font-weight: 630; }
.section-heading p,.catalog-intro>p,.legal-intro { margin-top: 12px; max-width: 66ch; color: var(--muted); font-size: 1.08rem; }
.work-steps,.flow-list { padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.work-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); counter-reset: step; }
.work-steps li { padding: 21px; counter-increment: step; }
.work-steps li+li { border-left: 1px solid var(--line); }
.step-number { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 650; }
.step-number::before { content: counter(step); }
.work-steps h3,.flow-list h3,.rates h3,.guide-end { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.025em; }
.work-steps p,.flow-list p,.details-list details p { margin-top: 6px; color: var(--muted); }
.flow-list li { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; padding: 18px 23px; }
.flow-list li+li { border-top: 1px solid var(--line); }
.flow-list p { margin-top: 0; }
.details-wrap { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 35px; border-top: 1px solid var(--line); }
.details-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
.details-list summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; list-style: none; }
.details-list summary::-webkit-details-marker { display:none; }
.details-list summary::after { content: "+" / ""; }
.details-list details[open] summary::after { content: "−" / ""; }
.details-list details p { margin: 0 0 15px; }
.guide-end { width: var(--shell); margin: 0 auto clamp(38px,5vw,65px); }
.legal-doc,.ai-catalog { overflow-wrap: anywhere; min-width: 0; }
.legal-body { margin-top: 28px; border-top: 1px solid var(--line); }
.legal-body > section { padding-block: 23px; border-bottom: 1px solid var(--line); }
.legal-body section > p,.legal-body section > ul,.legal-body section > ol,.legal-body section > dl,.withdrawal-intro { max-width: 79ch; }
.legal-body h2 { font-size: clamp(1.18rem,2vw,1.48rem); letter-spacing: -.035em; line-height: 1.26; margin-bottom: 9px; }
.legal-body h3 { font-size: 1.04rem; margin: 13px 0 6px; }.legal-body p+p,.legal-body dl,.legal-body ul,.legal-body ol { margin-top: 9px; }
.legal-body ul,.legal-body ol { padding-left: 1.35em; }
.legal-body li+li,.legal-body dd+dt { margin-top: 6px; }
.legal-body dt { font-weight: 630; }.legal-body code { font-size: .9em; }
.legal-meta,.legal-body small { color: var(--muted); }
.catalog-cover,.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,6vw,70px); align-items: start; }
.catalog-intro .start { margin-top: 18px; }
.catalog-offer { padding: clamp(20px,3vw,31px); border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.catalog-offer ul { padding-left: 20px; margin-block: 12px; }
.catalog-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-block: 8px; }
.catalog-total strong { font-size: 3rem; line-height: 1.05; letter-spacing: -.07em; }
.catalog-total span,.catalog-renewal,.history,.merchant p { color: var(--muted); }
.catalog-price-history { margin-top: 12px; }
.catalog-price-history p { margin-top: 9px; }
.rates { margin-top: clamp(32px,5vw,60px); border-top: 1px solid var(--line); padding-top: 22px; }
.rates-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px 24px; }
.rates-title p,.merchant p+p,.history { margin-top: 9px; }
.rates-title .downloads { margin-top: 0; flex: none; }
.rates table { width: 100%; border-collapse: collapse; margin-block: 21px; font-size: .96rem; }
.rates th,.rates td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rates th { font-weight: 640; }.rates thead th { background: var(--wash); }.rates th small { display: block; color: var(--muted); font-weight: 420; margin-top: 5px; }
.rates th details { font-size: .9rem; font-weight: 400; color: var(--muted); margin-top: 6px; }
.merchant { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 13px; }
.foot { border-top: 1px solid var(--line); padding-block: 24px 18px; }
.foot-main,.foot-legal,.footer-links,.foot-legal nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot-main,.foot-legal { justify-content: space-between; }
.footer-links a,.foot-legal a,.foot-legal button { font-size: .86rem; }
.foot-legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot-legal small { color: var(--muted); }
.foot-legal button { background: none; border: 0; padding: 0; }
.cookie { position: fixed; z-index: 15; inset: auto var(--gap) 14px; width: max-content; max-width: min(720px,calc(100% - 2 * var(--gap))); margin-inline: auto; background: #fff; border: 1px solid #d0d0d4; border-radius: 14px; padding: 13px 16px; box-shadow: 0 6px 26px #1919191b; display: flex; align-items: center; gap: 12px 19px; }
.cookie p { margin-top: 2px; font-size: .86rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.cookie button { padding: 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 580; font-size: .85rem; }
.cookie #cookieAccept { color: white; border-color: var(--action); background: var(--action); }
.contact-layout { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 28px; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); }
.contact-info p { margin-top: 8px; color: var(--muted); }
.contact-info address { margin-top: 16px; font-style: normal; }.contact-info address a { display: block; width: fit-content; margin: 5px 0; }
.contact-form,#withdrawal-form { background: var(--wash); padding: clamp(17px,3.2vw,30px); border: 1px solid var(--line); border-radius: 16px; }
#withdrawal-form { max-width: 740px; margin-top: 16px; }.withdrawal-intro { margin: 12px 0; }
.contact-fields { display: grid; gap: 15px; margin-block: 18px; }
.contact-form label,#withdrawal-form label { display: block; font-size: .93rem; font-weight: 620; margin-bottom: 5px; }
.contact-form input,.contact-form textarea,#withdrawal-form input,#withdrawal-form textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #c5c5ca; border-radius: 8px; background: #fff; }
.contact-form textarea,#withdrawal-form textarea { resize: vertical; min-height: 96px; }
.contact-form small { color: var(--muted); font-weight: 450; }.contact-note { margin: 12px 0; font-size: .91rem; color: var(--muted); }
#contact-status:not(:empty),#contact-error:not([hidden]),#withdrawal-submit { margin-top: 12px; }
#withdrawal-receipt pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.studio-whatsapp {
  position: fixed; z-index: 12; inset-inline-end: calc(16px + env(safe-area-inset-right, 0px)); inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #15794c; box-shadow: 0 6px 20px #163c2a29;
}
.studio-whatsapp:hover { background: #12663f; }
.studio-whatsapp svg { width: 28px; height: 28px; }
#cookieNotice:not([hidden]) ~ .studio-whatsapp { visibility: hidden; }
@media (max-width:1150px) { .foot { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width:760px) {
  .head-inner,.head-links { gap: 16px; }
  .offer-items { grid-template-columns: 1fr 1fr; gap: 16px 21px; }
  .offer-items li { border: 0; padding: 0; }
  .catalog-cover,.contact-layout,.details-wrap { grid-template-columns: 1fr; gap: 21px; }
  .rates-title { flex-wrap: wrap; }
  .cookie { flex-direction: column; align-items: flex-start; width: auto; gap: 7px; }
}
@media (max-width:640px) {
  .head-inner { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; min-height: 60px; }
  .head-inner > .public-brand { justify-self: center; }
  .head-links { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary,.head-inner .account-link {
    display: grid; place-items: center; min-height: 44px; width: 44px; padding: 0; border-radius: 12px; color: var(--ink); background: transparent;
  }
  .mobile-menu summary { list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary:hover,.mobile-menu[open] summary,.head-inner .account-link:hover { background: var(--wash); }
  .mobile-menu summary svg,.account-icon { display: block; width: 24px; height: 24px; }
  .mobile-menu nav {
    position: absolute; z-index: 14; inset-block-start: calc(100% + 6px); inset-inline-start: 0;
    width: min(230px, calc(100vw - 32px)); padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 22px #3838381a;
  }
  .mobile-menu nav a { display: block; padding: 10px 12px; min-height: 44px; border-radius: 9px; font-size: .94rem; text-decoration: none; }
  .mobile-menu nav a:hover,.mobile-menu nav a:focus-visible { background: var(--wash); }
  .account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .public-brand .studio-mark,.public-brand svg { width: 30px; height: 30px; }
  .studio-wordmark { font-size: 17px; }
  .tool { padding-top: 38px; }.composer { padding: 15px; }.hero-terms { font-size: .93rem; }
  .offer-top { grid-template-columns: 1fr; gap: 19px; }.offer-cost { padding: 0; border: 0; }
  .offer-ref { margin-top: 5px; }.offer-top h2 { max-width: 28ch; }
  .work-steps,.flow-list li { grid-template-columns: 1fr; }
  .work-steps li+li { border-left: 0; border-top: 1px solid var(--line); }.work-steps li { padding: 16px 18px; }
  .flow-list li { gap: 5px; padding: 16px 18px; }
  .rates table,.rates tbody,.rates tr,.rates td,.rates th[scope="row"] { display: block; }
  .rates thead { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
  .rates tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .rates th[scope="row"],.rates td { padding: 2px 0; border: 0; }
  .rates td:nth-child(2)::before { content: "Aktualna cijena · "; color: var(--muted); }.rates td:nth-child(3) { color: var(--muted); }
  .foot-main,.foot-legal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-legal nav,.footer-links { gap: 7px 15px; }
}
@media (max-width:370px) {
  .offer-items { grid-template-columns: 1fr; gap: 12px; }.offer-items li + li { border-top: 1px solid var(--line); padding-top: 12px; }
  .offer-items strong { margin-bottom: 2px; }
}
@media print { .site-head,.foot,.cookie,.guide-back,.legal-doc button,.studio-whatsapp { display: none!important; }.legal-doc { margin: 0; width: 100%; padding: 0; } }
