/* ============================================================
   Sinau — bilingual kids learning app homepage
   Type: Fredoka (display) + Nunito (text)
   Look: playful rainbow worlds on warm cream, soft blobs
   ============================================================ */

/* ---------- Palette ---------- */
:root {
  --cream:      #FFF7EC;
  --cream-2:    #FFF0DC;
  --card:       #FFFFFF;
  --ink:        #3A2C28;
  --ink-soft:   #786862;
  --ink-faint:  #A99A92;
  --line:       #F0E3D2;

  /* world accents (rainbow default) */
  --sky:    #4FA3E8;   /* Math */
  --berry:  #9C6FE6;   /* Coding */
  --coral:  #FF6F61;   /* Music */
  --mint:   #2FBF95;   /* Creative */
  --sun:    #FFC23D;   /* sunshine */
  --tang:   #FF9F40;   /* Kisha */
  --pink:   #FF8BB3;

  --sky-soft:   #E4F1FC;
  --berry-soft: #EFE7FC;
  --coral-soft: #FFE7E3;
  --mint-soft:  #DDF5EE;
  --sun-soft:   #FFF1CE;
  --tang-soft:  #FFEBD6;

  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-soft: 0 18px 40px -18px rgba(120, 78, 50, .35);
  --shadow-card: 0 22px 48px -24px rgba(120, 78, 50, .40);
  --maxw: 1180px;

  --display: "Fredoka", system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;
}

/* alt palettes via tweak */
html[data-palette="sunshine"] {
  --sky: #FFB23D; --berry: #FF7A59; --coral: #FF6F8B; --mint: #F2A93B; --tang: #FF8A3D;
  --sky-soft:#FFEFD2; --berry-soft:#FFE3D9; --coral-soft:#FFE2E8; --mint-soft:#FFF0D4; --tang-soft:#FFE7D2;
}
html[data-palette="ocean"] {
  --sky: #3DA8D8; --berry: #4FBFA6; --coral: #5BC7C0; --mint: #3FB98C; --tang: #57B6D6;
  --sky-soft:#DDF0F7; --berry-soft:#DBF3EC; --coral-soft:#DCF4F2; --mint-soft:#DDF3E9; --tang-soft:#DEF1F7;
}
html[data-palette="berry"] {
  --sky: #A36BE6; --berry: #C262C8; --coral: #FF7AAE; --mint: #7E83EC; --tang: #B86FE0;
  --sky-soft:#EEE6FB; --berry-soft:#F8E3F9; --coral-soft:#FFE3EE; --mint-soft:#E8E9FD; --tang-soft:#F1E6FB;
}

/* alt display fonts via tweak */
html[data-font="baloo"]    { --display: "Baloo 2", system-ui, sans-serif; }
html[data-font="quicksand"]{ --display: "Quicksand", system-ui, sans-serif; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, filter .18s;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent);
}
.btn:hover { transform: translateY(-2px) scale(1.015); filter: brightness(1.04); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary { --btn-bg: var(--coral); --btn-fg: #fff; }
.btn--sun { --btn-bg: var(--sun); --btn-fg: #4A3411; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 2.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2.5px var(--ink-faint); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn .arrow { font-size: 1.1em; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.brand__logo { width: 40px; height: 40px; border-radius: 12px; display: block; box-shadow: 0 6px 14px -6px rgba(120,78,50,.5); }
.foot .brand__logo { width: 34px; height: 34px; border-radius: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 13px 15px 12px 16px;
  background: linear-gradient(135deg, var(--coral), var(--tang));
  display: grid; place-items: center; position: relative;
  box-shadow: 0 6px 14px -6px var(--coral);
}
.brand__mark::before, .brand__mark::after {
  content: ""; position: absolute; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.brand__mark::before { left: 11px; }
.brand__mark::after  { right: 11px; }
.brand__mark i {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 7px; border-radius: 0 0 10px 10px;
  border: 2.5px solid #fff; border-top: 0;
}
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { font-weight: 700; font-size: 16px; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-back {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-soft);
  margin-left: auto;
}
.nav-back:hover { color: var(--ink); }

/* language toggle */
.lang {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--cream-2); border-radius: 999px;
  border: 1px solid var(--line);
}
.lang button {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  border: none; background: transparent; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; line-height: 1;
  transition: color .15s;
}
.lang button[aria-pressed="true"] {
  background: #fff; color: var(--ink);
  box-shadow: 0 3px 8px -3px rgba(120,78,50,.4);
}
.nav__cta { }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
}
.hero h1 .pop { color: var(--coral); position: relative; white-space: nowrap; }
.hero__sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); margin-top: 22px; max-width: 30ch; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__store-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 15px;
  max-width: 38ch;
}
.hero__store-note::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 8px 16px -8px var(--sun);
  flex: none;
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  padding: 9px 15px 9px 12px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; color: var(--ink-soft);
  box-shadow: 0 8px 18px -14px rgba(120,78,50,.5);
}
.trust-chip .dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; flex: none; }
.trust-chip .dot::after { content: "✓"; font-weight: 900; }

/* hero visual */
.hero__art { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero__blobwrap { position: absolute; inset: -6%; }

/* phone mockup */
.phone {
  position: relative;
  width: 280px; aspect-ratio: 9 / 19;
  background: #2c2723; border-radius: 44px; padding: 11px;
  box-shadow: 0 40px 70px -30px rgba(90,55,35,.65), inset 0 0 0 2px rgba(255,255,255,.06);
  z-index: 3;
}
.phone--tilt { transform: rotate(-5deg); }
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden; background: var(--sky-soft);
}
.phone__screen image-slot { width: 100%; height: 100%; }
.phone__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #2c2723; border-radius: 999px; z-index: 4;
}

/* floating decorative blobs */
.float { position: absolute; z-index: 2; filter: drop-shadow(0 16px 22px rgba(120,78,50,.22)); }
.float--a { top: 2%;  left: -2%; }
.float--b { bottom: 6%; right: -4%; }
.float--c { top: 38%; right: -8%; }
.bubble {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  padding: 9px 14px; font-family: var(--display); font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-soft); display: inline-flex; align-items: center; gap: 8px;
}
.bubble .px { font-size: 18px; }
.bubble--1 { top: 8%; right: 2%; }
.bubble--2 { bottom: 12%; left: -6%; }

/* ---------- Blob characters ---------- */
.blob {
  position: relative;
  display: grid; place-items: center;
  background: var(--bc, var(--coral));
  border-radius: 49% 51% 47% 53% / 55% 53% 47% 45%;
  animation: bob 5s ease-in-out infinite;
}
.blob--alt { border-radius: 53% 47% 56% 44% / 45% 51% 49% 55%; animation-duration: 6s; }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-9px) rotate(1.5deg); } }
.blob .face { position: absolute; inset: 0; }
.blob .eye {
  position: absolute; top: 41%; width: 13%; height: 16%;
  background: #2c2723; border-radius: 50%;
}
.blob .eye::after { content:""; position:absolute; top:14%; left:18%; width:38%; height:34%; background:#fff; border-radius:50%; }
.blob .eye--l { left: 30%; }
.blob .eye--r { right: 30%; }
.blob .smile {
  position: absolute; top: 56%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 14%;
  border: 3.5px solid #2c2723; border-top: 0;
  border-radius: 0 0 40px 40px;
}
.blob .cheek { position: absolute; top: 53%; width: 11%; height: 8%; background: rgba(255,255,255,.45); border-radius: 50%; }
.blob .cheek--l { left: 18%; } .blob .cheek--r { right: 18%; }

/* ---------- Worlds ---------- */
.worlds .head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.worlds h2 { font-size: clamp(32px, 4vw, 50px); }
.worlds .head p { color: var(--ink-soft); font-size: 19px; margin-top: 16px; font-weight: 600; }

.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.world {
  position: relative; overflow: hidden;
  background: var(--w-soft); border-radius: var(--radius-lg);
  padding: 30px 26px 28px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--w) 18%, var(--line));
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
}
.world:hover { transform: translateY(-7px); box-shadow: 0 28px 44px -26px color-mix(in srgb, var(--w) 70%, transparent); }
.world__icon {
  width: 92px; height: 92px; margin: 4px auto 20px;
  background: var(--w); border-radius: 47% 53% 50% 50% / 55% 50% 50% 45%;
  display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 34px;
  box-shadow: 0 14px 24px -12px var(--w);
}
.world h3 { font-size: 23px; }
.world p { color: var(--ink-soft); font-size: 15.5px; margin-top: 9px; font-weight: 600; }
.world__tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  color: var(--w); background: #fff; padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.w-play    { --w: var(--coral); --w-soft: var(--coral-soft); }
.w-numbers { --w: var(--sky);   --w-soft: var(--sky-soft); }
.w-code    { --w: var(--mint);  --w-soft: var(--mint-soft); }
.w-music   { --w: var(--berry); --w-soft: var(--berry-soft); }

.cando { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.cando .chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  padding: 11px 20px 11px 14px; border-radius: 999px;
  font-weight: 700; font-size: 16px; box-shadow: 0 10px 20px -16px rgba(120,78,50,.5);
}
.cando .chip b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: 15px; flex: none; }

/* ---------- Kisha ---------- */
.kisha { background: linear-gradient(180deg, var(--tang-soft), color-mix(in srgb, var(--tang-soft) 40%, var(--cream))); }
.kisha__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.kisha__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.kisha__ring {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tang) 28%, transparent), transparent 62%);
}
.kisha h2 { font-size: clamp(32px, 4vw, 50px); }
.kisha h2 .pop { color: var(--tang); }
.kisha__lead { color: var(--ink-soft); font-size: 19px; margin-top: 18px; font-weight: 600; max-width: 40ch; }
.kisha__points { display: grid; gap: 18px; margin-top: 28px; }
.kpoint { display: flex; gap: 14px; align-items: flex-start; }
.kpoint .ic {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  background: #fff; display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 10px 20px -12px rgba(120,78,50,.5);
}
.kpoint .ic span { width: 18px; height: 18px; border-radius: 50%; background: var(--tang); }
.kpoint h4 { font-size: 19px; }
.kpoint p { color: var(--ink-soft); font-size: 15.5px; font-weight: 600; margin-top: 3px; line-height: 1.45; }
.kpoint--consent .ic span { background: var(--mint); border-radius: 5px; }
.kpoint--voice .ic span { background: var(--sky); }
.kpoint--support .ic span { background: var(--coral); border-radius: 6px 6px 6px 2px; }

/* speech bubble near kisha */
.kisha__say {
  position: absolute; z-index: 5; background: #fff;
  border-radius: 20px 20px 20px 7px; padding: 12px 16px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 9px;
}
.kisha__say.s1 { top: 14%; left: 2%; }
.kisha__say.s2 { bottom: 16%; right: 0%; border-radius: 20px 20px 7px 20px; }
.wave { display: inline-flex; gap: 3px; align-items: flex-end; height: 18px; }
.wave i { width: 3px; background: var(--tang); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.wave i:nth-child(1){height:7px; animation-delay:0s}
.wave i:nth-child(2){height:15px; animation-delay:.15s}
.wave i:nth-child(3){height:10px; animation-delay:.3s}
.wave i:nth-child(4){height:17px; animation-delay:.45s}
.wave i:nth-child(5){height:8px; animation-delay:.6s}
@keyframes eq { 0%,100%{ transform: scaleY(.5); } 50%{ transform: scaleY(1); } }

/* ---------- Parents ---------- */
.parents__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.parents h2 { font-size: clamp(32px, 4vw, 50px); }
.parents h2 .pop { color: var(--sky); }
.parents__lead { color: var(--ink-soft); font-size: 19px; margin-top: 18px; font-weight: 600; max-width: 42ch; }
.pfeatures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.pf {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px 18px;
  box-shadow: 0 14px 26px -22px rgba(120,78,50,.5);
}
.pf .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; color: #fff; font-size: 17px; }
.pf h4 { font-size: 17px; }
.pf p { color: var(--ink-soft); font-size: 14px; font-weight: 600; margin-top: 2px; }
.pf:nth-child(1) .ic { background: var(--sky); }
.pf:nth-child(2) .ic { background: var(--berry); }
.pf:nth-child(3) .ic { background: var(--mint); }
.pf:nth-child(4) .ic { background: var(--coral); }
.pf:nth-child(5) .ic { background: var(--tang); }
.pf:nth-child(6) .ic { background: var(--pink); }

.parents__art { position: relative; display: grid; place-items: center; min-height: 440px; }

/* ---------- Roadmap ---------- */
.roadmap { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.rmap { position: relative; max-width: 720px; margin: 0 auto; display: grid; gap: 6px; }
.rmap::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px;
  background: repeating-linear-gradient(var(--line) 0 10px, transparent 10px 18px);
  border-radius: 2px;
}
.rmap__item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  align-items: center; padding: 12px 0;
}
.rmap__node {
  width: 56px; height: 56px; border-radius: 19px 21px 18px 22px; z-index: 1;
  display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 21px;
  box-shadow: 0 14px 26px -12px var(--rn, var(--coral));
  background: var(--rn, var(--coral));
}
.rmap__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 24px; box-shadow: 0 16px 32px -26px rgba(120,78,50,.55);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.rmap__item:hover .rmap__card { transform: translateX(5px); box-shadow: 0 22px 40px -26px rgba(120,78,50,.6); }
.rmap__card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rmap__card p { color: var(--ink-soft); font-size: 15.5px; font-weight: 600; margin-top: 5px; }
.rmap__tag {
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .03em;
  padding: 4px 11px; border-radius: 999px; text-transform: uppercase;
  background: var(--rn-soft, var(--coral-soft)); color: var(--rn, var(--coral));
}
.rmap__item:nth-child(1) { --rn: var(--coral); --rn-soft: var(--coral-soft); }
.rmap__item:nth-child(2) { --rn: var(--sky);   --rn-soft: var(--sky-soft); }
.rmap__item:nth-child(3) { --rn: var(--tang);  --rn-soft: var(--tang-soft); }
.rmap__item:nth-child(4) { --rn: var(--mint);  --rn-soft: var(--mint-soft); }
.rmap__item:nth-child(5) { --rn: var(--berry); --rn-soft: var(--berry-soft); }
.rmap__item:nth-child(6) { --rn: var(--pink);  --rn-soft: var(--coral-soft); }
.parents .phone { width: 270px; transform: rotate(4deg); }
.parents .phone__screen { background: var(--mint-soft); }
.phone--kisha { width: 252px; transform: rotate(-4deg); }
.phone--kisha .phone__screen { background: #FBE3D6; }

/* ---------- Privacy band ---------- */
.privacy { background: var(--ink); color: #fff; }
.privacy .wrap { position: relative; z-index: 2; }
.privacy h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; max-width: 18ch; }
.privacy h2 .pop { color: var(--sun); }
.privacy__lead { color: rgba(255,255,255,.72); font-size: 19px; margin-top: 16px; max-width: 46ch; font-weight: 600; }
.privacy__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.privacy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.safe {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); padding: 24px 22px;
}
.safe .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }
.safe h4 { font-size: 20px; color: #fff; }
.safe p { color: rgba(255,255,255,.66); font-size: 15px; font-weight: 600; margin-top: 6px; }
.safe:nth-child(1) .ic { background: color-mix(in srgb, var(--coral) 85%, #000); }
.safe:nth-child(2) .ic { background: color-mix(in srgb, var(--sky) 85%, #000); }
.safe:nth-child(3) .ic { background: color-mix(in srgb, var(--mint) 85%, #000); }
.safe:nth-child(4) .ic { background: color-mix(in srgb, var(--berry) 85%, #000); }
.safe:nth-child(5) .ic { background: color-mix(in srgb, var(--sun) 85%, #000); }
.safe:nth-child(6) .ic { background: color-mix(in srgb, var(--tang) 85%, #000); }
.privacy__link { margin-top: 30px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--sun); }
.privacy__link:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final__card {
  position: relative; z-index: 2;
  background: linear-gradient(160deg, var(--coral-soft), var(--sun-soft));
  border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 88px) 32px;
  border: 1px solid color-mix(in srgb, var(--coral) 20%, var(--line));
  overflow: hidden;
}
.final h2 { font-size: clamp(34px, 5vw, 60px); }
.final h2 .pop { color: var(--coral); }
.final__lead { color: var(--ink-soft); font-size: 20px; margin: 18px auto 0; max-width: 44ch; font-weight: 600; }
.final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.final__links { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; margin-top: 26px; }
.final__links a { font-weight: 700; color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; }
.final__links a:hover { color: var(--ink); }
.final .blob { position: absolute; opacity: .9; }
.final .fb1 { top: -30px; left: 6%; }
.final .fb2 { bottom: -34px; right: 8%; }

/* ---------- Footer ---------- */
.foot { padding: 44px 0 calc(56px + env(safe-area-inset-bottom)); }
.foot__in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot .brand { font-size: 20px; }
.foot__meta { color: var(--ink-faint); font-size: 14.5px; font-weight: 600; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a { color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.foot__links a:hover { color: var(--ink); }

/* ---------- Store placeholder pages ---------- */
.store-main {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.store-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.store-copy h1 {
  font-size: clamp(42px, 6vw, 72px);
  max-width: 10ch;
}
.store-copy h1 .pop { color: var(--coral); }
.store-lead {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  margin-top: 22px;
  max-width: 35ch;
}
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.store-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
}
.store-note .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 8px 16px -8px var(--mint);
  flex: none;
}
.store-card {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.store-panel {
  position: relative;
  width: min(360px, 100%);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--card), var(--sun-soft));
  border: 1px solid color-mix(in srgb, var(--coral) 16%, var(--line));
  box-shadow: var(--shadow-card);
  padding: 34px;
  z-index: 2;
}
.store-panel__icon {
  width: 88px;
  height: 88px;
  border-radius: 27px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  box-shadow: 0 18px 28px -18px var(--coral);
}
.store-panel h2 {
  margin-top: 24px;
  font-size: 30px;
}
.store-panel p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-weight: 600;
}
.store-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.store-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14.5px;
}
.store-list b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #fff;
  flex: none;
}
.store-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .22;
  filter: blur(.2px);
}
.store-blob--a {
  width: 220px;
  height: 220px;
  background: var(--sky);
  top: 4%;
  right: 0;
}
.store-blob--b {
  width: 180px;
  height: 180px;
  background: var(--mint);
  bottom: 3%;
  left: 8%;
}

/* ---------- Section heads shared ---------- */
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head p { color: var(--ink-soft); font-size: 19px; margin-top: 16px; font-weight: 600; }

/* ---------- Reveal animation (transform-only so it's never invisible) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: sinau-rise .7s cubic-bezier(.2,.7,.3,1) both; }
}
@keyframes sinau-rise {
  from { transform: translateY(28px); }
  to   { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .kisha__grid, .parents__grid { grid-template-columns: 1fr; gap: 44px; }
  .parents__art { order: -1; min-height: 400px; }
  .hero__art { min-height: 400px; }
  .hero__sub { max-width: 46ch; }
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; line-height: 1.55; }
  .wrap { padding-inline: 18px; }
  .section { padding-block: 54px; }
  .nav__in { height: 64px; gap: 14px; }
  .brand { font-size: 21px; gap: 9px; }
  .brand__logo { width: 36px; height: 36px; border-radius: 11px; }
  .lang { padding: 3px; }
  .lang button { min-width: 44px; padding: 9px 11px; font-size: 13px; }
  .nav__right .nav__cta { display: none; }
  .hero {
    padding-top: 34px;
    padding-bottom: 52px;
  }
  .hero__grid { gap: 28px; }
  .hero__copy { order: -1; }
  .kisha__copy,
  .parents__copy { order: -1; }
  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1;
  }
  .hero__sub,
  .hero__store-note,
  .kisha__lead,
  .parents__lead,
  .privacy__lead,
  .sec-head p,
  .final__lead {
    font-size: 16.5px;
    line-height: 1.52;
  }
  .hero__sub { margin-top: 18px; }
  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .hero__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .hero__store-note {
    display: flex;
    width: 100%;
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.42;
  }
  .trust-chip {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
  }
  .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
  .hero__cta .btn,
  .final__cta .btn {
    width: 100%;
    flex: 1 1 100%;
  }
  .hero__art {
    min-height: 348px;
    overflow: hidden;
    margin-top: 2px;
  }
  .hero__art .phone { width: min(190px, 58vw); }
  .phone {
    width: min(236px, 74vw);
    border-radius: 36px;
    padding: 9px;
  }
  .phone__screen { border-radius: 28px; }
  .phone__notch {
    width: 78px;
    height: 21px;
    top: 12px;
  }
  .parents .phone { width: min(230px, 72vw); }
  .phone--kisha { width: min(220px, 70vw); }
  .float--a { top: 0; left: 8%; width: 68px !important; height: 68px !important; }
  .float--b { bottom: 4%; right: 6%; width: 62px !important; height: 62px !important; }
  .float--c { top: 44%; right: 8%; width: 50px !important; height: 50px !important; }
  .bubble {
    padding: 8px 11px;
    font-size: 13.5px;
    border-radius: 15px 15px 15px 6px;
  }
  .bubble--1 { top: 14%; right: 0; }
  .bubble--2 { bottom: 8%; left: 0; }
  .world-grid,
  .pfeatures,
  .privacy__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .world {
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-areas:
      "icon tag"
      "icon title"
      "icon desc";
    align-items: center;
    column-gap: 16px;
    text-align: left;
    padding: 18px;
    min-height: 128px;
  }
  .world__icon {
    grid-area: icon;
    grid-row: span 2;
    width: 68px;
    height: 68px;
    margin: 0;
    font-size: 25px;
  }
  .world__tag {
    grid-area: tag;
    position: static;
    justify-self: start;
    align-self: end;
    margin-bottom: 7px;
    font-size: 10.5px;
  }
  .world h3 { grid-area: title; font-size: 21px; }
  .world p {
    grid-area: desc;
    font-size: 14.5px;
    line-height: 1.4;
    max-width: 24ch;
  }
  .cando {
    justify-content: stretch;
    gap: 10px;
    margin-top: 28px;
  }
  .cando .chip {
    width: 100%;
    border-radius: 18px;
    padding: 10px 14px;
    font-size: 15px;
  }
  .kisha__grid,
  .parents__grid,
  .store-hero { gap: 30px; }
  .kisha__copy,
  .parents__copy,
  .privacy__top,
  .sec-head { text-align: left; }
  .sec-head .eyebrow { justify-content: flex-start; }
  .kisha h2,
  .parents h2,
  .worlds h2,
  .privacy h2 { font-size: clamp(29px, 8.5vw, 38px); }
  .kisha__art,
  .parents__art { min-height: 300px; }
  .kisha__ring { width: 250px; height: 250px; }
  .kisha__say {
    left: 0;
    top: 12%;
    max-width: 210px;
    font-size: 14px;
  }
  .pf,
  .kpoint,
  .safe {
    border-radius: 18px;
  }
  .safe {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 14px;
    align-items: start;
    padding: 18px;
  }
  .safe .ic {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    font-size: 20px;
  }
  .safe h4 { font-size: 18px; }
  .safe p { font-size: 14.5px; }
  .privacy__top { gap: 14px; }
  .final__card {
    border-radius: 28px;
    padding: 42px 20px;
  }
  .final h2 { font-size: clamp(32px, 9vw, 42px); }
  .store-main {
    align-items: start;
    padding-block: 42px 64px;
  }
  .store-hero {
    grid-template-columns: 1fr;
  }
  .store-copy { order: -1; }
  .store-copy h1 {
    font-size: clamp(38px, 11vw, 48px);
    max-width: 12ch;
  }
  .store-lead {
    font-size: 16.5px;
    line-height: 1.52;
  }
  .store-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .store-actions .btn {
    width: 100%;
  }
  .store-card {
    min-height: auto;
    margin-top: 12px;
  }
  .store-panel {
    width: 100%;
    border-radius: 28px;
    padding: 24px;
  }
  .store-panel h2 {
    font-size: 26px;
  }
  .foot__in {
    align-items: flex-start;
    gap: 24px;
  }
  body .legal-wrap { padding: 24px 16px 56px; }
  body .legal { border-radius: 22px; padding: 24px 20px; }
  body .legal h1 { font-size: clamp(30px, 10vw, 38px); }
  body .legal p, body .legal li { font-size: 16px; }
  body .nav-back { font-size: 15px; }
}
@media (max-width: 440px) {
  .wrap { padding-inline: 16px; }
  .eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    margin-bottom: 14px;
  }
  .rmap__item { grid-template-columns: 46px 1fr; gap: 14px; }
  .rmap::before { left: 22px; }
  .rmap__node { width: 46px; height: 46px; border-radius: 16px; font-size: 17px; }
  .rmap__card { padding: 16px 18px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
  .nav__right { gap: 10px; }
  .hero h1 { font-size: 36px; }
  .hero__art { min-height: 322px; }
  .world { grid-template-columns: 58px 1fr; padding: 16px; }
  .world__icon { width: 58px; height: 58px; font-size: 22px; }
  .rmap__item { grid-template-columns: 40px 1fr; gap: 12px; }
  .rmap::before { left: 19px; }
  .rmap__node { width: 40px; height: 40px; font-size: 15px; }
  .rmap__card { padding: 15px 16px; }
}
