/* Page-scoped styling for the How it works design review. */
.how-preview { --how-copy: #47424f; }
.how-backdrop {
  display: flow-root;
  background:
    radial-gradient(ellipse at 8% 12%, #f9e2cd70, transparent 52%),
    radial-gradient(ellipse at 94% 30%, #ded6fa80, transparent 58%);
}
.how-preview main p,
.how-preview .how-example-labels,
.how-preview .how-step-card .info-note,
.how-preview .plan-features li { color: var(--how-copy); }
.how-preview .how-step-card { display: flex; flex-direction: column; border-radius: 22px; }
.how-preview .how-step-number { width: 42px; height: 42px; background: #5545ed; color: #fff; font-size: 16px; }
.how-preview .how-step-card > p { margin-bottom: 22px; }
.how-preview .how-step-card .info-note { margin-top: auto; }
.how-preview .how-routes .section-head { justify-content: center; text-align: center; }
.how-preview .how-routes .section-head .eyebrow { justify-content: center; }
.how-preview .how-routes .section-head p { margin-inline: auto; }
.how-preview .how-route-grid .panel { border-radius: 22px; }
.how-preview .how-start:disabled {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  opacity: 1;
}
.how-preview .how-start .icon { color: #dc4545; }
.how-preview .how-page-heading { padding-bottom: 26px; }
.how-preview .how-page-heading h1 { font-size: clamp(36px, 4.2vw, 56px); }
.how-preview .how-page-heading > p {
  max-width: 850px;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: balance;
}
.how-page-heading > p strong { color: var(--purple); font-weight: 750; }
.how-preview .how-switch-hint { margin: 0 auto 12px; max-width: 440px; text-align: center; font-size: 13px; line-height: 1.6; text-wrap: balance; }
.how-switch-hint strong { color: var(--ink); font-weight: 700; }
.how-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  margin: 0 auto 48px;
  width: min(440px, 100%);
}
.how-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.how-tabs a .icon { width: 19px; height: 19px; }
.how-tabs a:hover { background: var(--lavender); border-color: var(--purple); }
.how-tabs a[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.how-tab-panel[hidden] { display: none; }
.how-label { display: block; font-size: 11px; font-weight: 750; letter-spacing: .1em; color: var(--purple); }
.how-ranking-intro { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.how-ranking-intro h2 { font-size: clamp(32px, 3.4vw, 44px); margin: 18px 0; line-height: 1.13; }
.how-ranking-intro h2 span { color: var(--purple); }
.how-ranking-intro p { font-size: 16px; line-height: 1.75; max-width: 590px; margin-inline: auto; }
.how-ranking-intro .button-row { justify-content: center; margin-top: 24px; }
.how-rank-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how-rank-steps article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.how-rank-steps .how-step-number { width: 36px; height: 36px; font-size: 14px; margin-bottom: 20px; }
.how-rank-steps h3 { font-size: 21px; letter-spacing: -.025em; }
.how-rank-steps p { margin-top: 13px; font-size: 14px; line-height: 1.75; }
.how-rank-example {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 32px 0 62px;
  padding: 36px;
  border: 1px solid #eedbc3;
  background: #fff6eb;
  border-radius: 24px;
}
.how-example-copy h2 { font-size: 32px; margin: 16px 0; }
.how-example-copy > p { font-size: 14px; line-height: 1.75; }
.how-rank-math { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin: 24px 0 16px; }
.how-rank-math > div { min-width: 0; }
.how-rank-math strong { display: block; font-size: 32px; font-weight: 760; letter-spacing: -.04em; }
.how-rank-math span { display: block; font-size: 11px; margin-top: 4px; line-height: 1.4; }
.how-rank-math > b { font-size: 21px; color: var(--how-copy); }
.how-math-total strong { color: var(--purple); }
.how-example-copy .how-example-note { font-size: 12px; }
.how-example-board { background: white; border: 1px solid #e9e2ef; border-radius: 20px; padding: 22px; min-width: 0; }
.how-example-board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 650; margin-bottom: 20px; }
.how-example-board-head .pill { font-size: 10px; padding: 4px 8px; background: #f3f0ff; color: var(--purple); }
.how-example-rows { list-style: none; padding: 0; margin: 0; }
.how-example-rows li { display: grid; grid-template-columns: 32px 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 14px 12px; border-radius: 13px; }
.how-example-rows li + li { margin-top: 8px; }
.how-example-rows li > strong { font-size: 14px; line-height: 1.4; }
.how-example-rows li > b { font-size: 19px; letter-spacing: -.035em; }
.how-example-rows :is(img, .product-logo) { width: 36px; height: 36px; border-radius: 10px; }
.how-example-rows .product-logo svg { width: 25px; height: 25px; }
.how-rank-badge { font-size: 13px; font-weight: 700; text-align: center; }
.how-example-rows .how-example-leader { background: #eae6fc; border: 1px solid #cfc6ff; }
.how-example-leader .how-rank-badge { color: #fff; background: #5545ed; border-radius: 20px; padding-block: 5px; }
.how-example-board > p { font-size: 12px; line-height: 1.7; margin: 20px 4px 0; }
.how-section-heading { text-align: center; }
.how-section-heading h2 { font-size: 30px; }
.how-section-heading p { margin-top: 14px; font-size: 14px; }
.how-preview .how-featured-benefit p { font-size: 16px; line-height: 1.75; color: var(--ink); margin-top: 16px; }
.how-preview .how-featured-benefit p strong { color: var(--green); font-weight: 650; }
.how-board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.how-board-grid article { padding: 24px 0; border-top: 1px solid var(--line); }
.how-board-grid .icon { color: var(--purple); width: 25px; height: 25px; margin-bottom: 16px; }
.how-board-grid h3 { font-size: 20px; letter-spacing: -.025em; }
.how-board-grid p { margin-top: 12px; font-size: 14px; line-height: 1.75; }
.how-window-example { padding: 20px 24px; border-radius: 15px; background: #efebff; font-size: 13px; line-height: 1.8; text-align: center; }
.how-rank-faq { margin-top: 58px; }
.how-preview .how-campaign-intro { padding-top: 0; }
.how-campaign-intro h2 { font-size: clamp(32px, 4vw, 48px); }
@media (max-width: 1000px) {
  .how-rank-example { grid-template-columns: 1fr; gap: 26px; }
  .how-example-board { width: 100%; max-width: 500px; justify-self: center; }
  .how-rank-steps { gap: 12px; }
  .how-rank-steps article { padding: 22px; }
  .how-rank-steps h3 { line-height: 1.25; }
}
@media (max-width: 650px) {
  .how-tabs { gap: 4px; margin-bottom: 32px; }
  .how-tabs a { flex-direction: column; gap: 5px; padding: 10px; font-size: 14px; }
  .how-rank-steps, .how-board-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-ranking-intro p { font-size: 14px; }
  .how-rank-example { padding: 23px 18px; margin: 24px 0 40px; }
  .how-example-copy h2 { font-size: 29px; }
  .how-rank-math { gap: 6px; }
  .how-rank-math strong { font-size: 28px; }
  .how-rank-math span { font-size: 10px; }
  .how-example-board { padding: 16px 10px; }
  .how-example-board-head { font-size: 11px; gap: 5px; }
  .how-example-board-head .pill { font-size: 9px; padding-inline: 6px; }
  .how-example-rows li { grid-template-columns: 27px 30px minmax(0, 1fr) auto; gap: 7px; padding: 12px 7px; }
  .how-example-rows :is(img, .product-logo) { width: 30px; height: 30px; }
  .how-example-rows li > strong { font-size: 12px; }
  .how-example-rows li > b { font-size: 16px; }
  .how-rank-badge { font-size: 11px; }
  .how-section-heading h2 { font-size: 27px; }
  .how-board-grid { margin-top: 22px; }
  .how-board-grid article { padding: 20px 0 8px; }
  .how-window-example { margin-top: 24px; padding: 18px; text-align: left; }
}
body.how-preview:has(#preview-dark-mode:checked) { --how-copy: #d1c9de; }
body.how-preview:has(#preview-dark-mode:checked) .how-backdrop {
  background:
    radial-gradient(ellipse at 8% 12%, #a9764326, transparent 52%),
    radial-gradient(ellipse at 94% 30%, #9670da2b, transparent 58%);
}
body.how-preview:has(#preview-dark-mode:checked) .how-step-card { background: #211e2b; border-color: var(--line); }
body.how-preview:has(#preview-dark-mode:checked) :is(.how-offer-example, .feature-band) { background: #292338; border-color: #44375c; }
body.how-preview:has(#preview-dark-mode:checked) .how-step-card .info-note { background: #302941; border-color: #44375c; color: var(--how-copy); }
body.how-preview:has(#preview-dark-mode:checked) .how-step-number { background: #6552ef; }
body.how-preview:has(#preview-dark-mode:checked) .how-route-grid .field-hint { color: var(--how-copy); }
body.how-preview:has(#preview-dark-mode:checked) .how-start:disabled {
  background: #272332;
  border-color: #484050;
  color: var(--ink);
}
body.how-preview:has(#preview-dark-mode:checked) .how-start .icon { color: #ff8a85; }
body.how-preview:has(#preview-dark-mode:checked) :is(.how-rank-steps article, .how-example-board) { background: #211e2b; border-color: var(--line); }
body.how-preview:has(#preview-dark-mode:checked) .how-rank-example { background: #30271f; border-color: #574333; }
body.how-preview:has(#preview-dark-mode:checked) .how-example-leader { background: #352b52; border-color: #66538f; }
body.how-preview:has(#preview-dark-mode:checked) :is(.how-window-example, .how-example-board-head .pill) { background: #302941; }
body.how-preview:has(#preview-dark-mode:checked) .how-tabs { background: #211e2b; border-color: var(--line); }
body.how-preview:has(#preview-dark-mode:checked) .how-tabs a { background: #272332; border-color: #484050; }
body.how-preview:has(#preview-dark-mode:checked) .how-tabs a:hover { background: #302941; }
body.how-preview:has(#preview-dark-mode:checked) .how-tabs a[aria-selected="true"] { background: #6552ef; color: #fff; border-color: #6552ef; }

.how-sharing { margin: 48px 0; padding: 36px; border: 1px solid #ded6fa; border-radius: 24px; background: #f3f0ff; }
.how-sharing-heading { text-align: center; max-width: 650px; margin: 0 auto 28px; }
.how-sharing-heading h2 { margin: 14px 0; font-size: clamp(27px, 3vw, 34px); text-wrap: balance; }
.how-sharing-heading p { font-size: 16px; line-height: 1.7; text-wrap: balance; }
.how-sharing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.how-sharing-options article { padding: 27px; border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.how-sharing-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #f3f0ff; color: #5545ed; border-radius: 13px; margin-bottom: 21px; }
.how-sharing-icon.deal { background: #e7f5e7; color: #196742; }
.how-sharing-icon .icon { width: 23px; height: 23px; }
.how-sharing-options h3 { font-size: 25px; }
.how-sharing-options p { margin-top: 14px; font-size: 15px; line-height: 1.8; }
.how-sharing-footer { text-align: center; margin-top: 27px; }
.how-sharing-networks { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.how-sharing-networks > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.how-sharing-networks .network-mark { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; font-size: 23px; }
.how-sharing-networks .facebook-mark { font-family: Arial, sans-serif; color: #1877f2; font-weight: 750; }
.how-sharing-footer p { font-size: 13px; line-height: 1.8; margin-top: 16px; }
body.how-preview:has(#preview-dark-mode:checked) .how-sharing { background: #292338; border-color: #44375c; }
body.how-preview:has(#preview-dark-mode:checked) .how-sharing-options article { background: #211e2b; }
body.how-preview:has(#preview-dark-mode:checked) .how-sharing-icon { background: #352b4c; color: #bcb1ff; }
body.how-preview:has(#preview-dark-mode:checked) .how-sharing-icon.deal { background: #263c2f; color: #a9dbb6; }
@media(max-width:650px){
 .how-sharing { margin: 32px 0; padding: 22px 18px; }
 .how-sharing-options { grid-template-columns: 1fr; gap: 16px; }
 .how-sharing-options article { padding: 22px; }
 .how-sharing-heading p { font-size: 14px; }
 .how-sharing-options h3 { font-size: 23px; }
 .how-sharing-options p { font-size: 14px; }
 .how-sharing-networks { gap: 16px; }
}
