body.landing { display: block; overflow-x: hidden; position: relative; background: transparent; }
html { scroll-behavior: smooth; }
.landing h1, .landing h2, .landing h3 { margin: 0; line-height: 1.15; }
.landing p { line-height: 1.7; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 72px 20px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; margin-bottom: 36px; }
.center h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.sub { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--pink-d); font-size: .85rem; letter-spacing: .04em; }

/* background */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(170deg, #ffe3ee 0%, #f3e6ff 45%, #dff1ff 100%); }
.petal { position: absolute; top: -40px; width: 14px; height: 14px; background: #ffb3cc; border-radius: 80% 0 80% 0; opacity: .75; animation: fall linear infinite; }
.cloud { position: absolute; width: 140px; height: 44px; background: #ffffffcc; border-radius: 999px; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 60px; height: 60px; top: -28px; left: 20px; }
.cloud::after { width: 46px; height: 46px; top: -18px; left: 72px; }
@keyframes fall { 0% { transform: translate(0,-40px) rotate(0); } 50% { transform: translate(40px,50vh) rotate(180deg); } 100% { transform: translate(-20px,110vh) rotate(360deg); } }
@keyframes drift { from { transform: translateX(-200px); } to { transform: translateX(110vw); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px max(20px, calc((100vw - 1100px) / 2)); background: #ffffffcc; backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-size: 1.3rem; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--pink-d); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: 16px; background: var(--pink); color: #fff; text-decoration: none; box-shadow: 0 5px 0 var(--pink-d); transition: transform .12s, box-shadow .12s; border: 0; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--pink-d); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--pink-d); }
.btn.small { padding: 7px 16px; font-size: .9rem; box-shadow: 0 3px 0 var(--pink-d); }
.btn.big { padding: 16px 32px; font-size: 1.2rem; }
.btn.ghost { background: #fff; color: var(--pink-d); box-shadow: 0 5px 0 var(--line); border: 2px solid var(--line); }
.btn.ghost:hover { box-shadow: 0 7px 0 var(--line); }

/* hero */
.hero { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 56px 20px 72px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; text-align: center; } .cta-row, .trust { justify-content: center; } }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); margin-bottom: 18px; }
.grad { background: linear-gradient(90deg, #ff6f9c, #b36bff 60%, #4cc9f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #5b4d63; max-width: 540px; }
.hero .lead { margin: 0 0 26px; }
@media (max-width: 880px) { .hero .lead { margin-inline: auto; } }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.trust li::before { content: '✓ '; color: #3a9a54; }

.hero-demo { text-align: center; }
.demo-device { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.demo-device .pet-wrap { top: 8%; bottom: 6%; left: 18%; right: 18%; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx .fx-item { position: absolute; bottom: 30%; font-size: 1.6rem; animation: rise 1.4s ease-out forwards; }
.demo-buttons { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.demo-buttons button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; padding: 8px 10px; background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: 0 3px 0 var(--line); font-size: .85rem; }
.demo-buttons button span { font-size: 1.5rem; }
.demo-buttons button:hover { border-color: var(--pink); }
.demo-buttons button:active { transform: translateY(2px); box-shadow: none; }
.demo-hint { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }

/* bands */
.band { position: relative; z-index: 1; background: #ffffffb3; border-block: 2px solid var(--line); }
.band.alt { background: linear-gradient(180deg, #fff5f9cc, #f6efffcc); }
.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .two { grid-template-columns: 1fr; } }
.two h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 16px; }
.pull { padding: 14px 18px; border-left: 5px solid var(--pink); background: #fff5f9; border-radius: 0 14px 14px 0; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scard { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 20px 14px; text-align: center; box-shadow: 0 5px 0 var(--line); }
.scard b { display: block; font-size: 2.4rem; color: var(--pink); }
.scard span { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.steps li { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 34px 20px 22px; box-shadow: 0 6px 18px #d9739d22; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.num { position: absolute; top: -18px; left: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #fff; font-size: 1.2rem; box-shadow: 0 3px 0 var(--pink-d); }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.features article { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 20px; transition: transform .2s, box-shadow .2s; }
.features article:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 12px 24px #d9739d33; }
.features .ico { display: block; font-size: 2.2rem; margin-bottom: 8px; }
.features h3 { font-size: 1.1rem; margin-bottom: 4px; }
.features h3 i { font-style: normal; color: var(--pink); font-size: .8rem; margin-left: 4px; }
.features p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* species */
.species-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.sp-card { --c: #ffc9d9; background: #fff; border: 3px solid var(--c); border-radius: 26px; padding: 18px; text-align: center; transition: transform .2s; }
.sp-card:hover { transform: translateY(-8px) scale(1.02); }
.sp-art { width: 150px; height: 150px; margin: 0 auto 6px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, #fff), #fff 70%); }
.sp-card h3 { font-size: 1.3rem; } .sp-card h3 span { color: var(--pink); font-size: .85em; }
.sp-card p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 58px; left: 8%; right: 8%; border-top: 4px dashed #f3b8cf; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 22px; } .timeline::before { display: none; } }
.timeline li { position: relative; text-align: center; }
.tl-art { width: 100px; height: 100px; margin: 0 auto 8px; background: #fff; border: 3px solid var(--line); border-radius: 50%; display: grid; place-items: center; padding: 8px; }
.tl-art svg { width: 100%; height: 100%; }
.timeline b { display: block; } .timeline small { color: var(--muted); }

/* hall of fame */
.fame { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; display: grid; gap: 8px; counter-reset: r; }
.fame li { counter-increment: r; display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 8px 16px; }
.fame li::before { content: counter(r); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #ffd34d; font-size: .9rem; }
.fame .f-art { width: 40px; height: 40px; } .fame .f-art svg { width: 100%; height: 100%; }
.fame .f-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fame .f-age { color: #3a9a54; }

/* faq */
details { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--pink); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 14px; color: var(--muted); }

/* final */
.final { position: relative; z-index: 1; background: linear-gradient(135deg, #ff8fb1, #b36bff 60%, #6ec1ff); color: #fff; text-align: center; }
.final .wrap { padding-block: 64px; }
.final h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 8px; }
.final .lead { color: #fff; margin: 0 auto 24px; }
.final .btn { background: #fff; color: var(--pink-d); box-shadow: 0 5px 0 #0003; }
.final-egg { width: 110px; height: 110px; margin: 0 auto 12px; }
.foot { position: relative; z-index: 1; background: #3b2f3f; color: #d9cfe0; text-align: center; padding: 28px 16px; }
.foot p { margin: 4px 0; } .foot a { color: #ffb3cc; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.demo-picker { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.chip { width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: transform .15s; }
.chip svg, .chip img { width: 100%; height: 100%; }
.chip:hover { transform: scale(1.12); }
.chip.on { border-color: var(--pink); box-shadow: 0 0 0 3px #ff6f9c33; }
.sp-card { position: relative; }
.sp-art img, .tl-art img, .f-art img { width: 100%; height: 100%; object-fit: contain; }
.new-badge { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: linear-gradient(90deg, #ff6f9c, #b36bff); color: #fff; font-size: .72rem; }
.demo-device .pet-wrap.pet3d-wrap { left: 0; right: 0; top: 0; bottom: -6%; }
.btn.ghost-btn { cursor: pointer; background: #fff; color: var(--pink-d); border: 2px solid var(--pink-d); box-shadow: none; padding: 5px 14px; }
.btn { background: #e03d78; box-shadow: 0 5px 0 var(--pink-edge, #a82557); white-space: nowrap; cursor: pointer; font-family: inherit; }
.btn:hover { box-shadow: 0 7px 0 var(--pink-edge, #a82557); }
.btn:active { box-shadow: 0 2px 0 var(--pink-edge, #a82557); }
.btn.small { box-shadow: 0 3px 0 var(--pink-edge, #a82557); }
.btn.ghost { background: #fff; }
.btn[hidden] { display: none; }
.btn.ghost-btn { box-shadow: none; }
@media (max-width: 520px) {
  .nav { gap: 8px; padding-top: max(10px, env(safe-area-inset-top)); }
  .brand .jp, #nav-install { display: none; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-row .btn.big { padding: 15px 20px; }
}
