:root {
  --lav: #eadcf8;
  --lav-soft: #f4eefb;
  --purple: #9b8ce0;
  --purple-dark: #6f5bb8;
  --ink: #2e2a3a;
  --muted: #6b6480;
  --card: #ffffff;
  --radius: 24px;
  --shadow: 0 12px 34px rgba(110, 91, 184, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(80% 60% at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--lav) 0%, var(--lav-soft) 45%, #ffffff 100%);
  background-attachment: fixed;
  line-height: 1.66;
}

a { color: var(--purple-dark); }

.wrap { max-width: 780px; margin: 0 auto; padding: 16px 20px 72px; }

/* Language dropdown (in the header nav, next to Help / Privacy) */
.langselect {
  margin-left: 18px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(155, 140, 224, 0.5);
  border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.langselect:hover { border-color: var(--purple); }

/* Header / nav */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; color: var(--purple-dark); text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 11px; }
nav.links a { margin-left: 18px; font-weight: 700; text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--purple-dark); }

/* Hero */
.hero { text-align: center; padding: 30px 0 4px; }
.hero img.chibi { width: 210px; height: auto; filter: drop-shadow(0 14px 20px rgba(110, 91, 184, 0.28)); }
.hero h1 { font-size: 44px; margin: 6px 0 4px; color: var(--purple-dark); letter-spacing: -0.5px; }
.hero .tag { font-size: 18px; color: var(--muted); font-weight: 700; }
.hero p.lead { font-size: 17px; max-width: 540px; margin: 18px auto 0; }

/* "Download on the App Store" button (hero CTA, under the chibi). */
.appstore-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; padding: 14px 28px;
  background: #1d1d1f; color: #fff; border-radius: 14px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(29, 29, 31, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.appstore-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(29, 29, 31, 0.34); }
.appstore-btn svg { flex: none; }

/* Cards / sections */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 26px; margin: 16px 0;
}
.card h3 { margin: 0 0 6px; }
.card ul { margin: 8px 0 0; padding-left: 22px; }

/* "New" pill next to a feature heading */
.badge {
  display: inline-block; vertical-align: middle;
  margin-left: 8px; padding: 2px 9px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  color: #ffffff; background: var(--purple); border-radius: 999px;
}

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.feature { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.feature .emoji { font-size: 30px; }
.feature h3 { margin: 8px 0 6px; font-size: 17px; color: var(--purple-dark); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.cta {
  text-align: center; margin-top: 28px; padding: 22px;
  background: linear-gradient(135deg, #efe6fb, #ffffff);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--muted); font-weight: 600;
}

h1.page, h2 { color: var(--purple-dark); }
h2 { margin-top: 30px; font-size: 22px; }
small.updated { color: var(--muted); }

footer.site { margin-top: 44px; text-align: center; color: var(--muted); font-size: 14px; }
footer.site a { margin: 0 8px; font-weight: 700; text-decoration: none; }

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
