/* ---------- Marketing Launchpad (client weekly workflow) ---------- */
.lp-page .site-header { position: static; }          /* the run bar is the sticky chrome */

/* run bar */
.lp-bar { position: sticky; top: 0; z-index: 60; background: var(--blue-900); border-bottom: 1px solid rgba(255,255,255,.14); }
.lp-bar-in { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 20px; }
.lp-bar-id { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.lp-bar-id h1 { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 15px; margin: 0; line-height: 1.2; }
.lp-week { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: rgba(255,255,255,.66); }
.lp-help { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--yellow-400); white-space: nowrap; }
.lp-rail-h { display: none; }
@media (max-width: 1099px) {
  .lp-rail-h { display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
  .lp-rail-h::-webkit-scrollbar { display: none; }
  .lp-rail-h a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); }
  .lp-rail-h a[aria-current="step"] { background: var(--yellow-500); color: var(--blue-900); }
  .lp-rail-h span { opacity: .7; }
}

/* two panes */
.lp-shell { max-width: var(--container); margin: 0 auto; padding: 34px 24px 72px; display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 1099px) { .lp-shell { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; } }
.lp-work { max-width: 760px; }

/* rail */
.lp-rail { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto; }
@media (max-width: 1099px) { .lp-rail { position: static; max-height: none; } .lp-index { display: none; } }
.lp-plan { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 22px; }
.lp-plan h2 { margin: 0; font-size: 1rem; }
.lp-plan h2 button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--blue-900); text-align: left; }
.lp-plan h2 button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; flex-shrink: 0; }
.lp-plan h2 button[aria-expanded="true"]::after { transform: rotate(225deg); }
.lp-plan-hint { font-size: 12.5px; color: var(--gray-500); margin: 4px 0 0; }
.lp-plan #planP { margin-top: 14px; }
.lp-plan h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-900); margin: 14px 0 4px; }
.lp-plan h4:first-child { margin-top: 0; }
.lp-plan p { font-size: 14px; line-height: 1.55; color: var(--gray-700); margin: 0 0 6px; }
.lp-plan img { max-width: 140px; height: auto; border-radius: var(--r-sm); margin-bottom: 12px; }

.lp-index { display: flex; flex-direction: column; gap: 2px; }
.lp-index a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; color: var(--gray-700); }
.lp-index a:hover { background: var(--gray-50); color: var(--blue-900); }
.lp-index a[aria-current="step"] { background: var(--blue-900); color: #fff; }
.lp-index a span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gray-100); color: var(--gray-700); font-size: 12px; flex-shrink: 0; }
.lp-index a[aria-current="step"] span { background: var(--yellow-500); color: var(--blue-900); }
.lp-index a.done span::after { content: "\2713"; }
.lp-index a.done span { font-size: 0; }

/* phases */
.lp-phase { margin-bottom: 56px; scroll-margin-top: 84px; }
.lp-phase-head { border-bottom: 2px solid var(--gray-100); padding-bottom: 14px; margin-bottom: 20px; }
.lp-phase h2 { display: flex; align-items: center; gap: 12px; font-size: 1.7rem; margin: 0; }
.lp-phase-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-900); color: #fff; font-size: 1rem; flex-shrink: 0; }
.lp-intro { margin: 10px 0 0; color: var(--gray-700); font-size: 15.5px; }

/* task rows: a stack, so a tall row never inflates a neighbour */
.lp-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-task { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px 22px; }
@media (max-width: 720px) { .lp-task { grid-template-columns: 34px minmax(0,1fr); } .lp-act { grid-column: 1 / -1; margin-top: 12px; } }
.lp-num { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--gray-500); padding-top: 3px; }
.lp-body { min-width: 0; }
.lp-body h3 { font-size: 1.12rem; color: var(--blue-900); margin: 0; }
.lp-why { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--gray-700); }
.lp-act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.lp-go { white-space: nowrap; text-align: center; }
.lp-more { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-more a { font-size: 13px; font-weight: 600; color: var(--blue-600); border: 1px solid var(--gray-100); border-radius: var(--r-pill); padding: 5px 11px; }
.lp-more a:hover { border-color: var(--blue-600); background: var(--blue-50); }

/* how-to: only the click path collapses, never the purpose or the tool */
.lp-disclose { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--blue-600); }
.lp-disclose-i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.lp-disclose[aria-expanded="true"] .lp-disclose-i { transform: rotate(45deg); }
.lp-how { margin-top: 10px; padding: 14px 16px; background: var(--gray-50); border-radius: var(--r-md); }
.lp-steps { margin: 0 0 0 18px; padding: 0; font-size: 14.5px; line-height: 1.6; color: var(--gray-700); }
.lp-steps li { margin-bottom: 7px; }
.lp-substep { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); margin: 12px 0 6px; }

/* prompts */
.lp-prompt { margin-top: 12px; border: 1px solid var(--gray-100); border-radius: var(--r-md); background: var(--gray-50); padding: 12px; }
.lp-prompt pre { white-space: pre-wrap; font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--gray-700); background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-sm); padding: 12px; margin: 0 0 10px; }
.lp-prompt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-prompt-actions .btn { padding: 8px 14px; font-size: 13.5px; }
.lp-copy.is-done { border-color: var(--blue-600); color: var(--blue-900); }
.lp-img { max-width: 100%; height: auto; border-radius: var(--r-md); margin-top: 12px; }

/* phase footer */
.lp-phase-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--gray-100); }
.lp-done { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--gray-700); cursor: pointer; }
.lp-done input { width: 19px; height: 19px; accent-color: var(--blue-600); cursor: pointer; }
.lp-next { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--blue-600); }
.lp-support { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; background: var(--gray-50); border-radius: var(--r-lg); font-size: 14.5px; }
.lp-support span { font-weight: 700; color: var(--gray-900); }
.lp-prompt-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin: 0 0 8px; }

/* walkthrough video: plays on the launchpad so a client never loses their place */
.lp-video { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--blue-600); background: none; border: 1px solid var(--gray-100); border-radius: var(--r-pill); padding: 5px 11px 5px 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.lp-video::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.lp-video:hover { border-color: var(--blue-600); background: var(--blue-50); }
.lp-inline .lp-video { margin-left: 4px; }

.lp-modal { width: min(920px, 94vw); max-height: 90vh; margin: auto; padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.lp-modal::backdrop { background: rgba(4, 41, 74, .62); }
.lp-modal-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--blue-900); }
.lp-modal-head h2 { flex: 1; margin: 0; font-size: 1.05rem; color: #fff; }
.lp-modal-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.lp-modal-x:hover { background: var(--yellow-500); color: var(--blue-900); }
.lp-modal-body { background: #000; }
.lp-modal-body video, .lp-modal-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 66vh; border: 0; }
.lp-modal-foot { padding: 14px 20px; background: #fff; text-align: right; }
@media (max-width: 640px) { .lp-modal { width: 100vw; max-width: 100vw; border-radius: 0; } }

/* back link on a walkthrough page, for anyone who lands there directly */
.lp-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--blue-600); margin-bottom: 18px; }
.lp-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.btn.lp-video::before { border-left-color: currentColor; }
.lp-go.lp-video { justify-content: center; }

/* the client's own logo, above the plan, so it is obvious whose page this is */
.lp-logo { display: block; max-width: 180px; max-height: 90px; width: auto; height: auto; object-fit: contain; margin: 0 auto 18px; border-radius: var(--r-md); background: #fff; }
@media (max-width: 1099px) { .lp-logo { max-width: 130px; max-height: 64px; margin-bottom: 14px; } }
.lp-goal { font-size: 14.5px; line-height: 1.55; color: var(--gray-900); font-weight: 600; margin: 0 0 12px; }
.lp-delta { font-size: 14px; line-height: 1.55; color: var(--gray-700); background: var(--blue-50); border-radius: var(--r-sm); padding: 10px 12px; margin: 12px 0 0; }
.lp-success { font-size: 14px; line-height: 1.55; color: var(--gray-700); border-left: 3px solid var(--yellow-500); padding-left: 12px; margin: 14px 0 0; }

/* ---------- what's-changed notice, shown once per browser ---------- */
.lp-news { width: min(560px, 94vw); margin: auto; padding: 0; border: 0; border-radius: var(--r-xl);
           box-shadow: var(--shadow-xl); overflow: hidden; }
.lp-news::backdrop { background: rgba(4, 41, 74, .62); }
.lp-news-head { padding: 20px 24px 16px; background: var(--blue-900); color: #fff; }
.lp-news-head .eyebrow { display: block; margin-bottom: 6px; color: var(--yellow-500); }
.lp-news-head h2 { margin: 0; font-size: 1.35rem; color: #fff; line-height: 1.25; }
.lp-news-body { padding: 20px 24px 4px; background: #fff; }
.lp-news-body p { margin: 0 0 12px; font-size: 15px; color: var(--gray-700, #3d4a57); line-height: 1.6; }
.lp-news-body ul { margin: 0 0 14px; padding-left: 20px; }
.lp-news-body li { font-size: 14.5px; color: var(--gray-600, #55606c); margin-bottom: 6px; }
.lp-news-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
                padding: 6px 24px 20px; background: #fff; }
.lp-news-foot .btn { flex: 0 0 auto; }
.lp-news-dismiss { margin-left: auto; border: 0; background: none; padding: 8px 4px;
                   font-size: 14px; color: var(--gray-500); text-decoration: underline; cursor: pointer; }
.lp-news-dismiss:hover { color: var(--blue-600); }
@media (max-width: 560px) {
  .lp-news-foot { flex-direction: column; align-items: stretch; }
  .lp-news-foot .btn { width: 100%; text-align: center; }
  .lp-news-dismiss { margin-left: 0; }
}


/* ---------- quick links to the client's own accounts ----------
   Sits above step 1 rather than in the sticky bar, which is only 56px tall
   and already carries the six step chips. */
.lp-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
            margin: 0 0 22px; padding: 14px 16px; background: var(--gray-50, #f7f9fb);
            border: 1px solid var(--gray-100, #e4e9ee); border-radius: var(--r-lg); }
.lp-quick-label { font-size: 12px; font-weight: 700; letter-spacing: .07em;
                  text-transform: uppercase; color: var(--gray-500); margin-right: 4px; }
.lp-quick-btn { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600;
                color: var(--blue-900); background: #fff; border: 1px solid var(--gray-200, #d7dde3);
                border-radius: var(--r-pill); padding: 8px 16px; text-decoration: none; }
.lp-quick-btn:hover { background: var(--yellow-500); border-color: var(--yellow-500); color: var(--blue-900); }
@media (max-width: 560px) { .lp-quick-btn { flex: 1 1 auto; justify-content: center; } }
