/* Mostić website: same pastel greens, white and wheat as the app. */
:root {
  --paper: #f7faf3;
  --white: #ffffff;
  --mint: #e2eeda;
  --mint-deep: #cfe3c2;
  --sage: #b5d2a6;
  --fern: #4f7d4b;
  --fern-bright: #6a9b64;
  --moss: #24392b;
  --muted: #5d7361;
  --line: #d9e6d1;
  --wheat-soft: #fbf4dc;
  --wheat: #f2e6bf;
  --ochre: #8c6b24;
  --serif: 'Alegreya', 'Iowan Old Style', Georgia, serif;
  --sans: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--moss);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fern); }
:focus-visible { outline: 3px solid var(--fern-bright); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
section { padding: 64px 0; }

/* ---------- top bar ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--moss); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; }
.langs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.langs button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 12px 4px 8px;
  border: 0; border-radius: 999px; background: transparent; color: var(--moss);
  font: 700 14px/1 var(--sans); cursor: pointer;
}
.langs button[aria-pressed='true'] { background: var(--mint); }
.flag { width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(36, 57, 43, 0.15); flex: none; }
.flag svg { width: 100%; height: 100%; display: block; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 40px; align-items: center; padding: 24px 0 56px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 40px 0 80px; } }
h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.01em;
}
.lede { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.6; color: var(--muted); }
.lede strong { color: var(--moss); }

.stores { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 22px 10px 18px;
  border-radius: 16px; background: var(--moss); color: var(--white); text-decoration: none;
  font-weight: 800; font-size: 15px; line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease;
}
.store-btn:hover { background: #1b2c21; transform: translateY(-1px); }
.store-btn svg { width: 20px; height: 22px; flex: none; }
.store-btn small { display: block; font-weight: 600; font-size: 11.5px; opacity: 0.75; }
.store-btn.is-soon { background: var(--white); color: var(--muted); border: 1.5px dashed var(--sage); cursor: default; transform: none; }
.store-btn.is-soon svg path[fill='#fff'] { fill: var(--muted); }
.web-btn { background: var(--mint); color: var(--moss); }
.web-btn:hover { background: var(--mint-deep); }
.note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* two phones */
.phones { position: relative; height: clamp(420px, 70vw, 600px); max-width: 520px; width: 100%; margin: 0 auto; }
.phone {
  position: absolute; width: 56%; border-radius: 34px; overflow: hidden; background: var(--white);
  border: 7px solid var(--white); box-shadow: 0 30px 60px -30px rgba(36, 57, 43, 0.55), 0 0 0 1px var(--line);
}
.phone img { width: 100%; height: auto; }
.phone--sr { left: 0; top: 0; transform: rotate(-4deg); }
.phone--en { right: 0; top: 9%; transform: rotate(4deg); }
.tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px;
  border-radius: 999px; background: var(--white); box-shadow: 0 10px 24px -14px rgba(36, 57, 43, 0.6);
  font-weight: 800; font-size: 14px; white-space: nowrap;
}
.tag--sr { left: 2%; bottom: 14%; }
.tag--en { right: 2%; bottom: 4%; }

/* ---------- natural Serbian ---------- */
.natural { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: 36px 20px; }
@media (min-width: 760px) { .natural { padding: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; } }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; }
.natural p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.examples { margin-top: 26px; display: grid; gap: 12px; }
@media (min-width: 760px) { .examples { margin-top: 0; } }
.ex { border-radius: 20px; padding: 16px 18px; background: var(--wheat-soft); }
.ex__en { font-size: 14px; color: var(--ochre); font-weight: 700; }
.ex__rows { margin-top: 8px; display: grid; gap: 6px; }
.ex__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.ex__row span { font-size: 14px; color: var(--muted); }
.ex__row b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--moss); }
.ex--sr { background: var(--mint); }

/* ---------- steps ---------- */
.center { text-align: center; }
.sub { margin: 12px auto 0; max-width: 36em; color: var(--muted); }
.steps { margin-top: 36px; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px 22px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.step__n {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--mint); color: var(--fern); font-family: var(--serif); font-weight: 700; font-size: 22px;
}
.step:nth-child(2) .step__n { background: var(--wheat); color: var(--ochre); }
h3 { margin-top: 14px; font-size: 19px; line-height: 1.3; font-weight: 800; }
.step p, .card p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- features ---------- */
.grid { margin-top: 36px; display: grid; gap: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 22px 20px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.card svg { width: 28px; height: 28px; color: var(--fern); }
.card h3 { margin-top: 10px; }

/* ---------- friend strip ---------- */
.friend { background: var(--mint); }
.friend .inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .friend .inner { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.friend ul { list-style: none; display: grid; gap: 4px; }
.friend li { position: relative; padding: 8px 0 8px 30px; color: var(--moss); }
.friend li::before {
  content: ''; position: absolute; left: 2px; top: 15px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 4px var(--fern-bright);
}

/* ---------- closing ---------- */
.close h2 { max-width: 16em; margin: 0 auto; }
.close .stores { justify-content: center; }
.story { margin: 18px auto 0; max-width: 34em; color: var(--muted); }

/* ---------- footer ---------- */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
footer a { color: var(--moss); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--fern); }
.legal { margin-top: 12px; font-size: 13px; }

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 8px 0 72px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); }
.updated { margin-top: 8px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 40px; font-size: 28px; }
.doc h3 { margin-top: 22px; }
.doc p, .doc li { margin-top: 10px; max-width: 65ch; }
.doc ul { padding-left: 22px; }
.doc .box { margin-top: 24px; padding: 20px 22px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.faq { margin-top: 18px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); padding: 4px 20px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--fern); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
