/* Two-account films + help hand-off (preview 2026-10-11). Outline-free; tints: owner = ink green, site = mint. */
.product-film[data-film-parts] { --fp-owner: #123b2f; --fp-owner-fg: #ecf8f1; --fp-site: #bfe8d2; --fp-site-fg: #0b3d2c; --fp-site-dot: #2f9a72; }

/* account pill: top-left of the stage, above the step copy */
.product-film .film-account {
  position: absolute; z-index: 9; top: 22px; left: 30px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px 0 10px; border-radius: 999px;
  background: var(--fp-owner); color: var(--fp-owner-fg);
  font-size: 11.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 8px 22px -12px rgba(6, 17, 13, .55);
  transition: background 420ms var(--sv-ease, ease), color 420ms var(--sv-ease, ease);
}
.product-film .film-account i {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: rgba(236, 248, 241, .16);
  display: grid; place-items: center;
}
.product-film .film-account i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7fe3b0; }
.product-film.film-part-2 .film-account { background: var(--fp-site); color: var(--fp-site-fg); }
.product-film.film-part-2 .film-account i { background: rgba(11, 61, 44, .12); }
.product-film.film-part-2 .film-account i::before { background: var(--fp-site-dot); }
/* the closing step sits on the dark wash */
.product-film.film-8.film-at-step-8 .film-account { box-shadow: 0 0 0 1px rgba(191, 232, 210, .0), 0 10px 26px -10px rgba(0, 0, 0, .7); }

/* step copy moves down a little so the pill never touches the kicker */
.product-film[data-film-parts] .film-copy-stack { margin-top: 14px; }

/* dots in two clusters */
.product-film .film-dots-divider {
  width: 1px; height: 16px; margin: 0 7px; border-radius: 1px; flex: none;
  background: linear-gradient(var(--fp-owner), var(--fp-site-dot));
  opacity: .45;
}
.product-film .film-dot.is-part-1.is-current::before { background: var(--fp-owner); }
.product-film .film-dot.is-part-2::before { background: #a8dcc4; }
.product-film .film-dot.is-part-2.is-current::before { background: var(--fp-site-dot); }
.product-film[data-film-parts].film-8 .film-dot { width: 32px; }
@media (max-width: 1439px) { .product-film[data-film-parts].film-8 .film-dot { width: 28px; } }
@media (max-width: 1279px) { .product-film[data-film-parts].film-8 .film-dot { width: 21px; } }
@media (max-width: 640px) { .product-film[data-film-parts].film-8 .film-dot { width: 24px; } .product-film .film-dots-divider { margin: 0 5px; } }
@media (max-width: 360px) { .product-film[data-film-parts].film-8 .film-dot { width: 20px; } }

/* hand-off card between the two parts */
.product-film .film-handoff {
  position: absolute; z-index: 16; inset: 0;
  display: grid; place-items: center; padding: 24px;
  background: radial-gradient(520px 300px at 50% 46%, rgba(191, 232, 210, .55), transparent 70%), rgba(244, 247, 242, .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 360ms var(--sv-ease, ease), visibility 0s linear 360ms;
}
.product-film .film-handoff-card {
  display: grid; justify-items: start; gap: 10px;
  width: min(420px, 100%); padding: 26px 28px 24px;
  border-radius: 22px; background: #fff;
  box-shadow: 0 2px 4px rgba(6, 17, 13, .04), 0 24px 60px -18px rgba(6, 17, 13, .32);
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform 560ms var(--sv-ease, ease), opacity 420ms var(--sv-ease, ease);
}
.product-film .film-handoff-route { display: flex; align-items: center; gap: 8px; }
.product-film .film-handoff-route b {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.product-film .film-handoff-route b:first-child { background: #edf2ee; color: #56665e; }
.product-film .film-handoff-route b:last-child { background: var(--fp-site); color: var(--fp-site-fg); }
.product-film .film-handoff-route i { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #cdd6cf, var(--fp-site-dot)); position: relative; }
.product-film .film-handoff-route i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 2px solid var(--fp-site-dot); border-right: 2px solid var(--fp-site-dot); transform: rotate(45deg); border-radius: 1px; }
.product-film .film-handoff-card strong { color: #0b1a14; font-family: var(--sv-font-display, inherit); font-size: 26px; line-height: 1.08; letter-spacing: -.01em; }
.product-film .film-handoff-card small { color: #56665e; font-size: 13px; line-height: 1.5; }
.product-film.is-handoff .film-handoff { opacity: 1; visibility: visible; transition: opacity 360ms var(--sv-ease, ease), visibility 0s; }
.product-film.is-handoff .film-handoff-card { transform: none; opacity: 1; transition-delay: 80ms; }
@media (max-width: 640px) {
  .product-film .film-account { top: 14px; left: 15px; height: 28px; font-size: 11px; }
  .product-film .film-handoff { padding: 14px; }
  .product-film .film-handoff-card { padding: 20px 20px 18px; border-radius: 18px; }
  .product-film .film-handoff-card strong { font-size: 21px; }
  .product-film .film-handoff-card small { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-film .film-account, .product-film .film-handoff, .product-film .film-handoff-card { transition: none; }
}
/* site dark theme: the film stage stays light (as today); only the card surface deepens slightly for contrast */
:root[data-theme="dark"] .product-film .film-handoff-card { box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 30px 70px -20px rgba(0, 0, 0, .55); }

/* help: account badges and the link on to the next guide */
.hs-account {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 8px; margin: 0 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap;
  background: #123b2f; color: #ecf8f1;
}
.hs-account::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fe3b0; }
.hs-account.is-site { background: #bfe8d2; color: #0b3d2c; }
.hs-account.is-site::before { background: #2f9a72; }
.hs-next-part { margin: 18px 0 0; display: flex; justify-content: flex-end; }
.hs-next-part a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 18px; border-radius: 999px;
  background: var(--sv-accent-soft, #ecf8f1); color: var(--sv-link, #17533f); font-weight: 700; text-decoration: none;
  transition: background 200ms ease, transform 200ms ease;
}
.hs-next-part a:hover { background: var(--sv-mint-2, #d9f3e5); transform: translateX(2px); }
.hs-next-part a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.hs-next-part .hs-account { margin: 0; height: 22px; font-size: 11px; }
:root[data-theme="dark"] .hs-account { background: #1b4a3a; color: #eef6f1; }
:root[data-theme="dark"] .hs-account.is-site { background: rgba(127, 227, 176, .18); color: #bfe8d2; }
:root[data-theme="dark"] .hs-next-part a:hover { background: rgba(127, 227, 176, .16); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hs-account { background: #1b4a3a; color: #eef6f1; }
  :root:not([data-theme="light"]) .hs-account.is-site { background: rgba(127, 227, 176, .18); color: #bfe8d2; }
}
@media (max-width: 640px) { .hs-next-part { justify-content: stretch; } .hs-next-part a { width: 100%; justify-content: space-between; } }
/* the help head styles every <p> as muted body text: keep the badge's own colours and size */
.owner-help-copy p.hs-account { color: #ecf8f1; font-size: 12px; line-height: 1; margin: 0 0 10px; }
.owner-help-copy p.hs-account.is-site { color: #0b3d2c; }
:root[data-theme="dark"] .owner-help-copy p.hs-account { color: #eef6f1; }
:root[data-theme="dark"] .owner-help-copy p.hs-account.is-site { color: #bfe8d2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .owner-help-copy p.hs-account { color: #eef6f1; }
  :root:not([data-theme="light"]) .owner-help-copy p.hs-account.is-site { color: #bfe8d2; }
}
