:root {
  --violet: #7c5cff; --violet-d: #5a3fe0; --pink: #ff6fa5; --mint: #2fd3a7; --sun: #ffc83d;
  --ink: #2b2340; --muted: #6e6787; --bg: #f7f4ff; --line: #e7e1fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.1; margin: 0 0 .4em; }
a { color: var(--violet-d); }
img, svg { max-width: 100%; }

.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px); padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(247, 244, 255, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--violet-d); }
.brand img { border-radius: 12px; }
.brand b { display: block; font: 800 1.45rem/1 'Baloo 2', sans-serif; }
.brand small { color: var(--pink); font-size: .65em; }
.brand em { display: block; font-style: normal; font-weight: 800; font-size: .72rem; color: var(--pink); letter-spacing: .4px; }
.nav nav { display: flex; align-items: center; gap: 18px; font-weight: 700; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--violet-d); }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--violet); color: #fff; text-decoration: none; font-weight: 800;
  border-radius: 999px; padding: 10px 20px; box-shadow: 0 6px 0 var(--violet-d); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--violet-d); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--violet-d); }
.btn.small { padding: 8px 16px; font-size: .9rem; box-shadow: 0 4px 0 var(--violet-d); }
.btn.big { font-size: 1.1rem; padding: 14px 26px; }
.btn.android { background: #3ddc84; color: #073b1f; box-shadow: 0 6px 0 #1f9e58; }

main section { padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 64px); }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; max-width: 1180px; margin: 0 auto;
  background: radial-gradient(circle at 85% 20%, #ffe3f1 0, transparent 40%), radial-gradient(circle at 10% 80%, #dff8ef 0, transparent 40%); }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--pink); font-weight: 800; border-radius: 999px; padding: 4px 14px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero h1 span { color: var(--violet); text-decoration: underline wavy var(--pink) 3px; text-underline-offset: 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 12px; }
.cta.center { justify-content: center; }
.fine { color: var(--muted); font-size: .9rem; }
.center { text-align: center; }

/* phone mock */
.phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18; background: #1d1536; border-radius: 42px; padding: 12px;
  box-shadow: 0 30px 60px rgba(60, 30, 140, .3); transform: rotate(3deg); }
.phone-screen { height: 100%; background: #fff; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 18px 14px 10px; border-bottom: 1px solid var(--line); }
.ph-head small { display: flex; align-items: center; gap: 5px; color: #16a34a; font-weight: 700; font-size: .75rem; }
.ph-av svg { width: 40px; height: 40px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; display: inline-block; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #faf8ff; font-size: .85rem; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 16px; position: relative; }
.bubble.them { background: #efeaff; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { background: var(--violet); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.react { position: absolute; right: -8px; bottom: -10px; background: #fff; border-radius: 999px; padding: 0 4px; box-shadow: 0 2px 6px rgba(0,0,0,.12); font-size: .75rem; }
.sys { align-self: center; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 999px; padding: 3px 10px; }
.mini-board { align-self: center; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: #4d7cff; padding: 6px; border-radius: 10px; width: 75%; }
.mini-board i { aspect-ratio: 1; border-radius: 50%; background: #fff; }
.mini-board i.r { background: #ff4d6d; } .mini-board i.y { background: #ffd23f; }
.ph-send { display: flex; justify-content: space-between; margin: 10px; padding: 10px 14px; border-radius: 999px; background: #f3efff; color: var(--muted); }
.ph-send b { color: var(--violet); }

.features, .games, .safety { max-width: 1180px; margin: 0 auto; }
.features h2, .games h2, .safety h2, .final h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; }
.sub { text-align: center; color: var(--muted); margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px rgba(90, 63, 224, .08); border: 1px solid var(--line); }
.card.flat { box-shadow: none; }
.card p { color: var(--muted); margin: 0; }
.ic { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 10px; }
.ic img { border-radius: 16px; width: 64px; }
.ic.emoji { font-size: 2.6rem; background: #f3efff; border-radius: 18px; }

.games { text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 800; }
.squish-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 18px; }
.squish-row figure { margin: 0; animation: bob 3s ease-in-out infinite; }
.squish-row figure:nth-child(2n) { animation-delay: -1.5s; }
.squish-row figcaption { font-weight: 800; font-size: .85rem; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-8px); } }

.final { text-align: center; background: linear-gradient(135deg, #efe9ff, #ffe8f3); }
.final img { border-radius: 28px; box-shadow: 0 14px 30px rgba(90, 63, 224, .25); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px clamp(16px, 5vw, 64px);
  padding-bottom: max(24px, env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.doc h1 { font-size: 2.4rem; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; }
.doc li { margin: .3em 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin: 0 auto; }
  .cta { justify-content: center; }
  .phone { transform: none; width: min(280px, 80%); }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand em { display: none; }
  .btn.big { width: 100%; justify-content: center; }
}

/* Hootline World: linking steps and questions */
.world .tag { font-size: .8rem; font-weight: 800; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 10px; vertical-align: middle; }
.steps { max-width: 760px; margin: 24px auto; padding-left: 1.4em; display: grid; gap: 14px; line-height: 1.5; }
.steps .btn { margin: 6px 8px 6px 0; }
.steps .fine { display: block; }
.faq-title { text-align: center; margin: 36px 0 12px; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 10px 0 2px; color: var(--muted); line-height: 1.5; }
