/* Shared look for minik.kids: light, rounded, roomy; follows dark mode. */
:root {
  --bg: #ffffff;
  --bg2: #f3f8fd;
  --ink: #18202b;
  --muted: #5b6676;
  --line: #e4ecf4;
  --card: #ffffff;
  --brand: #ff6b3d;
  --blue: #1f8ae0;
  --radius: 28px;
  --shadow: 0 1px 2px #0000000a, 0 14px 34px -20px #18202b55;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1319;
    --bg2: #151c25;
    --ink: #eef2f7;
    --muted: #a3aebd;
    --line: #25303c;
    --card: #161e28;
    --shadow: 0 1px 2px #0006, 0 14px 34px -20px #000c;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-weight: 650; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* Hero */
/* The soft lights may spill into the next section (no hard edge); only sideways overflow is cut. */
.hero { position: relative; padding: 72px 0 48px; isolation: isolate; overflow-x: clip; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(30px); pointer-events: none; }
.hero::before { width: 640px; height: 640px; right: -160px; top: -220px; background: radial-gradient(closest-side, #bfe5ff, transparent); }
.hero::after { width: 520px; height: 520px; left: -220px; bottom: -280px; background: radial-gradient(closest-side, #ffd9e4, transparent); }
@media (prefers-color-scheme: dark) {
  .hero::before { background: radial-gradient(closest-side, #12385a, transparent); }
  .hero::after { background: radial-gradient(closest-side, #4a2333, transparent); }
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--blue); }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.025em; margin: 16px 0; font-weight: 800; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--card); }
.btn.dark { background: var(--ink); color: var(--bg); border-color: transparent; }
.btn img { width: 28px; height: 28px; border-radius: 8px; }
.art { display: grid; place-items: center; }
.disc { width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
        background: linear-gradient(160deg, #d6eeff, #ffe2ec); box-shadow: inset 0 0 0 10px #ffffff80; }
@media (prefers-color-scheme: dark) { .disc { background: linear-gradient(160deg, #173a57, #4a2536); box-shadow: inset 0 0 0 10px #ffffff10; } }
.disc img { width: 70%; height: auto; }
.disc.icon img { width: 58%; border-radius: 22%; box-shadow: 0 18px 40px -16px #0007; }

/* Sections */
section { padding: 36px 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.015em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.grid { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
a.card { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); }
.app { display: flex; gap: 18px; align-items: center; }
.app > img, .app .later { width: 92px; height: 92px; border-radius: 22px; flex: none; }
.app > img { box-shadow: 0 8px 20px -10px #0008; }
.app h3 { margin: 0 0 4px; font-size: 21px; }
.app p { margin: 0; color: var(--muted); }
.tag { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6f3ff; color: #146fbd; }
@media (prefers-color-scheme: dark) { .tag { background: #12324d; color: #8cc8ff; } }
.card.soon { border-style: dashed; background: transparent; box-shadow: none; }
.later { display: grid; place-items: center; background: var(--bg2); }
.later img { width: 70%; opacity: .55; }
/* Feature lists: icon on the left, words on the right; 3 across (4 on the home page). */
.features { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .features, .features.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features, .features.four { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 24px; background: var(--bg2); }
.features.four .feature { flex-direction: column; gap: 12px; }
.feature .icon { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
                 background: #dff5e7; color: #1e9e57; }
@media (prefers-color-scheme: dark) { .feature .icon { background: #12331f; color: #5fd38d; } }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 2px 0 4px; font-size: 17px; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* Screenshots, one under the other (two side by side on wide screens) */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-weight: 650; }

/* Documents (privacy, support) */
.doc { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 22px; margin: 26px 0 6px; }
.doc h3 { font-size: 18px; margin: 18px 0 2px; }
.doc p { color: var(--muted); margin: 0 0 8px; }
.doc .card { margin: 24px 0; }
.doc .card p strong { color: var(--ink); }

footer { margin-top: 32px; padding: 28px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .hero { padding: 36px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .art { order: -1; }
  .disc { width: min(260px, 70vw); }
  .top nav { gap: 14px; font-size: 15px; }
}

/* ---- Motion: slow, soft, and off for "reduce motion" ---- */
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, -40px) scale(1.1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

.hero::before { animation: drift-a 18s ease-in-out infinite alternate; }
.hero::after { animation: drift-b 22s ease-in-out infinite alternate; }
.hero .pill, .hero h1, .hero .lead, .hero .buttons { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .06s; }
.hero .lead { animation-delay: .14s; }
.hero .buttons { animation-delay: .22s; }
.disc { animation: pop .8s cubic-bezier(.2, .7, .2, 1) .1s both; }
.disc img { animation: float 6s ease-in-out .9s infinite; }

.reveal { opacity: 0; transform: translateY(22px);
          transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

.top { transition: box-shadow .25s ease, background .25s ease; }
.top.scrolled { box-shadow: 0 10px 30px -22px #18202b66; }
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px #18202b77; }
a.btn:active { transform: translateY(0) scale(.98); }
.feature { transition: transform .25s ease, background .25s ease; }
.feature:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--bg2) 70%, #dff5e7); }
.feature .icon { transition: transform .3s cubic-bezier(.2, .7, .2, 1.4); }
.feature:hover .icon { transform: scale(1.08) rotate(-4deg); }
a.card.app:hover > img { transform: rotate(-3deg) scale(1.04); }
.app > img { transition: transform .3s cubic-bezier(.2, .7, .2, 1.4); }
.chip { transition: transform .18s ease, background .18s ease; }
.chip:hover { transform: translateY(-2px); background: var(--card); }
.shots img { transition: transform .3s ease, box-shadow .3s ease; }
.shots img:hover { transform: translateY(-4px) scale(1.01); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
