/**
 * SP Marketing shell — Own the Patch inspired
 * Used on front-page and full-bleed marketing sections.
 */

/* ---------- Marketing page chrome ---------- */
body.sp-marketing {
  --sp-header-height: 64px;
}

body.sp-marketing .sp-main {
  padding: 0;
  max-width: none;
}

body.sp-marketing .sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

body.sp-marketing .sp-header.is-scrolled {
  background: rgba(13, 31, 26, 0.92);
  border-bottom-color: rgba(245, 240, 232, 0.08);
  backdrop-filter: blur(12px);
}

body.sp-marketing .sp-header__inner {
  max-width: 100%;
  padding-inline: 1.5rem;
}

body.sp-marketing .sp-logo {
  color: var(--sp-color-cream, #f5f0e8);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.sp-marketing .sp-logo__icon {
  display: none;
}

body.sp-marketing .sp-nav a {
  color: rgba(245, 240, 232, 0.75);
}

body.sp-marketing .sp-nav a:hover,
body.sp-marketing .sp-nav a.current-menu-item {
  color: var(--sp-color-cream, #f5f0e8);
}

body.sp-marketing .sp-menu-btn {
  color: var(--sp-color-cream, #f5f0e8);
}

/* Pill CTA in header */
body.sp-marketing .sp-header .sp-btn--primary {
  border-radius: var(--sp-radius-full);
  background: var(--sp-color-coral, #e63946);
  color: #fff;
  border: none;
  padding: 0.55rem 1.25rem;
  font-weight: 700;
}

body.sp-marketing .sp-header .sp-btn--primary:hover {
  background: #ff4d5a;
  color: #fff;
}

body.sp-marketing .sp-header .sp-btn--outline {
  border-color: rgba(245, 240, 232, 0.35);
  color: var(--sp-color-cream, #f5f0e8);
  border-radius: var(--sp-radius-full);
}

body.sp-marketing .sp-header .sp-btn--outline:hover {
  background: rgba(245, 240, 232, 0.08);
  color: #fff;
}

/* ---------- Vertical section nav (desktop) ---------- */
.sp-side-nav {
  display: none;
  position: fixed;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  z-index: 900;
  pointer-events: auto;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1100px) {
  body.sp-marketing .sp-side-nav {
    display: flex;
  }
}

.sp-side-nav a {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.sp-side-nav a:hover,
.sp-side-nav a.is-active {
  color: var(--sp-color-cream, #f5f0e8);
}

.sp-side-nav a.is-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-color-coral, #e63946);
  margin-left: 0.45rem;
  vertical-align: middle;
}

/* ---------- Full-bleed hero ---------- */
.sp-mkt-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--sp-header-height) + 2rem) 1.5rem 4rem;
  background: var(--sp-color-forest-deep, #0d1f1a);
  color: var(--sp-color-cream, #f5f0e8);
  overflow: hidden;
}
.sp-mkt-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--sp-hero-image);
  background-size: cover;
  background-position: center right;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.04);
  opacity: 0.45;
  pointer-events: none;
}
.sp-mkt-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13, 31, 26, 0.94) 0%, rgba(13, 31, 26, 0.78) 42%, rgba(13, 31, 26, 0.55) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(36, 61, 52, 0.5), transparent 60%);
}

.sp-mkt-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.04) 1px, transparent 1px);
  background-size: 25% 100%, 25% 100%;
  pointer-events: none;
}

.sp-mkt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto 8%;
  padding-inline: 1rem;
}

@media (min-width: 900px) {
  .sp-mkt-hero__inner {
    margin-inline-start: 8%;
    margin-inline-end: auto;
  }
}

.sp-mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 1.25rem;
}

.sp-mkt-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sp-color-coral, #e63946);
  flex-shrink: 0;
}

.sp-mkt-hero__title {
  font-size: var(--sp-fs-display, clamp(2.5rem, 6vw, 4.25rem));
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: #fff;
}

.sp-mkt-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--sp-color-cream-muted, #c8c0b4);
  max-width: 36em;
  margin: 0 0 2rem;
}

.sp-mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.sp-mkt-hero__actions .sp-btn--primary {
  border-radius: var(--sp-radius-full);
  background: var(--sp-color-coral, #e63946);
  color: #fff;
  border: none;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
}

.sp-mkt-hero__actions .sp-btn--primary:hover {
  background: #ff4d5a;
  transform: translateY(-1px);
}

.sp-mkt-hero__actions .sp-link-ghost {
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.25);
  padding-bottom: 2px;
}

.sp-mkt-hero__actions .sp-link-ghost:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.sp-mkt-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  writing-mode: horizontal-tb;
}

.sp-mkt-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245, 240, 232, 0.55), transparent);
  transform-origin: top center;
  animation: sp-scroll-line 2.2s ease-in-out infinite;
}

@keyframes sp-scroll-line {
  0% { transform: scaleY(0.35); opacity: 0.35; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.35); opacity: 0.35; }
}

/* ---------- Sections ---------- */
.sp-mkt-section {
  padding: 5rem 1.5rem;
  background: var(--sp-color-forest-deep, #0d1f1a);
  color: var(--sp-color-cream, #f5f0e8);
}

.sp-mkt-section--alt {
  background: var(--sp-color-forest, #1a2e28);
}

.sp-mkt-section--cream {
  background: #f3f1ec;
  color: #0f1412;
}

.sp-mkt-section--cream .sp-mkt-section__title,
.sp-mkt-section--cream h2,
.sp-mkt-section--cream h3 {
  color: #0f1412;
}

.sp-mkt-section--cream .sp-mkt-section__lead {
  color: #5c6560;
}

/* کنتراست سکشن‌های کرم: تقریباً هر رنگ متن/بوردر تو این فایل برای پس‌زمینه‌ی تیره هاردکد شده
   بود (سفید/کرم روشن) — رو سکشن‌های --cream همون متن‌های روشن رو پس‌زمینه‌ی روشن می‌نشستن و
   عملاً غیرقابل‌خوندن می‌شدن. این بلوک همه‌ی کامپوننت‌هایی که ممکنه تو یه سکشن کرم قرار بگیرن
   (quote، feature، plan، step، metric) رو برای پس‌زمینه‌ی روشن دوباره رنگ می‌کنه. */
.sp-mkt-section--cream .sp-mkt-quote { color: #0f1412; }
.sp-mkt-section--cream .sp-mkt-quote + p { color: #5c6560; }

.sp-mkt-section--cream .sp-mkt-features { border: none; }
.sp-mkt-section--cream .sp-mkt-feature {
  border-bottom: none;
  border-left-color: rgba(15, 20, 18, 0.12);
}
@media (min-width: 768px) {
  .sp-mkt-section--cream .sp-mkt-feature { border-left: 1px solid rgba(15, 20, 18, 0.12); }
  .sp-mkt-section--cream .sp-mkt-feature:first-child { border-left: none; }
}
@media (max-width: 767px) {
  .sp-mkt-section--cream .sp-mkt-feature + .sp-mkt-feature {
    border-top: 1px solid rgba(15, 20, 18, 0.12);
  }
}
.sp-mkt-section--cream .sp-mkt-feature h3 { color: #0f1412; }
.sp-mkt-section--cream .sp-mkt-feature p { color: #5c6560; }

.sp-mkt-section--cream .sp-mkt-plan {
  background: #fff !important;
  border-color: rgba(15, 20, 18, 0.12) !important;
}
.sp-mkt-section--cream .sp-mkt-plan:hover { border-color: rgba(230, 57, 70, 0.5) !important; }
.sp-mkt-section--cream .sp-mkt-plan--popular {
  border-color: rgba(230, 57, 70, 0.4) !important;
  background: linear-gradient(165deg, rgba(230, 57, 70, 0.08), rgba(255, 255, 255, 0.6)) !important;
}
.sp-mkt-section--cream .sp-mkt-plan h3 { color: #0f1412; }
.sp-mkt-section--cream .sp-mkt-plan__blurb { color: #5c6560; }
.sp-mkt-section--cream .sp-mkt-plan .sp-btn--outline {
  border-color: rgba(15, 20, 18, 0.2);
  color: #0f1412;
}
.sp-mkt-section--cream .sp-mkt-plan .sp-btn--outline:hover {
  background: rgba(15, 20, 18, 0.06);
  color: #0f1412;
}

.sp-mkt-section--cream .sp-mkt-steps { border: none; }
.sp-mkt-section--cream .sp-mkt-step { border-left-color: rgba(15, 20, 18, 0.12); }
@media (min-width: 800px) {
  .sp-mkt-section--cream .sp-mkt-step { border-left: 1px solid rgba(15, 20, 18, 0.12); }
  .sp-mkt-section--cream .sp-mkt-step:first-child { border-left: none; }
}

.sp-mkt-section--cream .sp-mkt-metric {
  background: rgba(15, 20, 18, 0.03);
  border-color: rgba(15, 20, 18, 0.12);
}
.sp-mkt-section--cream .sp-mkt-metric__value { color: #0f1412; }
.sp-mkt-section--cream .sp-mkt-metric__label { color: #5c6560; }

/* .sp-fit-box رو صفحات داخلی (body.sp-mkt-page .sp-fit-box، پایین‌تر همین فایل) یه پس‌زمینه‌ی
   شیشه‌ای خیلی کم‌رنگ (۴٪ سفید) + متن سفید داره — طراحی‌شده برای نشستن روی سکشن تیره. رو یه
   سکشن --cream همون تینت کم‌رنگ عملاً روی پس‌زمینه‌ی روشن هیچ جدایی بصری نمی‌سازه و متن سفید
   گم می‌شه. این‌جا برای حالت کرم یه کارت واقعی (پس‌زمینه‌ی سفید + بوردر) با متن تیره جایگزینش می‌کنه. */
/* specificity: body.sp-mkt-page .sp-fit-box (بالاتر تو همین فایل) یه body+کلاسه — باید با همون
   وزن رقابت کنیم، وگرنه علی‌رغم اومدن بعدی تو فایل هم می‌بازیم */
body.sp-mkt-page .sp-mkt-section--cream .sp-fit-box {
  background: #fff;
  border-color: rgba(15, 20, 18, 0.12);
}
body.sp-mkt-page .sp-mkt-section--cream .sp-fit-box h3 { color: #0f1412; }
body.sp-mkt-page .sp-mkt-section--cream .sp-fit-box p,
body.sp-mkt-page .sp-mkt-section--cream .sp-fit-box li,
body.sp-mkt-page .sp-mkt-section--cream .sp-fit-list { color: #5c6560; }

.sp-mkt-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.sp-mkt-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff;
}

.sp-mkt-section__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sp-color-cream-muted, #c8c0b4);
  max-width: 40em;
  margin: 0 0 2.5rem;
}

.sp-mkt-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
  max-width: 28em;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

.sp-mkt-quote + p {
  color: var(--sp-color-cream-muted, #c8c0b4);
  line-height: 1.7;
  max-width: 36em;
}

/* Feature grid */
.sp-mkt-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: none;
  border-top: none;
}

@media (min-width: 768px) {
  .sp-mkt-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-mkt-feature {
  padding: 1.5rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: opacity 0.25s ease;
}

/* Mobile: subtle horizontal rule between stacked cards only */
@media (max-width: 767px) {
  .sp-mkt-feature + .sp-mkt-feature {
    border-top: 1px solid rgba(245, 240, 232, 0.12);
  }
}

@media (min-width: 768px) {
  .sp-mkt-feature {
    border: none;
    border-bottom: none;
    /* only vertical divider between cards (between 1-2 and 2-3) */
    border-left: 1px solid rgba(245, 240, 232, 0.14);
    padding: 1.5rem 1.5rem;
  }
  .sp-mkt-feature:first-child {
    border-left: none;
    padding-right: 0;
  }
  .sp-mkt-feature:last-child {
    padding-left: 0;
  }
}

.sp-mkt-feature:hover {
  opacity: 0.88;
  transform: none;
  background: transparent;
}

.sp-mkt-feature__icon {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sp-mkt-feature h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}

.sp-mkt-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--sp-color-cream-muted, #c8c0b4);
}

/* Product / plan cards — layout/hover/popular (.sp-mkt-plans/.sp-mkt-plan/:hover/--popular)
   یه بار دیگه پایین‌تر تو همین فایل با !important تعریف شده (نسخه‌ی نهایی، کارت‌های boxed) —
   این‌جا فقط ساب‌المان‌ها (badge/h3/blurb/actions) که هیچ‌جای دیگه تعریف نشدن می‌مونن. */
.sp-mkt-plan__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-color-coral, #e63946);
  margin-bottom: 0.75rem;
}

.sp-mkt-plan__emoji {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.sp-mkt-plan h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}

.sp-mkt-plan__blurb {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sp-color-cream-muted, #c8c0b4);
  margin: 0 0 1.25rem;
  flex: 1;
}

.sp-mkt-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sp-mkt-plan .sp-btn {
  border-radius: var(--sp-radius-full);
  font-weight: 700;
}

.sp-mkt-plan .sp-btn--primary {
  background: var(--sp-color-coral, #e63946);
  border: none;
  color: #fff;
}

.sp-mkt-plan .sp-btn--outline {
  border-color: rgba(245, 240, 232, 0.3);
  color: var(--sp-color-cream, #f5f0e8);
  background: transparent;
}

.sp-mkt-plan .sp-btn--outline:hover {
  background: rgba(245, 240, 232, 0.08);
  color: #fff;
}

/* Steps */
.sp-mkt-steps {
  display: grid;
  gap: 1.5rem;
  border: none;
  border-top: none;
  padding-top: 0.5rem;
}

@media (min-width: 800px) {
  .sp-mkt-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .sp-mkt-step {
    padding: 0.5rem 1.5rem 0;
    border: none;
    border-left: 1px solid rgba(245, 240, 232, 0.14);
  }
  .sp-mkt-step:first-child { border-left: none; padding-right: 0; }
  .sp-mkt-step:last-child { padding-left: 0; }
}

@media (max-width: 799px) {
  .sp-mkt-step + .sp-mkt-step {
    border-top: 1px solid rgba(245, 240, 232, 0.12);
    padding-top: 1.25rem;
  }
}

.sp-mkt-step {
  position: relative;
  padding-top: 0.5rem;
}

.sp-mkt-step__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sp-color-coral, #e63946);
  margin-bottom: 0.75rem;
}

.sp-mkt-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}

.sp-mkt-step p {
  margin: 0;
  color: var(--sp-color-cream-muted, #c8c0b4);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Proof / metrics */
.sp-mkt-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 700px) {
  .sp-mkt-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-mkt-metric {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  text-align: center;
}

.sp-mkt-metric__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.sp-mkt-metric__label {
  font-size: 0.8rem;
  color: var(--sp-color-cream-muted, #c8c0b4);
  margin-top: 0.25rem;
}

/* Final CTA band */
.sp-mkt-cta {
  padding: 4.5rem 1.5rem;
  background: linear-gradient(135deg, #1a2e28 0%, #0d1f1a 100%);
  text-align: center;
  color: var(--sp-color-cream, #f5f0e8);
}

.sp-mkt-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
  line-height: 1.35;
}

.sp-mkt-cta p {
  color: var(--sp-color-cream-muted, #c8c0b4);
  max-width: 32em;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.sp-mkt-cta .sp-btn--primary {
  border-radius: var(--sp-radius-full);
  background: var(--sp-color-coral, #e63946);
  color: #fff;
  border: none;
  padding: 0.9rem 1.75rem;
  font-weight: 700;
}

/* Footer on marketing */
body.sp-marketing .sp-footer {
  background: #0a1814;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  color: var(--sp-color-cream-muted, #c8c0b4);
}

body.sp-marketing .sp-footer__brand,
body.sp-marketing .sp-footer__title {
  color: #fff;
}

body.sp-marketing .sp-footer a {
  color: var(--sp-color-cream-muted, #c8c0b4);
}

body.sp-marketing .sp-footer a:hover {
  color: #fff;
}

/* بازطراحی فوتر مثل OTP: لیبل‌های کوچیک uppercase پرفاصله به‌جای هدینگ درشت، آیکون‌های تخت
   به‌جای دایره‌ی border-دار، فاصله‌ی سخاوتمندانه‌تر — همون زبان بصری eyebrow/سایدبار خودِ سایت */
body.sp-marketing .sp-footer,
body.sp-mkt-page .sp-footer {
  padding-block: 4.5rem 2rem;
}
body.sp-marketing .sp-footer__title,
body.sp-mkt-page .sp-footer__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  margin-bottom: 1.25rem;
}
body.sp-marketing .sp-footer__brand,
body.sp-mkt-page .sp-footer__brand {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.sp-marketing .sp-footer__desc,
body.sp-mkt-page .sp-footer__desc {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.88rem;
}
body.sp-marketing .sp-footer__links a,
body.sp-mkt-page .sp-footer__links a {
  font-size: 0.88rem;
  padding: 0.35rem 0;
}
body.sp-marketing .sp-footer__links a:hover,
body.sp-mkt-page .sp-footer__links a:hover {
  padding-right: 0; /* افکت جابه‌جایی قدیمی حذف شد — فقط underline کشویی کافیه */
}
body.sp-marketing .sp-footer__bottom,
body.sp-mkt-page .sp-footer__bottom {
  border-top-color: rgba(245, 240, 232, 0.08);
  color: rgba(245, 240, 232, 0.4);
  padding-top: 2rem;
}
body.sp-marketing .sp-footer__social a,
body.sp-mkt-page .sp-footer__social a {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  color: rgba(245, 240, 232, 0.5);
  font-size: 1.15rem;
}
body.sp-marketing .sp-footer__social a:hover,
body.sp-mkt-page .sp-footer__social a:hover {
  background: none;
  color: var(--sp-color-coral, #e63946);
  transform: translateY(-2px);
}
body.sp-mkt-page .sp-footer__title,
body.sp-mkt-page .sp-footer__brand,
body.sp-mkt-page .sp-footer a {
  color: var(--sp-color-cream-muted, #c8c0b4);
}
body.sp-mkt-page .sp-footer__brand,
body.sp-mkt-page .sp-footer__title { color: #fff; }
body.sp-mkt-page .sp-footer a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.sp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-reveal-delay-1 { transition-delay: 0.1s; }
.sp-reveal-delay-2 { transition-delay: 0.2s; }
.sp-reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile tweaks */
@media (max-width: 640px) {
  .sp-mkt-hero {
    padding-top: calc(var(--sp-header-height) + 1.5rem);
    min-height: auto;
    padding-bottom: 3.5rem;
  }
  .sp-mkt-scroll { display: none; }
  .sp-mkt-section { padding: 3.5rem 1.15rem; }
  body.sp-marketing .sp-nav { display: none; }
}

/* =========================================================
   Global page surfaces (landings, plugins, about, guides)
   ========================================================= */

body.sp-mkt-page .sp-main {
  padding: 0;
  padding-top: var(--sp-header-height);
  max-width: none;
  background: var(--sp-color-forest-deep, #0d1f1a);
  color: var(--sp-color-cream, #f5f0e8);
}

body.sp-mkt-page .sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 31, 26, 0.92);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  backdrop-filter: blur(14px);
}

body.sp-mkt-page .sp-logo,
body.sp-mkt-page .sp-nav a,
body.sp-mkt-page .sp-menu-btn {
  color: var(--sp-color-cream, #f5f0e8);
}

body.sp-mkt-page .sp-nav a:hover {
  color: #fff;
}

body.sp-mkt-page .sp-container {
  max-width: 920px;
  padding-inline: 1.25rem;
  padding-block: 2.5rem 4rem;
}

/* Landing hero */
body.sp-mkt-page .sp-landing-hero,
body.sp-mkt-page .sp-hero {
  text-align: start;
  padding: 2.5rem 0 2rem;
  margin-bottom: 1rem;
}

body.sp-mkt-page .sp-landing-hero__badge,
body.sp-mkt-page .sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 1rem;
}

body.sp-mkt-page .sp-landing-hero__badge::before,
body.sp-mkt-page .sp-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sp-color-coral, #e63946);
  flex-shrink: 0;
}

body.sp-mkt-page .sp-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1rem;
}

body.sp-mkt-page .sp-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sp-color-cream-muted, #c8c0b4);
  max-width: 38em;
  margin: 0;
}

body.sp-mkt-page .sp-landing-section {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

body.sp-mkt-page .sp-landing-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
}

body.sp-mkt-page .sp-story p,
body.sp-mkt-page .sp-landing-section p {
  color: var(--sp-color-cream-muted, #c8c0b4);
  line-height: 1.75;
}

body.sp-mkt-page .sp-pain,
body.sp-mkt-page .sp-solution {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 57, 70, 0.35);
  background: rgba(230, 57, 70, 0.08);
  color: #fff;
  font-weight: 600;
  line-height: 1.65;
}

body.sp-mkt-page .sp-solution {
  border-color: rgba(245, 240, 232, 0.15);
  background: rgba(245, 240, 232, 0.05);
}

body.sp-mkt-page .sp-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

@media (min-width: 768px) {
  body.sp-mkt-page .sp-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.sp-mkt-page .sp-feature {
  padding: 1.5rem 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  background: transparent;
}

@media (min-width: 768px) {
  body.sp-mkt-page .sp-feature {
    border-bottom: none;
    border-left: 1px solid rgba(245, 240, 232, 0.12);
    padding: 1.5rem 1.25rem;
  }
  body.sp-mkt-page .sp-feature:first-child { border-left: none; padding-right: 0; }
  body.sp-mkt-page .sp-feature:last-child { padding-left: 0; }
}

body.sp-mkt-page .sp-feature h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0.35rem 0 0.4rem;
}

body.sp-mkt-page .sp-feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sp-color-cream-muted, #c8c0b4);
}

body.sp-mkt-page .sp-feature:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.9;
}

body.sp-mkt-page .sp-fit-box {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 240, 232, 0.12);
  background: rgba(245, 240, 232, 0.04);
}

body.sp-mkt-page .sp-fit-box h3 {
  color: #fff;
  margin: 0 0 1rem;
}

body.sp-mkt-page .sp-fit-list {
  margin: 0;
  padding-right: 1.2rem;
  color: var(--sp-color-cream-muted, #c8c0b4);
  line-height: 1.8;
}

body.sp-mkt-page .sp-cta-box {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a2e28, #0d1f1a);
  border: 1px solid rgba(230, 57, 70, 0.25);
  text-align: center;
}

body.sp-mkt-page .sp-cta-box h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

body.sp-mkt-page .sp-cta-box p {
  color: var(--sp-color-cream-muted, #c8c0b4);
}

body.sp-mkt-page .sp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

body.sp-mkt-page .sp-btn--primary {
  border-radius: 999px;
  background: var(--sp-color-coral, #e63946);
  border: none;
  color: #fff;
}

body.sp-mkt-page .sp-btn--outline {
  border-radius: 999px;
  border-color: rgba(245, 240, 232, 0.3);
  color: var(--sp-color-cream, #f5f0e8);
}

body.sp-mkt-page a:not(.sp-btn) {
  color: #f07178;
}

body.sp-mkt-page .sp-footer {
  background: #0a1814;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

/* Product cards on plugins — line columns */
body.sp-mkt-page .sp-products-grid {
  gap: 0;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

body.sp-mkt-page .sp-product-card,
body.sp-mkt-page .sp-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

@media (min-width: 768px) {
  body.sp-mkt-page .sp-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body.sp-mkt-page .sp-product-card,
  body.sp-mkt-page .sp-card {
    border-bottom: none;
    border-left: 1px solid rgba(245, 240, 232, 0.12);
  }
  body.sp-mkt-page .sp-product-card:first-child,
  body.sp-mkt-page .sp-card:first-child {
    border-left: none;
  }
}

body.sp-mkt-page .sp-product-card:hover,
body.sp-mkt-page .sp-card:hover {
  border-color: rgba(245, 240, 232, 0.12);
  transform: none;
}

body.sp-mkt-page .sp-product-card__title a,
body.sp-mkt-page .sp-product-card__title {
  color: #fff;
}

body.sp-mkt-page .sp-product-card__desc {
  color: var(--sp-color-cream-muted, #c8c0b4);
}

body.sp-mkt-page .sp-faq-item {
  border-bottom-color: rgba(245, 240, 232, 0.12);
}
body.sp-mkt-page .sp-faq-item summary {
  color: #fff;
}
body.sp-mkt-page .sp-faq-body {
  color: var(--sp-color-cream-muted, #c8c0b4);
}

/* =========================================================
   Account — یکپارچه با بقیه‌ی سایت (تیره، همون زبان مارکتینگ)
   قبلاً این‌جا یه override «روشن و خط‌محور» جدا برای صفحه‌ی حساب کاربری بود (تصمیم قدیمی، صریحاً
   تیره رو روشن می‌کرد) — چون کاربر خواسته این صفحه با بقیه‌ی سایت یکپارچه (تیره) باشه حذف شد.
   حالا account.php هم تو mkt_templates هست (سربرگ/فوتر شناور مثل بقیه‌ی صفحات داخلی می‌گیره) و
   کارت‌های داشبورد از توکن‌های تم‌محور خودِ account.css (که از قبل درست تیره بودن) استفاده می‌کنن. */
body.sp-account-page .sp-account__avatar {
  border-radius: 12px;
}
body.sp-account-page .sp-btn--primary {
  border-radius: 999px;
}
body.sp-account-page .sp-btn--outline {
  border-radius: 999px;
}

/* =========================================================
   OTP Modal
   ========================================================= */
.sp-otp-modal__dialog {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid rgba(15, 20, 18, 0.08);
  box-shadow: 0 24px 64px rgba(13, 31, 26, 0.35) !important;
}

.sp-otp-modal__backdrop {
  background: rgba(13, 31, 26, 0.72) !important;
  backdrop-filter: blur(6px);
}

.sp-otp__logo {
  background: linear-gradient(135deg, #e63946, #c1121f) !important;
  border-radius: 16px !important;
}

.sp-otp__btn.sp-btn--primary,
.sp-otp .sp-btn--primary {
  border-radius: 999px !important;
  background: #e63946 !important;
  border: none !important;
  width: 100%;
  font-weight: 700;
}

.sp-otp__input:focus,
.sp-otp__digit:focus {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
}

.sp-otp__digit {
  border-radius: 10px !important;
}

/* Mobile nav dark when marketing */
body.sp-marketing .sp-mobile-nav,
body.sp-mkt-page .sp-mobile-nav {
  background: #0d1f1a;
  color: #f5f0e8;
}

body.sp-marketing .sp-mobile-nav a,
body.sp-mkt-page .sp-mobile-nav a {
  color: #f5f0e8;
  border-bottom-color: rgba(245, 240, 232, 0.1);
}


/* Account hover menu */
.sp-account-menu {
  position: relative;
}
.sp-account-menu__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 140px;
  padding: 0.4rem;
  background: #1a2e28;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  z-index: 1200;
}
.sp-account-menu:hover .sp-account-menu__dropdown,
.sp-account-menu:focus-within .sp-account-menu__dropdown {
  display: block;
}
.sp-account-menu__dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: #f5f0e8 !important;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
}
.sp-account-menu__dropdown a:hover {
  background: rgba(245, 240, 232, 0.08);
}

/* Cart on dark header */
body.sp-marketing .sp-cart-btn,
body.sp-mkt-page .sp-cart-btn {
  color: #f5f0e8;
}
body.sp-theme { background: #0d1f1a; }


/* =========================================================
   OTP parity 0.0.55 — fixed hero, RTL side-nav, chrome
   ========================================================= */

/* توجه: استایل هدر/hero-fixed/sp-main/سایدبار مخصوص هوم‌پیج قبلاً این‌جا دوباره تعریف شده بودن،
   ولی چون otp-shell.css (فقط رو هوم‌پیج لود می‌شه) بعد از این فایل لود می‌شه و همون سلکتورها رو
   دوباره با !important تعریف کرده، این‌جا همیشه override می‌شدن — یعنی کد مرده بودن؛ حذف شدن.
   تعریف واقعی و زنده‌شون فقط تو otp-shell.css هست. */

/* Sections over fixed hero */
.sp-over-hero {
  position: relative;
  z-index: 1;
  background: transparent !important;
  min-height: auto;
}
.sp-mkt-hero.sp-over-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 4rem;
  background: transparent !important;
}

/* Solid sections after hero stack */
.sp-mkt-section:not(.sp-over-hero),
.sp-mkt-cta {
  position: relative;
  z-index: 2;
}

/* استایل سایدبار (.sp-side-nav) هم قبلاً این‌جا تکراری بود — otp-shell.css (تنها جایی که
   #sp-side-nav وجود داره، چون فقط هوم‌پیج) نسخه‌ی زنده و واقعی‌ش رو داره؛ این‌جا کد مرده بود. */

/* Link hover underline animation (OTP style) */
body.sp-marketing a.sp-link-ghost,
body.sp-marketing .sp-footer a,
body.sp-mkt-page a:not(.sp-btn) {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
body.sp-marketing a.sp-link-ghost:hover,
body.sp-marketing .sp-footer a:hover {
  background-size: 100% 1px;
  background-position: 0 100%;
}

/* ریویل — این تعریف تنها نسخه‌ی زنده‌ی .sp-reveal رو صفحات داخلیه (چون otp-shell.css اونجا لود
   نمی‌شه)؛ مثل نسخه‌ی هوم‌پیج، زیر prefers-reduced-motion می‌ره تا برای کاربرهای حساس به موشن
   محتوا همیشه فوری دیده بشه. */
@media (prefers-reduced-motion: no-preference) {
  .sp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .sp-mkt-section__title.sp-reveal,
  .sp-mkt-quote.sp-reveal {
    transform: translateY(56px);
  }
  .sp-mkt-section__title.sp-reveal.is-visible,
  .sp-mkt-quote.sp-reveal.is-visible {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-reveal { opacity: 1; transform: none; }
}

/* Plans cards — pricing panels */
.sp-mkt-plans {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  border: none !important;
}
@media (min-width: 900px) {
  .sp-mkt-plans { grid-template-columns: repeat(3, 1fr) !important; }
}
.sp-mkt-plan {
  background: rgba(245, 240, 232, 0.05) !important;
  border: 1px solid rgba(245, 240, 232, 0.14) !important;
  border-radius: 18px !important;
  padding: 1.85rem 1.5rem !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}
.sp-mkt-plan:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(230, 57, 70, 0.5) !important;
  box-shadow: 0 22px 48px rgba(0,0,0,0.3) !important;
  opacity: 1 !important;
}
.sp-mkt-plan--popular {
  border-color: rgba(230, 57, 70, 0.55) !important;
  background: linear-gradient(165deg, rgba(230,57,70,0.16), rgba(13,31,26,0.35)) !important;
}

/* رنگ h3/p گام‌ها رو سکشن روشن (--cream) — بقیه‌ی .sp-mkt-steps/.sp-mkt-step__num
   یه بار دیگه (بدون تکرار) بالای همین فایل تعریف شده */
.sp-mkt-section--cream .sp-mkt-step h3 { color: #0f1412; }
.sp-mkt-section--cream .sp-mkt-step p { color: #5c6560; }

/* =========================================================
   صفحات داخلی (sp-mkt-page): هیروی کوتاه + breadcrumb
   بدون سایدبار/هیروی fixed (اونا مخصوص هوم‌پیجن) — فقط هدر شیشه‌ای معمولی +
   یه هیروی تخت با پس‌زمینه‌ی تیره، بعدش همون کامپوننت‌های .sp-mkt-section/feature/step هوم‌پیج.
   ========================================================= */
.sp-mkt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: var(--sp-label-size);
  font-weight: 700;
  letter-spacing: var(--sp-label-track);
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin: 0 0 1.5rem;
}
.sp-mkt-breadcrumb a { color: inherit; text-decoration: none; }
.sp-mkt-breadcrumb a:hover { color: var(--sp-color-cream, #f5f0e8); }
.sp-mkt-breadcrumb__sep { opacity: 0.5; }
.sp-mkt-breadcrumb__current { color: var(--sp-color-cream, #f5f0e8); }

.sp-mkt-page-hero {
  position: relative;
  background: var(--sp-color-forest-deep, #0d1f1a);
  color: var(--sp-color-cream, #f5f0e8);
  padding: 3rem var(--sp-gutter, 1.5rem) 3rem;
}
.sp-mkt-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--sp-label-size);
  font-weight: 700;
  letter-spacing: var(--sp-label-track);
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 1rem;
}
.sp-mkt-page-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sp-primary, #e63946);
  flex-shrink: 0;
}
.sp-mkt-page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 22ch;
}
.sp-mkt-page-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.75);
  max-width: 46ch;
  margin: 0;
}
.sp-mkt-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

/* لینک متنی سبک برای فوتر/پاورقی صفحات داخلی (بدون رنگ coral، فقط زیرخط انیمیشنی) */
body.sp-mkt-page .sp-mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}


/* Legal page lists */
.sp-legal-block { margin-bottom: 2rem; }
.sp-legal-block h2 { margin-bottom: 0.75rem; }
.sp-legal-block h3 { margin: 1rem 0 0.5rem; font-size: 1.05rem; }
.sp-legal-list { margin: 0; padding-right: 1.25rem; line-height: 1.85; color: var(--sp-text-muted, #5c6560); }
.sp-legal-list li { margin-bottom: 0.55rem; }


/* Extra breathing room for large multi-line headlines (prevents glyph collision) */
.sp-mkt-hero__title {
  line-height: 1.22;
}
.sp-mkt-section__title {
  line-height: 1.35;
}
.sp-mkt-page-hero__title {
  line-height: 1.32;
}
.sp-mkt-quote {
  line-height: 1.55;
}
.sp-mkt-cta h2,
.sp-mkt-cta .sp-reveal {
  line-height: 1.35;
}
body.sp-mkt-page .sp-hero__title {
  line-height: 1.28;
}
@media (max-width: 640px) {
  .sp-mkt-hero__title {
    line-height: 1.25;
  }
  .sp-mkt-section__title {
    line-height: 1.38;
  }
}


/* unified card dividers v2 — only vertical between sibling cards on desktop */
@media (min-width: 768px) {
  .sp-mkt-features { border: none !important; }
  .sp-mkt-feature {
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 1px solid rgba(245, 240, 232, 0.14) !important;
  }
  .sp-mkt-feature:first-child { border-left: none !important; }
}
@media (min-width: 800px) {
  .sp-mkt-steps { border: none !important; }
  .sp-mkt-step {
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 1px solid rgba(245, 240, 232, 0.14) !important;
  }
  .sp-mkt-step:first-child { border-left: none !important; }
}
.sp-mkt-section--bone .sp-mkt-feature,
.sp-mkt-section--putty .sp-mkt-step {
  border-left-color: rgba(15, 20, 18, 0.12) !important;
}
.sp-mkt-section--bone .sp-mkt-feature:first-child,
.sp-mkt-section--putty .sp-mkt-step:first-child {
  border-left: none !important;
}

/* =========================================================
   Homepage polish pack (contrast, hierarchy, rail, cards)
   ========================================================= */

/* Hero type */
.sp-mkt-hero__title {
  line-height: 1.28 !important;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.sp-mkt-hero__title-em {
  display: inline-block;
  margin-top: 0.15em;
  color: var(--sp-color-cream, #f5f0e8);
}
.sp-mkt-hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important;
  line-height: 1.75 !important;
  color: rgba(245, 240, 232, 0.88) !important;
  max-width: 36rem;
  font-weight: 500;
}
.sp-mkt-hero__actions .sp-link-ghost--secondary {
  opacity: 0.78;
  font-size: 0.92rem;
  border-bottom-color: rgba(245, 240, 232, 0.25);
}
.sp-mkt-hero__actions .sp-link-ghost--secondary:hover {
  opacity: 1;
}
.sp-mkt-trust {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.62);
  letter-spacing: 0.01em;
}
.sp-mkt-trust--hero {
  margin-top: 1.5rem;
}
.sp-mkt-section--spruce .sp-mkt-trust {
  text-align: center;
  margin-top: 1.75rem;
  color: rgba(245, 240, 232, 0.7);
}

/* Hero depth */
.sp-hero-fixed__veil {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(230, 57, 70, 0.12), transparent 55%),
    linear-gradient(105deg, rgba(9, 20, 15, 0.97) 0%, rgba(9, 20, 15, 0.9) 42%, rgba(9, 20, 15, 0.78) 100%) !important;
}

/* Section rhythm */
.sp-mkt-section {
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
}
.sp-mkt-section--tight {
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
.sp-mkt-section__lead {
  color: inherit;
  opacity: 0.92;
  max-width: 40rem;
}

/* Bone / putty contrast for body text */
.sp-mkt-section--bone .sp-mkt-section__title,
.sp-mkt-section--putty .sp-mkt-section__title {
  color: #0f1412 !important;
}
.sp-mkt-section--bone .sp-mkt-section__lead,
.sp-mkt-section--putty .sp-mkt-section__lead {
  color: #3d4741 !important;
  opacity: 1;
}
.sp-mkt-section--bone .sp-mkt-feature h3,
.sp-mkt-section--putty .sp-mkt-step h3 {
  color: #0f1412 !important;
}
.sp-mkt-section--bone .sp-mkt-feature p,
.sp-mkt-section--putty .sp-mkt-step p {
  color: #4a554e !important;
  line-height: 1.75;
  font-size: 0.95rem;
}
.sp-mkt-section--putty .sp-mkt-step__num {
  color: var(--sp-color-coral, #e63946) !important;
}

/* Features: only vertical dividers on desktop */
@media (min-width: 768px) {
  .sp-mkt-features {
    border: none !important;
    gap: 0 !important;
  }
  .sp-mkt-feature {
    border: none !important;
    border-left: 1px solid rgba(15, 20, 18, 0.12) !important;
    padding: 1.25rem 1.35rem !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .sp-mkt-feature:first-child {
    border-left: none !important;
    padding-right: 0 !important;
  }
  .sp-mkt-feature:last-child {
    padding-left: 0 !important;
  }
}
@media (max-width: 767px) {
  .sp-mkt-feature {
    border: none !important;
    padding: 1.15rem 0 !important;
  }
  .sp-mkt-feature + .sp-mkt-feature {
    border-top: 1px solid rgba(15, 20, 18, 0.1) !important;
  }
}

/* Plan cards: primary CTA stronger */
.sp-mkt-plan__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: auto;
}
.sp-mkt-plan__cta-primary .sp-btn,
.sp-mkt-plan__cta-primary .sp-btn-osmo,
.sp-mkt-plan__cta-primary > * {
  font-weight: 800;
}
.sp-mkt-plan__more {
  font-size: 0.88rem;
  opacity: 0.75;
}
.sp-mkt-plan__more:hover {
  opacity: 1;
}
.sp-mkt-plan__price {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sp-color-cream, #f5f0e8);
  opacity: 0.9;
}

/* Metrics clearer */
.sp-mkt-metric {
  padding: 1.35rem 1rem !important;
}
.sp-mkt-metric__value {
  font-size: clamp(1.5rem, 3vw, 1.85rem) !important;
  margin-bottom: 0.35rem;
}
.sp-mkt-metric__label {
  font-size: 0.8rem !important;
  line-height: 1.4;
  color: rgba(245, 240, 232, 0.72) !important;
}
.sp-mkt-section--deep .sp-mkt-section__lead {
  color: rgba(245, 240, 232, 0.82) !important;
}

/* Side nav: desktop labels, mobile dots only */
.sp-side-nav a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sp-side-nav__num {
  font-variant-numeric: tabular-nums;
}
.sp-side-nav__label {
  opacity: 0.85;
}
@media (max-width: 960px) {
  .sp-side-nav {
    display: none !important;
  }
  .sp-rail-progress {
    display: none !important;
  }
}

/* Bottom rail: compact + show after scroll */
.sp-bottom-rail {
  gap: 0.35rem !important;
  padding: 0.35rem 0.55rem !important;
  font-size: 0.8rem !important;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sp-bottom-rail.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sp-bottom-rail a,
.sp-bottom-rail button {
  padding: 0.35rem 0.65rem !important;
}
@media (max-width: 640px) {
  .sp-bottom-rail {
    left: 0.5rem !important;
    right: 0.5rem !important;
    width: auto !important;
    justify-content: center;
  }
  .sp-bottom-rail__rule {
    display: none;
  }
}

/* CTA dual actions */
.sp-mkt-cta .sp-mkt-hero__actions {
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.sp-link-ghost--on-dark {
  color: rgba(245, 240, 232, 0.9) !important;
  border-bottom-color: rgba(245, 240, 232, 0.35) !important;
}
.sp-link-ghost--on-dark:hover {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

/* Footer hierarchy */
.sp-footer__title {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.85rem !important;
}
.sp-footer__links a {
  font-size: 0.92rem;
  opacity: 0.88;
}
.sp-footer__links a:hover,
.sp-footer__links a:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(230, 57, 70, 0.45);
  outline-offset: 2px;
}
.sp-footer__desc {
  line-height: 1.75;
  opacity: 0.8;
  max-width: 28rem;
}
.sp-footer__brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Quote section tighter */
#solution .sp-mkt-quote {
  margin: 0;
  max-width: 28ch;
  margin-inline: auto;
  text-align: center;
}
#solution .sp-mkt-wrap {
  display: flex;
  justify-content: center;
}
