/* =====================================================================
   Ekonbee — campaign readiness (CMO review, Nov 2026)
     1. .svc__spec  — For / Outcome / Start rows on the service cards
     2. .cta-dock   — persistent CTA bar
   The trust band reuses the existing .stats component (refine.css + dark.css).
   Layered on tokens.css / refine.css / svc-honey.css. Dark-aware.
   ===================================================================== */

/* ---------- 1. Service card spec rows ---------- */
.svc__spec {
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border, rgba(26, 21, 19, .10));
  display: grid;
  gap: 7px;
}
.svc__spec > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: baseline;
}
.svc__spec dt {
  margin: 0;
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #9c5f00;
}
.svc__spec dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.svc__spec > div:last-child dd {
  color: var(--ink);
  font-weight: 600;
}
html[data-theme="dark"] .svc__spec dt { color: #f3ae3d; }
@media (max-width: 480px) {
  .svc__spec > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 3. Persistent CTA dock ---------- */
.cta-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(14, 12, 11, .97);
  backdrop-filter: saturate(150%) blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .10);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.cta-dock[data-visible="true"] { transform: translateY(0); }
.cta-dock__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.cta-dock__copy {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-nav);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}
.cta-dock__copy strong { color: #fff; font-weight: 600; }
.cta-dock__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cta-dock .btn { white-space: nowrap; }
.cta-dock .btn--accent {
  background: #ee9002; border-color: #ee9002; color: #1d1918; font-weight: 600;
}
.cta-dock .btn--accent:hover { background: #ffa425; border-color: #ffa425; color: #1d1918; }
.cta-dock .btn--ghost {
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); color: #fff;
}
.cta-dock .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.cta-dock__close {
  flex: 0 0 auto;
  background: none; border: 0;
  color: rgba(255, 255, 255, .45);
  font-size: 20px; line-height: 1;
  padding: 4px 2px 4px 8px;
  cursor: pointer;
}
.cta-dock__close:hover { color: #fff; }
body.has-cta-dock { padding-bottom: 68px; }

@media (max-width: 760px) {
  .cta-dock__copy { display: none; }
  .cta-dock__actions { flex: 1 1 auto; }
  .cta-dock .btn {
    flex: 1 1 0; justify-content: center;
    padding-left: 12px; padding-right: 12px; font-size: 13px;
  }
  body.has-cta-dock { padding-bottom: 62px; }
}
@media (prefers-reduced-motion: reduce) { .cta-dock { transition: none; } }

/* ---------- 3. Campaign landing page ---------- */
/* One page, one job: no nav escape routes, no burger. */
body[data-page="landing"] .hdr__nav,
body[data-page="landing"] .hdr__burger { display: none !important; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-hero { padding: 72px 0 80px; background: var(--bg, #fff); }
.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "copy form"
    "detail form";
  gap: 0 56px;
  align-items: start;
}
.lp-hero__copy { grid-area: copy; }
.lp-hero__detail { grid-area: detail; }
.lp-form-card { grid-area: form; }
.lp-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 10px 0 20px;
}
.lp-hero__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 54ch;
}
.lp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.lp-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 10px; height: 11px;
  background: linear-gradient(135deg, #fdb813, #f26722);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.lp-points strong { color: var(--ink); font-weight: 600; }

.lp-form-card {
  background: var(--paper, #faf7f4);
  border: 1px solid var(--border, rgba(26, 21, 19, .10));
  border-radius: 14px;
  padding: 30px 28px;
  position: sticky;
  top: 104px;
}
.lp-form-card__title { font-size: 21px; margin: 0 0 6px; letter-spacing: -.01em; }
.lp-form-card__sub { font-size: 13px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }
.lp-form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.lp-form-card .field__hint { margin-top: 12px; line-height: 1.5; }

.lp-ok:not([hidden]) { display: flex; gap: 12px; align-items: flex-start; }
.lp-ok__check {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f7a4d; color: #fff; font-size: 14px;
}
.lp-ok p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 900px) {
  .lp-hero { padding: 40px 0 52px; }
  /* Form above the detail on small screens — the offer should be one
     thumb-scroll from the headline, not below six bullet points. */
  .lp-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "form" "detail";
    gap: 32px;
  }
  .lp-form-card { position: static; }
  .lp-hero__detail { margin-top: 0; }
}

/* ---------- 4. Keep the floating widgets clear of the dock ----------
   Resting positions: chat FAB 24px, back-to-top 88px. The dock is ~68px
   tall, so both lift by that much and keep their 64px separation. */
.ekb-chat-fab,
.backtop,
.ekb-chat { transition: bottom .35s cubic-bezier(.2, .9, .3, 1); }
body.has-cta-dock .ekb-chat-fab { bottom: 92px; }
body.has-cta-dock .backtop { bottom: 156px; }
body.has-cta-dock .ekb-chat { bottom: 92px; }
@media (max-width: 760px) {
  body.has-cta-dock .ekb-chat-fab { bottom: 86px; }
  body.has-cta-dock .backtop { bottom: 142px; }
  body.has-cta-dock .ekb-chat { bottom: 0; }
}

/* Dark mode sets .btn--accent to cream !important; the dock wants the
   brand amber so the primary action still reads as the primary action. */
html[data-theme="dark"] .cta-dock .btn--accent {
  background: #ee9002 !important;
  border-color: #ee9002 !important;
  color: #1d1918 !important;
}
html[data-theme="dark"] .cta-dock .btn--accent:hover {
  background: #ffa425 !important;
  border-color: #ffa425 !important;
  color: #1d1918 !important;
}
html[data-theme="dark"] .cta-dock .btn--ghost {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .28) !important;
  color: #fff !important;
}

.lp-alt {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border, rgba(26, 21, 19, .10));
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
