<div class="o-footer-tier o-footer-tier--{{tierClass}}{{#if tierStyle}} o-footer-tier--{{tierStyle}}{{/if}}{{#ifCond tierClass "==" "advisor"}} o-footer-tier__items{{/ifCond}}">
  {{#if title}}<h3 class="o-footer-tier__heading">{{title}}</h3>{{/if}}

  {{#ifCond tierClass "!==" "advisor"}}<div class="o-footer-tier__items">{{/ifCond}}
    {{#each items }}
      <div class="o-footer-tier__col">
        {{#ifCond ../tierClass "==" "advisor"}}
        <div class="u-wrapper">
          <div class="o-footer-tier__group">
            {{/ifCond}}
            {{#if link}}<a href="#" class="o-footer-tier__link">{{/if}}
              <svg class="o-footer-tier__icon" role="img" pointer-events="none" focusable="false" aria-hidden="true">
                <use xlink:href="{{generatedSvgSpritePath}}#tier-{{icon}}"></use>
              </svg>
              <span class="o-footer-tier__title"{{#if link}} href="#"{{/if}}>{{title}}{{#if link}}<svg class="o-footer-tier__title__icon" role="img" pointer-events="none" focusable="false" aria-hidden="true"><use xlink:href="{{generatedSvgSpritePath}}#package-label-link"></use></svg>{{/if}}</span>
              <span class="o-footer-tier__content">{{content}}</span>
              {{#ifCond ../tierClass "==" "advisor"}}
                {{!-- default --}}
                {{#ifCond state "==" "default"}}
                  <div class="o-footer-tier__cta">
                    <a href="#" class="c-button c-button--white-secondary" {{#if disabled}}disabled="disabled"{{/if}}>
                      <span class="c-button__text">Sign Up</span>
                    </a>
                    <a href="#" class="c-button c-button--white-secondary" {{#if disabled}}disabled="disabled"{{/if}}>
                      <span class="c-button__text">See Sample</span>
                    </a>
                  </div>
                {{/ifCond}}
                {{!-- success --}}
                {{#ifCond state "==" "success"}}
                  <p class="o-card--promo__success">
                    <span class="c-indicator-icon">
                      <svg class="c-indicator-icon__art" role="img" pointer-events="none" focusable="false" aria-hidden="true">
                        <use xlink:href="{{generatedSvgSpritePath}}#icon-checkmark"></use>
                      </svg>
                    </span> Signed up
                  </p>
                {{/ifCond}}
                {{!-- error --}}
                {{#ifCond state "==" "error"}}
                  <p class="o-card--promo__failure">
                    <span class="c-indicator-icon">
                      <svg class="c-indicator-icon__art" role="img" pointer-events="none" focusable="false" aria-hidden="true">
                        <use xlink:href="{{generatedSvgSpritePath}}#close-x"></use>
                      </svg>
                    </span> Signup error
                  </p>
                {{/ifCond}}
              {{/ifCond}}
              {{#if link}}</a>{{/if}}
            {{#ifCond ../tierClass "==" "advisor"}}
          </div>
        </div>
        {{/ifCond}}
      </div>
    {{/each}}
  {{#ifCond tierClass "!==" "advisor"}}</div>{{/ifCond}}
</div>
