/* Metro Driver landing pages (index/ja/zh). Generated HTML: scripts/gen-metro-landing.mjs */
:root {
  --cream: #fff8ee; --white: #fff; --ink: #2f3d73; --ink-soft: #66729c;
  --sky: #7bb8ee; --sky-d: #3f86d6; --green: #46b06a; --green-d: #2f8f50;
  --sun: #ffce5c; --line: rgba(47, 61, 115, .12); --shadow: rgba(60, 90, 160, .18);
  --font: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html[lang="ja"] { --font: "Fredoka", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --body: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
html[lang="zh-Hant"] { --font: "Fredoka", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  --body: "PingFang TC", "Noto Sans TC", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body);
  line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: var(--sky-d); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 1040px; margin: 0 auto; }
.brand { font-family: var(--font); font-weight: 600; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand b { color: var(--sky-d); }
.langs { display: flex; gap: 4px; background: var(--white); border-radius: 999px; padding: 4px;
  box-shadow: 0 2px 8px var(--shadow); }
.langs a { min-width: 40px; min-height: 32px; padding: 4px 10px; border-radius: 999px; text-decoration: none;
  color: var(--ink-soft); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.langs a[aria-current="page"] { background: var(--sky-d); color: var(--white); font-weight: 600; }

/* hero */
.hero { background: linear-gradient(180deg, #bfe1ff 0%, #a7cdf3 60%, var(--cream) 100%); padding: 20px 0 32px; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.app-id { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-id img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 12px var(--shadow); }
.app-id span { font-family: var(--font); font-weight: 600; font-size: 15px; color: var(--ink-soft); line-height: 1.3; }
h1 { font-family: var(--font); font-size: clamp(30px, 7.5vw, 48px); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.01em; }
.lead { font-size: 17px; margin: 0 0 20px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 10px 22px; border-radius: 16px; font-family: var(--font); font-weight: 600; font-size: 17px;
  text-decoration: none; transition: transform .06s; }
.btn:active { transform: translateY(2px); }
.btn-store { background: #111; color: #fff; box-shadow: 0 5px 0 #000; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn-store b { display: block; font-size: 19px; line-height: 1.15; }
.btn-store svg { width: 24px; height: 24px; flex: none; }
.btn-play { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-d); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.facts li { background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.shot { border-radius: 18px; box-shadow: 0 18px 40px rgba(40, 70, 140, .30); }

/* sections */
section { padding: 48px 0 8px; }
h2 { font-family: var(--font); font-size: clamp(24px, 5.5vw, 32px); line-height: 1.2; margin: 0 0 16px; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { background: var(--white); border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 6px 20px var(--shadow); }
.card h3 { font-family: var(--font); font-size: 19px; margin: 0 0 6px; }
.card p { margin: 0; }
.card .ico { font-size: 28px; line-height: 1; display: block; margin-bottom: 8px; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { border-radius: 14px; box-shadow: 0 6px 18px var(--shadow); }
.gallery figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

.compare { display: grid; gap: 14px; }
.compare .card ul { margin: 8px 0 14px; padding-left: 20px; }
.compare .card li { margin: 4px 0; }
.compare .card.app { border: 3px solid var(--sky-d); }

.faq details { background: var(--white); border-radius: 14px; margin: 0 0 10px; box-shadow: 0 3px 12px var(--shadow); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; min-height: 44px; list-style-position: outside; }
.faq details p { margin: 0; padding: 0 18px 16px; }

.final { text-align: center; padding: 40px 0 24px; }
.final .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 20px 16px 40px; text-align: center;
  font-size: 14px; color: var(--ink-soft); }
footer a { margin: 0 8px; }

@media (min-width: 720px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-columns: calc(50% - 6px); }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
