/* Same look as the app: one MZK green, white and neutral greys (src/constants/theme.ts). */
:root {
  --text: #14191a;
  --text-2: #5f6b66;
  --bg: #ffffff;
  --bg-2: #f3f5f4;
  --border: #dde3e0;
  --tint: #13874a;
  --tint-soft: #e6f4ec;
  --on-tint: #ffffff;
  --hero-1: #1f9d5a;
  --hero-2: #0f6e3c;
  --radius: 20px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f5f3;
    --text-2: #9aa6a0;
    --bg: #0e1110;
    --bg-2: #1a1f1d;
    --border: #2c3431;
    --tint: #3dd68c;
    --tint-soft: #16301f;
    --on-tint: #04140a;
    --hero-1: #12643a;
    --hero-2: #0a3f24;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Header on the green hero */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 16px;
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 9px; }
.langs { display: flex; gap: 4px; }
.langs a {
  min-width: 44px; min-height: 36px; display: grid; place-items: center;
  padding: 0 10px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.langs a[aria-current='page'] { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Hero */
.hero {
  display: grid; gap: 40px; align-items: center;
  padding: 104px max(16px, calc((100% - var(--max)) / 2)) 0;
  padding-bottom: 64px;
  background: radial-gradient(120% 90% at 15% 0%, var(--hero-1), var(--hero-2));
  color: #fff;
}
.hero-text { max-width: 560px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
  font-weight: 700; font-size: 15px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9be3ba; box-shadow: 0 0 0 4px rgba(155, 227, 186, 0.3); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: #9be3ba; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255, 255, 255, 0.9); margin: 16px 0 28px; }
.note { margin: 14px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.hero-phone { justify-self: center; }

/* Store buttons: Google Play now, App Store "coming soon" (not a link) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 18px; border-radius: 16px;
  text-decoration: none; line-height: 1.2;
}
.store span { display: flex; flex-direction: column; }
.store strong { font-size: 17px; }
.store small { font-size: 13px; opacity: 0.8; }
.store-icon { width: 24px; height: 24px; flex: none; }
.store-play { background: #fff; color: #0f6e3c; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.store-play:hover { transform: translateY(-1px); }
.store-play:focus-visible { outline: 3px solid #9be3ba; outline-offset: 3px; }
.store-soon { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; cursor: default; }
.cta .store-play { background: var(--tint); color: var(--on-tint); }
.cta .store-soon { border-color: var(--border); color: var(--text-2); }

/* Phone frame drawn in CSS around a plain screenshot */
.phone {
  width: min(300px, 78vw); aspect-ratio: 1206 / 2622;
  padding: 10px; border-radius: 46px; background: #111;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), inset 0 0 0 2px #2a2a2a;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }

/* Feature rows, alternating sides on wide screens */
.feature {
  display: grid; gap: 32px; align-items: center; justify-items: center;
  max-width: var(--max); margin: 0 auto; padding: 72px 16px;
}
.feature-text { max-width: 460px; }
.kicker { margin: 0 0 8px; color: var(--tint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.feature h2, .more h2, .faq h2, .cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.feature p { color: var(--text-2); font-size: 19px; margin: 14px 0 0; }

.more { background: var(--bg-2); padding: 72px 16px; }
.more h2 { text-align: center; max-width: var(--max); margin: 0 auto 32px; }
.more ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.more li { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.more .icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); }
.more h3 { font-size: 19px; margin: 14px 0 6px; }
.more p { margin: 0; color: var(--text-2); font-size: 16px; }

.faq { max-width: 760px; margin: 0 auto; padding: 72px 16px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 700; font-size: 18px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--tint); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }

.cta { text-align: center; padding: 72px 16px; background: var(--tint-soft); }
.cta h2 { margin-bottom: 24px; }
.cta .stores { justify-content: center; }

.bottom { max-width: var(--max); margin: 0 auto; padding: 32px 16px 48px; color: var(--text-2); font-size: 14px; text-align: center; }
.bottom p { margin: 0 0 8px; }
.bottom a { color: var(--text-2); }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr 1fr; padding-top: 120px; }
  .feature { grid-template-columns: 1fr 1fr; padding: 96px 16px; }
  .feature.flip .feature-text { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-play:hover { transform: none; }
}
