/* ─────────────────────────────────────────────────────────────
   One-Prompt Demo — hero animation
   Vanilla port of nexbite/components/OnePromptDemo.tsx
   Phase 1: a centered "new chat" that types the first prompt.
   Phase 2: it sends, collapses into a scrolling Claude chat that
   launches then activates a Google Performance Max campaign.
   Light theme; fixed, viewport-fit height; conversation auto-scrolls.
   All styles scoped under .opd. Driven by js/one-prompt-demo.js.
   ───────────────────────────────────────────────────────────── */

.opd-mount { width: 100%; display: flex; justify-content: center; }

.opd {
  --opd-accent: #d4805f;              /* Claude terracotta */
  --opd-blue: #1f7fa8;                /* tool-call blue (readable on light) */
  --opd-bg: #faf9f5;                  /* warm off-white window */
  --opd-ink: #2a2a27;                 /* primary text */
  --opd-line: rgba(0, 0, 0, .09);     /* borders */
  --opd-fill: rgba(0, 0, 0, .05);     /* subtle fills */
  --opd-bubble: #efece3;              /* user bubble */
  --opd-muted: rgba(0, 0, 0, .5);
  --opd-faint: rgba(0, 0, 0, .38);
  position: relative;
  width: 100%;
  max-width: 720px;
  /* fit the viewport: never taller than 70vh, clamped to a sane band */
  height: clamp(420px, 70vh, 680px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--opd-bg);
  color: var(--opd-ink);
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .18);
  outline: 1px solid rgba(0, 0, 0, .06);
  font-family: Inter, sans-serif;
  /* container-level entrance */
  opacity: 0;
  transform: translateY(60px) scale(.97);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1),
              transform .9s cubic-bezier(.22, 1, .36, 1);
}
.opd.opd-enter { opacity: 1; transform: none; }

/* soft brand glow behind the window */
.opd-glow {
  position: absolute;
  inset: -24px -32px;
  border-radius: 32px;
  background: linear-gradient(120deg, #59bcdf, #7c6cff 45%, #d4805f);
  opacity: .16;
  filter: blur(48px);
  pointer-events: none;
  z-index: -1;
}

/* ── window chrome (always visible) ── */
.opd-chrome {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--opd-line);
}
.opd-dots { display: flex; align-items: center; gap: 8px; }
.opd-dot { width: 12px; height: 12px; border-radius: 50%; }
.opd-dot--r { background: #ff5f57; }
.opd-dot--y { background: #febc2e; }
.opd-dot--g { background: #28c840; }
.opd-navicons {
  margin-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--opd-faint);
}
.opd-tabs {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: var(--opd-fill);
  font-size: 12px;
  font-weight: 500;
}
.opd-tab { padding: 4px 12px; color: var(--opd-faint); border-radius: 8px; }
.opd-tab--active {
  color: var(--opd-ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

/* ── phase 1: centered "new chat" ── */
.opd-newchat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px 28px;
  transition: opacity .3s ease, transform .3s ease;
}
.opd-newchat.opd-leaving { opacity: 0; transform: translateY(-10px); }
.opd-greet-mark { color: var(--opd-accent); }
.opd-greet-mark svg { width: 30px; height: 30px; }
.opd-greet {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.2;
  color: var(--opd-ink);
  text-align: center;
}
.opd-center-box { width: 100%; max-width: 560px; }

/* hidden until we enter chat mode */
.opd-title, .opd-scroll, .opd-composer-dock { display: none; }
.opd--chat .opd-newchat { display: none; }
.opd--chat .opd-title { display: flex; }
.opd--chat .opd-scroll { display: block; }
.opd--chat .opd-composer-dock { display: block; }

/* ── phase 2: conversation title (fixed, above the scroll) ── */
.opd-title {
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px 4px;
}
.opd-title-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--opd-ink);
}
.opd-title-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── phase 2: scrolling conversation ── */
.opd-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .2) transparent;
}
.opd-scroll::-webkit-scrollbar { width: 6px; }
.opd-scroll::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .18); border-radius: 3px; }
.opd-scroll::-webkit-scrollbar-track { background: transparent; }

.opd-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 20px;
  overflow-wrap: break-word;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--opd-ink);
}
.opd-body p { margin: 0; }
.opd-strong { font-weight: 600; }

.opd-bubble {
  margin-left: auto;
  max-width: 78%;
  align-self: flex-end;
  border-radius: 16px 16px 6px 16px;
  background: var(--opd-bubble);
  padding: 8px 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--opd-ink);
}

.opd-toolcall { display: flex; align-items: center; gap: 8px; }
.opd-toolcall-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--opd-blue);
}

.opd-tips { margin: 0 0 0 4px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.opd-tips li { display: flex; gap: 10px; }
.opd-bulletdot { margin-top: 9px; width: 4px; height: 4px; flex-shrink: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); }

.opd-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--opd-faint);
}
.opd-actions .opd-pager { display: flex; align-items: center; gap: 4px; font-family: Inter, sans-serif; font-size: 12px; }
.opd-asterisk { margin-top: 4px; width: 20px; height: 20px; color: var(--opd-accent); }

/* ── composer (shared look; used centered and docked) ── */
.opd-composer-dock { flex-shrink: 0; padding: 6px 16px 12px; }
.opd-composer-box {
  border-radius: 16px;
  border: 1px solid var(--opd-line);
  background: #fff;
}
.opd-composer-text {
  padding: 12px 16px 8px;
  font-size: 14px;
  color: var(--opd-ink);
  min-height: 20px;
}
.opd-placeholder { color: var(--opd-faint); }
.opd-caret {
  margin-left: 1px;
  display: inline-block;
  width: 1px;
  height: 14px;
  transform: translateY(2px);
  background: var(--opd-accent);
  vertical-align: middle;
  animation: opd-blink 1s steps(1) infinite;
}
@keyframes opd-blink { 50% { opacity: 0; } }

.opd-composer-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 10px; }
.opd-composer-left { display: flex; align-items: center; gap: 8px; color: var(--opd-faint); }
.opd-composer-right { display: flex; align-items: center; gap: 10px; }
.opd-model { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--opd-muted); }
.opd-send {
  display: flex; height: 28px; width: 28px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--opd-accent); color: #fff;
}
.opd-send--pulse { animation: opd-pulse 1.2s ease-in-out infinite; }
@keyframes opd-pulse { 0%, 100% { transform: scale(1); } 33% { transform: scale(.86); } }

.opd-disclaimer { margin: 10px 0 0; text-align: center; font-size: 11px; color: var(--opd-faint); }
.opd-disclaimer--center { margin-top: 4px; }

/* icon sizing */
.opd svg { width: 16px; height: 16px; display: block; }
.opd .opd-i-sm { width: 14px; height: 14px; }
.opd .opd-i-xs { width: 12px; height: 12px; }
.opd-spin { color: var(--opd-blue); animation: opd-spin 1s linear infinite; }
@keyframes opd-spin { to { transform: rotate(360deg); } }

/* ── reveal mechanism ── */
.opd-reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s cubic-bezier(.22, 1, .36, 1),
              transform .3s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.opd-reveal.opd-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .opd { height: clamp(400px, 68vh, 620px); }
  .opd-navicons, .opd-share { display: none; }
  .opd-body { font-size: 13.5px; padding-inline: 16px; }
  .opd-title { padding-inline: 16px; }
  .opd-greet { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .opd, .opd-reveal, .opd-newchat { transition: none; }
  .opd-caret, .opd-spin, .opd-send--pulse { animation: none; }
  .opd-scroll { scroll-behavior: auto; }
}

/* ─────────────────────────────────────────────────────────────
   Brand selector (Claude · ChatGPT · Slack) above the hero window.
   ───────────────────────────────────────────────────────────── */
.opd-stack { width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: .25rem; }
.opd-pickerwrap { display: flex; justify-content: center; margin-bottom: 1.15rem; }
.opd-picker {
  display: inline-flex; gap: .25rem; padding: .3125rem;
  border-radius: 999px;
  background:
    radial-gradient(140% 180% at 50% 50%, rgba(255,255,255,.48), rgba(255,255,255,.14) 68%, rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.46);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 20px 6px rgba(46,30,107,.05), inset 0 1px rgba(255,255,255,.38);
  font-family: Inter, sans-serif;
}
.opd-pick {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .4375rem .8125rem; border: 0; border-radius: 999px;
  background: transparent; color: #475467;
  font-size: .8125rem; font-weight: 600; line-height: 1; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.opd-pick:hover { background: rgba(255,255,255,.3); color: #101828; }
.opd-pick[aria-selected="true"] {
  background: #1067fe;
  color: #fff;
  box-shadow: 0 8px 22px -12px rgba(16,103,254,.5), inset 0 0 0 1px rgba(255,255,255,.18);
}
/* Active pill is brand blue -> render its icon white so it reads on the blue. */
.opd-pick[aria-selected="true"] .opd-pick-ico { filter: brightness(0) invert(1); }
.opd-pick:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(16, 103, 254, .35); }
.opd-pick-ico { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; display: inline-flex; }
.opd-pick-ico svg { width: 100%; height: 100%; display: block; }
.opd-pick-ico--gpt { color: #101828; }
@media (prefers-reduced-motion: reduce) { .opd-pick { transition: none; } }
@media (max-width: 400px) { .opd-pick { padding: .4375rem .625rem; } .opd-pick-name { font-size: .75rem; } }

/* chat chrome: brand title in place of tabs (ChatGPT) */
.opd-brandtitle {
  margin-inline: auto; display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--opd-ink);
}

/* ── ChatGPT theme ── */
.opd--chatgpt {
  --opd-accent: #0d0d0d;
  --opd-bg: #ffffff;
  --opd-ink: #0d0d0d;
  --opd-line: rgba(0, 0, 0, .1);
  --opd-fill: rgba(0, 0, 0, .05);
  --opd-bubble: #f4f4f4;
  --opd-blue: #0b8f6a;
  --opd-muted: rgba(0, 0, 0, .55);
  --opd-faint: rgba(0, 0, 0, .4);
}
.opd--chatgpt .opd-greet { font-family: Inter, sans-serif; font-size: 24px; font-weight: 600; }
.opd--chatgpt .opd-greet-mark, .opd--chatgpt .opd-asterisk { color: #0d0d0d; }
.opd--chatgpt .opd-body { font-family: Inter, sans-serif; font-size: 14.5px; }
.opd--chatgpt .opd-bubble { border-radius: 18px; }
.opd--chatgpt .opd-glow { background: linear-gradient(120deg, #10a37f, #0d0d0d 65%); opacity: .12; }

/* ─────────────────────────────────────────────────────────────
   Slack theme — workspace view (sidebar + #paid-media channel).
   ───────────────────────────────────────────────────────────── */
.opd-slack { --opd-accent: #007a5a; background: #fff; }
.opd-slack .opd-glow { background: linear-gradient(120deg, #36C5F0, #4A154B 55%, #ECB22E); opacity: .14; }
.slk { flex: 1; min-height: 0; display: flex; font-family: Inter, "Lato", sans-serif; }

.slk-side {
  flex: 0 0 172px; width: 172px; background: #3F0E40; color: rgba(255, 255, 255, .72);
  padding: 14px 8px; display: flex; flex-direction: column; gap: 2px; overflow: hidden;
}
.slk-side-head {
  display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 800; font-size: 15px;
  padding: 2px 8px 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.slk-side-head svg { color: rgba(255, 255, 255, .7); }
.slk-side-sec { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .5); padding: 8px 8px 2px; }
.slk-side-item {
  display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 6px;
  font-size: 14px; color: rgba(255, 255, 255, .78); white-space: nowrap;
}
.slk-side-item .slk-h { color: rgba(255, 255, 255, .5); font-weight: 600; }
.slk-side-item--active { background: #1264A3; color: #fff; }
.slk-side-item--active .slk-h { color: #fff; }
.slk-appdot { width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, #1e5bff, #6f6cf2); }

.slk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.slk-head {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.slk-head-ch { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 800; color: #1d1c1d; }
.slk-head-ch .slk-h { color: rgba(0, 0, 0, .45); }
.slk-head-meta { display: flex; align-items: center; gap: 4px; font-size: 12px; color: rgba(0, 0, 0, .5); }

.slk-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .2) transparent;
}
.slk-scroll::-webkit-scrollbar { width: 6px; }
.slk-scroll::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .18); border-radius: 3px; }
.slk-msgs { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }

.slk-msg { display: flex; gap: 9px; align-items: flex-start; }
.slk-av {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.slk-av--you { background: #6a5acd; }
.slk-av--app { background: #fff; border: 1px solid rgba(0, 0, 0, .1); box-sizing: border-box; overflow: hidden; }
.slk-av--app img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; display: block; }
.slk-msg-main { min-width: 0; }
.slk-msg-head { display: flex; align-items: baseline; gap: 7px; margin-bottom: 2px; }
.slk-msg-name { font-size: 15px; font-weight: 800; color: #1d1c1d; }
.slk-badge {
  font-size: 10px; font-weight: 700; color: #616061; background: rgba(0, 0, 0, .08);
  border-radius: 3px; padding: 1px 5px; text-transform: uppercase; letter-spacing: .02em;
}
.slk-msg-time { font-size: 12px; color: rgba(0, 0, 0, .5); }
.slk-msg-body { font-size: 14.5px; line-height: 1.46; color: #1d1c1d; }
.slk-msg-body p { margin: 0 0 4px; }
.slk-mention { background: #e8f2fc; color: #1264A3; font-weight: 600; border-radius: 4px; padding: 0 3px; }

.slk-attach {
  margin: 6px 0 8px; padding: 2px 0 2px 12px; border-left: 3px solid #dcdcdc;
  display: flex; flex-direction: column; gap: 4px;
}
.slk-attach--ok { border-left-color: #2eb67d; }
.slk-attach-row { display: flex; gap: 8px; font-size: 13.5px; }
.slk-attach-k { flex: 0 0 92px; color: rgba(0, 0, 0, .5); }
.slk-attach-v { color: #1d1c1d; font-weight: 500; }
.slk-pill { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 7px; letter-spacing: .02em; }
.slk-pill--paused { background: rgba(0, 0, 0, .07); color: #616061; }
.slk-pill--live { background: #e6f6ef; color: #1a7f56; }

.slk-actions { display: flex; gap: 8px; margin-top: 6px; }
.slk-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 700; color: #1d1c1d;
  background: #fff; border: 1px solid rgba(0, 0, 0, .28); border-radius: 6px;
  padding: 6px 12px; cursor: default;
}
.slk-btn svg { width: 14px; height: 14px; }
.slk-btn-label { display: inline-flex; align-items: center; gap: 5px; }
.slk-btn--primary { background: #007a5a; border-color: #007a5a; color: #fff; }
.slk-btn--primary .opd-spin { color: #fff; }
.slk-btn--busy { opacity: .92; }
.slk-btn--done { background: #0b6e53; border-color: #0b6e53; color: #fff; }

.slk-context { display: flex; align-items: center; gap: 6px; margin-left: 43px; font-size: 12.5px; color: rgba(0, 0, 0, .5); }
.slk-context svg { width: 14px; height: 14px; color: #2eb67d; }
.slk-context b { color: rgba(0, 0, 0, .7); font-weight: 600; }
.slk-fine { color: rgba(0, 0, 0, .66); }

.slk-typing { display: flex; align-items: center; gap: 9px; padding: 2px 0; }
.slk-typing-dots { display: flex; gap: 4px; }
.slk-typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .3); animation: slk-bounce 1.2s infinite ease-in-out; }
.slk-typing-dots span:nth-child(2) { animation-delay: .15s; }
.slk-typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes slk-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }

.slk-composer { flex-shrink: 0; padding: 8px 16px 14px; }
.slk-composer-box { border: 1px solid rgba(0, 0, 0, .28); border-radius: 10px; }
.slk-composer-input { padding: 11px 14px 6px; font-size: 14px; color: #1d1c1d; min-height: 18px; }
.slk-composer-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 8px; }
.slk-composer-tools { display: flex; color: rgba(0, 0, 0, .5); }
.slk-composer-send { display: flex; height: 26px; width: 26px; align-items: center; justify-content: center; border-radius: 6px; background: #007a5a; color: #fff; }

@media (max-width: 600px) {
  .slk-side { display: none; }
  .slk-msgs { padding: 14px; }
  .slk-attach-k { flex-basis: 78px; }
  .slk-context { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .slk-typing-dots span { animation: none; } }

/* ─────────────────────────────────────────────────────────────
   Phone mockup — "Launches real campaigns" card.
   A static phone-framed chat where Adspirer launches an ad
   campaign. Replaces the stock iPhone screenshot; keeps the
   .image-mockup class so Webflow's placement/sizing still apply.
   ───────────────────────────────────────────────────────────── */
.opd-phone {
  --opd-accent: #d4805f;
  --opd-blue: #1f7fa8;
  --opd-ink: #2a2a27;
  /* override the .image-mockup sizing (built for a tall svh-height image) */
  position: absolute;
  left: 50%;
  top: 0.5rem;
  bottom: auto;
  transform: translateX(-50%);
  width: 20rem;
  max-width: 84%;
  height: 29rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .08);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  background: #faf9f5;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .28);
  overflow: hidden;
  text-align: left;
  font-family: Inter, sans-serif;
}
.opd-phone-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: #fff;
}
.opd-phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  width: 42px; height: 5px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: rgba(0, 0, 0, .18);
}
.opd-phone-brand {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--opd-ink);
}
.opd-phone-logo {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--opd-accent); color: #fff;
}
.opd-phone-logo svg { width: 13px; height: 13px; display: block; }

.opd-phone-chat {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px 16px 40px;
  overflow: hidden;
  color: var(--opd-ink);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent);
  mask-image: linear-gradient(180deg, #000 88%, transparent);
}
.opd-ph-user {
  align-self: flex-end;
  max-width: 82%;
  border-radius: 15px 15px 5px 15px;
  background: var(--opd-accent);
  color: #fff;
  padding: 8px 13px;
  font-size: 13.5px;
  line-height: 1.4;
}
.opd-ph-tool {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--opd-blue);
}
.opd-ph-tool svg { width: 13px; height: 13px; display: block; }
.opd-ph-title { font-size: 14.5px; font-weight: 700; color: var(--opd-ink); }
.opd-ph-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .68);
}
.opd-ph-text b { color: var(--opd-ink); font-weight: 600; }

/* ---- New flat-vector section illustrations (viktor-style) ---- */
.opd-illu {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* feature-card illustrations sit in the lower portion of their card */
/* wide, short banner slot — cap height and center so the strip never clips */
.card-featured-3 .opd-illu { margin: auto auto 0; width: 100%; max-width: 100%; max-height: 5rem; object-fit: contain; }
.card-featured-2 .opd-illu { margin-top: auto; max-height: 16rem; }
/* watches-spend: illustration up top, card copy stays at the bottom */
.card-featured .opd-illu { margin-bottom: auto; max-height: 12rem; }
/* step illustrations: centered on a soft brand-gradient panel, like the
   original template mockups (blurred blue/orange glow behind a floating card) */
.benefit_card .layout408_image-wrapper {
  /* Matches the template's blue/orange blob gradient (#1067FE + #FF8400,
     ~0.5 opacity blobs bled off opposite corners). */
  background:
    radial-gradient(70% 70% at 4% 2%, rgba(16, 103, 254, .5), transparent 70%),
    radial-gradient(70% 70% at 96% 98%, rgba(255, 132, 0, .45), transparent 72%),
    #e8eefb;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  margin: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: 1.5rem;
  overflow: hidden;
}
.benefit_card .layout_image.opd-illu {
  width: 100%;
  max-width: 34rem;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(16, 24, 40, .16));
}
