/* ==========================================================================
   STAMPI — landing (bitpixel.net/stampi/)
   Builds on main.css (BitPixel design system v2 "light editorial"): tokens,
   typography, .btn, .kicker, .section, .faq-*, .plan-*. Only Stampi-specific
   components live here. Icons: Material Symbols Outlined (subset).
   ========================================================================== */

/* Icons — fixed 1em box so the ligature text never shifts layout before the font loads */
.ms {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal;
  font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; width: 1em; height: 1em; overflow: hidden; flex-shrink: 0;
  white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.ms-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.st-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand);
}
.st-icon .ms { font-size: 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.st-skip {
  position: absolute; left: 16px; top: -60px; z-index: 500; padding: 10px 16px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.92rem; transition: top 0.2s;
}
.st-skip:focus { top: 12px; }
[id] { scroll-margin-top: 88px; }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.st-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.st-header.is-scrolled { border-bottom-color: var(--line); }
.st-header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.st-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.st-brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.st-brand-text { display: flex; flex-direction: column; line-height: 1; }
.st-brand-text strong { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.st-brand-text small { margin-top: 4px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.st-nav { display: flex; align-items: center; gap: 2px; }
.st-nav a {
  padding: 8px 13px; border-radius: var(--pill); font-size: 0.94rem; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.st-nav a:hover { color: var(--ink); background: var(--bg-tint); }
.st-nav a.is-active { color: var(--brand); background: var(--brand-50); }
.st-actions { display: flex; align-items: center; gap: 6px; }
.st-login { padding: 8px 12px; border-radius: var(--pill); font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.st-login:hover { background: var(--bg-tint); }
.st-burger {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer; place-items: center;
}
.st-burger .ms { font-size: 24px; }

.st-mobile {
  position: fixed; inset: 72px 0 0 0; z-index: 190; display: none; flex-direction: column; gap: 4px;
  padding: 16px 20px 28px; background: #fff; overflow-y: auto;
}
.st-mobile.is-open { display: flex; }
.st-mobile a.st-mobile-link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 12px; border-radius: var(--r);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); border-bottom: 1px solid var(--line);
}
.st-mobile a.st-mobile-link .ms { color: var(--muted); }
.st-mobile-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.st-mobile-actions .btn { width: 100%; padding: 15px 24px; }
body.st-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.st-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.st-hero::before {
  content: ""; position: absolute; inset: -20% -15% auto auto; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(65, 144, 186, 0.16), transparent 70%);
}
.st-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.st-hero h1 { margin-bottom: 0; }
.st-rotate-line { display: block; }
.st-rotate {
  display: inline-block; position: relative; height: 1.12em; overflow: hidden; vertical-align: bottom;
}
.st-rotate-track { display: flex; flex-direction: column; align-items: flex-start; transition: transform 0.55s var(--ease); }
.st-rotate-track span {
  display: block; width: max-content; height: 1.12em; line-height: 1.12em; white-space: nowrap;
  background: linear-gradient(90deg, var(--brand) 0%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.st-hero .lead { margin-top: 22px; max-width: 56ch; }
.st-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.st-hero-proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; max-width: 520px; }
.st-hero-proof li {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); min-width: 0;
}
.st-hero-proof strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); line-height: 1.2; }
.st-hero-proof span { font-size: 0.84rem; color: var(--muted); }

/* Demo */
.st-demo-wrap { position: relative; width: 100%; max-width: 480px; justify-self: end; }
.st-demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 4px 12px; }
.st-demo-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.st-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: stPulse 1.8s ease-in-out infinite; }
@keyframes stPulse { 50% { opacity: 0.3; } }
.st-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); border: 1px solid;
  font-size: 0.74rem; font-weight: 600; white-space: nowrap;
}
.st-badge--sample { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; background: #FFF8EB; border-color: #F5DDA8; color: #8A5A00; }
.st-badge--brand { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }
.st-badge--ok { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }
.st-badge--wait { background: #FFF8EB; border-color: #F5DDA8; color: #8A5A00; }
.st-badge--done { background: var(--bg-soft); border-color: var(--line); color: var(--muted); }

.st-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; color: var(--ink);
}
.st-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.st-card-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.st-card-who .st-icon { width: 40px; height: 40px; }
.st-card-who p { margin: 0; line-height: 1.3; }
.st-card-who .st-card-name { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.st-card-who .st-card-sub { font-size: 0.8rem; color: var(--muted); }
.st-status { min-width: 7rem; display: flex; justify-content: flex-end; }

.st-stamps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.st-stamp {
  position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  border: 2px dashed var(--line-strong); background: var(--bg-soft); color: var(--faint); font-family: var(--font-mono); font-size: 0.78rem;
}
.st-stamp--reward { border-color: var(--sky); background: var(--brand-50); color: var(--brand); }
.st-stamp .st-stamp-on {
  position: absolute; inset: -2px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--brand);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.st-stamp--reward .st-stamp-on { background: var(--navy-2); }
.st-stamp.is-on .st-stamp-on { opacity: 1; transform: none; }
.st-progress { margin-top: 18px; height: 6px; border-radius: var(--pill); background: var(--bg-tint); overflow: hidden; }
.st-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--brand)); transform-origin: left; transition: transform 0.6s var(--ease); }
.st-points-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.st-points { display: flex; align-items: center; gap: 10px; }
.st-points .st-icon { width: 32px; height: 32px; border-radius: 10px; }
.st-points .st-icon .ms { font-size: 18px; }
.st-points b { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.st-points small { font-size: 0.8rem; color: var(--muted); margin-left: 4px; }
.st-goal { font-size: 0.8rem; font-weight: 500; color: var(--brand); text-align: right; }

.st-feed { position: relative; margin-top: 14px; height: 8.25rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.st-log, .st-pin { position: absolute; inset: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.st-log { list-style: none; }
.st-log li { height: 2.75rem; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); min-width: 0; animation: stIn 0.3s var(--ease) both; }
.st-log li:last-child { border-bottom: none; }
.st-log .ms { font-size: 18px; color: var(--brand); }
.st-log .is-ok .ms { color: #047857; }
.st-log b { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-log li > span:last-child { margin-left: auto; font-size: 0.76rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes stIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.st-pin { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 12px; opacity: 0; transform: translateY(10px); pointer-events: none; }
.st-feed.is-pin .st-log { opacity: 0; transform: translateY(-10px); }
.st-feed.is-pin .st-pin { opacity: 1; transform: none; }
.st-pin-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.st-pin-digits { display: flex; gap: 6px; }
.st-pin-digits span {
  width: 36px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: #fff;
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.st-pin-digits span.is-on { opacity: 1; transform: none; }
.st-feed.is-done .st-pin-digits span { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }
.st-pin-note { font-size: 0.78rem; color: var(--muted); text-align: center; }

.st-till { display: flex; gap: 10px; margin-top: 12px; }
.st-till-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.st-scan { position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); color: var(--brand); overflow: hidden; flex-shrink: 0; }
.st-scan .ms { font-size: 22px; }
.st-scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sky); opacity: 0; }
.st-till.is-scanning .st-scan::after { opacity: 1; animation: stScan 0.6s ease-in-out infinite alternate; }
@keyframes stScan { to { transform: translateY(34px); } }
.st-till-text { min-width: 0; }
.st-till-text small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.st-till-text span { display: block; font-size: 0.86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-action { min-height: 3.25rem; padding: 0 22px; white-space: nowrap; }
.st-action[disabled] { opacity: 0.75; cursor: wait; transform: none; }
.st-reset-row { height: 1.5rem; margin-top: 6px; text-align: right; }
.st-reset { background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.st-reset:hover { color: var(--brand); }
.st-reset[hidden] { display: none; }

/* Decorative floating cards (≥1280px) */
.st-float {
  position: absolute; display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 2;
}
.st-float .st-icon { width: 34px; height: 34px; border-radius: 10px; }
.st-float .st-icon .ms { font-size: 18px; }
.st-float strong { display: block; font-size: 0.92rem; letter-spacing: -0.01em; line-height: 1.25; }
.st-float span { display: block; font-size: 0.76rem; color: var(--muted); }
.st-float--a { left: -168px; top: 300px; animation: stFloat 6s ease-in-out infinite; }
.st-float--b { right: -28px; top: -66px; animation: stFloat 6s 1.5s ease-in-out infinite; }
@keyframes stFloat { 50% { transform: translateY(-8px); } }
@media (min-width: 1280px) { .st-float { display: flex; } }

/* --------------------------------------------------------------------------
   TRUST STRIP + SECTOR MARQUEE
   -------------------------------------------------------------------------- */
.st-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-trust article { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.st-trust h2 { font-size: 1.02rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.st-trust p { margin: 0; font-size: 0.94rem; color: var(--muted); }

.st-marquee {
  margin-top: 28px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.st-marquee-track { display: flex; width: max-content; animation: stMarquee 40s linear infinite; }
.st-marquee:hover .st-marquee-track, .st-marquee.is-paused .st-marquee-track { animation-play-state: paused; }
.st-marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; white-space: nowrap; border-right: 1px solid var(--line); }
.st-marquee-item .ms { color: var(--brand); }
.st-marquee-item b { font-size: 0.93rem; font-weight: 600; color: var(--ink); }
.st-marquee-item span { font-size: 0.86rem; color: var(--muted); }
@keyframes stMarquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   SECTION INTRO
   -------------------------------------------------------------------------- */
.st-intro { max-width: 720px; margin-bottom: 44px; }
.st-intro.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.st-intro.is-center .kicker { margin-left: auto; margin-right: auto; }
.st-intro h2 { margin-bottom: 14px; }
.st-intro .lead { margin: 0; }
.st-intro.is-center .lead { margin: 0 auto; }

/* --------------------------------------------------------------------------
   BENEFITS
   -------------------------------------------------------------------------- */
/* Mobile-first: 1 column → 2 columns (≥640px) → rows of 3 (≥1024px).
   Each breakpoint fills its last row, whatever the number of cards. */
.st-benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.st-benefit {
  grid-column: auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.st-benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.st-benefit .st-icon { margin-bottom: 14px; }
.st-benefit h3 { font-size: 1.08rem; margin-bottom: 6px; }
.st-benefit p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 640px) {
  .st-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  /* the feature card is child 1, so an odd number of regular cards ends on an even child */
  .st-benefit:not(.st-benefit--feature):last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .st-benefits { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .st-benefit { grid-column: span 2; padding: 26px; }
  .st-benefit:not(.st-benefit--feature):last-child:nth-child(even) { grid-column: span 2; }
  /* rows of 3 start at child 2: a last row of 2 → span 3 each; a last row of 1 → full width */
  .st-benefit:nth-child(3n + 2):nth-last-child(2), .st-benefit:nth-child(3n + 2):nth-last-child(2) ~ .st-benefit { grid-column: span 3; }
  .st-benefit:nth-child(3n + 2):last-child { grid-column: 1 / -1; }
}
.st-benefit--feature {
  grid-column: 1 / -1 !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 32px clamp(22px, 4vw, 52px); position: relative; overflow: hidden; isolation: isolate; border: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 65%, #12406F 100%); color: var(--on-dark-2);
}
.st-benefit--feature:hover { transform: none; box-shadow: var(--shadow); }
.st-benefit--feature::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 60%; height: 170%;
  background: radial-gradient(closest-side, rgba(65, 144, 186, 0.35), transparent 70%);
}
.st-benefit--feature h3 { color: #fff; font-size: 1.6rem; letter-spacing: -0.02em; }
.st-benefit--feature p { color: var(--on-dark-2); font-size: 1.02rem; }
.st-benefit--feature .st-icon { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--accent-on-dark); }
@media (min-width: 1024px) {
  .st-benefit--feature { grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 44px clamp(24px, 4vw, 52px); }
}
@media (max-width: 639px) {
  /* 10 stamps in one row are too small on phones: two rows of 5 */
  .st-benefit--feature .st-row { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; max-width: 280px; }
}

/* Stamp row that fills on scroll */
.st-row { display: grid; gap: 8px; }
.st-row span {
  position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-strong); background: #fff; overflow: hidden;
}
.st-row span::after {
  content: "check"; font-family: "Material Symbols Outlined"; font-size: clamp(12px, 2.2vw, 20px); line-height: 1;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga";
  position: absolute; inset: -2px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.st-row span:last-child::after { content: "redeem"; background: var(--navy-2); }
.st-row--dark span { border-color: rgba(255, 255, 255, 0.22); background: transparent; }
.st-row--dark span::after { background: var(--sky); }
.st-row--dark span:last-child::after { background: #fff; color: var(--navy-2); }
.st-row.is-filled span::after { opacity: 1; transform: none; }
.st-row.is-filled span:nth-child(1)::after { transition-delay: 0.2s; }
.st-row.is-filled span:nth-child(2)::after { transition-delay: 0.31s; }
.st-row.is-filled span:nth-child(3)::after { transition-delay: 0.42s; }
.st-row.is-filled span:nth-child(4)::after { transition-delay: 0.53s; }
.st-row.is-filled span:nth-child(5)::after { transition-delay: 0.64s; }
.st-row.is-filled span:nth-child(6)::after { transition-delay: 0.75s; }
.st-row.is-filled span:nth-child(7)::after { transition-delay: 0.86s; }
.st-row.is-filled span:nth-child(8)::after { transition-delay: 0.97s; }
.st-row.is-filled span:nth-child(9)::after { transition-delay: 1.08s; }
.st-row.is-filled span:nth-child(10)::after { transition-delay: 1.19s; }
.st-row.is-filled span:nth-child(11)::after { transition-delay: 1.3s; }
.st-row.is-filled span:nth-child(12)::after { transition-delay: 1.41s; }
.st-feature-card { padding: 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.st-feature-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-size: 0.92rem; font-weight: 600; }
.st-feature-card-top small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-dark); }

/* --------------------------------------------------------------------------
   HOW IT WORKS — sticky title + timeline
   -------------------------------------------------------------------------- */
.st-how { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.st-how-intro { position: sticky; top: 110px; }
.st-steps { list-style: none; position: relative; display: grid; gap: 18px; padding-left: 64px; }
.st-steps-line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.st-steps-line i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--sky), var(--brand)); transform-origin: top; transform: scaleY(0); }
.st-step { position: relative; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: box-shadow 0.3s var(--ease), border-color 0.3s; }
.st-step.is-current { box-shadow: var(--shadow); border-color: var(--brand-100); }
.st-step-num {
  position: absolute; left: -64px; top: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-strong); color: var(--muted); font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.st-step.is-reached .st-step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.st-step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   PRODUCT SHOWCASE — tabs + mockups
   -------------------------------------------------------------------------- */
.st-tabs-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 36px; }
.st-tabs { position: relative; display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--bg-tint); border: 1px solid var(--line); }
.st-tabs-ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), width 0.35s var(--ease); }
.st-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: var(--pill);
  background: transparent; cursor: pointer; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--muted); transition: color 0.2s;
}
.st-tab .ms { font-size: 19px; }
.st-tab[aria-selected="true"] { color: var(--ink); }
.st-tabs-progress { width: 160px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.st-tabs-progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.st-tabs-progress.is-hidden { visibility: hidden; }

.st-showcase { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; }
.st-side { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: box-shadow 0.3s, border-color 0.3s; }
.st-side:not(.is-active) .st-check li::before { background-color: var(--line-strong); }
.st-side:not(.is-active) h3 .ms { color: var(--muted); }
.st-side.is-active { box-shadow: var(--shadow); border-color: var(--brand); }
.st-side h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: 14px; }
.st-side h3 .ms { color: var(--brand); }
.st-check { list-style: none; display: grid; gap: 10px; }
.st-check li { position: relative; padding-left: 28px; font-size: 0.95rem; color: var(--text); line-height: 1.5; }
.st-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.st-panels { position: relative; min-height: 440px; }
.st-panel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.st-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.st-panel:focus-visible { outline-offset: 6px; }
.st-mock { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.st-mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.st-mock-bar small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.st-mock-body { padding: 18px; display: grid; gap: 14px; }
.st-mock-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.st-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.st-chips { display: flex; gap: 8px; }
.st-chips span { flex: 1; padding: 8px 0; text-align: center; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.st-chips span.is-on { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }
.st-mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.86rem; }
.st-mock-row b { font-weight: 600; }
.st-mock-row span { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.st-result { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--r-sm); background: #ECFDF5; border: 1px solid #A7F3D0; color: #047857; font-weight: 600; font-size: 0.95rem; }
.st-mock .btn { width: 100%; }
.st-phone { width: 280px; padding: 12px; border-radius: 40px; background: var(--ink); box-shadow: var(--shadow-lg); }
.st-phone-screen { border-radius: 30px; background: var(--bg-soft); overflow: hidden; padding: 18px 16px 20px; display: grid; gap: 12px; }
.st-phone-notch { width: 90px; height: 6px; border-radius: 6px; background: var(--line-strong); margin: 0 auto 4px; }
.st-phone .st-card { box-shadow: var(--shadow-sm); padding: 16px; }
.st-phone .st-stamps { gap: 6px; margin-top: 14px; }
.st-phone .st-stamp { font-size: 0.66rem; }
.st-phone .st-stamp .ms { font-size: 15px; }
.st-qr { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.st-qr svg { width: 64px; height: 64px; flex-shrink: 0; }
.st-qr b { display: block; font-size: 0.88rem; }
.st-qr span { display: block; font-size: 0.76rem; color: var(--muted); }
.st-next { padding: 12px; border-radius: var(--r); background: var(--brand-50); border: 1px solid var(--brand-100); font-size: 0.84rem; color: var(--brand); font-weight: 500; }
.st-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-metrics div { padding: 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; }
.st-metrics small { display: block; font-size: 0.66rem; color: var(--muted); }
.st-metrics b { display: block; margin-top: 3px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.st-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px 10px 0; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; }
.st-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--brand-100); height: var(--h); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.st-bars i:last-child { background: var(--brand); }
.st-panel.is-active .st-bars i { transform: scaleY(1); }
.st-panel.is-active .st-bars i:nth-child(2) { transition-delay: 0.05s; }
.st-panel.is-active .st-bars i:nth-child(3) { transition-delay: 0.1s; }
.st-panel.is-active .st-bars i:nth-child(4) { transition-delay: 0.15s; }
.st-panel.is-active .st-bars i:nth-child(5) { transition-delay: 0.2s; }
.st-panel.is-active .st-bars i:nth-child(6) { transition-delay: 0.25s; }
.st-panel.is-active .st-bars i:nth-child(7) { transition-delay: 0.3s; }
.st-days { display: flex; gap: 8px; padding: 0 10px; margin-top: -8px; }
.st-days span { flex: 1; text-align: center; font-size: 0.62rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   SECTORS — selectable list + detail
   -------------------------------------------------------------------------- */
.st-sectors { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.st-sector-list { display: grid; gap: 10px; }
.st-sector-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line);
  background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.st-sector-btn:hover { border-color: var(--line-strong); }
.st-sector-btn[aria-selected="true"] { border-color: var(--brand); box-shadow: var(--shadow-sm); background: var(--brand-50); }
.st-sector-btn .st-icon { width: 40px; height: 40px; }
.st-sector-btn b { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.st-sector-btn small { display: block; font-size: 0.84rem; color: var(--muted); }
.st-sector-detail { min-height: 330px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.st-sector-detail[hidden] { display: none; }
.st-sector-detail .st-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.st-sector-detail .st-icon .ms { font-size: 26px; }
.st-sector-detail h3 { font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.st-sector-detail p { color: var(--muted); font-size: 1.02rem; margin: 0 0 22px; max-width: 52ch; }
.st-example { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: #fff; border: 1px solid var(--brand-100); color: var(--brand); font-weight: 600; font-size: 0.92rem; margin-bottom: 20px; }
.st-sector-detail .st-row { max-width: 460px; }
.st-sector-alt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px dashed var(--line-strong); color: var(--text); font-size: 0.95rem; max-width: 460px; }
.st-sector-alt .ms { color: var(--brand); }

/* --------------------------------------------------------------------------
   PLANS
   -------------------------------------------------------------------------- */
.st-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.st-plans .plan-card { padding: 34px 30px; }
.st-plans .plan-card.is-featured .plan-price strong { background: linear-gradient(90deg, var(--brand), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-plan-desc { margin: 6px 0 0; color: var(--muted); font-size: 0.98rem; }
.st-plan-unit { margin-top: 2px; font-size: 0.9rem; color: var(--muted); }
.st-plan-note { margin-top: 2px; font-size: 0.84rem; font-weight: 600; color: var(--brand); }
.st-plans .plan-modules { margin-top: 24px; }
.st-plans .plan-modules li { padding-left: 28px; }
.st-plans .plan-modules li::before {
  width: 18px; height: 18px; top: 2px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* --------------------------------------------------------------------------
   PROMISE + CTA panels (navy)
   -------------------------------------------------------------------------- */
.st-promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.st-promise-grid article { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.st-promise-grid .st-icon { margin-bottom: 14px; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--accent-on-dark); }
.st-promise-grid h3 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.st-promise-grid p { margin: 0; font-size: 0.92rem; color: var(--on-dark-2); line-height: 1.6; }
.st-promise-grid a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.st-cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; text-align: left; }
.st-cta-grid h2 { margin: 0 0 14px; max-width: 18ch; }
.st-cta-grid p:not(.kicker) { margin: 0 0 30px; max-width: 48ch; color: var(--on-dark-2); font-size: 1.1rem; }
.st-cta-grid .cta-actions { justify-content: flex-start; }
.st-cta-grid p.kicker { margin: 0 0 18px; }

/* FAQ header with email pill */
.st-faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 860px; margin: 0 auto; }
.st-faq-head .st-intro { margin-bottom: 0; }
.st-mail { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.st-mail .ms { color: var(--brand); font-size: 18px; }
.st-mail:hover { border-color: var(--brand); color: var(--brand); }
.faq-q { align-items: center; }
.faq-chevron .ms { font-size: 20px; }

/* --------------------------------------------------------------------------
   PRICES PAGE HERO
   -------------------------------------------------------------------------- */
.st-crumbs { padding: 18px 0 0; font-size: 0.86rem; color: var(--muted); }
.st-crumbs a { color: var(--muted); }
.st-crumbs a:hover { color: var(--brand); }
.st-crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.st-inner-hero { position: relative; overflow: hidden; padding: 24px 0 72px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.st-inner-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 140%; pointer-events: none; background: radial-gradient(closest-side, rgba(65, 144, 186, 0.14), transparent 70%); }
.st-inner-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-top: 32px; }
.st-inner-grid h1 { margin-bottom: 14px; }
.st-inner-grid .lead { margin: 0; }
.st-figures { list-style: none; display: grid; gap: 12px; }
.st-figures li { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.st-figures strong { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: var(--brand); min-width: 5.2ch; }
.st-figures span { font-size: 0.94rem; color: var(--muted); }
.st-figures span b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.st-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--muted); }
.st-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.st-footer p { margin: 14px 0 0; font-size: 0.95rem; max-width: 34ch; }
.st-footer h2 { font-size: 0.84rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 14px; }
.st-footer ul { list-style: none; display: grid; gap: 9px; }
.st-footer ul a { font-size: 0.93rem; color: var(--muted); }
.st-footer ul a:hover { color: var(--brand); }
.st-footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-footer-bottom a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Reveal on scroll */
.st-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.st-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .st-showcase { grid-template-columns: 1fr 1fr; }
  .st-panels { grid-column: 1 / -1; order: -1; }
  .st-promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .st-nav, .st-actions .st-login, .st-actions .btn { display: none; }
  .st-burger { display: inline-grid; }
  .st-hero-grid, .st-how, .st-sectors, .st-inner-grid, .st-cta-grid { grid-template-columns: 1fr; }
  .st-how-intro { position: static; }
  .st-hero-grid { gap: 40px; }
  .st-demo-wrap { max-width: 520px; justify-self: center; }
  .st-trust { grid-template-columns: 1fr; }
  .st-footer-grid { grid-template-columns: 1fr 1fr; }
  .st-cta-visual { display: none; }
}
@media (max-width: 760px) {
  .st-hero { padding: 36px 0 40px; }
  .st-showcase { grid-template-columns: 1fr; }
  .st-panels { min-height: 470px; }
  .st-sector-list { grid-template-columns: 1fr 1fr; }
  .st-sector-btn { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; min-width: 0; }
  .st-sector-btn .st-icon { width: 34px; height: 34px; border-radius: 10px; }
  .st-sector-btn .st-icon .ms { font-size: 19px; }
  .st-sector-btn b { font-size: 0.9rem; line-height: 1.3; }
  .st-hero-proof li { padding: 10px 12px; }
  .st-hero-proof strong { font-size: 1.02rem; }
  .st-hero-proof span { font-size: 0.78rem; line-height: 1.35; }
  .st-sector-btn small { display: none; }
  .st-sector-detail { padding: 24px; min-height: 0; }
  .st-plans { grid-template-columns: 1fr; }
  .st-promise-grid { grid-template-columns: 1fr; }
  .st-steps { padding-left: 54px; }
  .st-step-num { left: -54px; width: 40px; height: 40px; }
  .st-steps-line { left: 19px; }
  .st-card { padding: 16px; }
  .st-stamps { gap: 8px; }
  .st-till { flex-direction: column; }
  .st-action { width: 100%; }
  .st-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .st-tab { padding: 10px 14px; }
  .st-tab .ms { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .st-marquee-track, .st-float, .st-pulse { animation: none !important; }
  .st-marquee { overflow-x: auto; }
  .st-reveal { opacity: 1; transform: none; }
}
