/* /sahi/advantage/sahi-scalper/ (SAHI Scalper). Loads after advantage-charts.css,
   which carries the blocks this page shares with SAHI Charts: the video plates,
   the feature cards, the video cards, the FAQ cards and the price tiles. */

/* Hero: the phone in hand rises from behind the call to action, on a soft
   circle (sahi.com's ellipse). */
.sc-hero { position: relative; padding-bottom: 0; overflow: clip; isolation: isolate; }
.sc-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: min(58%, 720px); width: min(1162px, 140vw); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle closest-side, var(--bg-alt) 0 62%, color-mix(in srgb, var(--bg-alt) 40%, transparent) 80%, transparent 100%); pointer-events: none; }
.sc-hero .wrap { position: relative; z-index: 2; }
.sc-hero h1 { max-width: 24ch; }
.sc-hero__art { display: block; width: min(100%, 1440px); margin: -15% auto 0; pointer-events: none; }
.sc-hero__art img { width: 100%; }
@media (max-width: 640px) { .sc-hero__art { width: 100%; margin-top: 24px; } }

/* How to use: five steps, two whole cards at a time on a grey panel (sahi.com
   showed one and two-thirds, cutting the second card's text mid-word). */
.sc-steps { margin-top: clamp(28px, 4vw, 40px); }
.sc-steps__panel { padding: clamp(8px, 1vw, 12px); border-radius: var(--radius); background: var(--surface-2); }
.sc-steps__track { --slide: calc((100% - 24px) / 2); gap: 24px; padding: 0; }
.sc-step { display: flex; flex-direction: column; min-width: 0; padding-bottom: 20px; }
.sc-step__media { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.sc-step__media .vplate__v { width: auto; height: 100%; aspect-ratio: 1; margin-inline: auto; }
.sc-step__n { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--bg); font: 500 22px/1 var(--sans); }
.vplate.is-playing .sc-step__n { opacity: 0; }
.sc-step__title { margin-top: 22px; padding-inline: 8px; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--sans); letter-spacing: 0; }
.sc-step p { margin-top: 10px; padding-inline: 8px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--ink-2); }
@media (max-width: 860px) { .sc-step__title br { display: none; } }
@media (max-width: 640px) { .sc-steps__track { --slide: 100%; } .sc-step__media { aspect-ratio: 1; } .sc-step__media .vplate__v { width: 100%; } }

/* Across devices. */
.sc-devices .head { margin-bottom: clamp(24px, 3vw, 40px); }
.sc-devices__art { display: block; width: min(100%, 1200px); margin-inline: auto; }
.sc-devices__art img { width: 100%; }
@media (max-width: 640px) { .sc-devices__art { width: calc(100% + var(--gut)); margin-right: calc(-1 * var(--gut)); } }

/* Why choose: the head is left of centre on sahi.com's wide row; centred here like every other head. */
.fc .head { margin-bottom: 0; }

/* SAHI Pulse: the picture beside the words on a grey panel. */
.sc-pulse__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 0 clamp(28px, 5vw, 64px) 0 0; background: var(--surface-2); }
.sc-pulse__media { align-self: stretch; display: block; }
.sc-pulse__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: left bottom; }
.sc-pulse__txt { padding-block: clamp(32px, 5vw, 64px); }
.sc-pulse__txt .lead { margin-top: 16px; max-width: 540px; }
.sc-pulse__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
:root[data-theme="dark"] .sc-pulse__media img { border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 860px) {
  .sc-pulse__panel { grid-template-columns: 1fr; padding: 0; text-align: center; }
  .sc-pulse__media img { height: auto; aspect-ratio: 1312 / 1642; max-width: 520px; margin-inline: auto; }
  :root[data-theme="dark"] .sc-pulse__media img { border-radius: var(--radius) var(--radius) 0 0; }
  .sc-pulse__txt { padding: 0 24px 32px; }
  .sc-pulse__txt .lead { margin-inline: auto; }
  .sc-pulse__actions { flex-direction: column; align-items: stretch; }
}
