/* funnel-native.css — a funnel page that feels like a phone app (lib/funnel-native.mjs, funnel-native.js).
 * Only for a block whose root says data-pf-native, and only at phone width: a computer sees the page as before.
 * The dock lives inside the block's root, so it takes the block's own colours: --pfn-accent and --pfn-ink
 * when the block sets them, else its --sk-accent / --sk-ink, else a neutral dark. */

/* The page you land on carries on from the one you left, in browsers that can (Safari 18.2, Chrome 126). */
@view-transition { navigation: auto; }

/* THE ARRIVAL, at every width: the screen starts in the colour the form filled it with, then the page fades up through it. */
.pfn-cover { position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; animation: pfn-arrive .55s ease-out .08s both; }
@keyframes pfn-arrive { to { opacity: 0; visibility: hidden; } }

@media (max-width: 700px) {

  [data-pf-native].pfn-on { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  /* The page's own sticky bars give way to the dock: one ask on screen, at the thumb. */
  [data-pf-native].pfn-on .sk-cap-bar,
  [data-pf-native].pfn-on .ew-bar { display: none !important; }

  .pfn-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 2147480000;
    display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; min-height: 64px; border-radius: 22px;
    background: var(--pfn-accent, var(--sk-accent, #1f2420)); color: var(--pfn-ink, #fff);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .12);
    text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none; -webkit-user-select: none;
    transform: translateY(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
    animation: pfn-dock-in .5s cubic-bezier(.2, .8, .2, 1) .25s both; font: inherit; border: 0; cursor: pointer; text-align: left; }
  @keyframes pfn-dock-in { from { transform: translateY(140%); } }
  .pfn-dock:active { transform: scale(.98); }
  .pfn-dock.pfn-gone { transform: translateY(160%); opacity: 0; pointer-events: none; }
  .pfn-dock.pfn-pull { transition: none; }

  .pfn-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .pfn-txt small { font-size: 12.5px; font-weight: 500; opacity: .8; letter-spacing: .01em; }
  .pfn-txt b { font-size: 16.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pfn-up { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .16); }
  .pfn-up svg { width: 18px; height: 18px; animation: pfn-nudge 1.6s ease-in-out infinite; }
  @keyframes pfn-nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

  /* The opt-in's dock: the arrow leads, the words follow. */
  .pfn-dock.pfn-optin { padding-left: 14px; }
  .pfn-dock.pfn-optin .pfn-up { order: -1; }

  @media (prefers-reduced-motion: reduce) {
    .pfn-dock, .pfn-up svg { animation: none; }
  }
}
@media (prefers-reduced-motion: reduce) { .pfn-cover { animation-duration: .01s; } }

/* The rep, with a check: this is your person, not a company. (Any width: the data-pf-say card shows it on a computer.) */
.pfn-who { position: relative; flex: 0 0 auto; width: 46px; height: 46px; }
.pfn-pic { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); color: inherit; font-weight: 700; font-size: 19px; line-height: 1; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.pfn-pic img, .pfn-pic svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pfn-check { position: absolute; right: -3px; bottom: -2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--pfn-check, #fff); color: var(--pfn-accent, var(--sk-accent, #1f2420)); display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--pfn-accent, var(--sk-accent, #1f2420)); }
.pfn-check svg { width: 11px; height: 11px; }

/* A swipe on the message dock: the card with the rep and one button to tap (funnel-native.js). Outside the phone rule
   because the copy-the-message card (data-pf-say) opens on a computer too; only phones ever get the plain one. */
.pfn-reveal { position: fixed; inset: 0; z-index: 2147481000; display: flex; align-items: flex-end; justify-content: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(0, 0, 0, 0); pointer-events: none;
  transition: background-color .3s; }
.pfn-reveal.pfn-open { background: rgba(0, 0, 0, .45); pointer-events: auto; }
.pfn-reveal-card { width: 100%; max-width: 440px; border-radius: 26px; padding: 26px 20px 14px; background: #fff; color: #141313;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .5); transform: translateY(115%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.pfn-reveal.pfn-open .pfn-reveal-card { transform: none; }
.pfn-reveal-card b { font-size: 20px; font-weight: 700; margin-top: 10px; }
.pfn-reveal-card small { font-size: 14.5px; opacity: .7; }
.pfn-who-lg { width: 76px; height: 76px; }
.pfn-who-lg .pfn-pic { width: 76px; height: 76px; font-size: 30px; background: var(--pfn-accent, var(--sk-accent, #1f2420)); color: var(--pfn-ink, #fff);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pfn-on-white, var(--pfn-accent, var(--sk-accent, #1f2420))); }
.pfn-who-lg .pfn-check { width: 24px; height: 24px; background: var(--pfn-accent, var(--sk-accent, #1f2420)); color: var(--pfn-ink, #fff); box-shadow: 0 0 0 3px #fff; }
.pfn-who-lg .pfn-check svg { width: 13px; height: 13px; }
.pfn-reveal-go { display: block; width: 100%; margin-top: 18px; padding: 17px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 17px;
  background: var(--pfn-accent, var(--sk-accent, #1f2420)); color: var(--pfn-ink, #fff); }
.pfn-reveal-x { margin-top: 6px; padding: 12px; border: 0; background: none; font: inherit; font-size: 15px; color: #6b7280; cursor: pointer; }

/* data-pf-say: the lead's message to copy, then Facebook or a text (funnel-native.js sayCard; Jeff, 2026-10-13). */
.pfn-say .pfn-reveal-card small { margin-bottom: 10px; }
.pfn-say-msg { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 14px 16px; border: 0; border-radius: 18px 18px 18px 6px;
  background: #eef0f2; color: #141313; font: inherit; font-size: 16px; line-height: 1.4; text-align: left; cursor: pointer; }
.pfn-say-tap { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--pfn-on-white, var(--pfn-accent, var(--sk-accent, #1f2420))); }
.pfn-copied .pfn-say-msg { box-shadow: inset 0 0 0 2px var(--pfn-on-white, var(--pfn-accent, var(--sk-accent, #1f2420))); }
.pfn-say .pfn-reveal-go { margin-top: 16px; }
.pfn-say-text { display: block; width: 100%; margin-top: 10px; padding: 15px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 16px;
  color: var(--pfn-on-white, var(--pfn-accent, var(--sk-accent, #1f2420))); box-shadow: inset 0 0 0 2px var(--pfn-on-white, var(--pfn-accent, var(--sk-accent, #1f2420))); }
/* A closed card is hidden outright: pushed down by its own height it still showed when it sits mid-screen on a computer
   (Jeff, 2026-10-13: "think you messed up lol"). The visibility waits for the slide out before it applies. */
.pfn-reveal:not(.pfn-open) { visibility: hidden; transition: background-color .3s, visibility 0s .4s; }
@media (min-width: 701px) { .pfn-say { align-items: center; } .pfn-say .pfn-reveal-card { padding: 30px 28px 16px; transform: translateY(100vh); }
  .pfn-say.pfn-open .pfn-reveal-card { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pfn-reveal-card { transition: none; } }

/* The rep's own Meet me line under their name (0407; funnel-native.js), approved by them on About you. */
.pfn-meet{display:block;margin:2px 0 6px;font-style:italic;opacity:.85}
