:root { color-scheme: light; --bg: #f6f3ea; --ink: #1d2a17; --muted: #4a5a41; --line: #d9d3bf; --card: #fffdf6; --green: #4f6b2e; --green-dark: #3b5121; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f6f3ea; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--green-dark); }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); }
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; }
.top nav a.lang { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; }
.brand { font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: .01em; }
main { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) 4rem; }
section { margin-top: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 1.25rem; }
.hero { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
@media (min-width: 60rem) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.kicker { font-weight: 700; color: var(--green); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; margin: .6rem 0 1rem; }
.lead { font-size: 1.125rem; max-width: 34rem; }
.cta-row { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.button { display: inline-block; padding: .8rem 1.4rem; border-radius: .8rem; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--green); cursor: pointer; font-size: 1rem; font-family: inherit; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button.ghost { background: transparent; color: var(--green-dark); }
.button.ghost:hover { background: #4f6b2e14; }
.button.disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.compass { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; background: var(--card); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(.5rem, 2vw, 1.25rem); }
.cell { display: grid; justify-items: center; align-content: center; text-align: center; min-width: 0; }
.cell img.walker { display: block; width: 100%; max-width: 11rem; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 0 0; }
.cell span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.cell-center p { font-size: .8rem; padding: .5rem; }
.gait { text-align: center; }
.gait > p { max-width: 40rem; margin: 0 auto 1.5rem; color: var(--muted); }
.gait .compass { max-width: 36rem; margin: 0 auto; text-align: left; }
.cell-nw { order: 1; } .cell-n { order: 2; } .cell-ne { order: 3; } .cell-w { order: 4; } .cell-center { order: 5; } .cell-e { order: 6; } .cell-sw { order: 7; } .cell-s { order: 8; } .cell-se { order: 9; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: .75rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.price .card { max-width: 32rem; margin: 0 auto; background: var(--card); border: 2px solid var(--green); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.25rem); }
.badge { display: inline-block; background: #4f6b2e1f; color: var(--green-dark); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: .15rem .75rem; margin-bottom: .75rem; }
.note { font-size: .9rem; }
.price ul { margin: 1.25rem 0 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .5rem; }
.downloads { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.buy-steps { margin: 1.25rem 0 1rem; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: .5rem; }
.try canvas.chase, .demo canvas.chase { width: 100%; height: auto; display: block; background: var(--card); border: 1px solid var(--line); border-radius: 1.5rem; touch-action: pan-y; cursor: crosshair; }
.try canvas.chase { aspect-ratio: 20 / 9; }
.demo canvas.chase { aspect-ratio: 2 / 1; }
.demo { max-width: 52rem; }
.demo h1 { margin-top: 1rem; }
.demo .note { font-size: .9rem; margin-top: .75rem; }
.demo p { margin-top: 1rem; }
footer { border-top: 1px solid var(--line); padding: 1.5rem clamp(1rem, 4vw, 3rem); text-align: center; }
.terms { max-width: 46rem; }
.terms h1 { margin-top: 1rem; font-size: clamp(1.8rem, 5vw, 2.5rem); }
.terms h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #151a12; --ink: #eef2e6; --muted: #b4bfa6; --line: #34402c; --card: #1d2418; --green: #8fb35a; --green-dark: #b9d68b; }
  .button { color: #10160c; }
  .button.ghost { color: var(--green-dark); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[hidden] { display: none !important; }
.run-shot { display: block; margin-top: 1rem; }
.run-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 1.5rem; }
.guide { max-width: 58rem; padding-top: 2rem; }
.guide .lead { max-width: 42rem; }
.guide-open { margin-top: 1.5rem; }
.guide-steps { list-style: none; counter-reset: guide; display: grid; gap: 1rem; padding: 0; margin: 2.5rem 0 1.5rem; }
.guide-steps li, .guide-finish { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.15rem; }
.guide-steps li { counter-increment: guide; }
.guide-steps li::before, .guide-number { content: counter(guide); grid-row: span 2; display: grid; place-items: center; height: 2rem; border-radius: 50%; background: var(--green); color: var(--bg); font-weight: 800; }
.guide h2 { font-size: 1.12rem; margin: .1rem 0 .25rem; }
.guide-shot { margin: 0 0 1.5rem; }
.guide-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1rem; }
.guide-shot figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.byok { max-width: 46rem; margin-inline: auto; padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; }
.byok h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.byok p { margin: 0 0 .5rem; }
.byok p:last-child { margin-bottom: 0; font-weight: 600; }
.tagline { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; color: var(--ink); margin: -.25rem 0 1rem; }
footer .guides { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin-bottom: .75rem; font-size: .95rem; }
footer .guides span { color: var(--muted); font-weight: 700; }
.keyword { max-width: 52rem; padding-top: 1.5rem; }
.keyword .gait { margin-top: 2.5rem; }
.keyword .gait .compass { max-width: 30rem; }
.keyword-body h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 2.75rem 0 .75rem; }
.keyword-body p { margin: 0 0 1rem; }
.keyword-body ul, .keyword-body ol { margin: 0 0 1rem; padding-left: 1.3rem; color: var(--muted); display: grid; gap: .5rem; }
.keyword-buy { background: var(--card); border: 2px solid var(--green); border-radius: 1.5rem; padding: clamp(1.25rem, 4vw, 2rem); margin-top: 3rem; }
.keyword-buy h2 { margin-bottom: .5rem; }
.hero h1, .keyword h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); }
