/* ============================================================
   /for-owners/promo/  — optional marketing explainer
   Map to repo as: /for-owners/promo/promo.css
   Link AFTER /tokens.css, /platform.css, /promo-shop.css.
   Classes prefixed .fp- so nothing can shadow platform.css.

   Tone rule that drove the design: this page must feel like an explainer,
   not a sales deck. One quiet intro, one walkthrough, low-cost wording only
   (no baht figures), and no numbers above the fold.
   ============================================================ */

.fo-promo-body {
  background: var(--hf-sand, #f5efe6);
  color: var(--hf-ink, #1c1814);
  font-family: var(--hf-font-body, "Sarabun", sans-serif);
  -webkit-text-size-adjust: 100%;
}

.fp-wrap {
  width: 100%;
  max-width: var(--hf-max-page, 1120px);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- intro: deliberately understated ---------- */
.fp-intro {
  padding: 34px 0 8px;
  max-width: 62ch;
}

.fp-intro__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: var(--hf-r-pill, 999px);
  font-size: var(--hf-t-eyebrow, 0.65rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hf-teal);
  background: var(--hf-teal-veil, rgba(13, 92, 99, 0.08));
}

.fp-intro__h1 {
  font-size: var(--hf-t-h1, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.fp-intro__lead {
  margin-top: 12px;
  font-size: var(--hf-t-lead, 1.05rem);
  line-height: 1.6;
  color: var(--hf-ink-70, rgba(28, 24, 20, 0.7));
}

.fp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: var(--hf-t-small, 0.82rem);
  font-weight: 800;
  color: var(--hf-teal);
  text-decoration: none;
}

/* ---------- the walkthrough stage ---------- */
.fp-stage {
  position: relative;
  margin: 26px 0 10px;
  padding: 20px 18px 22px;
  border-radius: var(--hf-r-xl, 28px);
  background: var(--hf-cream, #fffdf8);
  border: 1px solid var(--hf-line, rgba(13, 92, 99, 0.14));
  box-shadow: var(--hf-sh-2, 0 12px 32px rgba(28, 24, 20, 0.11));
  overflow: hidden;
}

.fp-stage__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.fp-dots {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fp-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hf-line-strong, rgba(13, 92, 99, 0.28));
  cursor: pointer;
}

.fp-dots button[aria-current="true"] { background: var(--hf-coral, #e85d4c); }

.fp-controls { display: flex; gap: 6px; }

.fp-controls button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--hf-line-strong, rgba(13, 92, 99, 0.28));
  border-radius: var(--hf-r-pill, 999px);
  background: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--hf-teal);
  cursor: pointer;
}

.fp-panels {
  display: grid;
  gap: 18px;
  align-items: center;
}

.fp-panel {
  display: none;
  gap: 18px;
  align-items: center;
}

.fp-panel.is-on {
  display: grid;
  grid-template-columns: 1fr;
  animation: fp-fade 0.5s ease both;
}

@keyframes fp-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.fp-panel__beat {
  display: inline-block;
  font-size: var(--hf-t-eyebrow, 0.65rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hf-coral);
}

.fp-panel__title {
  margin-top: 6px;
  font-size: var(--hf-t-h3, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
}

.fp-panel__text {
  margin-top: 8px;
  font-size: var(--hf-t-body, 0.94rem);
  line-height: 1.65;
  color: var(--hf-muted, #5e564e);
}

.fp-panel__text + .fp-panel__text { margin-top: 6px; }

/* ---------- the phone that the ghost cursor drives ---------- */
.fp-phone {
  position: relative;
  width: min(258px, 74vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a2a2e, #101013);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--hf-sh-3, 0 18px 48px rgba(28, 24, 20, 0.16));
}

.fp-screen {
  position: relative;
  overflow: hidden;
  min-height: 372px;
  padding: 12px;
  border-radius: 27px;
  background: var(--fp-screen-bg, #f5efe6);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fp-screen--night { --fp-screen-bg: #17101d; }

.fp-bar {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--fp-screen-ink, #0d5c63);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--fp-screen-line, rgba(13, 92, 99, 0.16));
}

.fp-rib {
  padding: 7px 10px;
  border-radius: var(--hf-r-pill, 999px);
  font-size: 0.6rem;
  font-weight: 800;
  color: #1c1814;
  background: linear-gradient(100deg, #e85d4c, #ffb347);
}

.fp-rib--hot { color: #ff5e8a; background: #120a16; border: 1px solid rgba(255, 94, 138, 0.4); }

.fp-tile,
.fp-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--fp-card, #fff);
  border: 1px solid var(--fp-screen-line, rgba(13, 92, 99, 0.14));
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--fp-screen-ink, #1c1814);
}

.fp-screen--night {
  --fp-screen-ink: #f4eef6;
  --fp-screen-line: rgba(255, 255, 255, 0.12);
  --fp-card: rgba(255, 255, 255, 0.06);
}

.fp-cta {
  margin-top: auto;
  padding: 9px;
  border-radius: var(--hf-r-pill, 999px);
  text-align: center;
  font-size: 0.64rem;
  font-weight: 800;
  color: #04240c;
  background: #06c740;
}

/* the ghost cursor: one element, moved by transform per step */
.fp-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.fp-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(232, 93, 76, 0.28);
  border: 2px solid var(--hf-coral, #e85d4c);
}

.fp-cursor.is-moving { opacity: 1; }

.fp-cursor.is-clicking::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid rgba(232, 93, 76, 0.55);
  animation: fp-ripple 0.7s ease-out forwards;
}


@keyframes fp-ripple {
  from { transform: scale(0.55); opacity: 1; }
  to   { transform: scale(1.5); opacity: 0; }
}

/* ---------- what is free vs what is separate ---------- */
.fp-split {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.fp-split__col {
  padding: 18px;
  border-radius: var(--hf-r-lg, 20px);
  background: var(--hf-cream, #fffdf8);
  border: 1px solid var(--hf-line, rgba(13, 92, 99, 0.14));
}

.fp-split__col--paid { border-left: 4px solid var(--hf-gold, #c9a24a); }

.fp-split__head {
  font-size: var(--hf-t-eyebrow, 0.65rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hf-teal);
}

.fp-split__col--paid .fp-split__head { color: var(--hf-gold); }

.fp-split ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: var(--hf-t-small, 0.82rem);
  line-height: 1.7;
  color: var(--hf-muted);
}

.fp-lowcost {
  margin-top: 12px;
  font-size: var(--hf-t-body, 0.94rem);
  font-weight: 800;
  color: var(--hf-teal, #0d5c63);
}

.fp-fine {
  margin-top: 8px;
  font-size: var(--hf-t-caption, 0.75rem);
  line-height: 1.6;
  color: var(--hf-muted);
}

/* ---------- video slot (empty until Bennie records) ---------- */
.fp-video {
  margin: 8px 0 30px;
  padding: 26px 18px;
  border-radius: var(--hf-r-lg, 20px);
  text-align: center;
  border: 2px dashed var(--hf-line-strong, rgba(13, 92, 99, 0.28));
}

.fp-video__note {
  font-size: var(--hf-t-caption, 0.75rem);
  color: var(--hf-muted);
}

.fp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 34px;
}

@media (min-width: 760px) {
  .fp-panel.is-on { grid-template-columns: 1fr 300px; }
  .fp-split { grid-template-columns: 1fr 1fr; }
}

/* ---------- reduced motion: no autoplay, all panels visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .fp-panel,
  .fp-panel.is-on { display: grid !important; animation: none !important; }
  .fp-cursor { display: none !important; }
  .fp-stage__head .fp-dots { display: none; }
}

/* screen-reader-only label for the step dots */
.fp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- site-wide board explainer ---------- */
.fp-board {
  margin: 36px 0 28px;
  padding: 22px 20px 24px;
  border-radius: var(--hf-r-card, 14px);
  background: var(--hf-cream, #faf7f2);
  border: 1px solid rgba(28, 24, 20, 0.08);
}

.fp-board__h {
  margin: 0 0 10px;
  font-size: var(--hf-t-h2, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
}

.fp-board__lead {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: var(--hf-t-body, 1rem);
  line-height: 1.55;
  opacity: 0.92;
}

.fp-board__steps {
  margin: 0 0 18px;
  padding-left: 1.25rem;
  max-width: 62ch;
  line-height: 1.55;
}

.fp-board__steps li + li {
  margin-top: 6px;
}

.fp-cta-row--tight {
  margin-top: 0;
  gap: 10px;
  flex-wrap: wrap;
}
