/* Byegone – sajt (byegone.app). Bez spoljnih fontova, skripti i kolacica: sve je na ovom domenu (CSP u /_headers). */

@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+2074, 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-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: "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+2074, 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-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-800-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext-800-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;
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --surface: #ffffff;
  --text: #0b2b2c;
  --muted: #475569;
  --primary: #0f766e;
  --primary-ink: #ffffff;
  --border: #ccfbf1;
  --rule: #e2f3f0;
  --store-bg: #0b0b0c;
  --store-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071a1b;
    --bg-soft: #0b2425;
    --surface: #0d2627;
    --text: #e6fffb;
    --muted: #a3b8b6;
    --primary: #5eead4;
    --primary-ink: #04201f;
    --border: #1d4e4b;
    --rule: #143c3b;
    --store-bg: #ffffff;
    --store-ink: #0b0b0c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--primary); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* Zaglavlje */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) { .nav .wide { display: none; } }

/* Dugmad */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 6px 22px;
  border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 1.05rem; line-height: 1.15; }
.btn small { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.02em; opacity: 0.85; }
.btn-store { background: var(--store-bg); color: var(--store-ink); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }

/* Naslovni deo */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 72px; }
.eyebrow { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 12px; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 18px; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 32em; }
.note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.phone { justify-self: center; width: min(290px, 72vw); height: auto; filter: drop-shadow(0 24px 40px rgba(11, 43, 44, 0.18)); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
}

/* Delovi strane */
.block { padding: 76px 0; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 1.12rem; margin: 0 0 36px; max-width: 38em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: var(--surface); }
.card svg { width: 30px; height: 30px; margin-bottom: 14px; stroke: var(--primary); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.band { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin: 0 0 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.2em + 5px); width: 6px; height: 10px;
  border: solid var(--primary-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.langs { color: var(--muted); margin: 0; }

/* Tekstualne strane (podrska, privatnost) */
.doc { max-width: 760px; margin: 0 auto; padding: 52px 20px 76px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 2.9rem); }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 40px 0 8px; padding-top: 18px; border-top: 1px solid var(--rule); }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 1.25rem; margin: 0 0 12px; }
.meta { color: var(--muted); margin: 0 0 24px; }
.summary { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.summary h2 { border: 0; margin: 0 0 8px; padding: 0; }
.summary ul { margin: 0; }
.contact { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin: 24px 0 32px; }
.contact p:last-child { margin: 0; }
.faq h2 { border: 0; padding: 0; margin: 36px 0 14px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; padding: 0 18px; margin: 0 0 10px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; color: var(--primary); font-weight: 800; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--muted); }
.faq details > :last-child { margin-bottom: 16px; }

/* Podnozje */
.site-footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  padding-top: 28px; padding-bottom: 40px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Strana 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
