/* ============================================================
   HELPER PAGE (license activation guide)
   Depends on wpfactory-globals.css for tokens, reset, typography,
   buttons, container, .grad-text, .eyebrow, .kicker.
   ============================================================ */

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
section{padding:96px 0;position:relative}
@media(max-width:980px){section{padding:72px 0}}
@media(max-width:560px){section{padding:56px 0}}

/* ============================================================
   REVEALS
   ============================================================ */
.r{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.r.in{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
  .r{opacity:1;transform:none}
}

/* Hero background blobs */
.blob{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;z-index:-1}
.blob-1{width:520px;height:520px;background:#8A63CD;top:-180px;right:-120px;opacity:.18;animation:wh-blob-1 22s cubic-bezier(.45,.05,.55,.95) infinite alternate}
.blob-2{width:380px;height:380px;background:#3847D3;bottom:-160px;left:-100px;opacity:.12;animation:wh-blob-2 26s cubic-bezier(.45,.05,.55,.95) infinite alternate}
[data-theme="dark"] .blob-1{opacity:.30}
[data-theme="dark"] .blob-2{opacity:.20}
@keyframes wh-blob-1{from{transform:translate(0,0)}to{transform:translate(-60px,40px)}}
@keyframes wh-blob-2{from{transform:translate(0,0)}to{transform:translate(50px,-30px)}}
@media(max-width:760px){.blob{display:none}}

/* ============================================================
   HERO
   ============================================================ */
.wh-hero{padding-top:120px;padding-bottom:80px;overflow:hidden;text-align:center}
.wh-hero .wrap{max-width:860px;position:relative}

.wh-hero-eyebrow{margin-bottom:18px}
.wh-hero h1{margin-bottom:22px;font-size:clamp(34px,4.6vw,60px);line-height:1.06}

.wh-hero-lede{font-size:clamp(17px,1.4vw,20px);line-height:1.6;color:var(--text-2);max-width:58ch;margin:0 auto 32px}
.wh-hero-lede strong{color:var(--text);font-weight:700}

.wh-hero-ctas{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

/* ============================================================
   CONTEXT, three cards explaining the change
   ============================================================ */
.wh-context{background:var(--bg-2)}
.wh-context .wrap{max-width:1120px}

.wh-context-head{text-align:center;max-width:820px;margin:0 auto 48px}
.wh-context-head .kicker{margin-bottom:14px}
.wh-context-head h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;margin:0}

.wh-context-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
@media(max-width:900px){.wh-context-grid{grid-template-columns:1fr;gap:16px}}

.wh-context-card{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px 26px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.wh-context-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--line-2)}

.wh-context-icon{
  width:44px;height:44px;
  border-radius:12px;
  background:var(--grad-soft);
  color:var(--purple);
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:16px;
}
.wh-context-icon svg{width:22px;height:22px}
[data-theme="dark"] .wh-context-icon{color:var(--purple-light)}

.wh-context-card h3{font-size:19px;margin:0 0 8px;line-height:1.3}
.wh-context-card p{font-size:15px;line-height:1.6;color:var(--text-2);margin:0}

/* ============================================================
   STEPS
   ============================================================ */
.wh-steps .wrap{max-width:1080px}

.wh-steps-head{text-align:center;max-width:760px;margin:0 auto 56px}
.wh-steps-head .kicker{margin-bottom:14px}
.wh-steps-head h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;margin:0 0 16px}
.wh-steps-head .lede{font-size:17px;line-height:1.6;color:var(--text-2);margin:0}

.wh-step{
  display:grid;
  grid-template-columns:140px 1fr 1fr;
  gap:32px;
  align-items:start;
  padding:40px 0;
  border-top:1px solid var(--line);
}
.wh-step:first-of-type{border-top:none}
@media(max-width:900px){
  .wh-step{grid-template-columns:1fr;gap:20px;padding:32px 0}
}

/* Step number + location marker */
.wh-step-mark{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.wh-step-n{
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;
  border-radius:50%;
  background:var(--grad);
  color:#fff;
  font-family:var(--font-mono);
  font-weight:700;font-size:22px;
  box-shadow:var(--shadow-purple);
}
.wh-step-loc{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text-3);
}

/* Step text block */
.wh-step-body h3{font-size:clamp(20px,1.8vw,26px);line-height:1.2;margin:0 0 12px}
.wh-step-body p{font-size:16px;line-height:1.65;color:var(--text-2);margin:0 0 14px}
.wh-step-body p strong{color:var(--text);font-weight:700}

.wh-step-body .link{
  display:inline-flex;align-items:center;gap:6px;
  font-weight:600;font-size:14px;
  color:var(--purple);text-decoration:none;
  border-bottom:1px solid transparent;transition:border-color .2s ease;
}
.wh-step-body .link:hover{border-bottom-color:var(--purple)}
[data-theme="dark"] .wh-step-body .link{color:var(--purple-light)}
[data-theme="dark"] .wh-step-body .link:hover{border-bottom-color:var(--purple-light)}

/* Step figure (image) */
.wh-step-figure{margin:0}
.wh-step-figure img{
  width:100%;height:auto;display:block;
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
  background:var(--bg-card-2);
}
.wh-step-figure figcaption{
  margin-top:10px;
  font-size:13px;color:var(--text-3);
  font-family:var(--font-mono);letter-spacing:.02em;
  line-height:1.5;
}

/* Step 3 has no figure, span the text column across */
.wh-step-final{grid-template-columns:140px 1fr}
@media(max-width:900px){.wh-step-final{grid-template-columns:1fr}}
.wh-step-final .wh-step-body{max-width:70ch}

/* ============================================================
   SUPPORT CTA
   ============================================================ */
.wh-support{background:var(--bg-2);text-align:center}
.wh-support .wrap{max-width:720px}
.wh-support .kicker{margin-bottom:14px}
.wh-support h2{font-size:clamp(28px,3.2vw,42px);line-height:1.12;margin:0 0 16px}
.wh-support p{font-size:17px;line-height:1.6;color:var(--text-2);margin:0 auto 28px;max-width:52ch}

.wh-support-ctas{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:22px}

.wh-support-trust{
  font-size:13px;color:var(--text-3);
  font-family:var(--font-mono);letter-spacing:.02em;
  margin:0;
}
