/* The Polyglot Code — sales page.
   Style reference: ontheway.academy/lp/the-monoko-matrix-workshop — bright,
   high-contrast, energetic, conversational Thai copy. Adapted into this
   brand's own palette rather than copied: electric blue + coral + a warm
   yellow accent, on a mostly-white ground so the illustrated portraits (once
   Olyn's graphics land) get to carry the color instead of competing with it. */

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

:root {
  --ink: #1B1B2F;
  --ink-soft: #5B5D75;
  --ink-faint: #8A8B9E;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FF;
  --bg-warm: #FFF8EE;
  --border: #E7EAF6;

  --primary: #2D5BFF;
  --primary-dark: #1B3FCC;
  --primary-soft: #E8EDFF;
  --accent: #FF3D71;
  --accent-dark: #D91E54;
  --accent-soft: #FFE3EC;
  --yellow: #FFC93C;
  --yellow-dark: #B4870A;
  --success: #17B978;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(27, 27, 47, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Sarabun', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-weight: 800; line-height: 1.3; margin: 0; }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(255, 61, 113, 0.55);
}
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-lg { font-size: 1.05rem; padding: 16px 30px; width: 100%; }
.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* ---- topbar ---------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.95rem;
}
.topbar .btn { padding: 10px 20px; font-size: 0.92rem; }

/* ---- hero -------------------------------------------------------------- */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--primary-soft), transparent 60%),
    radial-gradient(700px 380px at -5% 10%, var(--accent-soft), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  letter-spacing: -0.01em;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 18px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-cta-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta-row .btn { width: auto; padding: 16px 30px; }
.hero-trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* ---- image placeholders ------------------------------------------------
   Every one of these is a spot Olyn's own graphics/content pass fills in.
   Deliberately loud so it cannot be mistaken for a finished image. */
.art-slot {
  border: 2px dashed #C9CFE8;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 28px 20px;
  font-size: 0.86rem;
  line-height: 1.6;
}
.art-slot .art-slot-tag {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.hero-art.art-slot { aspect-ratio: 4 / 5; }

/* ---- sections ------------------------------------------------------------ */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-align: center;
  max-width: 34ch;
  margin: 0 auto 14px;
}
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}

/* ---- pain section ---------------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.pain-card .ico { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.pain-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pain-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---- stat / quote block ------------------------------------------------ */
.stat-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--ink);
  border-radius: 24px;
  padding: 48px;
  color: #fff;
}
.stat-number {
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--yellow), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 10px; font-size: 1.05rem; color: #C7C9E0; }
.quote {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  border-left: 4px solid var(--yellow);
  padding-left: 20px;
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 400;
  color: #A9ABCB;
}

/* ---- table of contents / 10 profiles ------------------------------------ */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.toc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px 18px;
  text-align: center;
}
.toc-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.68rem;
}
.toc-card .num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}
.toc-card .name {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 4px 0 4px;
}
.toc-card .method {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.toc-more {
  text-align: center;
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.beats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.beat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  position: relative;
}
.beat .n {
  position: absolute;
  top: -14px; left: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.beat h4 { font-size: 0.98rem; margin: 8px 0 6px; }
.beat p { font-size: 0.86rem; color: var(--ink-soft); }

/* ---- bump teaser -------------------------------------------------------- */
.bump-teaser {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: 24px;
  padding: 40px;
}
.bump-teaser h2 { font-size: 1.5rem; margin-bottom: 12px; }
.bump-teaser p { color: var(--ink-soft); }
.bump-teaser-list { margin: 18px 0 0; padding: 0; list-style: none; }
.bump-teaser-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 0.94rem;
}
.bump-teaser-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700;
}

/* ---- founder ------------------------------------------------------------ */
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
}
.founder-photo.art-slot { aspect-ratio: 1; border-radius: 999px; }
.founder h3 { font-size: 1.1rem; margin-bottom: 10px; }
.founder p { color: var(--ink-soft); font-size: 0.98rem; }
.founder .cred {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- guarantee ------------------------------------------------------------ */
.guarantee {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-warm);
  border: 1px solid #F2E2C4;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.guarantee .ico { font-size: 2rem; }
.guarantee h3 { font-size: 1.05rem; margin-bottom: 6px; }
.guarantee p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---- faq ------------------------------------------------------------ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 12px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---- checkout ------------------------------------------------------------ */
.checkout-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px;
  text-align: center;
}
.checkout-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 4px;
}
.price-old { text-decoration: line-through; color: var(--ink-faint); font-size: 1.1rem; }
.price-new { font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.price-caption { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 24px; }

.form-row { text-align: left; margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-row input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Sarabun', sans-serif;
  font-size: 0.98rem;
}
.form-row input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

.payment-element { margin: 18px 0; text-align: left; }
.payment-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.payment-message.error { background: #FFE9EC; color: #B4272F; }
.payment-message.success { background: #E7F9EF; color: #157A47; }
.secure-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---- final cta ------------------------------------------------------------ */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 24px;
  padding: 52px 32px;
  color: #fff;
}
.final-cta h2 { font-size: 1.8rem; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.9); max-width: 46ch; margin: 0 auto 26px; }
.final-cta .btn-cta { background: #fff; color: var(--accent-dark); box-shadow: 0 12px 28px -10px rgba(0,0,0,0.3); }
.final-cta .btn-cta:hover { background: #fff; opacity: 0.92; }

/* ---- footer ------------------------------------------------------------ */
footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
footer a { color: var(--primary); text-decoration: none; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .pain-grid { grid-template-columns: 1fr; }
  .stat-block { grid-template-columns: 1fr; padding: 32px 24px; }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
  .beats-row { grid-template-columns: repeat(2, 1fr); }
  .bump-teaser { grid-template-columns: 1fr; padding: 28px; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo.art-slot { width: 140px; margin: 0 auto; }
  .checkout-card { padding: 24px; }
}

/* ---- offer: launch bar, outcomes, value stack -------------------------- */
/* Added in the Hormozi offer pass. Every number these components show is
   filled by app.js from /api/status, so the copy and the checkout cannot
   drift apart. */

.launchbar {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.launchbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.launchbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
  animation: launchpulse 1.8s ease-in-out infinite;
}
@keyframes launchpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .launchbar-dot { animation: none; }
}

.hero-anchor {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.outcome {
  display: flex;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 22px 20px;
}
.outcome .tick {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome h4 { margin: 2px 0 6px; font-size: 1.02rem; font-weight: 700; line-height: 1.45; }
.outcome p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.65; }

.stack-card {
  margin-top: 32px;
  background: #fff;
  border: 2px solid var(--primary-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}
.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
}
.stack-tick {
  flex: none;
  color: var(--success);
  font-weight: 800;
  line-height: 1.6;
}
/* min-width:0 keeps Thai from clipping in a flex column — Thai has no
   inter-word spaces, so the default min-content width can exceed the track. */
.stack-text { flex: 1; min-width: 0; }
.stack-text strong { display: block; font-weight: 700; line-height: 1.5; }
.stack-text em {
  display: block;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 2px;
}
.stack-value {
  flex: none;
  color: var(--ink-faint);
  font-size: 0.9rem;
  white-space: nowrap;
  padding-top: 2px;
}
.stack-total,
.stack-pay {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.stack-total {
  padding-top: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.stack-total s { color: var(--ink-faint); }
.stack-pay {
  margin-top: 6px;
  padding-bottom: 22px;
  font-weight: 700;
}
.stack-pay strong { font-size: 1.9rem; color: var(--accent); font-weight: 800; }
.stack-card .btn { width: 100%; }

.founding-note {
  margin-top: 26px;
  background: var(--bg-warm);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.founding-note h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--yellow-dark); }
.founding-note p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.75; }

.price-deadline {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.final-cta-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 640px) {
  .stack-list li { flex-wrap: wrap; }
  .stack-value { width: 100%; padding-left: 24px; }
  .stack-pay strong { font-size: 1.6rem; }
}

/* ---- offer pass 2: exposure, cost of inaction, proof, free sample ------- */

/* The "things you never say out loud" list. Kept plain and text-heavy on
   purpose: icons and colour would make it feel like a features grid, and this
   section only works if it reads like someone talking. */
.expose-list { max-width: 740px; margin: 0 auto; }
.expose {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.expose:last-child { border-bottom: none; }
.expose-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expose p { min-width: 0; color: var(--ink); line-height: 1.85; }
.expose-turn {
  max-width: 740px;
  margin: 34px auto 0;
  padding: 24px 26px;
  background: var(--bg-warm);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  line-height: 1.9;
}

.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.path {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.path h3 { font-size: 1.15rem; margin-bottom: 16px; }
.path ul { margin: 0; padding-left: 0; list-style: none; }
.path li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}
.path li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.path-bad { border-color: #F2C9D5; background: #FFF6F8; }
.path-bad h3 { color: var(--accent-dark); }
.path-bad li::before { content: '✕'; color: var(--accent); }
.path-good { border-color: #B9E9D3; background: #F3FCF8; }
.path-good h3 { color: #0E8A58; }
.path-good li::before { content: '✓'; color: var(--success); }

.reckon {
  margin-top: 26px;
  text-align: center;
  padding: 30px 26px;
  background: var(--ink);
  color: #D8DAF0;
  border-radius: var(--radius);
  line-height: 1.9;
}
.reckon strong { color: #fff; }
.reckon-punch {
  margin-top: 16px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--yellow);
}

.outcome-bridge {
  max-width: 52ch;
  margin: 30px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}

.sample-band {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: 24px;
  padding: 44px 32px;
}
.sample-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.sample-band p {
  max-width: 52ch;
  margin: 0 auto 24px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.sample-band .btn { width: auto; }
.sample-band-note { font-size: 0.88rem; color: var(--ink-faint); margin-top: 16px !important; }

.believe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.believe {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.believe h4 { font-size: 1.04rem; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.believe p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.8; }

.effort {
  margin-top: 26px;
  background: var(--ink);
  color: #D8DAF0;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.effort h3 { color: #fff; font-size: 1.2rem; margin-bottom: 22px; }
.effort-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.effort-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.2;
}
.effort-item span { font-size: 0.9rem; }
.effort p { max-width: 56ch; margin: 0 auto; line-height: 1.85; font-size: 0.96rem; }

.stack-head {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 14px;
}
.stack-kills {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.stack-value.is-instant { color: var(--success); font-weight: 700; }

.toc-card.is-free { border-color: var(--accent); box-shadow: 0 8px 20px -12px rgba(255,61,113,0.6); }
.toc-free {
  margin-top: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.toc-free:hover { background: var(--accent-dark); }

.reviews-none {
  text-align: center;
  border: 2px dashed #C9CFE8;
  border-radius: var(--radius);
  padding: 40px 30px;
  background: #fff;
}
.reviews-none h2 { font-size: 1.4rem; margin-bottom: 14px; }
.reviews-none p {
  max-width: 52ch;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.reviews-none .btn { width: auto; margin-top: 12px; }

.linklike {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- free chapter modal ------------------------------------------------ */
.ch-modal { position: fixed; inset: 0; z-index: 100; display: flex; }
.ch-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 40, 0.55); }
.ch-modal-panel {
  position: relative;
  margin: auto;
  width: min(720px, 100%);
  max-height: 100%;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5);
}
.ch-modal-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.ch-modal-x {
  border: none;
  background: var(--bg-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.ch-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 26px 28px 34px;
  font-size: 1.02rem;
  line-height: 1.95;
  color: #2A2C43;
}
.ch-modal-foot {
  flex: none;
  border-top: 1px solid var(--border);
  padding: 18px 24px 20px;
  background: var(--bg-soft);
}
.ch-modal-foot .btn-lg { padding: 14px 24px; font-size: 1rem; }
.sample-form { margin-bottom: 14px; }
.sample-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.sample-form-row { display: flex; gap: 8px; }
.sample-form-row input {
  flex: 1;
  min-width: 0;
  font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.sample-form-row .btn { flex: none; padding: 11px 20px; font-size: 0.92rem; }
.sample-form-msg { margin-top: 8px; font-size: 0.88rem; }
.sample-form-msg.ok { color: #0E8A58; }
.sample-form-msg.error { color: var(--accent-dark); }

@media (max-width: 640px) {
  .ch-modal-panel { border-radius: 0; width: 100%; height: 100%; }
  .ch-modal-body { padding: 20px 18px 28px; font-size: 0.98rem; line-height: 1.9; }
  .sample-form-row { flex-wrap: wrap; }
  .sample-form-row .btn { width: 100%; }
  .expose { gap: 14px; }
}

/* ---- "วิธี… โดยไม่ต้อง…" promises --------------------------------------- */
.hero-promise {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  font-weight: 700;
  line-height: 1.75;
  max-width: 30ch;
}
.hl-y {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 2px;
}
.hero-sub { font-size: 1.02rem; }

.promise-list { list-style: none; margin: 0 0 26px; padding: 0; }
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.promise-list li:hover { border-color: var(--primary); transform: translateX(3px); }
.pr-n {
  flex: none;
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  padding-top: 3px;
}
/* min-width:0 so a long Thai run wraps instead of forcing the row wider —
   Thai has no inter-word spaces for the browser to break on by default. */
.pr-text { min-width: 0; font-size: 1.02rem; line-height: 1.7; }
.pr-text strong { font-weight: 700; }
.pr-without {
  display: block;
  margin-top: 3px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.95rem;
}
.promise-foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 52ch;
  margin: 0 auto;
}
