/* App landing pages (_layouts/app.html). Accent and font follow index.html. */
:root {
  --accent: #667eea;
  --accent-2: #764ba2;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f7fb;
  --card: #ffffff;
  --line: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 880px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }

/* Korean: wrap between words, not between syllables */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }

.site-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.site-bar .container { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.site-bar a { text-decoration: none; font-weight: 600; color: var(--text); }
.site-bar .site-nav { display: flex; gap: 20px; align-items: center; }
.site-bar .lang-flags { display: flex; gap: 10px; align-items: center; }
.site-bar .lang-switch { display: flex; }
.site-bar .lang-switch img { display: block; height: 16px; width: auto; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.site-bar .lang-switch.is-current img { box-shadow: 0 0 0 2px var(--accent); }
.site-bar .brand {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

main section { padding: 40px 0; border-bottom: 1px solid var(--line); }
main section:last-child { border-bottom: none; }

h1 { font-size: 2rem; line-height: 1.25; margin: 16px 0 12px; }
h2 { font-size: 1.4rem; margin-bottom: 16px; }
h3 { font-size: 1.05rem; margin-bottom: 6px; }

.hero { background: linear-gradient(135deg, #5a67d8 0%, var(--accent-2) 100%); color: #fff; text-align: center; }
.hero .app-icon { border-radius: 22%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); display: block; margin: 0 auto; }
.hero .definition { max-width: 680px; margin: 0 auto 24px; font-size: 1.05rem; }

.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); text-decoration: none; font-weight: 600;
  padding: 10px 18px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.store-btn:hover { transform: translateY(-1px); }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shots img {
  flex: 0 0 auto; width: 220px; height: auto; border-radius: 18px;
  border: 1px solid var(--line); scroll-snap-align: start; background: var(--card);
}

.features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 12px 38px; position: relative; }
.features li::before { content: "✓"; position: absolute; left: 14px; color: var(--accent); font-weight: 700; }

.steps { padding-left: 1.4em; }
.steps li { margin-bottom: 8px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.plan-paid { border-color: var(--accent); }
.plan ul { padding-left: 1.2em; }
.plan li { margin-bottom: 6px; }

.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.faq-item p { color: #374151; }

.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer p { margin-bottom: 8px; }
.site-footer .ids { font-size: 0.8rem; word-break: break-all; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0; }
.footer-links a, .footer-links button { color: var(--muted); font: inherit; }
.footer-links button { background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; }
.other-apps-title { margin-top: 16px; font-weight: 600; }
.other-apps { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.other-apps a { color: #4f5bd5; }

@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  main section { padding: 28px 0; }
  .shots img { width: 180px; }
}
