/* ==========================================================================
   MSP Process — Password Reset page
   Dual-brand (cyan + green, matches the home page). Non-boxy world-class
   typography. Reuses sa-hero / sa-section / sa-head primitives. All
   page-specific styles are pwr-* namespaced.
   ========================================================================== */

/* --- Hero overrides — dual-brand glow ----------------------------------- */
.pwr-hero .sa-hero__title-grad {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pwr-hero .sa-hero__pulse-eyebrow {
  color: var(--brand-cyan);
  background: rgba(0, 186, 251, 0.10);
  border: 1px solid rgba(0, 186, 251, 0.30);
}
.pwr-hero .sa-hero__pulse-eyebrow .sa-pulse {
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan), 0 0 0 4px rgba(0, 186, 251, 0.18);
}
.pwr-hero .sa-hero__glow { background: rgba(0, 186, 251, 0.30); }

.pwr-grad {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --- Hero simulator — deliberate sim card ------------------------------- */
.pwr-sim {
  position: relative;
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--card-shadow), 0 30px 60px -22px rgba(0, 186, 251, 0.35);
  overflow: hidden; isolation: isolate;
  padding: 16px;
}
.pwr-sim::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 186, 251, 0.18), transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.pwr-sim-inner { position: relative; z-index: 1; }
.pwr-sim-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.pwr-sim-dots { display: flex; gap: 6px; }
.pwr-sim-dot { width: 10px; height: 10px; border-radius: 50%; }
.pwr-sim-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.10em; font-weight: 800;
  color: var(--brand-cyan);
}
.pwr-sim-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-cyan); box-shadow: 0 0 12px var(--brand-cyan);
  animation: pwrPulse 1.4s infinite;
}
@keyframes pwrPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
.pwr-sim-time {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10.5px; color: var(--text); letter-spacing: 0.06em;
}

.pwr-stream {
  display: flex; flex-direction: column; gap: 6px;
  min-height: 320px;
}
.pwr-step {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 11px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s, border-color 0.3s, background 0.3s;
}
.pwr-step.is-active {
  opacity: 1; transform: translateY(0);
  border-color: rgba(0, 186, 251, 0.30);
  background: rgba(0, 186, 251, 0.06);
}
.pwr-step.is-done {
  opacity: 0.95; transform: translateY(0);
  border-color: rgba(10, 154, 86, 0.30);
  background: rgba(10, 154, 86, 0.05);
}
.pwr-step-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0, 186, 251, 0.15);
  border: 1px solid rgba(0, 186, 251, 0.30);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-cyan);
  flex-shrink: 0; font-size: 12px;
}
.pwr-step.is-done .pwr-step-icon {
  background: rgba(10, 154, 86, 0.15);
  border-color: rgba(10, 154, 86, 0.40);
  color: var(--brand-green);
}
.pwr-step-body { flex: 1; min-width: 0; }
.pwr-step-line {
  color: var(--heading); font-size: 12.5px; font-weight: 600;
  line-height: 1.35; margin-bottom: 2px;
}
.pwr-step-line .who {
  color: var(--text); font-size: 10px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  letter-spacing: 0.06em; font-weight: 700; margin-right: 6px;
  text-transform: uppercase;
}
.pwr-step-meta { color: var(--text); font-size: 10.5px; line-height: 1.35; }
.pwr-step-tag {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.10em;
  color: var(--brand-cyan);
  background: rgba(0, 186, 251, 0.10);
  border: 1px solid rgba(0, 186, 251, 0.30);
  padding: 3px 8px; border-radius: 999px;
  font-weight: 800; flex-shrink: 0; text-transform: uppercase;
  align-self: center;
}
.pwr-step.is-done .pwr-step-tag {
  color: var(--brand-green);
  background: rgba(10, 154, 86, 0.12);
  border-color: rgba(10, 154, 86, 0.36);
}
.pwr-link-card {
  margin-top: 6px; padding: 6px 9px;
  background: rgba(10, 154, 86, 0.06);
  border: 1px dashed rgba(10, 154, 86, 0.35);
  border-radius: 6px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10.5px; color: var(--text); letter-spacing: 0.02em;
}
.pwr-link-card .lc-host { color: var(--text); }
.pwr-link-card .lc-tag { color: var(--brand-green); font-weight: 700; }

.pwr-sim-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; margin-top: 10px;
  border-top: 1px solid var(--hairline);
}
.pwr-sim-foot-left { display: flex; gap: 10px; flex-wrap: wrap; }
.pwr-foot-chip {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.10em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 4px 9px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase;
}

.pwr-sim-result {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 32px;
  background:
    radial-gradient(ellipse at center, rgba(10, 154, 86, 0.16), transparent 60%),
    color-mix(in srgb, var(--card-grad) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5; opacity: 0;
  transition: opacity 0.45s;
}
.pwr-sim-result.is-open { display: flex; opacity: 1; }
.pwr-sim-result-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; margin-bottom: 14px;
  box-shadow: 0 0 0 8px rgba(10, 154, 86, 0.12);
}
.pwr-sim-result h4 {
  color: var(--heading); font-family: var(--font-brand);
  font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.3px;
}
.pwr-sim-result p {
  color: var(--text); font-size: 13.5px; margin: 0;
  line-height: 1.55; max-width: 400px;
}

/* --- Primary path — 5-step connected-spine ----------------------------- */
.pwr-flow {
  --node: 64px; --line: 3px;
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: calc(var(--node) / 2 + 22px) 0 0;
}
.pwr-flow::before {
  content: ""; position: absolute;
  top: calc(var(--node) / 2 + 22px); left: 10%; right: 10%;
  height: var(--line); transform: translateY(-50%);
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-green));
  border-radius: 999px;
  pointer-events: none;
}
.pwr-flow__step { position: relative; text-align: center; }
.pwr-flow__node {
  position: relative;
  width: var(--node); height: var(--node); border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-brand); font-weight: 700; font-size: 20px; color: #fff;
  background: linear-gradient(150deg, var(--brand-cyan), #00bfff);
  box-shadow: 0 10px 22px -8px rgba(0, 186, 251, 0.55), 0 0 0 6px var(--bg);
  z-index: 2;
}
.pwr-flow__step--final .pwr-flow__node {
  background: linear-gradient(150deg, var(--brand-green), var(--brand-cyan));
  box-shadow: 0 10px 22px -8px rgba(10, 154, 86, 0.55), 0 0 0 6px var(--bg);
}
.pwr-flow__time {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.14em; font-weight: 800; text-transform: uppercase;
  color: var(--brand-cyan); margin: 0 0 6px;
}
.pwr-flow__step--final .pwr-flow__time { color: var(--brand-green); }
.pwr-flow__name {
  font-family: var(--font-brand); font-weight: 600;
  font-size: 16px; line-height: 1.25; letter-spacing: -0.2px;
  color: var(--heading); margin: 0 0 8px;
}
.pwr-flow__body {
  font-weight: 300; font-size: 13px; line-height: 1.55;
  color: var(--text); margin: 0 0 8px;
  max-width: 24ch; margin-inline: auto;
}
.pwr-flow__tag {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.12em; font-weight: 800; text-transform: uppercase;
  color: var(--brand-cyan);
}
.pwr-flow__step--final .pwr-flow__tag { color: var(--brand-green); }

@keyframes pwrFlowPulse {
  0%, 100% { box-shadow: 0 10px 22px -8px rgba(0, 186, 251, 0.55), 0 0 0 6px var(--bg); }
  50% { box-shadow: 0 10px 22px -8px rgba(0, 186, 251, 0.85), 0 0 0 6px var(--bg), 0 0 0 14px rgba(0, 186, 251, 0.12); }
}
@media (prefers-reduced-motion: no-preference) {
  .pwr-flow__node { animation: pwrFlowPulse 3.4s ease-in-out infinite; }
  .pwr-flow__step:nth-child(2) .pwr-flow__node { animation-delay: 0.25s; }
  .pwr-flow__step:nth-child(3) .pwr-flow__node { animation-delay: 0.50s; }
  .pwr-flow__step:nth-child(4) .pwr-flow__node { animation-delay: 0.75s; }
  .pwr-flow__step:nth-child(5) .pwr-flow__node { animation-delay: 1.00s; }
}
@media (max-width: 1080px) {
  .pwr-flow { grid-template-columns: repeat(2, 1fr); padding-top: 0; gap: 32px 22px; }
  .pwr-flow::before { display: none; }
  .pwr-flow__step { padding-top: 8px; }
}
@media (max-width: 540px) { .pwr-flow { grid-template-columns: 1fr; } }

/* --- Tech-initiated path — non-boxy feature list ----------------------- */
.pwr-feats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px clamp(1.5rem, 2.5vw, 2rem);
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.pwr-feat {
  position: relative;
  padding: 22px 4px 22px 22px;
  display: flex; flex-direction: column; gap: 11px;
  border-left: 2px solid rgba(0, 186, 251, 0.20);
  background: transparent; box-shadow: none;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.pwr-feat:hover { border-left-color: var(--brand-cyan); transform: translateX(2px); }
.pwr-feat__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--brand-cyan);
  background: linear-gradient(135deg, rgba(0, 186, 251, 0.12), rgba(0, 186, 251, 0.03));
  border: 1px solid rgba(0, 186, 251, 0.24);
}
.pwr-feat__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pwr-feat__title { font-family: var(--font-brand); font-weight: 600; font-size: 16.5px; line-height: 1.25; letter-spacing: -0.2px; color: var(--heading); margin: 0; }
.pwr-feat__desc { font-weight: 300; font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 0; }
.pwr-feat__tag { align-self: flex-start; font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace); font-size: 10px; letter-spacing: 0.12em; font-weight: 800; text-transform: uppercase; color: var(--brand-cyan); }
@media (max-width: 960px) { .pwr-feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pwr-feats { grid-template-columns: 1fr; } }

/* --- Compare (old vs new) — non-boxy left-accent timelines ------------- */
.pwr-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.pwr-compare__col {
  position: relative;
  padding: 26px 8px 26px 26px;
  border-left: 3px solid rgba(255, 255, 255, 0.10);
  background: transparent;
}
.pwr-compare__col--bad  { border-left-color: rgba(255, 94, 94, 0.55); }
.pwr-compare__col--good { border-left-color: var(--brand-green); }
.pwr-compare__tag {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.14em; font-weight: 800; text-transform: uppercase;
}
.pwr-compare__col--bad  .pwr-compare__tag { color: #ff5e5e; }
.pwr-compare__col--good .pwr-compare__tag { color: #00b557; }
.pwr-compare__h {
  font-family: var(--font-brand); font-weight: 600;
  font-size: clamp(1.25rem, 0.9rem + 1vw, 1.5rem);
  line-height: 1.2; letter-spacing: -0.3px;
  color: var(--heading); margin: 0 0 18px;
}
.pwr-compare__steps { position: relative; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.pwr-compare__steps::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px;
}
.pwr-compare__col--bad  .pwr-compare__steps::before { background: linear-gradient(180deg, rgba(255, 94, 94, 0.4), rgba(255, 94, 94, 0.15)); }
.pwr-compare__col--good .pwr-compare__steps::before { background: linear-gradient(180deg, rgba(10, 154, 86, 0.4), rgba(10, 154, 86, 0.15)); }
.pwr-compare__step {
  position: relative;
  display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px;
  align-items: start;
}
.pwr-compare__step::before {
  content: ""; position: absolute; left: -22px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--bg);
  background: var(--text);
}
.pwr-compare__col--bad  .pwr-compare__step::before { background: #ff5e5e; box-shadow: 0 0 0 1px rgba(255, 94, 94, 0.5); }
.pwr-compare__col--good .pwr-compare__step::before { background: var(--brand-green); box-shadow: 0 0 0 1px rgba(10, 154, 86, 0.5); }
.pwr-compare__num {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.12em; font-weight: 800;
  color: var(--text);
  padding-top: 1px;
}
.pwr-compare__text { font-size: 13.5px; line-height: 1.5; color: var(--heading); font-weight: 500; }
@media (max-width: 900px) { .pwr-compare { grid-template-columns: 1fr; } }

/* --- Replaces strip ---------------------------------------------------- */
.pwr-replaces {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.pwr-replaces__card {
  position: relative;
  padding: 22px 18px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.pwr-replaces__card::after {
  content: "✕";
  position: absolute; top: 8px; right: 10px;
  font-family: var(--font-brand); font-weight: 800; font-size: 11px;
  color: #ff5e5e; opacity: 0.55;
}
.pwr-replaces__card:hover {
  border-color: var(--brand-cyan); transform: translateY(-2px);
}
.pwr-replaces__name {
  font-family: var(--font-brand); font-weight: 700; font-size: 15px;
  color: var(--heading); line-height: 1.25; margin: 0 0 4px;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 94, 94, 0.5);
  text-decoration-thickness: 2px;
}
.pwr-replaces__role {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text);
}
@media (max-width: 960px) { .pwr-replaces { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .pwr-replaces { grid-template-columns: repeat(2, 1fr); } }

/* --- Impact — outcomes pattern (dual-brand) --------------------------- */
.pwr-outcomes {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  max-width: 1180px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.pwr-outcomes::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; max-width: 110%; height: 320px;
  background: radial-gradient(ellipse at center, rgba(0, 186, 251, 0.10), rgba(10, 154, 86, 0.07) 55%, transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.pwr-stat {
  position: relative; z-index: 1;
  padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2.2vw, 2rem);
  text-align: center;
}
.pwr-stat + .pwr-stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hairline) 30%, var(--hairline) 70%, transparent);
  pointer-events: none;
}
.pwr-stat__num-wrap {
  position: relative;
  display: inline-flex; justify-content: center; align-items: center;
  margin-bottom: clamp(0.625rem, 1.2vw, 1rem);
}
.pwr-stat__num-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 18vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 186, 251, 0.28), transparent 65%);
  filter: blur(34px);
  pointer-events: none; z-index: 0;
}
.pwr-stat__num-glow--green { background: radial-gradient(circle, rgba(10, 154, 86, 0.28), transparent 65%); }
.pwr-stat__num {
  position: relative; z-index: 1;
  font-family: var(--font-brand); font-weight: 700;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  line-height: 0.95; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #00bfff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 0;
}
.pwr-stat__num--dual {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pwr-stat__lbl {
  font-family: var(--font-brand); font-weight: 600;
  font-size: clamp(0.95rem, 0.86rem + 0.3vw, 1.0625rem);
  line-height: 1.3; letter-spacing: -0.2px;
  color: var(--heading);
  margin-bottom: 8px;
  max-width: 240px; margin-inline: auto;
}
.pwr-stat__meta {
  font-weight: 300; font-size: 13.5px; line-height: 1.55;
  color: var(--text); max-width: 260px; margin-inline: auto;
}
@media (max-width: 960px) {
  .pwr-outcomes { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2.25rem, 5vw, 3rem); }
  .pwr-stat + .pwr-stat::before { display: none; }
}
@media (max-width: 480px) { .pwr-outcomes { grid-template-columns: 1fr; } }

/* --- Final CTA -------------------------------------------------------- */
.pwr-final {
  position: relative; overflow: hidden;
  max-width: 1080px; margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(0, 186, 251, 0.10), rgba(10, 154, 86, 0.04));
  border: 1px solid rgba(0, 186, 251, 0.22);
}
.pwr-final::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 900px; max-width: 130%; height: 280px;
  background: rgba(0, 186, 251, 0.14); filter: blur(110px); border-radius: 700px;
  pointer-events: none;
}
.pwr-final__inner { position: relative; z-index: 1; }
.pwr-final__title {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.4px;
  margin: 0 0 14px;
}
.pwr-final__sub { font-weight: 300; font-size: 15.5px; line-height: 1.55; color: var(--text); max-width: 640px; margin: 0 auto 24px; }
.pwr-final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
