:root {
  --bg: #fff8ee;
  --paper: #ffffff;
  --ink: #3b2f27;
  --muted: #7b6b5f;
  --rule: #f1e2cf;
  --accent: #f07a3c;
  --accent-ink: #ffffff;
  --sky: #dff1ff;
  --trail: #4fa35a;
  --trail-soft: #e9f6e6;
  --park: #f08a3c;
  --park-soft: #fff0e1;
  --rescue: #3f8fd6;
  --rescue-soft: #e6f2fd;
  --shadow: 0 14px 34px #8a5a3a1f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1a17;
    --paper: #2a2622;
    --ink: #f4ece3;
    --muted: #c2b4a6;
    --rule: #3c362f;
    --accent: #ff9a5c;
    --accent-ink: #1d1a17;
    --sky: #23303d;
    --trail-soft: #22301f;
    --park-soft: #3a2a1e;
    --rescue-soft: #1f2c3a;
    --shadow: 0 14px 34px #0006;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "PingFang TC", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans TC", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 28px; letter-spacing: .01em; }
section { padding: 76px 0; scroll-margin-top: 64px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .06em; margin: 0 0 10px; font-size: 15px; }
.section-lead { color: var(--muted); margin: -12px 0 24px; }
.note { color: var(--muted); font-size: 15px; margin: 24px 0 0; max-width: 46em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--bg); font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-size: 16px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); }
.btn.big { background: var(--accent); color: var(--accent-ink); padding: 15px 30px; font-size: 18px; box-shadow: 0 10px 24px #f07a3c40; }
.btn:hover { filter: brightness(1.06); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); text-decoration: none; font-size: 18px; white-space: nowrap; }
.brand-icons { display: flex; }
.brand-icons img { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--bg); margin-left: -8px; }
.brand-icons img:first-child { margin-left: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.langs { display: flex; gap: 2px; background: var(--paper); border-radius: 999px; padding: 3px; box-shadow: 0 1px 0 var(--rule); }
.langs a { color: var(--muted); text-decoration: none; padding: 3px 10px; border-radius: 999px; font-size: 14px; }
.langs a[aria-current] { background: var(--ink); color: var(--bg); font-weight: 700; }

/* hero */
.hero { padding: 56px 0 84px; background: linear-gradient(180deg, var(--sky), var(--bg) 85%); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.3vw, 50px); margin: 0 0 20px; letter-spacing: -.01em; }
.hero h1 span:last-child { color: var(--accent); }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 32em; }
.hero-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.hero-art { position: relative; height: 520px; }
.hero-art .phone { position: absolute; width: 190px; }
.hero-art .p1 { left: 4%; top: 70px; transform: rotate(-8deg); }
.hero-art .p2 { left: 33%; top: 20px; z-index: 2; width: 205px; }
.hero-art .p3 { right: 2%; top: 80px; transform: rotate(8deg); }
.hero-art img[class^="h-"] { position: absolute; z-index: 3; filter: drop-shadow(0 10px 14px #6b3a1a33); }
.h-sun { width: 100px; top: -14px; right: 6%; z-index: 1 !important; }
.h-cloud { width: 130px; top: 0; left: 0; z-index: 1 !important; opacity: .95; }
.h-a1 { width: 130px; bottom: 0; left: -2%; animation: bob 4s ease-in-out infinite; }
.h-a2 { width: 116px; bottom: -6px; left: 40%; animation: bob 4.6s ease-in-out .6s infinite; }
.h-a3 { width: 104px; bottom: 10px; right: -2%; animation: bob 5s ease-in-out 1.2s infinite; }
.h-f1 { width: 56px; top: 44%; left: 28%; animation: bob 3.6s ease-in-out infinite; }
.h-f2 { width: 64px; top: 30%; right: 28%; animation: bob 4.2s ease-in-out .3s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none !important; } html { scroll-behavior: auto; } }

/* phone frame */
.phone { margin: 0; border-radius: 30px; padding: 7px; background: #241d18; box-shadow: var(--shadow); }
.phone img { border-radius: 24px; width: 100%; }

/* why */
.why-text { max-width: 46em; }
.why-text p { font-size: 18px; color: var(--muted); margin: 0 0 14px; }
.principles { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principles li { background: var(--paper); border-radius: 26px; padding: 22px 22px 24px; box-shadow: var(--shadow); }
.principles img { width: 76px; height: 76px; margin: -6px 0 6px -4px; }
.principles h3 { font-size: 19px; margin: 0 0 6px; }
.principles p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* path */
.path { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps li a { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: center; text-decoration: none; color: var(--ink); padding: 22px; border-radius: 26px; height: 100%; transition: transform .2s ease; }
.steps li a:hover { transform: translateY(-3px); }
.step-trail a { background: var(--trail-soft); } .step-park a { background: var(--park-soft); } .step-rescue a { background: var(--rescue-soft); }
.steps img { grid-row: 1 / 3; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 14px #0002; }
.steps .age { font-weight: 800; font-size: 14px; }
.step-trail .age { color: var(--trail); } .step-park .age { color: var(--park); } .step-rescue .age { color: var(--rescue); }
.steps strong { font-size: 21px; }
.step-text { grid-column: 1 / -1; color: var(--muted); font-size: 15.5px; margin-top: 14px; }

/* apps */
.app { border-radius: 36px; padding: 36px; margin: 0 0 32px; position: relative; overflow: hidden; }
.app-trail { background: var(--trail-soft); } .app-park { background: var(--park-soft); } .app-rescue { background: var(--rescue-soft); }
.app-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.app-icon { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 10px 22px #0002; flex: 0 0 104px; }
.app-head .age { display: inline-block; font-weight: 800; font-size: 14px; color: #fff; border-radius: 999px; padding: 2px 12px; }
.app-trail .age { background: var(--trail); } .app-park .age { background: var(--park); } .app-rescue .age { background: var(--rescue); }
.app h3 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 2px; }
.tagline { margin: 0; color: var(--muted); font-size: 18px; }
.app-mascot { width: 130px; margin-left: auto; filter: drop-shadow(0 10px 14px #6b3a1a2e); }
.points { margin: 0 0 26px; padding-left: 1.2em; max-width: 50em; }
.points li { margin: 4px 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 760px; margin: 0 0 28px; }
.app-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* value */
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values li { background: var(--paper); border-radius: 26px; padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.values img { width: 56px; height: 56px; margin-bottom: 4px; }
.values h3 { font-size: 19px; margin: 0 0 6px; }
.values p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; flex: 1; }
.where { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--park-soft); border-radius: 999px; padding: 2px 10px; }

/* parents */
.parents { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.table-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; table-layout: fixed; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
thead th { background: var(--bg); font-size: 16px; }
thead th:nth-child(2) { color: var(--trail); } thead th:nth-child(3) { color: var(--park); } thead th:nth-child(4) { color: var(--rescue); }
thead th:first-child { width: 16%; }
tbody th { color: var(--muted); font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.pcards { display: none; }

/* together */
.tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tips li { border-left: 5px solid var(--accent); background: var(--paper); border-radius: 0 22px 22px 0; padding: 20px 22px; box-shadow: var(--shadow); }
.tips h3 { font-size: 19px; margin: 0 0 6px; }
.tips p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }
.tips a { font-weight: 700; font-size: 15px; text-decoration: none; }

/* faq */
.faq details { background: var(--paper); border-radius: 20px; padding: 4px 22px; margin-bottom: 12px; box-shadow: 0 1px 0 var(--rule); }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* final */
.final { padding-top: 10px; }
.final-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.final-app { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 24px; padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.final-app img { width: 60px; height: 60px; border-radius: 16px; }
.final-app span { font-weight: 800; font-size: 18px; }
.final-app small { margin-left: auto; color: var(--muted); font-weight: 700; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
footer p { margin: 6px 0; }
.footer-about { max-width: 52em; }
.footer-h { font-size: 15px; margin: 22px 0 8px; color: var(--ink); }
.footer-links { list-style: none; padding: 0; margin: 0 0 14px; }
.footer-links li { display: flex; align-items: center; gap: 8px; margin: 6px 0; flex-wrap: wrap; }
.footer-links img { width: 24px; height: 24px; border-radius: 6px; }
.copy { margin-top: 16px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 54px 0; }
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { height: 360px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-art .phone { width: 130px; }
  .hero-art .p2 { width: 142px; left: 32%; }
  .hero-art .p1 { top: 50px; } .hero-art .p3 { top: 56px; }
  .h-a1 { width: 96px; } .h-a2 { width: 84px; } .h-a3 { width: 78px; }
  .h-sun { width: 70px; } .h-cloud { width: 90px; }
  .h-f1, .h-f2 { width: 44px; }
  .brand { font-size: 16px; }
  .principles, .values, .steps, .tips, .final-apps { grid-template-columns: 1fr; }
  .app { padding: 24px 18px; border-radius: 28px; }
  .app-head { flex-wrap: wrap; gap: 14px; }
  .app-icon { width: 80px; height: 80px; flex-basis: 80px; border-radius: 20px; }
  .app-mascot { position: absolute; top: 14px; right: 10px; width: 70px; }
  .app-head > div { padding-right: 64px; }
  .shots { gap: 10px; }
  .phone { border-radius: 18px; padding: 4px; }
  .phone img { border-radius: 14px; }
  .table-wrap { display: none; }
  .pcards { display: grid; gap: 14px; }
  .pcard { background: var(--bg); border-radius: 22px; padding: 16px 18px; }
  .pcard h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 8px; }
  .pcard h3 img { width: 40px; height: 40px; border-radius: 11px; }
  .pcard dl { margin: 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 10px; font-size: 15px; }
  .pcard dt { color: var(--muted); font-weight: 700; }
  .pcard dd { margin: 0; }
  .pcard-trail h3 { color: var(--trail); } .pcard-park h3 { color: var(--park); } .pcard-rescue h3 { color: var(--rescue); }
}
