/* ============================================================
   Sampoll home — THE CHECKOUT LANE (2026 world, seed ff570987)
   The page is a checkout in progress: fluorescent supermarket
   white, belt-black ribbed bands with steel rails, Sampoll-
   yellow divider bars as section breaks, scan-red verification,
   brand-blue Sam. Anton signage / Archivo text / Fragment Mono
   receipt data.
   Loaded after normalize.css + webflow.css; overrides their
   base styles. Token names and shared sp-* class contracts are
   consumed by blog-2026.css and the Astro chrome — keep names
   stable.
   ============================================================ */

:root {
  /* palette */
  --paper: #f4f4ee;        /* fluorescent supermarket white */
  --white: #ffffff;        /* receipt paper */
  --ink: #16171a;          /* belt rubber black */
  --ink-soft: #2a2c31;
  --text-soft: #565b63;
  --blue: #2158e0;
  --blue-deep: #1a47c2;
  --yellow: #f6d13f;
  --yellow-deep: #c7a20d;
  --red: #e0452b;          /* scanner beam */
  --red-text: #c23a22;     /* scan red at small sizes (AA) */
  --line: #dcddd4;
  --sky: #e8eef9;
  --steel-hi: #e9eaec;
  --steel-lo: #9ba0a8;

  /* type */
  --font-display: "Anton", "Archivo", sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fragment Mono", "Courier New", monospace;

  /* shape */
  --radius: 10px;
  --radius-lg: 18px;

  --wrap: 1180px;
  --belt-rib: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    transparent 2px 26px
  );
  --steel-rail: linear-gradient(180deg, var(--steel-hi), var(--steel-lo));
}

/* ---------- base (beats webflow.css defaults) ---------- */

html {
  background: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body.sp-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.sp-body h1,
.sp-body h2,
.sp-body h3 {
  margin: 0;
}

.sp-body p {
  margin: 0;
}

.sp-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* anchored sections clear the sticky header */
.sp-body [id] {
  scroll-margin-top: 130px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.sp-body :where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- section heading block (shared with blog) ---------- */

.sp-sec-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.sp-sec-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.sp-sec-head p {
  margin-top: 14px;
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 58ch;
}

.sp-sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sp-sec-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* legacy label used by blog markup only — quiet mono tag */
.sp-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  color: var(--ink);
  background: var(--white);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.sp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 23, 26, 0.18);
}

.sp-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.sp-btn--blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.sp-btn--blue:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: 0 6px 16px rgba(33, 88, 224, 0.35);
}

.sp-btn--yellow {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}

.sp-btn--yellow:hover {
  background: #ffdd55;
}

.sp-btn--outline {
  background: transparent;
}

.sp-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.sp-btn--ghost:hover {
  border-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.sp-btn--sm {
  padding: 10px 16px;
  font-size: 0.86rem;
}

.sp-btn--lg {
  padding: 17px 30px;
  font-size: 1.02rem;
}

/* the lit lane sign as a button: the Launchpad CTA at the climax */
.sp-btn--lanesign {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.12rem;
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(246, 209, 63, 0.45);
}

.sp-btn--lanesign:hover {
  box-shadow: 0 0 36px rgba(246, 209, 63, 0.65), 0 6px 16px rgba(22, 23, 26, 0.18);
}

.sp-lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #15803d;
  box-shadow: 0 0 8px 1px rgba(21, 128, 61, 0.7);
  animation: sp-lane-blink 2.4s ease-in-out infinite;
}

/* ---------- topbar + nav ---------- */

.sp-head {
  position: sticky;
  top: 0;
  z-index: 60;
}

.sp-topbar {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 8px 16px;
}

.sp-topbar::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px 1px rgba(74, 222, 128, 0.8);
  margin-right: 8px;
  vertical-align: middle;
  animation: sp-lane-blink 2.4s ease-in-out infinite;
}

.sp-topbar a {
  color: var(--yellow);
  font-weight: 700;
  text-underline-offset: 3px;
}

@keyframes sp-lane-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.sp-nav {
  background: rgba(244, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.sp-nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sp-nav__logo {
  display: inline-flex;
  flex-shrink: 0;
}

.sp-nav__links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}

.sp-nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.sp-nav__link:hover,
.sp-nav__link[aria-current="page"] {
  border-bottom-color: var(--yellow);
}

.sp-nav__cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.sp-nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.sp-nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sp-nav__menu {
  display: none;
}

@media (max-width: 900px) {
  .sp-nav__links,
  .sp-nav__cta {
    display: none;
  }

  .sp-nav__toggle {
    display: block;
  }

  .sp-nav--open .sp-nav__toggle span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .sp-nav--open .sp-nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .sp-nav--open .sp-nav__toggle span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .sp-nav--open .sp-nav__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .sp-nav__menu .sp-nav__link {
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .sp-nav__menu .sp-btn {
    margin-top: 12px;
  }
}

/* ---------- belt + divider primitives ---------- */

/* section break: a divider bar lying on a slim run of belt */
.sp-divider {
  position: relative;
  height: 72px;
  background: var(--ink);
  background-image: var(--belt-rib);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sp-divider::before,
.sp-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--steel-rail);
}

.sp-divider::before {
  top: 0;
}

.sp-divider::after {
  bottom: 0;
  transform: scaleY(-1);
}

.sp-divider svg {
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.45));
}

/* ---------- hero ---------- */

.sp-hero {
  padding: 64px 0 0;
}

/* two columns: signage copy left, the register (Sam + printing receipt) right;
   the receipt tucks down into the belt band below */
.sp-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 24px 56px;
  align-items: end;
}

.sp-hero__head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 7.2vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0.004em;
  max-width: 16ch;
  text-wrap: balance;
}

.sp-hero__head h1 em {
  font-style: normal;
  color: var(--blue);
}

.sp-hero__sub {
  margin-top: 22px;
  font-size: 1.14rem;
  color: var(--text-soft);
  max-width: 56ch;
}

.sp-hero__sub strong {
  color: var(--ink);
  font-weight: 700;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 12px;
}

.sp-hero__channels {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  margin-bottom: 46px;
}

.sp-lane__register {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  justify-self: end;
  align-self: stretch;
  margin-bottom: -88px;
}

/* the overhead lane sign, hung from the top of the hero column */
.sp-lanehang {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 120px;
}

.sp-lanehang__rods {
  display: flex;
  gap: 110px;
}

.sp-lanehang__rods span {
  width: 3px;
  height: 44px;
  background: var(--steel-rail);
}

.sp-lanehang__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 14px 30px rgba(22, 23, 26, 0.22);
}

.sp-lanehang__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  padding: 4px 14px;
}

.sp-lanehang__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  line-height: 1.05;
  color: #fff;
}

.sp-lanehang__sign .sp-lamp {
  background: #4ade80;
  box-shadow: 0 0 8px 1px rgba(74, 222, 128, 0.8);
}

.sp-hero__channels strong {
  color: var(--ink);
  font-weight: 400;
}

.sp-hero__channels a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-hero__channels a:hover strong {
  color: var(--blue);
}

/* --- the checkout scene --- */

.sp-lane {
  position: relative;
  margin-top: 6px;
}

.sp-lane__belt {
  position: relative;
  height: 220px;
  background: var(--ink);
  background-image: var(--belt-rib);
  overflow: hidden;
}

.sp-lane__belt::before,
.sp-lane__belt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--steel-rail);
  z-index: 5;
}

.sp-lane__belt::before {
  top: 0;
}

.sp-lane__belt::after {
  bottom: 0;
  transform: scaleY(-1);
}

.sp-lane__items {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 26px;
  width: max-content;
  will-change: transform;
}

/* every item carries its own trailing gap so translateX(-50%)
   equals exactly one loop period */
.sp-lane__item {
  margin-right: 90px;
}

.has-anim .sp-lane__items {
  animation: sp-belt-run 30s linear infinite;
}

@keyframes sp-belt-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sp-lane__item {
  flex-shrink: 0;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.55));
}

/* scanner beam */
.sp-lane__scanner {
  position: absolute;
  top: -16px;
  bottom: 0;
  left: 66%;
  width: 3px;
  background: var(--red);
  box-shadow: 0 0 18px 3px rgba(224, 69, 43, 0.65);
  z-index: 6;
}

.sp-lane__scanner::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 14px;
  background: var(--steel-rail);
  border-radius: 4px 4px 0 0;
}

.sp-lane__flash {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  right: 24%;
  background: radial-gradient(closest-side, rgba(224, 69, 43, 0.3), transparent);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.has-anim .sp-lane__flash {
  animation: sp-scan-flash 7.5s ease-out infinite;
}

@keyframes sp-scan-flash {
  0%, 6% { opacity: 0; }
  8% { opacity: 1; }
  15%, 100% { opacity: 0; }
}

/* ---------- receipt ---------- */

.sp-receipt {
  width: 320px;
  background: var(--white);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 14px 34px rgba(22, 23, 26, 0.3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink);
  padding: 18px 18px 16px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 96% 100%, 88% calc(100% - 6px), 80% 100%, 72% calc(100% - 6px), 64% 100%, 56% calc(100% - 6px), 48% 100%, 40% calc(100% - 6px), 32% 100%, 24% calc(100% - 6px), 16% 100%, 8% calc(100% - 6px), 0 100%);
}

.sp-receipt__brand {
  text-align: center;
  letter-spacing: 0.3em;
  font-size: 0.82rem;
}

.sp-receipt__meta {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-top: 2px;
}

.sp-receipt__rule {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 10px 0;
}

.sp-receipt__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: space-between;
}

.sp-receipt__row + .sp-receipt__row {
  margin-top: 3px;
}

.sp-receipt__label {
  white-space: nowrap;
}

.sp-receipt__dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
}

.sp-receipt__num {
  white-space: nowrap;
}

.sp-receipt__num--red {
  color: var(--red-text);
}

.sp-receipt__num--blue {
  color: var(--blue);
  font-weight: 700;
}

.sp-receipt__row--total {
  font-size: 0.9rem;
  font-weight: 700;
}

.sp-receipt__foot {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.66rem;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* hero receipt prints line by line */
.has-anim .sp-receipt--hero .sp-print {
  opacity: 0;
  transform: translateY(4px);
  animation: sp-print-line 0.36s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes sp-print-line {
  to {
    opacity: 1;
    transform: none;
  }
}

.sp-verified {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--red-text);
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 0 5px;
  transform: rotate(-3deg);
  font-weight: 700;
}

/* Sam at the lane */
.sp-sam {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  align-self: flex-start;
}

.sp-sam__bot {
  width: 82px;
  height: auto;
}

.sp-sam__bubble {
  background: var(--blue);
  color: #fff;
  border-radius: 14px 14px 14px 3px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 190px;
  box-shadow: 0 8px 20px rgba(33, 88, 224, 0.4);
}

.sp-sam__bubble a {
  color: var(--yellow);
  text-underline-offset: 3px;
}

/* ---------- how it works: stations ---------- */

.sp-how {
  padding: 92px 0 88px;
}

.sp-how__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: station;
}

.sp-how__track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 3%;
  right: 3%;
  height: 10px;
  background: var(--ink);
  background-image: var(--belt-rib);
  border-radius: 999px;
}

.sp-how__stop {
  position: relative;
  padding-top: 66px;
}

.sp-how__stop::before {
  counter-increment: station;
  content: counter(station);
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  box-shadow: 0 5px 12px rgba(22, 23, 26, 0.22);
}

.sp-how__stop--scan::before {
  background: var(--red);
  color: #fff;
}

.sp-how__stop h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.sp-how__stop p {
  font-size: 0.94rem;
  color: var(--text-soft);
  max-width: 34ch;
}

.sp-how__stop p a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 3px;
}

.sp-how__stop p strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .sp-how__track {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-left: 24px;
  }

  .sp-how__track::before {
    top: 1%;
    bottom: 1%;
    left: 0;
    right: auto;
    width: 10px;
    height: auto;
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 26px
    );
  }

  .sp-how__stop {
    padding-top: 0;
    padding-left: 72px;
  }

  .sp-how__stop::before {
    left: -22px;
  }
}

/* ---------- data receipt ---------- */

.sp-data {
  padding: 96px 0;
}

.sp-data__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.sp-data__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

.sp-data__copy h2 em {
  font-style: normal;
  color: var(--blue);
}

.sp-data__copy > p {
  margin-top: 18px;
  color: var(--text-soft);
  max-width: 52ch;
}

.sp-data__copy > p strong {
  color: var(--ink);
}

.sp-data__points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-data__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.sp-data__points svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.sp-data__receiptwrap {
  position: relative;
  justify-self: center;
}

.sp-receipt--data {
  width: min(360px, 86vw);
  transform: rotate(1.6deg);
  font-size: 0.8rem;
  border-radius: 6px;
}

.sp-receipt--data .sp-receipt__row--sum {
  font-weight: 700;
  font-size: 0.92rem;
}

.sp-data__clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(1.6deg);
  background: var(--steel-rail);
  width: 74px;
  height: 22px;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

@media (max-width: 900px) {
  .sp-data__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

/* ---------- your lane vs the feed ---------- */

.sp-own {
  padding: 92px 0 96px;
  background: var(--ink);
  background-image: var(--belt-rib);
  color: #fff;
  position: relative;
}

.sp-own::before,
.sp-own::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--steel-rail);
}

.sp-own::before {
  top: 0;
}

.sp-own::after {
  bottom: 0;
  transform: scaleY(-1);
}

.sp-own .sp-sec-head h2 {
  color: #fff;
}

.sp-own .sp-sec-head p {
  color: #c9cbd2;
}

.sp-own__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
  align-items: stretch;
}

.sp-own__panel {
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.sp-own__panel--feed {
  background: #232429;
  border: 1px solid #37383f;
}

.sp-own__panel--lane {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 4px var(--yellow), 0 24px 50px rgba(0, 0, 0, 0.5);
}

.sp-own__panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.sp-own__panel--feed h3 {
  color: #9a9ca3;
}

.sp-own__panel > p {
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.sp-own__panel--feed > p {
  color: #9a9ca3;
  max-width: 40ch;
}

.sp-own__panel--lane > p {
  color: var(--text-soft);
  max-width: 42ch;
}

.sp-own__panel--lane > p.sp-own__stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: none;
}

.sp-own__stat strong {
  color: var(--ink);
}

.sp-own__feedgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  filter: grayscale(1);
  opacity: 0.85;
}

.sp-own__tile {
  background: #2b2c32;
  border: 1px solid #3a3b42;
  border-radius: 8px;
  padding: 10px 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #85878d;
  line-height: 1.5;
}

.sp-own__tile b {
  display: block;
  height: 26px;
  border-radius: 5px;
  background: #35363d;
  margin-bottom: 7px;
}

.sp-own__tile--you {
  outline: 2px dashed #85878d;
  outline-offset: 2px;
}

.sp-own__lanecard {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.sp-own__lanehead {
  background: var(--blue);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.sp-own__lanebody {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.sp-own__lanerow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.sp-own__lanerow svg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sp-own__grid {
    grid-template-columns: 1fr;
  }

  .sp-own__feedgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- proof: price signs (placeholder data) ---------- */

.sp-proof {
  padding: 96px 0 88px;
}

.sp-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.sp-sign {
  position: relative;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 23, 26, 0.14);
  transform: rotate(var(--tilt, 0deg));
}

/* signs hang straight and lifted until scrolled to, then land in their tilt */
.has-anim .sp-sign {
  transform: translateY(16px) rotate(0deg);
  transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.5, 1);
}

.has-anim .sp-sign.sp-in {
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

.sp-sign--white {
  background: var(--white);
}

.sp-sign__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.sp-sign__label {
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
}

.sp-sign__fine {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(22, 23, 26, 0.72);
}

.sp-sample {
  position: absolute;
  top: 16px;
  right: -36px;
  transform: rotate(33deg);
  background: var(--red-text);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 4px 40px;
  text-transform: uppercase;
}

.sp-proof__note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  max-width: 72ch;
}

@media (max-width: 900px) {
  .sp-proof__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

/* ---------- tempo dial ---------- */

.sp-tempo {
  padding: 92px 0 96px;
  background: var(--ink);
  background-image: var(--belt-rib);
  color: #fff;
  position: relative;
}

.sp-tempo::before,
.sp-tempo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--steel-rail);
}

.sp-tempo::before {
  top: 0;
}

.sp-tempo::after {
  bottom: 0;
  transform: scaleY(-1);
}

.sp-tempo .sp-sec-head h2 {
  color: #fff;
}

.sp-tempo .sp-sec-head p {
  color: #c9cbd2;
}

.sp-tempo__switch {
  display: inline-flex;
  background: #232429;
  border: 1px solid #3a3b42;
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  margin-bottom: 38px;
}

.sp-tempo__opt {
  border: 0;
  background: transparent;
  color: #9a9ca3;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sp-tempo__opt[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}

.sp-tempo__pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sp-tempo__pane.sp-on {
  display: grid;
}

.sp-tempo__pane h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1;
  color: #fff;
}

.sp-tempo__pane h3 em {
  font-style: normal;
  color: var(--yellow);
}

.sp-tempo__pane p {
  margin-top: 16px;
  color: #c9cbd2;
  max-width: 48ch;
}

.sp-tempo__uses {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-tempo__uses li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border: 1px solid #4a4b52;
  border-radius: 999px;
  padding: 6px 12px;
  color: #c9cbd2;
}

/* conveyor speed dial */
.sp-dial {
  justify-self: center;
  text-align: center;
}

.sp-dial svg {
  display: block;
}

.sp-dial__needle {
  transform-origin: 130px 130px;
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.44, 1);
}

.sp-dial__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

@media (max-width: 900px) {
  .sp-tempo__pane {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- lanes open (two plays + launchpad climax) ---------- */

.sp-lanes {
  padding: 96px 0 40px;
}

.sp-lanes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.sp-lanecard {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.sp-lanecard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 23, 26, 0.16);
}

.sp-lanecard__sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sp-lanecard__sign i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px 1px rgba(74, 222, 128, 0.8);
  animation: sp-lane-blink 2.4s ease-in-out infinite;
}

.sp-lanecard h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.sp-lanecard p {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 46ch;
}

.sp-lanecard__go {
  margin-top: 16px;
  font-weight: 700;
  color: var(--blue);
}

@media (max-width: 820px) {
  .sp-lanes__grid {
    grid-template-columns: 1fr;
  }
}

/* shared closing CTA band (blog uses .sp-coupon too):
   re-skinned as the LANE OPEN light band */
.sp-coupon-band {
  padding: 26px 0 96px;
}

.sp-coupon {
  position: relative;
  background: var(--ink);
  background-image: var(--belt-rib);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}

.sp-coupon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% -30%, rgba(246, 209, 63, 0.3), transparent 60%);
}

.sp-coupon__inner {
  position: relative;
  padding: 58px 48px 54px;
  text-align: center;
  z-index: 1;
}

.sp-coupon h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.98;
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}

.sp-coupon p {
  margin: 16px auto 0;
  color: #c9cbd2;
  max-width: 56ch;
}

.sp-coupon__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.sp-coupon__fine {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9a9ca3;
}

/* ---------- service desk (contact) ---------- */

.sp-contact {
  padding: 0 0 96px;
}

.sp-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.sp-contact__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1;
  text-wrap: balance;
}

.sp-contact__copy > p {
  margin-top: 16px;
  color: var(--text-soft);
  max-width: 48ch;
}

.sp-contact__cta {
  margin-top: 24px;
}

.sp-form-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(22, 23, 26, 0.1);
}

.sp-form-card label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 16px 0 6px;
}

.sp-form-card form > label:first-child {
  margin-top: 0;
}

.sp-form-card .w-input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-text);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  height: auto;
  margin-bottom: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sp-form-card .w-input:focus {
  border-color: var(--blue);
  background: var(--white);
  outline: none;
}

.sp-form-card textarea.w-input {
  min-height: 110px;
  resize: vertical;
}

.sp-form-card .g-recaptcha {
  margin-top: 18px;
}

.sp-form__submit {
  margin-top: 18px;
  width: 100%;
}

.sp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#form .w-form-done,
#form .w-form-fail {
  display: none;
  margin-top: 16px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  background: none;
}

#form .w-form-done {
  background: #e5f6ec;
  color: #14582f;
}

#form .w-form-fail {
  background: #fdeae6;
  color: #8a2413;
}

@media (max-width: 900px) {
  .sp-contact__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ---------- shared card kept for blog post grid ---------- */

.sp-service {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sp-service:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 23, 26, 0.12);
}

/* ---------- footer ---------- */

.sp-footer {
  background: var(--ink);
  background-image: var(--belt-rib);
  color: #c9cbd2;
  padding: 56px 0 30px;
  position: relative;
}

.sp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--steel-rail);
}

.sp-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.sp-footer__logo img {
  filter: brightness(0) invert(1);
}

.sp-footer__addr {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #9a9ca3;
}

.sp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-footer__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.sp-footer__links a:hover {
  color: var(--yellow);
}

.sp-footer__social {
  display: flex;
  gap: 14px;
}

.sp-footer__social img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(0.85);
  transition: filter 0.15s ease;
}

.sp-footer__social a:hover img {
  filter: brightness(0) invert(1);
}

.sp-footer__rule {
  border: 0;
  border-top: 1px dashed #3a3b42;
  margin: 36px 0 20px;
}

.sp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9a9ca3;
}

/* ---------- reveal on scroll ---------- */

.has-anim .sp-rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-anim .sp-rv.sp-in {
  opacity: 1;
  transform: none;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .has-anim .sp-rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sp-lane__items,
  .sp-lane__flash,
  .sp-topbar::before,
  .sp-lanecard__sign i,
  .sp-lamp {
    animation: none !important;
  }

  .has-anim .sp-receipt--hero .sp-print {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .has-anim .sp-sign {
    transform: rotate(var(--tilt, 0deg));
    transition: none;
  }

  .sp-dial__needle {
    transition: none;
  }
}

/* ---------- hero responsive ---------- */

@media (max-width: 1060px) {
  .sp-hero__head {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-lane__register {
    justify-self: center;
    align-self: auto;
    margin-bottom: -56px;
  }

  .sp-lanehang {
    display: none;
  }

  .sp-lane__belt {
    height: 160px;
  }

  .sp-lane__item {
    transform: scale(0.8);
    transform-origin: bottom center;
  }

  .sp-lane__scanner {
    left: 74%;
  }
}

@media (max-width: 560px) {
  .sp-hero {
    padding-top: 44px;
  }

  .sp-hero__actions .sp-btn {
    width: 100%;
  }

  .sp-receipt {
    width: min(300px, 88vw);
  }

  .sp-sam__bubble {
    font-size: 0.78rem;
    max-width: 200px;
  }

  .sp-sam__bot {
    width: 66px;
  }
}

/* ---------- reporting: the results tape ---------- */

.sp-tape {
  padding: 96px 0;
}

/* the tape itself: a wide register-tape object torn top and bottom */
.sp-tape__object {
  position: relative;
  width: min(720px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  background: var(--white);
  padding: 26px 28px 18px;
  box-shadow: 0 14px 34px rgba(22, 23, 26, 0.18);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  clip-path: polygon(0 7px, 4% 0, 12% 6px, 20% 0, 28% 6px, 36% 0, 44% 6px, 52% 0, 60% 6px, 68% 0, 76% 6px, 84% 0, 92% 6px, 96% 0, 100% 7px, 100% calc(100% - 7px), 96% 100%, 88% calc(100% - 6px), 80% 100%, 72% calc(100% - 6px), 64% 100%, 56% calc(100% - 6px), 48% 100%, 40% calc(100% - 6px), 32% 100%, 24% calc(100% - 6px), 16% 100%, 8% calc(100% - 6px), 0 100%);
}

.sp-tape__graphwrap {
  position: relative;
}

.sp-tape__graph {
  display: block;
  width: 100%;
  height: auto;
}

/* velocity line draws once on scroll; the dot lands after it */
.sp-tape__line {
  stroke-dasharray: 700;
}

.has-anim .sp-tape__line {
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-anim .sp-tape__object.sp-in .sp-tape__line {
  stroke-dashoffset: 0;
}

.has-anim .sp-tape__dot {
  opacity: 0;
  transition: opacity 0.4s ease-out 1.2s;
}

.has-anim .sp-tape__object.sp-in .sp-tape__dot {
  opacity: 1;
}

.sp-tape__rows {
  margin-top: 16px;
}

.sp-tape__foot {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* the register prints more than one tape: a spread of mini report tapes,
   one per report the dashboard actually runs (demographics, retailer split,
   unredeemed-feedback reasons, reviews). Placeholder glyphs until real
   campaign numbers are approved. */
.sp-tape__spread {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 30px;
}

.sp-tape__mini {
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 24px rgba(22, 23, 26, 0.14);
  transform: rotate(var(--tilt, 0deg));
  clip-path: polygon(0 6px, 6% 0, 14% 5px, 22% 0, 30% 5px, 38% 0, 46% 5px, 54% 0, 62% 5px, 70% 0, 78% 5px, 86% 0, 94% 5px, 100% 6px, 100% calc(100% - 6px), 94% 100%, 86% calc(100% - 5px), 78% 100%, 70% calc(100% - 5px), 62% 100%, 54% calc(100% - 5px), 46% 100%, 38% calc(100% - 5px), 30% 100%, 22% calc(100% - 5px), 14% 100%, 6% calc(100% - 5px), 0 100%);
}

.sp-tape__minihead {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

/* charts the register can print: ink bars on the tape. Blue marks the
   segment that is the brand's own (store, largest group). */
.sp-tape__hist {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.sp-tape__bar + .sp-tape__bar,
.sp-receipt__row + .sp-tape__bar,
.sp-tape__bar + .sp-receipt__row {
  margin-top: 8px;
}

.sp-tape__bar-track {
  display: block;
  height: 6px;
  margin-top: 3px;
}

.sp-tape__bar-track i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--ink);
  opacity: 0.82;
}

.sp-tape__bar--you .sp-tape__bar-track i {
  background: var(--blue);
  opacity: 1;
}

.sp-tape__also {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

@media (max-width: 1000px) {
  .sp-tape__spread {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .sp-tape__object {
    padding: 18px;
    font-size: 0.68rem;
  }

  .sp-tape__spread {
    grid-template-columns: 1fr;
  }

  .sp-tape__also {
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-anim .sp-tape__line {
    stroke-dashoffset: 0;
    transition: none;
  }

  .has-anim .sp-tape__dot {
    opacity: 1;
    transition: none;
  }
}

/* ---------- how it works: journey player ---------- */

/* two columns: the five stops as a vertical rail, the phone player beside */
.sp-how__duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px 64px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

/* the rail modifier applies the vertical belt treatment at all widths */
.sp-how__track--rail {
  grid-template-columns: 1fr;
  gap: 36px;
  padding-left: 24px;
}

.sp-how__track--rail::before {
  top: 1%;
  bottom: 1%;
  left: 0;
  right: auto;
  width: 10px;
  height: auto;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    transparent 2px 26px
  );
}

.sp-how__track--rail .sp-how__stop {
  padding-top: 0;
  padding-left: 72px;
}

.sp-how__track--rail .sp-how__stop::before {
  left: -22px;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* the station tile of the live beat glows; the scan stop keeps its red fill */
.sp-how__stop.sp-journey-live::before {
  box-shadow: 0 0 0 3px var(--yellow), 0 0 18px rgba(246, 209, 63, 0.55);
}

.sp-journey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* the phone: a printed object on the paper ground — the frame tilts,
   the UI inside never does */
.sp-journey__phone {
  position: relative;
  width: 332px;
  transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(0 18px 28px rgba(22, 23, 26, 0.22));
}

.sp-journey__bezel {
  display: block;
  width: 100%;
  height: auto;
}

.sp-journey__viewport {
  position: absolute;
  top: 2.46%;
  right: 4.82%;
  bottom: 2.46%;
  left: 4.82%;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* the notch bar rides above the screens */
.sp-journey__viewport::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 4;
}

.sp-journey__screen {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding-top: 26px;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-journey__screen.sp-journey-on {
  opacity: 1;
}

/* a real capture from the live demo, top-aligned; the viewport crops it */
.sp-journey__shot {
  position: relative;
  width: 100%;
}

.sp-journey__shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* the registered email overlay: sits over the capture's input with a
   slight bleed so the capture's own corners never peek out; radius and
   border imitate the captured app's field, not our tokens */
.sp-journey__field {
  position: absolute;
  left: 3.7%;
  top: 42.2%;
  width: 92.9%;
  height: 6.5%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #c9cdd3;
  border-radius: 5px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: left;
}

/* invisible proxy over the capture's GET IT NOW button: the tap
   ripple takes its geometry from this box */
.sp-journey__cta {
  position: absolute;
  left: 3.7%;
  top: 49.7%;
  width: 92.6%;
  height: 7.5%;
}

.sp-journey__caret {
  flex-shrink: 0;
  width: 1.5px;
  height: 14px;
  margin-left: 2px;
  background: var(--blue);
}

.has-anim .sp-journey--playing .sp-journey-on .sp-journey__caret {
  animation: sp-journey-caret 1s steps(2, jump-none) infinite;
}

@keyframes sp-journey-caret {
  50% {
    opacity: 0;
  }
}

/* tap ripple over the CTA */
.sp-journey__tap {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(33, 88, 224, 0.45);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.has-anim .sp-journey__tap.sp-journey-tapping {
  animation: sp-journey-tap 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sp-journey-tap {
  from {
    opacity: 1;
    transform: scale(0);
  }

  to {
    opacity: 0;
    transform: scale(1);
  }
}

/* the chat: a bubble timeline anchored to the bottom, so each arrival
   pushes the column up — bubbles are real slices from the demo capture */
.sp-journey__chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  padding: 34px 12px 16px;
}

.sp-journey__img {
  display: block;
  align-self: flex-start;
  width: 88%;
  height: auto;
  border-radius: 12px;
}

.sp-journey__img--user {
  align-self: flex-end;
  width: 36%;
  border-radius: 0;
}

/* inked stamp over the payout frame */
.sp-journey__stamp {
  position: absolute;
  top: 12%;
  right: 7%;
  z-index: 2;
}

/* the mock receipt sitting in the capture's upload dropzone */
.sp-journey__upload {
  position: absolute;
  left: 3.7%;
  top: 69.2%;
  width: 92.6%;
  height: 14.6%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-journey__upload svg {
  width: 58px;
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.has-anim .sp-journey-arrive {
  animation: sp-journey-arrive 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sp-journey-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.sp-journey__dots {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px 14px 14px 3px;
  padding: 11px 12px;
}

.sp-journey__dots--user {
  align-self: flex-end;
  border-radius: 14px 14px 3px 14px;
}

.sp-journey__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-soft);
}

.has-anim .sp-journey__dots i {
  animation: sp-journey-dot 0.9s ease-in-out infinite;
}

.has-anim .sp-journey__dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.has-anim .sp-journey__dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes sp-journey-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: none;
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* the QR ticket: yellow card stock, links to the live demo */
.sp-journey__qr {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px rgba(22, 23, 26, 0.14);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease;
}

.sp-journey__qr:hover {
  transform: rotate(-1.5deg) translateY(-3px);
  box-shadow: 0 14px 28px rgba(22, 23, 26, 0.2);
}

.sp-journey__qr svg {
  display: block;
  width: 110px;
  height: 110px;
  box-sizing: border-box;
  padding: 8px;
  background: var(--white);
  border-radius: 3px;
}

.sp-journey__qr span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.has-anim .sp-journey__qr.sp-journey-pulse {
  animation: sp-journey-pulse 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sp-journey-pulse {
  30% {
    transform: rotate(-1.5deg) scale(1.05);
  }
}

/* the phone plus its floating replay control */
.sp-journey__stage {
  position: relative;
}

/* replay floats at the bottom of the screen: our control, not the
   captured app's — riding at the same slight tilt as the frame */
.sp-journey__replay {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) rotate(var(--tilt, 0deg));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 6;
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

.sp-journey__replay:hover {
  background: var(--ink-soft);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* no-JS / reduced-motion: the static filmstrip — every frame visible,
   labeled by its data-label chip; no replay control */
html:not(.has-anim) .sp-journey__phone,
.sp-journey--static .sp-journey__phone {
  width: min(320px, 100%);
  transform: none;
  filter: none;
}

html:not(.has-anim) .sp-journey__bezel,
.sp-journey--static .sp-journey__bezel,
html:not(.has-anim) .sp-journey__viewport::before,
.sp-journey--static .sp-journey__viewport::before,
html:not(.has-anim) .sp-journey__caret,
.sp-journey--static .sp-journey__caret,
html:not(.has-anim) .sp-journey__tap,
.sp-journey--static .sp-journey__tap,
html:not(.has-anim) .sp-journey__replay,
.sp-journey--static .sp-journey__replay {
  display: none;
}

html:not(.has-anim) .sp-journey__viewport,
.sp-journey--static .sp-journey__viewport {
  position: static;
  height: auto;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

html:not(.has-anim) .sp-journey__screen,
.sp-journey--static .sp-journey__screen {
  position: static;
  opacity: 1;
  margin-bottom: 14px;
  padding: 12px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}

html:not(.has-anim) .sp-journey__chat,
.sp-journey--static .sp-journey__chat {
  position: static;
  height: auto;
  overflow: visible;
  padding: 0;
}

html:not(.has-anim) .sp-journey__screen::before,
.sp-journey--static .sp-journey__screen::before {
  content: attr(data-label);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .sp-how__duo {
    grid-template-columns: 1fr;
  }

  .sp-journey {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .sp-journey__phone {
    width: 292px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-journey__caret,
  .sp-journey__dots i,
  .sp-journey__tap,
  .sp-journey__qr,
  .sp-journey-arrive,
  .sp-journey__screen {
    animation: none !important;
    transition: none !important;
  }

  .sp-journey__replay {
    display: none;
  }
}
