/* lumipom.com — soft, warm, round. No external requests: system fonts only. */

:root {
  color-scheme: light;
  --bg: #FBF7F1;
  --card: #FFFDFA;
  --ink: #4E2E19;
  --body: #5E3F2B;
  --muted: #7A5A45;
  --accent: #E57A19;
  --accent-ink: #A84F08;
  --blue: #174A7E;
  --line: rgba(78, 46, 25, .13);
  --peach: #FFE6D0;
  --pink: #FFDFE3;
  --mint: #DCF2E4;
  --sky: #DCEBFA;
  --butter: #FFF0BF;
  --lilac: #EADFFA;
  --shadow: 0 22px 44px -26px rgba(78, 46, 25, .5);
  --shadow-soft: 0 12px 30px -22px rgba(78, 46, 25, .45);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans", "Noto Sans CJK SC", "Microsoft YaHei",
    "Yu Gothic", "Malgun Gothic", sans-serif;
}
:lang(ja) { --font: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
:lang(ko) { --font: ui-rounded, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; }
:lang(zh-Hans) { --font: ui-rounded, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
:lang(zh-Hant) { --font: ui-rounded, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); overflow-wrap: break-word; text-wrap: balance; }
p { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.arrow { display: inline-block; margin-left: .12em; font-size: .9em; }

.eyebrow { margin: 0; color: var(--accent-ink); font-size: .84rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
[data-script="cjk"] .eyebrow { letter-spacing: .04em; font-size: .92rem; }
h2 { margin: .35em 0 .45em; font-size: clamp(1.75rem, 4.6vw, 2.75rem); font-weight: 800; line-height: 1.16; letter-spacing: -.01em; }
[data-script="cjk"] h2, [data-script="cjk"] h1 { letter-spacing: 0; line-break: strict; }
h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.pitch, .lead { text-wrap: pretty; }
:lang(ja) :is(h1, h2, h3, .pitch, .lead, summary) { word-break: auto-phrase; }
.lead { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: clamp(1.06rem, 2.1vw, 1.24rem); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 241, .9); border-bottom: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(251, 247, 241, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.scrolled .site-header { border-bottom-color: var(--line); box-shadow: 0 10px 24px -22px rgba(78, 46, 25, .6); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-icon { flex: none; width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 10px -4px rgba(78, 46, 25, .5); }
.brand-name { font-size: 1.22rem; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; }
.site-nav { display: none; margin-left: auto; gap: 2px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); font-size: .96rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.site-nav a:hover { background: var(--peach); }
.lang { position: relative; display: inline-flex; align-items: center; flex: none; margin-left: auto; color: var(--ink); }
.lang-globe { position: absolute; left: 12px; pointer-events: none; }
.lang-chevron { position: absolute; right: 13px; pointer-events: none; }
.lang select {
  -webkit-appearance: none; appearance: none;
  max-width: 46vw; margin: 0; padding: 9px 32px 9px 37px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font: inherit; font-size: .93rem; font-weight: 700; line-height: 1.3;
  cursor: pointer; text-overflow: ellipsis;
}
.lang select:hover { border-color: rgba(78, 46, 25, .32); }
@media (min-width: 860px) {
  .site-nav { display: flex; }
  .lang { margin-left: 8px; }
}
@media (max-width: 380px) {
  .bar { gap: 8px; }
  .brand { gap: 8px; }
  .brand-icon { width: 34px; height: 34px; border-radius: 10px; }
  .brand-name { font-size: 1.1rem; }
  .lang select { padding: 8px 28px 8px 33px; font-size: .88rem; }
  .lang-globe { left: 10px; }
  .lang-chevron { right: 11px; }
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 80px);
  background:
    radial-gradient(620px 340px at 88% 0%, rgba(255, 223, 227, .75), transparent 70%),
    radial-gradient(520px 320px at 0% 26%, rgba(255, 240, 191, .65), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(20px, 5vw, 56px); align-items: center; }
.hero-copy { text-align: center; }
.hero h1 { margin: .18em 0 .22em; font-size: clamp(3.4rem, 15vw, 6.6rem); font-weight: 900; line-height: .98; letter-spacing: -.025em; }
.pitch { margin: 0 auto; max-width: 540px; color: var(--ink); font-size: clamp(1.14rem, 2.5vw, 1.42rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: clamp(24px, 4vw, 34px); }
.more { color: var(--blue); font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; }
.more:hover { border-bottom-color: currentColor; }

.store { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 12px 26px 12px 20px; border: 2px solid #F2D5B6; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-soft); color: var(--ink); text-align: left; text-decoration: none; }
.store-text { display: grid; }
.store strong { font-size: 1.03rem; font-weight: 800; line-height: 1.3; }
.store small { color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.35; }
.store-dot { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.store-dot::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--accent); border-radius: 50%; opacity: .45; }
.store-live { border-color: var(--ink); background: var(--ink); color: #FFF8EE; transition: transform .15s; }
.store-live small { color: #F0D9C6; }
.store-live:hover { transform: translateY(-2px); }
.store.on-blue { border-color: transparent; background: #FFF8EE; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.store-live.on-blue, .store-live.on-blue small { color: var(--ink); }

.hero-art { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.hero-art img { position: absolute; height: auto; filter: drop-shadow(0 10px 10px rgba(78, 46, 25, .16)); }
.hero-blob { position: absolute; inset: 20% 9% 5%; border-radius: 47% 53% 51% 49% / 52% 48% 52% 48%; background: radial-gradient(circle at 34% 26%, #FFF1DC 0%, #FFDCC6 55%, #FFCDC6 100%); }
.hero-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.link-glow { stroke: #FFD36E; stroke-width: 5; stroke-linecap: round; opacity: .5; }
.link-yarn { stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: .1 3.6; }
.spark { fill: #FFC64A; transform-box: fill-box; transform-origin: center; }
.hero-tile { width: 18%; top: 53%; }
.tile-a { left: 4%; }
.tile-b { right: 4%; }
.hero-pet { left: 25%; top: 28%; width: 50%; }
.hero-egg { left: 9%; top: 76%; width: 19%; }
.hero-friend { right: 8%; top: 75%; width: 20%; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero-copy { text-align: left; }
  .pitch { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
}

/* ---------- intro ---------- */
.intro { padding-block: clamp(48px, 8vw, 96px); text-align: center; }
.steps { display: grid; gap: 20px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none; }
.step { position: relative; margin-top: 52px; padding: 74px 24px 28px; border: 1.5px solid var(--line); border-radius: 30px; background: var(--card); box-shadow: var(--shadow-soft); }
.step p { margin: 0; color: var(--muted); }
.step-art { position: absolute; top: -54px; left: 50%; display: grid; place-items: center; width: 116px; height: 116px; margin-left: -58px; border: 6px solid var(--bg); border-radius: 50%; background: var(--butter); }
.step:nth-child(2) .step-art { background: var(--pink); }
.step:nth-child(3) .step-art { background: var(--sky); }
.step-art img { width: 78px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .86rem; font-weight: 800; line-height: 1; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- features ---------- */
.features { margin-inline: clamp(8px, 2vw, 24px); padding-block: clamp(48px, 8vw, 96px); border-radius: clamp(36px, 6vw, 72px); background: linear-gradient(180deg, #FFF0DC 0%, #FDE9DC 100%); }
.section-head { margin-bottom: clamp(26px, 4vw, 46px); text-align: center; }
.section-head h2 { margin-bottom: 0; }
.feature-grid { display: grid; gap: 20px; }
.feature { padding: 26px 26px 28px; border: 1.5px solid rgba(78, 46, 25, .08); border-radius: 30px; background: var(--card); box-shadow: var(--shadow-soft); }
.feature p { margin: 0; color: var(--muted); }
.feature-art { display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 18px; border-radius: 38% 62% 58% 42% / 46% 44% 56% 54%; background: var(--tint, var(--peach)); }
.feature-art img { width: auto; max-width: 80%; max-height: 80%; filter: drop-shadow(0 5px 5px rgba(78, 46, 25, .14)); }
.tint-sky { --tint: var(--sky); }
.tint-peach { --tint: var(--peach); }
.tint-lilac { --tint: var(--lilac); }
.tint-butter { --tint: var(--butter); }
.tint-pink { --tint: var(--pink); }
.tint-mint { --tint: var(--mint); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- screenshots ---------- */
.screens { padding-block: clamp(48px, 8vw, 96px) clamp(28px, 5vw, 56px); }
.phones {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  margin: 0; padding: 14px calc(50% - min(32vw, 125px)) 26px;
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #E7C9A8 transparent;
  border-radius: 24px;
}
.phone { flex: 0 0 min(64vw, 250px); scroll-snap-align: center; }
.phone img { display: block; width: 100%; border: 8px solid #fff; border-radius: 36px; background: #fff; box-shadow: 0 0 0 1.5px var(--line), var(--shadow); }
@media (min-width: 860px) {
  .phones { justify-content: center; padding-inline: 0; overflow: visible; scroll-snap-type: none; }
  .phone { flex: 0 1 270px; }
  .phone-2 { flex-basis: 300px; z-index: 1; }
  .phone-1 { transform: rotate(-4deg) translateY(16px); }
  .phone-3 { transform: rotate(4deg) translateY(16px); }
}

/* ---------- free to play ---------- */
.free-card { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 880px; margin-inline: auto; padding: 24px 26px; border: 2px dashed #E9C9A6; border-radius: 30px; background: var(--card); text-align: center; }
.free-art { flex: none; width: 76px; filter: drop-shadow(0 6px 6px rgba(78, 46, 25, .16)); }
.free-card h2 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: 0; }
.free-card p { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .free-card { flex-direction: row; gap: 22px; text-align: left; }
}

/* ---------- closing ---------- */
.closing { padding-block: clamp(40px, 7vw, 88px); }
.closing-card {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 76px) 24px clamp(120px, 15vw, 140px);
  border-radius: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 18% 0%, rgba(74, 139, 201, .55) 0%, transparent 52%),
    radial-gradient(circle at 92% 100%, rgba(10, 44, 80, .7) 0%, transparent 58%),
    var(--blue);
  color: #E3EDF8; text-align: center;
}
.app-icon { display: block; width: 116px; margin: 0 auto 18px; border-radius: 27px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55), 0 0 0 5px rgba(255, 255, 255, .14); }
.closing-card h2 { color: #fff; }
.closing-body { margin: 0 auto 26px; max-width: 560px; font-size: 1.12rem; }
.studio { display: table; margin: 24px auto 0; color: #FFF8EE; font-weight: 700; }
.closing-pet { position: absolute; bottom: -14px; width: clamp(88px, 15vw, 150px); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .25)); }
.pet-left { left: clamp(10px, 7vw, 90px); transform: rotate(-6deg); }
.pet-right { right: clamp(10px, 7vw, 90px); transform: rotate(6deg); }

/* ---------- footer ---------- */
.site-footer { padding: 36px 0 30px; border-top: 1.5px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 40px; }
.footer-brand p { margin: 10px 0 0; max-width: 380px; color: var(--muted); font-size: .96rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 8px 22px; }
.footer-links a { color: var(--ink); font-size: .96rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 26px; color: var(--muted); font-size: .88rem; }

/* ---------- support, privacy, 404 ---------- */
.doc { width: min(100% - 40px, 800px); padding-block: clamp(22px, 4vw, 44px) clamp(56px, 8vw, 96px); }
.back { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--blue); font-size: .95rem; font-weight: 800; text-decoration: none; }
.back:hover { border-color: rgba(23, 74, 126, .45); }
.doc-head { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); margin: 26px 0 18px; }
.doc-pet { flex: none; width: clamp(76px, 18vw, 116px); filter: drop-shadow(0 8px 8px rgba(78, 46, 25, .16)); }
.doc h1 { margin: 0 0 8px; font-size: clamp(1.75rem, 7vw, 3.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.doc .lead { margin-inline: 0; max-width: none; }
.updated { margin: 0; color: var(--muted); font-weight: 700; }
@media (max-width: 520px) {
  .doc-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
  .doc-pet { width: 84px; }
}

.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { border: 1.5px solid var(--line); border-radius: 22px; background: var(--card); }
.faq summary { position: relative; padding: 17px 58px 17px 22px; color: var(--ink); font-size: 1.07rem; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 16px; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--peach); color: var(--accent-ink); font-size: 1.2rem; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
.answer { padding: 0 22px 20px; }
.answer p { margin: 0; }
.language-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.language-list span { padding: 3px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: .9rem; font-weight: 700; }

.contact-card { margin-top: 36px; padding: 28px; border-radius: 30px; background: linear-gradient(135deg, var(--peach), var(--pink)); }
.contact-card h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: 0; }
.contact-card p { margin: 0 0 18px; color: var(--ink); }
.contact-email { display: inline-block; max-width: 100%; padding: 10px 20px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft); color: var(--blue); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }

.policy { display: grid; gap: 14px; margin-top: 28px; counter-reset: policy; }
.policy-section { padding: 22px 24px 24px; border: 1.5px solid var(--line); border-radius: 24px; background: var(--card); counter-increment: policy; }
.policy-section h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: 1.2rem; line-height: 1.35; letter-spacing: 0; text-wrap: wrap; }
.policy-section h2::before { content: counter(policy); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--accent-ink); font-size: .86rem; font-weight: 800; line-height: 1; transform: translateY(-1px); }
.policy-section p { margin: 0 0 .7em; }
.policy-section > :last-child { margin-bottom: 0; }
.policy-link a { font-weight: 700; }
.policy-section .contact-email { margin-top: 6px; background: var(--bg); box-shadow: none; border: 1.5px solid var(--line); }

.lost { padding-block: clamp(40px, 8vw, 96px); text-align: center; }
.lost-pet { width: 170px; filter: drop-shadow(0 8px 8px rgba(78, 46, 25, .16)); }
.lost .lead { margin: 0 auto 28px; max-width: 680px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-pet { animation: bob 4.2s ease-in-out infinite; }
  .hero-egg { transform-origin: 50% 90%; animation: wobble 3.6s ease-in-out infinite; }
  .hero-friend { animation: bob 5.4s ease-in-out -1.5s infinite; }
  .link-yarn { animation: march 1.8s linear infinite; }
  .spark { animation: twinkle 2.8s ease-in-out infinite; }
  .spark.s2 { animation-delay: -.9s; }
  .spark.s3 { animation-delay: -1.8s; }
  .store-dot::after { animation: ping 2.2s ease-out infinite; }
  .feature, .phone img { transition: transform .25s ease; }
  .feature:hover { transform: translateY(-4px); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.5%); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes march { to { stroke-dashoffset: -3.7; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
@keyframes ping { 0% { opacity: .55; transform: scale(.7); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
