/* Homepage mobile layouts and verified social profile links. */
.social-platform.is-live::after { content: "LIVE"; color: var(--lime); }
.social-platform.is-live:focus-visible { outline: 3px solid #ff2aa1; outline-offset: 4px; }
.hero-peptide-cta { display: none; }
.hero h1 .hero-life-back,
.hero h1 .hero-back {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 930px; }
  .hero > .hero-content { padding-bottom: 390px; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 10.4vw, 44px);
    line-height: 1.08;
    white-space: nowrap;
  }
  .hero h1 .hero-accent {
    display: block;
    font-size: clamp(24px, 8.4vw, 40px);
    line-height: 1.12;
    letter-spacing: -1.2px;
    white-space: nowrap;
  }
  .hero h1 .hero-life-back { display: inline; white-space: inherit; }
  .hero h1 .hero-back { color: #ff2aa1; }
  .footer-cta h2 {
    max-width: 100%;
    font-size: clamp(26px, 8.4vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
    white-space: nowrap;
  }
  .footer-cta .trust-chips {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 6px;
    width: 100%;
    overflow: visible;
  }
  .footer-cta .trust-chips span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 8px 5px;
    font-size: clamp(10px, 2.65vw, 12px);
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }
  .faq-aside h2 {
    max-width: 100%;
    font-size: clamp(19px, 5.7vw, 30px);
    line-height: 1.16;
    letter-spacing: -.65px;
    white-space: nowrap;
  }
  .faq-aside h2 .faq-partner-accent { color: #adff19; }
  .faq-aside h2 .faq-progress-accent { color: #ff2aa1; }
  .faq-list h2 {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 36px);
    line-height: 1.12;
    letter-spacing: -1px;
    white-space: nowrap;
  }
  #tv-nix-video-title {
    max-width: 100%;
    font-size: clamp(25px, 7.3vw, 38px);
    line-height: 1.16;
    letter-spacing: -1px;
  }
  #tv-nix-video-title .tv-title-line { display: block; white-space: nowrap; }
  #tv-nix-video-title .tv-title-healthy { display: inline-block; width: auto; margin-bottom: 0; }
  .tv-creator-video-copy .tv-video-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .tv-creator-video-copy .tv-video-tags span {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 8px 6px;
    font-size: clamp(9px, 2.55vw, 12px);
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }
  .tv-creator-video-copy .tv-video-microcopy {
    width: 100%;
    max-width: none;
    font-size: clamp(8px, 2.6vw, 11px);
    letter-spacing: -.1px;
    white-space: nowrap;
  }
  .tv-comeback-title .tv-comeback-lime {
    color: #adff19;
    text-shadow: 0 0 18px rgba(173, 255, 25, .16);
  }
  .tv-comeback-title .tv-comeback-pink {
    color: #ff2aa1;
    text-shadow: 0 0 18px rgba(255, 42, 161, .2);
  }
  .hero .button-row { flex-direction: column; gap: 12px; }
  .hero .hero-peptide-cta {
    display: inline-flex;
    width: 100%;
    min-height: 58px;
    color: #fff;
    border: 2px solid #ff2aa1;
    background: rgba(255, 42, 161, .08);
    box-shadow: 0 0 18px rgba(255, 42, 161, .12);
  }
  .hero .hero-peptide-cta:hover,
  .hero .hero-peptide-cta:focus-visible { background: rgba(255, 42, 161, .2); }

  #mobile-process-rail,
  #mobile-journey-rail,
  #mobile-pillars-rail,
  #mobile-pricing-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 28px);
    align-items: stretch;
    gap: 14px;
    width: calc(100% + 8px);
    max-width: none;
    margin: 0 -4px;
    padding: 12px 4px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #ff2aa1 transparent;
  }
  .mobile-card-rail > article {
    min-width: 0;
    scroll-snap-align: start;
  }
  .mobile-card-rail:focus-visible { outline: 2px solid #ff2aa1; outline-offset: 3px; }
  #process .process-grid .process-card .process-copy h3 { white-space: normal !important; }
  #mobile-process-rail .process-card { height: auto; min-height: 0; }
  #mobile-journey-rail::before { display: none; }
  #mobile-journey-rail .journey-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
  }
  #mobile-journey-rail .journey-node { position: relative; left: auto; top: auto; margin-left: 8px; }
  #mobile-journey-rail .journey-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  #mobile-journey-rail .journey-copy { order: 1; padding: 22px; flex: 1; }
  #mobile-journey-rail .journey-panel img { order: 2; height: 190px; min-height: 190px; }
  #mobile-pillars-rail .pillar-copy { padding: 22px; min-height: 0; }

  .mobile-rail-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 20px;
    color: inherit;
  }
  .mobile-rail-hint { font-size: 12px; font-weight: 700; }
  .mobile-rail-actions { display: flex; align-items: center; gap: 8px; }
  .mobile-rail-count { min-width: 34px; text-align: center; font-size: 12px; }
  .mobile-rail-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ff2aa1;
    border-radius: 50%;
    color: inherit;
    background: rgba(255, 42, 161, .09);
    font-size: 22px;
    cursor: pointer;
  }
  .mobile-rail-button:disabled { opacity: .35; cursor: default; }
  .mobile-rail-button:focus-visible { outline: 2px solid #ff2aa1; outline-offset: 3px; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mobile-card-rail { scroll-behavior: auto !important; }
}

/* Reuse Nix's original player in the mobile hero; desktop retains its layout. */
@media (max-width: 760px) {
  .hero.mobile-story-active { min-height: 0; height: auto; }
  .hero.mobile-story-active > .hero-people,
  .hero.mobile-story-active > .hero-glow { display: none; }
  .hero.mobile-story-active > .hero-content { padding-bottom: 24px; }
  .mobile-hero-story { margin-top: 22px; }
  .mobile-hero-story h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .mobile-hero-story .story-green { color: #adff19; }
  .mobile-hero-story .story-pink { color: #ff2aa1; }
  .mobile-hero-story-credit { margin: 0 0 14px; color: #c0d5ca; font-size: 12px; }
  .mobile-hero-story .story-main-video-shell {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 3px;
    border-radius: 22px;
  }
  .mobile-hero-story .story-main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 19px;
    background: #001a16;
  }
  .mobile-hero-story .story-video-badge { top: 12px; left: 12px; font-size: 8px; padding: 7px 9px; }
  .hero.mobile-story-active .button-row { margin-top: 18px; }
  .hero.mobile-story-active .hero-proof { width: 100%; max-width: none; padding-right: 0; }
  .hero.mobile-story-active .hero-proof-copy { width: 100%; max-width: none; flex: 1 1 auto; }
  .hero.mobile-story-active .story-disclosure {
    margin: 16px 0 0;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
  }
  .personal-story.mobile-story-active { padding: 24px 0; }
  .personal-story.mobile-story-active .story-heading,
  .personal-story.mobile-story-active .story-feature { display: none; }
  .benefit-row.mobile-story-benefits {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 24px 0;
    gap: 16px 10px;
  }
  .benefit-row.mobile-story-benefits > div { min-width: 0; padding: 0; border: 0; gap: 8px; }
  .benefit-row.mobile-story-benefits b { font-size: 11px; }
  .benefit-row.mobile-story-benefits .icon-ring { width: 38px; height: 38px; }
}
