:root {
  --lav: #C4B0FF;
  --pink: #FFB8DE;
  --peach: #FFC2A8;
  --yellow: #FFE59A;
  --mint: #A9EBD2;
  --blue: #AFCBFF;
  --ink: #3b3355;
  --muted: #7c7596;
  --bg: #FBF8FF;
  --card: #ffffff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(251, 248, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand { font-weight: 700; font-size: 1.5rem; letter-spacing: 0.5px; }
.brand.small { font-size: 1.2rem; margin: 0 0 6px; }
.top nav { display: flex; gap: 16px; font-size: 0.9rem; font-weight: 500; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--ink); }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px 40px; }

/* hero */
.hero {
  margin-top: 8px;
  padding: 44px 24px 40px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--lav), var(--pink) 55%, var(--peach));
  color: #fff;
}
.eyebrow { margin: 0 0 14px; font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; opacity: 0.95; }
.hero h1 { margin: 0 auto 14px; max-width: 640px; font-size: clamp(1.9rem, 6.5vw, 3.2rem); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.lead { margin: 0 auto 24px; max-width: 480px; font-size: 1rem; opacity: 0.95; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  background: #fff; color: var(--ink);
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-2px); }

/* how it works */
.how { display: grid; gap: 12px; margin: 28px 0 8px; }
.step {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 2px 14px rgba(120, 100, 180, 0.08);
}
.step span {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--lav), var(--pink));
}
.step p { margin: 0; font-size: 0.92rem; }

/* niches */
.niche { margin-top: 44px; scroll-margin-top: 70px; }
.niche-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.niche-head img { width: 72px; height: 72px; border-radius: 20px; flex: none; }
.niche-head h2 { margin: 0; font-size: 1.4rem; }
.niche-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
@media (min-width: 720px) { .grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(120, 100, 180, 0.1);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(120, 100, 180, 0.16); }
.card .thumb { aspect-ratio: 4 / 5; background: var(--thumb, var(--lav)); object-fit: cover; width: 100%; }
.card .thumb.ph { display: grid; place-items: center; font-size: 2.4rem; color: #fff; }
.card .body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 0.92rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 0.8rem; flex: 1; }
@media (min-width: 720px) {
  .card .body { padding: 14px 16px 18px; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.85rem; }
}

.btn {
  margin-top: 8px; display: inline-block; text-align: center;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  color: #fff; background: var(--accent, var(--lav));
}
.btn:hover { filter: brightness(0.96); }
.btn.off { background: #e6e1f2; color: #9a93b3; pointer-events: none; }

.empty {
  grid-column: 1 / -1;
  border: 2px dashed var(--accent, var(--lav));
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  color: var(--muted); font-size: 0.95rem; background: rgba(255, 255, 255, 0.6);
}
.empty strong { display: block; color: var(--ink); margin-bottom: 4px; }

.niche-screens  { --accent: #a58cf5; --thumb: linear-gradient(135deg, #C4B0FF, #FFB8DE); }
.niche-stickers { --accent: #f59a7c; --thumb: linear-gradient(135deg, #FFC2A8, #FFE59A); }
.niche-desk     { --accent: #5fc9a3; --thumb: linear-gradient(135deg, #A9EBD2, #AFCBFF); }

footer {
  text-align: center; padding: 36px 20px 48px; color: var(--muted); font-size: 0.85rem;
  max-width: 560px; margin: 0 auto;
}
footer p { margin: 6px 0; }
footer .muted { opacity: 0.8; }

@media (min-width: 720px) {
  .how { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 64px 40px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .pill { transition: none; }
}
