/* Zoke website: same palette and fonts as the app (Prompt / Sarabun, SIL OFL, served from this site). */
@font-face { font-family: Prompt; src: url(fonts/prompt_medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Prompt; src: url(fonts/prompt_regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Sarabun; src: url(fonts/sarabun_regular.ttf); font-weight: 400; font-display: swap; }

:root {
  --ink: #0b0d12; --surface: #151924; --line: #262b3a; --cream: #f3eee4; --muted: #9aa0b4;
  --violet: #8b5cf6; --pink: #ff4d8d; --gold: #ffc23d;
  --brand: linear-gradient(100deg, #5b3fe0, #b64bd6 55%, #ff4d8d);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 18px/1.7 Sarabun, "Noto Sans Thai", system-ui, sans-serif;
  background-image:
    radial-gradient(900px 600px at 8% -10%, rgba(91,63,224,.40), transparent 70%),
    radial-gradient(800px 600px at 100% 10%, rgba(255,77,141,.28), transparent 70%);
  background-repeat: no-repeat;
}
h1, h2, h3, .btn, nav, .price b { font-family: Prompt, system-ui, sans-serif; font-weight: 500; }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
nav .brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-size: 26px; }
nav .brand img { width: 44px; height: 44px; border-radius: 12px; }
nav .links { display: flex; gap: 22px; font-size: 16px; }
nav .links a { color: var(--muted); text-decoration: none; }
nav .links a:hover { color: var(--cream); }

.hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 40px 0 70px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.2; margin: 0 0 18px; }
.hero h1 em, h2 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 20px; color: rgba(243,238,228,.85); margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 30px; background: var(--brand);
  color: #fff; text-decoration: none; font-size: 18px; box-shadow: 0 12px 30px rgba(182,75,214,.35); }
.btn.ghost { background: var(--surface); box-shadow: none; border: 1px solid var(--line); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.small { font-size: 14px; color: var(--muted); margin-top: 14px; }

.frame { background: #1b1f2b; padding: 10px; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.frame img { border-radius: 18px; }
.frame.phone { border-radius: 36px; padding: 9px; }
.frame.phone img { border-radius: 28px; }

section { padding: 64px 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; line-height: 1.25; }
.sub { color: var(--muted); margin: 0 0 36px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: rgba(21,25,36,.85); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card .ico { font-size: 30px; }
.card h3 { margin: 8px 0 6px; font-size: 21px; }
.card p { margin: 0; color: rgba(243,238,228,.8); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }
.wide { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.wide figure { margin: 0; }
.wide figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

.duo { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.steps { margin: 0; padding-left: 26px; font-size: 18px; }
.steps li { margin-bottom: 10px; }
.duo-shots { position: relative; padding-right: 90px; }
.duo-shots .frame.phone { position: absolute; right: 0; bottom: -40px; width: 34%; }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { background: rgba(21,25,36,.9); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.price.hot { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.price b { display: block; font-size: 30px; margin: 4px 0 10px; }
.price b s { font-size: 18px; color: var(--muted); margin-right: 6px; font-weight: 400; }
.price ul { margin: 0; padding-left: 20px; color: rgba(243,238,228,.82); font-size: 15px; }
.price .tag { font-family: Prompt; font-size: 15px; color: var(--gold); }

details { background: rgba(21,25,36,.85); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-family: Prompt; font-size: 18px; }
details p { margin: 10px 0 0; color: rgba(243,238,228,.85); }

footer { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--muted); margin-right: 18px; }

/* Long-form pages (privacy, terms) */
.doc { max-width: 820px; margin: 0 auto; padding: 20px 20px 60px; }
.doc h1 { font-size: 36px; margin: 10px 0 4px; }
.doc h2 { font-size: 24px; margin: 34px 0 8px; color: var(--gold); }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 10px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); font-family: Prompt; font-weight: 500; }
.doc .en { border-top: 1px dashed var(--line); margin-top: 50px; padding-top: 10px; }

/* User manual */
.manual { max-width: 900px; }
.manual h2 { scroll-margin-top: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 46px; }
.manual h3 { font-size: 19px; margin: 22px 0 6px; }
.manual li { margin-bottom: 6px; }
.manual code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 15px; }
.toc { display: block; font-family: Sarabun, system-ui, sans-serif; font-size: 17px; background: rgba(21,25,36,.85); border: 1px solid var(--line); border-radius: 18px; padding: 18px 24px; margin: 26px 0 10px; }
.toc b { font-family: Prompt; font-weight: 500; }
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 30px; }
.toc a { color: var(--cream); text-decoration: none; }
.toc a:hover { color: var(--gold); }
.fig { margin: 16px 0 18px; }
.fig img { border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07); }
.fig figcaption { color: var(--muted); font-size: 15px; text-align: center; margin-top: 8px; }
.fig.narrow { max-width: 640px; }
.pair { display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; align-items: end; }
.pair .fig.phone img { border-radius: 22px; }
.tip, .warn { border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.tip { background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.35); }
.warn { background: rgba(255,77,141,.10); border: 1px solid rgba(255,77,141,.45); }
@media (max-width: 600px) { .toc ol { columns: 1; } .pair { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .duo { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .wide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav .links { display: none; }
  .features, .prices { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  section { padding: 44px 0; }
}

.tree { background: #10131c; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font: 15px/1.55 Consolas, "Courier New", monospace; overflow-x: auto; color: var(--cream); }
