:root {
  --ink: #2b2118;
  --amber-deep: #b8722c;
  --amber-mid: #d9a24b;
  --amber-light: #f3d9a8;
  --cream: #f7f1e8;
  --white: #ffffff;
  --muted: #6b5f4f;
  --border: #e5dccb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 241, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--amber-deep); }
.nav-links { display: none; }
@media (min-width: 720px) { .nav-links { display: flex; } }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--amber-deep) 0%, var(--amber-mid) 45%, var(--cream) 100%);
  padding: 72px 0 56px;
  text-align: center;
  color: var(--ink);
}
.hero img.icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(43, 33, 24, 0.25);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p.tagline {
  font-size: clamp(16px, 2.4vw, 20px);
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(43, 33, 24, 0.85);
}
.badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(43, 33, 24, 0.25);
}
.btn-store.disabled {
  background: rgba(43, 33, 24, 0.35);
  cursor: default;
  pointer-events: none;
}
.btn-store small { display: block; font-weight: 500; font-size: 11px; opacity: 0.8; }

/* Sections */
section { padding: 64px 0; }
h2.section-title {
  font-size: clamp(26px, 4vw, 34px);
  text-align: center;
  margin: 0 0 8px;
  font-weight: 800;
}
p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(43, 33, 24, 0.06);
}
.feature-card .emoji {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Screenshots */
.screens-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}
.screen-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}
.screen-item img {
  width: 220px;
  border-radius: 28px;
  border: 6px solid var(--ink);
  box-shadow: 0 16px 32px rgba(43, 33, 24, 0.2);
}
.screen-item span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* Languages */
.lang-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lang-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--amber-deep), var(--amber-mid));
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  color: var(--white);
  margin: 0 24px;
}
.cta h2 { margin: 0 0 12px; font-size: 28px; }
.cta p { margin: 0 0 28px; opacity: 0.9; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer .footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 20px; }
footer a { text-decoration: none; color: var(--muted); font-weight: 600; }
footer a:hover { color: var(--amber-deep); }

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal h1 { font-size: 32px; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin-top: 36px; }
.legal p, .legal li { color: rgba(43, 33, 24, 0.85); }
.legal a { color: var(--amber-deep); font-weight: 600; }
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--amber-deep);
  text-decoration: none;
}
