/* ViralJung — sales page. Standalone stylesheet.
   Token names and values mirror landing/assets/site.css so the two read as one brand.
   Mobile first: base rules are the 375px layout, min-width queries scale up. */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f5ff;
  --surface: #ede9fe;          /* Purple Light */
  --border: #e8e3fb;
  --border-2: #cfc4f4;
  --text: #0f172a;             /* Dark Navy */
  --muted: #5b6879;            /* Mid Gray, darkened to clear WCAG AA on --bg and --surface */
  --brand: #7c3aed;            /* Viral Purple */
  --accent: #ec4899;           /* Jung Pink */
  --accent-soft: #fce7f3;      /* Pink Light */
  --on-brand: #fff;
  --brand-line: #06c755;       /* LINE green — official, used for the glyph */
  --line-btn: #048038;         /* darkened LINE green — 5.06:1 with white, AA */
  --accent-ink: #db2777;       /* darkened Jung Pink for small white-on-pink chips */
  --card: #fff;
  --font: 'Prompt', -apple-system, 'Helvetica Neue', 'Noto Sans Thai', sans-serif;

  --wrap: 1000px;
  --prose: 44rem;              /* ~704px measure for persuasion copy */
  --band-y: 44px;              /* vertical band rhythm, scales up at md */
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* room for the sticky bar so it never covers the last footer line */
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.prose { max-width: var(--prose); margin-left: auto; margin-right: auto; }
section[id] { scroll-margin-top: 24px; }

.band {
  padding: var(--band-y) 0;
  background: var(--bg);
  border-top: 1px solid transparent;
}
/* alternating stripe so the eye can track progress down a long page */
.band--card {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band--scale { padding: 54px 0; }

h1, h2, h3 { line-height: 1.28; }
.h2 {
  font-size: 22px; font-weight: 700; color: var(--text);
  letter-spacing: -.01em; text-wrap: balance;
}
.h2--brand { color: var(--brand); }
.h2--center { text-align: center; }
.h3 { font-size: 17px; font-weight: 700; margin-top: 26px; }
.eyebrow {
  font-size: 13px; font-weight: 600; color: var(--muted);
  letter-spacing: .09em; text-transform: none;
}
.sub { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.body { color: var(--muted); font-size: 17px; }
.body + .body { margin-top: 13px; }
.pivot { color: var(--text); font-size: 17px; font-weight: 600; }
.mail-link { display: inline-block; padding: 11px 2px; color: var(--brand); font-weight: 600; }
.mail-link:hover { text-decoration: underline; }
.small { font-size: 14.5px; color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted); }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 30px; }

/* ---------- buttons ---------- */
.line-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 28px; border-radius: 14px; min-height: 54px;
  background: var(--line-btn); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1.2;
  transition: filter .18s ease;
}
.line-btn:hover { filter: brightness(.96); }
.line-icon { width: 30px; height: 30px; flex: none; }

.inline-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 16px; min-height: 44px; border-radius: 10px;
  background: var(--line-btn); color: #fff;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.inline-btn:hover { filter: brightness(.96); }
.inline-btn svg { width: 18px; height: 18px; flex: none; }

.cta-block { text-align: center; margin-top: 24px; }
.cta-micro { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- masthead ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: flex; align-items: center; min-height: 44px; }
.brand-mark img { height: 23px; width: auto; }
.badge {
  font-size: 12.5px; color: var(--text); background: var(--surface);
  padding: 6px 11px; border-radius: 999px; line-height: 1.1;
  white-space: nowrap;
}
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border-2); color: var(--text);
  border-radius: 999px; padding: 0 14px; min-height: 44px;
  font-size: 12.5px; font-weight: 700; line-height: 1;
}
.lang-toggle:hover { background: var(--surface); }
.topbar .inline-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 70svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px;
  padding: 8px 20px 34px;
}
.mascot { width: 290px; max-width: 74%; max-height: 22svh; object-fit: contain; }
.title {
  color: var(--brand); font-size: 31px; font-weight: 700; line-height: 1.2;
  letter-spacing: -.015em; text-wrap: balance;
}
/* extra headline break that only exists on narrow screens */
.br-sm { display: inline; }
.intro { max-width: 32rem; color: var(--muted); font-size: 17px; }
.hero .cta-block { margin-top: 4px; }
.openloop { max-width: 30rem; color: var(--muted); font-size: 15px; margin-top: 14px; }

/* mascot poses used as section marks */
.pose { height: 112px; width: auto; object-fit: contain; object-position: center bottom; margin: 0 auto 10px; }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.band--card .card { background: var(--bg); }
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: 1fr; }

/* ---------- #demo chat mockups ---------- */
.mock-label {
  display: inline-block; margin: 0 auto 18px; text-align: center;
  background: var(--surface); color: var(--brand);
  border: 1px dashed var(--border-2); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.mock-label-wrap { text-align: center; }
.panel h3 { font-size: 15.5px; font-weight: 700; color: var(--brand); }
.panel .cap { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.chat {
  margin-top: 12px; display: grid; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px;
}
.band--card .chat { background: var(--card); }
.bub {
  font-size: 12.5px; line-height: 1.5; padding: 9px 12px; border-radius: 13px;
  max-width: 88%; word-break: break-word;
}
.bub--me { background: var(--surface); color: var(--text); margin-left: auto; border-bottom-right-radius: 4px; }
.bub--bot { background: var(--card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.band--card .bub--bot { background: var(--bg); }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; }
.qr {
  background: var(--card); border: 1px solid var(--border-2); color: var(--brand);
  border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 700;
}
/* ---------- split (mascot beside prose) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; text-align: center; }
.split figure img { max-width: 130px; margin: 0 auto; }
.split-body { text-align: left; }

/* ---------- generic lists ---------- */
.scenes { display: grid; gap: 12px; margin-top: 16px; }
.scenes li {
  font-size: 16px; color: var(--muted);
  padding-left: 18px; position: relative;
}
.scenes li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--border-2);
}

.ticks { display: grid; gap: 10px; margin-top: 14px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text); align-items: flex-start; }
.ticks li::before {
  content: '✓'; color: var(--brand); font-weight: 700; flex: none; line-height: 1.6;
}
.ticks--muted li { color: var(--muted); }
.ticks b { color: var(--text); font-weight: 700; }

/* ---------- #decode comparison table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px; }
table.compare {
  width: 100%; min-width: 470px; border-collapse: collapse;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; font-size: 14.5px;
}
.band--card table.compare { background: var(--bg); }
table.compare th, table.compare td {
  padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.compare thead th { background: var(--surface); font-weight: 700; font-size: 14px; }
table.compare thead th:last-child { color: var(--brand); }
table.compare tbody th { text-align: left; font-weight: 600; color: var(--text); white-space: nowrap; }
table.compare tbody td { color: var(--muted); }
table.compare tbody td:last-child { color: var(--text); font-weight: 500; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- #mechanism ---------- */
.diagram-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin-top: 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 14px;
}
.band--card .diagram-wrap { background: var(--bg); }
.diagram-wrap .diagram-h { display: none; min-width: 560px; }
.diagram-wrap .diagram-v { width: 100%; max-width: 360px; margin: 0 auto; }

.stepper { display: grid; gap: 12px; margin-top: 14px; counter-reset: st; }
.stepper li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.stepper li::before {
  counter-increment: st; content: counter(st);
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.stepper .txt { font-size: 15px; color: var(--muted); padding-top: 4px; }
.stepper .txt b { color: var(--text); font-weight: 600; }
.round-head {
  margin-top: 26px; font-size: 15.5px; font-weight: 700; color: var(--text);
  background: var(--surface); border-radius: 999px; padding: 8px 16px;
  display: inline-block;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chips li {
  background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1.35;
}
.count-row { margin-top: 14px; font-size: 14px; color: var(--muted); }

details.more {
  margin-top: 18px; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
}
.band--card details.more { background: var(--bg); }
details.more[open] { border-color: var(--border-2); }
details.more > summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--brand);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after {
  content: ''; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .18s ease;
}
details.more[open] > summary::after { transform: rotate(-135deg); }
details.more .h3:first-of-type { margin-top: 16px; }

/* ---------- #deliverable ---------- */
.pill-eyebrow {
  display: inline-block; background: var(--surface); color: var(--brand);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700;
  margin-bottom: 10px;
}
.carousel-ill {
  display: flex; gap: 8px; overflow: hidden; margin-bottom: 20px;
  border: 1px solid var(--border); border-radius: 14px; padding: 12px;
  background: var(--card);
}
.band--card .carousel-ill { background: var(--bg); }
.carousel-ill .cc {
  flex: none; width: 96px;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 9px;
  background: var(--bg); font-size: 11px; font-weight: 700; color: var(--brand);
  line-height: 1.3;
}
.band--card .carousel-ill .cc { background: var(--card); }
.carousel-ill .cc i { display: block; margin-top: 7px; height: 4px; border-radius: 2px; background: var(--surface); font-style: normal; }
.carousel-ill .cc i + i { margin-top: 4px; width: 66%; }

.numlist { display: grid; gap: 9px; margin-top: 14px; counter-reset: nn; }
.numlist li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.numlist li::before {
  counter-increment: nn; content: counter(nn);
  width: 24px; height: 24px; border-radius: 999px; background: var(--surface); color: var(--brand);
  position: absolute; left: 0; top: 1px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
}
.numlist b { color: var(--text); font-weight: 700; }

.callout {
  margin-top: 20px; border: 1px solid var(--border-2); border-left: 4px solid var(--brand);
  border-radius: 12px; padding: 14px 16px; background: var(--card);
  font-size: 15.5px; font-weight: 600; color: var(--text);
}
.band--card .callout { background: var(--bg); }

/* ---------- #clone ---------- */
.qsteps { display: grid; gap: 14px; margin-top: 16px; counter-reset: qs; }
.qsteps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.qsteps li::before {
  counter-increment: qs; content: counter(qs);
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.qsteps .txt { font-size: 15.5px; color: var(--text); padding-top: 4px; }

/* ---------- #limits ---------- */
.checklist { display: grid; gap: 13px; margin-top: 18px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; font-size: 15.5px; color: var(--muted); }
.checklist svg { width: 18px; height: 18px; margin-top: 4px; color: var(--brand); }
.transcript {
  margin-top: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px; font-size: 15px; color: var(--text);
}
.transcript-lead { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- #self-test ---------- */
.dare { text-align: center; }
.dare h2 { font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: -.015em; text-wrap: balance; }
.dare .body { margin-top: 16px; }

/* ---------- #stack ---------- */
.recap {
  margin-top: 26px; background: var(--card); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 16px 18px; color: var(--text);
  font-size: 16px; font-weight: 600; text-align: center;
}
.band--card .recap { background: var(--bg); }

/* ---------- #pricing ---------- */
.notice {
  max-width: var(--prose); margin: 18px auto 0;
  background: var(--accent-soft); border: 1px solid #f9cfe6;
  border-radius: 14px; padding: 14px 18px;
  color: #9d174d; font-size: 14.5px; text-align: center;
}
.notice strong { font-weight: 700; }
.freeline { max-width: var(--prose); margin: 16px auto 0; text-align: center; font-size: 16px; color: var(--text); font-weight: 600; }

.plans { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 26px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--brand); box-shadow: 0 10px 30px rgba(124,58,237,.10); }
.plan-tag {
  position: absolute; top: -12px; left: 22px;
  background: var(--accent-ink); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; line-height: 1;
}
.plan h3 { font-size: 18px; font-weight: 700; }
.plan .price { margin-top: 8px; font-size: 34px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { margin-top: 16px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; font-size: 15px; color: var(--text); }
.plan li::before { content: '✓'; color: var(--brand); font-weight: 700; flex: none; }
.plan .slot { margin-top: auto; padding-top: 18px; }
.notsale-chip {
  display: inline-block; background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600;
  cursor: default;
}
.pricing-note { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--muted); }
.perclip { margin-top: 12px; text-align: center; font-size: 15.5px; color: var(--text); font-weight: 600; }
.mechanics { max-width: var(--prose); margin: 20px auto 0; text-align: center; font-size: 14.5px; color: var(--muted); }

/* ---------- #risk ---------- */
.trial {
  max-width: var(--prose); margin: 22px auto 0;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 22px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.trial img { width: 62px; flex: none; }
.trial-body { text-align: left; width: 100%; }
.trial .ticks li { color: var(--text); font-size: 15.5px; }

/* ---------- #faq ---------- */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 15px 17px;
}
.band--card .faq details { background: var(--bg); }
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  min-height: 44px; padding-top: 3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- #close ---------- */
.close-h {
  font-size: 24px; font-weight: 700; color: var(--brand);
  text-align: center; letter-spacing: -.015em; text-wrap: balance;
}
.lockup {
  margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted);
  letter-spacing: .09em;
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--card); border-top: 1px solid var(--border-2);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.sticky-cta.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.sticky-cta .tiny { font-size: 12px; margin-bottom: 7px; }
.sticky-cta .line-btn { width: 100%; }

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--wrap); margin: 40px auto 0;
  padding: 26px 18px 30px; border-top: 1px solid var(--border); text-align: center;
}
.site-footer p { color: var(--muted); font-size: 14px; }
.site-footer p + p { margin-top: 9px; }
.site-footer a { color: var(--brand); font-weight: 600; display: inline-block; padding: 11px 4px; }
.site-footer a:hover { text-decoration: underline; }
.footer-entity { font-size: 13px; }

/* ---------- md: 640px and up ---------- */
@media (min-width: 640px) {
  :root { --band-y: 54px; }
  .wrap { padding: 0 22px; }
  .title { font-size: 36px; }
  .br-sm { display: none; }
  .intro { font-size: 18px; }
  .mascot { max-height: 42svh; }
  .h2 { font-size: 24px; }
  .dare h2 { font-size: 30px; }
  .close-h { font-size: 28px; }
  .grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .split { grid-template-columns: 190px 1fr; gap: 34px; text-align: left; }
  .split--mirror { grid-template-columns: 1fr 190px; }
  .split--mirror figure { order: 2; }
  .split figure img { max-width: 180px; }
  .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .card { padding: 22px; }
  .diagram-wrap .diagram-v { display: none; }
  .diagram-wrap .diagram-h { display: block; }
  .trial { flex-direction: row; align-items: flex-start; text-align: left; padding: 24px; }
  .trial-body { flex: 1 1 260px; }
  .carousel-ill .cc { width: 118px; font-size: 12px; }
}

/* ---------- lg: 900px and up — desktop CTA in, sticky bar out ---------- */
@media (min-width: 900px) {
  .topbar {
    position: sticky; top: 0; z-index: 50;
    padding: 18px 22px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  section[id] { scroll-margin-top: 92px; }
  .topbar-left, .topbar-right { gap: 14px; }
  .brand-mark img { height: 26px; }
  .badge { font-size: 13px; }
  .topbar .inline-btn { display: inline-flex; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .close-h { font-size: 30px; }
}

/* hint เลื่อนตาราง: โชว์เฉพาะจอที่ตารางล้นจริง (>=768px ตารางพอดีอยู่แล้ว) */
@media (min-width: 768px) { .scroll-hint { display: none; } }

/* ============================================================
   v2 — proof-first rebuild (hero · proof · demo · story)
   ============================================================ */

/* marker highlight — ใช้เน้นวลีเดียวต่อหนึ่งบล็อก ห้ามใช้เกลื่อน */
.mark {
  background: linear-gradient(180deg, transparent 56%, var(--accent-soft) 56%);
  padding: 0 .08em;
  border-radius: 2px;
}

/* ---------- hero ---------- */
/* hero โตตามวิดีโอ ไม่ต้อง lock ความสูงอีกแล้ว */
.hero { min-height: auto; padding-top: 6px; gap: 15px; }

.phone-wrap {
  width: 100%; margin-top: 2px;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
}
.phone {
  position: relative;
  width: min(266px, 70vw);
  padding: 7px;
  background: #14121f;
  border-radius: 34px;
  box-shadow: 0 20px 46px -16px rgba(24,10,60,.5), inset 0 0 0 1px rgba(255,255,255,.07);
}
.phone-screen {
  display: block; width: 100%; aspect-ratio: 520 / 1126;
  border-radius: 27px; background: #000; object-fit: cover;
}
.phone-play {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--brand);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px -4px rgba(0,0,0,.45);
  transition: opacity .25s ease, transform .25s ease;
}
.phone-play svg { width: 30px; height: 30px; margin-left: 3px; }
.phone-play:hover { transform: scale(1.06); }
.phone-play.is-off { opacity: 0; pointer-events: none; transform: scale(.8); }
.shot-cap { font-size: 12.5px; color: var(--muted); }

/* ---------- dark band ---------- */
.band--dark {
  background: #17102e;
  border-top: 1px solid #2a1d52;
  color: #efeaff;
  padding: 52px 0;
}
.h2--on-dark { color: #fff; }
.eyebrow--on-dark { color: #b9a6ff; text-align: center; display: block; margin-bottom: 9px; }

/* ---------- stat row ---------- */
.stat-row {
  margin-top: 24px; display: grid; gap: 11px;
  grid-template-columns: 1fr; align-items: stretch;
}
.stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; padding: 17px 15px; text-align: center;
}
.stat-num {
  display: block; font-size: 40px; font-weight: 700; color: #fff;
  line-height: 1.04; letter-spacing: -.025em;
}
.stat-plus { font-size: .62em; vertical-align: .28em; margin-left: .04em; }
.stat-cap { display: block; margin-top: 9px; font-size: 13.5px; line-height: 1.5; color: #c3b6ec; }
.stat--hot {
  background: linear-gradient(158deg, rgba(236,72,153,.24), rgba(124,58,237,.24));
  border-color: rgba(236,72,153,.55);
}
.stat--hot .stat-num { color: #ff85c6; font-size: 46px; }
.stat-arrow {
  display: grid; place-items: center;
  font-size: 22px; color: #8b74e8; transform: rotate(90deg);
  line-height: 1;
}

.disclaimer {
  margin: 20px auto 0; max-width: 40rem; text-align: center;
  font-size: 13.5px; line-height: 1.62; color: #b0a2d8;
  border-top: 1px solid rgba(255,255,255,.13); padding-top: 15px;
}
.disclaimer b { color: #efeaff; font-weight: 600; }
.cta-block--dark { margin-top: 22px; }
.cta-micro--dark { color: #b0a2d8; }

/* ---------- #demo real screenshots ---------- */
.real-label {
  display: inline-block; margin: 0 auto 20px; text-align: center;
  background: #e7f7ee; color: #0a6531; border: 1px solid #9bdab6;
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.shot-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.shot { margin: 0; text-align: center; }
.shot img {
  width: min(236px, 62vw); margin: 0 auto;
  border-radius: 22px; border: 6px solid #14121f;
  box-shadow: 0 16px 36px -14px rgba(24,10,60,.45);
}
.shot figcaption {
  margin: 13px auto 0; max-width: 21rem;
  font-size: 15px; line-height: 1.55; color: var(--muted);
}
.shot figcaption b { color: var(--brand); font-weight: 700; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- md and up ---------- */
@media (min-width: 640px) {
  .phone { width: 300px; }
  .stat-row { grid-template-columns: 1fr auto 1fr 1fr; gap: 13px; }
  .stat-arrow { transform: none; font-size: 26px; }
  .shot-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .shot img { width: 100%; max-width: 220px; }
  .stat-num { font-size: 36px; }
  .stat--hot .stat-num { font-size: 42px; }
}
@media (min-width: 900px) {
  .stat-num { font-size: 42px; }
  .stat--hot .stat-num { font-size: 50px; }
}

/* ---------- หลักฐานสกรีนช็อตบนแถบเข้ม ---------- */
.sub--on-dark { color: #c3b6ec; }

.proof-shot { margin: 24px auto 0; max-width: 560px; text-align: center; }
.proof-shot img {
  width: 100%; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  background: #fff;
}
.proof-shot--sm { max-width: 440px; }
.proof-shot figcaption {
  margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: #b6a9dd;
}
.proof-shot figcaption b { color: #efeaff; font-weight: 600; }

/* การ์ดตัวเลขชุดนี้เป็นป้ายเมตริก ไม่ใช่ before/after จึงไม่ต้องมีลูกศร */
#proof .stat-row { margin-top: 26px; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#proof .stat { padding: 15px 10px; }
#proof .stat-num { font-size: 30px; }
#proof .stat--hot .stat-num { font-size: 34px; }
#proof .stat-cap {
  margin-top: 5px; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: #b0a2d8;
}

@media (min-width: 640px) {
  #proof .stat-row { gap: 14px; }
  #proof .stat-num { font-size: 40px; }
  #proof .stat--hot .stat-num { font-size: 46px; }
}

/* ---------- #deliverable: การ์ด 6 ใบ ---------- */
.proof-shot--light img { border-color: var(--border-2); background: #14121f; }
.proof-shot--light figcaption { color: var(--muted); }
.proof-shot--light figcaption b { color: var(--brand); }
.proof-shot--light .dim {
  color: var(--muted); opacity: .8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
}

.cardlist { display: grid; gap: 10px; margin-top: 26px; }
.cardlist-item {
  display: grid; gap: 3px;
  background: var(--card); border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: 12px; padding: 13px 15px;
}
.band--card .cardlist-item { background: var(--bg); }
.cardlist-item--v { border-left-color: #7c3aed; }
.cardlist-item--n { border-left-color: #1e1b3a; }
.cardlist-item--p { border-left-color: #ec4899; }
.cardlist-name { font-weight: 700; font-size: 15.5px; color: var(--text); }
.cardlist-desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- #pricing: the stack ---------- */
.stack {
  max-width: 40rem; margin: 22px auto 0;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
}
.stack-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.stack-row:last-child { border-bottom: 0; }
.stack-item { font-size: 15px; line-height: 1.5; color: var(--text); }
.stack-cost {
  flex: none; font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap;
}
.stack-cost--inc, .stack-cost--free { font-weight: 600; color: var(--muted); }
.stack-cost--free { color: #0a6531; }
.stack-row--total {
  background: var(--surface);
  border-top: 2px solid var(--border-2);
}
.stack-row--total .stack-item { font-weight: 700; }
.stack-row--total .stack-cost { font-size: 17px; }

.stack-anchor {
  max-width: 40rem; margin: 16px auto 0; text-align: center;
  font-size: 15px; line-height: 1.65; color: var(--muted);
}
.stack-anchor b { color: var(--text); }

@media (min-width: 640px) {
  .cardlist { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stack-item { font-size: 15.5px; }
}
