/* Reading-font visibility lock */
html.nh-dyslexia.nh-dyslexia body,
html.nh-dyslexia.nh-dyslexia body *:not(svg):not(path){font-family:Verdana,Tahoma,Arial,sans-serif!important}

/* Functional Comfort Control state styles. */

/* Make selection changes visually obvious inside the Comfort Control panel. */
html body .nh-controlbtn.nh-comfort-active,
html body .nh-controlbtn[aria-pressed="true"] {
  border-color: #c96f45 !important;
  background-color: #c96f45 !important;
  color: #fff !important;
}

html body .nh-controlbtn {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Breakdance uses fixed px sizes, so scale the stored original element size. */
html.nh-text-plus body main h1,
html.nh-text-plus body main h2,
html.nh-text-plus body main h3,
html.nh-text-plus body main h4,
html.nh-text-plus body main h5,
html.nh-text-plus body main h6,
html.nh-text-plus body main p,
html.nh-text-plus body main a,
html.nh-text-plus body main li,
html.nh-text-plus body main span,
html.nh-text-plus body main button,
html.nh-text-plus body main label,
html.nh-text-plus body main blockquote {
  font-size: calc(var(--nh-original-size) * 1.125) !important;
}

html.nh-text-plusplus body main h1,
html.nh-text-plusplus body main h2,
html.nh-text-plusplus body main h3,
html.nh-text-plusplus body main h4,
html.nh-text-plusplus body main h5,
html.nh-text-plusplus body main h6,
html.nh-text-plusplus body main p,
html.nh-text-plusplus body main a,
html.nh-text-plusplus body main li,
html.nh-text-plusplus body main span,
html.nh-text-plusplus body main button,
html.nh-text-plusplus body main label,
html.nh-text-plusplus body main blockquote {
  font-size: calc(var(--nh-original-size) * 1.25) !important;
}

/* Calm sensory presentation. */
html.nh-calm body main img,
html.nh-calm body main video,
html.nh-calm body main picture {
  filter: saturate(.62) contrast(.9) brightness(1.03) !important;
}

html.nh-calm body main * {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .12s !important;
}

/* High contrast must apply after Breakdance's element-level colors. */
html.nh-high-contrast body {
  filter: contrast(1.35) !important;
}

/* Reading font. */
html.nh-dyslexia body,
html.nh-dyslexia body *:not(svg):not(path) {
  font-family: Arial, Verdana, Tahoma, sans-serif !important;
  letter-spacing: .025em !important;
  word-spacing: .08em !important;
}

html.nh-dyslexia body main p,
html.nh-dyslexia body main li,
html.nh-dyslexia body main blockquote {
  line-height: 1.7 !important;
}

/* Reading ruler: visible immediately, then follows the pointer. */
html body .nh-reading-ruler {
  display: none !important;
  position: fixed !important;
  top: calc(50vh - 18px);
  right: 0 !important;
  left: 0 !important;
  z-index: 2147483646 !important;
  width: 100vw !important;
  height: 36px !important;
  pointer-events: none !important;
  border-top: 2px solid rgba(20, 42, 87, .55) !important;
  border-bottom: 2px solid rgba(20, 42, 87, .55) !important;
  background: rgba(238, 220, 170, .28) !important;
  box-shadow: 0 0 0 9999px rgba(255, 255, 255, .025) !important;
}

html.nh-ruler-on body .nh-reading-ruler {
  display: block !important;
}


/* Homepage-only conflict lock: CTA border and idle row radius */
@media screen and (min-width:768px){
html body.home .nh-method .nh-method-link.nh-method-link{border:0!important;border-top:1px solid rgba(255,255,255,.1)!important}
html body.home .bde-f-container-155-287 .nh-research-row-live.nh-research-row-live,
html body.home .bde-f-container-155-287 .nh-research-row-live.nh-research-row-live:first-child{border:0!important;border-bottom:1px solid rgba(230,224,211,.55)!important;border-radius:0!important;background:transparent!important}
html body.home .bde-f-container-155-287 .nh-research-row-live.nh-research-row-live:hover{border-radius:8px!important;background:rgba(255,253,249,.5)!important}
}

/* Homepage-only method CTA and research interaction correction */
@media screen and (min-width:768px){
html body.home .nh-method .nh-method-link{position:relative!important;z-index:0!important;min-height:111px!important;margin:0!important;padding:0 40px!important;border:0!important;border-top:1px solid rgba(255,255,255,.1)!important;border-radius:0 0 24px 0!important;background:#142b59!important;overflow:hidden!important}
html body.home .nh-method .nh-method-link::before{content:""!important;display:block!important;position:absolute!important;inset:25px 40px 25px 0!important;z-index:-1!important;border-radius:999px!important;background:#efe3c3!important}
html body.home .nh-method .nh-method-link::after{content:" →"!important;margin-left:8px!important}
html body.home .bde-f-container-155-287 .nh-research-row-live,
html body.home .bde-f-container-155-287 .nh-research-row-live:first-child{border:0!important;border-bottom:1px solid rgba(230,224,211,.55)!important;border-radius:0!important;background:transparent!important;transition:background-color .2s ease,border-radius .2s ease!important}
html body.home .bde-f-container-155-287 .nh-research-row-live:hover{border-radius:8px!important;background:rgba(255,253,249,.5)!important}
}

/* NeuroSage homepage-only parity final alignment */
@media screen and (min-width:768px){
html body.home .nh-sectionalt:has(.nh-plans) .nh-h2,
html body.home .nh-sectionalt:has(.nh-plans) .nh-sub{text-align:center!important}
html body.home .nh-sectionalt:has(.nh-plans) .nh-plan{height:206px!important;min-height:206px!important}
html body.home .nh-sectionalt:has(.nh-plans) .nh-plan::before{content:""!important}
}

/* NeuroSage homepage-only parity overrides v2.
 * All selectors are scoped to html body.home so no other page is affected.
 */
@media screen and (min-width: 768px) {
  /* Latest Research */
  html body.home .bde-f-container-155-287 {
    padding: 128px 32px !important;
  }
  html body.home .bde-f-container-155-287 > .nh-wrap {
    width: 100% !important;
    max-width: 896px !important;
    margin: 0 auto !important;
  }
  html body.home .bde-f-container-155-287 .nh-protocolhead {
    align-items: flex-end !important;
    margin: 0 0 64px !important;
  }
  html body.home .bde-f-container-155-287 .nh-protocolhead .nh-kicker {
    margin: 0 !important;
    color: #142b59 !important;
    font-family: Lora, Georgia, serif !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  html body.home .bde-f-container-155-287 .nh-protocolhead .nh-h2 {
    display: none !important;
  }
  html body.home .bde-f-container-155-287 .nh-secondary {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #142b59 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
  }
  html body.home .bde-f-container-155-287 .nh-research-live {
    gap: 16px !important;
  }
  html body.home .bde-f-container-155-287 .nh-research-row-live {
    min-height: 0 !important;
    margin: 0 -16px !important;
    padding: 16px 16px 32px !important;
    gap: 16px !important;
    border-radius: 8px !important;
  }
  html body.home .bde-f-container-155-287 .nh-research-meta-live {
    margin: 0 !important;
    color: rgba(20, 43, 89, .6) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  html body.home .bde-f-container-155-287 .nh-research-title-live {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  html body.home .bde-f-container-155-287 .nh-research-copy-live {
    margin: 0 !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
  }

  /* Three-pillar method panel */
  html body.home .nh-method .nh-pillars {
    min-height: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #142b59 !important;
  }
  html body.home .nh-method .nh-pillar {
    min-height: 288px !important;
    padding: 40px !important;
  }
  html body.home .nh-method .nh-pillar::before {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 24px !important;
    background: #e8dcc4 !important;
    color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
  }
  html body.home .nh-method .nh-pillar:nth-child(1)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-method .nh-pillar:nth-child(2)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 6c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3Cpath d='M2 12c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3Cpath d='M2 18c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-method .nh-pillar:nth-child(3)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3Cpath d='m8 6 4-4 4 4M8 18l4 4 4-4M6 8l-4 4 4 4M18 8l4 4-4 4'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-method .nh-pillar::after {
    top: 24px !important;
    right: 32px !important;
    font-size: 48px !important;
  }
  html body.home .nh-method .nh-pillartitle {
    margin: 0 0 12px !important;
    font-size: 24px !important;
    line-height: 1.33 !important;
  }
  html body.home .nh-method .nh-pillarcopy {
    font-size: 19px !important;
    line-height: 1.65 !important;
  }
  html body.home .nh-method .nh-method-proof,
  html body.home .nh-method .nh-method-link {
    min-height: 111px !important;
  }
  html body.home .nh-method .nh-method-proof {
    width: auto !important;
    padding: 24px 40px !important;
    border-radius: 0 0 0 24px !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
  }
  html body.home .nh-method .nh-method-link {
    padding: 0 28px !important;
    border: 24px solid #142b59 !important;
    border-radius: 0 0 24px 0 !important;
  }

  /* Family Stories */
  html body.home .nh-family-live {
    padding: 128px 32px !important;
    background: #f9f6f0 !important;
  }
  html body.home .nh-family-live .nh-family-live-inner {
    max-width: 1216px !important;
    margin: 0 auto !important;
  }
  html body.home .nh-family-live .nh-family-live-head {
    display: block !important;
    margin: 0 0 64px !important;
    padding: 0 !important;
    text-align: left !important;
  }
  html body.home .nh-family-live .nh-family-live-title {
    margin: 0 0 24px !important;
    font-size: 48px !important;
    line-height: 1 !important;
  }
  html body.home .nh-family-live .nh-family-live-copy {
    box-sizing: border-box !important;
    width: 768px !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid rgba(230, 224, 211, .5) !important;
    border-radius: 8px !important;
    background: rgba(232, 220, 196, .4) !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
  }
  html body.home .nh-family-live .nh-family-live-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px !important;
  }
  html body.home .nh-family-live .nh-family-live-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  html body.home .nh-family-live .nh-family-live-image {
    width: 100% !important;
    height: 284px !important;
    margin: 0 0 24px !important;
    border-radius: 8px !important;
  }
  html body.home .nh-family-live .nh-family-live-meta {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.home .nh-family-live .nh-family-live-cardtitle {
    margin: 0 0 12px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  html body.home .nh-family-live .nh-family-live-cardcopy {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    margin: 0 !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  /* Membership */
  html body.home .nh-sectionalt:has(.nh-plans) > .nh-wrap {
    max-width: 1024px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-center {
    max-width: 1024px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-h2 {
    margin: 0 0 16px !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-sub {
    width: 672px !important;
    margin: 0 auto 56px !important;
    font-size: 16px !important;
    line-height: 1.625 !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plans {
    width: 1024px !important;
    margin: 0 auto !important;
    padding: 0 0 116px !important;
    gap: 24px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan {
    min-height: 206px !important;
    padding: 28px !important;
    border: 1px solid rgba(230, 224, 211, .6) !important;
    border-radius: 12px !important;
    background: #f9f6f0 !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan::before {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 28px 28px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2 6-6 2 2-6z'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17-2 2a5 5 0 0 1-7-7l2-2M13 7l2-2a5 5 0 0 1 7 7l-2 2'/%3E%3Cpath d='M8 12l4 4a3 3 0 0 0 4-4l-4-4a3 3 0 0 0-4 4Z'/%3E%3C/svg%3E") !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-cardtitle {
    margin: 0 0 8px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-cardcopy {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan .nh-primary {
    bottom: 0 !important;
    width: auto !important;
    min-height: 60px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(2) .nh-primary {
    left: 256px !important;
    width: 276px !important;
    border-radius: 6px !important;
  }
  html body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(3) .nh-primary {
    right: 256px !important;
    width: 276px !important;
  }
}



/* Hide floating bottom search on phones */
@media screen and (max-width:767px){html body .nh-floatingsearch{display:none!important}}
/* exact-mobile-hero-overlap */
@media screen and (max-width:767px){html body.home .nh-heroart{min-height:650px!important;height:650px!important;padding-bottom:0!important;margin-top:8px!important;overflow:visible!important}html body.home .nh-heroart .nh-mainphoto{position:relative!important;top:0!important;transform:none!important;width:100%!important;height:400px!important;object-fit:cover!important;object-position:center center!important}html body.home .nh-heroart .nh-videocard{top:270px!important;bottom:auto!important;left:0!important;width:72%!important;z-index:2!important}html body.home .nh-heroart .nh-polaroid{top:405px!important;right:0!important;bottom:auto!important;width:36%!important;z-index:3!important}}
/* hero-search-fix */
.nh-floatingsearch{position:fixed!important;left:50%!important;right:auto!important;bottom:18px!important;transform:translateX(-50%)!important;z-index:9998!important;display:flex!important;align-items:center!important;gap:10px!important;width:auto!important}.nh-searchform{position:relative!important;display:flex!important;align-items:center!important;width:min(520px,52vw)!important;height:54px!important;margin:0!important;background:#fff!important;border:1px solid #e8dcc4!important;border-radius:999px!important;box-shadow:0 8px 24px #142a5724!important;overflow:hidden!important}.nh-searchform-icon{display:block!important;flex:0 0 46px!important;height:54px!important;position:relative!important}.nh-searchform-icon:before{content:"⌕"!important;position:absolute!important;left:18px!important;top:12px!important;color:#52658b!important;font:26px/1 sans-serif!important}.nh-searchinput{appearance:none!important;display:block!important;flex:1!important;min-width:0!important;height:100%!important;padding:0 20px 0 0!important;border:0!important;outline:0!important;background:transparent!important;color:#142a57!important;font:500 18px/1.2 Poppins,sans-serif!important}.nh-searchinput::placeholder{color:#6f7f9f!important;opacity:1!important}.nh-searchsubmit{display:none!important}@media(max-width:767px){.home .nh-heroart{min-height:620px!important;height:620px!important;padding-bottom:0!important;margin-top:8px!important}.home .nh-heroart .nh-mainphoto{position:relative!important;top:0!important;transform:none!important;height:330px!important}.home .nh-videocard{top:245px!important;bottom:auto!important;left:0!important;width:72%!important;z-index:2!important}.home .nh-polaroid{top:330px!important;right:0!important;bottom:auto!important;width:36%!important;z-index:3!important}.nh-floatingsearch{left:16px!important;right:72px!important;bottom:12px!important;transform:none!important;width:auto!important;gap:0!important}.nh-searchform{width:100%!important;height:52px!important}.nh-searchinput{font-size:16px!important;padding-right:12px!important}.nh-floatingsearch .nh-chip{display:none!important}}
/* Homepage mobile hero: separate the background and foreground cards */
@media screen and (max-width: 767px) {
  .home .nh-heroinner {
    gap: 34px !important;
  }
  .home .nh-heroart {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 640px !important;
    padding-bottom: 290px !important;
    margin-top: 8px !important;
    overflow: visible !important;
  }
  .home .nh-heroart .nh-mainphoto {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 330px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .home .nh-videocard {
    top: 345px !important;
    bottom: auto !important;
    left: 0 !important;
    width: 76% !important;
    z-index: 2 !important;
  }
  .home .nh-polaroid {
    top: 405px !important;
    right: 0 !important;
    bottom: auto !important;
    width: 42% !important;
    z-index: 3 !important;
  }
}
/* Comfort Control reset action */
.nh-comfort .nh-comfort-reset {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 40px !important;
  margin-top: 8px !important;
  padding: 9px 16px !important;
  border: 1px solid #142a57 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #142a57 !important;
  font-family: Poppins, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}
.nh-comfort .nh-comfort-reset:hover,
.nh-comfort .nh-comfort-reset:focus-visible {
  background: #142a57 !important;
  color: #fff !important;
}
/* Match mobile header control sizes */
@media screen and (max-width: 1023px) {
  .search-form__button.js-search-form-expand-button,
  .nh-tool[aria-label="Comfort Control"] {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
  }
  .search-form__button.js-search-form-expand-button svg {
    width: 24px !important;
    height: 24px !important;
  }
  .nh-tool[aria-label="Comfort Control"] .nh-toolsvg,
  .nh-tool[aria-label="Comfort Control"] .nh-toolsvg svg {
    width: 24px !important;
    height: 24px !important;
  }
}
/* Compact mobile hamburger while preserving a 44px tap target */
@media screen and (max-width: 1023px) {
  .bde-menu-151-199 .breakdance-menu {
    --toggle-layer-width: 26px !important;
    --toggle-layer-height: 3px !important;
    --toggle-layer-spacing: 4px !important;
    --toggle-padding: 9px !important;
  }
  .bde-menu-151-199 .breakdance-menu-toggle {
    min-width: 26px !important;
    min-height: 26px !important;
  }
}
/* Mobile notice close button — viewport-safe override */
@media screen and (max-width: 767px) {
  html body .nh-notice {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 8px 42px 8px 14px !important;
    overflow: hidden !important;
  }
  html body .nh-notice-close {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  html body .nh-notice > p {
    width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}

/* Homepage exact below-hero restoration — 2026-08-26 */
@media (min-width: 769px) {
  body.home .nh-method { padding: 128px 32px !important; }
  body.home .nh-method > .nh-wrap {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 370px !important;
    max-width: 1216px !important;
    margin: 0 auto !important;
    text-align: left !important;
    position: relative !important;
  }
  body.home .nh-method > .nh-wrap > .nh-kicker,
  body.home .nh-method > .nh-wrap > .nh-h2,
  body.home .nh-method > .nh-wrap > .nh-sub,
  body.home .nh-method > .nh-wrap > .nh-pillars,
  body.home .nh-method > .nh-wrap > .nh-clinician { grid-column: 1 / -1 !important; }
  body.home .nh-method .nh-kicker { margin: 0 0 16px !important; font-size: 13px !important; line-height: 1.2 !important; }
  body.home .nh-method .nh-h2 { margin: 0 0 20px !important; font-size: 48px !important; line-height: 1.08 !important; }
  body.home .nh-method .nh-sub { max-width: 768px !important; margin: 0 0 48px !important; font-size: 19px !important; line-height: 1.6 !important; }
  body.home .nh-method .nh-pillars {
    margin: 0 !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    min-height: 289px !important;
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;
  }
  body.home .nh-method .nh-pillar {
    min-height: 289px !important;
    padding: 40px !important;
    position: relative !important;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    background: #183361 !important;
  }
  body.home .nh-method .nh-pillar:last-child { border-right: 0 !important; }
  body.home .nh-method .nh-pillar::before {
    display: grid !important; place-items: center !important; width: 48px !important; height: 48px !important;
    margin: 0 0 28px !important; border-radius: 50% !important; background: #efe3c3 !important;
    color: #142b59 !important; font: 700 23px/1 Arial,sans-serif !important;
  }
  body.home .nh-method .nh-pillar:nth-child(1)::before { content: "ϟ" !important; }
  body.home .nh-method .nh-pillar:nth-child(2)::before { content: "≋" !important; }
  body.home .nh-method .nh-pillar:nth-child(3)::before { content: "↕" !important; }
  body.home .nh-method .nh-pillar::after {
    position: absolute !important; top: 29px !important; right: 32px !important;
    color: rgba(255,255,255,.14) !important; font: 500 52px/1 Georgia,serif !important;
  }
  body.home .nh-method .nh-pillar:nth-child(1)::after { content: "01" !important; }
  body.home .nh-method .nh-pillar:nth-child(2)::after { content: "02" !important; }
  body.home .nh-method .nh-pillar:nth-child(3)::after { content: "03" !important; }
  body.home .nh-method .nh-pillartitle { margin: 0 0 16px !important; font-size: 25px !important; line-height: 1.2 !important; color: #fff !important; }
  body.home .nh-method .nh-pillarcopy { margin: 0 !important; max-width: 310px !important; font-size: 19px !important; line-height: 1.55 !important; color: #c3cada !important; }
  body.home .nh-method .nh-method-proof {
    grid-column: 1 !important; margin: 0 !important; min-height: 110px !important; width: auto !important;
    padding: 24px 40px !important; border-radius: 0 0 0 24px !important; background: #183361 !important;
    border-top: 1px solid rgba(255,255,255,.1) !important; font-size: 18px !important; line-height: 1.6 !important;
  }
  body.home .nh-method .nh-method-link {
    grid-column: 2 !important; margin: 0 !important; min-height: 110px !important; width: auto !important;
    padding: 0 40px !important; border-radius: 0 0 24px 0 !important; background: #183361 !important;
    color: #142b59 !important; position: relative !important; justify-content: center !important;
    font-size: 16px !important; line-height: 1.2 !important; z-index: 0 !important;
  }
  body.home .nh-method .nh-method-link::before {
    content: "" !important; position: absolute !important; inset: 31px 40px 31px 0 !important;
    background: #efe3c3 !important; border-radius: 999px !important; z-index: -1 !important;
  }
  body.home .nh-method .nh-clinician {
    width: 1024px !important; max-width: 100% !important; min-height: 458px !important; height: auto !important;
    margin: 40px auto 0 !important; padding: 40px !important; border-radius: 24px !important;
    grid-template-columns: minmax(0,1fr) 320px !important; gap: 56px !important; align-items: center !important;
  }
  body.home .nh-method .nh-clinician-image { width: 320px !important; height: 384px !important; object-fit: cover !important; border-radius: 18px !important; }
  body.home .nh-method .nh-clinician p { font-size: 19px !important; line-height: 1.6 !important; }
  body.home .nh-method .nh-clinician a { display: block !important; margin-top: 18px !important; }

  body.home .nh-sectionalt:has(.nh-plans) { padding: 128px 32px !important; background: #eceee8 !important; }
  body.home .nh-sectionalt:has(.nh-plans) > .nh-wrap { width: 1024px !important; max-width: 100% !important; margin: 0 auto !important; }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center { width: 100% !important; margin: 0 !important; text-align: center !important; }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center .nh-kicker { margin: 0 0 16px !important; }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center .nh-h2 { margin: 0 0 16px !important; font-size: 48px !important; line-height: 1.1 !important; }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center .nh-sub { max-width: 720px !important; margin: 0 auto !important; font-size: 17px !important; line-height: 1.55 !important; }
  body.home .nh-plans {
    display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 24px !important;
    width: 100% !important; margin: 64px 0 0 !important; padding: 0 0 94px !important; position: relative !important;
  }
  body.home .nh-plan {
    position: static !important; min-height: 246px !important; height: 246px !important; padding: 28px !important;
    border-radius: 12px !important; background: #fffdf9 !important; border: 1px solid #e8dfcf !important;
  }
  body.home .nh-plan::before { display:block !important; margin:0 0 22px !important; color:#142b59 !important; font:700 26px/1 Arial,sans-serif !important; }
  body.home .nh-plan:nth-child(1)::before { content:"▣" !important; }
  body.home .nh-plan:nth-child(2)::before { content:"◉" !important; }
  body.home .nh-plan:nth-child(3)::before { content:"♡" !important; }
  body.home .nh-plan .nh-cardtitle { margin:0 0 14px !important; font-size:21px !important; line-height:1.25 !important; }
  body.home .nh-plan .nh-cardcopy { margin:0 !important; font-size:15px !important; line-height:1.55 !important; }
  body.home .nh-plan .nh-price { display:none !important; }
  body.home .nh-plan .nh-primary { position:absolute !important; bottom:0 !important; height:56px !important; display:flex !important; align-items:center !important; justify-content:center !important; }
  body.home .nh-plan:nth-child(2) .nh-primary { left:330px !important; width:240px !important; background:#142b59 !important; color:#fff !important; border-radius:4px !important; }
  body.home .nh-plan:nth-child(3) .nh-primary { left:594px !important; width:230px !important; background:transparent !important; color:#142b59 !important; justify-content:flex-start !important; padding:0 !important; }

  body.home .nh-family-live { padding:128px 32px !important; }
  body.home .nh-family-live-inner { max-width:1216px !important; margin:0 auto !important; }
  body.home .nh-family-live-head { display:block !important; text-align:left !important; padding:0 !important; margin:0 0 64px !important; height:auto !important; }
  body.home .nh-family-live-title { margin:0 0 24px !important; font-size:48px !important; line-height:1.08 !important; }
  body.home .nh-family-live-copy {
    width:720px !important; max-width:100% !important; margin:0 !important; padding:24px 20px !important;
    border-radius:6px !important; background:#efe8dc !important; font-size:17px !important; line-height:1.55 !important; text-align:left !important;
  }
  body.home .nh-family-live-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:24px !important; }
  body.home .nh-family-live-card { min-width:0 !important; }
  body.home .nh-family-live-card img { width:100% !important; aspect-ratio:1.22/1 !important; object-fit:cover !important; border-radius:8px !important; }
  body.home .nh-family-live-card h3 { font-size:25px !important; line-height:1.25 !important; }

  body.home .nh-section:has(.nh-research-live) { padding:128px 32px !important; }
  body.home .nh-section:has(.nh-research-live) > .nh-wrap { width:896px !important; max-width:100% !important; margin:0 auto !important; }
  body.home .nh-section:has(.nh-research-live) .nh-protocolhead { width:100% !important; margin:0 0 64px !important; align-items:center !important; }
  body.home .nh-section:has(.nh-research-live) .nh-protocolhead .nh-kicker {
    margin:0 !important; color:#142b59 !important; font-family:Georgia,serif !important; font-size:48px !important;
    line-height:1.08 !important; letter-spacing:0 !important; text-transform:none !important; font-weight:500 !important;
  }
  body.home .nh-section:has(.nh-research-live) .nh-protocolhead .nh-h2 { display:none !important; }
  body.home .nh-section:has(.nh-research-live) .nh-secondary { border:0 !important; padding:0 !important; font-size:16px !important; }
  body.home .nh-research-live { gap:0 !important; }
  body.home .nh-research-row-live { padding:32px 16px !important; border-bottom:1px solid #e8dfcf !important; background:transparent !important; border-radius:0 !important; }
  body.home .nh-research-row-live:first-child { background:#fffdf9 !important; border:1px solid #eee6d9 !important; border-radius:8px !important; margin-bottom:8px !important; }
  body.home .nh-research-meta-live { margin:0 0 18px !important; font-size:12px !important; line-height:1.3 !important; letter-spacing:.08em !important; }
  body.home .nh-research-title-live { margin:0 0 18px !important; font-size:25px !important; line-height:1.25 !important; }
  body.home .nh-research-copy-live { margin:0 !important; font-size:17px !important; line-height:1.55 !important; }
}

(function(){'use strict';var K='neurosageComfortV1',D={sensory:'standard',motion:true,text:'a',contrast:'standard',font:'default',ruler:false,simplify:false},S=Object.assign({},D);try{S=Object.assign(S,JSON.parse(localStorage.getItem(K)||'{}'))}catch(e){}var R=document.documentElement;
function tc(n,v){R.classList.toggle(n,!!v)}
function groups(){return [['#standard','#calm'],['#text-a','#text-plus','#text-plusplus'],['#contrast-standard','#contrast-high'],['#font-default','#font-readable']]}
function selected(){return {'#standard':S.sensory==='standard','#calm':S.sensory==='calm','#motion':S.motion,'#text-a':S.text==='a','#text-plus':S.text==='plus','#text-plusplus':S.text==='plusplus','#contrast-standard':S.contrast==='standard','#contrast-high':S.contrast==='high','#font-default':S.font==='default','#font-readable':S.font==='dyslexia','#ruler':S.ruler,'#simplify':S.simplify}}
function sizes(){document.querySelectorAll('main h1,main h2,main h3,main h4,main h5,main h6,main p,main a,main li,main span,main button,main label,main blockquote').forEach(function(el){if(!el.style.getPropertyValue('--nh-original-size'))el.style.setProperty('--nh-original-size',getComputedStyle(el).fontSize)})}
function apply(){sizes();tc('nh-calm',S.sensory==='calm');tc('nh-motion-off',!S.motion);tc('nh-text-plus',S.text==='plus');tc('nh-text-plusplus',S.text==='plusplus');tc('nh-high-contrast',S.contrast==='high');tc('nh-dyslexia',S.font==='dyslexia');tc('nh-ruler-on',S.ruler);tc('nh-simplify',S.simplify);var M=selected();document.querySelectorAll('.nh-controlbtn').forEach(function(a){a.classList.remove('nh-controlselected','nh-comfort-active');a.setAttribute('aria-pressed','false')});Object.keys(M).forEach(function(h){document.querySelectorAll('a[href="'+h+'"]').forEach(function(a){a.classList.toggle('nh-comfort-active',!!M[h]);a.setAttribute('aria-pressed',M[h]?'true':'false')})});try{localStorage.setItem(K,JSON.stringify(S))}catch(e){}}
function set(h){if(h==='#standard')S.sensory='standard';else if(h==='#calm')S.sensory='calm';else if(h==='#motion')S.motion=!S.motion;else if(h==='#text-a')S.text='a';else if(h==='#text-plus')S.text='plus';else if(h==='#text-plusplus')S.text='plusplus';else if(h==='#contrast-standard')S.contrast='standard';else if(h==='#contrast-high')S.contrast='high';else if(h==='#font-default')S.font='default';else if(h==='#font-readable')S.font='dyslexia';else if(h==='#ruler')S.ruler=!S.ruler;else if(h==='#simplify')S.simplify=!S.simplify;else return false;apply();return true}
document.addEventListener('click',function(e){var a=e.target.closest('a[href^="#"]');if(a&&set(a.getAttribute('href'))){e.preventDefault();e.stopPropagation()}});
function boot(){var q=document.querySelector('.nh-reading-ruler')||document.createElement('div');q.className='nh-reading-ruler';q.setAttribute('aria-hidden','true');if(!q.parentNode)document.body.appendChild(q);document.addEventListener('mousemove',function(e){if(S.ruler)q.style.top=(e.clientY-17)+'px'});apply()}document.readyState==='loading'?document.addEventListener('DOMContentLoaded',boot):boot()})();
(function(){'use strict';var K='neurosageNoticeDismissedV1';function hide(){var n=document.querySelector('.nh-notice');if(n){n.hidden=true;n.style.display='none';n.setAttribute('aria-hidden','true')}}function boot(){try{if(localStorage.getItem(K)==='1')hide()}catch(e){}document.addEventListener('click',function(e){var a=e.target.closest('a[href="#dismiss-notice"]');if(!a)return;e.preventDefault();e.stopPropagation();hide();try{localStorage.setItem(K,'1')}catch(x){}if(location.hash==='#dismiss-notice'&&history.replaceState)history.replaceState(null,'',location.pathname+location.search)},true)}document.readyState==='loading'?document.addEventListener('DOMContentLoaded',boot):boot()})();

(function(){'use strict';document.addEventListener('click',function(e){var c=e.target.closest('a[href="#comfort"],[aria-label="Comfort Control"]');if(!c)return;var m=document.querySelector('#nh-native-menu .breakdance-menu-toggle[aria-expanded="true"],.breakdance-menu-toggle[aria-expanded="true"]');if(m)m.click()},true)})();

/* Homepage protocol preview cards */
(function () {
  'use strict';

  var protocolDestinations = {
    'Cross-Body Crawling Play': '/protocols/cross-body-crawling-play/',
    'Deep Pressure Evening Routine': '/protocols/deep-pressure-evening-routine/',
    'Heavy Work Before Transitions': '/protocols/heavy-work-before-transitions/',
    'Mealtime Exposure Ladder': '/protocols/mealtime-exposure-ladder/'
  };

  function activateHomepageProtocolCards() {
    document.querySelectorAll('.home .nh-protocol-card-live').forEach(function (card) {
      if (card.dataset.protocolCardReady === 'true') return;

      var titleElement = card.querySelector('.nh-protocol-title-live');
      var title = titleElement ? titleElement.textContent.trim() : '';
      var destination = protocolDestinations[title];
      if (!destination) return;

      var readLink = card.querySelector('.nh-protocol-save-live');
      if (readLink) {
        readLink.href = destination;
        readLink.textContent = 'Read protocol →';
        readLink.setAttribute('aria-label', 'Read ' + title);
      }

      card.dataset.protocolCardReady = 'true';
      card.dataset.protocolUrl = destination;
      card.setAttribute('role', 'link');
      card.setAttribute('tabindex', '0');
      card.setAttribute('aria-label', 'Read protocol: ' + title);

      card.addEventListener('click', function (event) {
        if (event.target.closest('a, button')) return;
        window.location.href = destination;
      });

      card.addEventListener('keydown', function (event) {
        if (event.key === 'Enter' || event.key === ' ') {
          event.preventDefault();
          window.location.href = destination;
        }
      });
    });
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', activateHomepageProtocolCards);
  } else {
    activateHomepageProtocolCards();
  }
})();


/* Homepage floating content search */
(function () {
  'use strict';

  function buildHomepageSearch() {
    var link = document.querySelector('.home .nh-floatingsearch .nh-searchfield');
    if (!link || link.dataset.searchUpgraded === 'true') return;

    var form = document.createElement('form');
    form.className = 'nh-searchform';
    form.setAttribute('role', 'search');
    form.setAttribute('action', '/');
    form.setAttribute('method', 'get');

    var icon = document.createElement('span');
    icon.className = 'nh-searchform-icon';
    icon.setAttribute('aria-hidden', 'true');

    var input = document.createElement('input');
    input.className = 'nh-searchinput';
    input.type = 'search';
    input.name = 's';
    input.placeholder = "Search 400+ guides — try 'sleep', 'meltdowns'";
    input.setAttribute('aria-label', 'Search protocols, guides, stories, blog posts, and research');

    var submit = document.createElement('button');
    submit.className = 'nh-searchsubmit';
    submit.type = 'submit';
    submit.textContent = 'Search';

    form.appendChild(icon);
    form.appendChild(input);
    form.appendChild(submit);
    link.dataset.searchUpgraded = 'true';
    link.replaceWith(form);
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', buildHomepageSearch);
  } else {
    buildHomepageSearch();
  }
})();


/* Ensure Breakdance cannot swallow the floating search submission. */
document.addEventListener('submit', function (event) {
  var form = event.target;
  if (!form || !form.matches || !form.matches('.nh-searchform')) return;

  event.preventDefault();
  event.stopPropagation();

  var input = form.querySelector('.nh-searchinput');
  var query = input ? input.value.trim() : '';
  if (!query) {
    if (input) input.focus();
    return;
  }

  window.location.assign('/?s=' + encodeURIComponent(query));
}, true);


document.addEventListener('keydown', function (event) {
  var input = event.target;
  if (event.key !== 'Enter' || !input || !input.matches || !input.matches('.nh-searchinput')) return;

  event.preventDefault();
  event.stopImmediatePropagation();

  var query = input.value.trim();
  if (query) {
    window.location.href = '/?s=' + encodeURIComponent(query);
  }
}, true);


/* Reliable Comfort Control toggle for real touch devices */
(function () {
  'use strict';

  function getPanel() {
    return document.querySelector('.nh-comfort');
  }

  function panelIsOpen(panel) {
    return panel && window.getComputedStyle(panel).display !== 'none';
  }

  function setPanelOpen(panel, trigger, open) {
    if (!panel) return;
    panel.style.setProperty('display', open ? 'flex' : 'none', 'important');
    panel.setAttribute('aria-hidden', open ? 'false' : 'true');
    if (trigger) trigger.setAttribute('aria-expanded', open ? 'true' : 'false');
    document.documentElement.classList.toggle('nh-comfort-panel-open', open);
  }

  document.addEventListener('click', function (event) {
    var trigger = event.target.closest('a[href="#comfort"], [aria-label="Comfort Control"]');
    var panel = getPanel();

    if (trigger) {
      event.preventDefault();
      event.stopImmediatePropagation();

      var mobileToggle = document.querySelector(
        '#nh-native-menu .breakdance-menu-toggle[aria-expanded="true"],' +
        '.breakdance-menu-toggle[aria-expanded="true"]'
      );
      if (mobileToggle) mobileToggle.click();

      setPanelOpen(panel, trigger, !panelIsOpen(panel));
      return;
    }

    if (panelIsOpen(panel) && !panel.contains(event.target)) {
      var currentTrigger = document.querySelector('a[href="#comfort"], [aria-label="Comfort Control"]');
      setPanelOpen(panel, currentTrigger, false);
    }
  }, true);
})();


/* Hide floating bottom search on phones */
@media screen and (max-width:767px){html body .nh-floatingsearch{display:none!important}}
/* exact-mobile-hero-overlap */
@media screen and (max-width:767px){html body.home .nh-heroart{min-height:650px!important;height:650px!important;padding-bottom:0!important;margin-top:8px!important;overflow:visible!important}html body.home .nh-heroart .nh-mainphoto{position:relative!important;top:0!important;transform:none!important;width:100%!important;height:400px!important;object-fit:cover!important;object-position:center center!important}html body.home .nh-heroart .nh-videocard{top:270px!important;bottom:auto!important;left:0!important;width:72%!important;z-index:2!important}html body.home .nh-heroart .nh-polaroid{top:405px!important;right:0!important;bottom:auto!important;width:36%!important;z-index:3!important}}
/* hero-search-fix */
.nh-floatingsearch{position:fixed!important;left:50%!important;right:auto!important;bottom:18px!important;transform:translateX(-50%)!important;z-index:9998!important;display:flex!important;align-items:center!important;gap:10px!important;width:auto!important}.nh-searchform{position:relative!important;display:flex!important;align-items:center!important;width:min(520px,52vw)!important;height:54px!important;margin:0!important;background:#fff!important;border:1px solid #e8dcc4!important;border-radius:999px!important;box-shadow:0 8px 24px #142a5724!important;overflow:hidden!important}.nh-searchform-icon{display:block!important;flex:0 0 46px!important;height:54px!important;position:relative!important}.nh-searchform-icon:before{content:"⌕"!important;position:absolute!important;left:18px!important;top:12px!important;color:#52658b!important;font:26px/1 sans-serif!important}.nh-searchinput{appearance:none!important;display:block!important;flex:1!important;min-width:0!important;height:100%!important;padding:0 20px 0 0!important;border:0!important;outline:0!important;background:transparent!important;color:#142a57!important;font:500 18px/1.2 Poppins,sans-serif!important}.nh-searchinput::placeholder{color:#6f7f9f!important;opacity:1!important}.nh-searchsubmit{display:none!important}@media(max-width:767px){.home .nh-heroart{min-height:620px!important;height:620px!important;padding-bottom:0!important;margin-top:8px!important}.home .nh-heroart .nh-mainphoto{position:relative!important;top:0!important;transform:none!important;height:330px!important}.home .nh-videocard{top:245px!important;bottom:auto!important;left:0!important;width:72%!important;z-index:2!important}.home .nh-polaroid{top:330px!important;right:0!important;bottom:auto!important;width:36%!important;z-index:3!important}.nh-floatingsearch{left:16px!important;right:72px!important;bottom:12px!important;transform:none!important;width:auto!important;gap:0!important}.nh-searchform{width:100%!important;height:52px!important}.nh-searchinput{font-size:16px!important;padding-right:12px!important}.nh-floatingsearch .nh-chip{display:none!important}}
/* Homepage mobile hero: separate the background and foreground cards */
@media screen and (max-width: 767px) {
  .home .nh-heroinner {
    gap: 34px !important;
  }
  .home .nh-heroart {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 640px !important;
    padding-bottom: 290px !important;
    margin-top: 8px !important;
    overflow: visible !important;
  }
  .home .nh-heroart .nh-mainphoto {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 330px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .home .nh-videocard {
    top: 345px !important;
    bottom: auto !important;
    left: 0 !important;
    width: 76% !important;
    z-index: 2 !important;
  }
  .home .nh-polaroid {
    top: 405px !important;
    right: 0 !important;
    bottom: auto !important;
    width: 42% !important;
    z-index: 3 !important;
  }
}
/* Comfort Control reset action */
.nh-comfort .nh-comfort-reset {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 40px !important;
  margin-top: 8px !important;
  padding: 9px 16px !important;
  border: 1px solid #142a57 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #142a57 !important;
  font-family: Poppins, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}
.nh-comfort .nh-comfort-reset:hover,
.nh-comfort .nh-comfort-reset:focus-visible {
  background: #142a57 !important;
  color: #fff !important;
}
/* Match mobile header control sizes */
@media screen and (max-width: 1023px) {
  .search-form__button.js-search-form-expand-button,
  .nh-tool[aria-label="Comfort Control"] {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
  }
  .search-form__button.js-search-form-expand-button svg {
    width: 24px !important;
    height: 24px !important;
  }
  .nh-tool[aria-label="Comfort Control"] .nh-toolsvg,
  .nh-tool[aria-label="Comfort Control"] .nh-toolsvg svg {
    width: 24px !important;
    height: 24px !important;
  }
}
/* Compact mobile hamburger while preserving a 44px tap target */
@media screen and (max-width: 1023px) {
  .bde-menu-151-199 .breakdance-menu {
    --toggle-layer-width: 26px !important;
    --toggle-layer-height: 3px !important;
    --toggle-layer-spacing: 4px !important;
    --toggle-padding: 9px !important;
  }
  .bde-menu-151-199 .breakdance-menu-toggle {
    min-width: 26px !important;
    min-height: 26px !important;
  }
}
/* Mobile notice close button — viewport-safe override */
@media screen and (max-width: 767px) {
  html body .nh-notice {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 8px 42px 8px 14px !important;
    overflow: hidden !important;
  }
  html body .nh-notice-close {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  html body .nh-notice > p {
    width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}

/* Homepage below-hero section restoration — 2026-08-25 */
@media screen and (min-width: 768px) {
  body.home .nh-method {
    padding: 128px 32px !important;
  }
  body.home .nh-method > .nh-wrap {
    display: grid !important;
	  grid-template-columns: minmax(0, 1fr) 0 !important;
	  width: 100% !important;
	  max-width: 1200px !important;
	  margin: 0 auto !important;
	  text-align: left !important;
  }
  body.home .nh-method > .nh-wrap > .nh-kicker,
  body.home .nh-method > .nh-wrap > .nh-h2,
  body.home .nh-method > .nh-wrap > .nh-sub,
  body.home .nh-method > .nh-wrap > .nh-pillars,
  body.home .nh-method > .nh-wrap > .nh-clinician {
    grid-column: 1 / -1 !important;
  }
  body.home .nh-method .nh-h2,
  body.home .nh-method .nh-sub {
    width: 100% !important;
    max-width: 768px !important;
  }
  body.home .nh-method .nh-pillars {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 48px 0 0 !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    background: #183361 !important;
  }
  body.home .nh-method .nh-pillar {
    position: relative !important;
    box-sizing: border-box !important;
    min-height: 372px !important;
    padding: 48px 32px !important;
    border-right: 1px solid rgba(255,255,255,.12) !important;
    background: transparent !important;
  }
  body.home .nh-method .nh-pillar:last-child {
    border-right: 0 !important;
  }
  body.home .nh-method .nh-pillar::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 28px !important;
    border-radius: 999px !important;
    background: #efe3c3 !important;
    color: #183361 !important;
    font: 700 24px/1 Georgia, serif !important;
  }
  body.home .nh-method .nh-pillar:nth-child(1)::before { content: "ϟ" !important; }
  body.home .nh-method .nh-pillar:nth-child(2)::before { content: "≋" !important; }
  body.home .nh-method .nh-pillar:nth-child(3)::before { content: "↕" !important; }
  body.home .nh-method .nh-pillar::after {
    position: absolute !important;
    top: 26px !important;
    right: 26px !important;
    color: rgba(255,255,255,.16) !important;
    font: 500 42px/1 Georgia, serif !important;
  }
  body.home .nh-method .nh-pillar:nth-child(1)::after { content: "01" !important; }
  body.home .nh-method .nh-pillar:nth-child(2)::after { content: "02" !important; }
  body.home .nh-method .nh-pillar:nth-child(3)::after { content: "03" !important; }
  body.home .nh-method .nh-pillartitle {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: 25px !important;
  }
  body.home .nh-method .nh-pillarcopy {
    margin: 0 !important;
    color: #c9d0de !important;
    font-size: 19px !important;
    line-height: 1.55 !important;
  }
  body.home .nh-method .nh-method-proof {
    grid-column: 1 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    min-height: 142px !important;
    margin: 0 !important;
    padding: 30px 32px !important;
    border-radius: 0 0 0 20px !important;
    background: #183361 !important;
    color: #c9d0de !important;
    font-size: 18px !important;
  }
  body.home .nh-method .nh-method-link {
    grid-column: 2 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 142px !important;
    margin: 0 !important;
    padding: 0 25px !important;
    border: 34px solid #183361 !important;
    border-radius: 0 0 20px 0 !important;
    background: #efe3c3 !important;
    color: #183361 !important;
    white-space: nowrap !important;
  }
  body.home .nh-method .nh-method-link::after {
    content: " →" !important;
    margin-left: 8px !important;
  }
  body.home .nh-method .nh-clinician {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 363px !important;
    align-items: center !important;
    gap: 40px !important;
    width: 1024px !important;
    min-height: 535px !important;
    margin: 40px auto 0 !important;
    padding: 40px !important;
    border-radius: 24px !important;
  }
  body.home .nh-method .nh-clinician-image {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 363px !important;
    height: 455px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }
  body.home .nh-method .nh-clinician > div {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.home .nh-method .nh-clinician-copy {
    width: auto !important;
    margin: 0 0 32px !important;
    font-size: 20px !important;
    line-height: 1.62 !important;
  }
  body.home .nh-method .nh-clinician-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  body.home .nh-sectionalt:has(.nh-plans) {
    padding: 128px 32px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) > .nh-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 1024px !important;
    margin: 0 auto !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center {
    max-width: 1024px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plans {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 768px !important;
    margin: 48px auto 0 !important;
    padding: 0 0 86px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan {
    box-sizing: border-box !important;
    min-height: 245px !important;
    padding: 28px !important;
    border-radius: 12px !important;
    background: #fffdf9 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan::before {
    content: "" !important;
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 24px !important;
    border-radius: 50% !important;
    box-shadow: inset 0 0 0 2px #183361 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-price {
    display: none !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-cardtitle {
    margin: 0 0 14px !important;
    font-size: 21px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-cardcopy {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan .nh-primary {
    position: absolute !important;
    bottom: 0 !important;
    width: 230px !important;
    min-height: 56px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(2) .nh-primary {
    left: 120px !important;
    background: #183361 !important;
    color: #fff !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(3) .nh-primary {
    right: 120px !important;
    border: 0 !important;
    background: transparent !important;
    color: #183361 !important;
  }

  body.home .nh-section:has(.nh-research-live) {
    padding: 128px 32px !important;
  }
  body.home .nh-section:has(.nh-research-live) > .nh-wrap {
    width: 100% !important;
    max-width: 896px !important;
    margin: 0 auto !important;
  }
  body.home .nh-section:has(.nh-research-live) .nh-protocolhead {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 0 64px !important;
  }
  body.home .nh-section:has(.nh-research-live) .nh-research-live {
    width: 100% !important;
    margin: 0 !important;
  }
  body.home .nh-research-row-live {
    box-sizing: border-box !important;
    min-height: 210px !important;
    padding: 0 0 40px !important;
    margin: 0 0 40px !important;
    border-bottom: 1px solid #e5dfd2 !important;
  }
  body.home .nh-research-row-live:last-child {
    margin-bottom: 0 !important;
  }
  body.home .nh-research-meta-live {
    margin: 0 0 20px !important;
    color: #a94b27 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }
  body.home .nh-research-title-live {
    margin: 0 0 18px !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
  }
  body.home .nh-research-copy-live {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }
}

@media screen and (max-width: 767px) {
  body.home .nh-method,
  body.home .nh-sectionalt:has(.nh-plans),
  body.home .nh-section:has(.nh-research-live) {
    padding: 80px 20px !important;
  }
  body.home .nh-method .nh-pillars,
  body.home .nh-sectionalt:has(.nh-plans) .nh-plans {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
  body.home .nh-method .nh-pillar,
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan {
    min-height: 0 !important;
  }
  body.home .nh-method .nh-method-proof,
  body.home .nh-method .nh-method-link {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  body.home .nh-method .nh-clinician {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 32px 0 0 !important;
    padding: 24px !important;
  }
  body.home .nh-method .nh-clinician-image {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plans {
    padding-bottom: 0 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan .nh-primary {
    position: static !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
  body.home .nh-floatingsearch {
    display: none !important;
  }
}

(function(){'use strict';var K='neurosageComfortV1',D={sensory:'standard',motion:true,text:'a',contrast:'standard',font:'default',ruler:false,simplify:false},S=Object.assign({},D);try{S=Object.assign(S,JSON.parse(localStorage.getItem(K)||'{}'))}catch(e){}var R=document.documentElement;
function tc(n,v){R.classList.toggle(n,!!v)}
function groups(){return [['#standard','#calm'],['#text-a','#text-plus','#text-plusplus'],['#contrast-standard','#contrast-high'],['#font-default','#font-readable']]}
function selected(){return {'#standard':S.sensory==='standard','#calm':S.sensory==='calm','#motion':S.motion,'#text-a':S.text==='a','#text-plus':S.text==='plus','#text-plusplus':S.text==='plusplus','#contrast-standard':S.contrast==='standard','#contrast-high':S.contrast==='high','#font-default':S.font==='default','#font-readable':S.font==='dyslexia','#ruler':S.ruler,'#simplify':S.simplify}}
function sizes(){document.querySelectorAll('main h1,main h2,main h3,main h4,main h5,main h6,main p,main a,main li,main span,main button,main label,main blockquote').forEach(function(el){if(!el.style.getPropertyValue('--nh-original-size'))el.style.setProperty('--nh-original-size',getComputedStyle(el).fontSize)})}
function apply(){sizes();tc('nh-calm',S.sensory==='calm');tc('nh-motion-off',!S.motion);tc('nh-text-plus',S.text==='plus');tc('nh-text-plusplus',S.text==='plusplus');tc('nh-high-contrast',S.contrast==='high');tc('nh-dyslexia',S.font==='dyslexia');tc('nh-ruler-on',S.ruler);tc('nh-simplify',S.simplify);var M=selected();document.querySelectorAll('.nh-controlbtn').forEach(function(a){a.classList.remove('nh-controlselected','nh-comfort-active');a.setAttribute('aria-pressed','false')});Object.keys(M).forEach(function(h){document.querySelectorAll('a[href="'+h+'"]').forEach(function(a){a.classList.toggle('nh-comfort-active',!!M[h]);a.setAttribute('aria-pressed',M[h]?'true':'false')})});try{localStorage.setItem(K,JSON.stringify(S))}catch(e){}}
function set(h){if(h==='#standard')S.sensory='standard';else if(h==='#calm')S.sensory='calm';else if(h==='#motion')S.motion=!S.motion;else if(h==='#text-a')S.text='a';else if(h==='#text-plus')S.text='plus';else if(h==='#text-plusplus')S.text='plusplus';else if(h==='#contrast-standard')S.contrast='standard';else if(h==='#contrast-high')S.contrast='high';else if(h==='#font-default')S.font='default';else if(h==='#font-readable')S.font='dyslexia';else if(h==='#ruler')S.ruler=!S.ruler;else if(h==='#simplify')S.simplify=!S.simplify;else return false;apply();return true}
document.addEventListener('click',function(e){var a=e.target.closest('a[href^="#"]');if(a&&set(a.getAttribute('href'))){e.preventDefault();e.stopPropagation()}});
function boot(){var q=document.querySelector('.nh-reading-ruler')||document.createElement('div');q.className='nh-reading-ruler';q.setAttribute('aria-hidden','true');if(!q.parentNode)document.body.appendChild(q);document.addEventListener('mousemove',function(e){if(S.ruler)q.style.top=(e.clientY-17)+'px'});apply()}document.readyState==='loading'?document.addEventListener('DOMContentLoaded',boot):boot()})();
(function(){'use strict';var K='neurosageNoticeDismissedV1';function hide(){var n=document.querySelector('.nh-notice');if(n){n.hidden=true;n.style.display='none';n.setAttribute('aria-hidden','true')}}function boot(){try{if(localStorage.getItem(K)==='1')hide()}catch(e){}document.addEventListener('click',function(e){var a=e.target.closest('a[href="#dismiss-notice"]');if(!a)return;e.preventDefault();e.stopPropagation();hide();try{localStorage.setItem(K,'1')}catch(x){}if(location.hash==='#dismiss-notice'&&history.replaceState)history.replaceState(null,'',location.pathname+location.search)},true)}document.readyState==='loading'?document.addEventListener('DOMContentLoaded',boot):boot()})();

(function(){'use strict';document.addEventListener('click',function(e){var c=e.target.closest('a[href="#comfort"],[aria-label="Comfort Control"]');if(!c)return;var m=document.querySelector('#nh-native-menu .breakdance-menu-toggle[aria-expanded="true"],.breakdance-menu-toggle[aria-expanded="true"]');if(m)m.click()},true)})();

/* Homepage protocol preview cards */
(function () {
  'use strict';

  var protocolDestinations = {
    'Cross-Body Crawling Play': '/protocols/cross-body-crawling-play/',
    'Deep Pressure Evening Routine': '/protocols/deep-pressure-evening-routine/',
    'Heavy Work Before Transitions': '/protocols/heavy-work-before-transitions/',
    'Mealtime Exposure Ladder': '/protocols/mealtime-exposure-ladder/'
  };

  function activateHomepageProtocolCards() {
    document.querySelectorAll('.home .nh-protocol-card-live').forEach(function (card) {
      if (card.dataset.protocolCardReady === 'true') return;

      var titleElement = card.querySelector('.nh-protocol-title-live');
      var title = titleElement ? titleElement.textContent.trim() : '';
      var destination = protocolDestinations[title];
      if (!destination) return;

      var readLink = card.querySelector('.nh-protocol-save-live');
      if (readLink) {
        readLink.href = destination;
        readLink.textContent = 'Read protocol →';
        readLink.setAttribute('aria-label', 'Read ' + title);
      }

      card.dataset.protocolCardReady = 'true';
      card.dataset.protocolUrl = destination;
      card.setAttribute('role', 'link');
      card.setAttribute('tabindex', '0');
      card.setAttribute('aria-label', 'Read protocol: ' + title);

      card.addEventListener('click', function (event) {
        if (event.target.closest('a, button')) return;
        window.location.href = destination;
      });

      card.addEventListener('keydown', function (event) {
        if (event.key === 'Enter' || event.key === ' ') {
          event.preventDefault();
          window.location.href = destination;
        }
      });
    });
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', activateHomepageProtocolCards);
  } else {
    activateHomepageProtocolCards();
  }
})();


/* Homepage floating content search */
(function () {
  'use strict';

  function buildHomepageSearch() {
    var link = document.querySelector('.home .nh-floatingsearch .nh-searchfield');
    if (!link || link.dataset.searchUpgraded === 'true') return;

    var form = document.createElement('form');
    form.className = 'nh-searchform';
    form.setAttribute('role', 'search');
    form.setAttribute('action', '/');
    form.setAttribute('method', 'get');

    var icon = document.createElement('span');
    icon.className = 'nh-searchform-icon';
    icon.setAttribute('aria-hidden', 'true');

    var input = document.createElement('input');
    input.className = 'nh-searchinput';
    input.type = 'search';
    input.name = 's';
    input.placeholder = "Search 400+ guides — try 'sleep', 'meltdowns'";
    input.setAttribute('aria-label', 'Search protocols, guides, stories, blog posts, and research');

    var submit = document.createElement('button');
    submit.className = 'nh-searchsubmit';
    submit.type = 'submit';
    submit.textContent = 'Search';

    form.appendChild(icon);
    form.appendChild(input);
    form.appendChild(submit);
    link.dataset.searchUpgraded = 'true';
    link.replaceWith(form);
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', buildHomepageSearch);
  } else {
    buildHomepageSearch();
  }
})();


/* Ensure Breakdance cannot swallow the floating search submission. */
document.addEventListener('submit', function (event) {
  var form = event.target;
  if (!form || !form.matches || !form.matches('.nh-searchform')) return;

  event.preventDefault();
  event.stopPropagation();

  var input = form.querySelector('.nh-searchinput');
  var query = input ? input.value.trim() : '';
  if (!query) {
    if (input) input.focus();
    return;
  }

  window.location.assign('/?s=' + encodeURIComponent(query));
}, true);


document.addEventListener('keydown', function (event) {
  var input = event.target;
  if (event.key !== 'Enter' || !input || !input.matches || !input.matches('.nh-searchinput')) return;

  event.preventDefault();
  event.stopImmediatePropagation();

  var query = input.value.trim();
  if (query) {
    window.location.href = '/?s=' + encodeURIComponent(query);
  }
}, true);


/* Reliable Comfort Control toggle for real touch devices */
(function () {
  'use strict';

  function getPanel() {
    return document.querySelector('.nh-comfort');
  }

  function panelIsOpen(panel) {
    return panel && window.getComputedStyle(panel).display !== 'none';
  }

  function setPanelOpen(panel, trigger, open) {
    if (!panel) return;
    panel.style.setProperty('display', open ? 'flex' : 'none', 'important');
    panel.setAttribute('aria-hidden', open ? 'false' : 'true');
    if (trigger) trigger.setAttribute('aria-expanded', open ? 'true' : 'false');
    document.documentElement.classList.toggle('nh-comfort-panel-open', open);
  }

  document.addEventListener('click', function (event) {
    var trigger = event.target.closest('a[href="#comfort"], [aria-label="Comfort Control"]');
    var panel = getPanel();

    if (trigger) {
      event.preventDefault();
      event.stopImmediatePropagation();

      var mobileToggle = document.querySelector(
        '#nh-native-menu .breakdance-menu-toggle[aria-expanded="true"],' +
        '.breakdance-menu-toggle[aria-expanded="true"]'
      );
      if (mobileToggle) mobileToggle.click();

      setPanelOpen(panel, trigger, !panelIsOpen(panel));
      return;
    }

    if (panelIsOpen(panel) && !panel.contains(event.target)) {
      var currentTrigger = document.querySelector('a[href="#comfort"], [aria-label="Comfort Control"]');
      setPanelOpen(panel, currentTrigger, false);
    }
  }, true);
})();




/* NeuroSage homepage-only parity overrides.
 * All selectors are scoped to body.home so no other page is affected.
 */
@media screen and (min-width: 768px) {
  /* Latest Research */
  body.home .bde-f-container-155-287 {
    padding: 128px 32px !important;
  }
  body.home .bde-f-container-155-287 > .nh-wrap {
    width: 100% !important;
    max-width: 896px !important;
    margin: 0 auto !important;
  }
  body.home .bde-f-container-155-287 .nh-protocolhead {
    align-items: flex-end !important;
    margin: 0 0 64px !important;
  }
  body.home .bde-f-container-155-287 .nh-protocolhead .nh-kicker {
    margin: 0 !important;
    color: #142b59 !important;
    font-family: Lora, Georgia, serif !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  body.home .bde-f-container-155-287 .nh-protocolhead .nh-h2 {
    display: none !important;
  }
  body.home .bde-f-container-155-287 .nh-secondary {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #142b59 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
  }
  body.home .bde-f-container-155-287 .nh-research-live {
    gap: 16px !important;
  }
  body.home .bde-f-container-155-287 .nh-research-row-live {
    min-height: 0 !important;
    margin: 0 -16px !important;
    padding: 16px 16px 32px !important;
    gap: 16px !important;
    border-radius: 8px !important;
  }
  body.home .bde-f-container-155-287 .nh-research-meta-live {
    margin: 0 !important;
    color: rgba(20, 43, 89, .6) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  body.home .bde-f-container-155-287 .nh-research-title-live {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  body.home .bde-f-container-155-287 .nh-research-copy-live {
    margin: 0 !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
  }

  /* Three-pillar method panel */
  body.home .nh-method .nh-pillars {
    min-height: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #142b59 !important;
  }
  body.home .nh-method .nh-pillar {
    min-height: 288px !important;
    padding: 40px !important;
  }
  body.home .nh-method .nh-pillar::before {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 24px !important;
    background: #e8dcc4 !important;
    color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
  }
  body.home .nh-method .nh-pillar:nth-child(1)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-method .nh-pillar:nth-child(2)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 6c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3Cpath d='M2 12c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3Cpath d='M2 18c2-2 4 2 6 0s4 2 6 0 4 2 6 0'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-method .nh-pillar:nth-child(3)::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3Cpath d='m8 6 4-4 4 4M8 18l4 4 4-4M6 8l-4 4 4 4M18 8l4 4-4 4'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-method .nh-pillar::after {
    top: 24px !important;
    right: 32px !important;
    font-size: 48px !important;
  }
  body.home .nh-method .nh-pillartitle {
    margin: 0 0 12px !important;
    font-size: 24px !important;
    line-height: 1.33 !important;
  }
  body.home .nh-method .nh-pillarcopy {
    font-size: 19px !important;
    line-height: 1.65 !important;
  }
  body.home .nh-method .nh-method-proof,
  body.home .nh-method .nh-method-link {
    min-height: 111px !important;
  }
  body.home .nh-method .nh-method-proof {
    width: auto !important;
    padding: 24px 40px !important;
    border-radius: 0 0 0 24px !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
  }
  body.home .nh-method .nh-method-link {
    padding: 0 28px !important;
    border: 24px solid #142b59 !important;
    border-radius: 0 0 24px 0 !important;
  }

  /* Family Stories */
  body.home .nh-family-live {
    padding: 128px 32px !important;
    background: #f9f6f0 !important;
  }
  body.home .nh-family-live .nh-family-live-inner {
    max-width: 1216px !important;
    margin: 0 auto !important;
  }
  body.home .nh-family-live .nh-family-live-head {
    display: block !important;
    margin: 0 0 64px !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body.home .nh-family-live .nh-family-live-title {
    margin: 0 0 24px !important;
    font-size: 48px !important;
    line-height: 1 !important;
  }
  body.home .nh-family-live .nh-family-live-copy {
    box-sizing: border-box !important;
    width: 768px !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid rgba(230, 224, 211, .5) !important;
    border-radius: 8px !important;
    background: rgba(232, 220, 196, .4) !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
  }
  body.home .nh-family-live .nh-family-live-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px !important;
  }
  body.home .nh-family-live .nh-family-live-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  body.home .nh-family-live .nh-family-live-image {
    width: 100% !important;
    height: 284px !important;
    margin: 0 0 24px !important;
    border-radius: 8px !important;
  }
  body.home .nh-family-live .nh-family-live-meta {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.home .nh-family-live .nh-family-live-cardtitle {
    margin: 0 0 12px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  body.home .nh-family-live .nh-family-live-cardcopy {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    margin: 0 !important;
    color: rgba(20, 43, 89, .8) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  /* Membership */
  body.home .nh-sectionalt:has(.nh-plans) > .nh-wrap {
    max-width: 1024px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-center {
    max-width: 1024px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-h2 {
    margin: 0 0 16px !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-sub {
    width: 672px !important;
    margin: 0 auto 56px !important;
    font-size: 16px !important;
    line-height: 1.625 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plans {
    width: 1024px !important;
    margin: 0 auto !important;
    padding: 0 0 116px !important;
    gap: 24px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan {
    min-height: 206px !important;
    padding: 28px !important;
    border: 1px solid rgba(230, 224, 211, .6) !important;
    border-radius: 12px !important;
    background: #f9f6f0 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan::before {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 28px 28px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2 6-6 2 2-6z'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142b59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17-2 2a5 5 0 0 1-7-7l2-2M13 7l2-2a5 5 0 0 1 7 7l-2 2'/%3E%3Cpath d='M8 12l4 4a3 3 0 0 0 4-4l-4-4a3 3 0 0 0-4 4Z'/%3E%3C/svg%3E") !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-cardtitle {
    margin: 0 0 8px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-cardcopy {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan .nh-primary {
    bottom: 0 !important;
    width: auto !important;
    min-height: 60px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(2) .nh-primary {
    left: 256px !important;
    width: 276px !important;
    border-radius: 6px !important;
  }
  body.home .nh-sectionalt:has(.nh-plans) .nh-plan:nth-child(3) .nh-primary {
    right: 256px !important;
    width: 276px !important;
  }
}

