/* ============================================
   Kirikae Quest — Landing Page styles
   Shares palette with app (style.css) but standalone.
   ============================================ */
:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-shadow: #15803d;
  --green-pale: #f0fdf4;
  --red: #ef4444;
  --orange: #f97316;
  --gold: #fbbf24;
  --blue: #3b82f6;
  --ink: #1f2937;
  --ink-soft: #6b7280;
  --bg: #f8faf7;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "Hiragino Sans", "Noto Sans", "Noto Sans JP",
    "Noto Sans SC", "Noto Sans Devanagari", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav .brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; text-decoration: none; color: var(--ink); }
.nav .brand svg { width: 40px; height: auto; }
.nav .langs { display: flex; gap: 8px; }
.nav .langs a { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink-soft); border: 2px solid var(--line); border-radius: 999px; padding: 4px 10px; background: #fff; }
.nav .langs a.active { color: var(--green-dark); border-color: var(--green); }

/* buttons */
.btn { display: inline-block; text-decoration: none; text-align: center; cursor: pointer; border: none;
  font-size: 17px; font-weight: 800; padding: 15px 30px; border-radius: 14px; color: #fff;
  background: var(--green); box-shadow: 0 4px 0 var(--green-shadow); transition: transform .05s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-shadow); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--line); border: 2px solid var(--line); }
.btn.big { font-size: 19px; padding: 18px 40px; }

/* hero */
.hero { text-align: center; padding: 44px 0 30px; }
.hero .mascot { width: 150px; height: auto; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 900; letter-spacing: -1px; line-height: 1.2; margin: 14px 0 12px; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero .sub { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 24px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero .tiny { font-size: 13px; color: var(--ink-soft); }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.chip { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }

/* fact strip (GEO quotable) */
.facts { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; margin: 26px 0; }
.facts h2 { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.facts .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fact .v { font-size: 30px; font-weight: 900; color: var(--gold); }
.fact .k { font-size: 13px; color: #d1d5db; line-height: 1.45; }
.facts .src { font-size: 11px; color: #9ca3af; margin-top: 14px; }

/* sections */
section { padding: 34px 0; }
.sec-title { font-size: clamp(24px, 4.5vw, 32px); font-weight: 900; letter-spacing: -.5px; text-align: center; margin-bottom: 8px; }
.sec-sub { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 28px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.step { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.feature { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ico { font-size: 26px; }
.feature h3 { font-size: 16px; font-weight: 800; margin: 8px 0 4px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* guarantee */
.guarantee { background: var(--green-pale); border: 2px solid var(--green); border-radius: var(--radius); padding: 26px; text-align: center; }
.guarantee h2 { font-size: 22px; font-weight: 900; color: var(--green-dark); margin-bottom: 8px; }
.guarantee p { max-width: 560px; margin: 0 auto; font-size: 15px; }
.guarantee .small { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--green); box-shadow: 0 6px 0 var(--green); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11px; font-weight: 900; border-radius: 999px; padding: 3px 12px; letter-spacing: .5px; }
.plan h3 { font-size: 16px; font-weight: 900; }
.plan .price { font-size: 30px; font-weight: 900; margin: 8px 0 2px; }
.plan .per { font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }
.plan ul { list-style: none; font-size: 14px; margin-bottom: 18px; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }
.plan li.no::before { content: '—'; color: var(--line); }
.plan .note { font-size: 11px; color: var(--ink-soft); margin-top: 10px; }

/* cross-sell */
.xsell { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.xsell .t { flex: 1; min-width: 240px; }
.xsell h3 { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.xsell p { font-size: 14px; color: var(--ink-soft); }

/* faq */
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; font-size: 15px; cursor: pointer; }
.faq details p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* footer */
footer { padding: 36px 0 60px; text-align: center; }
footer .disc { font-size: 12px; color: var(--ink-soft); max-width: 640px; margin: 0 auto 14px; line-height: 1.7; }
footer .fam { font-size: 12px; color: var(--ink-soft); }
footer a { color: var(--green-dark); }

@media (max-width: 560px) {
  .hero { padding-top: 28px; }
  .nav .langs { flex-wrap: wrap; justify-content: flex-end; }
}
