:root {
  --bg: #fff8ec;
  --card: #ffffff;
  --ink: #3a2a4a;
  --muted: #6e5f7d;
  --plum: #7b3fa0;
  --plum-dark: #5a2a78;
  --sun: #ffd25a;
  --leaf: #5cae4a;
  --line: #ecdcc4;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--plum); }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 42rem; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; gap: 18px; font-size: .95rem; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--plum); }

/* Hero */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #8fd0ff url(img/scn_vrtic_ulaz.webp) center / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero-card {
  position: relative;
  margin: 24px;
  max-width: 30rem;
  background: rgba(255, 255, 255, .93);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(58, 42, 74, .15);
}
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--plum-dark);
}
.hero p { margin: 0 0 16px; }
.hero-plum {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(34%, 260px);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .2));
}

/* Store badges: coming soon */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 9px 18px;
  border-radius: 14px;
  background: #241a2e;
  color: #fff;
  line-height: 1.2;
  opacity: .9;
  cursor: default;
  user-select: none;
}
.store small { font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }
.store b { font-size: 1.1rem; }
.soon {
  display: inline-block;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--muted);
}

/* Sections */
section { padding: 44px 0 8px; }
h2 { font-size: 1.6rem; margin: 0 0 16px; color: var(--plum-dark); line-height: 1.2; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card img { width: 84px; height: 84px; object-fit: contain; display: block; margin-bottom: 8px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: s;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px 16px 66px;
  position: relative;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 2px solid var(--sun);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.price img { width: 96px; height: 96px; object-fit: contain; }
.price div { flex: 1 1 16rem; }
.price p { margin: 4px 0 0; color: var(--muted); }

/* Text pages */
.page h1 { color: var(--plum-dark); line-height: 1.2; }
.page h2 { font-size: 1.3rem; margin-top: 28px; }

footer {
  margin-top: 56px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .top nav { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 150px; }
  .hero-card { margin: 12px; padding: 18px; }
  .hero-plum { top: 12px; bottom: auto; right: 50%; transform: translateX(50%); width: 140px; }
  .store { min-width: 0; flex: 1 1 140px; }
}
