:root {
  --bg: #f6f7f5; --surface: #fff; --fg: #161917; --muted: #5d655f; --line: #dfe3df;
  --brand: #2f8f57; --brand-ink: #fff; --brand-soft: #e3f2e8; --chat: #d9fdd3;
  --font: system-ui, -apple-system, "Segoe UI", "Noto Sans TC", "Noto Sans JP", "Noto Sans Thai", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111412; --surface: #1a1e1b; --fg: #e8ece9; --muted: #9aa49d; --line: #2c332e; --brand: #4fbf7d; --brand-ink: #0d1f14; --brand-soft: #1f3327; --chat: #1f3327; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--font); -webkit-text-size-adjust: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 9; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 20px; padding: 12px max(16px, calc((100% - 1100px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
.top nav { display: flex; gap: 18px; margin-inline-start: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--fg); }
.lang { position: relative; font-size: .92rem; }
.lang summary { cursor: pointer; list-style: none; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; }
.lang summary::before { content: "🌐 "; }
.lang ul { position: absolute; inset-inline-end: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 170px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.lang li a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--fg); text-decoration: none; }
.lang li a:hover, .lang li a[aria-current] { background: var(--brand-soft); }

main > section { max-width: 1100px; margin: 0 auto; padding: 56px 16px; border-bottom: 1px solid var(--line); }
main > section:last-child { border-bottom: 0; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 64px; }
.badge { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); font-weight: 700; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.note { font-size: .92rem; color: var(--muted); }

.demo { margin: 0; display: flex; gap: 14px; align-items: flex-end; justify-content: center; }
.phone { width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgb(0 0 0 / .12); font-size: .9rem; }
.phone .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.msgs { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; background: var(--brand-soft); }
.msgs p { margin: 0; }
.me { align-self: flex-end; background: var(--chat); padding: 6px 10px; border-radius: 10px; }
.them { align-self: flex-start; background: var(--surface); padding: 8px 10px; border-radius: 10px; max-width: 92%; }
.them .link { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); text-align: center; color: var(--brand); font-weight: 600; }
.punch { width: 190px; margin-bottom: 30px; }
.punch .site { margin: 14px 14px 6px; color: var(--brand); font-size: .85rem; }
.punch .done { margin: 0 14px 18px; font-size: 1.35rem; font-weight: 800; }

.cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.cards p { margin: 0; color: var(--muted); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; padding: 20px; border-inline-start: 3px solid var(--brand); background: var(--surface); border-radius: 0 14px 14px 0; }
.steps li::before { content: counter(s); display: block; font-weight: 800; color: var(--brand); font-size: 1.5rem; }
.steps p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pricing { text-align: center; }
.pricing p { max-width: 640px; margin-inline: auto; }
#faq h3 { margin-top: 1.6em; }
#faq p { color: var(--muted); max-width: 760px; }
.sources { padding-inline-start: 1.2em; }

footer { max-width: 1100px; margin: 0 auto; padding: 28px 16px 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.langs { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.langs a { color: var(--muted); }
.nf { text-align: center; padding: 120px 16px; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .lang { margin-inline-start: auto; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .demo { justify-content: flex-start; }
  .phone { width: 200px; } .punch { width: 150px; }
}
@media (max-width: 400px) { .punch { display: none; } }
