/**
 * Homepage layout inspired by editorial / long-scroll patterns similar to Mode Mobile.
 * Shared tokens + header: css/ss-mm-shared.css (body.ss-branded / ss-home-mode).
 */

body.ss-home-mode {
  font-family: "DM Sans", system-ui, sans-serif;
}

/* —— Hero —— */
body.ss-home-mode .ss-mm-hero {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* flex-start: if row+center, the inner block was vertically centered and ignored “top” padding visually */
  justify-content: flex-start;
  padding-top: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem));
  padding-right: 1.5rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.ss-home-mode .ss-mm-hero-inner {
  width: 100%;
  max-width: var(--mm-max);
  margin: 0 auto;
  position: relative;
  flex-shrink: 0;
}

body.ss-home-mode .ss-mm-eyebrow {
  font-size: clamp(1.0625rem, 4.25vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-accent);
  text-align: center;
  line-height: 1.3;
}

/* Eyebrow inside each slide, above the lead / title line */
body.ss-home-mode .ss-mm-hero-copy .welcome-message > .ss-mm-eyebrow {
  margin: 0 0 0.5rem;
  width: 100%;
  flex-shrink: 0;
}

body.ss-home-mode .ss-mm-hero-copy.welcome-rotator {
  position: relative;
  width: 100%;
}

/* JS + style.css: slides are position:absolute — this wrapper supplies min-height */
body.ss-home-mode .ss-mm-hero-slides {
  position: relative;
  width: 100%;
  min-height: clamp(22rem, 52dvh, 30rem);
}

@media (min-width: 768px) {
  body.ss-home-mode .ss-mm-hero-slides {
    min-height: clamp(18rem, 34dvh, 28rem);
  }
}

body.ss-home-mode .ss-mm-hero-copy .welcome-message {
  text-align: center;
  align-items: center !important;
  /* Global style.css uses height:100% + justify-content:center on #welcome-rotator — adds empty vertical space */
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}

body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-rotator {
  height: auto !important;
  justify-content: flex-start !important;
}

@media (min-width: 1025px) {
  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-rotator {
    display: block !important;
    height: auto !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-message {
    height: auto !important;
    justify-content: flex-start !important;
  }
}

body.ss-home-mode .ss-mm-hero-copy .lead {
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  color: var(--mm-muted) !important;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
}

body.ss-home-mode .ss-mm-hero-actions {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

body.ss-home-mode .ss-mm-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1c0d00 !important;
  background: linear-gradient(135deg, #ffa040, #ff7f00);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ss-home-mode .ss-mm-btn-primary:hover {
  color: #1c0d00 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 127, 0, 0.45);
}

body.ss-home-mode[data-theme="light"] .ss-mm-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #e86800, #c45a00);
}

body.ss-home-mode[data-theme="light"] .ss-mm-btn-primary:hover {
  color: #fff !important;
}

body.ss-home-mode .ss-mm-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mm-heading) !important;
  border: 1px solid rgba(255, 127, 0, 0.6);
  background: rgba(255, 127, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 127, 0, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.ss-home-mode .ss-mm-btn-ghost:hover {
  border-color: var(--mm-accent);
  background: rgba(255, 127, 0, 0.16);
  box-shadow: 0 0 24px rgba(255, 127, 0, 0.22);
}

body.ss-home-mode[data-theme="light"] .ss-mm-btn-ghost {
  border: 1px solid rgba(232, 104, 0, 0.55);
  background: rgba(255, 127, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(232, 104, 0, 0.14);
}

body.ss-home-mode[data-theme="light"] .ss-mm-btn-ghost:hover {
  border-color: var(--mm-accent);
  background: rgba(255, 127, 0, 0.12);
  box-shadow: 0 0 20px rgba(232, 104, 0, 0.2);
}

body.ss-home-mode .ss-mm-hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
  justify-content: center;
  align-items: center;
}

body.ss-home-mode .ss-mm-hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mm-border);
  transition: background 0.3s ease, transform 0.3s ease;
}

body.ss-home-mode .ss-mm-hero-inner[data-welcome-index="0"] .ss-mm-hero-dots span:nth-child(1),
body.ss-home-mode .ss-mm-hero-inner[data-welcome-index="1"] .ss-mm-hero-dots span:nth-child(2),
body.ss-home-mode .ss-mm-hero-inner[data-welcome-index="2"] .ss-mm-hero-dots span:nth-child(3) {
  background: var(--mm-accent);
  transform: scale(1.35);
}

/* —— Video —— */
body.ss-home-mode #youtube-video {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding: 4rem 1.5rem !important;
  background: var(--mm-surface);
  border-block: 1px solid var(--mm-border);
}

body.ss-home-mode #youtube-video .video-container {
  max-width: var(--mm-max);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mm-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

body.ss-home-mode[data-theme="light"] #youtube-video .video-container {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* —— Long-scroll platform sections —— */
body.ss-home-mode .ss-mm-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--mm-border);
}

body.ss-home-mode .ss-mm-wrap {
  max-width: var(--mm-max);
  margin: 0 auto;
}

body.ss-home-mode .ss-mm-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mm-accent);
  margin-bottom: 1rem;
}

body.ss-home-mode .ss-mm-section h2 {
  font-family: "Syne", "Outfit", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--mm-heading);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

body.ss-home-mode .ss-mm-section .ss-mm-lead {
  color: var(--mm-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

body.ss-home-mode .ss-mm-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

body.ss-home-mode .ss-mm-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--mm-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.ss-home-mode .ss-mm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mm-accent);
  opacity: 0.85;
}

body.ss-home-mode .ss-mm-link-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mm-accent) !important;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

body.ss-home-mode .ss-mm-link-btn:hover {
  opacity: 0.85;
  color: var(--mm-accent) !important;
}

body.ss-home-mode .ss-mm-media {
  border-radius: 12px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--mm-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  body.ss-home-mode .ss-mm-media {
    min-height: 340px;
  }
}

/* —— Features grid —— */
body.ss-home-mode .ss-mm-features {
  padding: 5rem 1.5rem;
  background: var(--mm-bg);
}

body.ss-home-mode .ss-mm-features .feature-card {
  background: var(--mm-surface) !important;
  border: 1px solid var(--mm-border) !important;
  border-radius: 12px !important;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body.ss-home-mode .ss-mm-features .feature-card:hover {
  border-color: rgba(255, 127, 0, 0.35) !important;
  transform: translateY(-3px);
}

body.ss-home-mode .ss-mm-features .feature-title {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem !important;
  color: var(--mm-heading) !important;
}

body.ss-home-mode .ss-mm-features .feature-card p {
  color: var(--mm-muted) !important;
  font-size: 0.9rem !important;
}

body.ss-home-mode .ss-mm-features .feature-icon {
  color: var(--mm-accent) !important;
}

/* —— Testimonials —— */
body.ss-home-mode .ss-mm-testimonials {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--mm-border);
}

body.ss-home-mode .ss-mm-testimonials .section-header-overlay .introduction {
  color: var(--mm-accent) !important;
  letter-spacing: 0.16em !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
}

body.ss-home-mode .ss-mm-testimonials h2 {
  font-family: "Syne", sans-serif;
  color: var(--mm-heading);
}

body.ss-home-mode .ss-mm-testimonials .testimonial-content-wrapper {
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: 12px;
}

/* —— Contact —— */
body.ss-home-mode .ss-mm-contact {
  padding: 5rem 1.5rem 4rem;
  background: var(--mm-surface);
  border-top: 1px solid var(--mm-border);
}

body.ss-home-mode .ss-mm-contact .introduction {
  color: var(--mm-accent) !important;
  letter-spacing: 0.14em !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
}

body.ss-home-mode .ss-mm-contact h3,
body.ss-home-mode .ss-mm-contact .element-header h3 {
  font-family: "Syne", sans-serif;
  color: var(--mm-heading);
}

/* —— Footer —— */
body.ss-home-mode .ss-mm-footer {
  background: #050506;
  color: rgba(255, 255, 255, 0.55);
  padding: 4rem 1.5rem 2rem;
  text-align: left;
  border-top: 1px solid var(--mm-border);
}

body.ss-home-mode[data-theme="light"] .ss-mm-footer {
  background: #e4e4e7;
  color: rgba(0, 0, 0, 0.6);
}

body.ss-home-mode .ss-mm-footer h6 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

body.ss-home-mode[data-theme="light"] .ss-mm-footer h6 {
  color: #18181b;
}

body.ss-home-mode .ss-mm-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.ss-home-mode .ss-mm-footer a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

body.ss-home-mode .ss-mm-footer a:hover {
  color: var(--mm-accent);
}

body.ss-home-mode .ss-mm-footer-legal {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

body.ss-home-mode[data-theme="light"] .ss-mm-footer-legal {
  border-top-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.45);
}

body.ss-home-mode .ss-mm-footer-legal a {
  display: inline;
  padding: 0;
}

body.ss-home-mode .footer-small {
  display: none;
}

/* Store button in hero message 3 */
body.ss-home-mode .welcome-rotator .store-btn {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
}

/* —— Mobile / tablet: undo global style.css rules on #welcome-rotator / .welcome-rotator ——
   Those rules force 60vh hero, centered copy, and 18px titles — they break ss-mm-hero. */
@media (max-width: 767.98px) {
  body.ss-home-mode {
    overflow-x: clip;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: 70vh !important;
    max-height: 70dvh !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-rotator {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .ss-mm-hero-slides {
    position: relative !important;
    width: 100% !important;
    min-height: clamp(13rem, 34dvh, calc(70dvh - 5.5rem)) !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-message {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-message:not(.active) {
    pointer-events: none !important;
    z-index: 1 !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-message.active {
    pointer-events: auto !important;
    z-index: 2 !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .lead,
  body.ss-home-mode .ss-mm-hero .lead {
    text-align: center !important;
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
  }

  body.ss-home-mode #youtube-video {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.ss-home-mode #youtube-video .video-container {
    height: auto !important;
    min-height: 0 !important;
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: none !important;
  }

  body.ss-home-mode #youtube-video .video-container iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }

  body.ss-home-mode .ss-mm-hero {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* Header ~56–72px + generous gap; safe-area for notched phones */
    padding-top: max(3.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem)) !important;
    padding-right: 1rem !important;
    padding-bottom: 1.75rem !important;
    padding-left: 1rem !important;
    min-height: 0 !important;
    max-height: 70vh !important;
    max-height: 70dvh !important;
    box-sizing: border-box !important;
  }

  body.ss-home-mode .ss-mm-hero-inner {
    padding-bottom: 0.5rem;
    text-align: center;
  }

  body.ss-home-mode .ss-mm-section,
  body.ss-home-mode .ss-mm-features,
  body.ss-home-mode .ss-mm-testimonials,
  body.ss-home-mode .ss-mm-contact {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.ss-home-mode .ss-mm-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  body.ss-home-mode .ss-mm-btn-primary,
  body.ss-home-mode .ss-mm-btn-ghost {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  /* Homepage hero (#welcome-rotator): keep both CTAs on one row on narrow screens */
  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem 0.65rem;
    max-width: min(100%, 22rem);
    margin-left: auto;
    margin-right: auto;
  }

  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions .ss-mm-btn-primary,
  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions .ss-mm-btn-ghost {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.6875rem;
  }

  body.ss-home-mode .ss-mm-footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  body.ss-home-mode .ss-mm-footer-legal {
    margin-top: 2rem;
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.ss-home-mode #welcome-rotator.ss-mm-hero {
    height: auto !important;
    min-height: calc(100vh - 88px) !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-rotator {
    display: block !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .welcome-message {
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  body.ss-home-mode #youtube-video {
    height: auto !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .lead,
  body.ss-home-mode .ss-mm-hero .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.ss-home-mode #welcome-rotator.ss-mm-hero .lead,
  body.ss-home-mode .ss-mm-hero .lead {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Compact hero: headline + product grid (no full-viewport rotator) */
body.ss-home-mode #welcome-rotator.ss-mm-hero.ss-mm-hero--compact {
  min-height: 0 !important;
  padding-top: max(4rem, calc(env(safe-area-inset-top, 0px) + 3rem));
  padding-bottom: 2.75rem;
}

/* —— Landing: headline + product strip —— */
body.ss-home-mode .ss-mm-landing-headline {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  color: var(--mm-heading);
  max-width: 46rem;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

body.ss-home-mode .ss-landing-products {
  padding: 0 1.5rem 4.5rem;
  max-width: var(--mm-max);
  margin: 0 auto;
}

body.ss-home-mode .ss-landing-products-inner {
  margin-top: 0.5rem;
}

body.ss-home-mode .ss-landing-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.75rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

body.ss-home-mode a.ss-landing-product-card:hover {
  border-color: rgba(255, 127, 0, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
  color: inherit;
}

body.ss-home-mode .ss-landing-product-card.is-soon {
  cursor: default;
  opacity: 0.95;
}

body.ss-home-mode .ss-landing-product-card.is-soon:hover {
  transform: none;
  border-color: var(--mm-border);
  box-shadow: none;
}

body.ss-home-mode .ss-landing-product-logo {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

body.ss-home-mode .ss-landing-product-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--mm-accent);
}

body.ss-home-mode .ss-landing-product-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--mm-heading);
}

body.ss-home-mode .ss-landing-product-line {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mm-muted);
  margin: 0;
  max-width: 16rem;
}

body.ss-home-mode[data-theme="light"] .ss-landing-product-card {
  background: rgba(255, 255, 255, 0.65);
}

body.ss-home-mode[data-theme="light"] a.ss-landing-product-card:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

/* —— Stack / modules —— */
body.ss-home-mode .ss-stack-section {
  padding: 2.5rem 1.5rem 3rem;
  max-width: var(--mm-max);
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

body.ss-home-mode .ss-stack-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-accent);
  text-align: center;
  margin-bottom: 0.5rem;
}

body.ss-home-mode .ss-stack-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--mm-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

body.ss-home-mode .ss-stack-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mm-muted);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.25rem;
}

body.ss-home-mode #welcome-rotator .ss-stack-lead {
  margin-bottom: 1.5rem !important;
}

body.ss-home-mode .ss-hero-tagline {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: var(--mm-heading);
  max-width: 50rem;
  margin: 0.9rem auto 0;
  letter-spacing: -0.01em;
  opacity: 0.95;
}

body.ss-home-mode #welcome-rotator .ss-hero-tagline {
  max-width: 56rem;
}

body.ss-home-mode .ss-hero-subhead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  max-width: 50rem;
  margin: 1.15rem auto 0;
}

body.ss-home-mode[data-theme="light"] .ss-hero-subhead {
  color: var(--mm-muted);
}

body.ss-home-mode .ss-hero-divider {
  border: none;
  border-top: 1px solid var(--mm-border);
  max-width: 10rem;
  margin: 1.75rem auto 0;
  opacity: 0.9;
}

body.ss-home-mode .ss-hero-support-line {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--mm-muted);
  text-align: center;
  max-width: 38rem;
  margin: 1.5rem auto 0;
  opacity: 0.92;
}

body.ss-home-mode #welcome-rotator .ss-mm-hero-actions {
  margin-top: 2rem;
  flex-wrap: nowrap;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  gap: 0.75rem 1rem;
}

@media (max-width: 576px) {
  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: min(100%, 22rem);
  }

  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions .ss-mm-btn-primary,
  body.ss-home-mode #welcome-rotator .ss-mm-hero-actions .ss-mm-btn-ghost {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    justify-content: center;
  }
}

body.ss-home-mode #welcome-rotator .ss-mm-landing-headline {
  max-width: 56rem;
  font-size: clamp(1.45rem, 4.2vw, 2.5rem);
  line-height: 1.18;
}

/* —— Value prop (page 2) —— */
body.ss-home-mode .ss-value-prop-section {
  padding: 3rem 1.5rem 2.5rem;
  max-width: var(--mm-max);
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

body.ss-home-mode .ss-value-prop-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

body.ss-home-mode[data-theme="light"] .ss-value-prop-inner {
  background: rgba(255, 255, 255, 0.55);
}

body.ss-home-mode .ss-value-prop-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  color: var(--mm-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

body.ss-home-mode .ss-value-prop-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mm-muted);
  margin-bottom: 1rem;
}

body.ss-home-mode .ss-value-prop-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mm-heading);
  margin-bottom: 0.5rem;
}

body.ss-home-mode .ss-value-prop-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mm-muted);
}

body.ss-home-mode .ss-value-prop-list li {
  margin-bottom: 0.35rem;
}

body.ss-home-mode .ss-value-prop-close {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mm-muted);
  margin: 0;
}

body.ss-home-mode .ss-module-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

body.ss-home-mode[data-theme="light"] .ss-module-card {
  background: rgba(255, 255, 255, 0.55);
}

body.ss-home-mode .ss-module-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--mm-heading);
}

body.ss-home-mode .ss-module-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--mm-muted);
}

body.ss-home-mode .ss-module-list li {
  margin-bottom: 0.35rem;
}

body.ss-home-mode .ss-platform-foundations {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 127, 0, 0.35);
  background: rgba(255, 127, 0, 0.06);
  text-align: center;
}

body.ss-home-mode .ss-platform-foundations p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mm-muted);
}

body.ss-home-mode .ss-examples-heading {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--mm-heading);
  margin-bottom: 0.5rem;
}

body.ss-home-mode .ss-examples-sub {
  font-size: 0.9rem;
  color: var(--mm-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

body.ss-home-mode .ss-landing-products--examples {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  scroll-margin-top: 5rem;
}

/* —— Four products (below hero) —— */
body.ss-home-mode .ss-products-section {
  padding: 2.5rem 1rem 4rem;
  max-width: var(--mm-max);
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

body.ss-home-mode .ss-products-section-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--mm-heading);
  letter-spacing: -0.02em;
  margin: 0 auto 2.5rem;
  max-width: 36rem;
}

body.ss-home-mode .ss-product-block {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

body.ss-home-mode[data-theme="light"] .ss-product-block {
  background: rgba(255, 255, 255, 0.55);
}

body.ss-home-mode .ss-product-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-accent, #ff7f00);
  margin: 0 0 0.5rem;
}

body.ss-home-mode .ss-product-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 700;
  color: var(--mm-accent, #ff7f00);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.ss-home-mode .ss-product-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mm-heading);
  margin: 0 0 1rem;
  line-height: 1.45;
  opacity: 0.95;
}

body.ss-home-mode .ss-product-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 1.25rem;
}

body.ss-home-mode[data-theme="light"] .ss-product-desc {
  color: var(--mm-muted);
}

body.ss-home-mode .ss-product-helps-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mm-heading);
  margin: 0 0 0.65rem;
}

body.ss-home-mode .ss-product-helps-list {
  margin: 0 0 1.35rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mm-muted);
}

body.ss-home-mode .ss-product-helps-list li {
  margin-bottom: 0.4rem;
}

body.ss-home-mode .ss-product-outro {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(255, 127, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

body.ss-home-mode[data-theme="light"] .ss-product-outro {
  border-top-color: rgba(232, 104, 0, 0.25);
}

body.ss-home-mode .ss-product-mini {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mm-muted);
  margin: 0;
  font-style: italic;
}

body.ss-home-mode .ss-product-try {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mm-accent) !important;
  padding: 0.45rem 0;
  border-bottom: 2px solid rgba(255, 127, 0, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

body.ss-home-mode .ss-product-try:hover {
  color: #ffa040 !important;
  border-bottom-color: var(--mm-accent);
}

body.ss-home-mode[data-theme="light"] .ss-product-try {
  border-bottom-color: rgba(232, 104, 0, 0.45);
}

body.ss-home-mode .ss-product-divider {
  border: none;
  border-top: 1px solid var(--mm-border);
  max-width: 12rem;
  margin: 2rem auto;
  opacity: 0.85;
}

/* —— LaunchSocial teaser (homepage) —— */
body.ss-home-mode .ss-launchsocial-teaser {
  padding: 2.5rem 1rem 4rem;
  max-width: var(--mm-max);
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

body.ss-home-mode .ss-launchsocial-teaser-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mm-accent, #ff7f00);
  margin: 0 0 0.65rem;
}

body.ss-home-mode .ss-launchsocial-teaser-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--mm-heading);
  letter-spacing: -0.02em;
  margin: 0 auto 1rem;
  max-width: 36rem;
}

body.ss-home-mode .ss-launchsocial-teaser-copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--mm-muted);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}

body.ss-home-mode .ss-launchsocial-teaser-actions {
  margin-top: 0;
}

/* —— LaunchSocial page —— */
body.ss-home-mode.ss-launch-page .ss-ls-hero {
  padding-bottom: 4rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-page-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mm-accent, #ff7f00);
  margin: 0 0 0.75rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-hero-sub {
  margin-top: 1rem;
  max-width: 50rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-section {
  padding: 2.5rem 1rem 3rem;
  max-width: var(--mm-max);
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-accent, #ff7f00);
  margin: 0 0 0.5rem;
  text-align: center;
}

body.ss-home-mode.ss-launch-page .ss-ls-section-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  color: var(--mm-heading);
  letter-spacing: -0.02em;
  margin: 0 auto 1.25rem;
  max-width: 44rem;
  line-height: 1.25;
}

body.ss-home-mode.ss-launch-page .ss-ls-section-title--sub {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
}

body.ss-home-mode.ss-launch-page .ss-ls-section-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--mm-muted);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-section-lead--emphasis {
  font-weight: 600;
  color: var(--mm-heading);
  opacity: 0.92;
}

body.ss-home-mode.ss-launch-page .ss-ls-prose {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mm-muted);
}

body.ss-home-mode.ss-launch-page .ss-ls-prose p {
  margin-bottom: 1rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-prose p:last-child {
  margin-bottom: 0;
}

body.ss-home-mode.ss-launch-page .ss-ls-section-rule {
  border: none;
  border-top: 1px solid var(--mm-border);
  max-width: min(18rem, 90vw);
  margin: 0 auto;
  opacity: 0.85;
}

body.ss-home-mode.ss-launch-page .ss-ls-pillar-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

body.ss-home-mode.ss-launch-page[data-theme="light"] .ss-ls-pillar-card {
  background: rgba(255, 255, 255, 0.55);
}

body.ss-home-mode.ss-launch-page .ss-ls-pillar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--mm-heading);
  margin: 0 0 0.5rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-pillar-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mm-muted);
  margin: 0;
}

body.ss-home-mode.ss-launch-page .ss-ls-core {
  max-width: 48rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-intro {
  margin-bottom: 1.75rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-faq {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 127, 0, 0.22);
  background: rgba(255, 127, 0, 0.06);
  text-align: left;
}

body.ss-home-mode.ss-launch-page[data-theme="light"] .ss-ls-core-faq {
  border-color: rgba(232, 104, 0, 0.28);
  background: rgba(232, 104, 0, 0.08);
}

body.ss-home-mode.ss-launch-page .ss-ls-core-faq-question {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--mm-heading);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-faq-answer {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--mm-muted);
  margin: 0;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-block {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0 0.5rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-name {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--mm-heading);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mm-muted);
  margin: 0 0 0.85rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mm-muted);
}

body.ss-home-mode.ss-launch-page .ss-ls-core-list li {
  margin-bottom: 0.4rem;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mm-muted);
  font-style: italic;
}

body.ss-home-mode.ss-launch-page .ss-ls-core-divider {
  margin: 1.75rem auto;
}

body.ss-home-mode.ss-launch-page .ss-ls-audience-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--mm-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

body.ss-home-mode.ss-launch-page[data-theme="light"] .ss-ls-audience-card {
  background: rgba(255, 255, 255, 0.55);
}

body.ss-home-mode.ss-launch-page .ss-ls-audience-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mm-heading);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

body.ss-home-mode.ss-launch-page .ss-ls-audience-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mm-muted);
  margin: 0;
}

body.ss-home-mode.ss-launch-page .ss-landing-products {
  padding-bottom: 4rem;
}

