.specs {
  padding: 32px 0;
  background: var(--corp-color-surface);
  overflow: hidden;

  .specs__inner {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .specs__header {
    text-align: center;
    margin-bottom: 24px;
  }

  .specs__eyebrow {
    display: block;
    margin-top: 25px;
    margin-bottom: 24px;
    color: #8c8c8c;
    text-transform: uppercase;
    font-size: var(--corp-type-mobile-body-2-font-size);
    font-weight: var(--fw-500);
    line-height: var(--corp-type-mobile-body-1-line-height);

    * {
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      color: inherit;
    }
  }

  .specs__title {
    font-size: var(--corp-type-mobile-display-2-font-size);
    font-weight: var(--fw-400);
    line-height: var(--corp-type-mobile-display-5-line-height);
    color: var(--corp-color-text);

    * {
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      color: inherit;
    }
  }

  .specs__tabs {
    display: flex;
    margin-bottom: 24px;
    background: var(--corp-color-surface-tertiary);
    border-radius: var(--corp-toggle-radius);
    padding: 2px;
    gap: 2px;
  }

  .specs__tab {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 0;
    background: var(--corp-color-surface-tertiary);
    color: var(--corp-color-text);
    font-size: var(--corp-type-mobile-body-sm-font-size);
    font-weight: var(--fw-500);
    line-height: var(--corp-type-mobile-body-sm-line-height);
    text-transform: uppercase;
    border-radius: var(--corp-toggle-item-radius);
  }

  .specs__tab--active {
    background: var(--corp-color-primary);
    color: var(--corp-color-white);
    border-radius: var(--corp-toggle-item-radius);
  }

  .specs__table-wrap {
    overflow-x: auto;
    width: 100%;
  }

  .specs__table {
    min-width: 0;
    width: 100%;
    border: 1px solid var(--corp-color-overlay-black-20);
    border-radius: var(--corp-radius-sm);
    overflow: hidden;
    background: rgb(255 255 255 / 40%);
  }

  .specs__row {
    display: grid;
    grid-template-columns: minmax(150px, 2.5fr) repeat(var(--specs-col-count, 3), minmax(60px, 1fr));
    align-items: stretch;
  }

  .specs__cell {
    padding: 12px 10px;
    border-right: 1px solid var(--corp-color-overlay-black-20);
    display: flex;
    align-items: center;
    color: var(--corp-color-text);
    font-size: var(--corp-type-mobile-body-sm-font-size);
    font-weight: var(--fw-400);
    line-height: var(--corp-type-mobile-body-sm-line-height);
  }

  .specs__cell:last-child {
    border-right: 0;
  }

  .specs__row--head {
    grid-template-columns: repeat(var(--specs-col-count, 3), minmax(60px, 1fr));
    background: var(--corp-color-surface-tertiary);
    border-bottom: 1px solid var(--corp-color-overlay-black-20);
  }

  .specs__row--head .specs__cell--category {
    display: none;
  }

  .specs__row--head .specs__cell {
    font-weight: var(--fw-600);
    text-transform: uppercase;
    justify-content: flex-start;
    background: var(--corp-color-surface-tertiary);
    border-right: 0;
    font-size: var(--corp-type-mobile-body-xs-font-size);
  }

  .specs__cell--category,
  .specs__cell--feature {
    justify-content: flex-start;
    font-weight: var(--fw-500);
  }

  .specs__cell--feature {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--corp-color-surface);
  }

  .specs__cell--variant,
  .specs__cell--value,
  .specs__cell--empty {
    justify-content: center;
    text-align: center;
  }

  .specs__accordion-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--corp-color-overlay-black-20);
    background: transparent;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker {
      display: none;
    }
  }

  .specs__accordion-trigger .specs__cell--empty {
    display: none;
  }

  .specs__accordion-trigger .specs__cell {
    color: var(--corp-color-grey-2);
    text-transform: uppercase;
    border-right: 0;
    font-size: 11px;
  }

  .specs__accordion-trigger .specs__cell--category {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
  }

  .specs__accordion[open] .specs__accordion-trigger .specs__cell--category {
    color: var(--corp-color-text);
  }

  .specs__accordion-panel .specs__row {
    background: var(--corp-color-surface);
  }

  .specs__accordion-panel .specs__cell {
    border-bottom: 1px solid var(--corp-color-overlay-black-20);
  }

  .specs__accordion:last-child:not([open]) .specs__accordion-trigger {
    border-bottom: 0;
  }

  .specs__accordion-icon {
    position: sticky;
    right: 12px;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    background: url('/corporate/icons/accordian-plus.svg') center / contain no-repeat;
  }

  .specs__accordion-icon--open {
    background-image: url('/corporate/icons/accordian-minus.svg');
  }

  .specs__check,
  .specs__dash {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: center / contain no-repeat;
  }

  .specs__check {
    background-image: url('/corporate/icons/available.svg');
  }

  .specs__dash {
    background-image: url('/corporate/icons/not-available.svg');
  }

  .specs__disclaimer {
    margin-top: 24px;

    * {
      margin: 0 0 4px;
      color: var(--corp-color-overlay-black-60);
      font-size: var(--corp-type-mobile-body-sm-font-size);
      font-weight: var(--fw-300);
      line-height: var(--corp-type-desktop-caption-2-line-height);
      font-style: var(--corp-type-mobile-tag-disclaimer-font-style);
    }
  }

  .specs__error {
    margin: 0;
    padding: 24px;
    color: var(--corp-color-semantic-error);
    font-size: var(--corp-type-mobile-body-2-font-size);
  }

  @media (width < 768px) {
    .specs__row--head .specs__cell {
      font-size: var(--corp-type-mobile-heading-1-regular-font-size);
      font-weight: var(--fw-400);
      line-height: var(--corp-type-mobile-heading-1-regular-line-height);
      padding: 16px 10px;
    }

    .specs__accordion-trigger {
      background: var(--corp-color-surface-tertiary);
    }

    .specs__accordion-trigger .specs__cell--category {
      font-size: var(--corp-type-mobile-heading-base-font-size);
      font-weight: var(--fw-400);
      line-height: var(--corp-type-mobile-heading-base-line-height);
      padding: 20px 16px;
    }

    .specs__accordion[open] .specs__accordion-trigger .specs__cell--category {
      padding: 8px 16px;
    }

    .specs__accordion:last-child:not([open]) .specs__accordion-trigger {
      border-bottom: 0;
    }

    .specs__accordion-panel .specs__row {
      grid-template-columns: repeat(var(--specs-col-count, 3), 1fr);
      border-bottom: 0;
      background: var(--corp-color-surface);
      row-gap: 3px;
    }

    .specs__accordion-panel .specs__cell--feature {
      grid-column: 1 / -1;
      font-size: var(--corp-type-mobile-body-2-font-size);
      font-weight: var(--fw-500);
      line-height: var(--corp-type-mobile-body-2-line-height);
      min-height: 0;
      padding: 12px 16px 4px 16px;
      border-right: 0;
      border-bottom: 0;
    }

    .specs__accordion-panel .specs__cell--value {
      min-height: 0;
      border-right: 0;
      padding: 8px 8px 20px;
    }

    .specs__accordion-panel .specs__cell--value:not(:has(.specs__check, .specs__dash)) {
      padding: 16px 16px 28px;
    }
  }

  @media (width >= 768px) {
    padding: 40px 0;

    .specs__inner {
      padding-left: 32px;
      padding-right: 32px;
    }

    .specs__header {
      margin-bottom: 32px;
    }

    .specs__eyebrow {
      font-size: var(--corp-type-tablet-body-3-font-size);
      font-weight: var(--corp-type-tablet-body-3-font-weight);
      line-height: var(--corp-type-tablet-body-7-line-height);
      margin-bottom: 16px;
    }

    .specs__title {
      font-size: var(--corp-type-tablet-display-font-size);
      font-weight: var(--corp-type-tablet-display-font-weight);
      line-height: var(--corp-type-tablet-body-9-line-height);
    }

    .specs__tabs {
      align-self: center;
      margin-bottom: 32px;
      justify-content: center;
      background: var(--corp-color-surface-tertiary);
      border-radius: var(--corp-toggle-radius);
      padding: 4px;
      gap: 4px;
    }

    .specs__tab {
      flex: 0 0 auto;
      min-width: 108px;
      padding: 12px 18px;
      background: var(--corp-color-surface-tertiary);
      border-radius: var(--corp-toggle-item-radius);
      font-size: var(--corp-type-tablet-body-sm-2-font-size);
      font-weight: var(--corp-type-tablet-body-sm-2-font-weight);
      line-height: var(--corp-type-tablet-body-sm-3-line-height);
    }

    .specs__tab--active {
      padding: 12px 43px;
      background: var(--corp-color-primary);
    }

    .specs__table {
      min-width: 100%;
    }

    .specs__row,
    .specs__row--head {
      grid-template-columns: minmax(180px, 1.35fr) repeat(var(--specs-col-count, 3), minmax(100px, 1fr));
    }

    .specs__row--head .specs__cell--category {
      display: flex;
    }

    .specs__cell--variant {
      white-space: nowrap;
    }

    .specs__cell,
    .specs__row--head .specs__cell {
      font-size: var(--corp-type-tablet-heading-lg-font-size);
      font-weight: var(--corp-type-tablet-heading-lg-font-weight);
      line-height: 20.8px;
    }

    .specs__cell {
      padding: 14px 16px;
    }

    .specs__row--head .specs__cell {
      padding: 10px 20px 10px 16px;
    }

    .specs__accordion-trigger {
      border-bottom: 1px solid var(--corp-color-overlay-black-20);
      background: var(--corp-color-surface-tertiary);
    }

    .specs__accordion-trigger .specs__cell {
      font-size: var(--corp-type-tablet-heading-lg-font-size);
      line-height: var(--corp-type-tablet-body-11-line-height);
      padding: 20px 16px;
    }

    .specs__accordion[open] .specs__accordion-trigger .specs__cell {
      padding: 8px 16px;
    }

    .specs__accordion:last-child:not([open]) .specs__accordion-trigger {
      border-bottom: 0;
    }

    .specs__accordion-panel .specs__cell {
      border-right: 0;
    }

    .specs__accordion-panel .specs__cell--feature {
      font-size: var(--corp-type-tablet-heading-2-font-size);
      font-weight: var(--corp-type-tablet-heading-2-font-weight);
      line-height: var(--corp-type-tablet-heading-2-line-height);
      padding: 12px 16px;
      border-bottom: 1px solid var(--corp-color-overlay-black-20);
    }

    .specs__accordion-panel .specs__cell--value {
      font-size: var(--corp-type-tablet-body-2-font-size);
      font-weight: var(--corp-type-tablet-body-2-font-weight);
      line-height: var(--corp-type-tablet-body-8-line-height);
      padding: 22px 16px;
    }

    .specs__accordion-icon {
      right: 16px;
    }

    .specs__disclaimer * {
      font-size: var(--corp-type-tablet-body-sm-2-font-size);
      line-height: var(--corp-type-mobile-body-xss-line-height);
    }
  }

  @media (width >= 1200px) {
    padding: 60px 0;

    .specs__inner {
      padding-left: 108px;
      padding-right: 108px;
    }

    .specs__header {
      margin-bottom: 60px;
    }

    .specs__eyebrow {
      font-size: var(--corp-type-desktop-heading-4-font-size);
      font-weight: var(--corp-type-desktop-heading-4-font-weight);
      line-height: var(--corp-type-desktop-heading-4-line-height);
      margin-bottom: 24px;
    }

    .specs__title {
      font-size: var(--corp-type-desktop-heading-xxl-font-size);
      font-weight: var(--corp-type-desktop-heading-xxl-font-weight);
      line-height: var(--corp-type-desktop-heading-xxl-line-height);
    }

    .specs__tabs {
      align-self: flex-start;
      justify-content: flex-start;
      margin-bottom: 60px;
      background: var(--corp-color-surface-tertiary);
      border-radius: var(--corp-toggle-radius);
      padding: 3px;
      gap: 4px;
    }

    .specs__tab {
      flex: 0 0 auto;
      min-width: 144px;
      padding: 18px;
      background: var(--corp-color-surface-tertiary);
      font-size: var(--corp-type-desktop-body-font-size);
      font-weight: var(--corp-type-desktop-body-font-weight);
      line-height: var(--corp-type-hero-line-height-24);
      border-radius: var(--corp-toggle-item-radius);
    }

    .specs__tab--active {
      padding: 18px 24px;
      background: var(--corp-color-primary);
    }

    .specs__row,
    .specs__row--head {
      grid-template-columns: minmax(280px, 1.6fr) repeat(var(--specs-col-count, 3), minmax(150px, 1fr));
    }

    .specs__cell,
    .specs__row--head .specs__cell {
      font-size: var(--corp-type-desktop-heading-4-font-size);
      font-weight: var(--corp-type-desktop-heading-4-font-weight);
      line-height: var(--corp-type-desktop-heading-4-line-height);
    }

    .specs__cell {
      padding: 20px 32px;
    }

    .specs__row--head .specs__cell {
      padding: 32px 40px;
    }

    .specs__accordion-trigger .specs__cell {
      font-size: var(--corp-type-desktop-heading-5-font-size);
      font-weight: var(--corp-type-desktop-heading-5-font-weight);
      line-height: var(--corp-type-hero-line-height-24);
      padding: 20px 40px;
    }

    .specs__accordion[open] .specs__accordion-trigger .specs__cell {
      padding: 20px 40px;
    }

    .specs__accordion-panel .specs__cell--feature {
      padding: 32px 0 32px 40px;
      font-size: var(--corp-type-desktop-heading-4-font-size);
      font-weight: var(--corp-type-desktop-heading-4-font-weight);
      line-height: var(--corp-type-desktop-heading-4-line-height);
    }

    .specs__accordion-panel .specs__cell--value {
      font-size: var(--corp-type-desktop-heading-5-font-size);
      font-weight: var(--corp-type-desktop-heading-5-font-weight);
      line-height: var(--corp-type-hero-line-height-24);
      padding: 27px 40px;
    }

    .specs__table {
      border-radius: var(--corp-radius-sm) var(--corp-radius-sm) var(--corp-radius-lg) var(--corp-radius-lg);
    }

    .specs__accordion-trigger {
      background: rgba(242, 242, 242, 0.5);
    }

    .specs__accordion:last-child:not([open]) .specs__accordion-trigger {
      border-bottom: 0;
    }

    .specs__accordion-icon {
      right: 20px;
    }

    .specs__disclaimer * {
      font-size: var(--corp-type-desktop-body-xs-font-size);
      line-height: var(--corp-type-desktop-body-2xs-line-height);
    }
  }
}
